/* VOICE private club, hushed and cinematic; the site is the gate, not a brochure
   IDEA the walk from the club gate, under the palms, past the pool and out along the jetty into the Red Sea
   PICTURE the club's own photographs, graded warm; live water on the hero; a 3D member card you can tilt
   COLOUR night green ground, brand teal fields, sand and cream ink, olive gold for foil and fine detail
   TYPE Fraunces soft (free stand-in closest to Millik) at huge sizes, light weight + Alexandria for text and Arabic
   LAYOUT laptop: full-screen scenes pinned to scroll; phone: same story stacked, native swipes for the walk */

:root {
  --night: #0d1a15;
  --night-2: #13241d;
  --deep: #1d2e27;
  --teal: #005a50;
  --teal-2: #0a7466;
  --green: #31614d;
  --green-2: #44785f;
  --lime: #74b848;
  --olive: #94854f;
  --gold: #c9b37a;
  --sand: #e0dab8;
  --wheat: #e8d7a8;
  --cream: #faf4e2;
  --muted: color-mix(in oklab, var(--cream) 62%, transparent);
  --hair: color-mix(in oklab, var(--cream) 16%, transparent);
  --display: "Fraunces", Georgia, serif;
  --text: "Alexandria", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gx: max(4vw, 18px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; min-width: 0; }
html { background: var(--night); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--night); color: var(--cream); font: 300 17px/1.6 var(--text); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, .serif { font-family: var(--display); font-weight: 300; font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144; letter-spacing: -0.035em; line-height: .95; margin: 0; }
p { margin: 0; }
::selection { background: var(--wheat); color: var(--night); }
.gx { padding-left: var(--gx); padding-right: max(4vw, 18px, env(safe-area-inset-right, 0px)); }

/* grain over everything, printed feel */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* liquid glass */
.glass { position: relative; background: color-mix(in oklab, var(--cream) 9%, transparent); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .18), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 40px -18px rgba(0, 0, 0, .55); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .1)); mix-blend-mode: soft-light; }

/* buttons */
.btn { --bg: var(--cream); --fg: var(--night); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 56px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); font: 400 16px/1 var(--text); cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap; will-change: transform; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wheat); border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::after { transform: none; }
.btn .arr { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--bg); transition: transform .6s var(--ease); }
.btn .arr svg { width: 12px; height: 12px; }
.btn:hover .arr { transform: rotate(-45deg); }
.btn.ghost { --bg: transparent; --fg: var(--cream); }
.btn.ghost::after { background: color-mix(in oklab, var(--cream) 14%, transparent); }
.btn.ghost .arr { background: var(--cream); color: var(--night); }
.btn.glass { background: color-mix(in oklab, var(--cream) 10%, transparent); color: var(--cream); }
.btn.glass::after { background: color-mix(in oklab, var(--cream) 16%, transparent); }
:focus-visible { outline: 2px solid var(--wheat); outline-offset: 4px; border-radius: 6px; }

/* cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--cream); mix-blend-mode: difference; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s; display: grid; place-items: center; }
.cursor span { display: block; max-width: 96px; text-wrap: balance; font-size: 12.5px; line-height: 1.2; font-weight: 400; text-align: center; color: var(--night); opacity: 0; transition: opacity .2s; }
.cursor.big { width: var(--d, 92px); height: var(--d, 92px); margin: calc(var(--d, 92px) / -2) 0 0 calc(var(--d, 92px) / -2); mix-blend-mode: normal; background: var(--cream); }
.cursor.big span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* intro */
.intro { position: fixed; inset: 0; z-index: 80; background: var(--night); display: grid; place-items: center; }
.intro svg { width: min(30vw, 160px); overflow: visible; }
.intro .sp { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; }
.intro .word { position: absolute; bottom: 12vh; font-family: var(--display); font-size: 15px; letter-spacing: .02em; color: var(--muted); }
.no-intro .intro { display: none; }

