/* OPTION B: "Ivory Editorial". Sea Breeze's light editorial look, giant Latin serif, sunset tones; Hubtown loader and section rhythm. */
:root {
  --bg: #f2ede4; --paper: #f8f5ef; --ink: #16140f; --mute: #7d766a; --sand: #a8885a; --sea: #0d1f2d; --rule: rgba(22,20,15,.14);
  --latin: 'Rag Sans', 'Heebo', 'Open Sans', sans-serif; --serif: 'Rag Sans', 'Heebo', 'Open Sans', sans-serif; --sans: 'Rag Sans', 'Heebo', 'Open Sans', sans-serif;
  --pad: clamp(20px, 4.5vw, 80px);
}
body { background: var(--bg); color: var(--ink); font: 400 17px/1.75 var(--sans); font-variant-numeric: lining-nums; }
.wrap { inline-size: min(1360px, 100% - 2 * var(--pad)); margin-inline: auto; }
.section { padding-block: clamp(80px, 12vh, 150px); }
em { font-style: normal; color: var(--sand); } /* Hebrew has no true italic; the accent is colour only */
.menu-panel a:hover { font-style: normal; }
.label { font: 400 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0 0 30px; display: flex; align-items: center; gap: 14px; }
.label::before { content: ''; inline-size: 40px; block-size: 1px; background: currentColor; }
.label.light { color: rgba(255,255,255,.7); }
.h2 { font: 400 clamp(30px, 3.4vw, 48px)/1.15 var(--serif); margin: 0 0 32px; }
.h2.xl { font-size: clamp(38px, 4.8vw, 70px); line-height: 1.05; }
.h2.light { color: #fff; }
.statement { font: 350 clamp(22px, 2.2vw, 32px)/1.5 var(--serif); margin: 0; max-inline-size: 60ch; }
.statement.small { font-size: clamp(19px, 1.7vw, 24px); }
.source { color: var(--mute); font-size: 12px; margin-block-start: 36px; }
.btn { display: inline-flex; gap: 10px; align-items: center; padding: 18px 30px; background: var(--ink); color: var(--paper); border-radius: 999px; font: 400 15px/1 var(--sans); transition: background .4s; }
.btn:hover { background: var(--sand); }

/* loader */
#loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); transition: transform 1s cubic-bezier(.77,0,.18,1); }
#loader.done { transform: translateY(-100%); }
/* last-resort failsafe: if scripts never run, the loader still lifts after 8s so the site is never blocked */
#loader { animation: loader-failsafe .6s ease 8s forwards; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.ld-logo { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; transform: translate(50%, -50%); inline-size: 260px; mix-blend-mode: multiply; }
.ld-count { position: absolute; inset-block-end: 4vh; left: 4vw; font: 300 clamp(56px, 8vw, 130px)/.8 var(--latin); direction: ltr; }
.ld-bar { position: absolute; inset-block-end: 3vh; right: 4vw; display: flex; gap: 4px; direction: ltr; }
.ld-bar i { inline-size: 14px; block-size: 3px; background: var(--rule); } .ld-bar i.on { background: var(--ink); }

/* header */
.site-header { position: fixed; z-index: 50; inset-block-start: 0; inset-inline: 0; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px;
  padding: 22px var(--pad); color: #fff; mix-blend-mode: difference; }
.brand { font: 400 19px/1 var(--latin); letter-spacing: .42em; grid-column: 3; direction: ltr; }
.nav { display: flex; gap: 26px; font-size: 14px; }
.header-actions { display: flex; gap: 22px; font-size: 14px; }
.menu-btn { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.menu-btn i { display: block; inline-size: 22px; block-size: 1px; background: currentColor; } .menu-btn i + i { display: none; }
.menu-panel { position: fixed; inset: 0; z-index: 45; background: var(--sea); color: #fff; display: grid; align-content: center; padding-inline: calc(var(--pad) * 2);
  font: 350 clamp(28px, 3.2vw, 44px)/1.5 var(--serif); clip-path: inset(0 0 100% 0); transition: clip-path .9s cubic-bezier(.77,0,.18,1); }
.menu-panel a:hover { color: #e3c79a; }
body.menu-open .menu-panel { clip-path: inset(0 0 0 0); }
body.menu-open .site-header { mix-blend-mode: normal; }

/* hero */
.hero { block-size: 460vh; }
.hero-sticky { position: sticky; inset-block-start: 0; block-size: 100vh; block-size: 100svh; overflow: hidden; }
.hero-sticky { background: #0b0d10; }
.hero-window { position: absolute; inset: 0; }
.hero-canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.hero-vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 45%, rgba(8,10,14,.55) 100%), linear-gradient(to bottom, rgba(8,10,14,.45), transparent 22%, transparent 62%, rgba(8,10,14,.6)); }
.hero-word { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; pointer-events: none;
  font: 300 clamp(46px, 7.4vw, 120px)/1 var(--latin); letter-spacing: .14em; direction: ltr; color: #fff; text-shadow: 0 10px 60px rgba(0,0,0,.35); }
.hw { display: block; white-space: nowrap; }
.hero-meta { position: absolute; inset-block-start: 15vh; inset-inline: var(--pad); display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.hero-meta p { margin: 0; } .hm-b { text-align: end; }
.hero-final { position: absolute; inset-block-end: 12vh; inset-inline-start: var(--pad); color: #fff; opacity: 0; }
.hf-kicker { letter-spacing: .12em; font-size: 13px; text-transform: uppercase; margin: 0 0 16px; }
.hf-title { font: 350 clamp(38px, 4.6vw, 68px)/1.1 var(--serif); margin: 0 0 28px; text-shadow: 0 10px 50px rgba(0,0,0,.35); }
.hf-title em { color: #f1d6a8; }
.hero-final .btn { background: #fff; color: var(--ink); }

/* video hero: three vertical clips side by side, each shown near its native size */
.vhero { position: relative; block-size: 100vh; block-size: 100svh; overflow: hidden; background: #0b0d10; color: #fff; }
.vh-reel { position: absolute; inset: 0; overflow: hidden; }
.vh-clip { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: center 60%;
  opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 9s linear; filter: saturate(1.05) contrast(1.05); }
.vh-clip.on { opacity: 1; transform: scale(1); }
/* The clips carry burned-in Instagram captions and logos in their upper third. On wide screens the
   'cover' crop already shows only the middle band; on phones we zoom toward the lower part to hide them. */
/* The opening film is vertical (720x1280).
   Wide screens: the whole frame at its real size in the centre (no upscaling, nothing cut),
   over a blurred, darkened copy of the same picture (canvas painted in main.js).
   Phones: it fills the screen, with only a hair of zoom toward the bottom to tuck the small "Sea Breeze" mark under the header. */
.vh-bg { position: absolute; inset: -6%; inline-size: 112%; block-size: 112%; filter: blur(28px) brightness(.5) saturate(1.15); display: none; }
@media (min-aspect-ratio: 4/5) {
  .vh-bg { display: block; }
  /* the top 18% (the film's own "Sea Breeze" mark, where our logo settles) sits above the screen edge */
  .vh-reel .vh-clip, .vh-reel .vh-clip.on { inset: auto auto 0 50%; inline-size: calc(100vh / .82 * 9 / 16); block-size: calc(100% / .82);
    object-fit: cover; object-position: center bottom; transform: translateX(-50%); transition: opacity 1.4s ease; filter: none;
    box-shadow: 0 0 120px rgba(0,0,0,.55); }
}
@media (max-aspect-ratio: 4/5) {
  .vh-clip, .vh-clip.on { object-position: center bottom; transform: scale(1.08); transform-origin: center bottom; transition: opacity 1.4s ease; filter: none; }
}
/* SEA BREEZE in the official project typeface (TT Ramillas, see shared/fonts.css; Noto Serif Display until licensed) */
.vh-present .hero-word { font-family: 'TT Ramillas', 'Noto Serif Display', serif; font-weight: 250; text-transform: uppercase;
  font-size: clamp(54px, 9.4vw, 156px); line-height: .95; letter-spacing: -0.05em; }
.vh-present .hw-1 { margin-inline-end: .22em; }
.vh-present .hero-word, .vh-kicker, .vh-sub { text-shadow: 0 2px 30px rgba(0,0,0,.45), 0 1px 3px rgba(0,0,0,.35); }
@media (max-width: 760px) {
  /* keep the opening buttons clear of the floating WhatsApp / accessibility buttons, and the title legible on bright frames */
  .vhero .vh-cta { inset-block-end: 150px; }
  .vhero .hero-vignette { background: radial-gradient(90% 40% at 50% 52%, rgba(8,10,14,.5), transparent 80%),
    linear-gradient(to bottom, rgba(8,10,14,.55), rgba(8,10,14,.2) 30%, rgba(8,10,14,.25) 60%, rgba(8,10,14,.7)) !important; }
}
.vhero .hero-vignette { background: radial-gradient(60% 45% at 50% 50%, rgba(8,10,14,.42), transparent 75%),
  linear-gradient(to bottom, rgba(8,10,14,.6), rgba(8,10,14,.25) 30%, rgba(8,10,14,.2) 60%, rgba(8,10,14,.65)); }
.vh-cta { position: absolute; inset-block-end: 8vh; inset-inline: 0; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.vh-cta .btn { background: #fff; color: var(--ink); }
.vh-cta .btn.ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); }
/* brand first: the CASPIAN mark (inverted to white; black background disappears with 'screen') */
.vh-brand { position: absolute; inset-inline: 0; inset-block-start: 50%; transform: translateY(-50%); display: grid; justify-items: center; pointer-events: none; z-index: 2; }
.vh-logo { inline-size: clamp(170px, 17vw, 250px); filter: drop-shadow(0 4px 24px rgba(0,0,0,.35)); }
.vh-tag { margin: 14px 0 0; font: 400 12px/1 var(--latin); letter-spacing: .5em; text-transform: uppercase; color: rgba(255,255,255,.8); direction: ltr; }
/* then the project it presents */
.vh-present { position: absolute; inset-inline: var(--pad); inset-block-start: 50%; transform: translateY(-38%); display: grid; justify-items: center; text-align: center; opacity: 0; }
.vh-present .hero-word { position: static; display: block; }
.vh-present .hw { display: inline-block; }
.vh-kicker { margin: 0 0 18px; font-size: 14px; letter-spacing: .12em; color: rgba(255,255,255,.85); }
.vh-sub { margin: 18px 0 0; font-size: 17px; color: rgba(255,255,255,.85); }

/* film section (scroll-scrubbed renders) */
.film { block-size: 420vh; }
.film-intro { position: absolute; inset-block-end: 12vh; inset-inline-start: var(--pad); color: #fff; }

/* attractions */
.attr { background: var(--sea); color: #fff; }
.attr-intro { max-inline-size: 44ch; font-size: 18px; color: rgba(255,255,255,.8); margin: 0 0 48px; }
.attr-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: 340px 340px; gap: 14px; }
.attr-card { position: relative; overflow: hidden; border-radius: 6px; background: #13202c; margin: 0; }
.attr-card.tall { grid-row: span 2; }
.attr-card:nth-child(4) { grid-column: span 2; }
.attr-card video, .attr-card img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.1,1); }
.attr-card:hover video, .attr-card:hover img { transform: scale(1.04); }
.attr-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(8,14,20,.85)); pointer-events: none; }
.attr-body { position: absolute; z-index: 1; inset-block-end: 0; inset-inline: 0; padding: 26px; }
.attr-n { font-size: 12px; letter-spacing: .12em; color: #e9cfa1; }
.attr-body h3 { font: 400 clamp(24px, 2.1vw, 32px)/1.15 var(--serif); margin: 8px 0 8px; }
.attr-body p { margin: 0; font-size: 15px; color: rgba(255,255,255,.82); max-inline-size: 42ch; }
.attr-body .tbc { display: block; margin-block-start: 10px; }
.attr-card.f1 { background: radial-gradient(120% 90% at 70% 20%, #3a1616, #120c0c 70%); }
.attr-card.f1::after { background: linear-gradient(transparent 30%, rgba(10,6,6,.8)); }
.f1-track { position: absolute; inset-block-start: 22px; inset-inline-end: 22px; inline-size: 62%; color: #e2483b; opacity: .85; }

/* about city */
.for-words { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 64px; border-block: 1px solid var(--rule); }
.fw { padding: 34px 0; display: grid; gap: 4px; border-inline-start: 1px solid var(--rule); padding-inline-start: 30px; }
.fw:first-child { border: 0; padding-inline-start: 0; }
.fw small { font-size: 13px; color: var(--mute); letter-spacing: .05em; }
.fw b { font: 350 clamp(32px, 3.4vw, 50px)/1.1 var(--serif); }
.city-split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; }
.city-split figure { margin: 0; overflow: hidden; aspect-ratio: 16/11; }
.city-split img { inline-size: 100%; block-size: 115%; object-fit: cover; }

/* numbers */
.numbers { background: var(--paper); }
.num-table { inline-size: 100%; border-collapse: collapse; margin-block-start: 30px; }
.num-table th, .num-table td { text-align: start; padding: 24px 10px; border-block-end: 1px solid var(--rule); font-weight: 300; }
.num-table thead th { font-size: 13px; letter-spacing: .08em; color: var(--mute); }
.num-table tbody th { font: 400 22px/1.2 var(--serif); } .num-table tbody th small { display: block; font: 350 12px var(--sans); color: var(--mute); letter-spacing: .1em; margin-block-start: 6px; }
.num-table td { font: 300 clamp(38px, 4.2vw, 64px)/1 var(--latin); direction: ltr; text-align: end; }
.num-table td + td { color: var(--sand); }

/* projects */
.proj-head { display: grid; grid-template-columns: 1fr; margin-block-end: 48px; }
.proj-intro { max-inline-size: 44ch; font-size: 18px; color: #3c3830; }
.pcard { display: grid; grid-template-columns: 1.35fr .65fr; gap: 56px; align-items: center; padding-block: 48px; border-block-start: 1px solid var(--rule); }
.pcard.rev { grid-template-columns: .65fr 1.35fr; } .pcard.rev figure { order: 2; }
.pcard figure { margin: 0; overflow: hidden; aspect-ratio: 16/10; border-radius: 4px; }
.pcard img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.1,1); }
.pcard:hover img { transform: scale(1.04); }
.pc-n { font-size: 13px; letter-spacing: .06em; color: var(--mute); margin: 0 0 12px; }
.pcard h3 { font: 400 clamp(28px, 2.6vw, 40px)/1.1 var(--latin); margin: 0 0 14px; direction: ltr; text-align: end; }
.pcard dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 28px 0; }
.pcard dl div { padding: 14px 0; border-block-start: 1px solid var(--rule); }
.pcard dt { font-size: 13px; color: var(--mute); } .pcard dd { margin: 0; font: 400 19px/1.3 var(--serif); }
.arrow { font-size: 15px; border-block-end: 1px solid currentColor; padding-block-end: 4px; }
.arrow::after { content: ' ←'; }
.more-projects { display: grid; grid-template-columns: 1fr 1fr; border-block-start: 1px solid var(--rule); }
.mp { display: flex; align-items: baseline; gap: 18px; padding: 34px 0; border-inline-start: 1px solid var(--rule); padding-inline-start: 30px; }
.mp:first-child { border: 0; padding-inline-start: 0; }
.mp span { font-size: 12px; color: var(--mute); } .mp b { font: 400 24px/1.2 var(--latin); direction: ltr; } .mp i { margin-inline-start: auto; font-style: normal; }

/* life */
.life { background: var(--paper); }
.life-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.life-figure { margin: 0; position: sticky; inset-block-start: 12vh; aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; }
.life-figure img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.life-list { list-style: none; margin: 0; padding: 0; counter-reset: x; }
.life-list li { display: flex; gap: 22px; align-items: baseline; padding: 17px 0; border-block-end: 1px solid var(--rule); font: 400 clamp(18px, 1.6vw, 23px)/1.35 var(--serif); cursor: pointer; color: rgba(22,20,15,.4); transition: color .4s, padding .4s; }
.life-list li span { font: 350 13px var(--sans); color: var(--mute); inline-size: 26px; }
.life-list li.active, .life-list li:hover { color: var(--ink); padding-inline-start: 14px; }

/* location */
.location { position: relative; min-block-size: 110vh; display: grid; align-items: center; color: #fff; overflow: hidden; background: var(--sea); }
.loc-video { position: absolute; inset: -10% 0; inline-size: 100%; block-size: 120%; object-fit: cover; }
.loc-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,31,45,.15), rgba(13,31,45,.85)); }
.loc-inner { position: relative; padding-block: 120px; }
.loc-text { max-inline-size: 40ch; font-size: 18px; color: rgba(255,255,255,.85); }
.loc-nums { display: flex; gap: 64px; margin-block-start: 48px; flex-wrap: wrap; }
.loc-nums div { display: grid; gap: 8px; } .loc-nums b { font: 300 clamp(44px, 4.6vw, 72px)/1 var(--latin); direction: ltr; text-align: end; }
.loc-nums span { font-size: 14px; color: rgba(255,255,255,.75); }

/* future */
.future-grid { display: grid; grid-template-columns: .6fr 1.4fr; gap: 90px; align-items: center; }
.phone { aspect-ratio: 9/16; border-radius: 30px; overflow: hidden; box-shadow: 0 40px 100px rgba(13,31,45,.3); }
.phone video { inline-size: 100%; block-size: 100%; object-fit: cover; }
.architects { list-style: none; padding: 0; margin: 40px 0 0; }
.architects li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-block-start: 1px solid var(--rule); direction: ltr; }
.architects b { font: 400 19px var(--latin); } .architects span { color: var(--mute); font-size: 14px; }

/* invest */
.invest { background: var(--sea); color: #fff; }
.invest .label { color: rgba(255,255,255,.6); }
.inv-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgba(255,255,255,.18); }
.inv-grid div { padding: 36px 30px; display: grid; gap: 12px; border-inline-start: 1px solid rgba(255,255,255,.18); }
.inv-grid div:first-child { border: 0; padding-inline-start: 0; }
.inv-grid b { font: 300 clamp(40px, 4.4vw, 68px)/1 var(--latin); color: #e9cfa1; }
.inv-grid span { color: rgba(255,255,255,.78); }
.inv-perks { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.inv-perks li { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 12px 22px; font-size: 15px; }
.invest .source { color: rgba(255,255,255,.5); }

/* process */
.steps { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.steps li { border-block-start: 1px solid var(--ink); padding-block-start: 22px; }
.steps b { font: 300 32px/1 var(--latin); color: var(--sand); }
.steps h3 { font: 400 19px/1.3 var(--serif); margin: 14px 0 6px; } .steps p { margin: 0; font-size: 14px; color: #4a453c; }

/* about / contact */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: center; }
.about-grid img { mix-blend-mode: multiply; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.form { display: grid; gap: 22px; }
.form label { display: grid; gap: 8px; font-size: 13px; color: var(--mute); }
.form input, .form select { background: transparent; border: 0; border-block-end: 1px solid var(--ink); padding: 10px 0; font-size: 17px; }
.form input:focus, .form select:focus { outline: 0; border-color: var(--sand); }
.fine { font-size: 12px; color: var(--mute); margin: 0; }

/* footer */
.footer { background: var(--ink); color: var(--paper); padding-block-start: 70px; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.foot-links, .foot-lang { display: flex; gap: 26px; } .foot-lang a[aria-current] { color: #e3c79a; }
.disclaimer { color: rgba(248,245,239,.5); font-size: 12px; margin-block: 26px 0; }
.foot-word { font: 300 clamp(56px, 13vw, 230px)/.9 var(--latin); text-align: center; direction: ltr; letter-spacing: .12em; margin-block-start: 50px; padding-block-end: 20px; white-space: nowrap; }

.wa-float { position: fixed; z-index: 60; inset-block-end: 22px; left: 22px; inline-size: 58px; block-size: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: transform .3s, background .3s; }
.wa-float:hover { transform: scale(1.06); background: #1f8f52; }

/* Full-bleed photography: images run out to the screen edge on their side (both sides on phones).
   --bleed is the distance from the content column to the viewport edge. */
:root { --bleed: calc((100vw - min(1360px, 100vw - 2 * var(--pad))) / 2); }
.city-split figure, .pcard figure, .life-figure, .attr-card { border-radius: 0; }
.city-split figure, .pcard figure, .life-figure { margin-inline-start: calc(-1 * var(--bleed)); }
.pcard.rev figure { margin-inline-start: 0; margin-inline-end: calc(-1 * var(--bleed)); }
.attr-grid { margin-inline: calc(-1 * var(--bleed)); gap: 4px; }
@media (max-width: 1000px) {
  .city-split figure, .pcard figure, .pcard.rev figure, .life-figure { margin-inline: calc(-1 * var(--bleed)); }
}

/* interiors: a full-width render, then the story beside a second image that runs to the edge */
.interiors { background: var(--bg); }
.int-head { margin-block-end: 56px; }
.int-item + .int-item { margin-block-start: clamp(80px, 12vh, 140px); }
.int-main { margin: 0; aspect-ratio: 21/9; overflow: hidden; }
.int-main img, .int-second img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.int-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; margin-block-start: 48px; }
.int-second { margin: -150px 0 0; margin-inline-end: calc(-1 * var(--bleed)); aspect-ratio: 4/3; overflow: hidden; position: relative; }
.int-item.rev .int-body { order: 2; } .int-item.rev .int-second { margin-inline: calc(-1 * var(--bleed)) 0; }
.int-body h3 { font: 400 clamp(26px, 2.4vw, 36px)/1.2 var(--serif); margin: 0 0 16px; }
.int-body p:not(.pc-n) { color: #3c3830; margin: 0 0 26px; max-inline-size: 52ch; }

/* FAQ */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-list details { border-block-end: 1px solid var(--rule); }
.faq-list details:first-child { border-block-start: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  font: 400 clamp(20px, 1.8vw, 26px)/1.35 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font: 300 28px/1 var(--latin); color: var(--sand); transition: transform .35s; flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 28px; max-inline-size: 56ch; font-size: 18px; color: #3c3830; }

@media (max-width: 1000px) {
  .int-main { aspect-ratio: 4/3; }
  .int-row, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .int-second, .int-item.rev .int-second { margin: 0 calc(-1 * var(--bleed)); }
  .int-item.rev .int-body { order: 0; }
}

/* legal pages (privacy, terms, accessibility statement) */
.legal-page .site-header { mix-blend-mode: normal; color: var(--ink); background: rgba(242,237,228,.92); backdrop-filter: blur(8px); grid-template-columns: 1fr auto; }
.legal-page .brand { grid-column: 1; }
.legal { padding-block: 140px 100px; max-inline-size: 820px; }
.legal .label a { border-block-end: 1px solid currentColor; }
.legal h1 { margin-block-end: 12px; }
.legal-date { color: var(--mute); font-size: 14px; margin: 0 0 40px; }
.legal h2 { font: 400 clamp(22px, 2vw, 28px)/1.3 var(--serif); margin: 44px 0 12px; }
.legal p, .legal li { color: #3c3830; }
.legal ul { padding-inline-start: 22px; } .legal li { margin-block-end: 8px; }
.legal p a { border-block-end: 1px solid currentColor; }
.foot-links a[aria-current] { color: #e3c79a; }

/* language switcher (header): HE · EN · RU, the current one underlined */
.langs { display: flex; gap: 12px; direction: ltr; font: 400 13px/1 var(--latin); letter-spacing: .08em; }
.langs a { opacity: .6; transition: opacity .3s; } .langs a:hover { opacity: 1; }
.langs a[aria-current] { opacity: 1; border-block-end: 1px solid currentColor; padding-block-end: 3px; }

/* English and Russian pages (left to right) */
[dir="ltr"] .pcard h3, [dir="ltr"] .loc-nums b { text-align: start; }
[dir="ltr"] .arrow::after { content: ' →'; }
[dir="ltr"] .wa-float { left: auto; right: 22px; }
[dir="ltr"] .ld-logo { transform: translate(-50%, -50%); }
[dir="ltr"] .ld-count { left: auto; right: 4vw; } [dir="ltr"] .ld-bar { right: auto; left: 4vw; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .site-header { grid-template-columns: auto 1fr auto; } .brand { grid-column: 2; text-align: center; }
  .city-split, .pcard, .pcard.rev, .life-grid, .future-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .pcard.rev figure { order: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .life-figure { position: relative; inset-block-start: 0; aspect-ratio: 16/11; }
  .phone { max-inline-size: 300px; }
}
@media (max-width: 1000px) {
  .attr-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 320px; }
  .attr-card.tall { grid-row: span 2; } .attr-card:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 760px) {
  /* the clips carry Instagram captions near the top: soften that band on phones */
  .vhero .hero-vignette { background: linear-gradient(to bottom, rgba(8,10,14,.85), rgba(8,10,14,.55) 38%, transparent 55%, rgba(8,10,14,.7)); }
  .vhero .hero-meta { display: none; }
  .film { block-size: 340vh; }
  .attr-grid { grid-template-columns: 1fr; grid-auto-rows: 380px; } .attr-card.tall { grid-row: span 1; block-size: 520px; } .attr-card:nth-child(4) { grid-column: auto; }
  .header-actions .wa-link { display: none; }
  .hero { block-size: 340vh; }
  .hero-meta { flex-direction: column; gap: 10px; inset-block-start: 12vh; }
  .for-words, .inv-grid, .more-projects { grid-template-columns: 1fr; }
  .fw, .inv-grid div, .mp { border-inline-start: 0 !important; padding-inline-start: 0 !important; border-block-start: 1px solid var(--rule); }
  .steps { grid-template-columns: 1fr; }
  .loc-nums { gap: 36px; }
  .wa-float { inset-block-end: 64px; }
}

/* ===== QA pass (Nov 2026): phones of every size, iOS and Android ===== */
/* no sideways scrolling anywhere (clip keeps position: sticky working, unlike hidden) */
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* finger-sized tap areas (44px) without changing the look */
.menu-btn, .langs a, .brand, .arrow { position: relative; }
.menu-btn::after, .langs a::after, .brand::after { content: ''; position: absolute; inset: -12px -6px; }
.arrow::after { content: ' ←'; }
[dir="ltr"] .arrow::after { content: ' →'; }
.arrow { display: inline-block; padding-block: 10px 4px; }

/* menu: scrolls when it is taller than the screen (landscape phones), hidden from keyboards and screen readers when closed */
.menu-panel { display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding-block: 90px 40px; visibility: hidden; transition: clip-path .9s cubic-bezier(.77,0,.18,1), visibility 0s linear .9s; }
.menu-panel a:first-child { margin-block-start: auto; } .menu-panel a:last-child { margin-block-end: auto; }
body.menu-open .menu-panel { visibility: visible; transition: clip-path .9s cubic-bezier(.77,0,.18,1); }
@media (max-width: 760px) { .menu-panel { font-size: 26px; line-height: 1.55; padding-inline: 28px; } }

/* header on phones and tablets: once the page scrolls, a calm ivory bar so text never collides with it */
@media (max-width: 1000px) {
  .site-header { transition: background-color .4s, padding .4s, color .4s, box-shadow .4s; }
  .site-header.scrolled { mix-blend-mode: normal; color: var(--ink); background: rgba(242,237,228,.94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding-block: 12px; box-shadow: 0 1px 0 var(--rule); }
  body.menu-open .site-header { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* small phones (iPhone SE, small Androids): everything in the header fits */
@media (max-width: 420px) {
  .site-header { gap: 12px; padding-inline: 16px; }
  .brand { font-size: 16px; letter-spacing: .3em; }
  .langs { gap: 10px; }
  .num-table th, .num-table td { padding: 18px 4px; }
  .num-table td { font-size: clamp(28px, 9vw, 40px); }
  .num-table tbody th { font-size: 18px; overflow-wrap: anywhere; hyphens: auto; }
}
@media (max-width: 360px) {
  .menu-btn span { display: none; }
  .menu-btn { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-block-size: 24px; }
  .menu-btn i + i { display: block; }
}
/* phones held sideways: the opening logo is the brand, so the header one steps aside while at the top */
@media (max-height: 500px) and (orientation: landscape) {
  .site-header:not(.scrolled) .brand { opacity: 0; pointer-events: none; }
  .menu-panel { font-size: 22px; line-height: 1.5; padding-block: 70px 30px; }
}

/* attraction clips: keep their burned-in Instagram marks (top of frame) out of view */
.attr-card video { object-position: center 72%; }

/* WhatsApp button stays visible over the dark footer; the footer leaves room for the floating buttons */
.wa-float { border: 2px solid rgba(255,255,255,.85); }
@media (max-width: 760px) { .footer { padding-block-end: 110px; } }

/* if the animation library could not load (blocked network, offline cache), the site still shows as a plain page */
.no-motion-lib .vh-present { opacity: 1; }
.no-motion-lib .vh-brand { display: none; }
.no-motion-lib .film { display: none; }
