
/* ===== Tokens ===== */
:root{
  --black:#000000;
  --panel:#0a0a0a;
  --panel-2:#121212;
  --off-white:#F5F5F5;
  --body-grey:#D1D1D1;
  --muted:#8a8a8a;
  --terracotta:#C84B31;
  --terracotta-bright:#E05A47;
  --hair:rgba(245,245,245,0.12);
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; scroll-padding-top:88px;}
body{
  margin:0;
  background:var(--black);
  color:var(--body-grey);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  padding-top:env(safe-area-inset-top,0px);
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4{font-family:var(--serif); color:var(--off-white); font-weight:500; margin:0;}
.section-inner{max-width:1180px; margin:0 auto; padding:0 32px;}
.section-title{font-size:clamp(2rem,4vw,3rem); margin-bottom:.4rem; letter-spacing:.2px;}
.section-sub{color:var(--muted); font-size:1.02rem; margin:0 0 3rem; max-width:52ch;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:.001ms !important; transition-duration:.001ms !important;}
}

.grain-overlay{
  position:fixed; inset:0; pointer-events:none; z-index:9000; opacity:.035; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--sans); font-weight:600; font-size:.92rem;
  padding:.9rem 1.7rem; border-radius:2px; cursor:pointer; border:1px solid transparent;
  transition:background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.btn-primary{background:var(--terracotta); color:var(--off-white);}
.btn-primary:hover{background:var(--terracotta-bright); transform:translateY(-1px);}
.btn-outline{background:transparent; border-color:var(--hair); color:var(--off-white);}
.btn-outline:hover{border-color:var(--terracotta); color:var(--terracotta-bright);}
.btn-note{display:inline-block; font-size:.85rem; color:var(--muted); font-style:italic; padding:.5rem 0;}
:focus-visible{outline:2px solid var(--terracotta-bright); outline-offset:3px;}

/* ===== Header ===== */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:500;
  padding-top:env(safe-area-inset-top,0px);
  background:linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,0));
  transition:background .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header.scrolled{background:rgba(0,0,0,.86); backdrop-filter:blur(10px); box-shadow:0 1px 0 var(--hair);}
.header-inner{
  max-width:1280px; margin:0 auto; padding:18px 32px;
  display:flex; align-items:center; justify-content:space-between;
}
.brand{font-family:var(--serif); font-size:1.25rem; letter-spacing:4px; color:var(--off-white);}
.main-nav{display:flex; align-items:center; gap:2rem;}
.main-nav > a, .nav-item > a{
  font-size:.86rem; letter-spacing:.3px; color:var(--body-grey);
  padding:.4rem 0; position:relative; transition:color .2s;
}
.main-nav > a:hover, .nav-item > a:hover{color:var(--off-white);}
.main-nav > a::after, .nav-item > a::after{
  content:""; position:absolute; left:0; bottom:-2px; height:1px; width:0;
  background:var(--terracotta-bright); transition:width .25s var(--ease);
}
.main-nav > a:hover::after, .nav-item > a:hover::after{width:100%;}
.nav-item{position:relative;}
.dropdown{
  position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(6px);
  background:var(--panel); border:1px solid var(--hair); min-width:220px; padding:.5rem 0;
  opacity:0; pointer-events:none; transition:opacity .2s var(--ease), transform .2s var(--ease);
}
@media (min-width: 901px){
  .nav-item:hover .dropdown{opacity:1; pointer-events:auto; transform:translateX(-50%) translateY(0);}
}
.dropdown a{display:block; padding:.6rem 1.1rem; font-size:.82rem; white-space:nowrap;}
.dropdown a:hover{background:rgba(200,75,49,.12); color:var(--terracotta-bright);}
.header-controls{display:flex; align-items:center; gap:1rem;}
.icon-btn{
  background:transparent; border:1px solid var(--hair); color:var(--body-grey);
  width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:border-color .2s, color .2s;
}
.icon-btn:hover{border-color:var(--terracotta); color:var(--terracotta-bright);}
.hamburger{display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;}
.hamburger span{width:22px; height:1.5px; background:var(--off-white); transition:transform .25s var(--ease), opacity .25s;}

