/* ---------- smooth scroll (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- brand fonts ---------- */

/* ---------- tokens ---------- */
:root {
  --bg:       #E7D6C2;
  --ink:      #142841;
  --ink-2:    #684736;
  --muted:    #9B8979;
  --line:     rgba(20,40,65,.16);
  --line-2:   rgba(20,40,65,.07);
  --accent:   #4F0101;
  --accent-ink: #E7D6C2;
  --accent-2: #798DA6;
  --brown:    #684736;
  --card:     #F1E4D5;
  --gold:     #C6A15B;
  --wall:     #2E060F;

  /* Headings & body: Amiri. */
  --display: 'Amiri', 'Instrument Serif', serif;
  --body:    'Amiri', ui-serif, Georgia, serif;
  --mono:    'Amiri', ui-serif, Georgia, serif;

  --pad-x: clamp(20px, 4vw, 80px);
  --section-gap: clamp(64px, 7vw, 110px);
  --maxw: 1440px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* type pairings (set on body via data-attr) */
body[data-type="editorial"] {
  --display: 'Amiri', 'Instrument Serif', serif;
  --body:    'Amiri', ui-serif, Georgia, serif;
  --mono:    'Amiri', ui-serif, Georgia, serif;
}
body[data-type="tech"] {
  --display: 'Amiri', system-ui, sans-serif;
  --body:    'Amiri', ui-serif, Georgia, serif;
  --mono:    'Amiri', ui-monospace, monospace;
}

/* density */
body[data-density="compact"]  { --section-gap: clamp(56px, 7vw, 110px); --pad-x: clamp(16px, 3vw, 56px); }
body[data-density="comfy"]    { --section-gap: clamp(110px, 14vw, 220px); --pad-x: clamp(28px, 6vw, 120px); }

/* ---------- base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: #fbf8f3; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: #fbf8f3;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section { padding-top: var(--section-gap); padding-bottom: 0; }
.section:last-of-type { padding-bottom: var(--section-gap); }

.eyebrow {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.h-display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: .92;
  margin: 0;
  text-wrap: balance;
}
body[data-type="editorial"] .h-display { font-weight: 400; letter-spacing: -0.01em; }

/* ---------- language switch ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 60%, transparent);
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
  min-width: 36px;
  line-height: 1;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[data-on="1"] {
  background: var(--ink);
  color: var(--bg);
}

/* RTL adjustments — let dir="rtl" do the heavy lifting via flex/grid;
   only fix things that don't auto-flip. */
[dir="rtl"] body { font-family: var(--body-rtl, 'Amiri', var(--body)); }
[dir="rtl"] {
  --body-rtl: 'Amiri', ui-serif, Georgia, serif;
}
[dir="rtl"] .h-display,
[dir="rtl"] .hero h1,
[dir="rtl"] .section-head h2,
[dir="rtl"] .contact-shell h2,
[dir="rtl"] .footer .big,
[dir="rtl"] .hg-headline h1,
[dir="rtl"] .tier .name,
[dir="rtl"] .tier .price,
[dir="rtl"] .city-head h2 {
  font-family: 'Amiri', var(--display);
  font-weight: 700;
  letter-spacing: 0;
}
[dir="rtl"] .h-display em,
[dir="rtl"] .hero h1 em,
[dir="rtl"] .section-head h2 em,
[dir="rtl"] .contact-shell h2 em,
[dir="rtl"] .footer .big em,
[dir="rtl"] .city-head h2 em,
[dir="rtl"] .about .lead em,
[dir="rtl"] .hg-headline h1 em {
  font-family: 'Amiri', 'Instrument Serif', serif;
  font-style: normal;
  font-weight: 700;
}
[dir="rtl"] .eyebrow,
[dir="rtl"] .hero-meta,
[dir="rtl"] .hero-foot,
[dir="rtl"] .nav-links,
[dir="rtl"] .section-head p,
[dir="rtl"] .city-head .right,
[dir="rtl"] .city-stage .labels,
[dir="rtl"] .city-legend,
[dir="rtl"] .service .num,
[dir="rtl"] .service .tags,
[dir="rtl"] .tier .from,
[dir="rtl"] .tier .badge-row,
[dir="rtl"] .contact-list,
[dir="rtl"] .form .field label,
[dir="rtl"] .footer h4,
[dir="rtl"] .footer-bot {
  font-family: 'Amiri', var(--mono);
  letter-spacing: 0;
  text-transform: none;
}
[dir="rtl"] .logo-mark,
[dir="rtl"] .lang-switch button { font-family: 'Amiri', var(--mono); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translate(2px,-2px); }
[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { gap: 28px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: #fbf8f3;
  border-bottom: 1px solid var(--line-2);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav-end {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.logo {
  display: inline-flex; align-items: center;
  line-height: 0;
}
.logo img {
  height: 56px; width: auto; display: block;
  /* If the site has a dark theme, invert the logo so it stays visible */
}
/* Logo inversion is driven solely by the nav's data-on-dark state
   (see .nav[data-on-dark] .logo img). A global theme-dark invert would
   turn the black logo white over the light page too, so it's intentionally
   NOT applied here. */
.nav-links { display: flex; gap: 28px; font-size: 16px; }
.nav-links a {
  color: var(--ink-2);
  position: relative;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* nav adapts while over the dark museum hero */
.nav[data-on-dark] {
  background: rgba(26,5,11,.58);
  border-bottom-color: rgba(231,214,194,.12);
}
.nav[data-on-dark] .logo img { filter: invert(1) brightness(1.7); }
.nav[data-on-dark] .nav-links a { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.nav[data-on-dark] .nav-links a:hover { color: var(--bg); }
.nav[data-on-dark] .nav-links a::after { background: var(--gold); }
.nav[data-on-dark] .nav-burger span { background: var(--bg); }
.nav[data-on-dark] .btn {
  background: var(--gold); border-color: var(--gold); color: #241009;
}
.nav[data-on-dark] .btn:hover {
  background: color-mix(in srgb, var(--gold) 82%, #fff);
  border-color: color-mix(in srgb, var(--gold) 82%, #fff);
  color: #241009;
}
.nav[data-on-dark] .lang-switch { border-color: rgba(231,214,194,.28); background: rgba(231,214,194,.06); }
.nav[data-on-dark] .lang-switch button { color: color-mix(in srgb, var(--bg) 62%, transparent); }
.nav[data-on-dark] .lang-switch button:hover { color: var(--bg); }
.nav[data-on-dark] .lang-switch button[data-on="1"] { background: var(--gold); color: #241009; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: 999px;
  font-size: 16px; font-weight: 500;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg);
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease);
  font-family: var(--body);
}
.btn:hover { transform: translateY(-1px); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translate(2px,-2px); }

.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.accent:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- hero shared ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 14px; color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero-cta {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  margin-top: 36px;
}

.hero-foot {
  margin-top: 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 14px;
  color: var(--muted); text-transform: uppercase; letter-spacing: .1em;
}
.hero-foot strong { color: var(--ink); font-weight: 500; }

/* hero v1: manifesto — dark oxblood museum gallery wall */
.hero-manifesto {
  isolation: isolate;
  color: var(--bg);
}
.hero-manifesto::before {
  content: "";
  position: absolute;
  top: -68px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  bottom: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(18,3,7,.72) 0, rgba(18,3,7,.34) 120px, rgba(18,3,7,0) 300px),
    radial-gradient(120% 90% at 50% 14%, rgba(46,6,15,.20), rgba(20,3,8,.74) 100%),
    url('assets/hero-damask-v2.png') center/cover no-repeat,
    var(--wall);
}
/* tactile seam: the paper document layer peels back with a deckled edge,
   casting a soft shadow onto the velvet gallery wall it reveals */
.tone-seam {
  position: absolute;
  top: -74px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 196px;
  z-index: 3;
  pointer-events: none;
}
.tone-seam::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(238,228,205,.52), rgba(238,228,205,.52)), url('assets/folder-paper.png');
  background-size: cover;
  background-position: center bottom;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='118' preserveAspectRatio='none' viewBox='0 0 1200 118'%3E%3Cpath d='M0,0 H1200 V70 C1128,90 1092,64 1016,80 C940,96 900,70 820,84 C744,97 704,72 620,86 C540,99 500,74 416,88 C336,101 296,76 212,86 C132,95 92,74 0,84 Z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='118' preserveAspectRatio='none' viewBox='0 0 1200 118'%3E%3Cpath d='M0,0 H1200 V70 C1128,90 1092,64 1016,80 C940,96 900,70 820,84 C744,97 704,72 620,86 C540,99 500,74 416,88 C336,101 296,76 212,86 C132,95 92,74 0,84 Z' fill='%23000'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  filter: drop-shadow(0 6px 10px rgba(12,2,5,.55));
}
/* a faint warm rim on the torn edge, as if the paper catches light */
.tone-seam::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0, rgba(255,241,214,.5) 100%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='118' preserveAspectRatio='none' viewBox='0 0 1200 118'%3E%3Cpath d='M0,0 H1200 V70 C1128,90 1092,64 1016,80 C940,96 900,70 820,84 C744,97 704,72 620,86 C540,99 500,74 416,88 C336,101 296,76 212,86 C132,95 92,74 0,84 Z' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='118' preserveAspectRatio='none' viewBox='0 0 1200 118'%3E%3Cpath d='M0,0 H1200 V70 C1128,90 1092,64 1016,80 C940,96 900,70 820,84 C744,97 704,72 620,86 C540,99 500,74 416,88 C336,101 296,76 212,86 C132,95 92,74 0,84 Z' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  opacity: .7;
}
/* soft seam so the wall dissolves into the cream page below */
.hero-manifesto::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100vw;
  height: 140px;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(251,248,243,0), #fbf8f3);
}

/* hero v2: IDENTITY — navy scrapbook poster (matches reference) */
.hero-identity {
  isolation: isolate;
  position: relative; left: 50%; right: 50%;
  width: 100vw; margin-left: -50vw; margin-right: -50vw;
  background: #142841; color: #ece0c6;
  padding: clamp(30px,4vw,70px) 0;
  overflow: hidden;
}
.id-stage {
  position: relative;
  width: 100%; max-width: 1680px; margin: 0 auto;
  aspect-ratio: 1440 / 810;
  container-type: inline-size;
}
.id-over {
  position: absolute; left: 6.1%; top: 14.5%; margin: 0;
  font-size: 3.4cqw; line-height: 1; font-style: normal;
  letter-spacing: -.005em; color: #ece0c6; z-index: 3;
}
.id-word {
  position: absolute; left: 5.5%; top: 20.5%; margin: 0;
  font-size: 8.5cqw; line-height: .82; font-weight: 700;
  letter-spacing: .005em; text-transform: uppercase;
  color: #ece0c6; z-index: 3; pointer-events: none;
}
/* phone cluster, top-right — Samineh sits inside the front phone's black screen */
.id-phone-cluster {
  position: absolute; left: 53%; top: 13%;
  width: 40%; z-index: 2;
  filter: drop-shadow(0 26px 46px rgba(0,0,0,.4));
}
.id-screen {
  position: absolute; left: 1.6%; top: 1.6%; width: 43.8%; height: 96.8%;
  background: #142841; border-radius: 9%/4.2%;
  overflow: hidden; z-index: 1;
}
.id-screen img {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 134%; height: auto; display: block;
}
.id-phones-img { position: relative; display: block; width: 100%; height: auto; z-index: 2; }
/* three folder-shaped label cards */
.id-labels { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.id-label {
  position: absolute; width: 16.5%; top: 44%;
  color: #142841;
  font-size: 1.55cqw; line-height: 1.15; font-weight: 600; text-align: center;
}
.id-label img { display: block; width: 100%; height: auto; }
.id-label .idl {
  position: absolute; left: 15%; right: 6%; top: 44%; height: 32%;
  display: flex; align-items: center; justify-content: center;
}
.id-label-0 { left: 4.5%; }
.id-label-1 { left: 20.5%; }
.id-label-2 { left: 36.5%; }
.id-foot {
  position: absolute; left: 6.1%; top: 76.5%; z-index: 5;
}
.id-foot-lead { display: block; font-family: 'Open Sauce One', sans-serif; font-weight: 300; font-size: 1.3cqw; letter-spacing: .02em; color: #ece0c6; }
.id-foot-sub { display: block; margin-top: .55em; font-family: 'Open Sauce One', sans-serif; font-weight: 300; font-size: 1.3cqw; letter-spacing: .02em; color: #ece0c6; }
.id-foot-dot { margin: 0 .55em; }
.id-site {
  position: absolute; left: 72.6%; top: 90.5%; z-index: 5;
  font-weight: 600;
  font-size: 1.1cqw; letter-spacing: .04em;
  color: #ece0c6; text-decoration: none;
}
.id-site:hover { color: #fff; }
@media (max-width: 760px) {
  .hero-identity { width: 100%; left: 0; right: 0; margin-left: 0; margin-right: 0; padding-left: 22px; padding-right: 22px; }
  .id-stage { aspect-ratio: auto; container-type: normal; }
  .id-over, .id-word, .id-phone-cluster, .id-labels, .id-label, .id-foot, .id-site { position: static; transform: none; inset: auto; }
  .id-over { font-size: 18px; }
  .id-word { font-size: min(17vw, 76px); line-height: .9; margin: .1em 0 .3em; word-break: break-word; }
  .id-phone-cluster { width: 78%; margin: 18px auto 8px; }
  .id-screen { position: absolute; }
  .id-labels { position: static; display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 26px 0; }
  .id-label { position: relative; width: calc(50% - 10px); font-size: 15px; }
  .id-label .idl { position: absolute; }
  .id-foot { margin-top: 10px; }
  .id-foot-lead { font-size: 15px; } .id-foot-sub { font-size: 13px; }
  .id-site { display: inline-block; margin-top: 14px; font-size: 13px; }
}
.hero-manifesto h1 {
  font-size: clamp(56px, 9vw, 160px);
  color: var(--bg);
}
.hero-manifesto h1 em {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
}
.hero-manifesto .lead {
  margin-top: 32px;
  font-size: clamp(18px, 1.6vw, 22px);
  max-width: 560px;
  color: color-mix(in srgb, var(--bg) 78%, transparent);
  line-height: 1.45;
}
.hero-manifesto .hero-meta {
  color: color-mix(in srgb, var(--bg) 62%, transparent);
  margin-top: 20px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-family: 'Parastoo', var(--mono);
  letter-spacing: .04em;
  text-transform: none;
}
.hero-manifesto .hero-meta .dot { background: var(--gold); }
.hero-manifesto .hero-foot {
  border-top-color: rgba(231,214,194,.18);
  color: color-mix(in srgb, var(--bg) 55%, transparent);
}
.hero-manifesto .hero-foot strong { color: var(--bg); }
/* CTAs on the dark wall */
.hero-manifesto .btn.accent {
  background: var(--gold);
  border-color: var(--gold);
  color: #241009;
}
.hero-manifesto .btn.accent:hover {
  background: color-mix(in srgb, var(--gold) 82%, #fff);
  border-color: color-mix(in srgb, var(--gold) 82%, #fff);
  color: #241009;
}
.hero-manifesto .btn.ghost {
  color: var(--bg);
  border-color: rgba(231,214,194,.42);
  background: transparent;
}
.hero-manifesto .btn.ghost:hover {
  background: var(--bg);
  color: var(--wall);
  border-color: var(--bg);
}
.hero-manifesto .manifesto-photo figcaption {
  color: color-mix(in srgb, var(--bg) 62%, transparent);
}
.hero-manifesto .manifesto-photo .gw-frame {
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.55));
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.manifesto-text { min-width: 0; }
.manifesto-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  align-self: stretch;
  justify-content: flex-end;
}
.manifesto-photo img {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 26px 34px rgba(0,0,0,.22));
}
/* gallery wall: four gilded frames hung, non-overlapping, varied sizes */
.manifesto-photo .gallery-wall {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  aspect-ratio: 100 / 112;
}
.manifesto-photo .gw-item { position: absolute; }
.manifesto-photo .gw-frame {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.34));
}
.manifesto-photo .gw-item image-slot {
  position: absolute;
  width: auto;
  height: auto;
  z-index: 1;
}
.manifesto-photo .gw-item image-slot::part(empty) {
  background: #1a0509 !important;
}
/* placements — salon cluster, matched to reference composition */
.manifesto-photo .gw-a { left: 0.7%;  top: 1%;  width: 40%;   z-index: 2; }
.manifesto-photo .gw-b { left: 44%; top: -3%;   width: 56%; z-index: 1; }
.manifesto-photo .gw-d { left: 0%;    top: 48.6%; width: 42.6%; z-index: 1; }
.manifesto-photo .gw-e { left: 46.3%; top: 65%; width: 53.4%; z-index: 3; }
/* per-frame window insets: top right bottom left — photo underlaps the gold
   border slightly so no page background peeks through at the inner edge */
.manifesto-photo .gw-a image-slot { inset: 14% 18% 13.5% 17.5%; }
.manifesto-photo .gw-b image-slot { inset: 14.3% 18.3% 13.2% 18%; }
.manifesto-photo .gw-d image-slot { inset: 8% 12.5% 8% 12.5%; }
.manifesto-photo .gw-e image-slot { inset: 17% 14% 17% 14%; }
.manifesto-photo figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.manifesto-photo figcaption .cap-rule {
  flex: 0 0 24px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
@media (max-width: 900px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .manifesto-photo {
    max-width: 420px;
  }
  .manifesto-photo img {
    aspect-ratio: auto;
  }
}

/* hero v2: split */
.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero-split h1 { font-size: clamp(48px, 7.5vw, 130px); }
.hero-split .lead {
  margin-top: 24px; font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-2); max-width: 480px;
}
.portrait-card {
  aspect-ratio: 4/5;
  border-radius: 20px;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.portrait-card .badge {
  align-self: flex-start;
  font-family: var(--mono); font-size: 13px;
  text-transform: uppercase; letter-spacing: .12em;
  background: var(--accent); color: var(--accent-ink);
  padding: 6px 10px; border-radius: 999px;
}
.portrait-card .placeholder {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,85,48,.18) 0 2px, transparent 2px 12px),
    radial-gradient(circle at 70% 30%, rgba(255,85,48,.6), transparent 55%);
  z-index: 0;
}
.portrait-card > * { position: relative; z-index: 1; }
.portrait-card .pf {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.portrait-card .pf small {
  display: block;
  font-family: var(--mono); font-size: 13px; text-transform: uppercase;
  letter-spacing: .14em; opacity: .7; margin-top: 14px; font-weight: 400;
}

/* hero v3: marquee */
.hero-marquee h1 {
  font-size: clamp(56px, 9vw, 170px);
  text-align: center;
}
.hero-marquee h1 em {
  font-family: 'Instrument Serif', serif;
  font-weight: 400; font-style: italic; color: var(--accent);
}
.hero-marquee .lead {
  text-align: center; max-width: 580px; margin: 28px auto 0;
  font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2);
}
.hero-marquee .hero-cta { justify-content: center; }
.marquee {
  margin-top: 56px;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; gap: 56px;
  white-space: nowrap;
  animation: marq 30s linear infinite;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
body[data-anim="low"] .marquee-track { animation-duration: 60s; }
body[data-anim="off"] .marquee-track { animation: none; }
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after {
  content: "✺"; color: var(--accent); font-size: .7em;
}
@keyframes marq {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* hero v4: animated mark */
.hero-mark {
  text-align: center;
  position: relative;
}
.hero-mark .glyph {
  width: clamp(180px, 22vw, 320px);
  height: clamp(180px, 22vw, 320px);
  margin: 0 auto 40px;
  position: relative;
}
.hero-mark .glyph .blob {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(0px);
  animation: morph 12s var(--ease) infinite;
}
.hero-mark .glyph .ring {
  position: absolute; inset: -12%;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}
.hero-mark .glyph .ring::before {
  content: "✺"; position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg); padding: 0 8px;
  font-size: 20px; color: var(--accent);
}
.hero-mark .glyph .star {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 90px);
  font-weight: 700;
  color: var(--accent-ink);
  letter-spacing: -0.04em;
  mix-blend-mode: difference;
  filter: invert(1);
}
body[data-anim="off"] .hero-mark .glyph .blob,
body[data-anim="off"] .hero-mark .glyph .ring { animation: none; }
body[data-anim="low"] .hero-mark .glyph .blob { animation-duration: 24s; }
body[data-anim="low"] .hero-mark .glyph .ring { animation-duration: 56s; }
@keyframes morph {
  0%,100% { border-radius: 50% 50% 50% 50%; transform: rotate(0deg); }
  33% { border-radius: 62% 38% 55% 45% / 50% 60% 40% 50%; transform: rotate(120deg); }
  66% { border-radius: 40% 60% 35% 65% / 60% 40% 60% 40%; transform: rotate(240deg); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.hero-mark h1 { font-size: clamp(56px, 8vw, 140px); }
.hero-mark h1 em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--accent); }
.hero-mark .lead {
  max-width: 580px; margin: 28px auto 0; text-align: center;
  font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2);
}
.hero-mark .hero-cta { justify-content: center; }

