/* =========================================================
   Asma Ashraf — Portfolio
   ========================================================= */
:root {
  --bg: #0b1410;
  --bg-2: #101c16;
  --surface: #14231b;
  --line: rgba(243, 239, 230, 0.12);
  --ink: #f3efe6;
  --muted: #a7b2a8;
  --accent: #d9f26b;      /* fresh leaf / lime */
  --accent-ink: #0b1410;
  --gold: #e8b04b;
  --leaf: #4f8a5b;
  --radius: 22px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.hero__eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(217,242,107,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(217,242,107,0); } 100% { box-shadow: 0 0 0 0 rgba(217,242,107,0); } }

.h2 {
  font-family: var(--serif); font-weight: 350; letter-spacing: -.02em;
  font-size: clamp(40px, 6.4vw, 96px); line-height: 1; margin: 0 0 24px;
}
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; margin: 0 0 24px; }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); max-width: 900px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head__lead { color: var(--muted); max-width: 520px; font-size: 18px; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px; border-radius: 100px; font-weight: 600; font-size: 16px;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent::before { background: var(--ink); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); }
.btn--small { padding: 12px 22px; font-size: 14px; }
.btn .arrow { font-style: normal; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: flex; flex-direction: column; justify-content: flex-end; padding: var(--gutter);
}
.loader__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.loader__name { font-family: var(--serif); font-size: clamp(48px, 10vw, 160px); line-height: .9; font-weight: 350; display: flex; flex-direction: column; }
.loader__name span { display: block; overflow: hidden; }
.loader__count { font-family: var(--serif); font-size: clamp(40px, 7vw, 110px); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.loader__bar { height: 2px; background: var(--line); margin-top: 28px; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--accent); }
html:not(.js) .loader { display: none; }

/* ---------- Cursor, progress, grain ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 900; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--accent); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s;
}
.cursor__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); opacity: 0; transition: opacity .2s; }
.cursor.is-hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; mix-blend-mode: normal; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); z-index: 950; }
.grain {
  position: fixed; inset: -50%; z-index: 800; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,3%)} 80%{transform:translate(3%,1%)} 100%{transform:translate(0,0)} }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 700;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: transform .5s var(--ease), background .4s, backdrop-filter .4s, padding .4s;
}
.nav.is-scrolled { background: rgba(11, 20, 16, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.nav__mark {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-family: var(--serif); font-style: italic; font-size: 22px;
}
.nav__wordmark { font-size: 16px; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 6px; background: rgba(243,239,230,.05); border: 1px solid var(--line); padding: 6px; border-radius: 100px; }
.nav__links a { padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .3s, background .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); background: rgba(243,239,230,.08); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 25px; }
.menu-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 650; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font-family: var(--serif); font-size: clamp(40px, 11vw, 64px); line-height: 1.1; }
.menu__foot { margin-top: auto; color: var(--muted); }

/* ---------- Hero (film inside the name) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; }
.hero__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; background: #000; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__mask {
  position: absolute; inset: 0; z-index: 1; background: #040806; color: #fff;
  mix-blend-mode: multiply; display: flex; flex-direction: column; justify-content: center; align-items: center;
  font-family: var(--serif); font-weight: 800; line-height: .8; letter-spacing: -.04em; text-align: center;
  font-variation-settings: "opsz" 144; transform-origin: 50% 46%; will-change: transform;
}
.hero__mask-line { display: block; font-size: 21.5vw; }
.hero__mask-line:first-child { font-size: 27vw; }
.hero__shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(5,10,8,.35) 0%, rgba(5,10,8,.15) 40%, rgba(5,10,8,.85) 100%); opacity: 0; }
.hero__content { position: absolute; left: 0; right: 0; bottom: clamp(70px, 10vh, 120px); z-index: 4; margin: 0 auto; }
.js .hero__content { opacity: 0; }
.hero__title { font-family: var(--serif); font-weight: 330; font-size: clamp(46px, 8.4vw, 136px); line-height: .92; letter-spacing: -.035em; margin: 0 0 32px; text-shadow: 0 10px 40px rgba(0,0,0,.35); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line__in { display: inline-block; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hero__lead { max-width: 470px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(243,239,230,.85); margin: 0; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--glass { background: rgba(243,239,230,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(243,239,230,.25); }

/* Viewfinder */
.viewfinder { position: absolute; inset: clamp(70px, 9vh, 96px) clamp(14px, 3vw, 40px) clamp(20px, 4vh, 40px); z-index: 3; pointer-events: none; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: rgba(243,239,230,.85); }
.vf { position: absolute; width: 34px; height: 34px; border-color: rgba(243,239,230,.8); border-style: solid; border-width: 0; }
.vf--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.vf--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.vf--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.vf--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.vf__rec { position: absolute; top: 14px; left: 50px; display: flex; align-items: center; gap: 8px; }
.vf__rec b, .hud__rec b { width: 9px; height: 9px; border-radius: 50%; background: #ff4b3a; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vf__meta { position: absolute; top: 14px; right: 50px; }
.vf__tag { position: absolute; bottom: 14px; left: 50px; }
.vf__hint { position: absolute; bottom: 14px; right: 50px; animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }
.vf__focus { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border: 1px solid rgba(217,242,107,.7); border-radius: 4px; }
.vf__focus::before, .vf__focus::after { content: ""; position: absolute; background: rgba(217,242,107,.7); }
.vf__focus::before { left: 50%; top: -10px; bottom: -10px; width: 1px; }
.vf__focus::after { top: 50%; left: -10px; right: -10px; height: 1px; }

/* Global film HUD */
.hud { position: fixed; left: 0; right: 0; bottom: 0; z-index: 640; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); pointer-events: none; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); mix-blend-mode: difference; opacity: 0; transition: opacity .5s; }
.hud.is-on { opacity: .85; }
.hud__rec { display: flex; align-items: center; gap: 9px; font-variant-numeric: tabular-nums; }
.hud__scene { display: flex; gap: 12px; }
.hud__num { color: var(--accent); }

