/* Bocoa Ubud landing. Brand from "Bocoa Ubud Brochure DRAFT 4": Cinzel (display),
   Montserrat (stand-in for Proxima Nova), olive ink, stone and cream, espresso dark. No gold. */
:root {
  --olive: #4a5239; --olive-d: #373d2a; --moss: #5d6748;
  --stone: #c4bcab; --sand: #e4ded2; --sand-2: #d6cebe; --cream: #f3eee4;
  --esp: #14110d; --ink: #2d2c24; --grey: #8a8577;
  --line: rgba(45,44,36,.14); --line-l: rgba(243,238,228,.2);
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Montserrat", "Proxima Nova", -apple-system, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22,.8,.2,1);
  --pad: clamp(16px, 4vw, 64px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 400; background: var(--sand); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 0; cursor: pointer; }

/* splash */
.splash { position: fixed; inset: 0; z-index: 200; background: var(--esp); display: grid; place-items: center; transition: opacity .9s var(--ease), visibility .9s; }
.splash img { width: 92px; animation: breathe 1.6s ease-in-out infinite; }
.splash.gone { opacity: 0; visibility: hidden; }
@keyframes breathe { 50% { opacity: .35; transform: scale(.94); } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; height: 54px; padding: 0 30px; font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background .3s, color .3s, transform .35s var(--ease), border-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn-cream { background: var(--cream); color: var(--olive); }
.btn-cream:hover { background: #fff; }
.btn-olive { background: var(--olive); color: var(--cream); }
.btn-olive:hover { background: var(--olive-d); }
.btn-glass { color: var(--cream); border: 1px solid rgba(243,238,228,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(20,17,13,.18); }
.btn-glass:hover { background: rgba(243,238,228,.14); }
.btn-line { color: var(--olive); border: 1px solid rgba(74,82,57,.45); }
.btn-line:hover { background: var(--olive); color: var(--cream); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: 26px var(--pad); transition: background .45s, padding .45s, box-shadow .45s; }
.nav.solid { background: rgba(20,17,13,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-top: 14px; padding-bottom: 14px; }
.nav-logo { position: relative; display: block; }
.nav-logo .wm { height: 22px; display: block; transition: transform .7s var(--ease), opacity .45s var(--ease), filter .6s var(--ease); }
.nav-logo .mk { position: absolute; left: 50%; top: 50%; height: 40px; width: auto; margin: -20px 0 0 -20px; opacity: 0; transform: rotate(-40deg) scale(.3); filter: blur(4px); transition: transform .9s var(--ease) .12s, opacity .6s var(--ease) .12s, filter .7s var(--ease) .12s; }
/* past the hero the letters fold in and the palm mark turns into place */
.nav.solid .nav-logo .wm { opacity: 0; transform: scaleX(.08); filter: blur(5px); }
.nav.solid .nav-logo .mk { opacity: 1; transform: none; filter: none; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { color: var(--cream); text-decoration: none; font-family: var(--serif); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; position: relative; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta { height: 44px; padding: 0 22px; }
.snd { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(243,238,228,.4); color: var(--cream); }
.snd svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.snd .w { opacity: .3; transition: opacity .3s; } .snd.on .w { opacity: 1; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--cream); transition: transform .35s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 26px; }
body.menu-open .burger i:first-child { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .burger i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--esp); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 0 28px; opacity: 0; visibility: hidden; transition: .45s var(--ease); }
.menu a { color: var(--cream); font-family: var(--serif); font-size: 30px; letter-spacing: .06em; text-decoration: none; }
.menu .btn { margin-top: 20px; align-self: flex-start; }
body.menu-open .menu { opacity: 1; visibility: visible; }

/* ================= HERO ================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--sand-2); cursor: none; touch-action: pan-y; }
.hero-lens { position: absolute; inset: 0; }
.hero-lens canvas { display: block; }
/* video hero option (?hero=video): cinematic film instead of the lens wall */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; opacity: 0; transition: opacity 1.4s var(--ease); }
body.hero-film .hero-video { display: block; }
body.hero-film .hero-video.on { opacity: 1; }
body.hero-film .hero-lens, body.hero-film .cur-ring, body.hero-film .hero-hint { display: none; }
body.hero-film .hero { cursor: auto; background: var(--esp) url(assets/img/aerial.jpg) center / cover; }
body.hero-film .hero-shade { background: radial-gradient(52% 50% at 50% 54%, rgba(20,17,13,.5) 0%, rgba(20,17,13,.22) 60%, rgba(20,17,13,0) 100%), linear-gradient(to bottom, rgba(20,17,13,.45) 0%, transparent 22%), linear-gradient(to top, rgba(20,17,13,.5) 0%, transparent 30%); }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(48% 46% at 50% 54%, rgba(20,17,13,.62) 0%, rgba(20,17,13,.38) 55%, rgba(20,17,13,0) 100%),
  linear-gradient(to bottom, rgba(20,17,13,.5) 0%, transparent 22%),
  linear-gradient(to top, rgba(20,17,13,.55) 0%, transparent 30%); }
.cur-ring { position: absolute; top: 0; left: 0; z-index: 5; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; border: 1px solid rgba(243,238,228,.9); display: grid; place-items: center; pointer-events: none; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s; }
.cur-ring span { color: var(--cream); font-family: var(--serif); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.cur-ring.big { width: 112px; height: 112px; margin: -56px 0 0 -56px; background: rgba(20,17,13,.22); }
.cur-ring.hide { opacity: 0; }
.cur-ring::after { content: attr(data-cap); position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); white-space: nowrap; color: var(--cream); font-family: var(--serif); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.hero-copy { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--pad); pointer-events: none; color: var(--cream); }
.hero-copy .btn { pointer-events: auto; cursor: pointer; }
.hero-mark { width: 74px; margin-bottom: 18px; opacity: 0; transform: translateY(14px); transition: 1.2s var(--ease) .2s; }
.hero-title { font-family: var(--serif); font-weight: 400; line-height: .9; text-shadow: 0 6px 60px rgba(20,17,13,.45); }
.hero-title span { display: block; font-size: clamp(64px, 12vw, 196px); letter-spacing: .04em; clip-path: inset(0 0 100% 0); transform: translateY(30%); transition: clip-path 1.4s var(--ease) .35s, transform 1.4s var(--ease) .35s; }
.hero-title small { display: block; font-family: var(--sans); font-weight: 400; font-size: clamp(14px, 1.6vw, 22px); letter-spacing: .7em; margin-top: 10px; padding-left: .7em; opacity: 0; transition: opacity 1.2s var(--ease) .9s; }
.hero-tag { max-width: 560px; margin: 28px auto 34px; font-size: clamp(15px, 1.3vw, 18px); font-weight: 300; line-height: 1.6; text-shadow: 0 1px 18px rgba(0,0,0,.5); opacity: 0; transform: translateY(16px); transition: 1s var(--ease) 1s; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; opacity: 0; transform: translateY(16px); transition: 1s var(--ease) 1.15s; }
.ready .hero-mark, .ready .hero-tag, .ready .hero-ctas { opacity: 1; transform: none; }
.ready .hero-title span { clip-path: inset(0 0 -10% 0); transform: none; }
.ready .hero-title small { opacity: 1; }
/* scroll morph: BOCOA letters gather into the palm mark (driven by --p in app.js) */
.hero-title .word { position: relative; }
.hero-title .word i { display: inline-block; font-style: normal; will-change: transform, opacity, filter; }
.hero-morph { position: absolute; left: 50%; top: 50%; width: .62em; height: auto; margin: -.33em 0 0 -.31em; opacity: 0; transform: scale(.3) rotate(-35deg); will-change: transform, opacity; pointer-events: none; filter: drop-shadow(0 8px 40px rgba(20,17,13,.45)); }
.hero-hint { position: absolute; top: 50%; right: 26px; z-index: 4; writing-mode: vertical-rl; color: rgba(243,238,228,.75); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; transform: translateY(-50%); }
.hero-down { position: absolute; left: 50%; bottom: 28px; z-index: 4; width: 1px; height: 64px; background: rgba(243,238,228,.3); overflow: hidden; }
.hero-down i { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--cream); animation: drop 2.2s var(--ease) infinite; }
@keyframes drop { to { top: 100%; } }

/* ================= shared ================= */
section { position: relative; }
.eyebrow { display: block; font-family: var(--serif); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--moss); margin-bottom: 20px; }
.big { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 96px); line-height: 1.02; letter-spacing: .01em; color: var(--olive); }
.mid { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.15; color: var(--olive); }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 40px; padding: 140px var(--pad) 56px; }
.sec-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.sec-note { max-width: 360px; font-size: 15px; line-height: 1.65; color: #5a574c; }
.sec-head .hint { font-family: var(--serif); letter-spacing: .2em; color: var(--grey); font-size: 13px; }
.sec-head.light .big, .sec-head.light .eyebrow { color: var(--cream); }
.sec-head.light .sec-note { color: rgba(243,238,228,.7); }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ================= STATEMENT ================= */
.statement { padding: 160px var(--pad) 130px; text-align: center; overflow: hidden; }
.statement .pattern { position: absolute; inset: 0; background: url(assets/brand/pattern-line.png) center / 260px; opacity: .05; filter: invert(1); pointer-events: none; mask-image: radial-gradient(60% 60% at 50% 40%, #000 0%, transparent 100%); -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000 0%, transparent 100%); }
.statement .lead { position: relative; max-width: 1100px; margin: 0 auto; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 52px); line-height: 1.3; color: var(--olive); }
.statement .lead em { font-style: normal; color: var(--moss); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: rgba(74,82,57,.35); }
.statement .sub { position: relative; max-width: 640px; margin: 36px auto 0; font-size: 16px; font-weight: 300; line-height: 1.8; color: #4f4c42; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1180px; margin: 100px auto 0; border-top: 1px solid var(--line); }
.stat { padding: 34px 20px 0; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5vw, 76px); line-height: 1; color: var(--olive); }
.stat b i { font-style: normal; font-size: .38em; margin-left: 4px; font-family: var(--sans); letter-spacing: .05em; }
.stat small { display: block; margin-top: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; color: var(--grey); }

/* ================= PILLARS ================= */
.pillars { display: grid; grid-template-columns: 1.3fr 1fr; min-height: 100vh; background: var(--esp); color: var(--cream); }
.pillars-media { position: relative; overflow: hidden; }
.pm { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); clip-path: inset(0 0 0 100%); transition: opacity 1.1s var(--ease), transform 7s linear, clip-path 1.2s var(--ease); }
.pm.active { opacity: 1; transform: scale(1); clip-path: inset(0); }
.pillars-panel { display: flex; flex-direction: column; justify-content: center; gap: 48px; padding: 90px clamp(24px, 4.5vw, 72px); }
.pillars-tabs { display: flex; flex-direction: column; gap: 4px; }
.pt { text-align: left; font-family: var(--serif); font-size: clamp(34px, 3.8vw, 60px); line-height: 1.12; color: rgba(243,238,228,.2); transition: color .45s, transform .45s var(--ease); }
.pt:hover { color: rgba(243,238,228,.5); }
.pt.active { color: var(--cream); transform: translateX(14px); }
.pillars-body { position: relative; min-height: 200px; }
.pb { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: .6s var(--ease); pointer-events: none; }
.pb.active { opacity: 1; transform: none; pointer-events: auto; }
.pb h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.35; margin-bottom: 14px; }
.pb p { max-width: 470px; font-size: 16px; font-weight: 300; line-height: 1.75; color: rgba(243,238,228,.72); }
.pillars-progress { max-width: 470px; height: 1px; background: rgba(243,238,228,.16); }
.pillars-progress span { display: block; height: 100%; width: 0; background: var(--cream); }