/* hero v5: editorial grid */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 16px;
}
.hg-cell { border-radius: 18px; overflow: hidden; position: relative; padding: 24px; }
.hg-headline { grid-column: 1 / span 8; grid-row: 1 / span 2;
  background: var(--ink); color: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
}
.hg-headline h1 {
  font-size: clamp(44px, 6.4vw, 110px);
  font-family: var(--display); line-height: .9; letter-spacing: -0.025em;
  margin: 0; font-weight: 600;
}
.hg-headline h1 em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--accent); }
.hg-headline .meta {
  font-family: var(--mono); font-size: 14px;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.55);
  display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 18px;
}
.hg-stat { grid-column: 9 / span 4; grid-row: 1;
  background: var(--accent); color: var(--accent-ink);
  display: flex; flex-direction: column; justify-content: space-between;
}
.hg-stat .num {
  font-family: var(--display); font-size: clamp(48px, 5vw, 88px);
  letter-spacing: -0.04em; line-height: 1; font-weight: 600;
}
.hg-stat .lbl { font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.hg-quote { grid-column: 9 / span 4; grid-row: 2;
  background: var(--card); color: var(--ink-2); font-style: italic;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: 'Instrument Serif', serif; font-size: 22px; line-height: 1.3;
}
.hg-quote .who { font-family: var(--mono); font-style: normal; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hg-cta { grid-column: 1 / span 12; grid-row: 3;
  background: var(--card);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.hg-cta p { margin: 0; font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); max-width: 540px; }

/* ---------- services ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 80px);
  margin-top: 12px;
}
.section-head h2 em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--accent); }
.section-head p {
  max-width: 420px; margin: 0;
  font-size: 18px; color: var(--ink-2);
  text-align: left;
  justify-self: end;
}

/* ── services as file folders ── */
.folders {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 42px;
  /* full-bleed: extend the cabinet to the screen edges */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}
.folder-photo {
  position: absolute;
  top: -34px;
  right: 34px;
  width: clamp(150px, 15vw, 208px);
  height: auto;
  z-index: 7;
  pointer-events: none;
  transform: rotate(3deg);
  filter: drop-shadow(0 16px 24px rgba(20,15,8,.3));
}
.folder {
  --fc: #bcdcab;
  --tab-x: 1%;
  --paper-tint: rgba(238,228,205,.52);
  position: relative;
  background: linear-gradient(var(--paper-tint), var(--paper-tint)), url('assets/folder-paper.png');
  background-size: cover;
  background-position: center;
  color: var(--ink);
  border-radius: 0;
  border: none;
  margin-top: -14px;
  padding: 0 var(--pad-x) 22px;
  cursor: pointer;
  box-shadow: 0 -12px 26px -20px rgba(30,20,10,.5);
  transition: background .4s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.folder:first-child { margin-top: 0; }
/* protruding, chunky folder tab carrying the title */
.folder-lip {
  display: block;
  position: relative;
  width: fit-content;
  margin: -34px 0 4px var(--tab-x);
  max-width: min(46%, 460px);
  padding: 16px 34px 14px;
  background: linear-gradient(var(--paper-tint), var(--paper-tint)), url('assets/folder-paper.png');
  background-size: 260px;
  background-position: 40% 30%;
  /* organic, hand-painted tab: rounded shoulders arching up */
  border-radius: 34px 30px 4px 4px / 48px 42px 4px 4px;
  box-shadow: 0 -9px 18px -12px rgba(30,20,10,.42);
  transition: background .4s var(--ease);
}
/* paper clip hooked over the first folder's tab */
.folder-clip {
  position: absolute;
  top: -48px;
  right: 26px;
  width: 40px;
  height: auto;
  z-index: 6;
  pointer-events: none;
  transform: rotate(3deg);
  filter: drop-shadow(0 3px 4px rgba(20,15,8,.3));
}
.folder.f1 { --tab-x: 1%; }
/* full guide: always open + a touch bigger */
.folder.f4 { padding-bottom: 64px; }
.folder.f4 .folder-body {
  max-height: 420px;
  opacity: 1;
  transform: none;
  padding-top: 6px;
}
.folder.f4 .folder-lip .folder-title { font-size: clamp(24px, 2.2vw, 32px); }
.folder.f2 { --tab-x: 26%; }
.folder.f3 { --tab-x: 51%; }
.folder.f4 { --tab-x: 74%; }
body[data-anim="off"] .folder { transition: background .3s; }
.folder:hover,
.folder:focus-within {
  --paper-tint: rgba(188,220,171,.55);
  transform: translateY(-6px);
  z-index: 4;
  box-shadow: 0 30px 52px -26px rgba(30,20,10,.55);
  outline: none;
}
body[data-anim="off"] .folder:hover,
body[data-anim="off"] .folder:focus-within { transform: none; }

.folder-tab { display: none; }
.folder-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.folder:hover .folder-num,
.folder:focus-within .folder-num { color: rgba(20,40,65,.62); }
.folder-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
  letter-spacing: -.015em;
  font-weight: 600;
}
.folder-title em {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  color: var(--accent);
}

.folder-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height .55s cubic-bezier(.22,.8,.24,1),
              opacity .38s var(--ease),
              transform .5s var(--ease),
              padding .5s var(--ease);
}
.folder:hover .folder-body,
.folder:focus-within .folder-body {
  max-height: 380px;
  opacity: 1;
  transform: none;
  padding-top: 6px;
}
body[data-anim="off"] .folder-body { transition: max-height .3s, opacity .3s; }
.folder-body p {
  margin: 0;
  max-width: 62ch;
  font-size: 17px; line-height: 1.55;
  color: var(--ink-2);
}
.folder:hover .folder-body p,
.folder:focus-within .folder-body p { color: rgba(20,40,65,.84); }

.folder .tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 20px;
  font-family: var(--mono); font-size: 13px;
  text-transform: uppercase; letter-spacing: .1em;
}
.folder .tags span {
  border: 1px solid rgba(20,40,65,.22);
  padding: 4px 10px; border-radius: 999px;
}
.folder .svc-logos {
  margin-top: 22px;
  padding-top: 0;
}