@media (max-width: 900px){
  .header-inner{padding:14px 18px;}
  .brand-logo{height:42px;}
  .main-nav{
    position:fixed; inset:0 0 0 auto; width:min(300px,84vw); max-width:100vw; height:100vh; height:100dvh;
    background:var(--panel); flex-direction:column; align-items:flex-start; justify-content:flex-start;
    padding:100px 24px 32px; gap:1.1rem; transform:translateX(100%); transition:transform .35s var(--ease);
    overflow-y:auto; overflow-x:hidden; box-sizing:border-box;
  }
  .main-nav.open{transform:translateX(0);}
  .main-nav > a, .nav-item{width:100%;}
  .main-nav > a, .nav-item > a{
    display:block; width:100%; white-space:normal; word-break:break-word; line-height:1.35; font-size:.92rem;
  }
  .nav-item.has-dropdown > a{display:flex; align-items:center; justify-content:space-between; gap:.6rem;}
  .dropdown{position:static; left:auto; opacity:1; pointer-events:auto; transform:none; background:transparent; border:none; padding:.5rem 0 0 .9rem; display:none; width:100%; box-sizing:border-box;}
  .nav-item.open .dropdown{display:block;}
  .dropdown a{white-space:normal; word-break:break-word; line-height:1.4; padding:.5rem 0; font-size:.82rem;}
  .hamburger{display:flex;}
  .hamburger.active span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
  .hamburger.active span:nth-child(2){opacity:0;}
  .hamburger.active span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}
}
@media (max-width: 380px){
  .brand-logo{height:36px;}
  .header-inner{padding:12px 14px;}
}

/* ===== Content protection ===== */
img{-webkit-user-drag:none; user-drag:none; -webkit-touch-callout:none;}
img, .flipbook, .flipbook iframe, .lightbox img{-webkit-user-select:none; -moz-user-select:none; user-select:none;}
.grid-gallery figure, .strip img, .card img, .book-cover, .hero-media, .hero-carousel, .page-hero img{-webkit-touch-callout:none;}
@media print{
  body{display:none !important;}
}

/* ===== Hero ===== */
.hero{position:relative; height:100svh; min-height:560px; overflow:hidden; display:flex; align-items:flex-end;}
.hero-media{position:absolute; inset:0;}
.hero-media img{width:100%; height:100%; object-fit:cover; object-position:center 20%; transform:scale(1.06); animation:heroIn 2.4s var(--ease) forwards;}
@keyframes heroIn{to{transform:scale(1);}}
.hero-scrim{position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.92) 5%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.55) 100%);}
.hero-content{position:relative; z-index:2; padding:0 32px 8vh; max-width:900px; margin:0 auto; width:100%;}
.hero-eyebrow{color:var(--terracotta-bright); font-size:.85rem; letter-spacing:2px; margin:0 0 1.1rem; font-weight:600;}
.hero-title{font-size:clamp(2.2rem,6vw,4.4rem); line-height:1.08; color:var(--off-white); margin-bottom:1.2rem; font-weight:500;}
.hero-sub{font-size:1.15rem; font-style:italic; font-family:var(--serif); color:var(--body-grey); margin-bottom:2rem;}
.scroll-cue{
  position:absolute; bottom:34px; left:50%; transform:translateX(-50%);
  width:26px; height:42px; border:1px solid var(--hair); border-radius:14px; background:transparent; cursor:pointer; z-index:2;
}
.scroll-cue span{
  display:block; width:4px; height:8px; border-radius:2px; background:var(--terracotta-bright);
  margin:7px auto 0; animation:cueMove 1.8s ease-in-out infinite;
}
@keyframes cueMove{0%{transform:translateY(0); opacity:1;}70%{transform:translateY(14px); opacity:0;}100%{opacity:0;}}

/* ===== About ===== */
.about{padding:130px 0 120px; background:var(--black);}
.about-grid{display:grid; grid-template-columns:.85fr 1.15fr; gap:5rem; align-items:start;}
.about-media{position:sticky; top:110px;}
.about-media img{width:100%; aspect-ratio:4/5; object-fit:cover; filter:grayscale(.12);}
.about-copy h2{font-size:clamp(1.9rem,3.4vw,2.6rem); margin-bottom:1.3rem;}
.about-copy .lede{font-size:1.15rem; color:var(--off-white); font-family:var(--serif); font-style:italic; line-height:1.55;}
.about-copy p{max-width:62ch;}
.pull-quote{
  font-family:var(--serif); font-style:italic; font-size:1.4rem; color:var(--off-white);
  border-left:2px solid var(--terracotta); padding-left:1.3rem; margin:2.5rem 0 0; max-width:52ch;
}
.journey{margin:2.6rem 0 2rem; padding-top:2.2rem; border-top:1px solid var(--hair);}
.journey h3{font-size:1.25rem; margin-bottom:1.4rem; color:var(--off-white); font-weight:500;}
.journey-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:1.1rem;}
.journey-list li{display:grid; grid-template-columns:2.4rem 1fr; gap:.9rem; font-size:.95rem;}
.journey-list .num{font-family:var(--serif); color:var(--terracotta); font-size:1rem; padding-top:.1rem;}
.journey-list strong{color:var(--off-white); font-weight:600;}

@media (max-width:860px){
  .about-grid{grid-template-columns:1fr; gap:2.4rem;}
  .about-media{position:static;}
}