/* header */
.head { position: fixed; inset: 0 0 auto; z-index: 60; padding-top: calc(env(safe-area-inset-top, 0px) + 18px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; transition: transform .6s var(--ease); }
.head.hide { transform: translateY(-120%); }
.head::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, var(--night) 35%, transparent); opacity: 0; transition: opacity .5s; }
.head.solid::before { opacity: .94; }
.head .logo img { height: 38px; width: auto; }
.pill { display: flex; gap: 4px; padding: 6px; border-radius: 999px; }
.pill a { padding: 10px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 400; color: color-mix(in oklab, var(--cream) 86%, transparent); transition: background .3s, color .3s; }
.pill a:hover, .pill a.on { background: color-mix(in oklab, var(--cream) 14%, transparent); color: var(--cream); }
.head .right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.head .lang { height: 48px; padding: 0 16px; border-radius: 999px; display: grid; place-items: center; font-size: 15px; }
.head .btn { height: 48px; padding: 0 8px 0 22px; font-size: 15px; }
.head .btn .s { display: none; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; place-items: center; }
.burger i { display: block; width: 18px; height: 1.5px; background: var(--cream); box-shadow: 0 6px 0 var(--cream); transform: translateY(-3px); }

.menu { --mx: calc(100% - 42px); position: fixed; inset: 0; z-index: 70; background: var(--teal); display: grid; grid-template-rows: auto 1fr auto; padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--gx) calc(env(safe-area-inset-bottom, 0px) + 28px); clip-path: circle(0 at var(--mx) 42px); transition: clip-path .9s var(--ease); visibility: hidden; }
.menu.open { clip-path: circle(150% at var(--mx) 42px); visibility: visible; }
.menu .bar { display: flex; justify-content: space-between; align-items: center; }
.menu nav { display: grid; align-content: center; gap: 2px; }
.menu nav a { font: 300 clamp(48px, 13vw, 96px)/1.02 var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.035em; }
.menu .x { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; font-size: 24px; }

/* hero */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero .stage { position: absolute; inset: 0; }
.hero canvas, .hero .fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero canvas { opacity: 0; transition: opacity 1.2s; }
.hero.gl canvas { opacity: 1; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 26, 21, .9) 0%, rgba(13, 26, 21, .55) 34%, rgba(13, 26, 21, 0) 62%), linear-gradient(to bottom, rgba(13, 26, 21, .55), transparent 20%); }
.hero .foot { position: absolute; inset: auto 0 0; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); }
.hero .lines { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(4px, 1vw, 14px); }
.hero .lines p { font-size: clamp(16px, 1.3vw, 19px); max-width: 32ch; color: color-mix(in oklab, var(--cream) 90%, transparent); }
.hero .scroll { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.hero .scroll i { width: 1px; height: 46px; background: var(--hair); position: relative; overflow: hidden; }
.hero .scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--cream); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }
.word-mark { font-size: clamp(96px, 32.5vw, 640px); line-height: .8; letter-spacing: -.06em; white-space: nowrap; margin-inline-start: -.05em; display: flex; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.word-mark span { display: inline-block; }
.word-mark .sp { width: .22em; }

/* manifesto */
.manifesto { min-height: 100svh; display: grid; align-content: center; padding-block: 18vh; position: relative; }
.manifesto .big { font-size: clamp(34px, 4.6vw, 80px); line-height: 1.08; letter-spacing: -.03em; max-width: min(19ch, 62vw); }
.manifesto .big .w { opacity: .16; transition: opacity .2s; }
.manifesto .big .w.lit { opacity: 1; }
.manifesto .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(48px, 8vw, 120px); padding-top: 28px; border-top: 1px solid var(--hair); }
.manifesto .row b { display: block; font: 400 16px/1.3 var(--text); margin-bottom: 8px; }
.manifesto .row p { font-size: 15.5px; color: var(--muted); max-width: 32ch; }
.manifesto .float { position: absolute; inset-inline-end: var(--gx); top: 16vh; width: clamp(220px, 24vw, 400px); aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; }
.manifesto .float img { width: 100%; height: 118%; object-fit: cover; }
.manifesto .seal { position: absolute; right: var(--gx); top: 18vh; width: clamp(110px, 12vw, 180px); aspect-ratio: 1; }
.seal text { font: 400 10.5px var(--text); letter-spacing: .32em; fill: var(--gold); }
.seal .sp { fill: none; stroke: var(--gold); stroke-width: 1; }