/* folder accent colors */
.folder.f1 { --fc: #bcdcab; }  /* green  */
.folder.f2 { --fc: #bccfe8; }  /* blue   */
.folder.f3 { --fc: #eddbb6; }  /* cream  */
.folder.f4 { --fc: #ddccec; }  /* lavender */

/* service visuals — placeholder svgs */
.svc-shape-1 { background: conic-gradient(from 30deg, var(--accent-2), transparent 60%, var(--accent-2)); border-radius: 50%; }
.svc-shape-2 { background: var(--accent-2); border-radius: 50%; transform: rotate(-12deg) translateX(-10px); }
/* Persian (RTL): hide the two circular service shapes per request */
[dir="rtl"] .svc-shape-1,
[dir="rtl"] .svc-shape-2,
[dir="rtl"] .svc-shape-3,
[dir="rtl"] .svc-shape-4 { display: none; }
.svc-shape-3 {
  background:
    repeating-linear-gradient(45deg, var(--accent-2) 0 4px, transparent 4px 14px);
  border-radius: 28px;
}
.svc-shape-4 {
  background: var(--accent-2);
  border-radius: 50%;
  position: relative;
}
.svc-shape-4::before {
  content: ""; position: absolute; inset: 18%;
  background: var(--bg); border-radius: 50%;
}
.svc-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 4px 0 0;
  margin-top: auto;
  padding-top: 28px;
  color: var(--ink);
  opacity: .78;
}
.svc-logos svg {
  width: 24px;
  height: 24px;
  display: block;
}
.svc-logos-brand {
  opacity: 1;
}
.svc-logos-brand svg {
  width: 38px;
  height: 38px;
}
.svc-logos-light {
  color: var(--bg);
  opacity: .9;
}
.svc-logos-img {
  gap: 14px;
  opacity: 1;
}
.svc-logos-img img {
  height: 40px;
  width: auto;
  display: block;
}
.svc-logos-img img.logo-yt {
  height: 28px;
}

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.about .lead {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.about .lead em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--accent); }
.about .body p {
  font-size: 17px; color: var(--ink-2); line-height: 1.6;
  margin: 0 0 18px;
}
.about-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.about-list .row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  font-family: var(--mono); font-size: 15px;
}
.about-list .row .k { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.about-list .row .v { font-family: var(--body); color: var(--ink); font-size: 18px; }
.about-list .row .x { color: var(--accent); font-size: 18px; }

/* ---------- quote band ---------- */
.quote-band {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: var(--accent-ink);
  margin-top: clamp(32px, 5vw, 72px);
  padding: clamp(96px, 16vw, 220px) 24px;
  display: flex;
  justify-content: center;
  isolation: isolate;
}
/* quote band promoted to the homepage hero — fills the first screen */
.quote-band--hero {
  margin-top: 0;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  padding-top: clamp(140px, 20vh, 240px);
  padding-bottom: clamp(96px, 14vh, 200px);
}
/* full-bleed background video (Dior/Chanel style) */
.quote-band-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* warm, restrained grade so footage reads as part of the brand */
  filter: saturate(0.85) contrast(1.02) brightness(0.9);
}
/* if the video file is absent, hide the element and let the oxblood show */
.quote-band-video.is-missing { display: none; }
/* dark scrim keeps the text legible over any footage */
.quote-band-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(40,0,0,0.42) 0%, rgba(25,0,0,0.22) 45%, rgba(40,0,0,0.48) 100%),
    radial-gradient(120% 90% at 50% 50%, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.4) 100%);
}
.quote-band-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  text-align: center;
}
.quote-band-text {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.005em;
  font-size: clamp(30px, 5vw, 68px);
  text-wrap: balance;
}
.quote-band-text::before { content: "\201C"; }
.quote-band-text::after { content: "\201D"; }
.quote-band-who {
  margin-top: clamp(40px, 6vw, 72px);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: clamp(12px, 1.1vw, 15px);
  color: #B98A3E;
}
[dir="rtl"] .quote-band-text {
  font-family: 'Amiri', serif;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.5;
}
[dir="rtl"] .quote-band-who { letter-spacing: .12em; }