/* ================= VILLAS ================= */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0 var(--pad) 150px; }
.card { position: relative; aspect-ratio: 3 / 4.4; overflow: hidden; background: var(--sand-2); cursor: pointer; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.6s var(--ease); }
.card img.alt { opacity: 0; }
.card:hover img { transform: scale(1.05); }
.card:hover img.alt { opacity: 1; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,17,13,.85) 0%, rgba(20,17,13,.15) 50%, rgba(20,17,13,0) 70%); }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 24px; color: var(--cream); }
.card-type { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; opacity: .75; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.12; margin: 8px 0 14px; }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.card-specs span { font-size: 11px; letter-spacing: .06em; padding: 6px 10px; border: 1px solid rgba(243,238,228,.3); background: rgba(20,17,13,.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card-actions { display: flex; gap: 18px; margin-top: 18px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: .45s var(--ease); }
.card-actions a, .card-actions button { text-decoration: none; border-bottom: 1px solid rgba(243,238,228,.5); padding-bottom: 3px; }
.card:hover .card-actions { opacity: 1; transform: none; }
.card .tour-badge { position: absolute; top: 18px; right: 18px; z-index: 2; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--cream); padding: 7px 11px; border: 1px solid rgba(243,238,228,.45); background: rgba(20,17,13,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ================= SITE PLAN ================= */
.siteplan { background: var(--esp); padding-bottom: 120px; }
.sp-frame { position: relative; margin: 0 var(--pad); height: min(82vh, 860px); overflow: hidden; background: #000; }
.sp-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sp-cover { position: absolute; inset: 0; background-size: cover; background-position: center; display: grid; place-items: center; cursor: pointer; transition: opacity .5s; }
.sp-cover::before { content: ""; position: absolute; inset: 0; background: rgba(20,17,13,.35); transition: background .4s; }
.sp-cover:hover::before { background: rgba(20,17,13,.2); }
.sp-cover .btn { position: relative; }
.sp-cover.gone { opacity: 0; pointer-events: none; }
.sp-foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 18px var(--pad) 0; color: rgba(243,238,228,.55); font-size: 12px; letter-spacing: .08em; }
.sp-foot a { color: var(--cream); text-decoration: none; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }

/* ================= TRACKS (drag) ================= */
.track { display: flex; gap: 18px; padding: 0 var(--pad) 140px; overflow-x: auto; scrollbar-width: none; cursor: grab; user-select: none; }
.track::-webkit-scrollbar { display: none; }
.track.drag { cursor: grabbing; }
.tcard { flex: 0 0 min(460px, 80vw); }
.tcard .ti { aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--sand-2); }
.tcard .ti img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1.4s var(--ease); }
.tcard:hover .ti img { transform: scale(1.05); }
.tcard small { display: block; margin-top: 20px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--grey); }
.tcard h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; color: var(--olive); margin: 8px 0 10px; }
.tcard p { font-size: 15px; font-weight: 300; line-height: 1.7; color: #4f4c42; max-width: 420px; }

/* ================= UBUD ================= */
.ubud { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: var(--cream); }
.ubud-media { position: relative; overflow: hidden; }
.ubud-media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.ubud-body { padding: 130px clamp(24px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.big-stat { display: flex; align-items: flex-end; gap: 16px; margin: 46px 0 34px; }
.big-stat .count { font-family: var(--serif); font-size: clamp(110px, 12vw, 170px); line-height: .78; color: var(--olive); }
.big-stat small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.6; color: var(--grey); padding-bottom: 10px; }
.loc-list { list-style: none; border-top: 1px solid var(--line); }
.loc-list li { display: flex; align-items: baseline; justify-content: space-between; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.loc-list li .bar { flex: 1; height: 1px; margin: 0 18px; background: var(--line); position: relative; overflow: hidden; }
.loc-list li .bar i { position: absolute; inset: 0; background: var(--olive); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease); }
.loc-list.in li .bar i { transform: scaleX(var(--w)); }
.loc-list li b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--olive); }
.loc-note { margin-top: 30px; font-size: 13px; line-height: 1.7; color: var(--grey); max-width: 460px; }
.around { background: var(--cream); padding-top: 90px; }
.around .tcard .ti { aspect-ratio: 3 / 3.7; }