/* the walk */
.walk { position: relative; background: var(--night-2); }
.walk .pin { height: 100svh; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; padding-block: calc(env(safe-area-inset-top, 0px) + 96px) 28px; }
.walk .top { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.walk h2 { font-size: clamp(44px, 6vw, 104px); }
.walk .top p { max-width: 34ch; color: var(--muted); font-size: 16px; }
.track { display: flex; gap: clamp(16px, 2vw, 32px); align-items: center; padding-inline: var(--gx); will-change: transform; }
.stop { flex: 0 0 auto; width: clamp(280px, 34vw, 560px); position: relative; }
.stop:nth-child(even) { margin-top: 9vh; }
.stop .ph { height: min(56svh, 600px); overflow: hidden; border-radius: 20px; background: var(--deep); }
.stop:nth-child(3n) .ph { height: min(46svh, 500px); }
.stop .ph img { width: 118%; max-width: none; height: 100%; object-fit: cover; margin-inline-start: -9%; will-change: transform; }
.stop .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 14px; }
.stop .cap h3 { font-size: clamp(28px, 2.6vw, 44px); }
.stop .cap p { font-size: 14.5px; color: var(--muted); text-align: end; max-width: 24ch; }
.path { position: relative; height: 40px; margin-top: 8px; }
.path .rail { position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: var(--hair); }
.path .fill { position: absolute; inset-inline-start: 0; top: 19px; height: 1px; width: 0; background: var(--gold); }
.path ol { list-style: none; margin: 0; padding: 0; position: relative; display: flex; justify-content: space-between; }
.path li { display: grid; justify-items: center; gap: 6px; font-size: 13px; color: var(--muted); transition: color .3s; }
.path li::before { content: ""; width: 9px; height: 9px; margin-top: 15px; border-radius: 50%; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--muted); transition: background .3s, box-shadow .3s; }
.path li.on { color: var(--cream); }
.path li.on::before { background: var(--gold); box-shadow: 0 0 0 4px color-mix(in oklab, var(--gold) 25%, transparent); }