/* ---------- pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tier {
  position: relative;
  padding: 32px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line-2);
  display: flex; flex-direction: column;
  min-height: 540px;
  transition: transform .25s var(--ease);
}
body[data-anim="full"] .tier:hover { transform: translateY(-4px); }
.tier.featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.tier .name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tier .desc {
  font-size: 16px; color: var(--muted); margin: 8px 0 32px;
  max-width: 36ch;
}
.tier.featured .desc { color: rgba(255,255,255,.65); }
.tier .price {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--display);
  font-size: clamp(48px, 4.5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tier .price .unit {
  font-family: var(--mono);
  font-size: 14px; font-weight: 400; letter-spacing: .1em;
  color: var(--muted); text-transform: uppercase;
}
.tier.featured .price .unit { color: rgba(255,255,255,.55); }
.tier .from {
  font-family: var(--mono); font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-top: 8px;
}
.tier ul { list-style: none; margin: 32px 0 28px; padding: 0; flex: 1; }
.tier li {
  font-size: 16px; line-height: 1.5; padding: 10px 0;
  border-top: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 10px;
}
.tier li:last-child { border-bottom: 1px solid var(--line); }
.tier.featured li { border-color: rgba(255,255,255,.12); }
.tier.featured li:last-child { border-color: rgba(255,255,255,.12); }
.tier li::before {
  content: "✺";
  color: var(--accent);
  font-size: 13px;
  flex-shrink: 0;
  line-height: 1.7;
}
.tier .badge-row {
  display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap;
}
.tier .badge-row span {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.tier.featured .badge-row span { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.6); }
.tier .badge-row .pop {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
}

/* ---------- contact ---------- */
.contact-shell {
  background-color: #3d0810;
  color: var(--bg);
  border-radius: 0;
  /* full-bleed: the doily's damask edges reach the browser edges */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  aspect-ratio: 16 / 9;
  background-image: url('assets/doily.jpg');
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: grid;
  place-items: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}