/* ================= STORY ================= */
.story { padding-bottom: 130px; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 var(--pad); }
.sc img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.sc div { padding: 24px 0 0; }
.sc small { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--grey); }
.sc h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; color: var(--olive); margin: 10px 0 8px; line-height: 1.2; }
.sc p { font-size: 15px; font-weight: 300; line-height: 1.7; color: #4f4c42; }
.social { display: grid; grid-template-columns: repeat(4, 1fr); margin: 90px var(--pad) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.social div { padding: 36px 10px; text-align: center; border-left: 1px solid var(--line); }
.social div:first-child { border-left: 0; }
.social b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 54px); color: var(--olive); }
.social small { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); }

/* ================= TEAM ================= */
.team { background: var(--olive); color: var(--cream); padding: 130px var(--pad); overflow: hidden; }
.team::before { content: ""; position: absolute; inset: 0; background: url(assets/brand/pattern-line.png) center / 240px; opacity: .06; pointer-events: none; }
.team-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.team .eyebrow { color: var(--stone); }
.team .mid { color: var(--cream); max-width: 640px; }
.partners { list-style: none; margin-top: 50px; border-top: 1px solid var(--line-l); }
.partners li { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-l); }
.partners b { font-family: var(--serif); font-weight: 400; font-size: 19px; letter-spacing: .04em; }
.partners span { font-size: 15px; font-weight: 300; line-height: 1.6; color: rgba(243,238,228,.75); }
.timeline ol { list-style: none; position: relative; margin-top: 6px; }
.timeline ol::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--line-l); }
.timeline li { position: relative; padding: 0 0 46px 44px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--cream); background: var(--olive); }
.timeline li:last-child::before { background: var(--cream); }
.timeline time { display: block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); }
.timeline b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; margin-top: 8px; }

