/* ==========================================================================
   Visual content studio: prototype B, "refined"
   Concept: the cinema frame. White space, a light transitional serif for
   display, a quiet grotesk for everything else, deep slate for dark bands and
   one brass accent used sparingly. Imagery sits in a 2.39:1 letterbox, the
   ratio of a feature film.
   Same markup and class names as prototype A; logical properties for RTL.
   ========================================================================== */

:root {
  --white: #FFFFFF;
  --mist: #F1F2F0;       /* alternate light bands */
  --ink: #16191D;
  --ink-2: #5A6068;
  --slate: #121B24;      /* dark bands, footer */
  --slate-2: #1B2630;
  --brass: #86672F;      /* accent on light, 5:1 on white */
  --brass-lt: #C9A56B;   /* accent on slate */
  --line: rgba(22, 25, 29, .12);
  --line-dk: rgba(255, 255, 255, .14);
  --wa: #1FA855;
  --error: #A4271F;

  /* aliases kept for inline styles shared with prototype A */
  --paper: #FFFFFF;
  --steel: #98A2AC;
  --signal: var(--brass-lt);

  /* context tokens: light by default, flipped inside dark bands */
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --rule: var(--line);
  --accent: var(--brass);
  --btn-bg: var(--ink);
  --btn-fg: var(--white);

  --max: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(80px, 11vw, 160px);

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ar: "IBM Plex Sans Arabic", "Instrument Sans", system-ui, sans-serif;

  --t-sm: .875rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: clamp(1.5rem, 2.2vw, 1.875rem);
  --t-xl: clamp(2rem, 3.6vw, 3rem);
  --t-2xl: clamp(2.5rem, 5vw, 4.25rem);
  --t-hero: clamp(2.75rem, 6.4vw, 6rem);

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

.section--dark, .cta-band, .site-footer, .intro--image, .result, .summary, .mobile-nav, .month, .modal {
  --fg: var(--white);
  --fg-2: #A9B2BB;
  --rule: var(--line-dk);
  --accent: var(--brass-lt);
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--ar); }

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--fg); }
h1, h2, .display {
  font-family: var(--serif);
  font-weight: 300;
  font-optical-sizing: auto;
  letter-spacing: -.015em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 { font-size: var(--t-2xl); line-height: 1.02; }
h2 { font-size: var(--t-xl); }
h3 { font-family: var(--sans); font-size: var(--t-md); font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
h4 { font-size: var(--t-base); font-weight: 600; }
html[lang="ar"] h1, html[lang="ar"] h2 { font-family: var(--ar); font-weight: 300; letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: var(--t-md); line-height: 1.55; max-width: 48ch; color: var(--fg-2); }
.muted { color: var(--fg-2); }
.small { font-size: var(--t-sm); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); color: var(--fg); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--dark { background: var(--slate); }
.section--white { background: var(--mist); }
.section-head {
  display: grid; gap: 20px 64px; grid-template-columns: 1fr;
  align-items: end; margin-block-end: clamp(40px, 6vw, 80px);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .section-head > p { margin: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8em 1.5em; border-radius: 0; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 500; font-size: .9375rem; letter-spacing: .01em; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn--signal, .btn--ink { background: var(--btn-bg); color: var(--btn-fg); }
.btn--signal:hover, .btn--ink:hover { background: var(--accent); color: var(--white); }
.btn--ghost { border-color: var(--rule); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--fg); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--btn-bg); color: var(--btn-fg); }
.btn svg { width: 1em; height: 1em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .3em; text-decoration-color: var(--accent);
}
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Tabs (prototype A's "signs", now quiet text tabs) ---------- */
.signs { display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 0; background: none; max-width: 100%; }
.sign {
  display: inline-flex; align-items: center; gap: .4em;
  padding: 8px 0 6px; background: none; border: 0; border-bottom: 1px solid transparent;
  color: var(--fg-2); font-family: var(--sans); font-size: .9688rem; font-weight: 500;
  text-decoration: none; cursor: pointer; white-space: nowrap; line-height: 1.2;
}
a.sign:hover, button.sign:hover { color: var(--fg); border-bottom-color: var(--rule); }
.sign svg { display: none; }
.sign--here, button.sign--here:hover { color: var(--fg); border-bottom-color: var(--accent); cursor: default; }
.sign--muted { font-style: italic; font-family: var(--serif); font-size: 1.0625rem; }
.case-media .sign, .sign--sm {
  font-size: .75rem; letter-spacing: .04em; padding: 6px 10px; color: var(--white);
  background: rgba(18, 27, 36, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 0;
}

/* ---------- Prototype ribbon ---------- */
.proto { background: var(--mist); color: var(--ink-2); font-size: .8125rem; line-height: 1.4; border-bottom: 1px solid var(--line); }
.proto .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.proto p { margin: 0; max-width: none; }
.proto b { color: var(--ink); font-weight: 600; }
.proto button { background: none; border: 0; cursor: pointer; text-decoration: underline; padding: 4px; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  color: var(--ink); --fg: var(--ink); --btn-bg: var(--ink); --btn-fg: var(--white); --accent: var(--brass);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.site-header.is-solid { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(1px)) { .site-header.is-solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); } }
.site-header.is-light { color: var(--white); --fg: var(--white); --btn-bg: var(--white); --btn-fg: var(--ink); --accent: var(--brass-lt); }
.site-header.is-light .proto { background: transparent; color: rgba(255, 255, 255, .8); border-bottom-color: var(--line-dk); }
.site-header.is-light .proto b, .site-header.is-light .proto button { color: var(--white); }
.nav-bar { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-inline-end: auto; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.brand-name small { display: block; font-family: var(--sans); font-weight: 400; font-size: .6875rem; letter-spacing: .06em; opacity: .62; margin-top: 4px; }
@media (max-width: 640px) {
  .brand-name small { display: none; }
  .nav-bar { gap: 12px; height: 72px; }
  .brand-name { font-size: 1.3125rem; }
  .brand-mark { width: 26px; height: 26px; }
  .menu-btn { padding-inline-end: 0; }
}
.nav-links { display: none; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; text-decoration: none; font-weight: 500; font-size: .9375rem; position: relative; }
.nav-links a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); background: var(--accent); }
.lang-btn { background: none; border: 0; color: inherit; cursor: pointer; font-size: .9375rem; padding: 8px 4px; opacity: .75; }
.lang-btn:hover { opacity: 1; }
.nav-cta { display: none; }
.menu-btn { background: none; border: 0; color: inherit; cursor: pointer; padding: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
}
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--slate); color: var(--white);
  display: flex; flex-direction: column; padding: calc(20px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.mobile-nav ul { list-style: none; margin: 40px 0 auto; padding: 0; }
.mobile-nav li a { display: block; padding: 10px 0; text-decoration: none; font-family: var(--serif); font-weight: 300; font-size: 2.25rem; line-height: 1.15; border-bottom: 1px solid var(--line-dk); }

/* ---------- Hero (home): headline, then the letterboxed reel ---------- */
.hero { background: var(--white); color: var(--ink); padding-top: clamp(150px, 18vw, 210px); }
.hero-inner { display: grid; gap: 32px 64px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
.hero h1 { font-size: var(--t-hero); line-height: 1; letter-spacing: -.025em; max-width: 15ch; }
.hero h1 em { font-style: italic; }
html[lang="ar"] .hero h1 { font-size: clamp(2.25rem, 5.4vw, 4.75rem); line-height: 1.25; }
.hero-sub { display: grid; gap: 28px; padding-bottom: 10px; }
.hero-sub .lead { margin: 0; }
.frame { position: relative; margin-top: clamp(48px, 6vw, 80px); aspect-ratio: 2.39 / 1; max-width: 100%; overflow: hidden; background: var(--slate); }
@media (max-width: 640px) { .frame { aspect-ratio: 4 / 3; } }
.reel { position: absolute; inset: 0; }
.reel figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.8s ease; }
.reel figure.is-on { opacity: 1; }
.reel img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.reel figure.is-on img { animation: drift 10s linear forwards; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .reel figure { transition: none; } .reel figure.is-on img { animation: none; transform: none; } }
/* viewfinder corners: the one decorative device, kept thin */
.frame::before, .frame::after { content: ""; position: absolute; z-index: 2; width: 28px; height: 28px; border: 1px solid rgba(255, 255, 255, .7); pointer-events: none; }
.frame::before { top: 20px; inset-inline-start: 20px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: 20px; inset-inline-end: 20px; border-left: 0; border-top: 0; }
.frame .play {
  position: absolute; z-index: 3; inset-block-end: 20px; inset-inline-start: 20px;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px;
  background: rgba(255, 255, 255, .92); color: var(--ink); border: 0; cursor: pointer; font-weight: 500; font-size: .875rem;
}
.frame .play svg { width: 14px; height: 14px; }
.frame .play:hover { background: var(--white); }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 16px 0; }
.reel-caption { font-size: .8125rem; color: var(--ink-2); display: flex; align-items: center; gap: 14px; }
.reel-dots { display: flex; gap: 6px; }
.reel-dots span { width: 18px; height: 1px; background: var(--line); }
.reel-dots span.is-on { background: var(--ink); }

/* ---------- Page intro ---------- */
.intro { background: var(--white); color: var(--fg); padding-block: clamp(160px, 17vw, 200px) clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.intro h1 { max-width: 16ch; font-size: clamp(2.75rem, 6vw, 5.25rem); }
.intro .lead { margin-top: 28px; }
.intro .lead .text-link { color: var(--fg); }
.intro .signs { margin-bottom: 36px; }
.intro--image { min-height: 78vh; display: flex; align-items: flex-end; background: var(--slate); border-bottom: 0; }
.intro--image .intro-bg { position: absolute; inset: 0; }
.intro--image .intro-bg img { width: 100%; height: 100%; object-fit: cover; }
.intro--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,27,36,.92) 0%, rgba(18,27,36,.45) 45%, rgba(18,27,36,.25) 70%, rgba(18,27,36,.55) 100%); }
.intro--image .wrap { position: relative; z-index: 2; }
.intro--image .lead { color: rgba(255, 255, 255, .82); }
.crumbs { font-size: .8125rem; color: var(--fg-2); margin-bottom: 20px; letter-spacing: .02em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }

/* ---------- Client strip ---------- */
.clients { background: var(--white); border-block: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); }
.clients .wrap { display: grid; gap: 20px; padding-block: 32px; align-items: center; }
@media (min-width: 900px) { .clients .wrap { grid-template-columns: 240px 1fr; } }
.clients p { margin: 0; font-size: .8125rem; color: var(--ink-2); }
.logo-row { display: flex; flex-wrap: wrap; gap: 14px 48px; align-items: center; }
.logo-word { font-family: var(--sans); font-weight: 600; font-size: 1.25rem; color: #8A9097; letter-spacing: -.01em; white-space: nowrap; }
.logo-word.is-serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.logo-word.is-wide { letter-spacing: .14em; font-size: .9375rem; }
.logo-word.is-nda { font-weight: 400; font-size: .8125rem; border: 1px solid var(--line); padding: 6px 10px; color: var(--ink-2); }

/* ---------- Case tiles ---------- */
.case-grid { display: grid; gap: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.featured { display: grid; gap: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px); grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured > :first-child { grid-column: 1 / -1; }
  .featured > :first-child .case-media { aspect-ratio: 2.39 / 1; }
  .featured > :first-child .case-title { font-size: var(--t-xl); }
}
.case { display: block; text-decoration: none; color: inherit; }
.case-media { position: relative; aspect-ratio: 3 / 2; max-width: 100%; overflow: hidden; background: var(--slate-2); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case:hover .case-media img { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { .case:hover .case-media img { transform: none; } }
.case-media .sign { position: absolute; inset-block-end: 16px; inset-inline-start: 16px; }
.case-body { padding-top: 20px; display: grid; gap: 8px; }
.case-client { font-size: .8125rem; color: var(--fg-2); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; letter-spacing: .02em; }
.case-title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.01em; color: var(--fg); }
.case:hover .case-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--accent); }
.tag { display: inline-block; font-size: .6875rem; font-weight: 500; letter-spacing: .04em; line-height: 1; padding: 4px 7px; border: 1px solid var(--rule); color: var(--fg-2); }

