/* ============ FOTORM — Design tokens ============ */
@font-face {
  font-family: 'Lastik';
  src: url('../assets/fonts/LASTIK.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root{
  --navy:#1E2935;
  --navy-deep:#0A111B;
  --navy-soft:#2A3848;
  --ivory:#F4F7FD;
  --ivory-dim:#E7EBF3;
  --red:#E63946;
  --red-dim:#C72A37;
  --line-on-dark:rgba(244,247,253,.16);
  --line-on-light:rgba(30,41,53,.12);

  --font-display:'Lastik', Georgia, 'Times New Roman', serif;
  --font-body:'Helvetica Neue', Helvetica, Arial, sans-serif;

  --container:1360px;
  --gutter:clamp(1.25rem, 4vw, 4rem);
  --ease:cubic-bezier(.22,1,.36,1);
  --ease-soft:cubic-bezier(.16,.84,.44,1);

  --header-h:84px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}
body{
  margin:0;
  background:var(--ivory);
  color:var(--navy);
  font-family:var(--font-body);
  font-weight:300;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
button{ font-family:inherit; background:none; border:0; color:inherit; cursor:pointer; }
::selection{ background:var(--red); color:var(--ivory); }

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--gutter);
}

.eyebrow{
  font-size:.74rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--red);
  display:inline-flex;
  align-items:center;
  gap:.6em;
}
.eyebrow::before{
  content:'';
  width:1.6em;
  height:1px;
  background:var(--red);
  display:inline-block;
}

.serif{ font-family:var(--font-display); font-weight:400; }

/* ============ Custom cursor (desktop only) ============ */
.cursor{
  position:fixed;
  top:0; left:0;
  width:34px; height:34px;
  border:1px solid var(--ivory);
  border-radius:50%;
  pointer-events:none;
  z-index:9999;
  transform:translate(-50%,-50%);
  mix-blend-mode:difference;
  transition:width .25s var(--ease), height .25s var(--ease), opacity .2s;
  opacity:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.cursor span{
  font-size:.62rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  opacity:0;
  transition:opacity .2s;
  color:var(--ivory);
  white-space:nowrap;
}
.cursor.is-active{ opacity:1; }
.cursor.is-view{ width:64px; height:64px; background:rgba(244,247,253,.08); }
.cursor.is-view span{ opacity:1; }
.no-touch body{ cursor:none; }
.no-touch a, .no-touch button{ cursor:none; }
@media (hover:none), (pointer:coarse){
  .cursor{ display:none !important; }
  body{ cursor:auto !important; }
}

/* ============ Splash ============ */
.splash{
  position:fixed; inset:0;
  background:var(--navy);
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  animation:splashHide .4s ease 2.6s forwards;
}
.splash__mark{
  width:88px;
  opacity:0;
  animation:splashFade .9s var(--ease) .15s forwards;
}
@keyframes splashFade{ to{ opacity:1; transform:scale(1); } from{ opacity:0; transform:scale(.85);} }
@keyframes splashHide{ to{ opacity:0; visibility:hidden; pointer-events:none; } }
body.is-loaded .splash{ opacity:0; visibility:hidden; pointer-events:none; transition:opacity .5s var(--ease); }

/* ============ Header ============ */
.header{
  position:fixed; top:0; left:0; right:0;
  z-index:500;
  height:var(--header-h);
  display:flex;
  align-items:center;
  transition:background .4s var(--ease), border-color .4s var(--ease);
  border-bottom:1px solid transparent;
}
.header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.header.is-solid{
  background:rgba(30,41,53,.92);
  backdrop-filter:blur(10px);
  border-bottom-color:var(--line-on-dark);
}
.header__logo{ display:flex; align-items:center; gap:.6rem; }
.header__logo img{ height:30px; width:auto; }
.header__nav{ display:flex; align-items:center; gap:clamp(.7rem,1.3vw,1.5rem); flex-wrap:nowrap; }
.header__nav a{
  font-size:.72rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--ivory);
  position:relative;
  padding:.3em 0;
  white-space:nowrap;
}
.header__nav a::after{
  content:'';
  position:absolute; left:0; bottom:0;
  width:0; height:1px;
  background:var(--red);
  transition:width .3s var(--ease);
}
.header__nav a:hover::after{ width:100%; }
.header__cta{
  border:1px solid var(--line-on-dark);
  padding:.58em 1.1em;
  border-radius:999px;
  font-size:.7rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--ivory);
  white-space:nowrap;
  transition:background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.header__cta:hover{ background:var(--red); border-color:var(--red); }