/* content wrapper aligns exactly inside the cream lace-paper center */
.contact-inner {
  width: 58%;
  height: 62%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 56px);
  align-content: center;
}
/* keep everything inside the cream lace paper */
.contact-inner h2 { font-size: clamp(30px, 3.4vw, 64px); margin: 0 0 16px; }
.contact-inner .pitch { font-size: clamp(14px, 1vw, 16px); margin-top: 14px; }
.contact-inner .contact-list { margin-top: 20px; font-size: 13px; }
.contact-inner .contact-list .row { padding: 9px 0; grid-template-columns: 84px 1fr; gap: 14px; }
.contact-inner .form { gap: 10px; }
.contact-inner .form .field input,
.contact-inner .form .field textarea { font-size: 15px; padding: 6px 0; }
.contact-inner .form .field textarea { min-height: 44px; }
.contact-inner .form textarea { rows: 2; }
/* pitch must be dark ink on the cream paper */
.contact-shell .contact-paper .pitch { color: rgba(40,20,12,.75); }
.contact-shell::before {
  content: none;
}
.contact-paper {
  padding: 0;
  color: var(--ink);
  align-self: center;
}
.contact-paper .eyebrow,
.contact-paper h2 { color: #4F0101; }
.contact-paper h2 em { color: var(--brown); }
.contact-paper .pitch { color: rgba(40,20,12,.72); }
.contact-paper .contact-list { color: rgba(40,20,12,.72); }
.contact-paper .contact-list .row { border-top-color: rgba(79,1,1,.18); }
.contact-paper .contact-list .row:last-child { border-bottom-color: rgba(79,1,1,.18); }
.contact-paper .contact-list .row span { color: rgba(79,1,1,.68); }
.contact-paper .contact-list .row a { color: #4F0101; }
.contact-paper .contact-list .row a:hover { color: var(--brown); }
@media (max-width: 1024px) {
  .contact-shell {
    aspect-ratio: auto;
    background-size: cover;
    /* vertical padding is set precisely by JS from content height */
    padding: 30vw 9vw;
    place-items: stretch;
  }
  .contact-inner {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: clamp(28px,7vw,48px);
  }
}
.contact-shell > * { position: relative; z-index: 1; }
.contact-shell h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5.4vw, 88px);
  letter-spacing: -0.025em;
  line-height: .95;
  margin: 0 0 24px;
  font-weight: 600;
}
.contact-shell h2 em {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-weight: 400; color: var(--accent);
}
.contact-shell .pitch {
  color: rgba(255,255,255,.7);
  font-size: 17px; line-height: 1.55;
  max-width: 460px;
}
.contact-list {
  margin-top: 40px;
  font-family: var(--mono); font-size: 15px;
  color: rgba(255,255,255,.7);
}
.contact-list .row {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 20px; padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.contact-list .row:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-list .row span { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: rgba(255,255,255,.5); }
.contact-list .row a { color: var(--bg); }
.contact-list .row a:hover { color: var(--accent); }

.form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  backdrop-filter: blur(8px);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--mono); font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  color: var(--bg);
  font-family: var(--body); font-size: 18px;
  padding: 8px 0;
  outline: none;
  transition: border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
}
.field textarea { resize: none; min-height: 80px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group button {
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.8);
  padding: 8px 12px; border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
  transition: all .15s var(--ease);
}
.chip-group button:hover { border-color: var(--accent); color: var(--accent); }
.chip-group button[data-on="1"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.form .submit {
  margin-top: 12px;
  align-self: flex-start;
}

/* form now sits on the cream doily paper — dark maroon ink */
.contact-shell .form {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
}
.contact-shell .form .field label { color: rgba(79,1,1,.72); }
.contact-shell .form .field input,
.contact-shell .form .field textarea,
.contact-shell .form .field select {
  color: #4F0101;
  border-bottom-color: rgba(79,1,1,.22);
}
.contact-shell .form .field input::placeholder,
.contact-shell .form .field textarea::placeholder { color: rgba(79,1,1,.4); }
.contact-shell .form .field input:focus,
.contact-shell .form .field textarea:focus,
.contact-shell .form .field select:focus { border-color: var(--brown); }
.contact-shell .form .chip-group button {
  border-color: rgba(79,1,1,.28);
  color: rgba(79,1,1,.75);
}
.contact-shell .form .chip-group button:hover { border-color: var(--brown); color: var(--brown); }
.contact-shell .form .chip-group button[data-on="1"] {
  background: #4F0101; border-color: #4F0101; color: #F3E9D8;
}
.contact-shell .form .submit {
  background: #4F0101; color: #F3E9D8; border-color: #4F0101;
}

/* desktop: everything scales with vw so content always fits the cream
   (shell height is proportional to width via aspect-ratio) */
@media (min-width: 1025px) {
  .contact-inner h2 { font-size: 4.5vw; margin: 0 0 1vw; line-height: .92; }
  .contact-inner .eyebrow { font-size: .95vw; margin-bottom: .3vw; }
  .contact-shell .contact-inner .pitch { font-size: 1.25vw; margin-top: .8vw; max-width: none; line-height: 1.5; }
  .contact-inner .contact-list { margin-top: 1.4vw; font-size: 1vw; }
  .contact-inner .contact-list .row { padding: .6vw 0; grid-template-columns: 7vw 1fr; gap: 1vw; }
  .contact-inner .contact-list .row span { font-size: .85vw; }
  .contact-inner .form { gap: .8vw; }
  .contact-inner .form .field { gap: .3vw; }
  .contact-shell .form .field label { font-size: 1.02vw; font-weight: 700; letter-spacing: .1em; }
  .contact-shell .form .field input,
  .contact-shell .form .field textarea { font-size: 1.25vw; padding: .45vw 0; }
  .contact-shell .form .field textarea { min-height: 0; height: 4.4vw; }
  .contact-inner .chip-group { gap: .5vw; }
  .contact-shell .chip-group button { font-size: 1.05vw; padding: .5vw .9vw; }
  .contact-shell .form .submit { margin-top: .6vw; font-size: 1.1vw; padding: .8vw 1.6vw; }
}

/* ---------- footer ---------- */
.footer {
  margin-top: 0;
  padding: 56px 0 36px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
}
.footer h4 {
  font-family: var(--mono); font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer li a { color: var(--ink-2); font-size: 16px; }
.footer li a:hover { color: var(--accent); }
.footer .big {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: .9;
  margin: 0;
}
.footer .big em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--accent); }
.footer-brand { align-self: center; padding-top: 28px; }
.footer-logo {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
}
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

