/* HALVAINE — shared chrome and type */
:root {
  --void: #050608; --night: #0c121c; --night2: #121a27; --steel: #c7cbd1; --bone: #ece8df; --mute: #959ba5;
  --ember: #e2622a; --ember2: #ff8a52; --lume: #b6d9c6; --line: rgba(236, 232, 223, .14); --line2: rgba(236, 232, 223, .28);
  --f-d: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --f-c: 'Marcellus', 'Trajan Pro', Georgia, serif;
  --f-s: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-m: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gut: clamp(16px, 3.4vw, 56px); --max: 1560px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--void); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--void); color: var(--bone); font: 400 16px/1.6 var(--f-s); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ember2); outline-offset: 3px; border-radius: 3px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--bone); color: var(--void); padding: 10px 16px; border-radius: 2px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* type */
.d1, .d2, .d3 { font-family: var(--f-d); font-weight: 400; letter-spacing: -.02em; line-height: .95; margin: 0; }
.d1 { font-size: clamp(46px, 7.4vw, 128px); }
.d2 { font-size: clamp(36px, 4.8vw, 84px); }
.d3 { font-size: clamp(28px, 3vw, 52px); line-height: 1.02; }
.d1 em, .d2 em, .d3 em { font-style: italic; color: var(--steel); }
.k { font: 400 12px/1.3 var(--f-c); letter-spacing: .26em; text-transform: uppercase; margin: 0 0 20px; color: var(--steel); }
.mono { font-family: var(--f-m); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.lede { font-size: clamp(16px, 1.25vw, 20px); line-height: 1.55; max-width: 32em; margin: 22px 0 0; color: #d9d6cf; }
p { margin: 0 0 1em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--bone); background: var(--bone); color: var(--void); text-decoration: none; font-weight: 500; font-size: 15px;
  letter-spacing: -.005em; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn.light { background: var(--bone); color: var(--void); }
.btn.ghost { background: transparent; color: var(--bone); border-color: var(--line2); }
.btn.ghost:hover { border-color: var(--bone); }
.btn.ember { background: var(--ember); border-color: var(--ember); color: #120804; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.link { display: inline-flex; gap: 10px; align-items: center; color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--line2); padding-bottom: 4px; margin-top: 26px; font-weight: 500; }
.link::after { content: '→'; transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(4px); }

/* header */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 120; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--gut); transition: background .4s, backdrop-filter .4s, transform .5s var(--ease); }
.hd.solid { background: rgba(5, 6, 8, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hd-logo { font: 400 19px/1 var(--f-c); letter-spacing: .34em; text-decoration: none; color: var(--bone); }
.hd-nav { display: flex; gap: 28px; align-items: center; }
.hd-nav a { text-decoration: none; font-size: 14px; color: #d6d3cc; position: relative; padding: 6px 0; }
.hd-nav a:hover, .hd-nav a[aria-current="page"] { color: var(--bone); }
.hd-nav a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ember); }
.hd-cta { min-height: 40px; padding: 0 18px; font-size: 14px; }
.hd-menu { display: none; background: none; border: 1px solid var(--line2); border-radius: 999px; min-height: 40px; padding: 0 16px; }
@media (max-width: 900px) {
  .hd-nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px var(--gut) 26px;
    background: rgba(5, 6, 8, .96); border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .45s var(--ease); }
  .hd-nav a { font-size: 20px; padding: 10px 0; }
  .hd.open .hd-nav { transform: none; }
  .hd-menu { display: inline-flex; align-items: center; }
  .hd-cta { display: none; }
}

/* footer */
.ft { border-top: 1px solid var(--line); padding: 72px 0 40px; background: var(--void); }
.ft-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.ft-logo { font: 400 28px/1 var(--f-c); letter-spacing: .3em; margin: 0 0 16px; }
.ft p, .ft li { color: var(--mute); font-size: 14px; }
.ft h3 { font: 400 11px/1.3 var(--f-c); letter-spacing: .24em; text-transform: uppercase; margin: 0 0 16px; color: var(--steel); }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft a { color: #cfccc5; text-decoration: none; }
.ft a:hover { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.ft-legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.ft-legal p { margin: 0; font-size: 13px; }
.ft-legal a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 860px) { .ft-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ft-top { grid-template-columns: 1fr; } }

/* reveal: only elements an observer watches get hidden (class added from JS) */
.rv-wait { opacity: 0; transform: translateY(26px); }
.rv-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
@media (prefers-reduced-motion: reduce) { .rv-wait { opacity: 1; transform: none; } }

/* film */
.film { padding: clamp(80px, 10vw, 150px) 0 clamp(70px, 8vw, 120px); background: var(--void); }
.film-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.film-head .k { margin: 0; }
.film-box { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 4px; }
.film-box img, .film-box video { width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 22px; border: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.1), rgba(0,0,0,.45)); color: var(--bone); }
.film-ring { width: 96px; height: 96px; border-radius: 50%; border: 1px solid rgba(236,232,223,.6); display: grid; place-items: center; transition: transform .5s var(--ease), background .4s; backdrop-filter: blur(6px); }
.film-ring svg { width: 30px; fill: var(--bone); margin-left: 4px; }
.film-play:hover .film-ring { transform: scale(1.07); background: rgba(226,98,42,.85); border-color: var(--ember); }
.film-lbl { font: 400 30px/1 var(--f-d); text-align: left; }
.film-lbl small { display: block; font: 400 11px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; margin-top: 10px; color: var(--steel); }
.film-cap { color: var(--mute); max-width: 52em; margin: 20px 0 0; font-size: 15px; }
@media (max-width: 600px) { .film-lbl { display: none; } .film-ring { width: 72px; height: 72px; } }

/* inner page hero */
.pg-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; padding: 140px 0 70px; overflow: hidden; }
.pg-hero > img, .pg-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,8,.35) 0%, rgba(5,6,8,.15) 40%, rgba(5,6,8,.9) 100%); }
.pg-hero .wrap { position: relative; z-index: 2; }
.pg-hero .lede { color: #e8e5de; }
.crumbs { font: 400 11px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-bottom: 22px; }
.crumbs a { color: var(--steel); }
.sec { padding: clamp(70px, 9vw, 140px) 0; }