/* ===== Work / Masonry ===== */
.work{padding:100px 0 110px; background:var(--panel);}
.filter-tabs{display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:2.6rem;}
.tab{
  background:transparent; border:1px solid var(--hair); color:var(--muted);
  padding:.55rem 1.15rem; font-family:var(--sans); font-size:.83rem; border-radius:20px; cursor:pointer;
  transition:border-color .2s, color .2s;
}
.tab:hover{color:var(--off-white); border-color:var(--body-grey);}
.tab.active{border-color:var(--terracotta); color:var(--terracotta-bright); background:rgba(200,75,49,.08);}

.masonry-viewport{overflow-x:auto; cursor:grab; padding-bottom:8px; scrollbar-width:thin;}
.masonry-viewport.dragging{cursor:grabbing; scroll-behavior:auto;}
.masonry-viewport::-webkit-scrollbar{height:6px;}
.masonry-viewport::-webkit-scrollbar-thumb{background:var(--hair); border-radius:3px;}
.masonry{
  display:grid; grid-auto-flow:column; grid-template-rows:repeat(2,220px);
  gap:14px; width:max-content; padding:4px 4px 12px;
}
.masonry-item{
  position:relative; overflow:hidden; background:var(--panel-2); cursor:pointer;
  perspective:800px;
}
.masonry-item.h-tall{grid-row:span 2;}
.masonry-item img{
  width:100%; height:100%; object-fit:cover; display:block;
  filter:saturate(.72) brightness(.92);
  transition:transform .55s var(--ease), filter .55s var(--ease);
  opacity:0;
}
.masonry-item img.loaded{opacity:1; transition:opacity .5s var(--ease), transform .55s var(--ease), filter .55s var(--ease);}
.masonry-item:hover img{transform:scale(1.07) rotateY(2deg); filter:saturate(1) brightness(1);}
.masonry-item .cap{
  position:absolute; left:0; right:0; bottom:0; padding:14px 16px 12px;
  background:linear-gradient(to top, rgba(0,0,0,.85), transparent);
  font-size:.82rem; color:var(--off-white); opacity:0; transform:translateY(6px);
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.masonry-item:hover .cap{opacity:1; transform:translateY(0);}
.drag-hint{margin-top:.8rem; font-size:.78rem; color:var(--muted); letter-spacing:.3px;}

@media (max-width:640px){
  .masonry{grid-template-rows:repeat(2,150px); gap:9px;}
}

/* ===== Essay strip ===== */
.essay{padding:100px 0; background:var(--black);}
.essay-strip{display:flex; gap:0; overflow-x:auto; scroll-snap-type:x mandatory; margin:0 -32px; padding:0 32px 10px;}
.essay-frame{
  flex:0 0 auto; width:min(78vw,420px); scroll-snap-align:start; margin-right:16px;
  position:relative;
}
.essay-frame img{width:100%; aspect-ratio:3/4; object-fit:cover; filter:grayscale(.15);}
.essay-frame .line{
  font-family:var(--serif); font-style:italic; color:var(--off-white); font-size:1.15rem;
  padding:1rem 0 0; border-bottom:1px solid var(--hair); padding-bottom:1rem;
}
.essay-frame .idx{color:var(--terracotta); font-size:.8rem; font-family:var(--sans); letter-spacing:1px;}

/* ===== Books ===== */
.books{padding:100px 0 120px; background:var(--panel);}
.book-shelf{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:2.2rem;}
.book-card{display:flex; flex-direction:column;}
.book-cover{
  aspect-ratio:3/4; background-size:cover; background-position:center; position:relative; margin-bottom:1.1rem;
  box-shadow:0 20px 40px rgba(0,0,0,.5); transition:transform .35s var(--ease);
}
.book-card:hover .book-cover{transform:translateY(-6px);}
.book-cover::after{content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.65), transparent 55%);}
.book-spine{position:absolute; left:0; top:0; bottom:0; width:8px; background:rgba(0,0,0,.4);}
.book-cover--text{display:flex; align-items:flex-end; padding:1.6rem; background:linear-gradient(155deg,#1a1a1a,#0a0a0a);}
.book-cover--alt{background:linear-gradient(155deg,#1c1310,#0a0a0a);}
.book-cover--text h4{color:var(--off-white); font-size:1.5rem; line-height:1.2; font-weight:500;}
.book-card h3{font-size:1.2rem; margin-bottom:.5rem;}
.book-card p{font-size:.9rem; margin:0 0 1rem; color:var(--muted);}

/* ===== Exhibitions timeline ===== */
.exhibitions{padding:100px 0; background:var(--black);}
.timeline{border-left:1px solid var(--hair); margin-left:8px;}
.timeline-item{position:relative; padding:0 0 3rem 2.4rem;}
.timeline-item::before{
  content:""; position:absolute; left:-5px; top:.35rem; width:9px; height:9px; border-radius:50%;
  background:var(--terracotta-bright); box-shadow:0 0 0 4px rgba(200,75,49,.15);
}
.t-year{font-family:var(--serif); font-size:1.15rem; color:var(--terracotta-bright); margin-bottom:.4rem; font-style:italic;}
.t-body h3{font-size:1.25rem; margin-bottom:.5rem; font-weight:500;}
.t-body p{max-width:60ch; margin:0;}

/* ===== Contact ===== */
.contact{padding:100px 0 120px; background:var(--panel);}
.contact-grid{display:grid; grid-template-columns:.9fr 1.1fr; gap:4rem;}
.contact-details{list-style:none; margin:2rem 0 0; padding:0; display:flex; flex-direction:column; gap:1.2rem;}
.contact-details li{display:flex; flex-direction:column; gap:.2rem; font-size:1.05rem;}
.contact-details span{font-size:.78rem; color:var(--muted); letter-spacing:.5px;}
.contact-details a:hover{color:var(--terracotta-bright);}
.contact-form{display:flex; flex-direction:column; gap:1.3rem;}
.form-row{display:flex; flex-direction:column; gap:.5rem;}
.form-row label{font-size:.82rem; color:var(--muted);}
.form-row input, .form-row select, .form-row textarea{
  background:var(--black); border:1px solid var(--hair); color:var(--off-white);
  padding:.85rem 1rem; font-family:var(--sans); font-size:.95rem; border-radius:2px;
  transition:border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  outline:none; border-color:var(--terracotta-bright); box-shadow:0 0 0 3px rgba(224,90,71,.18);
}
.contact-form .btn{align-self:flex-start;}
@media (max-width:860px){.contact-grid{grid-template-columns:1fr;}}

/* ===== Footer ===== */
.site-footer{background:var(--black); border-top:1px solid var(--hair); padding:80px 0 40px;}
.footer-signature{display:flex; justify-content:center; margin-bottom:3.5rem; color:var(--body-grey); opacity:0; animation:fadeIn 1.4s var(--ease) .2s forwards;}
@keyframes fadeIn{to{opacity:1;}}
.signature-svg{width:220px; height:auto;}
.footer-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:2.5rem; max-width:760px; margin:0 auto 3rem; text-align:center;}
.footer-grid h4{color:var(--off-white); font-size:.8rem; letter-spacing:1px; margin-bottom:1rem; font-family:var(--sans); font-weight:700;}
.footer-grid div{display:flex; flex-direction:column; gap:.6rem; font-size:.88rem;}
.footer-grid a:hover{color:var(--terracotta-bright);}
.footer-legal{text-align:center; font-size:.78rem; color:var(--muted); margin:0;}

@media (max-width:640px){.footer-grid{grid-template-columns:1fr; text-align:center;}}

/* ===== Lightbox ===== */
.lightbox{
  position:fixed; inset:0; background:rgba(0,0,0,.97); z-index:2000;
  display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none;
  transition:opacity .3s var(--ease);
}
.lightbox.open{opacity:1; pointer-events:auto;}
.lightbox img{max-width:88vw; max-height:78vh; object-fit:contain; box-shadow:0 30px 80px rgba(0,0,0,.6);}
.lightbox-meta{position:absolute; bottom:6vh; left:50%; transform:translateX(-50%); text-align:center; color:var(--body-grey); font-size:.9rem;}
.lightbox-meta strong{color:var(--off-white); display:block; font-family:var(--serif); font-size:1.1rem; font-weight:500; margin-bottom:.3rem;}
.lightbox-close{position:absolute; top:5vh; right:5vw; background:none; border:none; color:var(--off-white); font-size:2.2rem; cursor:pointer; line-height:1;}
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.06); border:1px solid var(--hair);
  color:var(--off-white); width:46px; height:46px; border-radius:50%; font-size:1.6rem; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:border-color .2s, color .2s;
}
.lightbox-nav:hover{border-color:var(--terracotta); color:var(--terracotta-bright);}
.lightbox-prev{left:4vw;}
.lightbox-next{right:4vw;}
@media (max-width:640px){.lightbox-nav{width:38px;height:38px;font-size:1.3rem;} .lightbox-prev{left:2vw;} .lightbox-next{right:2vw;}}

/* ===== Flipbook Modal ===== */
.flip-modal{
  position:fixed; inset:0; background:rgba(0,0,0,.97); z-index:2100;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .3s var(--ease);
}
.flip-modal.open{opacity:1; pointer-events:auto;}
.flip-close{position:absolute; top:5vh; right:5vw; background:none; border:none; color:var(--off-white); font-size:2.2rem; cursor:pointer;}
.flip-stage{display:flex; align-items:center; gap:1.5rem;}
.flipbook{
  position:relative; width:min(60vw,480px); height:min(72vh,640px); perspective:2000px;
}
.flip-page{
  position:absolute; inset:0; background:#111; box-shadow:0 20px 60px rgba(0,0,0,.6);
  transform-origin:left center; transition:transform .7s cubic-bezier(.4,.1,.2,1); backface-visibility:hidden;
}
.flip-page img{width:100%; height:100%; object-fit:contain; background:#0d0d0d;}
.flip-page.flipped{transform:rotateY(-180deg);}
.flip-arrow{
  background:rgba(255,255,255,.06); border:1px solid var(--hair); color:var(--off-white);
  width:46px; height:46px; border-radius:50%; font-size:1.6rem; cursor:pointer; flex:0 0 auto;
  transition:border-color .2s, color .2s;
}
.flip-arrow:hover{border-color:var(--terracotta); color:var(--terracotta-bright);}
.flip-page-count{margin-top:1.2rem; color:var(--muted); font-size:.85rem; letter-spacing:.5px;}
@media (max-width:760px){
  .flip-stage{gap:.6rem;}
  .flipbook{width:78vw; height:60vh;}
  .flip-arrow{width:36px; height:36px; font-size:1.2rem;}
}


/* ===== Multipage additions ===== */
.main-nav a.current{color:var(--off-white);}
.main-nav > a.current::after,.nav-item > a.current::after{width:100%;}
.page-hero{position:relative;min-height:56vh;display:flex;align-items:flex-end;overflow:hidden;}
.page-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;filter:saturate(.8);}
.page-hero .hero-scrim{background:linear-gradient(to top,rgba(0,0,0,.95) 8%,rgba(0,0,0,.4) 55%,rgba(0,0,0,.6) 100%);}
.page-hero .hero-content{padding:0 32px 7vh;}
.page-hero h1{font-size:clamp(2.2rem,5.5vw,4rem);line-height:1.1;margin-bottom:.8rem;}
.page-hero .hero-sub{margin:0;}
.plain-hero{padding:170px 0 60px;background:var(--black);}
.plain-hero h1{font-size:clamp(2.2rem,5vw,3.6rem);}
.block{padding:90px 0;background:var(--black);} .block.alt{background:var(--panel);}
.prose{max-width:68ch;} .prose p{margin:0 0 1.3rem;} .prose h2{font-size:clamp(1.7rem,3vw,2.3rem);margin:0 0 1.2rem;}
.prose .lede{font-size:1.25rem;color:var(--off-white);font-family:var(--serif);font-style:italic;line-height:1.55;}
.eyebrow{color:var(--terracotta-bright);font-size:.78rem;letter-spacing:2px;font-weight:600;margin:0 0 .8rem;text-transform:uppercase;}
.split{display:grid;grid-template-columns:1fr 1fr;gap:4.5rem;align-items:center;}
.split.rev .split-media{order:2;}
.split-media img{width:100%;aspect-ratio:4/5;object-fit:cover;filter:grayscale(.1);}
.split-media.wide img{aspect-ratio:4/3;}
@media(max-width:860px){.split{grid-template-columns:1fr;gap:2rem;}.split.rev .split-media{order:0;}}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.6rem;}
.card{display:block;background:var(--panel-2);border:1px solid var(--hair);overflow:hidden;transition:border-color .25s,transform .25s var(--ease);}
.card:hover{border-color:var(--terracotta);transform:translateY(-4px);}
.card img{width:100%;aspect-ratio:4/3;object-fit:cover;filter:saturate(.8);}
.card div{padding:1.2rem 1.3rem 1.4rem;} .card h3{font-size:1.3rem;margin-bottom:.4rem;} .card p{margin:0;font-size:.9rem;color:var(--muted);}
.chapter{display:grid;grid-template-columns:5rem 1fr;gap:1.5rem;padding:3rem 0;border-top:1px solid var(--hair);}
.chapter .n{font-family:var(--serif);font-size:2.6rem;color:var(--terracotta);line-height:1;}
.chapter h2{font-size:1.7rem;margin-bottom:.2rem;} .chapter .k{color:var(--terracotta-bright);font-size:.78rem;letter-spacing:1.5px;text-transform:uppercase;margin:0 0 1rem;}
.lesson{margin:1.6rem 0 0;padding-left:1.2rem;border-left:2px solid var(--terracotta);}
.lesson span{display:block;font-size:.75rem;letter-spacing:2px;color:var(--terracotta-bright);font-weight:600;margin-bottom:.3rem;}
.lesson p{margin:0;font-family:var(--serif);font-style:italic;font-size:1.25rem;color:var(--off-white);}
@media(max-width:640px){.chapter{grid-template-columns:1fr;gap:.4rem;}}
.grid-gallery{columns:3 260px;column-gap:14px;}
.grid-gallery figure{margin:0 0 14px;break-inside:avoid;cursor:pointer;overflow:hidden;background:var(--panel-2);}
.grid-gallery img{width:100%;height:auto;transition:transform .5s var(--ease),filter .5s;filter:saturate(.85);}
.grid-gallery figure:hover img{transform:scale(1.04);filter:saturate(1);}
.strip{display:flex;gap:14px;overflow-x:auto;padding-bottom:10px;scroll-snap-type:x mandatory;}
.strip img{height:300px;width:auto;flex:0 0 auto;scroll-snap-align:start;cursor:pointer;filter:saturate(.85);}
.cta-band{padding:100px 0;background:var(--panel);text-align:center;}
.cta-band h2{font-size:clamp(1.8rem,4vw,2.8rem);margin-bottom:1rem;} .cta-band p{max-width:52ch;margin:0 auto 2rem;}
.btn-row{display:flex;gap:1rem;flex-wrap:wrap;} .center .btn-row{justify-content:center;}
.dl{display:inline-block;margin-top:1rem;font-size:.85rem;color:var(--terracotta-bright);border-bottom:1px solid currentColor;}
.social{display:flex;gap:1.4rem;margin-top:2rem;font-size:.9rem;color:var(--muted);}
.big-quote{font-family:var(--serif);font-style:italic;font-size:clamp(1.5rem,3vw,2.2rem);color:var(--off-white);line-height:1.4;max-width:30ch;margin:0 auto;text-align:center;}
.ig-note{font-size:.85rem;color:var(--muted);}
.flipbook.land{width:min(84vw,880px);height:min(58vh,560px);}
@media(max-width:760px){.flipbook.land{width:80vw;height:42vh;}}