/* full-bleed contact runs straight into the footer — no cream gap */
#contact.section { padding-bottom: 0; }

/* ---------- city / leipzig ---------- */
.city {
  position: relative;
}
.city-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 40px;
}
.city-head h2 {
  font-size: clamp(36px, 5vw, 80px);
  margin: 12px 0 0;
}
.city-head h2 em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--accent); }
.city-head .right {
  text-align: right;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 360px;
}
.city-head .right strong { color: var(--ink); font-weight: 500; }

.city-stage {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
  aspect-ratio: 16 / 7;
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.city-stage .slot-wrap {
  position: absolute; inset: 0;
}
.city-stage image-slot {
  width: 100%; height: 100%;
  display: block;
  background: transparent;
}
.city-stage .skyline {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 78%;
  pointer-events: none;
  display: block;
}
.city-stage .sky-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 18% 100%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(ellipse at 80% 100%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 55%),
    linear-gradient(180deg, #0a0908 0%, #14110D 55%, #1a1611 100%);
  pointer-events: none;
}
.city-stage .sky-stars {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .6;
}
.city-stage .sky-stars i {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--bg);
  border-radius: 50%;
  opacity: .4;
}
.city-stage .sky-moon {
  position: absolute;
  top: 14%;
  right: 12%;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 60px color-mix(in oklab, var(--accent) 70%, transparent);
  pointer-events: none;
}
body[data-anim="off"] .city-stage .sky-moon { animation: none; }
body[data-anim="full"] .city-stage .sky-moon {
  animation: floaty 9s var(--ease) infinite alternate;
}
@keyframes floaty {
  to { transform: translateY(-12px); }
}

.city-stage .labels {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px clamp(20px, 3vw, 40px);
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
  z-index: 3;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  pointer-events: none;
}
.city-stage .labels .left-cap {
  display: flex; flex-direction: column; gap: 4px;
  max-width: 60%;
}
.city-stage .labels .left-cap b {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--bg);
  font-family: 'Instrument Serif', serif;
}
.city-stage .labels .stamp {
  display: inline-flex; align-items: center; gap: 8px;
}
.city-stage .labels .stamp::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}