/* ================= FAQ ================= */
.faq { padding-bottom: 130px; }
.faq-list { max-width: 980px; margin: 0 var(--pad); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; text-align: left; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); color: var(--olive); }
.faq-q i { position: relative; flex: 0 0 16px; height: 16px; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 0; right: 0; top: 7.5px; height: 1px; background: var(--olive); transition: transform .4s var(--ease); }
.faq-q i::after { transform: rotate(90deg); }
.faq-item.open .faq-q i::after { transform: none; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 0 26px; max-width: 760px; font-size: 15px; font-weight: 300; line-height: 1.8; color: #4f4c42; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ================= ENQUIRE ================= */
.enquire { min-height: 100vh; display: grid; place-items: center; padding: 120px var(--pad); overflow: hidden; }
.enq-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.enquire::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(20,17,13,.45); }
.enq-card { position: relative; z-index: 2; width: min(1100px, 100%); display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); }
.enq-copy { padding: clamp(32px, 5vw, 64px); background: var(--olive); color: var(--cream); display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px;
  background-image: linear-gradient(rgba(74,82,57,.86), rgba(55,61,42,.95)), url(assets/brand/pattern-line.png); background-size: auto, 220px; }
.enq-copy .eyebrow { color: var(--stone); }
.enq-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; }
.enq-copy p { margin-top: 18px; font-size: 15px; font-weight: 300; line-height: 1.7; color: rgba(243,238,228,.8); }
.enq-card .lead { padding: clamp(28px, 4vw, 54px); }