/* ===== Brand logo / carousel / flip iframe additions ===== */
.brand{display:flex;align-items:center;}
.brand-logo{height:52px;width:auto;display:block;filter:brightness(0) invert(1);}
.hero-carousel{position:relative;height:100svh;min-height:560px;overflow:hidden;display:flex;align-items:flex-end;}
.hero-carousel .hc-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.6s ease;}
.hero-carousel .hc-slide.active{opacity:1;}
.hero-carousel .hc-slide img{width:100%;height:100%;object-fit:cover;object-position:center 25%;transform:scale(1.04);transition:transform 8s ease;}
.hero-carousel .hc-slide.active img{transform:scale(1.12);}
.hc-dots{position:absolute;bottom:34px;right:32px;z-index:3;display:flex;gap:8px;}
.hc-dots button{width:8px;height:8px;border-radius:50%;border:1px solid rgba(245,245,245,.6);background:transparent;cursor:pointer;padding:0;}
.hc-dots button.active{background:var(--terracotta-bright);border-color:var(--terracotta-bright);}
.hc-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;background:rgba(0,0,0,.3);border:1px solid var(--hair);color:#fff;width:44px;height:44px;border-radius:50%;cursor:pointer;font-size:1.4rem;display:flex;align-items:center;justify-content:center;transition:border-color .2s;}
.hc-arrow:hover{border-color:var(--terracotta);}
.hc-prev{left:24px;} .hc-next{right:24px;}
@media(max-width:640px){.hc-arrow{display:none;}}