/* legend below */
.city-legend {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.city-legend .item {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.city-legend .item .n { color: var(--accent); font-weight: 500; }
.city-legend .item .name {
  font-family: var(--body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  color: var(--ink);
}

@media (max-width: 980px) {
  .city-head { grid-template-columns: 1fr; }
  .city-head .right { text-align: left; }
  .city-stage { aspect-ratio: 4/3; min-height: 320px; }
  .city-legend { grid-template-columns: repeat(2, 1fr); }
  .city-stage .sky-moon { width: 44px; height: 44px; top: 10%; right: 10%; }
}

/* image-slot overrides — keep the slot transparent so the skyline shows
   through when empty, and only show the dotted border on hover */
.city-stage image-slot::part(empty) {
  background: transparent !important;
  border: 0 !important;
}

/* ---------- enter animations ---------- */
/* Soft rise + fade — calm, slow settle. */
.enter {
  opacity: 0;
  transform: translateY(38px) scale(.992);
  transition: opacity 1s var(--ease), transform 1.2s cubic-bezier(.19,.85,.22,1);
  will-change: transform, opacity;
}
.enter.in { opacity: 1; transform: none; }
body[data-anim="off"] .enter { opacity: 1; transform: none; clip-path: none; transition: none; }
body[data-anim="low"] .enter { transition-duration: .5s; transform: translateY(14px); clip-path: none; }

/* ---------- scroll motion layer ---------- */
/* progress hairline */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 60; pointer-events: none;
}
.scroll-progress i {
  display: block; height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* word-mask reveals (SplitWords) */
.sw {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .16em; margin-bottom: -.16em;
  padding-right: .06em;  margin-right: -.06em;
}
.swi {
  display: inline-block;
  transform: translateY(118%);
  will-change: transform;
  transition: transform 1.05s cubic-bezier(.19,.85,.22,1);
}
.mo-in .swi { transform: none; }
body[data-anim="off"] .swi { transform: none; transition: none; }
body[data-anim="low"] .swi { transition-duration: .5s; transform: translateY(40%); }
body[data-anim="low"] .mo-in .swi { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .swi { transform: none; transition: none; }
}

/* standalone rise elements */
.mo-rise {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .95s var(--ease), transform 1.1s cubic-bezier(.19,.85,.22,1);
  will-change: transform, opacity;
}
.mo-rise.mo-in, .mo-in .mo-rise { opacity: 1; transform: none; }

/* children of a [data-mo] trigger */
.mo-kid {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .95s var(--ease), transform 1.05s cubic-bezier(.19,.85,.22,1);
  will-change: transform, opacity;
}
.mo-in .mo-kid { opacity: 1; transform: none; }
body[data-anim="off"] .mo-rise,
body[data-anim="off"] .mo-kid { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .mo-rise, .mo-kid { opacity: 1; transform: none; transition: none; }
}
.mo-d1 { transition-delay: .12s; }
.mo-d2 { transition-delay: .24s; }
.mo-d3 { transition-delay: .38s; }
.mo-d4 { transition-delay: .52s; }

/* parallax + quote-band cinematics */
[data-prlx] { will-change: transform; }
.quote-band-video { will-change: transform; transform-origin: center; }
.quote-band-inner { will-change: transform; }

/* keyword marquee band (landing, between hero and services) */
.marquee-band { margin-top: 0; }

/* folders: tap/click open state (touch-friendly twin of :hover) */
.folder.open {
  --paper-tint: rgba(188,220,171,.55);
  transform: translateY(-6px);
  z-index: 4;
  box-shadow: 0 30px 52px -26px rgba(30,20,10,.55);
}
body[data-anim="off"] .folder.open { transform: none; }
.folder.open .folder-num { color: rgba(20,40,65,.62); }
.folder.open .folder-body {
  max-height: 380px;
  opacity: 1;
  transform: none;
  padding-top: 6px;
}
.folder.open .folder-body p { color: rgba(20,40,65,.84); }

/* custom cursor (fine pointers only) */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 80;
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid color-mix(in srgb, var(--accent) 50%, transparent);
  transition: width .3s var(--ease), height .3s var(--ease),
              border-color .3s var(--ease), opacity .3s var(--ease);
}
.cursor-ring.is-link {
  width: 58px; height: 58px;
  border-color: var(--accent);
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- mobile menu ---------- */
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  align-content: center;
  justify-items: center;
  gap: 5px;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease);
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #fbf8f3;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 14px var(--pad-x) 26px;
  box-shadow: 0 24px 40px -28px rgba(20,40,65,.28);
}
.mobile-menu a {
  font-family: 'Amiri', serif;
  font-size: 26px;
  line-height: 1.2;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mm-cta { color: var(--accent); }
@media (max-width: 980px) {
  .nav-burger { display: grid; }
}
@media (max-width: 700px) {
  .nav-end .btn { display: none; }
}

/* ---------- selected work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 32px);
}
.work-card { display: flex; flex-direction: column; }
.work-media {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
}
.work-media image-slot { display: block; width: 100%; height: 100%; }
.work-card h3 {
  margin: 22px 0 10px;
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.work-card h3 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.work-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  font-family: 'Parastoo', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.work-tags span {
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}
.work-quote {
  margin: clamp(56px, 8vw, 110px) auto 0;
  max-width: 880px;
  text-align: center;
}
.work-quote blockquote {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.work-quote figcaption {
  margin-top: 20px;
  font-family: 'Parastoo', sans-serif;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 980px) {
  .work-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* spotlight case */
.spot-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4.5vw, 72px);
  align-items: center;
}
.spot-media { aspect-ratio: 4 / 3; }
.spot-body p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}
.spot-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.spot-stat { border-top: 1px solid var(--line); padding-top: 14px; }
.spot-stat .n {
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 46px);
  line-height: 1;
  color: var(--ink);
}
.spot-stat .n em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.spot-stat .l {
  margin-top: 8px;
  font-family: 'Parastoo', sans-serif;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 980px) {
  .spot-grid { grid-template-columns: 1fr; }
  .spot-stats { gap: 12px; }
}

/* ---------- phones caption ---------- */
.phones-cap {
  margin-bottom: clamp(24px, 3vw, 40px);
  text-align: center;
}

/* ---------- footer sign-off ---------- */
.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 0 clamp(44px, 6vw, 72px);
  margin-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.footer-cta-lbl {
  font-family: 'Parastoo', sans-serif;
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-mail {
  width: fit-content;
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: clamp(26px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  overflow-wrap: anywhere;
  transition: color .25s var(--ease);
}
.footer-mail:hover { color: var(--accent); }

/* ---------- Let's Talk band (accent CTA, pre-footer) ---------- */
.talk-band {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(64px, 9vw, 132px) 0;
  overflow: hidden;
}
.talk-band-inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: block;
}
.talk-band h2 {
  margin: 0;
  font-family: var(--serif, "Vazirmatn"), serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(38px, 6.4vw, 92px);
  color: var(--bg);
  text-wrap: balance;
}
.talk-band h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: #e7d6c2 !important;
}
.talk-band .talk-cap {
  margin: clamp(20px, 2.6vw, 34px) 0 0;
  max-width: 34ch;
  font-family: 'Parastoo', sans-serif;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--bg) 82%, transparent);
}
.talk-band .talk-btn {
  margin-top: clamp(28px, 3.4vw, 44px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 40px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--accent);
  font-family: 'Parastoo', sans-serif;
  font-size: 18px;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.talk-band .talk-btn:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--bg);
  border-color: color-mix(in srgb, var(--bg) 55%, transparent);
}
.talk-band .talk-btn .arrow { transition: transform .3s var(--ease); }
.talk-band .talk-btn:hover .arrow { transform: translate(3px,-3px); }
body[data-anim="off"] .talk-band .talk-btn:hover { transform: none; }

@media (max-width: 860px) {
  .talk-band-inner { grid-template-columns: 1fr; gap: 32px; }
  .talk-band .talk-btn { justify-self: start; }
}