/* aperture */
.aperture { position: relative; height: 100svh; overflow: hidden; }
.aperture .win { position: absolute; inset: 0; clip-path: inset(22% 30% 22% 30% round 24px); will-change: clip-path; }
.aperture .win img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); will-change: transform; }
.aperture .win::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 26, 21, .75), transparent 55%); }
.aperture .say { position: absolute; inset: auto 0 0; padding-bottom: 7vh; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.aperture h2 { font-size: clamp(44px, 6.4vw, 112px); max-width: 12ch; }
.aperture .say p { max-width: 32ch; color: color-mix(in oklab, var(--cream) 88%, transparent); }
.aperture .peek { position: absolute; top: 12vh; left: 0; right: 0; text-align: center; font-size: 14px; color: var(--muted); }

/* membership stack */
.ways { padding-block: 16vh 10vh; }
.ways .intro-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 8vh; }
.ways h2 { font-size: clamp(48px, 6.6vw, 120px); }
.ways .intro-row p { color: var(--muted); max-width: 38ch; justify-self: end; }
.deck { display: grid; gap: 4vh; }
.way { --c: var(--teal); --i: var(--cream); --m: color-mix(in oklab, var(--cream) 72%, transparent); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); height: min(74svh, 720px); border-radius: 28px; background: var(--c); color: var(--i); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); overflow: hidden; transform-origin: 50% 0; will-change: transform; box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .6); }
.way .txt { padding: clamp(28px, 4vw, 56px); display: grid; grid-template-rows: auto 1fr auto; gap: 24px; }
.way .kicker { font-size: 15px; color: var(--m); display: flex; justify-content: space-between; }
.way h3 { font-size: clamp(56px, 7.4vw, 136px); align-self: end; }
.way .txt p { max-width: 34ch; color: var(--m); font-size: 17px; }
.way .go { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.way .ph { position: relative; overflow: hidden; margin: 12px; border-radius: 20px; }
.way .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.way.v { --c: var(--sand); --i: var(--night); --m: color-mix(in oklab, var(--night) 70%, transparent); }
.way.s { --c: var(--green); }
.way.c { --c: var(--wheat); --i: var(--night); --m: color-mix(in oklab, var(--night) 70%, transparent); }
.way.l { --c: var(--deep); }
.way.v .btn, .way.c .btn { --bg: var(--night); --fg: var(--cream); }
.way.v .btn::after, .way.c .btn::after { background: var(--teal); }

/* member card */
.cardsec { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: center; padding-block: 14vh; overflow: hidden; }
.cardsec::before { content: ""; position: absolute; width: 90vw; aspect-ratio: 1; inset-inline-end: -30vw; top: 50%; translate: 0 -50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--teal-2) 55%, transparent), transparent); pointer-events: none; }
.cardsec h2 { font-size: clamp(48px, 6vw, 108px); margin-bottom: 26px; }
.cardsec p { color: var(--muted); max-width: 36ch; margin-bottom: 40px; font-size: 18px; }
.tilt { perspective: 1200px; display: grid; place-items: center; }
.mcard { position: relative; width: min(100%, 600px); aspect-ratio: 1.586; border-radius: 26px; color: var(--cream); transform-style: preserve-3d; transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)); transition: transform .9s var(--ease); background: radial-gradient(130% 130% at 90% 0%, #0d7d6e 0%, var(--teal) 40%, #003f37 100%); box-shadow: inset 0 0 0 1px rgba(250, 244, 226, .16), inset 0 1px 0 rgba(255, 255, 255, .3), 0 50px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .2); overflow: hidden; isolation: isolate; }
.mcard .art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.mcard .foil { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; background: radial-gradient(60% 80% at var(--fx, 30%) var(--fy, 20%), rgba(255, 240, 200, .34), rgba(255, 240, 200, 0) 60%), linear-gradient(105deg, transparent 30%, rgba(232, 215, 168, .22) 45%, transparent 60%); mix-blend-mode: overlay; }
.mcard .body { position: absolute; inset: 0; padding: clamp(20px, 3.6vw, 36px); display: grid; grid-template-rows: auto 1fr auto; transform: translateZ(40px); }
.mcard .logo-c { height: clamp(24px, 3.2vw, 36px); width: auto; }
.mcard .chip { justify-self: end; align-self: start; width: clamp(34px, 4.6vw, 48px); aspect-ratio: 1.3; border-radius: 8px; background: linear-gradient(135deg, #e9d9a6, #a8935a 55%, #e8d7a8); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); grid-row: 1; grid-column: 1; }
.mcard .row { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.mcard small { display: block; font-size: clamp(11px, 1.2vw, 13px); color: var(--wheat); margin-bottom: 4px; }
.mcard .nm { display: block; font: 400 clamp(17px, 2.3vw, 26px)/1.15 var(--text); letter-spacing: .01em; overflow-wrap: anywhere; }
.mcard .nm.empty { color: color-mix(in oklab, var(--cream) 55%, transparent); }
.mcard .kd { text-align: end; }
.mcard .kd b { display: block; font: 300 clamp(22px, 3.2vw, 38px)/1 var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.02em; }
.mcard .stamp { position: absolute; inset-inline-end: 9%; top: 26%; width: 30%; aspect-ratio: 1; opacity: 0; transform: scale(1.6) rotate(-12deg); transition: opacity .5s, transform .8s var(--ease); }
.mcard.sent .stamp { opacity: 1; transform: scale(1) rotate(-12deg); }

/* contact */
.contact { padding-block: 16vh 12vh; }
.contact .tag { color: var(--muted); font-size: 16px; margin-bottom: 4vh; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.biglinks { border-top: 1px solid var(--hair); }
.biglink { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--hair); overflow: hidden; isolation: isolate; }
.biglink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .7s var(--ease); }
.biglink:hover::before { transform: none; }
.biglink .k { font-size: 14px; color: var(--muted); display: block; margin-bottom: 4px; transition: padding .7s var(--ease); }
.biglink .v { font: 300 clamp(34px, 5.4vw, 96px)/1 var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.035em; display: block; transition: padding .7s var(--ease); overflow-wrap: anywhere; }
.biglink:hover .v, .biglink:hover .k { padding-inline-start: 24px; }
.biglink .o { width: clamp(52px, 6vw, 88px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--hair); transition: transform .7s var(--ease), background .3s; margin-inline-end: 12px; }
.biglink .o svg { width: 30%; }
.biglink:hover .o { transform: rotate(-45deg); background: var(--cream); color: var(--night); }
.contact .after { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 6vh; }
.contact .after p { color: var(--muted); max-width: 40ch; }

/* drawer form */
.drawer { position: fixed; inset: 0; z-index: 75; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .veil { position: absolute; inset: 0; background: rgba(5, 12, 9, .5); opacity: 0; transition: opacity .6s; }
.drawer.open .veil { opacity: 1; }
.drawer .panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(560px, calc(100% - 24px)); border-radius: 28px; padding: clamp(28px, 3.4vw, 44px); overflow: auto; transform: translateX(calc(100% + 24px)); transition: transform .8s var(--ease); background: color-mix(in oklab, var(--night-2) 72%, transparent); display: grid; align-content: start; gap: 28px; }
.drawer.open .panel { transform: none; }
.drawer .panel .bar { display: flex; justify-content: space-between; align-items: center; }
.drawer h3 { font-size: clamp(44px, 4.4vw, 64px); }
.drawer .x { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; font-size: 22px; }

/* line fields */
.lf { position: relative; display: block; }
.lf input, .lf textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--hair); color: var(--cream); font: 300 20px/1.4 var(--text); padding: 26px 0 12px; border-radius: 0; transition: border-color .3s; }
.lf textarea { min-height: 120px; resize: vertical; }
.lf input:focus, .lf textarea:focus { outline: 0; border-color: var(--wheat); }
.lf label { position: absolute; inset-inline-start: 0; top: 26px; font-size: 18px; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .45s var(--ease), color .3s; }
.lf input:focus + label, .lf input:not(:placeholder-shown) + label, .lf textarea:focus + label, .lf textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(.74); color: var(--wheat); }
.lf .err { display: none; font-size: 14px; color: #f0a48f; margin-top: 8px; }
.lf.bad input, .lf.bad textarea { border-color: #f0a48f; }
.lf.bad .err { display: block; }
.thanks { display: none; }
.sent-box .thanks { display: grid; gap: 14px; }
.sent-box form { display: none; }
.thanks .tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--night); }