.flip-modal.iframe-mode .flip-stage{width:min(94vw,1100px);height:min(88vh,780px);}
.flip-modal.iframe-mode .flipbook{width:100%;height:100%;background:#0d0d0d;box-shadow:0 30px 80px rgba(0,0,0,.6);}
.flip-modal.iframe-mode iframe{width:100%;height:100%;border:0;display:block;}
.flip-modal.iframe-mode .flip-arrow{display:none;}

/* ===== Corrections round 1 ===== */
:root{--hdr:108px;}
@media(max-width:900px){:root{--hdr:84px;}}
@media(max-width:640px){:root{--hdr:74px;}}

/* Logo: white version supplied as artwork, no filter needed */
.brand-logo{height:72px;width:auto;filter:none;}
@media(max-width:900px){.brand-logo{height:54px;}}
@media(max-width:640px){.brand-logo{height:46px;}}
.footer-logo{width:min(260px,70vw);height:auto;margin:1rem auto 2rem;display:block;}

/* Home carousel: whole photograph always visible, 3s per image, clean (no text/buttons) */
.hero-carousel{display:block;height:calc(100svh - var(--hdr));min-height:360px;margin-top:var(--hdr);background:#000;}
.hero-carousel .hc-slide{transition:opacity 1s ease;background:#000;}
.hero-carousel .hc-slide img{width:100%;height:100%;object-fit:contain;object-position:center;transform:none;transition:none;}
.hero-carousel .hc-slide.active img{transform:none;}
.hc-dots{bottom:16px;right:50%;transform:translateX(50%);}
.hc-dots button{background:rgba(0,0,0,.35);}

/* Site-wide: photographs fit their containers, never cropped */
.split-media img,.about-media img,.card img,.essay-frame img{aspect-ratio:auto;height:auto;object-fit:contain;}
.split-media.wide img{aspect-ratio:auto;}
.page-hero{min-height:64vh;background:#000;}
.page-hero img{object-fit:contain;object-position:center;}
.masonry-item{background:#000;}
.masonry-item img{object-fit:contain;}
.book-cover{background-size:contain;background-repeat:no-repeat;background-color:#0b0b0b;}

/* ===== My Journal ===== */
.journal{border-top:1px solid var(--hair);}
.journal-head .section-sub{margin-bottom:2.6rem;}
.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem;}
.j-card{display:flex;flex-direction:column;background:var(--panel-2);border:1px solid var(--hair);transition:border-color .25s,transform .25s var(--ease);}
.j-card:hover{border-color:var(--terracotta);transform:translateY(-4px);}
.j-media{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:#000;overflow:hidden;}
.j-media img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;}
.j-body{padding:1.3rem 1.4rem 1.5rem;display:flex;flex-direction:column;gap:.6rem;flex:1;}
.j-meta{display:flex;flex-wrap:wrap;gap:.4rem 1rem;margin:0;font-size:.76rem;color:var(--muted);letter-spacing:.4px;}
.j-cat{color:var(--terracotta-bright);font-weight:600;letter-spacing:1.5px;text-transform:uppercase;}
.j-card h3{font-size:1.35rem;line-height:1.25;margin:0;}
.j-card h3 a:hover{color:var(--terracotta-bright);}
.j-excerpt{margin:0;font-size:.92rem;color:var(--muted);}
.j-more{margin-top:auto;padding-top:.6rem;font-size:.85rem;color:var(--terracotta-bright);letter-spacing:.3px;}
.j-more span{display:inline-block;transition:transform .25s var(--ease);} .j-more:hover span{transform:translateX(4px);}
.j-feature{grid-column:1 / -1;flex-direction:row;}
.j-feature .j-media{flex:1.25;aspect-ratio:auto;height:clamp(340px,40vw,500px);}
.j-feature .j-body{flex:1;justify-content:center;padding:2.4rem;gap:.9rem;}
.j-feature h3{font-size:clamp(1.7rem,3vw,2.4rem);}
.j-feature .j-excerpt{font-size:1.02rem;}
.journal-empty{color:var(--muted);}
@media(max-width:960px){.journal-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:700px){.journal-grid{grid-template-columns:1fr;}.j-feature{flex-direction:column;}.j-feature .j-media{aspect-ratio:4/3;height:auto;}.j-feature .j-body{padding:1.3rem 1.4rem 1.5rem;}}
.j-feature .j-more{margin-top:.8rem;}
@media(max-width:640px){.hero-carousel{height:68svh;min-height:320px;}}

/* ===== Round 2: carousel fills the page (top-anchored so the bottom is trimmed), journal empty state ===== */
.hero-carousel{height:100svh;min-height:560px;margin-top:0;}
.hero-carousel .hc-slide img{object-fit:cover;object-position:center top;}
@media(max-width:640px){.hero-carousel{height:100svh;min-height:480px;}}
.hc-dots{bottom:22px;}
.journal-empty{grid-column:1 / -1;border:1px dashed var(--hair);padding:4.5rem 1.5rem;text-align:center;color:var(--muted);}
.journal-empty p{margin:.9rem 0 .3rem;font-family:var(--serif);font-size:1.5rem;color:var(--off-white);}
.journal-empty small{font-size:.82rem;letter-spacing:.4px;}
.journal-empty-mark{display:block;width:40px;height:1px;margin:0 auto;background:var(--terracotta);}

/* ===== Round 3: relative-height heroes that run past the fold and melt into black ===== */
/* Home carousel: height follows the image width (3:2), spills below the first screen, black fade at the bottom */
.hero-carousel{height:clamp(440px,66.67vw,1050px);min-height:0;}
.hero-carousel .hc-slide img{object-fit:cover;object-position:center top;}
.hero-carousel::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:38%;z-index:2;pointer-events:none;
  background:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,.35) 35%,rgba(0,0,0,.8) 72%,#000 100%);}
.hero-carousel::before{content:"";position:absolute;left:0;right:0;top:0;height:140px;z-index:2;pointer-events:none;
  background:linear-gradient(to bottom,rgba(0,0,0,.55),rgba(0,0,0,0));}
.hc-dots{bottom:26px;z-index:3;}
@media(max-width:640px){.hero-carousel{height:clamp(420px,115vw,620px);}.hero-carousel::after{height:34%;}}

/* Page banners (About, The Journey, Profile & Philosophy): same treatment */
.page-hero{height:clamp(420px,58vw,880px);min-height:0;background:#000;align-items:flex-end;}
.page-hero img{object-fit:cover;object-position:center top;filter:saturate(.9);}
.page-hero .hero-scrim{background:
  linear-gradient(to bottom,rgba(0,0,0,.55) 0,rgba(0,0,0,0) 22%),
  linear-gradient(to bottom,rgba(0,0,0,0) 38%,rgba(0,0,0,.6) 66%,rgba(0,0,0,.92) 88%,#000 100%);}
.page-hero .hero-content{padding-bottom:6vh;}
@media(max-width:640px){.page-hero{height:clamp(420px,110vw,600px);}}

/* ===== Round 4: small terracotta carousel arrows ===== */
.hero-carousel .hc-arrow{z-index:4;width:36px;height:36px;border-radius:50%;background:var(--terracotta);border:none;color:#fff;font-size:1.25rem;line-height:1;padding:0 0 3px;opacity:.9;transition:background .2s,opacity .2s,transform .2s;}
.hero-carousel .hc-arrow:hover{background:var(--terracotta-bright);opacity:1;}
.hero-carousel .hc-prev{left:20px;} .hero-carousel .hc-next{right:20px;}
@media(max-width:640px){.hero-carousel .hc-arrow{display:flex;width:30px;height:30px;font-size:1.05rem;}.hero-carousel .hc-prev{left:10px;}.hero-carousel .hc-next{right:10px;}}

/* ===== Round 5: The Journey — number + title, image left, text right, lesson full width ===== */
.chapter{display:block;padding:3.4rem 0;border-top:1px solid var(--hair);}
.chapter .ch-head{display:flex;align-items:baseline;gap:1.2rem;margin-bottom:1.8rem;}
.chapter .ch-head .k{margin:0;}
.chapter .ch-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:3rem;align-items:start;}
.chapter .ch-media{margin:0;background:#0b0b0b;border:1px solid var(--hair);display:flex;align-items:center;justify-content:center;overflow:hidden;}
.chapter .ch-media img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;}
.chapter .ch-text h2{margin-top:0;}
.chapter .ch-single{grid-template-columns:minmax(0,820px);}
.chapter .lesson{margin-top:2.4rem;width:100%;}
@media(max-width:860px){.chapter .ch-body{grid-template-columns:1fr;gap:1.6rem;}.chapter .ch-media img{max-height:520px;}}
@media(max-width:640px){.chapter{grid-template-columns:none;}.chapter .ch-head{gap:.8rem;}}

/* ===== Round 6 ===== */
.hero-signature{display:block;width:min(260px,60vw);height:auto;margin-top:.8rem;filter:invert(1);}

/* signature inside a banner must not inherit the banner-photo rules */
.page-hero .hero-content img.hero-signature{position:static;inset:auto;width:min(260px,60vw);height:auto;object-fit:contain;filter:invert(1);margin-top:.8rem;}
/* gentler fade for photographs whose subject sits low in the frame */
.page-hero.soft-fade .hero-scrim{background:
  linear-gradient(to bottom,rgba(0,0,0,.5) 0,rgba(0,0,0,0) 20%),
  linear-gradient(to bottom,rgba(0,0,0,0) 55%,rgba(0,0,0,.55) 80%,#000 100%);}
/* book covers: centred inside their frame, whole image visible */
.book-cover{background-position:center center;}

/* ===== Journal pages ===== */
.journal-all{text-align:center;margin:2.4rem 0 0;}
.journal-filter{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:2rem;}
.chip{background:transparent;border:1px solid var(--hair);color:var(--muted);padding:.45rem 1rem;border-radius:999px;font:inherit;font-size:.82rem;letter-spacing:.5px;cursor:pointer;transition:all .2s;}
.chip:hover,.chip.on{border-color:var(--terracotta);color:#fff;background:var(--terracotta);}
.story-narrow{max-width:780px;}
.story-head{padding:calc(var(--hdr) + 3rem) 0 1.6rem;}
.story-head h1{font-size:clamp(2rem,4.6vw,3.4rem);line-height:1.12;margin:.4rem 0 1rem;}
.story-head .eyebrow a{color:inherit;}
.story-meta{color:var(--muted);font-size:.9rem;letter-spacing:.3px;margin:0;}
.story-cover{margin:1rem auto 2.4rem;max-width:1100px;padding:0 20px;}
.story-cover img{display:block;width:100%;height:auto;max-height:78vh;object-fit:contain;background:#0b0b0b;}
.story-body{font-size:1.08rem;line-height:1.85;}
.story-body img{max-width:100%;height:auto;margin:1.8rem auto;display:block;}
.story-body h2,.story-body h3{margin:2.2rem 0 .8rem;}
.story-body blockquote{border-left:2px solid var(--terracotta);margin:2rem 0;padding:.2rem 0 .2rem 1.4rem;font-family:var(--serif);font-style:italic;font-size:1.35rem;color:var(--off-white);}
.story-body a{color:var(--terracotta-bright);text-decoration:underline;}
.story-foot{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;align-items:center;margin:3rem 0 4rem;padding-top:1.6rem;border-top:1px solid var(--hair);}
.story-share{font-size:.85rem;color:var(--muted);} .story-share a{color:var(--terracotta-bright);margin-left:.8rem;}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* Keep every image in proportion: width/height attributes reserve space only; real size follows the CSS width */
img{height:auto;}
.brand-logo,.hero-signature{height:auto;}
.brand-logo{height:72px;width:auto;}
@media(max-width:900px){.brand-logo{height:54px;}}
@media(max-width:640px){.brand-logo{height:46px;}}
