/* Sutra Films: one stylesheet, dark and cinematic, gold from the logo. */
@font-face { font-family: "Cinzel"; src: url("/fonts/cinzel.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --ink: #0b0908;
  --ink-2: #13100d;
  --ink-3: #1c1814;
  --line: rgba(236, 201, 128, .16);
  --gold: #ecc980;
  --gold-2: #c9a45c;
  --text: #ece6dc;
  --muted: #a89f92;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--gold-2); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
h1, h2, h3, .display { font-family: var(--display); font-weight: 500; letter-spacing: .04em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.3rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; letter-spacing: .05em; }
p { margin: 0 0 1em; }
.eyebrow { font: 500 .74rem/1.4 var(--body); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--text); max-width: 46ch; font-weight: 300; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.site-header.solid { background: rgba(11, 9, 8, .9); backdrop-filter: blur(10px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand span { font-family: var(--display); font-size: 1.05rem; letter-spacing: .24em; color: var(--gold); white-space: nowrap; }
.nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text); opacity: .85; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { opacity: 1; color: var(--gold); border-color: var(--gold-2); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--gold); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.menu-btn svg { margin: auto; }

@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav ul { position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; background: rgba(11, 9, 8, .97); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
  .nav ul a { display: block; padding: 16px 0; font-size: .9rem; border-bottom: 1px solid var(--line); }
  .nav.open ul { transform: none; opacity: 1; pointer-events: auto; }
  .brand span { font-size: .92rem; letter-spacing: .2em; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border: 1px solid var(--gold-2); color: var(--gold); text-decoration: none; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; background: transparent; cursor: pointer; transition: .3s var(--ease); font-family: var(--body); }
.btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn.solid { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn.solid:hover { background: #f5dca5; }
.btn svg { width: 14px; height: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero.short { min-height: 78svh; }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,9,8,.55) 0%, rgba(11,9,8,.05) 30%, rgba(11,9,8,.25) 60%, var(--ink) 100%),
              linear-gradient(90deg, rgba(11,9,8,.7) 0%, rgba(11,9,8,0) 65%); }
.hero-copy { padding-bottom: clamp(56px, 10vh, 120px); padding-top: 120px; }
.hero h1 { max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.hero .lede { margin: 22px 0 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 30px; padding: 0; list-style: none; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-meta li strong { color: var(--text); font-weight: 500; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s infinite var(--ease); }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Sections */
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section.tight { padding: clamp(48px, 7vw, 88px) 0; }
.section.alt { background: var(--ink-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.section-head p { max-width: 52ch; margin: 14px 0 0; color: var(--muted); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Thread divider: the sutra */
.thread { display: block; width: 100%; height: 40px; color: var(--gold-2); opacity: .55; }

/* Intro statement */
.statement { font-family: var(--display); font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.35; letter-spacing: .02em; max-width: 30ch; margin: 0; }
.statement em { font-style: normal; color: var(--gold); }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Feature (big film panel) */
.feature { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; min-height: 560px; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; }
.feature-media { position: relative; min-height: 320px; }
.feature-media img, .feature-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.feature-body h2 { margin-bottom: 18px; }
@media (max-width: 960px) { .feature { grid-template-columns: 1fr; } .feature-media { aspect-ratio: 16/9; min-height: 0; } }

/* Tags / status */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.tags li { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line); color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(236,201,128,.15); }

/* Work grid */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filters button { background: none; border: 1px solid var(--line); color: var(--muted); padding: 10px 18px; font: 500 .72rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: .25s; }
.filters button:hover { color: var(--text); border-color: var(--gold-2); }
.filters button[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.card { position: relative; display: block; text-decoration: none; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s; }
.card:hover { border-color: var(--gold-2); color: inherit; }
.card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--ink-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media .badge { position: absolute; left: 14px; top: 14px; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; background: rgba(11,9,8,.75); color: var(--gold); padding: 6px 10px; border: 1px solid var(--line); }
.card-body { padding: 22px 24px 26px; }
.card-body h3 { margin-bottom: 8px; font-size: 1.3rem; }
.card-body p { color: var(--muted); font-size: .94rem; margin: 0; }
.card-body .meta { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 10px; }
.card.invite { display: flex; flex-direction: column; justify-content: center; padding: 36px; min-height: 100%; background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); }
.card.invite h3 { font-size: 1.5rem; margin-bottom: 12px; }
.card.invite p { color: var(--muted); }
.card.invite .arrow { color: var(--gold); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-top: 10px; }
.card[hidden] { display: none; }

/* Labels / channels */
.labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.label { background: var(--ink); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.label h3 { font-size: 1.35rem; }
.label .lang { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.label p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.label a { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.label a:hover { text-decoration: underline; }
@media (max-width: 900px) { .labels { grid-template-columns: 1fr; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.service { border-top: 1px solid var(--gold-2); padding-top: 26px; }
.service .num { font-family: var(--display); color: var(--gold); font-size: .95rem; letter-spacing: .2em; }
.service h3 { margin: 14px 0 12px; font-size: 1.45rem; }
.service p { color: var(--muted); }
.service ul { margin: 0; padding: 0; list-style: none; color: var(--text); font-size: .93rem; }
.service li { padding: 8px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; gap: 44px; } }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 28px 22px 10px 0; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); color: var(--gold); font-size: .9rem; letter-spacing: .2em; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Stills gallery */
.stills { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.stills button { padding: 0; border: 0; background: var(--ink-3); cursor: zoom-in; overflow: hidden; grid-column: span 4; aspect-ratio: 16/9; }
.stills button:nth-child(5n+1) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.stills img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .3s; }
.stills button:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .stills { grid-template-columns: 1fr 1fr; } .stills button, .stills button:nth-child(5n+1) { grid-column: span 1; grid-row: auto; aspect-ratio: 16/9; } .stills button:nth-child(3n+1) { grid-column: span 2; } }

/* Shorts rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-color: var(--gold-2) transparent; }
.short { scroll-snap-align: start; position: relative; aspect-ratio: 9/16; background: var(--ink-3); border: 1px solid var(--line); padding: 0; cursor: pointer; overflow: hidden; color: var(--text); text-align: left; }
.short img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.short:hover img { transform: scale(1.04); }
.short .cap { position: absolute; inset: auto 0 0; padding: 50px 14px 14px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: .88rem; line-height: 1.35; }
.short .cap small { display: block; color: var(--gold); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px; }
.play { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(236,201,128,.7); background: rgba(11,9,8,.45); display: grid; place-items: center; transition: .3s; }
.play svg { width: 18px; height: 18px; margin-left: 3px; fill: var(--gold); }
.short:hover .play, .watch:hover .play { background: var(--gold); }
.short:hover .play svg, .watch:hover .play svg { fill: var(--ink); }

/* Watch box (YouTube facade) */
.watch { position: relative; aspect-ratio: 16/9; background: #000; border: 1px solid var(--line); overflow: hidden; }
.watch button { all: unset; cursor: pointer; position: absolute; inset: 0; }
.watch img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.watch iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch .note { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: .85rem; color: var(--text); }

/* Episodes */
.episodes { list-style: none; margin: 0; padding: 0; counter-reset: ep; border-top: 1px solid var(--line); }
.episodes li { counter-increment: ep; display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.episodes li::before { content: counter(ep, decimal-leading-zero); font-family: var(--display); color: var(--gold-2); letter-spacing: .1em; }
.episodes .t { font-family: var(--display); font-size: 1.1rem; letter-spacing: .04em; }
.episodes .s { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.episodes li.ready .s { color: var(--gold); }

/* Facts list */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; }
.facts div { background: var(--ink); padding: 20px 22px; }
.facts dt { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-family: var(--display); font-size: 1.05rem; letter-spacing: .03em; }

/* Prose */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .7em; }
.prose h3 { margin: 1.6em 0 .6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose p, .prose li { color: #d8d1c6; }
.sources { font-size: .88rem; color: var(--muted); }
.sources ol { padding-left: 1.3em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.contact-card { border: 1px solid var(--line); padding: clamp(26px, 3vw, 40px); background: var(--ink-2); }
.contact-card h3 { margin-bottom: 10px; }
.big-mail { font-family: var(--display); font-size: clamp(1.2rem, 2.6vw, 1.9rem); letter-spacing: .02em; color: var(--gold); text-decoration: none; word-break: break-all; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { font: 400 1rem/1.5 var(--body); color: var(--text); background: var(--ink); border: 1px solid var(--line); padding: 12px 14px; border-radius: 0; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: none; }
.form textarea { min-height: 140px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .contact-grid, .form .row { grid-template-columns: 1fr; } }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(90px, 14vw, 170px) 0; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(11,9,8,.35), var(--ink) 80%); }
.cta h2 { max-width: 20ch; margin: 0 auto 18px; }
.cta p { color: var(--muted); max-width: 52ch; margin: 0 auto 32px; }
.cta .btns { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 34px; background: var(--ink); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot h4 { font: 500 .7rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 6px 0 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 10px; }
.foot a { text-decoration: none; color: var(--muted); font-size: .92rem; }
.foot a:hover { color: var(--gold); }
.foot .tag { font-family: var(--display); letter-spacing: .2em; color: var(--text); margin: 16px 0 8px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* Lightbox / player */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(5,4,3,.94); display: none; place-items: center; padding: 20px; }
.lightbox.open { display: grid; }
.lightbox .frame { max-width: min(1400px, 100%); max-height: 100%; display: grid; place-items: center; }
.lightbox img { max-height: 86vh; width: auto; }
.lightbox video { max-height: 88vh; width: auto; max-width: 100%; background: #000; }
.lightbox .close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(11,9,8,.6); color: var(--gold); font-size: 22px; cursor: pointer; }
.lightbox .cap { color: var(--muted); font-size: .85rem; margin-top: 12px; text-align: center; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { display: none; }
  .card-media img, .stills img, .short img { transition: none; }
}