/* footer */
.foot-x { position: relative; padding-top: 10vh; overflow: hidden; border-top: 1px solid var(--hair); }
.foot-x .cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-x h4 { font: 400 14px/1 var(--text); color: var(--muted); margin: 0 0 18px; }
.foot-x ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.foot-x ul a:hover { color: var(--wheat); }
.foot-x .base { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-top: 8vh; padding-top: 22px; border-top: 1px solid var(--hair); }
.foot-x .base .co { flex-basis: 100%; order: -1; max-width: 70ch; color: color-mix(in oklab, var(--cream) 74%, transparent); }
.foot-x .base a:hover { color: var(--wheat); }
.foot-x .giant { font: 300 23.4vw/0.78 var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px color-mix(in oklab, var(--gold) 70%, transparent); white-space: nowrap; margin-block: 4vh -4.4vw; margin-inline-start: -.05em; user-select: none; }

/* reveal helpers (JS adds .rv only when motion is on) */
.rv-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.rv-line > span { display: block; }

@media (max-width: 1080px) {
  .pill, .head .lang { display: none; }
  .head { grid-template-columns: 1fr auto; }
  .burger { display: grid; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .head .btn .t { display: none; }
  .head .btn .s { display: inline; }
  .head .btn { padding: 0 6px 0 18px; }
  .head .logo img { height: 30px; }
  .hero .lines { flex-direction: column; align-items: start; }
  .hero .scroll { display: none; }
  .manifesto { min-height: 0; padding-block: 14vh 10vh; }
  .manifesto .float { display: none; }
  .manifesto .row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .walk .pin { height: auto; padding-block: 12vh 8vh; gap: 28px; }
  .walk .top { flex-direction: column; align-items: start; }
  .track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
  .track::-webkit-scrollbar { display: none; }
  .stop { width: 78vw; scroll-snap-align: center; }
  .stop:nth-child(even) { margin-top: 0; }
  .stop .ph, .stop:nth-child(3n) .ph { height: 62svh; max-height: 520px; }
  .stop .ph img { width: 100%; margin: 0; }
  .path { display: none; }
  .aperture .win { clip-path: inset(18% 10% 26% 10% round 20px); }
  .ways .intro-row { grid-template-columns: minmax(0, 1fr); }
  .ways .intro-row p { justify-self: start; }
  .way { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; height: min(78svh, 680px); top: calc(env(safe-area-inset-top, 0px) + 80px); }
  .way .ph { order: -1; margin: 10px 10px 0; }
  .way .txt { padding: 22px 22px 24px; gap: 14px; grid-template-rows: auto auto auto; }
  .way h3 { font-size: 58px; }
  .way .txt p { font-size: 15.5px; }
  .cardsec { grid-template-columns: minmax(0, 1fr); padding-block: 12vh; }
  .cardsec .tilt { order: -1; }
  .foot-x .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-x .cols > div:first-child { grid-column: 1 / -1; }
  .drawer .panel { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 92svh; transform: translateY(105%); }
  .biglink .o { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .manifesto .big .w { opacity: 1; }
  .aperture .win { clip-path: none; }
  .way { position: relative; top: 0; }
}

/* questions */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 110px); padding-block: 14vh 4vh; align-items: start; }
.faq h2 { font-size: clamp(44px, 5.6vw, 100px); position: sticky; top: 120px; }
.faq .qs { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px 0; font: 300 clamp(22px, 2vw, 30px)/1.2 var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--hair); transition: transform .6s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.4px; margin: -.7px 0 0 -6.5px; background: currentColor; }
.faq summary i::after { transform: rotate(90deg); transition: transform .6s var(--ease); }
.faq details[open] summary i { background: var(--cream); color: var(--night); }
.faq details[open] summary i::after { transform: none; }
.faq summary:hover i { box-shadow: inset 0 0 0 1px var(--wheat); }
.faq details p { color: var(--muted); max-width: 58ch; padding: 0 0 28px; font-size: 17px; }