/* form */
.lead { display: flex; flex-direction: column; gap: 12px; }
.lead .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead label { display: block; }
.lead label > span { display: block; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.lead input, .lead select, .lead textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); padding: 14px 14px; border: 1px solid rgba(45,44,36,.2); background: #fffdf8; border-radius: 0; outline: none; transition: border-color .25s; }
.lead textarea { resize: vertical; min-height: 84px; }
.lead input:focus, .lead select:focus, .lead textarea:focus { border-color: var(--olive); }
.lead .phone { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.lead .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lead .chips label { cursor: pointer; }
.lead .chips label { position: relative; }
.lead .chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }   /* hidden checkbox: never wider than its chip */
.lcard { overflow-x: hidden; scrollbar-width: none; }
.lcard::-webkit-scrollbar { display: none; }
.lead .chips label span { margin: 0; padding: 10px 13px; border: 1px solid rgba(45,44,36,.2); font-size: 11px; letter-spacing: .1em; color: var(--ink); text-transform: none; background: #fffdf8; transition: .25s; }
.lead .chips input:checked + span { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.lead .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: var(--grey); }
.lead .consent > span { margin: 0; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--grey); }
.lead .consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--olive); flex: 0 0 16px; }
.lead .err { color: #9a3b2a; font-size: 13px; min-height: 18px; }
.lead input.bad, .lead select.bad { border-color: #b4553f; }
.lead .btn { width: 100%; margin-top: 4px; }
.lead .btn[disabled] { opacity: .6; pointer-events: none; }
.lead .hp { position: absolute; left: -9999px; }
.thanks { text-align: center; padding: 30px 10px; }
.thanks img { width: 54px; margin: 0 auto 18px; }
.thanks h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--olive); }
.thanks p { margin-top: 12px; font-size: 15px; line-height: 1.7; color: #4f4c42; }

/* footer */
.foot { background: var(--esp); color: rgba(243,238,228,.65); padding: 80px var(--pad) 40px; font-size: 14px; }
.foot > img { height: 76px; margin-bottom: 40px; }
.foot-cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; line-height: 1.8; padding-bottom: 40px; border-bottom: 1px solid var(--line-l); }
.foot-cols a { display: block; color: var(--cream); text-decoration: none; font-family: var(--serif); letter-spacing: .16em; font-size: 12px; text-transform: uppercase; }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 16px 30px; flex-wrap: wrap; margin-top: 24px; }
.foot small { display: block; font-size: 11px; color: rgba(243,238,228,.4); }
.credit { font-size: 11px; letter-spacing: .06em; color: rgba(243,238,228,.55); text-decoration: none; transition: color .25s; }
.credit b { font-weight: 500; color: rgba(243,238,228,.8); border-bottom: 1px solid rgba(243,238,228,.3); padding-bottom: 1px; }
.credit:hover, .credit:hover b { color: var(--cream); }

/* fab */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 50; height: 50px; padding: 0 24px; background: var(--olive); color: var(--cream); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; box-shadow: 0 12px 30px rgba(20,17,13,.3); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .5s var(--ease); }
.fab.show { opacity: 1; transform: none; pointer-events: auto; }