/* ---------- Industries list ---------- */
.ind-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ind-row { border-bottom: 1px solid var(--rule); }
.ind-row a { display: grid; gap: 12px 40px; padding-block: clamp(24px, 3.4vw, 44px); text-decoration: none; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ind-row a { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) 200px; } }
.ind-name { font-family: var(--serif); font-weight: 300; font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.02em; transition: color .3s; }
.ind-row p { margin: 0; color: var(--fg-2); font-size: .9688rem; }
.ind-thumb { aspect-ratio: 2.39 / 1; overflow: hidden; display: none; }
.ind-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .75; transition: filter .5s, opacity .5s; }
@media (min-width: 900px) { .ind-thumb { display: block; } }
.ind-row a:hover .ind-thumb img, .ind-row a:focus-visible .ind-thumb img { filter: none; opacity: 1; }
.ind-row a:hover .ind-name { font-style: italic; }

/* ---------- Process (a real sequence) ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; grid-template-columns: 1fr; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.process li { counter-increment: step; padding: 24px 24px 28px 0; border-top: 1px solid var(--rule); }
.process li::before { content: counter(step); display: block; font-family: var(--serif); font-weight: 300; font-size: 2.75rem; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.process h3 { margin: 0 0 8px; }
.process p { margin: 0; font-size: .9375rem; color: var(--fg-2); }

/* ---------- Services ---------- */
.svc-grid { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .svc-grid > * + * { border-inline-start: 1px solid var(--rule); } }
.svc { padding: 32px 0 36px; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .svc { padding: 36px 32px 40px; border-bottom: 0; } .svc:first-child { padding-inline-start: 0; } }
.svc h3 { font-family: var(--serif); font-weight: 300; font-size: var(--t-lg); margin-bottom: 12px; letter-spacing: -.01em; }
.svc ul { margin: 20px 0 0; padding: 0; list-style: none; }
.svc li { padding: 9px 0; border-top: 1px solid var(--rule); font-size: .9375rem; }
.svc-section { display: grid; gap: 32px 80px; grid-template-columns: 1fr; padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--rule); }
.svc-section:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .svc-section { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.svc-section h2 { font-size: var(--t-2xl); }
.svc-media { aspect-ratio: 2.39 / 1; max-width: 100%; overflow: hidden; margin-bottom: 32px; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 40px; }
@media (min-width: 640px) { .check-list { columns: 2; } }
.check-list li { break-inside: avoid; padding: 12px 0 12px 24px; border-top: 1px solid var(--rule); position: relative; font-size: .9688rem; }
[dir="rtl"] .check-list li { padding: 12px 24px 12px 0; }
.check-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 23px; width: 10px; height: 1px; background: var(--accent); }