/* legal pages */
.legal-top { padding-top: calc(env(safe-area-inset-top, 0px) + 18px); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.legal-top .logo img { height: 36px; width: auto; }
.legal-top .links { display: flex; gap: 8px; }
.legal-top .links a { height: 46px; padding: 0 18px; border-radius: 999px; display: grid; place-items: center; font-size: 14.5px; }
.legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 110px); padding-block: 12vh 10vh; align-items: start; }
.legal .side { position: sticky; top: 40px; display: grid; gap: 22px; }
.legal h1 { font-size: clamp(48px, 6vw, 104px); }
.legal .upd { color: var(--muted); font-size: 15px; }
.legal .toc { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; border-top: 1px solid var(--hair); padding-top: 18px; }
.legal .toc a { color: var(--muted); }
.legal .toc a:hover { color: var(--wheat); }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(28px, 2.6vw, 40px); margin: 56px 0 16px; scroll-margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: color-mix(in oklab, var(--cream) 82%, transparent); font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.prose a { color: var(--wheat); text-decoration: underline; text-underline-offset: 4px; }
.prose .card { margin-top: 18px; padding: 22px 24px; border-radius: 18px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--hair); display: grid; gap: 4px; }
.prose .card b { font-weight: 400; color: var(--cream); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15.5px; }
.prose th, .prose td { text-align: start; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 400; }
.tw { overflow-x: auto; }