/* ---------- Interlude: image trail ---------- */
.interlude { position: relative; height: 90vh; min-height: 560px; overflow: hidden; display: grid; place-items: center; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: crosshair; touch-action: pan-y; }
.interlude__trail { position: absolute; inset: 0; pointer-events: none; }
.trail-img { position: absolute; left: 0; top: 0; width: clamp(130px, 15vw, 230px); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.5); will-change: transform, opacity; }
.trail-img img { width: 100%; height: auto; display: block; }
.interlude__text { position: relative; z-index: 2; pointer-events: none; padding: 0 var(--gutter); mix-blend-mode: difference; }
.interlude__text .eyebrow { justify-content: center; }
.interlude__title { font-family: var(--serif); font-weight: 330; font-size: clamp(54px, 10vw, 170px); line-height: .9; letter-spacing: -.035em; margin: 0 0 24px; }
.interlude__title span { display: block; }
.interlude__hint { color: var(--muted); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin: 0; }
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--bg-2); }
.marquee__track { display: flex; gap: 40px; width: max-content; align-items: center; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(28px, 4vw, 56px); font-weight: 350; white-space: nowrap; }
.marquee__track span:nth-of-type(even) { font-style: italic; color: var(--accent); }
.marquee__track b { color: var(--gold); font-size: 24px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(80px, 10vw, 140px); margin-bottom: clamp(80px, 10vw, 140px); padding: 0; }
.stat { background: var(--bg); padding: clamp(24px, 3vw, 44px); }
.stat__num { font-family: var(--serif); font-size: clamp(48px, 6vw, 88px); line-height: 1; font-weight: 350; color: var(--accent); }
.stat p { color: var(--muted); margin: 12px 0 0; font-size: 15px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; padding-bottom: clamp(100px, 12vw, 180px); }
.about__media { position: relative; }
.about__img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about__img img { width: 100%; height: 115%; object-fit: cover; }
.about__img--small { position: absolute; width: 46%; aspect-ratio: 1; right: -10%; bottom: -10%; border: 6px solid var(--bg); }
.about__badge { position: absolute; top: -40px; left: -40px; width: 140px; height: 140px; display: grid; place-items: center; }
.about__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.about__badge text { font-size: 15.5px; letter-spacing: 3px; fill: var(--ink); font-weight: 600; }
.about__badge span { width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
.fill-text { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.55; margin: 0 0 32px; }
.fill-text .w { opacity: .22; transition: opacity .2s; }
.roles { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.roles li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: 14px; color: var(--muted); }
.about__links { display: flex; gap: 26px; flex-wrap: wrap; font-weight: 600; }

/* ---------- Services ---------- */
.services { padding: clamp(100px, 12vw, 160px) 0; background: var(--ink); color: var(--bg); position: relative; border-radius: 40px 40px 0 0; }
.services .eyebrow, .services .section-head__lead { color: #4d5a52; }
.services em { color: var(--leaf); }
.svc-list { border-top: 1px solid rgba(11,20,16,.14); }
.svc {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center;
  padding: 36px 0; border-bottom: 1px solid rgba(11,20,16,.14); position: relative;
}
.svc::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--bg); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.svc > * { position: relative; z-index: 1; transition: color .4s; }
.svc:hover::before { transform: scaleY(1); }
.svc:hover > * { color: var(--ink); }
.svc:hover .tags li { border-color: rgba(243,239,230,.2); color: var(--muted); }
.svc__num { font-family: var(--serif); font-size: 22px; color: #6b776f; }
.svc h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.05; margin: 0 0 10px; letter-spacing: -.015em; }
.svc p { margin: 0 0 16px; max-width: 640px; color: #47534b; }
.svc:hover p { color: var(--muted); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 5px 12px; border-radius: 100px; border: 1px solid rgba(11,20,16,.18); color: #47534b; transition: all .4s; }
.svc__cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 100px; border: 1px solid rgba(11,20,16,.25); font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.svc:hover .svc__cta { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.svc-preview {
  position: fixed; left: 0; top: 0; width: 280px; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden;
  pointer-events: none; z-index: 600; opacity: 0; transform: scale(.6); box-shadow: 0 30px 70px rgba(0,0,0,.4);
}
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Process ---------- */
.process { padding-top: clamp(100px, 12vw, 160px); padding-bottom: clamp(100px, 12vw, 160px); }
.steps { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px 36px; position: relative; overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.step:hover { transform: translateY(-8px); border-color: rgba(217,242,107,.4); }
.step span { font-family: var(--serif); font-size: 56px; color: var(--accent); line-height: 1; display: block; margin-bottom: 40px; font-style: italic; }
.step h3 { margin: 0 0 8px; font-size: 21px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Work grid ---------- */
.work { padding-bottom: clamp(100px, 12vw, 160px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); transition: all .3s; }
.filter:hover { color: var(--ink); border-color: rgba(243,239,230,.3); }
.filter.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.grid { columns: 4 260px; column-gap: 18px; }
.tile { break-inside: avoid; margin: 0 0 18px; border-radius: 16px; overflow: hidden; position: relative; cursor: pointer; background: var(--surface); display: block; width: 100%; text-align: left; padding: 0; }
.tile img { width: 100%; height: auto; transition: transform .9s var(--ease), filter .6s; }
.tile:hover img { transform: scale(1.06); }
.tile__info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(5,10,8,.88));
  transform: translateY(30%); opacity: 0; transition: all .5s var(--ease);
}
.tile:hover .tile__info, .tile:focus-visible .tile__info { transform: none; opacity: 1; }
.tile__info b { display: block; font-size: 16px; line-height: 1.3; color: var(--ink); }
.tile__info small { color: var(--accent); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.tile.is-hidden { display: none; }

/* ---------- Case ---------- */
.case { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; padding-bottom: clamp(100px, 12vw, 180px); }
.case__media { border-radius: var(--radius); overflow: hidden; margin: 0; }
.case__media img { width: 100%; }
.case__text p { color: var(--muted); font-size: 19px; max-width: 520px; margin: 0 0 32px; }
.big-num { display: block; font-size: 1.6em; color: var(--accent); line-height: .95; }

/* ---------- Films ---------- */
.films { background: var(--bg-2); padding-top: clamp(100px, 12vw, 150px); overflow: hidden; }
.films__hint { color: var(--muted); font-size: 14px; margin: 0; }
.films__pin { padding: 50px 0 clamp(100px, 12vw, 150px); }
.films__track { display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; align-items: center; }
.film { position: relative; height: min(62vh, 560px); border-radius: var(--radius); overflow: hidden; cursor: pointer; flex: none; background: #000; padding: 0; text-align: left; }
.film--land { aspect-ratio: 16/9; }
.film--port { aspect-ratio: 9/16; }
.film video, .film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.film:hover video { transform: scale(1.04); }
.film__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.film__info b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2vw, 28px); line-height: 1.1; color: #fff; }
.film__info small { color: var(--accent); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.play { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 16px; transition: transform .4s var(--ease); }
.film:hover .play, .reel:hover .play { transform: scale(1.15); }
.films__count { font-family: var(--serif); font-size: clamp(80px, 14vw, 220px); line-height: .8; padding: 0 40px 0 0; color: transparent; -webkit-text-stroke: 1px rgba(243,239,230,.25); white-space: nowrap; flex: none; }

/* ---------- Reels ---------- */
.reels { padding: clamp(100px, 12vw, 160px) 0; }
.reels__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reel { position: relative; aspect-ratio: 9/16; border-radius: 18px; overflow: hidden; cursor: pointer; background: #000; padding: 0; text-align: left; display: block; width: 100%; }
.reel video, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.reel:hover video { transform: scale(1.05); }
.reel .film__info { padding: 50px 16px 16px; }
.reel .film__info b { font-size: 18px; }
.reel .play { width: 42px; height: 42px; font-size: 13px; }

/* ---------- Impact ---------- */
.impact { padding: clamp(100px, 12vw, 160px) 0; background: var(--bg-2); }
.impact__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.award { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease); }
.award:hover { border-color: rgba(217,242,107,.35); transform: translateY(-4px); }
.award figure { margin: 0; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.award img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.award:hover img { transform: scale(1.08); }
.award__year { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.award h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 6px 0 8px; }
.award p { margin: 0; color: var(--muted); font-size: 15px; }
.stages { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; margin-top: clamp(80px, 10vw, 130px); }
.stages__img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2; }
.stages__img img { width: 100%; height: 100%; object-fit: cover; }
.timeline { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline b { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--accent); }
.timeline span { color: var(--muted); }

/* ---------- Booking ---------- */
.book { padding: clamp(100px, 12vw, 160px) 0; background: radial-gradient(1200px 600px at 10% 0%, rgba(79,138,91,.25), transparent 60%), var(--bg); }
.book__wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.book__intro { position: sticky; top: 120px; }
.book__intro > p { color: var(--muted); font-size: 18px; }
.book__perks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.book__perks li { display: flex; gap: 12px; align-items: center; }
.book__perks li::before { content: "✓"; width: 26px; height: 26px; flex: none; border-radius: 50%; background: rgba(217,242,107,.15); color: var(--accent); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.book__mail { color: var(--muted); font-size: 15px; }

.booking { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3.5vw, 44px); position: relative; overflow: hidden; }
.booking__steps { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.booking__steps span { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 100px; color: var(--muted); border: 1px solid var(--line); transition: all .4s; }
.booking__steps span.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.booking__steps span.is-done { color: var(--accent); border-color: rgba(217,242,107,.4); }
.bstep { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.bstep.is-active { display: block; animation: stepIn .6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.bstep legend { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin-bottom: 22px; padding: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice--wide { grid-column: 1 / -1; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(243,239,230,.02); font-weight: 600; font-size: 15px; transition: all .3s; height: 100%; }
.choice span::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--muted); transition: all .3s; }
.choice:hover span { border-color: rgba(243,239,230,.3); }
.choice input:checked + span { border-color: var(--accent); background: rgba(217,242,107,.08); }
.choice input:checked + span::before { border: 5px solid var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.booking__nav { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.booking__nav [data-prev] { margin-right: auto; }
.booking__err { color: #ff9b85; font-size: 14px; }
.bstep[data-step="1"] .booking__err { margin-right: auto; }

.bstep[data-step="2"].is-active { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.bstep[data-step="2"] legend, .bstep[data-step="2"] .booking__nav { grid-column: 1 / -1; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal__title { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.cal__nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s; }
.cal__nav:hover:not(:disabled) { background: rgba(243,239,230,.08); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__dow, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow span { font-size: 12px; color: var(--muted); padding: 6px 0; font-weight: 600; }
.cal__day { aspect-ratio: 1; border-radius: 50%; font-size: 15px; font-weight: 600; display: grid; place-items: center; transition: background .25s, color .25s; }
.cal__day:not(:disabled):hover { background: rgba(217,242,107,.14); }
.cal__day:disabled { color: rgba(243,239,230,.2); cursor: default; }
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--line); }
.cal__day.is-selected { background: var(--accent); color: var(--accent-ink); }
.slots__label { font-weight: 600; margin: 8px 0 14px; }
.slots__label small { color: var(--muted); font-weight: 500; display: block; font-size: 13px; }
.slots__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 320px; overflow-y: auto; padding-right: 4px; }
.slots__empty { grid-column: 1 / -1; color: var(--muted); margin: 0; font-size: 15px; }
.slot { padding: 12px; border-radius: 12px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; transition: all .25s; }
.slot:hover { border-color: var(--accent); }
.slot.is-selected { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.booking__summary { background: rgba(217,242,107,.08); border: 1px solid rgba(217,242,107,.25); border-radius: 14px; padding: 14px 18px; margin: 0 0 22px; font-size: 15px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field span { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: rgba(243,239,230,.04);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .3s, background .3s; width: 100%;
}
.field select option { background: var(--bg-2); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(243,239,230,.07); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff9b85; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.bdone { text-align: center; padding: 40px 10px; animation: stepIn .6s var(--ease); }
.bdone__icon { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 38px; font-weight: 700; animation: pop .7s var(--ease); }
@keyframes pop { from { transform: scale(0) rotate(-90deg); } }
.bdone h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 0 0 12px; }
.bdone p { color: var(--muted); max-width: 440px; margin: 0 auto 28px; }
.bdone__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { padding: clamp(80px, 10vw, 140px) 0 36px; border-top: 1px solid var(--line); }
.footer__big { display: block; font-family: var(--serif); font-weight: 330; font-size: clamp(48px, 9vw, 150px); line-height: .95; letter-spacing: -.03em; position: relative; margin-bottom: clamp(60px, 8vw, 110px); }
.footer__big span { display: block; }
.footer__arrow { position: absolute; right: 0; bottom: .1em; font-style: normal; width: clamp(70px, 9vw, 140px); height: clamp(70px, 9vw, 140px); border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: .45em; transition: transform .6s var(--ease); }
.footer__big:hover .footer__arrow { transform: rotate(45deg) scale(1.05); }
.footer__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer__label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; font-weight: 600; }
.footer__row p { margin: 0; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1100; background: rgba(5,10,8,.94); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 70px 80px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { max-width: 100%; max-height: calc(100vh - 160px); display: grid; place-items: center; }
.lightbox__stage img, .lightbox__stage video { max-width: min(1200px, 100%); max-height: calc(100vh - 160px); border-radius: 14px; width: auto; height: auto; object-fit: contain; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; }
.lightbox__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); font-size: 20px; transition: background .3s; }
.lightbox__arrow:hover, .lightbox__close:hover { background: rgba(243,239,230,.1); }
.lightbox__arrow--prev { left: 18px; } .lightbox__arrow--next { right: 18px; }
.lightbox__caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted); margin: 0; font-size: 15px; padding: 0 70px; }

/* ---------- Reveal defaults (JS enhances) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); }
.js .clip-reveal { clip-path: inset(100% 0 0 0); }
.no-motion .hero__content { opacity: 1 !important; }
.no-motion .hero__mask { display: none; }
.no-motion .credits { height: auto; }
.no-motion .credits__roll { padding: 100px 20px; }
.no-motion .hero__shade { opacity: 1; }
.no-motion .reveal, .no-motion .clip-reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reels__grid { grid-template-columns: repeat(3, 1fr); }
  .impact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .about, .case, .stages, .book__wrap { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .book__intro { position: static; }
  .bstep[data-step="2"].is-active { grid-template-columns: 1fr; }
  .svc-preview { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav__cta { display: none; }
  .nav__wordmark { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat p { font-size: 13px; }
  .about__badge { width: 110px; height: 110px; top: -30px; left: -10px; }
  .about__img--small { right: -4%; bottom: -8%; }
  .svc { grid-template-columns: 1fr; gap: 10px; padding: 30px 0; }
  .svc__cta { justify-self: start; }
  .steps { grid-template-columns: 1fr; }
  .grid { columns: 2 140px; column-gap: 10px; }
  .tile { margin-bottom: 10px; border-radius: 12px; }
  .tile__info { opacity: 1; transform: none; padding: 30px 10px 10px; }
  .tile__info b { font-size: 13px; }
  .tile__info small { font-size: 10px; }
  .film { height: 52vh; }
  .film__info { padding: 40px 16px 16px; }
  .reels__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .reel .film__info { padding: 40px 10px 10px; }
  .reel .film__info b { font-size: 14px; }
  .reel .play { width: 34px; height: 34px; }
  .award { grid-template-columns: 96px 1fr; gap: 16px; padding: 14px; }
  .award h3 { font-size: 19px; }
  .award p { font-size: 14px; }
  .timeline li { grid-template-columns: 80px 1fr; }
  .choices, .fields { grid-template-columns: 1fr; }
  .booking { border-radius: 20px; }
  .booking__nav .btn { padding: 14px 20px; }
  .footer__row { grid-template-columns: 1fr; }
  .footer__arrow { position: static; margin-top: 24px; }
  .lightbox { padding: 70px 12px 60px; }
  .lightbox__arrow { top: auto; bottom: 10px; transform: none; width: 44px; height: 44px; }
  .lightbox__caption { bottom: 22px; padding: 0 64px; font-size: 13px; }
}


/* ---------- Service pricing ---------- */
.svc { grid-template-columns: 90px 1fr auto; }
.svc__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; }
.svc__price { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); line-height: 1; white-space: nowrap; }
.svc__price small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .16em; color: #6b776f; margin-bottom: 6px; font-weight: 700; }
.svc:hover .svc__price small { color: var(--muted); }
.svc__badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 5px 12px; border-radius: 100px; background: var(--leaf); color: #fff; margin-bottom: 12px; }
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.addon { border: 1px dashed rgba(11,20,16,.25); border-radius: 18px; padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; }
.addon span { grid-column: 1 / -1; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--leaf); }
.addon b { font-size: 18px; }
.addon p { grid-column: 1; margin: 0; color: #47534b; font-size: 14px; }
.addon em { grid-column: 2; grid-row: 2 / span 2; font-family: var(--serif); font-size: 24px; color: var(--bg); font-style: normal; white-space: nowrap; }
.addons__note { grid-column: 1 / -1; margin: 8px 0 0; color: #4d5a52; font-size: 14px; }

/* Client badge on tiles */
.tile__client { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 100px; background: var(--accent); color: var(--accent-ink); }

/* ---------- Journal / Substack ---------- */
.journal { padding: clamp(100px, 12vw, 160px) 0; position: relative; }
.journal__top { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: end; margin-bottom: clamp(50px, 6vw, 80px); }
.journal__intro > p:last-child { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0; }
.subscribe { position: relative; background: var(--ink); color: var(--bg); border-radius: 24px; padding: 34px 30px 26px; overflow: hidden; transform: rotate(-1.2deg); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.subscribe::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(11,20,16,.035) 14px 28px); pointer-events: none; }
.subscribe__env { position: absolute; top: 0; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, #c8483a 0 22px, transparent 22px 30px, #2f6bb3 30px 52px, transparent 52px 60px); }
.subscribe__stamp { position: absolute; top: 22px; right: 22px; width: 64px; height: 64px; border: 2px dashed var(--leaf); border-radius: 8px; display: grid; place-items: center; text-align: center; font-size: 11px; font-weight: 800; color: var(--leaf); line-height: 1.2; transform: rotate(8deg); }
.subscribe__label { display: block; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; margin: 6px 90px 20px 0; }
.subscribe__row { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.subscribe__row input { flex: 1 1 200px; min-width: 0; font: inherit; font-size: 16px; padding: 16px 20px; border-radius: 100px; border: 1px solid rgba(11,20,16,.2); background: #fff; color: var(--bg); }
.subscribe__row input:focus { outline: 2px solid var(--leaf); outline-offset: 2px; }
.subscribe .btn--accent { background: var(--bg); color: var(--ink); }
.subscribe .btn--accent::before { background: var(--leaf); }
.subscribe__fine { font-size: 13px; color: #5d6a61; margin: 14px 0 0; position: relative; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { display: flex; flex-direction: column; gap: 14px; }
.post__img { border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; background: var(--surface); position: relative; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post__date { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.post h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; margin: 0; transition: color .3s; }
.post:hover h3 { color: var(--accent); }
.journal__all { display: inline-block; margin-top: 40px; font-weight: 600; }

/* ---------- End credits ---------- */
.footer { padding-top: 0; }
.credits { height: 100vh; overflow: hidden; position: relative; display: flex; justify-content: center; align-items: flex-start; background: #000; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.credits__roll { text-align: center; padding: 100vh 20px 40vh; width: 100%; max-width: 760px; will-change: transform; }
.credits__small { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.credits__name { font-family: var(--serif); font-size: clamp(54px, 9vw, 120px); line-height: 1; margin: 0 0 80px; }
.credits dl { margin: 0; display: grid; gap: 38px; }
.credits dt { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.credits dd { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); }
.credits__thanks { margin: 100px 0 0; font-size: clamp(28px, 4vw, 48px); }
.footer > .container { padding-top: clamp(80px, 10vw, 130px); }

/* Viewfinder cursor */
.cursor { width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 4px; background: transparent; mix-blend-mode: difference;
  background-image: linear-gradient(var(--accent),var(--accent)), linear-gradient(var(--accent),var(--accent)), linear-gradient(var(--accent),var(--accent)), linear-gradient(var(--accent),var(--accent)), linear-gradient(var(--accent),var(--accent)), linear-gradient(var(--accent),var(--accent)), linear-gradient(var(--accent),var(--accent)), linear-gradient(var(--accent),var(--accent));
  background-repeat: no-repeat;
  background-size: 8px 2px, 2px 8px, 8px 2px, 2px 8px, 8px 2px, 2px 8px, 8px 2px, 2px 8px;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%; }
.cursor::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: var(--accent); }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.is-label { background: var(--accent); border-radius: 50%; }
.cursor.is-label::after { display: none; }

@media (max-width: 900px) {
  .journal__top { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 60px 1fr auto; }
}
@media (max-width: 680px) {
  .svc { grid-template-columns: 1fr; }
  .svc__side { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .addons { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .subscribe { transform: none; padding: 30px 20px 22px; }
  .subscribe__row .btn { width: 100%; justify-content: center; }
  .hero__mask-line { font-size: 22vw; }
  .hero__mask-line:first-child { font-size: 29vw; }
  .vf__meta, .vf__tag { display: none; }
  .vf__hint { left: 50px; right: auto; }
  .hud__scene .hud__name { display: none; }
  .trail-img { width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}

/* =========================================================
   3D WORLD
   ========================================================= */
.world { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #07110c; }
.world__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); }
.world.is-ready .world__canvas { opacity: 1; }
.world__ui { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.world__intro { position: absolute; left: var(--gutter); top: 18vh; max-width: 560px; }
.world__title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 110px); line-height: .95; letter-spacing: -.02em; margin: 14px 0 18px; }
.world__title em { color: var(--accent); }
.world__hint { color: var(--muted); font-size: 14px; }
.world__chapter { position: absolute; left: 50%; bottom: 96px; margin: 0; width: min(90vw, 900px); translate: -50% 0; text-align: center; font-family: var(--serif); font-size: clamp(30px, 5vw, 72px); line-height: 1.05; opacity: 0; text-shadow: 0 6px 40px rgba(0,0,0,.6); }
.world__chapter em { color: var(--accent); }
.world__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 64px; height: 2px; background: var(--line); }
.world__bar span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.world__loading { position: absolute; right: var(--gutter); top: 18vh; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: opacity .6s; }
.world.is-ready .world__loading { opacity: 0; }
.world--fallback .world__loading { display: none; }
.world--fallback { height: auto; padding: 120px 0 60px; }

/* Sound toggle */
.sound-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 99px; padding: 8px 14px; font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: border-color .3s, color .3s; margin-left: auto; }
.sound-toggle:hover, .sound-toggle.is-on { border-color: var(--accent); color: var(--accent); }
.sound-toggle__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound-toggle__bars i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height .3s; }
.sound-toggle.is-on .sound-toggle__bars i { animation: eq .9s ease-in-out infinite alternate; }
.sound-toggle.is-on .sound-toggle__bars i:nth-child(2) { animation-delay: -.3s; }
.sound-toggle.is-on .sound-toggle__bars i:nth-child(3) { animation-delay: -.6s; }
.sound-toggle.is-on .sound-toggle__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }

/* XP meter in HUD */
.xp { display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.xp__track { position: relative; width: 120px; height: 3px; background: rgba(243,239,230,.25); overflow: hidden; }
.xp__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease); }
.xp__label { color: var(--accent); }

/* Achievement toasts */
.toasts { position: fixed; right: var(--gutter); top: 90px; z-index: 900; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { display: flex; gap: 14px; align-items: flex-start; width: 300px; padding: 14px 16px; border-radius: 16px; background: rgba(20, 35, 27, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(217, 242, 107, .3); box-shadow: 0 20px 50px rgba(0,0,0,.4); opacity: 0; transform: translateX(30px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: auto; }
.toast.is-in { opacity: 1; transform: none; }
.toast__badge { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 18px; animation: badgeSpin 1s var(--ease); }
@keyframes badgeSpin { from { transform: rotate(-180deg) scale(.4); } to { transform: none; } }
.toast small { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.toast b { display: block; font-family: var(--serif); font-weight: 500; font-size: 19px; margin: 2px 0; }
.toast p { margin: 0; font-size: 13px; color: var(--muted); }
.toast__cta { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--accent); }

@media (max-width: 900px) {
  .sound-toggle__label { display: none; }
  .sound-toggle { padding: 8px 10px; }
}
@media (max-width: 680px) {
  .world__intro { top: 14vh; right: var(--gutter); }
  .world__chapter { font-size: 28px; bottom: 84px; }
  .world__bar { bottom: 56px; }
  .xp__track { width: 60px; }
  .toasts { left: 16px; right: 16px; top: 76px; align-items: center; }
  .toast { width: 100%; max-width: 340px; }
}

/* =========================================================
   CLASSROOM (English teaching modules)
   ========================================================= */
.classroom { padding: clamp(100px, 12vw, 160px) 0; background: linear-gradient(180deg, var(--bg) 0%, #12201a 100%); }
.classroom .h2 em { color: #ffd23f; }
.classroom__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.lessonCard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.lessonCard:hover { transform: translateY(-8px) rotate(-.6deg); border-color: var(--c); }
.lessonCard:nth-child(even):hover { transform: translateY(-8px) rotate(.6deg); }
.lessonCard__play { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--c); aspect-ratio: 16 / 10; overflow: hidden; }
.lessonCard__play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.lessonCard:hover .lessonCard__play img { transform: scale(1.06); }
.lessonCard__btn { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 12px 20px; border-radius: 99px; background: #24233b; color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,.3); opacity: 0; scale: .85; transition: opacity .35s, scale .35s var(--ease); }
.lessonCard:hover .lessonCard__btn, .lessonCard__play:focus-visible .lessonCard__btn { opacity: 1; scale: 1; }
@media (hover: none) { .lessonCard__btn { opacity: 1; scale: 1; top: auto; bottom: 12px; translate: -50% 0; } }
.lessonCard__body { padding: 20px 22px 24px; }
.lessonCard__num { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #24233b; background: var(--c); border-radius: 99px; padding: 5px 11px; }
.lessonCard h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 12px 0 4px; }
.lessonCard p { margin: 0 0 14px; color: var(--muted); }
.lessonCard__pdf { font-size: 14px; font-weight: 700; }
.classroom__cta { margin-top: clamp(40px, 6vw, 70px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 30px; border-radius: var(--radius); border: 1px dashed rgba(255, 210, 63, .45); }
.classroom__cta p { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); }

/* Lesson player */
.lesson { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 60px 4vw 40px; background: rgba(5, 10, 8, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lesson.is-open { opacity: 1; visibility: visible; }
.lesson__frame { width: min(1280px, 100%); aspect-ratio: 16 / 10; max-height: calc(100vh - 110px); border-radius: 18px; overflow: hidden; background: #fffdf6; box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.94); transition: transform .5s var(--ease); }
.lesson.is-open .lesson__frame { transform: none; }
.lesson__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lesson__close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 18px; cursor: pointer; }
.lesson__open { position: absolute; top: 24px; left: var(--gutter); font-size: 13px; font-weight: 700; color: var(--accent); }
html.lesson-open { overflow: hidden; }

@media (max-width: 1100px) { .classroom__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .classroom__grid { grid-template-columns: 1fr; }
  .lesson { padding: 64px 10px 16px; }
  .lesson__frame { aspect-ratio: auto; height: 100%; max-height: none; }
}