.header__burger{
  display:none;
  width:30px; height:22px;
  position:relative;
  z-index:600;
}
.header__burger span{
  position:absolute; left:0; right:0; height:1px;
  background:var(--ivory);
  transition:transform .3s var(--ease), opacity .3s var(--ease);
}
.header__burger span:nth-child(1){ top:0; }
.header__burger span:nth-child(2){ top:50%; }
.header__burger span:nth-child(3){ top:100%; }
body.nav-open .header__burger span:nth-child(1){ transform:translateY(10px) rotate(45deg); }
body.nav-open .header__burger span:nth-child(2){ opacity:0; }
body.nav-open .header__burger span:nth-child(3){ transform:translateY(-11px) rotate(-45deg); }

/* ============ Hero ============ */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:var(--navy);
}
.hero__media{
  position:absolute; inset:0;
  z-index:0;
}
.hero__media img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:78% 50%;
  transform:scale(1.08) translateY(var(--py,0));
  will-change:transform;
}
.hero__scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(10,17,27,.55) 0%, rgba(10,17,27,.25) 35%, rgba(10,17,27,.55) 78%, rgba(10,17,27,.96) 100%),
    linear-gradient(90deg, rgba(10,17,27,.75) 0%, rgba(10,17,27,.15) 55%);
}
.hero__content{
  position:relative;
  z-index:2;
  width:100%;
  padding:calc(var(--header-h) + 3rem) 0 5.5rem;
  color:var(--ivory);
}
.hero__eyebrow{ margin-bottom:1.4rem; }
.hero h1{
  font-size:clamp(2.6rem, 7vw, 6.4rem);
  line-height:.98;
  letter-spacing:-.01em;
}
.hero h1 .line{
  display:block;
  overflow:hidden;
}
.hero h1 .line span{ display:block; }
.js .hero h1 .line span{
  transform:translateY(110%);
  transition:transform .9s var(--ease-soft);
}
.js .hero.is-ready h1 .line:nth-child(1) span{ transition-delay:.15s; transform:translateY(0); }
.js .hero.is-ready h1 .line:nth-child(2) span{ transition-delay:.3s; transform:translateY(0); }
.hero__sub{
  max-width:36ch;
  margin-top:1.6rem;
  font-size:1.02rem;
  font-weight:300;
  color:var(--ivory-dim);
}
.js .hero__sub{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .8s var(--ease) .55s, transform .8s var(--ease) .55s;
}
.js .hero.is-ready .hero__sub{ opacity:1; transform:translateY(0); }
.hero__pills{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  margin-top:2.4rem;
}
.js .hero__pills{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .8s var(--ease) .75s, transform .8s var(--ease) .75s;
}
.js .hero.is-ready .hero__pills{ opacity:1; transform:translateY(0); }
.pill{
  border:1px solid var(--line-on-dark);
  padding:.6em 1.15em;
  border-radius:999px;
  font-size:.76rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  transition:border-color .3s, background .3s, color .3s;
}
.pill:hover{ border-color:var(--red); background:var(--red); color:var(--ivory); }
.hero__scrolldown{
  position:absolute;
  right:var(--gutter);
  bottom:2.2rem;
  z-index:2;
  display:flex;
  align-items:center;
  gap:.7rem;
  color:var(--ivory-dim);
  font-size:.7rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  writing-mode:vertical-rl;
}
.hero__scrolldown::after{
  content:'';
  width:1px; height:46px;
  background:linear-gradient(var(--ivory-dim), transparent);
  display:block;
  animation:scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine{ 0%,100%{ transform:scaleY(1); opacity:.5;} 50%{ transform:scaleY(.4); opacity:1;} }
.hero__credit{
  position:absolute;
  left:var(--gutter);
  bottom:2.2rem;
  z-index:2;
  font-size:.7rem;
  letter-spacing:.05em;
  color:var(--ivory-dim);
  opacity:.7;
}

/* ============ Reveal utility ============ */
.reveal{ opacity:1; transform:none; }
.js .reveal{
  opacity:0;
  transform:translateY(36px);
  transition:opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-visible{ opacity:1; transform:translateY(0); }
.reveal[data-split]{ opacity:1; transform:none; }
.js .reveal[data-delay="1"]{ transition-delay:.1s; }
.js .reveal[data-delay="2"]{ transition-delay:.2s; }
.js .reveal[data-delay="3"]{ transition-delay:.32s; }

/* ============ Section shell ============ */
.section{ position:relative; padding:clamp(5rem,10vw,8.5rem) 0; }
.section--dark{ background:var(--navy); color:var(--ivory); }
.section--ivory{ background:var(--ivory); color:var(--navy); }
.section-head{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:2rem;
  margin-bottom:clamp(2.5rem,5vw,4rem);
}
.section-head h2{
  font-size:clamp(2.2rem,4.6vw,3.6rem);
  line-height:1.04;
  margin-top:.5rem;
}
.section-head__desc{
  max-width:34ch;
  font-size:.98rem;
  opacity:.78;
  font-weight:300;
}

/* ============ About ============ */
.about__grid{
  display:grid;
  grid-template-columns:.86fr 1.14fr;
  gap:clamp(2.5rem,6vw,5rem);
  align-items:center;
}
.about__media{
  position:relative;
  aspect-ratio:4/5;
  overflow:hidden;
  border-radius:2px;
  transition:transform .25s var(--ease-soft);
  will-change:transform;
}
.about__media img{
  width:100%; height:100%; object-fit:cover;
  transition:transform 1.2s var(--ease);
}
.about__media:hover img{ transform:scale(1.04); }
.about__media::after{
  content:'';
  position:absolute; inset:0;
  border:1px solid var(--line-on-light);
  pointer-events:none;
  z-index:3;
}
.about__reveal-panel{
  position:absolute; inset:0;
  background:var(--navy);
  transform-origin:right;
  transform:scaleX(0);
  z-index:2;
  pointer-events:none;
}
.js .about__reveal-panel{ transform:scaleX(1); }
.js .about__media.is-revealed .about__reveal-panel{
  transform:scaleX(0);
  transition:transform 1s var(--ease) .1s;
}
.about__badge{
  position:absolute;
  bottom:-1px; right:-1px;
  background:var(--red);
  color:var(--ivory);
  padding:.9em 1.3em;
  font-size:.72rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  z-index:3;
}
.about__bio p{
  font-size:1.06rem;
  font-weight:300;
  margin-bottom:1.1rem;
  max-width:46ch;
}
.about__facts{
  display:flex;
  gap:clamp(1.6rem,4vw,3rem);
  margin:2.2rem 0 2.4rem;
  flex-wrap:wrap;
}
.about__facts .fact-value{
  font-family:var(--font-display);
  font-size:2.4rem;
  display:block;
  color:var(--red);
}
.about__facts .fact-label{
  font-size:.72rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  opacity:.65;
}
.about__subjects-label{
  font-size:.74rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.55;
  margin-bottom:.9rem;
}
.about__subjects{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem .8rem;
}
.about__subjects li{
  font-family:var(--font-display);
  font-size:1rem;
  position:relative;
  padding-right:.9rem;
}
.about__subjects li:not(:last-child)::after{
  content:'·';
  position:absolute;
  right:0;
  color:var(--red);
}

/* ============ Chapter (category) sections ============ */
.chapter{ overflow:hidden; }
.chapter__head{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:end;
  gap:2rem;
  margin-bottom:clamp(2.5rem,5vw,4rem);
}
.chapter__index{
  font-family:var(--font-display);
  font-size:clamp(3.4rem,7vw,6rem);
  line-height:.8;
  color:var(--red);
  opacity:.9;
}
.chapter__title h2{
  font-size:clamp(2.4rem,5.4vw,4.4rem);
  line-height:1;
}
.chapter__title p{
  margin-top:.7rem;
  font-size:1rem;
  max-width:42ch;
  opacity:.75;
  font-weight:300;
}
.chapter__count{
  font-size:.74rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  opacity:.55;
  text-align:right;
  white-space:nowrap;
}

.feature-frame{
  position:relative;
  width:100%;
  aspect-ratio:16/8;
  overflow:hidden;
  margin-bottom:1.25rem;
  border-radius:2px;
}
.feature-frame img{
  width:100%; height:100%; object-fit:cover;
  transform:scale(1.02);
  transition:transform 1.4s var(--ease);
}
.feature-frame:hover img{ transform:scale(1.08); }
.feature-frame .frame-caption{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:1.6rem clamp(1.25rem,3vw,2.4rem);
  background:linear-gradient(180deg, transparent, rgba(8,12,18,.78));
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:1rem;
  opacity:0;
  transform:translateY(8px);
  transition:opacity .35s var(--ease), transform .35s var(--ease);
}
.feature-frame:hover .frame-caption{ opacity:1; transform:translateY(0); }
.frame-caption .ft-title{ font-family:var(--font-display); font-size:1.3rem; }
.frame-caption .ft-sub{ font-size:.78rem; opacity:.8; letter-spacing:.03em; }

.gallery-masonry{
  column-count:3;
  column-gap:1.25rem;
}
.gallery-item{
  position:relative;
  margin-bottom:1.25rem;
  overflow:hidden;
  break-inside:avoid;
  border-radius:2px;
}
.gallery-item img{
  width:100%; height:auto;
  transform:scale(1.01);
  transition:transform 1s var(--ease);
}
.gallery-item:hover img{ transform:scale(1.07); }
.gallery-item .item-caption{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:1.1rem 1.2rem;
  background:linear-gradient(180deg, transparent, rgba(8,12,18,.82));
  color:#fff;
  opacity:0;
  transform:translateY(8px);
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery-item:hover .item-caption{ opacity:1; transform:translateY(0); }
.item-caption .it-title{ font-family:var(--font-display); font-size:1.02rem; display:block; }
.item-caption .it-sub{ font-size:.72rem; opacity:.8; }

.chapter--dark .gallery-item,
.chapter--dark .feature-frame{ box-shadow:0 0 0 1px var(--line-on-dark); }
.chapter--light .gallery-item,
.chapter--light .feature-frame{ box-shadow:0 0 0 1px var(--line-on-light); }

/* ============ Marquee (subjects strip) ============ */
.marquee-section{
  background:var(--navy-deep);
  color:var(--ivory);
  padding:clamp(2.6rem,5vw,4rem) 0;
  border-top:1px solid var(--line-on-dark);
  border-bottom:1px solid var(--line-on-dark);
}
.marquee{
  display:flex;
  overflow:hidden;
  user-select:none;
}
.marquee__track{
  display:flex;
  align-items:center;
  gap:3rem;
  flex-shrink:0;
  animation:marquee 38s linear infinite;
  padding-right:3rem;
}
.marquee:hover .marquee__track{ animation-play-state:paused; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.marquee span{
  font-family:var(--font-display);
  font-size:clamp(1.4rem,2.6vw,2.2rem);
  white-space:nowrap;
  opacity:.85;
}
.marquee span.dot{ color:var(--red); font-family:var(--font-body); }

/* ============ Contact ============ */
.contact{
  background:var(--navy);
  color:var(--ivory);
  position:relative;
}
.contact .container{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:clamp(2.5rem,6vw,5rem);
  align-items:end;
}
.contact h2{
  font-size:clamp(2.6rem,6vw,5.2rem);
  line-height:1.04;
}
.contact__sub{
  margin-top:1.4rem;
  max-width:40ch;
  opacity:.78;
  font-size:1.02rem;
}
.contact__cta{
  margin-top:3.6rem;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:1.1rem;
}
.btn-magnetic,
.btn-outline{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:.7rem;
  padding:1.05em 1.9em;
  border-radius:999px;
  font-size:.84rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  transition:background .3s, border-color .3s, color .3s;
}
.btn-magnetic svg,
.btn-outline svg{ width:18px; height:18px; flex-shrink:0; }
.btn-magnetic{
  background:var(--red);
  color:var(--ivory);
}
.btn-magnetic:hover{ background:var(--red-dim); }
.btn-outline{
  background:transparent;
  color:var(--ivory);
  border:1px solid var(--line-on-dark);
}
.btn-outline:hover{ border-color:#25D366; color:#25D366; }
.contact__details{
  display:flex;
  flex-direction:column;
  gap:1.4rem;
  align-items:flex-start;
}
.contact__detail-label{
  font-size:.7rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  opacity:.55;
  margin-bottom:.35rem;
}
.contact__detail-value{
  font-family:var(--font-display);
  font-size:1.3rem;
  border-bottom:1px solid var(--line-on-dark);
  padding-bottom:.3rem;
  transition:border-color .3s, color .3s;
}
.contact__detail-value:hover{ border-color:var(--red); color:var(--red); }

/* ============ Footer ============ */
.footer{
  background:var(--navy-deep);
  color:var(--ivory-dim);
  padding:2.6rem 0;
  font-size:.78rem;
}
.footer .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:1rem;
}
.footer__logo img{ height:22px; opacity:.85; }
.footer__links{ display:flex; gap:1.6rem; }
.footer__links a{ opacity:.6; transition:opacity .3s; }
.footer__links a:hover{ opacity:1; color:var(--red); }
.back-to-top{
  width:42px; height:42px;
  border:1px solid var(--line-on-dark);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .3s, transform .3s;
}
.back-to-top:hover{ border-color:var(--red); transform:translateY(-4px); }

/* ============ Lightbox ============ */
.lightbox{
  position:fixed; inset:0;
  z-index:8000;
  background:rgba(8,12,18,.97);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:opacity .35s var(--ease);
}
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox__figure{
  max-width:min(86vw, 1200px);
  max-height:82vh;
  position:relative;
  transform:scale(.96);
  transition:transform .4s var(--ease);
}
.lightbox.is-open .lightbox__figure{ transform:scale(1); }
.lightbox__figure img{
  max-width:100%;
  max-height:82vh;
  width:auto;
  margin:0 auto;
  box-shadow:0 30px 80px rgba(0,0,0,.5);
}
.lightbox__caption{
  text-align:center;
  margin-top:1.1rem;
  color:var(--ivory);
}
.lightbox__caption .lc-title{ font-family:var(--font-display); font-size:1.3rem; }
.lightbox__caption .lc-sub{ font-size:.78rem; opacity:.65; margin-top:.2rem; }
.lightbox__close,
.lightbox__prev,
.lightbox__next{
  position:fixed;
  color:var(--ivory);
  width:50px; height:50px;
  border:1px solid var(--line-on-dark);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .3s, background .3s;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover{ border-color:var(--red); background:rgba(230,57,70,.15); }
.lightbox__close{ top:2rem; right:2rem; }
.lightbox__prev{ left:2rem; top:50%; transform:translateY(-50%); }
.lightbox__next{ right:2rem; top:50%; transform:translateY(-50%); }

/* ============ Responsive ============ */
@media (max-width:1080px){
  .about__grid{ grid-template-columns:1fr; }
  .about__media{ max-width:420px; }
  .contact .container{ grid-template-columns:1fr; }
  .contact__details{ margin-top:1rem; }
}

@media (max-width:1180px){
  .header__nav{
    position:fixed; top:0; right:0; bottom:0;
    width:min(78vw,340px);
    background:var(--navy);
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:1.6rem;
    padding:0 2.4rem;
    transform:translateX(100%);
    transition:transform .45s var(--ease);
    z-index:550;
  }
  body.nav-open .header__nav{ transform:translateX(0); }
  .header__nav a{ font-size:1rem; }
  .header__cta{ display:none; }
  .header__burger{ display:block; }
  .gallery-masonry{ column-count:2; }
  .feature-frame{ aspect-ratio:4/5; }
  .chapter__head{ grid-template-columns:1fr; }
  .chapter__count{ text-align:left; }
  .lightbox__prev, .lightbox__next{ width:42px; height:42px; }
  .lightbox__prev{ left:.6rem; }
  .lightbox__next{ right:.6rem; }
  .lightbox__close{ top:1rem; right:1rem; }
}

@media (max-width:560px){
  .gallery-masonry{ column-count:1; }
  .hero h1{ font-size:clamp(2.2rem,11vw,3.4rem); }
  .about__facts{ gap:1.4rem; }
  .marquee span{ font-size:1.4rem; }
}