/* ---------- Let's Talk details page ---------- */
.lets-talk-page { background: #fbf8f3; }
.lt-section {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(72px, 10vw, 150px);
}

/* page header */
.lt-header {
  max-width: 940px;
  margin-bottom: clamp(44px, 6vw, 84px);
}
.lt-header .eyebrow { margin-bottom: clamp(20px, 2.5vw, 30px); }
.lt-header h1 {
  margin: 0;
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: clamp(46px, 7.4vw, 108px);
  line-height: .98;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.lt-header h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.lt-header .lt-lead {
  margin: clamp(24px, 3vw, 34px) 0 0;
  max-width: 54ch;
  font-family: 'Parastoo', sans-serif;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.7;
  color: var(--ink-2);
}

/* two-column grid */
.lt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* form card */
.lt-form {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: clamp(26px, 3.4vw, 46px);
  box-shadow: 0 24px 48px -34px rgba(20,40,65,.28);
}
.lt-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 26px); }
.lt-field { margin-bottom: clamp(20px, 2.2vw, 28px); }
.lt-field:last-of-type { margin-bottom: clamp(24px, 2.6vw, 32px); }
.lt-field label {
  display: block;
  margin: 0 0 11px;
  font-family: 'Parastoo', sans-serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.lt-field input,
.lt-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: #fbf8f3;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 10px;
  padding: 15px 16px;
  font-family: 'Parastoo', sans-serif;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.lt-field textarea { resize: vertical; min-height: 138px; line-height: 1.6; }
.lt-field input::placeholder,
.lt-field textarea::placeholder { color: color-mix(in srgb, var(--ink) 40%, transparent); }
.lt-field input:focus,
.lt-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
.lt-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 40px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: 'Parastoo', sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.lt-submit .arrow { transition: transform .25s var(--ease); }
.lt-submit:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--accent) 88%, #000); }
.lt-submit:hover .arrow { transform: translate(2px, -2px); }
body[data-anim="off"] .lt-submit:hover { transform: none; }

/* aside */
.lt-aside {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 60px);
}
.lt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-family: 'Parastoo', sans-serif;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lt-details {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.lt-detail {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 2px;
  border-bottom: 1px solid var(--line);
}
.lt-detail .lt-ic { color: var(--accent); line-height: 0; }
.lt-detail-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lt-detail-lbl {
  font-family: 'Parastoo', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lt-detail-txt a,
.lt-detail-txt > span:not(.lt-detail-lbl) {
  font-family: 'Parastoo', sans-serif;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s var(--ease);
  word-break: break-word;
}
.lt-detail-txt a:hover { color: var(--accent); }

.lt-discuss h2 {
  margin: 0 0 16px;
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.lt-discuss p {
  margin: 0;
  max-width: 46ch;
  font-family: 'Parastoo', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
}
.lt-social { display: flex; gap: 14px; margin-top: 26px; }
.lt-soc {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--bg);
  border-radius: 12px;
  transition: transform .28s var(--ease), background .28s var(--ease);
}
.lt-soc:hover { transform: translateY(-2px); background: var(--accent); }
body[data-anim="off"] .lt-soc:hover { transform: none; }

@media (max-width: 900px) {
  .lt-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 520px) {
  .lt-row2 { grid-template-columns: 1fr; }
}

.lets-talk-page .footer { border-top: none; }

/* footer social icons — hidden on desktop (text list stays as-is) */
.foot-ico { display: none; }
.foot-ico svg { width: 20px; height: 20px; display: block; }

/* mobile footer: realign to a clean single column + icon-only social row */
@media (max-width: 640px) {
  .footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }
  .footer-brand { padding-top: 0; order: -1; }
  .footer-logo { margin: 0 auto; max-width: 240px; }
  .footer ul { align-items: center; }
  .footer h4 { margin-bottom: 14px; }
  .footer .foot-elsewhere {
    flex-direction: row;
    justify-content: center;
    gap: 14px;
  }
  .foot-elsewhere .foot-lbl { display: none; }
  .foot-elsewhere .foot-ico {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink-2);
    transition: color .2s var(--ease), border-color .2s var(--ease);
  }
  .foot-elsewhere a:hover .foot-ico { color: var(--accent); border-color: var(--accent); }
  .footer-bot { flex-direction: column; gap: 8px; text-align: center; }
}

/* stagger delays */
.enter[data-delay="1"] { transition-delay: .06s; }
.enter[data-delay="2"] { transition-delay: .12s; }
.enter[data-delay="3"] { transition-delay: .18s; }
.enter[data-delay="4"] { transition-delay: .24s; }
.enter[data-delay="5"] { transition-delay: .30s; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; }
  .portrait-card { aspect-ratio: 4/3; }
  .service-grid { grid-template-columns: 1fr; }
  .service.s1, .service.s2, .service.s3, .service.s4 { grid-column: 1 / -1; }
  .pricing { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .contact-shell { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hg-headline, .hg-stat, .hg-quote, .hg-cta {
    grid-column: 1 / -1; grid-row: auto;
  }
  .nav-links { display: none; }
  .section-head { grid-template-columns: 1fr; }
  .section-head p { text-align: left; }
}

/* ---------- phones showcase (between folders & quote video) ---------- */
.phones-band { padding-top: var(--section-gap); padding-bottom: 76px; overflow-x: clip; }
.phones-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 30px);
}
.phone {
  position: relative;
  container-type: inline-size;
  flex: 1 1 0;
  max-width: 300px;
  margin: 0;
  transform-origin: center 60%;
  will-change: transform, opacity;
}
.phone-1, .phone-3 { transform: translateY(30px); }
.phone-video-only.phone-1, .phone-video-only.phone-3 { transform: none; }
.phone-bezel {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 22px 34px rgba(20,15,8,.22));
}
.phone-screen {
  position: absolute;
  z-index: 1;
  left: 16.9%; right: 16.9%;
  top: 10.6%; bottom: 10.6%;
  background: #4f0101;
  color: #f4e9dc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15% 7% 13%;
  overflow: hidden;
}
.phone-quote {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 6.4cqw;
  line-height: 1.28;
  letter-spacing: .005em;
  text-wrap: balance;
}
.phone-quote br { display: none; }
.phone-video-only { isolation: isolate; transition: none; }
@media (max-width: 760px) { .phone-video-only { opacity: 1; } }
.phone-video-only .phone-video {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.phone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-who {
  margin-top: 9cqw;
  font-family: var(--mono);
  font-size: 3cqw;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244,233,220,.6);
}
@media (max-width: 760px) {
  .phones-row { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: clamp(28px, 9vh, 90px); }
  .phone { flex: 0 0 auto; width: 82%; max-width: 82%; transform-origin: center center; }
  .phone-1, .phone-3 { transform: none; }
}
/* hide the three folder label cards over the phones image on mobile */
@media (max-width: 640px) {
  .id-labels { display: none; }
}
/* folders: on mobile the staggered tab-x fan overlaps into a jumbled cluster —
   stack tabs flush left, full-width, in a clean single column instead */
@media (max-width: 640px) {
  .folder.f1, .folder.f2, .folder.f3, .folder.f4 { --tab-x: 0px; }
  .folder-lip { max-width: calc(100% - 12px); }
  .folder { margin-top: 10px; padding-bottom: 20px; }
  .folder:first-child { margin-top: 0; }
}