/* ---------- Retainer band ---------- */
.retainer-band { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .retainer-band { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 96px; } }
.month { border-top: 1px solid var(--rule); background: none; }
.month-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.month-row b { color: var(--accent); font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.125rem; }
.month-row span { color: var(--fg-2); }

/* ---------- Tiers ---------- */
.tiers { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tier { background: var(--white); padding: 36px 32px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.tier.is-pick { border-color: var(--ink); }
.tier h3 { font-family: var(--serif); font-weight: 300; font-size: 2rem; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tier .per { font-size: .9375rem; color: var(--ink-2); margin: 10px 0 24px; }
.tier dl { margin: 0 0 32px; display: grid; grid-template-columns: auto 1fr; }
.tier dt, .tier dd { padding: 11px 0; border-top: 1px solid var(--line); margin: 0; }
.tier dt { font-family: var(--serif); font-size: 1.25rem; padding-inline-end: 18px; min-width: 3ch; font-variant-numeric: tabular-nums; }
.tier dd { color: var(--ink-2); align-self: center; }
.tier .btn { margin-top: auto; align-self: flex-start; }
.pick-note { font-family: var(--sans); font-size: .75rem; font-weight: 500; color: var(--brass); letter-spacing: .02em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--slate); color: var(--fg); }
.cta-band .wrap { display: grid; gap: 32px; padding-block: clamp(72px, 10vw, 140px); align-items: end; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-band h2 { font-size: var(--t-2xl); max-width: 15ch; }
.cta-band p { margin: 18px 0 0; color: var(--fg-2); }

/* ---------- Case study page ---------- */
.facts { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts div { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: .8125rem; color: var(--fg-2); letter-spacing: .02em; }
.facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; }
.cs-body { display: grid; gap: 48px 96px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cs-body { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.cs-block { padding-block: 36px; border-top: 1px solid var(--rule); }
.cs-block:first-child { border-top: 0; padding-top: 0; }
.cs-block h2 { font-size: var(--t-lg); margin-bottom: 16px; }
.result { background: var(--slate); color: var(--fg); padding: 36px; position: sticky; top: 112px; }
.result-figure { font-family: var(--serif); font-weight: 300; font-size: clamp(4.5rem, 9vw, 7.5rem); line-height: .9; color: var(--accent); letter-spacing: -.03em; }
.result p { margin: 18px 0 0; color: var(--fg-2); }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; background: var(--slate-2); }
.gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 2.39 / 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.next-case { display: grid; gap: 32px; grid-template-columns: 1fr; text-decoration: none; align-items: center; }
@media (min-width: 900px) { .next-case { grid-template-columns: 1fr 1fr; } }
.next-case .case-media { aspect-ratio: 2.39 / 1; }

/* ---------- Filter ---------- */
.filter { margin-bottom: clamp(40px, 5vw, 64px); padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.filter-label { font-size: .8125rem; color: var(--ink-2); margin-bottom: 6px; }
.empty { padding: 48px 0; }

/* ---------- Team ---------- */
.team { display: grid; gap: 40px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .team { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.member figure { margin: 0 0 18px; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: var(--white); }
.member img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); }
.member .role { font-family: var(--serif); font-size: 1.375rem; line-height: 1.2; }
.member .name { color: var(--ink-2); font-size: .875rem; margin-top: 6px; }
.member.is-open figure { display: grid; place-items: center; border: 1px solid var(--line); background: transparent; }
.member.is-open figure span { font-family: var(--serif); font-style: italic; color: var(--ink-2); padding: 16px; text-align: center; }

/* ---------- Coverage ---------- */
.coverage { width: 100%; border-collapse: collapse; }
.coverage th, .coverage td { text-align: start; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); }
.coverage th { font-weight: 400; font-size: .8125rem; color: var(--fg-2); letter-spacing: .02em; }
.coverage td { color: var(--fg-2); }
.coverage td:first-child { font-family: var(--serif); font-size: 1.25rem; color: var(--fg); }
.coverage tr.is-base td:first-child { color: var(--accent); font-style: italic; }

/* ---------- Partners ---------- */
.partners { display: grid; gap: 40px; grid-template-columns: 1fr; padding-block: clamp(32px, 4vw, 48px); border-block: 1px solid var(--line); }
@media (min-width: 900px) { .partners { grid-template-columns: 5fr 7fr; align-items: center; } }
.partner-logos { display: flex; flex-wrap: wrap; gap: 16px; }
.partner-logo { flex: 1 1 200px; min-height: 104px; display: grid; place-content: center; gap: 4px; text-align: center; border: 1px solid var(--line); background: var(--white); padding: 18px; }
.partner-logo b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.partner-logo span { font-size: .8125rem; color: var(--ink-2); }
.partner-logo.is-soon { background: transparent; border-style: dashed; }

/* ---------- Trust ---------- */
.trust { display: grid; gap: 0 40px; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust > div { padding: 28px 0; border-bottom: 1px solid var(--line); }
.trust h3 { margin-bottom: 8px; }
.trust p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.trust .pending { color: var(--brass); font-size: .8125rem; font-family: var(--serif); font-style: italic; display: inline-block; margin-top: 10px; }

/* ---------- Forms ---------- */
.form-layout { display: grid; gap: 56px 96px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
.form-layout > * { min-width: 0; }
.form-aside { align-self: start; position: sticky; top: 112px; }
fieldset { border: 0; margin: 0 0 48px; padding: 0; min-width: 0; }
legend { font-family: var(--serif); font-weight: 300; font-size: 1.875rem; margin-bottom: 22px; padding: 0; line-height: 1.1; letter-spacing: -.01em; }
.fields { display: grid; gap: 22px 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fields .full { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font-weight: 500; font-size: .875rem; margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #C6CBD0; border-radius: 0; background: var(--white);
  font-size: 1rem; line-height: 1.4; min-height: 50px; transition: border-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8E959C; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field .hint { font-size: .8125rem; color: var(--ink-2); margin-top: 6px; }
.field .err { font-size: .8125rem; color: var(--error); margin-top: 8px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field.has-error .err { display: block; }
.field .warn { font-size: .8125rem; margin-top: 8px; display: none; color: var(--brass); }
.field.has-warn .warn { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 11px 16px; border: 1px solid #C6CBD0; background: var(--white); cursor: pointer; font-size: .9375rem; line-height: 1.2; transition: border-color .2s, background-color .2s; }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.choice-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .choice-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { display: block; height: 100%; padding: 18px; border: 1px solid #C6CBD0; background: var(--white); cursor: pointer; transition: border-color .2s; }
.choice > span:hover { border-color: var(--ink); }
.choice b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3125rem; line-height: 1.15; }
.choice small { display: block; color: var(--ink-2); margin-top: 6px; font-size: .8125rem; }
.choice input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--mist); }
.choice input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.file-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px dashed #A9B0B6; background: var(--white); cursor: pointer; }
.file-drop svg { width: 22px; height: 22px; flex: none; }
.file-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-drop:focus-within { outline: 2px solid var(--brass); outline-offset: 2px; }
.aside-card { background: var(--mist); padding: 32px; }
.aside-card h2 { font-size: var(--t-lg); margin-bottom: 18px; }
.aside-card ol { margin: 0 0 20px; padding-inline-start: 1.2em; }
.aside-card li { padding: 6px 0; }
.aside-card li::marker { font-family: var(--serif); color: var(--brass); }
.aside-card hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.form-status { padding: 14px 16px; border-inline-start: 2px solid var(--error); background: #FBF1F0; color: var(--error); margin-bottom: 24px; display: none; }
.form-status.is-on { display: block; }
.confirm { background: var(--mist); padding: clamp(32px, 5vw, 64px); }
.confirm h2 { font-size: var(--t-2xl); margin-bottom: 18px; }
.slots { margin-top: 36px; }
.days { display: grid; gap: 8px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 16px; }
.day-btn, .time-btn { padding: 12px 6px; border: 1px solid #C6CBD0; background: var(--white); cursor: pointer; text-align: center; line-height: 1.25; }
.day-btn:hover:not(:disabled), .time-btn:hover:not(:disabled) { border-color: var(--ink); }
.day-btn b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.day-btn small { font-size: .75rem; color: var(--ink-2); }
.day-btn[aria-pressed="true"], .time-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.day-btn[aria-pressed="true"] small { color: #C3C8CD; }
.day-btn:disabled, .time-btn:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.time-btn { padding: 11px 16px; font-variant-numeric: tabular-nums; }

/* Packages */
.steps-nav { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0 0 44px; counter-reset: st; border-bottom: 1px solid var(--line); }
.steps-nav li { counter-increment: st; padding: 10px 28px 12px 0; font-size: .875rem; color: var(--ink-2); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.steps-nav li::before { content: counter(st); font-family: var(--serif); font-style: italic; margin-inline-end: 8px; color: var(--ink-2); }
.steps-nav li.is-done { color: var(--ink); }
.steps-nav li.is-done::before { color: var(--brass); }
.steps-nav li.is-here { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }
.steps-nav li.is-here::before { color: var(--brass); }
.cal { background: var(--white); padding: 24px; border: 1px solid var(--line); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cal-head b { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; }
.cal-head .btn { min-height: 40px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-grid .dow { font-size: .75rem; color: var(--ink-2); text-align: center; padding: 4px 0 8px; }
.cal-day { height: 48px; border: 1px solid transparent; background: var(--white); cursor: pointer; position: relative; font-variant-numeric: tabular-nums; }
.cal-day:hover:not(:disabled) { border-color: var(--ink); }
.cal-day:disabled { color: #B4BABF; cursor: not-allowed; }
.cal-day.is-full::after { content: ""; position: absolute; inset-inline: 30%; top: 50%; height: 1px; background: #B4BABF; }
.cal-day[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.cal-key { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; font-size: .8125rem; color: var(--ink-2); }
.summary { background: var(--slate); color: var(--fg); padding: 32px; }
.summary h2 { color: var(--fg); }
.summary dl { margin: 0; display: grid; grid-template-columns: 1fr auto; }
.summary dt, .summary dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--rule); }
.summary dt { color: var(--fg-2); font-size: .9375rem; }
.summary dd { text-align: end; }
.summary .total dt, .summary .total dd { font-family: var(--serif); font-size: 1.375rem; color: var(--accent); }
.pkg-list { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .pkg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pkg-price { font-family: var(--serif); font-size: 1.25rem; margin-top: 14px; display: block; }
.pkg-price.is-tbc { color: var(--ink-2); font-style: italic; font-size: 1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 0 48px; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-grid > div { padding: 32px 0 36px; border-bottom: 1px solid var(--line); min-width: 0; }
.contact-grid h2 { font-family: var(--sans) !important; font-weight: 500; font-size: .875rem !important; color: var(--ink-2); letter-spacing: .02em; }
.contact-grid a.big, .contact-grid p.big { display: inline-block; font-family: var(--serif) !important; font-size: clamp(1.375rem, 2.2vw, 1.75rem) !important; font-weight: 300 !important; margin: 10px 0 12px; text-decoration: none; word-break: break-word; }
.contact-grid a.big:hover { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-family: var(--serif); font-size: 1.375rem; font-weight: 300; position: relative; }
[dir="rtl"] .faq summary { padding: 22px 0 22px 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 18px; font-family: var(--sans); font-size: 1.5rem; font-weight: 300; color: var(--brass); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 24px; margin: 0; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: var(--fg); padding-block: clamp(64px, 8vw, 104px) 104px; }
.foot-top { display: grid; gap: 48px; grid-template-columns: 1fr; padding-bottom: 56px; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .foot-top { grid-template-columns: 4fr 2fr 2fr 3fr; } }
.site-footer .brand-mark { width: 28px; height: 28px; }
.site-footer h2 { font-family: var(--sans); font-size: .8125rem; font-weight: 500; color: var(--fg-2); margin-bottom: 16px; letter-spacing: .04em; }
.site-footer .muted { color: var(--fg-2) !important; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; font-size: .9375rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; }
.foot-bottom { display: grid; gap: 12px; padding-top: 28px; font-size: .8125rem; color: var(--fg-2); grid-template-columns: 1fr; }
@media (min-width: 900px) { .foot-bottom { grid-template-columns: 1fr auto; } }
.foot-bottom p { margin: 0; max-width: none; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 22px; }

/* ---------- WhatsApp ---------- */
.wa {
  position: fixed; z-index: 40;
  inset-block-end: calc(20px + env(safe-area-inset-bottom, 0px)); inset-inline-end: calc(20px + env(safe-area-inset-right, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px;
  background: var(--white); color: var(--ink); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .875rem;
  box-shadow: 0 1px 0 var(--line), 0 8px 28px rgba(18, 27, 36, .14);
}
.wa svg { width: 22px; height: 22px; color: var(--wa); }
@media (max-width: 640px) { .wa span { display: none; } .wa { padding: 14px; } }

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed; z-index: 45; inset-block-end: calc(20px + env(safe-area-inset-bottom, 0px)); inset-inline-start: calc(20px + env(safe-area-inset-left, 0px)); max-width: 380px;
  background: var(--white); color: var(--ink); padding: 20px 22px; border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(18, 27, 36, .14); font-size: .875rem;
}
.cookie p { margin: 0 0 14px; }
.cookie .btn { min-height: 40px; padding: .55em 1em; font-size: .8125rem; }
@media (max-width: 640px) { .cookie { inset-inline-end: 84px; max-width: none; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(10, 15, 20, .94); display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal-box { width: min(1100px, 100%); }
.modal-frame { aspect-ratio: 16 / 9; max-width: 100%; background: #000; display: grid; place-items: center; color: var(--fg-2); text-align: center; padding: 24px; }
.modal-frame p { margin: 8px auto 0; }
.modal-close { position: absolute; top: calc(20px + env(safe-area-inset-top, 0px)); inset-inline-end: 20px; background: var(--white); color: var(--ink); border: 0; padding: 10px 16px; cursor: pointer; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 90; inset-block-end: calc(24px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; margin-inline: auto; width: fit-content;
  background: var(--ink); color: var(--white); padding: 14px 20px; max-width: min(520px, calc(100% - 32px)); font-size: .875rem;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.is-on { opacity: 1; transform: none; }

/* ---------- Misc ---------- */
.two-col { display: grid; gap: 40px 96px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.two-col > * { min-width: 0; }
.note-box { border-inline-start: 1px solid var(--accent); padding: 4px 0 4px 20px; color: var(--fg-2); }
[dir="rtl"] .note-box { padding: 4px 20px 4px 0; }
.note-box h3 { color: var(--fg); }
.legal h2 { font-size: var(--t-lg); margin: 48px 0 14px; }
.placeholder-mark { font-family: var(--serif); font-style: italic; color: var(--brass); }
.ratio-img { aspect-ratio: 2.39 / 1; max-width: 100%; overflow: hidden; }
.ratio-img img { width: 100%; height: 100%; object-fit: cover; }
.event-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mt-0 { margin-top: 0; }
.mt-l { margin-top: clamp(48px, 6vw, 72px); }