/* ================= MODALS ================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(20,17,13,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: .4s; }
.modal.open { opacity: 1; visibility: visible; }
.modal .x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: rgba(243,238,228,.92); color: var(--olive); font-size: 24px; line-height: 1; }
.lcard, .vcard { position: relative; width: min(1000px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); transform: translateY(26px) scale(.98); transition: .5s var(--ease); }
.modal.open .lcard, .modal.open .vcard { transform: none; }
.limg { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }
.lbody { padding: 44px 40px; }
.lbody h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--olive); }
.lbody > p { margin: 8px 0 24px; font-size: 14px; color: #5a574c; }
.vcard { width: min(1180px, 100%); grid-template-columns: 1.35fr 1fr; }
.vgal { position: relative; background: #000; min-height: 560px; overflow: hidden; }
.vslides { position: absolute; inset: 0; display: flex; transition: transform .6s var(--ease); }
.vslides > div { flex: 0 0 100%; background-size: cover; background-position: center; }
.vnav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(243,238,228,.85); color: var(--olive); font-size: 22px; }
.vnav.prev { left: 14px; } .vnav.next { right: 14px; }
.vdots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 6px; }
.vdots button { width: 7px; height: 7px; border-radius: 4px; background: rgba(243,238,228,.5); transition: width .3s; }
.vdots button.on { width: 24px; background: var(--cream); }
.vbody { padding: 46px 40px 36px; display: flex; flex-direction: column; }
.vbody .eyebrow { margin-bottom: 10px; }
.vbody h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; color: var(--olive); line-height: 1.1; }
.vbody > p { margin-top: 16px; font-size: 15px; font-weight: 300; line-height: 1.75; color: #4f4c42; }
.vstats { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 26px; border-top: 1px solid var(--line); }
.vstats div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.vstats div:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--line); }
.vstats div:nth-child(even) { padding-left: 16px; }
.vstats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--olive); }
.vstats small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); }
.vfeat { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13px; color: #4f4c42; }
.vfeat span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--moss); margin-right: 9px; vertical-align: middle; }
.vcta { margin-top: auto; padding-top: 30px; display: grid; gap: 10px; }
.lbimg { max-width: min(1500px, 94vw); }
.lbimg img { max-height: 84vh; margin: auto; }
.lightbox .reelbox, .lightbox.reel .lbimg { display: none; }
.lightbox.reel .reelbox { display: block; }
.reelbox { position: relative; height: min(86vh, 820px); aspect-ratio: 9 / 16; max-width: 94vw; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 90px rgba(0,0,0,.55); color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; }
.reelbox video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reelbox::before, .reelbox::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; z-index: 1; }
.reelbox::before { top: 0; height: 18%; background: linear-gradient(rgba(0,0,0,.45), transparent); }
.reelbox::after { bottom: 0; height: 38%; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.rb-top, .rb-rail, .rb-foot { position: absolute; z-index: 2; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.rb-top { top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; align-items: center; }
.rb-top b { font-size: 20px; font-weight: 700; }
.rb-top span { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; }
.rb-top svg { width: 15px; height: 15px; fill: #fff; }
.rb-rail { right: 12px; bottom: 120px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.rb-rail a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; text-decoration: none; }
.rb-rail svg { width: 30px; height: 30px; fill: #fff; filter: drop-shadow(0 1px 4px rgba(0,0,0,.4)); }
.rb-rail svg.o { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.rb-rail a:first-child svg { fill: #ff3040; }
.rb-rail small { font-size: 13px; font-weight: 600; }
.rb-foot { left: 16px; right: 70px; bottom: 22px; }
.rb-user { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rb-user img { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); object-fit: cover; }
.rb-user b { font-size: 14px; font-weight: 600; }
.rb-user a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; padding: 5px 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 8px; }
.rb-foot p { font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lightbox figcaption { color: var(--cream); text-align: center; margin-top: 16px; font-family: var(--serif); letter-spacing: .2em; text-transform: uppercase; font-size: 13px; }

/* ================= MOBILE ================= */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 22px; }
}
@media (max-width: 900px) {
  .nav, .nav.solid { padding: 12px 16px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .hero { cursor: auto; }
  .cur-ring, .hero-hint { display: none; }
  .hero-tag { margin: 22px auto 28px; }
  .hero-ctas { width: 100%; flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .sec-head { grid-template-columns: 1fr; padding: 96px 16px 34px; }
  .statement { padding: 110px 16px 90px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 64px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .pillars, .ubud, .team-grid, .enq-card { grid-template-columns: 1fr; }
  .pillars-media { height: 56vh; }
  .pillars-panel { padding: 50px 16px 64px; gap: 30px; }
  .cards { grid-template-columns: 1fr; gap: 14px; padding: 0 16px 100px; }
  .card { aspect-ratio: 4 / 4.6; }
  .card-actions { opacity: 1; transform: none; }
  .sp-frame { margin: 0; height: 76vh; }
  .sp-foot { margin: 16px 16px 0; }
  .track { padding: 0 16px 100px; }
  .ubud-media { height: 52vh; }
  .ubud-body { padding: 70px 16px; }
  .story-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .social { grid-template-columns: 1fr 1fr; margin: 60px 16px 0; }
  .social div:nth-child(3) { border-left: 0; }
  .social div { border-bottom: 1px solid var(--line); }
  .team { padding: 90px 16px; }
  .partners li { grid-template-columns: 1fr; gap: 6px; }
  .faq-list { margin: 0 16px; }
  .enquire { padding: 80px 0 0; align-items: end; }
  .enq-copy { min-height: 0; padding: 40px 22px; }
  .lead .row { grid-template-columns: 1fr; }
  .lcard, .vcard { grid-template-columns: 1fr; }
  .limg { min-height: 0; height: 170px; }
  .lbody { padding: 30px 20px; }
  .vgal { min-height: 300px; }
  .vbody { padding: 30px 20px; }
  .foot { padding: 60px 16px 100px; }
  .fab { right: 16px; bottom: 16px; left: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------------- hero ?hero=showcase: phones on the Ubud wallpaper ---------------- */
body.hero-show .hero { background: #4a5239 url(assets/brand/wallpaper-olive.png) center / 300px; cursor: auto; }
body.hero-show .hero-lens, body.hero-show .cur-ring, body.hero-show .hero-hint, body.hero-show .hero-video { display: none; }
body.hero-show .hero-shade { background: radial-gradient(70% 45% at 50% 85%, rgba(30,33,22,.6), rgba(30,33,22,0) 70%); }
body.hero-show .hero-copy { justify-content: flex-end; padding-bottom: clamp(28px, 6vh, 64px); }
body.hero-show .hero-mark { width: 52px; margin-bottom: 10px; }
body.hero-show .hero-title span { font-size: clamp(52px, 6.6vw, 108px); }
body.hero-show .hero-tag { margin: 14px auto 20px; font-size: 15px; }
body.hero-show .hero-down { display: none; }
.phone-row { position: absolute; left: 50%; top: clamp(84px, 11vh, 110px); height: var(--ph); width: 0; z-index: 3; perspective: 1400px; touch-action: pan-y; }
.iph { position: absolute; left: 0; bottom: 0; width: var(--pw); height: var(--ph); padding: 0; border: 0; background: #0e0e0d; border-radius: calc(var(--pw) * .16); cursor: pointer;
  box-shadow: 0 0 0 1.5px #5b5a55 inset, 0 24px 60px rgba(0,0,0,.45); will-change: transform; }
.iph .scr { position: absolute; inset: calc(var(--pw) * .032); border-radius: calc(var(--pw) * .13); overflow: hidden; background: #222; }
.iph .scr > img, .iph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.iph .isl { position: absolute; top: 2.2%; left: 50%; width: 30%; height: 4.2%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 3; }
.iph .ui { position: absolute; inset: 0; z-index: 2; color: #fff; font: 600 12px -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; text-shadow: 0 1px 5px rgba(0,0,0,.5);
  background: linear-gradient(rgba(0,0,0,.35), transparent 18%, transparent 62%, rgba(0,0,0,.6)); }
.iph .vw { position: absolute; top: 10%; left: 9%; }
.iph .rail { position: absolute; right: 7%; bottom: 17%; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; }
.iph .rail i { font-style: normal; font-size: 22px; line-height: 1; color: #ff3040; }
.iph .rail i.c { color: #fff; font-size: 19px; margin-top: 8px; }
.iph .who { position: absolute; left: 8%; bottom: 7%; display: flex; align-items: center; gap: 7px; }
.iph .who img { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); }
@media (max-width: 900px) { body.hero-show .hero-copy { padding-bottom: 28px; } body.hero-show .hero-tag { display: none; } body.hero-show .hero-ctas { margin-top: 22px; } body.hero-show .hero-mark { display: none; } }

/* ---------------- hero ?hero=classic: render + lockup, then the iPhone fan ---------------- */
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kb 26s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
body.hero-classic .hero { cursor: auto; background: #14110d; }
body.hero-classic .hero-lens, body.hero-classic .cur-ring, body.hero-classic .hero-hint, body.hero-classic .hero-video, body.hero-classic .hero-mark, body.hero-classic .hero-title { display: none; }
body.hero-classic .hero-shade { background: radial-gradient(60% 55% at 50% 50%, rgba(20,17,13,.55), rgba(20,17,13,.38)); }
.hero-lockup { width: clamp(170px, 19vw, 280px); filter: drop-shadow(0 8px 40px rgba(0,0,0,.35)); opacity: 0; transform: translateY(14px); transition: 1.3s var(--ease) .2s; }
.ready .hero-lockup { opacity: 1; transform: none; }
.igfan { background: #14110d url(assets/brand/wallpaper-olive.png) center / 300px; position: relative; padding: clamp(70px, 9vw, 120px) 0 clamp(60px, 7vw, 100px); overflow: hidden; color: var(--cream); }
.igfan::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 60%, rgba(20,17,13,.55), rgba(20,17,13,.92)); }
.so-head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding: 0 var(--pad); max-width: 1400px; margin: 0 auto 50px; }
.so-head .eyebrow { color: rgba(243,238,228,.6); }
.so-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.05; letter-spacing: .02em; }
.so-head p { max-width: 430px; font-size: 15px; line-height: 1.65; color: rgba(243,238,228,.78); text-align: right; }
.fan { --pw: clamp(190px, 19vw, 280px); position: relative; height: calc(var(--pw) * 2.0566); }
.ifn { position: absolute; left: 50%; top: 0; width: var(--pw); height: calc(var(--pw) * 2.0566); padding: 0; border: 0; cursor: pointer; background: transparent; transform-origin: 50% 50%;
  transition: transform 1.4s cubic-bezier(.45,.05,.2,1), opacity 1s, filter 1s; border-radius: calc(var(--pw) * .15); box-shadow: 0 30px 60px rgba(0,0,0,.55); }
.ifn-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.ifn.dim { filter: brightness(.7) saturate(.85); }
.ifn-scr { position: absolute; left: 5.1%; right: 4.9%; top: 1.95%; bottom: 1.86%; border-radius: calc(var(--pw) * .12); overflow: hidden; background: #222; }
.ifn-scr > img, .ifn-scr video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ifn-isl { display: none; position: absolute; top: calc(var(--pw) * .055); left: 50%; width: 31%; height: calc(var(--pw) * .085); transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 3; }
.ifn-ui { position: absolute; inset: 0; z-index: 2; color: #fff; text-align: left; font: 500 calc(var(--pw) * .046) / 1.35 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; text-shadow: 0 1px 5px rgba(0,0,0,.45);
  background: linear-gradient(rgba(0,0,0,.35), transparent 16%, transparent 55%, rgba(0,0,0,.72)); }
.ifn-top { position: absolute; top: 10%; left: 7%; right: 7%; display: flex; justify-content: space-between; align-items: center; }
.ifn-top b { font-weight: 600; font-size: calc(var(--pw) * .06); }
.ifn-top svg { width: calc(var(--pw) * .085); fill: none; stroke: #fff; stroke-width: 1.8; }
.ifn-rail { position: absolute; right: 5%; bottom: 30%; display: flex; flex-direction: column; align-items: center; gap: calc(var(--pw) * .045); }
.ifn-rail span { display: flex; flex-direction: column; align-items: center; }
.ifn-rail svg { width: calc(var(--pw) * .1); height: calc(var(--pw) * .1); fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.ifn-rail small { font-size: calc(var(--pw) * .042); font-weight: 600; }
.ifn-foot { position: absolute; left: 6%; right: 18%; bottom: 5%; }
.ifn-user { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.ifn-user img { width: calc(var(--pw) * .1); height: calc(var(--pw) * .1); border-radius: 50%; border: 1px solid #fff; object-fit: cover; }
.ifn-user b { font-weight: 600; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ifn-user em { font-style: normal; font-weight: 600; padding: 2px 8px; border: 1px solid rgba(255,255,255,.85); border-radius: 6px; font-size: calc(var(--pw) * .04); }
.ifn-foot p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ifn-views { display: flex; align-items: center; gap: 5px; margin-top: 7px; font-weight: 600; }
.ifn-views svg { width: calc(var(--pw) * .05); fill: #fff; }
.fan-nav { position: absolute; top: 50%; z-index: 60; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 1px solid rgba(243,238,228,.4); background: rgba(20,17,13,.5); color: var(--cream); font-size: 26px; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); }
.fan-nav.prev { left: 24px; } .fan-nav.next { right: 24px; }
@media (max-width: 900px) {
  .so-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 34px; } .so-head p { text-align: left; }
  .fan { --pw: 52vw; } .fan-nav { display: none; }
}

/* ---------------- hero ?hero=fan: lockup on top, the iPhone fan in the middle, tagline and buttons underneath ---------------- */
body.hero-fan .hero { cursor: auto; background: #14110d; }
body.hero-fan .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(20,17,13,.7), rgba(20,17,13,.45) 40%, rgba(20,17,13,.78)); }
body.hero-fan .hero-lens, body.hero-fan .cur-ring, body.hero-fan .hero-hint, body.hero-fan .hero-video, body.hero-fan .hero-mark, body.hero-fan .hero-title, body.hero-fan .hero-down, body.hero-fan .hero-shade { display: none; }
body.hero-fan .hero-copy { justify-content: flex-start; padding-top: clamp(74px, 9vh, 96px); padding-bottom: clamp(22px, 4vh, 40px); }
body.hero-fan .hero-lockup { width: clamp(96px, 8.5vw, 132px); }
body.hero-fan .hero-tag { margin: auto auto 14px; font-size: 15px; }
body.hero-fan .fan { --pw: min(16vw, calc((100svh - 400px) / 2.06)); position: absolute; left: 0; right: 0; top: calc(clamp(74px, 9vh, 96px) + clamp(96px, 8.5vw, 132px) * 1.22 + 18px); z-index: 3; }
body.hero-fan .hero-copy .btn { position: relative; z-index: 6; }
@media (max-width: 900px) {
  body.hero-fan .fan { --pw: min(44vw, calc((100svh - 330px) / 2.06)); }
  body.hero-fan .hero-tag { display: none; } body.hero-fan .hero-ctas { margin-top: auto; }
}