/* not found */
.nf { position: relative; min-height: 100svh; display: grid; align-content: end; padding-bottom: 12vh; overflow: hidden; isolation: isolate; }
.nf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.nf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(13, 26, 21, .92), rgba(13, 26, 21, .2) 70%), linear-gradient(to bottom, rgba(13, 26, 21, .6), transparent 30%); }
.nf .legal-top { position: absolute; inset: 0 0 auto; }
.nf h1 { font-size: clamp(56px, 9vw, 160px); max-width: 10ch; margin-bottom: 22px; }
.nf p { color: color-mix(in oklab, var(--cream) 86%, transparent); max-width: 40ch; margin-bottom: 34px; }

@media (max-width: 1080px) { .foot-x .cols { grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); } .foot-x .cols > div:first-child { grid-row: span 2; } }
@media (max-width: 820px) {
  .faq, .legal { grid-template-columns: minmax(0, 1fr); }
  .faq h2, .legal .side { position: static; }
  .legal { padding-block: 8vh 8vh; }
  .legal-top .links .back { display: none; }
  .foot-x .cols > div:first-child { grid-row: auto; }
}

/* Arabic: Alexandria carries the display type, letters stay joined */
:lang(ar) body { font-weight: 300; line-height: 1.75; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .serif, :lang(ar) .q, :lang(ar) .tile b, :lang(ar) .way h3, :lang(ar) .mcard .kd b, :lang(ar) .biglink .v, :lang(ar) .menu nav a, :lang(ar) .faq summary, :lang(ar) .foot-x .giant { font-family: var(--text); font-weight: 200; letter-spacing: 0; line-height: 1.18; }
:lang(ar) .word-mark { font-size: clamp(84px, 23vw, 460px); line-height: 1.1; letter-spacing: 0; padding-bottom: .3em; margin-bottom: -.08em; }
:lang(ar) .word-mark .sp { width: .18em; }
:lang(ar) .manifesto .big { line-height: 1.4; }
:lang(ar) .way h3 { font-size: clamp(52px, 6.6vw, 120px); }
:lang(ar) .foot-x .giant { font-size: 19vw; line-height: 1.45; margin-block: 2vh -3vw; }
:lang(ar) .lf label { font-size: 17px; }
:lang(ar) .menu nav a { font-size: clamp(40px, 11vw, 84px); line-height: 1.3; }
:lang(ar) .biglink .v { line-height: 1.25; }
[dir="rtl"] .btn .arr svg, [dir="rtl"] .biglink .o svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr, [dir="rtl"] .biglink:hover .o { transform: rotate(45deg); }
[dir="rtl"] .menu { --mx: 42px; }
[dir="rtl"] .drawer .panel { right: auto; left: 12px; transform: translateX(calc(-100% - 24px)); }
[dir="rtl"] .lf label { transform-origin: 100% 0; }
[dir="rtl"] .lf.tel { direction: ltr; }
[dir="rtl"] .lf.tel label { inset-inline-start: calc(4.2ch + 14px); }
[dir="rtl"] .lf.tel .err { direction: rtl; text-align: right; }
[dir="rtl"] input[dir="ltr"] { text-align: right; }
[dir="rtl"] .lf.tel input[dir="ltr"] { text-align: left; }
@media (max-width: 820px) { [dir="rtl"] .drawer .panel { left: 8px; right: 8px; transform: translateY(105%); } }
[dir="rtl"] .drawer.open .panel { transform: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ferr { color: #f0a48f; font-size: 15px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
