/* BiancoToro Technologies — design system v3
   Light editorial theme: Instrument Serif display over Inter, warm stone
   neutrals, one copper accent. Self-hosted fonts, logical properties
   throughout so the Arabic (RTL) build needs no separate stylesheet. */

/* ---------- Fonts (same-origin; no external requests) ---------- */
@font-face{
  font-family:"InterVariable";
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,
    U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Focused review page shares the existing typography, cards and contact flow. */
.review-hero{padding-block:140px 70px;min-height:0}
.review-hero h1{max-width:18ch}
.review-hero .lead{max-width:720px;margin-block:24px 30px}
.review-section{padding-block:55px}
.review-section h2{font-size:clamp(30px,4vw,48px);line-height:1.15;margin-bottom:30px;max-width:28ch}
.review-section .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.review-section .card h3{margin-bottom:14px}
.review-section .card p,.review-steps p{line-height:1.8;color:var(--muted)}
.review-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;list-style:none;padding:0}
.review-step-number{display:block;margin-bottom:18px;color:var(--brand-text);font-size:14px;font-weight:600}
.review-steps h3{font-size:19px;margin-bottom:12px}
.review-process{background:var(--brand-soft)}
.review-faq{max-width:900px}
.review-faq details{padding-block:20px;border-bottom:1px solid #29241e26}
.review-faq summary{font-weight:600;cursor:pointer;line-height:1.6}
.review-faq details p{line-height:1.8;margin-top:14px;color:var(--muted)}
@media(max-width:880px){.review-section .cards,.review-steps{grid-template-columns:1fr;gap:25px}.review-section .cards{gap:1px}.review-hero{padding-top:110px}.review-section{padding-block:38px}}
@font-face{
  font-family:"InterVariable";
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,
    U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,
    U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"InstrumentSerif";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,
    U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"InstrumentSerif";
  font-style:italic;
  font-weight:400;
  font-display:swap;
  src:url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,
    U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"InstrumentSerif";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("/fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,
    U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,
    U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"InstrumentSerif";
  font-style:italic;
  font-weight:400;
  font-display:swap;
  src:url("/fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,
    U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,
    U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"NotoArabicVariable";
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url("/fonts/noto-arabic.woff2") format("woff2");
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,
    U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC;
}

/* ---------- Tokens ---------- */
:root{
  --bg:#F3F0E7;             /* warm oat-ivory ground */
  --surface:#ECE8DC;        /* deeper oat for alternating sections */
  --surface-hi:#E6E1D3;
  --paper:#FCFBF7;          /* cards read as paper laid on linen */
  --text:#211F1B;           /* warm charcoal ink — 14.4:1 on ivory */
  --muted:#5A5349;          /* 6.7:1 ivory / 6.2:1 surface */
  --faint:#6E675D;          /* 4.9:1 ivory / 4.6:1 surface — AA floor held */
  --border:#DFD9C9;
  --border-hi:#CFC7B2;
  --accent:#211F1B;         /* ink — primary buttons, focus ring */
  --on-accent:#ffffff;
  --brand:#76263c;
  --brand-text:#672138;
  --brand-bright:#ac566a;
  --brand-deep:#581b2d;
  --brand-soft:#f5edef;
  --brand-line:#d8b9c0;
  --ink:#211F1B;
  --control:#6E675D;        /* boundaries that carry an affordance (≥3:1) */
  /* keep in sync with --bg #F3F0E7 — plain literals: a color-mix() custom
     property fails silently to transparent on pre-2023 engines */
  --glass:rgba(243,240,231,.82);
  --glass-hi:rgba(243,240,231,.92);
  --radius-lg:20px;
  --radius:12px;
  --radius-sm:8px;
  --container:1152px;
  --header-h:64px;
  --ease:cubic-bezier(.32,.72,0,1);
  --spring:cubic-bezier(.22,1,.36,1);
  --t:.18s var(--ease);
  --shadow-1:0 1px 2px rgba(33,31,27,.04),0 4px 12px -2px rgba(33,31,27,.05);
  --shadow-2:0 2px 4px rgba(33,31,27,.05),0 16px 32px -12px rgba(33,31,27,.14);
  --font:"InterVariable","Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --font-display:"InstrumentSerif",Georgia,"Times New Roman",serif;
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font);
  font-size:16px;
  font-weight:450;
  line-height:1.6;
  font-feature-settings:"calt";
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  -webkit-tap-highlight-color:transparent;
  /* Guards against a horizontal scrollbar when the user raises the browser's
     default font size, which widens fixed-gap rows like the footer nav. */
  overflow-x:clip;
}
h1,h2,h3,p,figure,blockquote,dl,dd{margin:0}
/* Large display type + a raised default font size can push a single word past
   a narrow viewport; break it rather than clip it (WCAG 1.4.4). */
h1,h2,h3{overflow-wrap:break-word}
ul{margin:0;padding:0;list-style:none}
a{color:inherit;text-decoration:none}
svg{display:block}
::selection{background:var(--brand);color:#fff}

:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* Focused programmatically by the skip link / in-page nav; not operable
   controls, so they must not paint a ring. */
main[tabindex="-1"]:focus,section[tabindex="-1"]:focus{outline:none}

.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:28px}

.skip{
  position:fixed;top:0;inset-inline-start:0;z-index:100;
  background:var(--accent);color:var(--on-accent);
  padding:12px 20px;border-end-end-radius:12px;font-weight:560;
  transform:translateY(-120%);
  transition:transform var(--t);
}
.skip:focus{transform:none}

/* ---------- Display type ---------- */
h1{
  font-family:var(--font-display);
  font-weight:400;
  font-size:clamp(3rem,8vw,6.4rem);
  line-height:1.01;
  letter-spacing:-.02em;
  max-width:15em;
}
h2{
  font-family:var(--font-display);
  font-weight:400;
  margin-top:18px;
  font-size:clamp(2.4rem,4.6vw,3.6rem);
  line-height:1.05;letter-spacing:-.012em;
  max-width:22ch;text-wrap:balance;
}
.hx-em{font-style:italic;color:var(--brand)}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  /* Single word: never wraps, so the clipped gradient cannot band across lines. */
  .hx-em{
    background:linear-gradient(115deg,#92400E,#B45309 45%,var(--brand-bright));
    -webkit-background-clip:text;background-clip:text;color:transparent;
  }
}

/* ---------- Header ---------- */
.site-header{
  /* Above the consent toast (80): an open menu must not be covered by it. */
  position:sticky;top:0;z-index:90;
  background:var(--glass);
  backdrop-filter:saturate(180%) blur(16px);
  -webkit-backdrop-filter:saturate(180%) blur(16px);
  border-bottom:1px solid rgba(33,31,27,.07);
  view-transition-name:site-header;
  transition:box-shadow var(--t),background var(--t);
}
.site-header.is-scrolled{
  background:var(--glass-hi);
  box-shadow:0 8px 24px -16px rgba(33,31,27,.16);
}
.header-inner{
  height:var(--header-h);
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.logo{
  display:inline-flex;align-items:baseline;gap:9px;border-radius:8px;
  font-size:.98rem;white-space:nowrap;transition:opacity var(--t);
}
.logo svg{width:21px;height:21px;flex:none;align-self:center;color:var(--brand);transition:transform .25s var(--ease)}
/* Latin lockup keeps its internal order and gap inside RTL pages. */
.logo-name{font-weight:750;letter-spacing:-.02em;direction:ltr;unicode-bidi:isolate}
.logo-tech{font-weight:480;color:var(--faint);letter-spacing:-.008em;margin-inline-start:6px}
a.logo:hover svg{transform:rotate(-8deg)}
a.logo:hover{opacity:.7}

.nav{display:flex;align-items:center;gap:8px}
.nav a{
  position:relative;
  font-size:.875rem;font-weight:500;color:var(--muted);
  padding:7px 11px;
  transition:color var(--t);
}
/* Gradient underline draws in from the reading edge; scrollspy pins it. */
.nav a::after{
  content:"";position:absolute;inset-inline:11px;bottom:2px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,var(--brand),var(--brand-bright));
  transform:scaleX(0);transform-origin:0 50%;
  transition:transform .25s var(--ease);
}
[dir="rtl"] .nav a::after{transform-origin:100% 50%}
.nav a:hover{color:var(--text)}
.nav a[aria-current="true"]{color:var(--text)}
.nav a:hover::after,.nav a[aria-current="true"]::after{transform:scaleX(1)}

.header-actions{display:flex;align-items:center;gap:14px}

/* Language dropdown (desktop header) */
.lang-dd{position:relative}
.lang-btn{
  display:inline-flex;align-items:center;gap:7px;
  height:34px;padding:0 12px;border-radius:999px;
  border:1px solid var(--border);background:var(--paper);
  font:inherit;font-size:.78rem;font-weight:600;letter-spacing:.05em;color:var(--muted);
  cursor:pointer;
  transition:color var(--t),border-color var(--t),box-shadow var(--t);
}
.lang-btn:hover{color:var(--text);border-color:var(--border-hi);box-shadow:var(--shadow-2)}
.lang-btn svg{width:14px;height:14px}
.lang-btn .caret{width:9px;height:9px;transition:transform var(--t)}
.lang-btn[aria-expanded="true"] .caret{transform:rotate(180deg)}
.lang-menu{
  position:absolute;top:calc(100% + 8px);inset-inline-end:0;z-index:95;
  min-width:172px;padding:6px;
  background:var(--paper);border:1px solid var(--border);border-radius:12px;
  box-shadow:0 4px 8px rgba(33,31,27,.05),0 24px 48px -16px rgba(33,31,27,.18);
  animation:dd-in .16s var(--ease);
}
.lang-menu[hidden]{display:none}
.lang-menu a{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:9px 12px;border-radius:8px;
  font-size:.875rem;font-weight:500;color:var(--muted);
  transition:background var(--t),color var(--t);
}
.lang-menu a:hover{background:var(--surface-hi);color:var(--text)}
.lang-menu a:hover .code{color:var(--muted)}
.lang-menu a[aria-current="page"]{color:var(--text);font-weight:600}
.lang-menu a[aria-current="page"]::after{
  content:"";width:6px;height:6px;border-radius:50%;background:var(--brand);flex:none;
}
.lang-menu .code{font-size:.7rem;font-weight:600;letter-spacing:.06em;color:var(--faint)}
@keyframes dd-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}

/* Language pills (mobile panel + footer) */
.lang{display:flex;align-items:center;gap:1px;padding:3px;border-radius:999px;background:var(--surface-hi);width:max-content}
.lang a{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:32px;height:26px;padding:0 8px;border-radius:999px;
  font-size:.72rem;font-weight:600;letter-spacing:.05em;color:var(--muted);
  transition:background var(--t),color var(--t),box-shadow var(--t);
}
.lang a:hover{color:var(--text)}
.lang a[aria-current="page"]{color:var(--text);background:var(--paper);box-shadow:var(--shadow-1)}

.menu-toggle{
  display:none;flex:none;
  width:44px;height:44px;margin-inline-end:-10px;
  flex-direction:column;align-items:center;justify-content:center;
  background:none;border:0;color:var(--text);cursor:pointer;
  border-radius:12px;transition:background var(--t);
}
.menu-toggle:hover{background:var(--surface-hi)}
.menu-toggle .bar{
  display:block;width:17px;height:1.6px;background:currentColor;border-radius:2px;
  transition:transform var(--t),opacity var(--t);
}
.menu-toggle .bar+.bar{margin-top:5px}
.menu-toggle[aria-expanded="true"] .bar:nth-child(1){transform:translateY(6.6px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] .bar:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] .bar:nth-child(3){transform:translateY(-6.6px) rotate(-45deg)}

/* Absolute, not in-flow: an open panel would otherwise make the sticky header
   taller than a landscape phone viewport, leaving its lower half unreachable. */
.mobile-nav{
  position:absolute;top:var(--header-h);left:0;right:0;
  border-bottom:1px solid var(--border);
  background:var(--paper);
  max-height:calc(100vh - var(--header-h));
  max-height:calc(100dvh - var(--header-h));
  overflow-y:auto;overscroll-behavior:contain;
  padding-bottom:28px;
  box-shadow:0 24px 48px -24px rgba(33,31,27,.28);
  animation:slide-down .22s var(--ease);
}
.mobile-nav[hidden]{display:none}
.mobile-nav ul{display:flex;flex-direction:column;padding:10px 0 20px}
.mobile-nav li a{
  display:block;padding:15px 0;font-size:1.02rem;font-weight:500;color:var(--muted);
  border-bottom:1px solid var(--border);transition:color var(--t);
}
.mobile-nav li a:hover{color:var(--text)}
.mobile-nav .btn{margin-top:22px;width:100%}
.mobile-nav .lang{margin-top:18px;justify-content:center;margin-inline:auto}
@keyframes slide-down{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

/* ---------- Buttons ---------- */
.btn{
  position:relative;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-size:.92rem;font-weight:560;letter-spacing:-.006em;
  padding:12px 22px;border-radius:999px;border:1px solid transparent;
  cursor:pointer;white-space:nowrap;
  transition:background var(--t),border-color var(--t),color var(--t),transform var(--t),box-shadow var(--t),opacity var(--t);
}
.btn-primary{
  background:linear-gradient(180deg,#38342C,#211F1B 58%);
  color:var(--on-accent);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 1px 2px rgba(33,31,27,.24),0 8px 20px -8px rgba(33,31,27,.35);
}
.btn-primary{overflow:hidden}
.btn-primary::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,transparent 32%,rgba(255,255,255,.16) 50%,transparent 68%);
  translate:-130% 0;transition:translate .65s ease;
}
.btn-primary:hover::before{translate:130% 0}
.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 2px 4px rgba(33,31,27,.2),0 14px 28px -10px rgba(33,31,27,.4);
}
.btn:active{transform:scale(.985)}
/* The border is this button's only affordance, so it needs 3:1 against the
   page (WCAG 1.4.11), not the decorative --border value. */
.btn-ghost{background:var(--paper);color:var(--text);border-color:var(--control);box-shadow:var(--shadow-1)}
.btn-ghost:hover{border-color:var(--text);transform:translateY(-1px);box-shadow:var(--shadow-2)}
.btn-sm{padding:8px 17px;font-size:.85rem}
.btn .arrow{transition:transform var(--t)}
.btn:hover .arrow{transform:translateX(3px)}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;padding:clamp(80px,11vw,140px) 0 clamp(72px,9vw,108px)}
.hero-bg{
  position:absolute;inset:-1px 0 auto;height:760px;pointer-events:none;
  background-image:
    linear-gradient(to right,rgba(33,31,27,.05) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(33,31,27,.05) 1px,transparent 1px);
  background-size:72px 72px;
  -webkit-mask-image:radial-gradient(ellipse 72% 52% at 50% 0%,#000 8%,transparent 70%);
  mask-image:radial-gradient(ellipse 72% 52% at 50% 0%,#000 8%,transparent 70%);
}
/* A white page with no colour reads as unfinished; this is the warmth. */
.hero-aurora{
  position:absolute;inset:-28% -10% auto;height:840px;pointer-events:none;
  background:
    radial-gradient(34% 42% at 18% 20%,rgba(180,83,9,.13),transparent 70%),
    radial-gradient(30% 38% at 82% 12%,rgba(120,113,108,.10),transparent 70%),
    radial-gradient(46% 44% at 54% 44%,rgba(180,83,9,.05),transparent 72%);
  animation:aurora 26s ease-in-out infinite alternate;
}
@keyframes aurora{to{transform:translate3d(2%,-3%,0) scale(1.06)}}
/* The brand watching over its own hero. Decorative: barely-there copper. */
.hero-mark{
  position:absolute;top:4%;inset-inline-end:-4%;
  width:min(46vw,540px);color:var(--brand);opacity:.055;pointer-events:none;
  -webkit-mask-image:linear-gradient(200deg,#000 40%,transparent 86%);
  mask-image:linear-gradient(200deg,#000 40%,transparent 86%);
}
.hero-mark svg{width:100%;height:auto}
.hero-mark{will-change:transform}
/* Off-thread parallax where the platform supports it; app.js gates its rAF
   fallback on the same feature test so nothing double-drives. */
@supports (animation-timeline:scroll()){
  @media (prefers-reduced-motion:no-preference){
    .hero-mark{animation:mark-drift linear both;animation-timeline:scroll();animation-range:0px 1000px}
  }
}
@keyframes mark-drift{to{translate:0 80px}}
/* Film grain: what separates flat fills from something tactile. */
.hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:var(--grain);background-size:160px;
  opacity:.05;mix-blend-mode:multiply;
}
.hero .container{position:relative;z-index:1}

.badge{
  display:inline-flex;align-items:center;gap:9px;
  font-size:.8rem;font-weight:500;letter-spacing:.01em;color:var(--text);
  padding:7px 15px;border:1px solid var(--brand-line);border-radius:999px;
  background:linear-gradient(180deg,rgba(252,251,247,.65),rgba(252,251,247,0)),var(--brand-soft);
}
.badge .dot{width:6px;height:6px;border-radius:1.5px;rotate:45deg;background:var(--brand);flex:none}

.hero h1{margin-top:30px}
.lead{
  margin-top:26px;max-width:46ch;
  font-family:var(--font-display);
  font-size:clamp(1.35rem,2vw,1.6rem);
  font-weight:400;
  line-height:1.5;color:var(--muted);
  letter-spacing:-.008em;
  text-wrap:pretty;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:38px}
.hero-proof{
  display:flex;flex-wrap:wrap;gap:10px 40px;
  margin-top:52px;padding-top:24px;border-top:1px solid var(--border);
}
.hero-proof li{
  position:relative;padding-inline-start:16px;
  font-size:.84rem;font-weight:500;color:var(--faint);
}
.hero-proof li::before{
  content:"";position:absolute;inset-inline-start:1px;top:.5em;
  width:5.5px;height:5.5px;border-radius:1px;rotate:45deg;
  background:var(--brand);opacity:.55;
}
/* Load choreography: use opacity and translation so the headline settles
   without repainting a large blurred text layer on every frame. */
.hero .badge{animation:rise .6s var(--spring) .04s both}
.hero h1{animation:focus-in .85s var(--spring) .1s both}
.hero .lead{animation:rise .7s var(--spring) .24s both}
.hero .hero-actions{animation:rise .7s var(--spring) .32s both}
.hero .hero-proof{animation:rise .7s var(--spring) .42s both}
@keyframes rise{from{opacity:0;translate:0 16px}}
@keyframes focus-in{
  from{opacity:0;translate:0 20px}
  to{opacity:1;translate:none}
}

/* ---------- Sections ---------- */
section{scroll-margin-top:calc(var(--header-h) + 16px)}
.section{padding:clamp(76px,9vw,116px) 0;border-top:1px solid var(--border)}
.section--tint{background:var(--surface)}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:.74rem;font-weight:640;
  letter-spacing:.14em;text-transform:uppercase;color:var(--brand-text);
}
.eyebrow .e-num{font-variant-numeric:tabular-nums;font-weight:640}
.eyebrow::before{content:"";width:18px;height:1.5px;background:var(--brand-line);border-radius:1px}
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion:no-preference){
    .eyebrow::before{
      animation:rule-draw linear both;
      animation-timeline:view();animation-range:entry 15% entry 45%;
    }
  }
}
@keyframes rule-draw{from{width:0}}
.section-lead{
  margin-top:18px;max-width:40ch;color:var(--muted);
  font-family:var(--font-display);
  font-size:clamp(1.35rem,2vw,1.6rem);font-weight:400;
  line-height:1.5;letter-spacing:-.006em;text-wrap:pretty;
}
.section-head{margin-bottom:56px}

/* ---------- Service cards ---------- */
/* Shared-seam plate: 1px hairlines between paper cells, no floating cards. */
.cards{
  display:grid;grid-template-columns:repeat(2,1fr);gap:1px;
  background:var(--border);border:1px solid var(--border);
  border-radius:var(--radius-lg);overflow:hidden;
}
.card{
  position:relative;
  background:var(--paper);
  padding:36px;
  transition:background .18s var(--ease);
}
.card:hover{background:#FFFFFF}
/* Equal internal rows across the plate where the platform can align them. */
@supports (grid-template-rows:subgrid){
  .card{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:0;align-content:start}
}
.card-icon{
  width:44px;height:44px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--brand-line);
  background:linear-gradient(180deg,rgba(252,251,247,.8),rgba(252,251,247,0)),var(--brand-soft);
  color:var(--brand);margin-bottom:24px;
  box-shadow:var(--shadow-1);
  transition:border-color var(--t),background var(--t),transform var(--t);
}
.card:hover .card-icon{border-color:var(--brand);transform:scale(1.04)}
/* Cursor-tracked copper spotlight: the light follows the reader's hand. */
@media (pointer:fine){
  .card::after{
    content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
    background:radial-gradient(230px circle at var(--mx,50%) var(--my,50%),rgba(180,83,9,.09),transparent 65%);
    opacity:0;transition:opacity .35s var(--ease);
  }
  .card:hover::after{opacity:1}
}
.card h3{font-size:1.13rem;font-weight:620;letter-spacing:-.018em;line-height:1.35}
.card p{
  margin-top:12px;color:var(--muted);
  font-size:.95rem;line-height:1.7;letter-spacing:-.004em;text-wrap:pretty;
}

/* ---------- Approach ---------- */
.steps{display:flex;flex-direction:column;border-bottom:1px solid var(--border)}
.step{
  display:grid;grid-template-columns:76px 1fr;gap:6px 24px;
  padding-block:26px;
  border-top:1px solid var(--border);
}
/* Flat markup (num, h3, p, receipt as siblings): pin content to the 1fr
   column or auto-placement squeezes body copy into the numeral track. */
.step > :not(.num){grid-column:2}
.step .num{
  display:block;
  font-family:var(--font-display);font-style:italic;
  font-size:2.2rem;line-height:1;color:var(--brand);
  font-variant-numeric:tabular-nums;
}
.step h3{margin:0;font-size:1.13rem;font-weight:620;letter-spacing:-.018em;line-height:1.35}
.step p{
  margin-top:8px;color:var(--muted);
  font-size:.95rem;line-height:1.7;max-width:52ch;letter-spacing:-.004em;
}
.step-out{
  margin-top:18px;padding-top:14px;border-top:1px dashed var(--brand-line);
  font-size:.88rem;line-height:1.6;color:var(--text);max-width:34ch;
}
.step-tag{
  display:block;font-size:.7rem;font-weight:640;letter-spacing:.12em;
  text-transform:uppercase;color:var(--brand-text);margin-bottom:6px;
}
[lang="ar"] .step-tag{text-transform:none;letter-spacing:normal;font-size:.78rem}

/* ---------- Manifesto bridge ---------- */
.manifesto{padding:clamp(88px,11vw,140px) 0}
.manifesto-p{
  font-family:var(--font-display);
  font-size:clamp(2rem,3.8vw,3.1rem);line-height:1.22;letter-spacing:-.015em;
  max-width:26ch;text-wrap:balance;color:var(--text);
}
.manifesto-p::before{
  content:"";display:block;width:28px;height:1.5px;background:var(--brand);
  margin-bottom:28px;border-radius:1px;
}
.manifesto-act{margin-top:40px;display:flex;align-items:center;flex-wrap:wrap;gap:16px 28px}
.manifesto-act p{color:var(--muted);font-size:1rem;max-width:46ch}
[lang="ar"] .manifesto-p{letter-spacing:normal;line-height:1.5;font-weight:660}

/* ---------- Company ---------- */
.company-panel{
  background:var(--paper);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:clamp(32px,5vw,56px);
  display:grid;grid-template-columns:1.05fr .95fr;
  gap:clamp(30px,5vw,64px);align-items:start;
}
.company-copy h2{font-size:clamp(1.8rem,3vw,2.4rem)}
.company-copy p{
  margin-top:18px;color:var(--muted);
  font-size:1.02rem;line-height:1.72;max-width:56ch;letter-spacing:-.005em;text-wrap:pretty;
}
.facts{display:flex;flex-direction:column}
.fact{
  display:grid;grid-template-columns:minmax(130px,36%) 1fr;gap:16px;
  padding:13px 0;border-bottom:1px solid var(--border);
}
.fact:last-child{border-bottom:0}
.fact dt{font-size:.8rem;font-weight:560;color:var(--faint);padding-top:2px}
.fact dd{font-size:.92rem;font-weight:500;color:var(--text);line-height:1.55;overflow-wrap:anywhere}
.fact dd a{
  text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:var(--border-hi);transition:text-decoration-color var(--t);
}
.fact dd a:hover{text-decoration-color:var(--brand)}

/* ---------- FAQ ---------- */
/* Ledger rail: the section primitive — sticky head left, ruled content right. */
.rail{display:grid;grid-template-columns:minmax(230px,.75fr) 1.25fr;gap:clamp(32px,6vw,84px);align-items:start}
.rail-head{margin-bottom:0;position:sticky;top:calc(var(--header-h) + 28px)}
.faq{border-top:1px solid var(--border)}
.faq-item{border-bottom:1px solid var(--border)}
.faq-item summary{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:21px 2px;cursor:pointer;list-style:none;
  font-size:1.03rem;font-weight:560;letter-spacing:-.012em;color:var(--text);
  border-radius:8px;
  transition:color var(--t);
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary{transition:color var(--t),padding-inline-start .25s var(--ease)}
.faq-item summary:hover{color:var(--brand-deep);padding-inline-start:8px}
.faq-x{flex:none;color:var(--faint);transition:transform .25s var(--ease),color var(--t)}
.faq-item[open] .faq-x{transform:rotate(45deg);color:var(--brand)}
.faq-a{padding:0 2px 24px}
.faq-a p{color:var(--muted);font-size:.96rem;line-height:1.72;max-width:62ch;text-wrap:pretty}
/* Smooth expand where the platform supports it; instant elsewhere. */
@supports (interpolate-size: allow-keywords){
  :root{interpolate-size:allow-keywords}
  .faq-item::details-content{
    block-size:0;overflow:clip;
    transition:block-size .3s var(--ease),content-visibility .3s allow-discrete;
  }
  .faq-item[open]::details-content{block-size:auto}
}

/* ---------- Footer CTA ---------- */
/* Inverted panel: a light page needs one dark anchor at the end or the whole
   composition trails off. */
.cta{padding:clamp(64px,8vw,104px) 0 clamp(76px,9vw,116px);border-top:1px solid var(--border)}
.cta-panel{
  position:relative;overflow:hidden;
  background:
    radial-gradient(90% 120% at 50% -20%,#3A342A,transparent 60%),
    #221E17;
  color:#fff;
  border-radius:var(--radius-lg);
  padding:clamp(48px,6vw,80px) clamp(26px,5vw,64px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 32px 64px -32px rgba(33,31,27,.5);
}
.cta-glow{
  position:absolute;top:-42%;left:50%;transform:translateX(-50%);
  width:min(820px,124%);height:640px;pointer-events:none;
  background:radial-gradient(closest-side,rgba(180,83,9,.5),transparent 70%);
}
@media (prefers-reduced-motion:no-preference){
  .cta-glow{animation:breathe 9s ease-in-out infinite alternate}
  @keyframes breathe{to{transform:translateX(-50%) scale(1.14);opacity:.82}}
}
.cta-panel::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:var(--grain);background-size:160px;
  opacity:.08;mix-blend-mode:screen;border-radius:inherit;
}
/* :not(.cta-glow) — the glow must stay absolute or it lands in flow and opens
   a 640px hole above the headline. */
.cta-panel > :not(.cta-glow){position:relative;z-index:1}
.cta h2{font-size:clamp(2.2rem,4.5vw,3.3rem);color:#fff;margin-top:0}
.cta p{margin-top:16px;color:#B3AB9C;font-size:1.04rem;letter-spacing:-.005em}
.mail{
  display:inline-block;margin-top:26px;
  font-size:clamp(1.15rem,2.5vw,1.55rem);font-weight:620;letter-spacing:-.025em;
  padding-bottom:6px;max-width:100%;overflow-wrap:anywhere;
  color:#fff;border-bottom:1px solid rgba(255,255,255,.32);
  transition:border-color var(--t),opacity var(--t);
}
.mail:hover{border-color:#fff;opacity:.85}
.cta-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.btn-on-dark-solid{
  background:#fff;color:var(--ink);
  box-shadow:inset 0 -1px 0 rgba(33,31,27,.08),0 8px 24px -10px rgba(0,0,0,.6);
}
.btn-on-dark-solid:hover{transform:translateY(-1px);box-shadow:0 14px 32px -12px rgba(0,0,0,.7)}
.btn-on-dark{background:rgba(255,255,255,.02);color:#fff;border-color:rgba(255,255,255,.42)}
.btn-on-dark:hover{border-color:#fff;background:rgba(255,255,255,.1);transform:translateY(-1px)}
.btn-on-dark.is-copied{border-color:#fff;background:rgba(255,255,255,.16)}
.cta-panel :focus-visible{outline-color:#fff}
/* The global ink-on-white selection is invisible on the ink panel. */
.cta-panel ::selection{background:#fff;color:#221E17}
.cta-panel .btn-on-dark-solid::selection{background:var(--brand);color:#fff}

/* ---------- Contact form ---------- */
.cta-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,5vw,72px);
  align-items:center;text-align:start;
}
.or-direct{margin-top:22px}
/* What happens after you write: the process, sold at the moment of decision. */
.next{margin:30px 0 0;padding:0;list-style:none;display:flex;flex-direction:column}
.next li{display:flex;gap:16px;padding:13px 0;border-top:1px solid rgba(255,255,255,.12)}
.next li:first-child{border-top:0;padding-top:0}
.next-num{
  flex:none;min-width:36px;
  font-family:var(--font-display);font-style:italic;
  font-size:1.5rem;line-height:1.25;color:#e07a1f;font-variant-numeric:tabular-nums;
}
.next h3{font-size:.95rem;font-weight:600;letter-spacing:-.01em;color:#fff;line-height:1.4}
.next p{margin-top:3px;font-size:.86rem;line-height:1.55;color:#B3AB9C;max-width:44ch}
[lang="ar"] .next-num{font-style:normal;font-weight:640;font-size:1.3rem}
[lang="ar"] .next h3{letter-spacing:normal}
.form-card{
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  padding:clamp(22px,3vw,32px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:0}
.field{display:flex;flex-direction:column;gap:7px;margin-top:14px}
.form-card .field:first-child,.form-row .field{margin-top:0}
.form-row + .field{margin-top:14px}
.field label{font-size:.8rem;font-weight:560;color:#DCD6C9;letter-spacing:.01em}
.field input,.field textarea{
  font:inherit;font-size:.92rem;color:#fff;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.16);
  border-radius:var(--radius-sm);padding:11px 14px;
  transition:border-color var(--t),background var(--t);
}
.field input::placeholder,.field textarea::placeholder{color:#918C85}
.field input:hover,.field textarea:hover{border-color:rgba(255,255,255,.28)}
.field input:focus,.field textarea:focus{
  outline:none;border-color:#fff;background:rgba(255,255,255,.09);
}
.field textarea{resize:vertical;min-height:104px}
.form-foot{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px}
.form-note{font-size:.78rem;color:#a19d98;flex:1;min-width:180px}
.form-status{margin-top:12px;font-size:.85rem;color:#fff;min-height:1.3em}
.form-status.is-error{color:#fca5a5}

/* ---------- Footer ---------- */
.site-footer{border-top:1px solid var(--border);background:var(--surface)}
.footer-grid{
  display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:36px;padding:56px 0 44px;
}
.footer-brand{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.footer-tag{font-size:.88rem;color:var(--muted);max-width:30ch;line-height:1.65}
.footer-col{display:flex;flex-direction:column;gap:11px;align-items:flex-start}
.footer-h{
  font-size:.72rem;font-weight:640;letter-spacing:.12em;text-transform:uppercase;
  color:var(--faint);margin-bottom:5px;
}
.footer-col a{font-size:.9rem;font-weight:500;color:var(--muted);transition:color var(--t);overflow-wrap:anywhere}
.footer-col a:hover{color:var(--text)}
.footer-col .lang{margin-top:8px}
.footer-legal{
  display:flex;align-items:center;justify-content:space-between;gap:10px 24px;flex-wrap:wrap;
  padding:22px 0 28px;border-top:1px solid var(--border);
}
.copyright{font-size:.84rem;color:var(--faint)}
.site-footer--slim{background:var(--bg);padding:34px 0}
.site-footer--slim .footer-legal{border-top:0;padding:0}
/* Fixed gaps + rem labels: without wrap this row clips once the user raises
   their default font size. */
.footer-links{display:flex;flex-wrap:wrap;row-gap:12px;column-gap:24px}
.footer-links a{font-size:.84rem;font-weight:500;color:var(--muted);transition:color var(--t)}
.footer-links a:hover{color:var(--text)}

.linkish{
  background:none;border:0;padding:0;cursor:pointer;font:inherit;border-radius:4px;
  font-size:.9rem;font-weight:500;color:var(--muted);transition:color var(--t);
  text-align:start;
}
.linkish:hover{color:var(--text)}
.doc .linkish,.footer-links .linkish{font-size:inherit}

/* Below-fold sections skip layout/paint until approached. */
#company,#faq,.cta{content-visibility:auto;contain-intrinsic-size:auto 720px}

/* ---------- Reveal ---------- */
@media screen and (prefers-reduced-motion: no-preference) {
  .step.reveal, .client-grid.reveal { transition: translate .62s var(--spring); }
  .step.is-waiting, .client-grid.is-waiting { translate: 0 12px; }
}

/* ---------- Route progress bar ---------- */
#topbar{
  position:fixed;top:0;inset-inline-start:0;height:2px;width:0;z-index:120;
  background:linear-gradient(90deg,var(--brand),var(--brand-bright));
  opacity:0;pointer-events:none;
}
#topbar.run{animation:topbar .55s var(--ease) both}
@keyframes topbar{0%{width:0;opacity:1}70%{width:100%;opacity:1}100%{width:100%;opacity:0}}

/* ---------- 404 view ---------- */
.nf{
  min-height:calc(100vh - var(--header-h));
  min-height:calc(100dvh - var(--header-h));
  display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;text-align:center;
}
.nf-inner{position:relative;padding:48px 24px 72px}
.nf-bull{width:132px;height:132px;margin-inline:auto;color:var(--ink)}
.nf-bull svg{width:100%;height:100%}
.nf-bull .pupil{transition:transform .12s linear}
.nf-code{
  margin-top:26px;
  font-family:var(--font-display);
  font-size:clamp(5rem,15vw,9rem);
  line-height:.95;letter-spacing:-.02em;
  background:linear-gradient(180deg,var(--text) 55%,var(--brand));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.nf h1{
  margin-top:14px;font-family:var(--font);font-size:clamp(1.3rem,3vw,1.7rem);
  font-weight:620;letter-spacing:-.022em;max-width:none;line-height:1.3;
}
.nf p{
  margin-top:12px;color:var(--muted);font-size:1.02rem;
  max-width:44ch;margin-inline:auto;line-height:1.65;
}
.nf-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:34px}
.nf-langs{margin-top:26px;display:flex;gap:16px;justify-content:center}
.nf-langs a{font-size:.82rem;font-weight:500;color:var(--muted);transition:color var(--t)}
.nf-langs a:hover{color:var(--text)}
@media (prefers-reduced-motion:reduce){.nf-bull .pupil{transition:none;transform:none !important}}

/* ---------- SPA view transitions ---------- */
@media (prefers-reduced-motion:no-preference){
  ::view-transition-old(root){animation:vt-out .16s var(--ease) both}
  ::view-transition-new(root){animation:vt-in .24s var(--ease) both}
}
@keyframes vt-out{to{opacity:0;translate:0 -8px}}
@keyframes vt-in{from{opacity:0;translate:0 10px}}

/* ---------- Consent toast ---------- */
/* A slim corner toast, not a card: consent should never dominate the page.
   Anchored inline-end so it stays off the inline-start-aligned hero CTAs. */
.cookie{
  position:fixed;inset-inline-end:20px;inset-inline-start:auto;bottom:20px;z-index:80;
  width:min(440px,calc(100vw - 40px));
  display:flex;align-items:center;gap:14px;
  background:var(--glass-hi);
  backdrop-filter:saturate(180%) blur(16px);
  -webkit-backdrop-filter:saturate(180%) blur(16px);
  border:1px solid rgba(33,31,27,.1);
  border-radius:12px;
  box-shadow:0 4px 8px rgba(33,31,27,.05),0 24px 48px -16px rgba(33,31,27,.22);
  padding:14px 16px;
  animation:toast-in .3s var(--ease);
  view-transition-name:consent;
}
.cookie[hidden]{display:none}
/* Kept in the DOM for aria-labelledby; visually the toast is its sentence. */
.cookie-title{
  position:absolute;width:1px;height:1px;overflow:hidden;
  clip-path:inset(50%);white-space:nowrap;
}
.cookie p{flex:1;color:var(--muted);font-size:.8rem;line-height:1.5;margin:0}
.cookie a{color:var(--text);font-weight:500;text-decoration:underline;text-underline-offset:3px}
.cookie-actions{display:flex;flex:none;gap:8px}
.cookie-actions .btn{padding:8px 15px;font-size:.8rem}
@keyframes toast-in{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
/* JS adds this when the bottom position would land on the hero CTAs: the toast
   docks under the header instead of covering the page's primary actions. */
.cookie.cookie--docked{top:calc(var(--header-h) + 12px);bottom:auto;animation-name:toast-in-top}
@keyframes toast-in-top{from{opacity:0;transform:translateY(-14px) scale(.98)}to{opacity:1;transform:none}}

.visually-hidden{
  position:absolute;width:1px;height:1px;overflow:hidden;
  clip-path:inset(50%);white-space:nowrap;
}

/* ---------- Legal document pages ---------- */
.doc{padding:clamp(56px,8vw,92px) 0 clamp(76px,10vw,116px)}
.doc-container{max-width:768px}
.doc h1{margin-top:18px;font-size:clamp(2.4rem,5vw,3.3rem);line-height:1.06;max-width:none}
.updated{margin-top:16px;color:var(--faint);font-size:.9rem}
.intro{margin-top:26px;color:var(--muted);font-size:1.05rem;line-height:1.7;text-wrap:pretty}
.doc h2{
  margin-top:56px;font-size:1.6rem;line-height:1.2;
  padding-top:30px;border-top:1px solid var(--border);max-width:none;text-wrap:auto;
}
.doc h3{margin-top:28px;font-size:1.04rem;font-weight:620;letter-spacing:-.012em}
.doc p{margin-top:14px;color:var(--muted);line-height:1.72;text-wrap:pretty}
.doc p strong{color:var(--text);font-weight:600}
.doc a{
  color:var(--text);text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:var(--border-hi);transition:text-decoration-color var(--t);
}
.doc a:hover{text-decoration-color:var(--accent)}
.doc ul{margin-top:14px;display:flex;flex-direction:column;gap:10px}
.doc li{position:relative;padding-inline-start:22px;color:var(--muted);line-height:1.65}
.doc li::before{content:"";position:absolute;inset-inline-start:0;top:.7em;width:7px;height:1.5px;background:var(--brand-line);border-radius:1px}
.back{font-size:.875rem;font-weight:500;color:var(--muted);transition:color var(--t);white-space:nowrap}
.back:hover{color:var(--text)}

.tbl-wrap{margin-top:22px;overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}
table{border-collapse:collapse;width:100%;min-width:520px;font-size:.9rem}
th,td{text-align:start;padding:14px 18px;border-bottom:1px solid var(--border);vertical-align:top}
th{font-weight:600;color:var(--text);white-space:nowrap;background:var(--surface-hi)}
td{color:var(--muted)}
tr:last-child td{border-bottom:0}
.note{
  margin-top:26px;padding:18px 22px;border:1px dashed var(--brand-line);
  border-radius:var(--radius);background:var(--brand-soft);color:var(--muted);font-size:.9rem;line-height:1.65;
}
.note strong{color:var(--brand-deep)}

/* ---------- Right-to-left (Arabic) ---------- */
[dir="rtl"] .btn .arrow{transform:scaleX(-1)}
[dir="rtl"] .btn:hover .arrow{transform:scaleX(-1) translateX(3px)}
/* Arabic is cursive: letter-spacing severs the joins between letters, and the
   Latin display serif has no Arabic glyphs — headings fall back to Noto with
   the weight a sans headline needs. Set tokens, not font-family: the body's
   own declaration would out-cascade anything inherited from <html>. */
[lang="ar"]{--font:"InterVariable","NotoArabicVariable","Segoe UI","Tahoma","Geeza Pro",sans-serif;
  --font-display:"NotoArabicVariable","InterVariable","Segoe UI","Tahoma","Geeza Pro",sans-serif}
[lang="ar"] h1,[lang="ar"] h2,[lang="ar"] h3,
[lang="ar"] .eyebrow,[lang="ar"] .badge,[lang="ar"] .btn,[lang="ar"] .mail{letter-spacing:normal}
[lang="ar"] .eyebrow{text-transform:none;font-size:.82rem}
[lang="ar"] .footer-h{text-transform:none;letter-spacing:normal;font-size:.8rem}
[lang="ar"] body,[lang="ar"] .lead,[lang="ar"] .section-lead{line-height:1.9}
[lang="ar"] .doc p{line-height:1.9}
[lang="ar"] h1{font-weight:680;line-height:1.28;font-size:clamp(2.5rem,6vw,4.6rem)}
[lang="ar"] h2{font-weight:660;line-height:1.4}
[lang="ar"] .cta h2{line-height:1.45}
[lang="ar"] .hx-em{font-style:normal}
[lang="ar"] .step .num{font-style:normal;font-weight:640;font-size:2.2rem}
[lang="ar"] .nf-code{font-weight:680}
[lang="ar"] .lead,[lang="ar"] .section-lead,[lang="ar"] .card p,[lang="ar"] .step p,
[lang="ar"] .company-copy p,[lang="ar"] .cta p,[lang="ar"] .faq-a p{letter-spacing:normal}
[lang="ar"] .logo-name,[lang="ar"] .logo-tech{letter-spacing:0}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .nav{gap:0}
  .company-panel{grid-template-columns:1fr}
  .rail{grid-template-columns:1fr;gap:36px}
  .rail-head{position:static}
  .cta-grid{grid-template-columns:1fr}
}
@media (max-width:880px){
  .nav,.header-actions .lang-dd{display:none}
  .header-actions{gap:8px}
  .header-actions .btn-sm{padding:8px 14px;font-size:.8rem}
  .menu-toggle{display:flex}
  .hero-mark{display:none}
  .footer-grid{grid-template-columns:1fr 1fr;gap:32px;padding:44px 0 36px}
  .footer-brand{grid-column:1 / -1}
}
@media (max-width:680px){
  .cards{grid-template-columns:1fr}
  .card{padding:28px}
}
@media (max-width:620px){
  .form-row{grid-template-columns:1fr}
  .form-row .field + .field{margin-top:14px}
}
@media (max-width:560px){
  .container{padding-inline:20px}
  .step{grid-template-columns:56px 1fr}
  .hero-actions .btn{flex:1 1 100%}
  .hero-proof{gap:12px;flex-direction:column}
  .footer-grid{grid-template-columns:1fr}
  .footer-legal{flex-direction:column;align-items:flex-start}
  /* Full width on phones; text and actions stack, kept short so it stays low. */
  .cookie{inset-inline:12px;width:auto;bottom:12px;flex-direction:column;align-items:stretch;gap:10px;padding:14px}
  .cookie-actions .btn{flex:1}
}
@media (max-width:420px){
  .logo-tech{display:none}
}
@media (max-width:360px){
  .badge{font-size:.72rem;letter-spacing:0;padding:6px 12px;gap:7px}
}

/* Without JS the hamburger cannot open anything, so hide the dead control and
   keep the primary CTA in the header instead. */
html:not(.js) .menu-toggle{display:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms !important;animation-iteration-count:1 !important;
    transition-duration:.01ms !important;scroll-behavior:auto !important;
  }
  .js .reveal{translate:none}
}

@media print{
  .site-header,.hero-bg,.hero-aurora,.hero-mark,.cta-glow,.cookie,#topbar{display:none}
  .hx-em{background:none;-webkit-background-clip:initial;background-clip:initial;color:#000}
  .nf-code{background:none;color:#000}
  .hero .badge,.hero h1,.hero .lead,.hero .hero-actions,.hero .hero-proof{animation:none}
  body{background:#fff;color:#000}
  .js .reveal{translate:none}
  .cta-panel{background:none;color:#000;padding:0;box-shadow:none}
  .cta h2{color:#000}
  .mail{color:#000;border-bottom-color:#999}
  .doc p,.doc li,td,.updated,.intro{color:#3f3f46}
}

/* Studio homepage */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Plak Light";
  src: local("Neue Plak W01 Light"), local("Neue Plak Light");
  font-weight: 300;
}
@font-face {
  font-family: "Barlow Light";
  src: url("/fonts/barlow-latin-light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

.studio-main, .studio-header, .studio-footer, .studio-footer + .cookie {
  --studio-dark: #1f1e1c;
  --studio-footer: #171615;
  --wine: #76263c;
  --rose: #efb5bf;
  --bg: #fff;
  --paper: #fff;
  --surface: #f9f9f9;
  --surface-hi: #efefef;
  --text: #111;
  --muted: #535353;
  --faint: #646464;
  --border: #dedede;
  --border-hi: #ababab;
  --brand: var(--wine);
  --brand-text: var(--wine);
  --brand-deep: #5a182c;
  --brand-soft: #f5edef;
  --brand-line: #dedede;
  --accent: #111;
  --ink: #111;
  --font-display: "Montserrat", var(--font);
  --studio-body: "Plak Light", "Barlow Light", var(--font);
  --container: 1176px;
  --gutter: clamp(24px, 4vw, 48px);
}
.studio-main {
  color: var(--text);
  background: var(--bg);
}
.studio-main .container, .studio-footer .container {
  padding-inline: var(--gutter);
}
.studio-main h1, .studio-main h2, .studio-main h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.012em;
}
.studio-main h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.6vw, 4.12rem);
  line-height: 1.08;
}
.studio-main .section {
  padding-block: clamp(72px, 9vw, 136px);
  border: 0;
}
.studio-main [tabindex="-1"] { scroll-margin-block-start: 89px; }

.studio-header, .studio-header.is-scrolled {
  --header-h: 88px;
  --text: #fff;
  --muted: #d4d4d4;
  --border: #464646;
  --header-bg: var(--studio-dark);
  border: 0;
  background: var(--header-bg);
  color: var(--text);
  box-shadow: none;
  backdrop-filter: none;
  transition: background .18s ease, color .18s ease;
}
.studio-header[data-tone="light"] {
  --text: #111;
  --muted: #444;
  --border: #ddd;
  --header-bg: #fff;
}
.studio-header[data-tone="accent"] {
  --text: #fff;
  --header-bg: var(--wine);
}
.studio-header[data-tone="footer"] { --header-bg: var(--studio-footer); }
.studio-header .header-inner {
  max-width: 1720px;
  padding-inline: clamp(22px, 4vw, 64px);
}
.studio-wordmark {
  display: grid;
  min-height: 44px;
  align-items: center;
  font: 680 clamp(1.28rem, 1.9vw, 1.64rem)/1 var(--font-display);
  letter-spacing: -.06em;
}
.brand-name, .brand-symbol {
  grid-area: 1 / 1;
  justify-self: start;
  transition: transform .42s var(--spring), opacity .26s ease;
}
.brand-name { direction: ltr; }
.brand-name b { color: var(--wine); }
.brand-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(5px) scale(.87);
}
.brand-symbol svg { width: 21px; height: 21px; }
.studio-header.mast-compact:not(:focus-within) .brand-name {
  opacity: 0;
  transform: translateY(-5px);
}
.studio-header.mast-compact:not(:focus-within) .brand-symbol {
  opacity: 1;
  transform: none;
}
.studio-header .header-actions { gap: clamp(18px, 2vw, 32px); }
.studio-talk {
  font: 700 .72rem/1.4 var(--font);
  text-transform: uppercase;
  letter-spacing: .16em;
}
.studio-talk {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: currentColor;
}
.js .studio-header .menu-toggle {
  display: flex;
  margin: 0;
  border-radius: 50%;
  color: var(--header-bg);
  background: var(--text);
}
.studio-header .menu-toggle .bar { width: 15px; height: 1px; }
.studio-header .studio-menu {
  inset-inline: auto clamp(22px, 4vw, 64px);
  width: min(370px, calc(100% - 44px));
  padding: 12px 4px 24px;
  background: #171615;
  color: #fff;
  --text: #fff;
  --muted: #d4d4d4;
  --border: #464646;
  --paper: #393939;
}
.studio-menu .lang { background: transparent; }
.studio-menu a:focus-visible, .studio-footer a:focus-visible { outline-color: var(--wine); }

.studio-hero {
  position: relative;
  isolation: isolate;
  background: var(--studio-dark);
  color: #fff;
}
.studio-hero-inner { min-height: max(610px, calc(100svh - var(--mast-height,88px))); display: flex; align-items: center; padding-block: 56px 94px; }
.studio-hero-copy { position: relative; z-index: 1; }
.studio-kicker, .chapter-label, .note-category, .agency-link {
  font: 700 .75rem/1.45 var(--font);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.studio-kicker { margin-bottom: clamp(24px,3.2vw,46px); color: var(--wine); }
.studio-hero h1, .studio-hero .lead, .studio-hero .agency-link { margin-inline-start: clamp(0px,2.8vw,40px); }
.studio-hero h1 { max-width: 17ch; font-size: clamp(3rem,5.05vw,4.5rem); line-height: 1.24; color:#fff; }
.studio-hero h1 .line-mask { display:block; }
.studio-hero .lead { max-width: 42ch; margin-block: 18px 30px; color: #e1e0df; font: 300 clamp(1.07rem,1.48vw,1.25rem)/1.75 var(--studio-body); }
.agency-link { display:inline-flex; position:relative; align-items:center; gap:20px; min-height:46px; font-size:.68rem; z-index:0; padding-inline:12px; }
.agency-link::before { content:""; position:absolute; z-index:-1; inset-inline-start:0; width:44px; height:44px; border-radius:30px; background:currentColor; opacity:.09; transition:width .35s var(--spring); }
.agency-link:hover::before,.agency-link:focus-visible::before { width:100%; }
.agency-link svg { width:13px; color:var(--wine); }
[dir="rtl"] .agency-link svg { rotate:180deg; }
.work-section, .studio-insights { padding-block:clamp(95px,13.4vw,194px); }
.section-intro h2 { font-size:clamp(2.5rem,4.1vw,3.375rem); line-height:1.3; }
.section-intro > p { font:300 clamp(1.1rem,1.6vw,1.3rem)/1.65 var(--studio-body); color:#454545; margin-top:12px; }
.work-grid,.note-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(65px,9vw,132px) clamp(42px,5vw,72px); margin-top:clamp(48px,7.2vw,104px); align-items:start; }
.work-grid,.note-grid { padding-bottom:clamp(44px,7vw,100px); }
.work-tile,.note-tile { min-width:0; position:relative; }
.work-tile { display:block; }
.work-tile:nth-child(even),.note-tile:nth-child(even) { transform:translateY(clamp(44px,7vw,100px)); }
.work-image, .note-image, .story-image { position:relative; overflow:hidden; background:#f4f4f4; }
.work-image { aspect-ratio:4/5; }
.work-image > img:first-child,.note-image img,.story-image img,.chapter-picture img { display:block; width:100%; height:100%; object-fit:cover; }
.work-label { position:absolute; inset-inline-end:-14px; bottom:8%; max-width:94%; padding:10px 18px 11px; background:#fff; }
.work-label h3 { font-size:clamp(1.25rem,2.35vw,2.2rem); line-height:1.25; }
.work-label p, .chapter-copy p { font:300 1.02rem/1.55 var(--studio-body); margin-top:3px; }
@media screen and (prefers-reduced-motion:no-preference) {
  .work-image::after,.note-image::after { content:""; position:absolute; inset:-1px; background:#fff; transform-origin:top; transform:scaleY(0); transition:transform .82s cubic-bezier(.21,.75,.2,1); pointer-events:none; }
  .is-waiting .work-image::after,.is-waiting .note-image::after { transform:scaleY(1); transition:none; }
  .work-image > img:first-child,.note-image img { transition:scale .92s var(--spring); }
  .is-waiting :is(.work-image,.note-image) > img:first-child { scale:1.12; transition:none; }
  .work-tile:focus-visible .work-image::after,.note-tile:focus-within .note-image::after { transform:scaleY(0); transition:none; }
  .work-tile:hover .work-image > img:first-child,.note-tile a:hover .note-image img { scale:1.12; }
}
.studio-statement { background:var(--wine); color:#fff; min-height:clamp(470px,76svh,840px); display:grid; align-content:center; padding-block:84px; }
.studio-statement .container { max-width:1060px; }
.studio-statement h2.chapter-label { font:700 1.2rem/1.4 var(--font); letter-spacing:.2em; margin:0 0 32px; }
.studio-statement p { max-width:24em; margin-inline:clamp(0px,2.8vw,40px) 0; font:700 clamp(1.65rem,2.65vw,2.25rem)/1.5 var(--font-display); letter-spacing:-.012em; }
.studio-services { padding-top:clamp(85px,10vw,144px); }
.service-reel { margin-top:clamp(35px,5vw,72px); }
.service-chapter { position:relative; }
.service-anchor { position:absolute; top:0; }
/* One composition per discipline. The photo opens around the diagonal seam of the title. */
.chapter-stage { overflow:clip; background:#fff; }
.chapter-inner { position:relative; min-height:clamp(540px,85svh,880px); display:grid; grid-template-columns:1fr; grid-template-rows:auto 1fr auto; padding-block:clamp(22px,4vh,48px); }
.chapter-label { z-index:2; letter-spacing:.22em; }
.chapter-picture {
  --angle: 28deg; grid-area:2/1; justify-self:center; align-self:center;
  width:min(23vw,31svh,302px); aspect-ratio: .52; overflow:hidden; position:relative; z-index:1;
  transform:rotate(var(--angle));
}
.chapter-2 .chapter-picture { --angle:-28deg; }
.chapter-picture img {
  position:absolute; left:50%; top:50%; width:195%; height:117%;
  transform:translate(-50%,-50%) rotate(calc(-1 * var(--angle))); object-fit:cover;
}
.chapter-words.chapter-outline { z-index:2; color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.65); }
.chapter-words { position:absolute; top:48%; inset-inline:-4%; transform:translateY(-50%); display:grid; color:#dfdada; font:750 clamp(4.5rem,12vw,12rem)/1 var(--font-display); letter-spacing:-.075em; text-align:center; pointer-events:none; }
.word-half { grid-area:1/1; }
.word-half:first-child { clip-path:polygon(0 0,55% 0,48% 100%,0 100%); }
.word-half:last-child { clip-path:polygon(55% 0,100% 0,100% 100%,48% 100%); }
.chapter-copy { grid-area:3/1; justify-self:end; max-width:35ch; z-index:2; }
.chapter-copy h3 { font-size:1.1rem; }
@media screen and (prefers-reduced-motion:no-preference) {
  .js .service-chapter { min-height:148svh; }
  .js .chapter-stage { position:sticky; top:var(--mast-height,88px); }
  .js .chapter-inner { min-height:calc(100svh - var(--mast-height,88px)); }
  .js .chapter-picture {
    transform:translate3d(var(--photo-x,0px),var(--photo-y,0px),0) rotate(var(--angle));
    clip-path:inset(0 calc(92% * var(--cut,0)) 0 0);
  }
  .js .word-half:first-child { translate:calc(-1 * var(--split,0px)) 0; }
  .js .word-half:last-child { translate:var(--split,0px) 0; }
}
.studio-insights { padding-block-start: clamp(52px,6vw,88px); }
.note-grid { margin-top: clamp(28px,3.5vw,48px); }
@media (min-width:701px) {
  .note-tile:nth-child(even) { transform: translateY(clamp(24px,3vw,44px)); }
}
.note-image { aspect-ratio:1.65; }
.story-image { aspect-ratio:1.48; }
.note-category { font-size:.68rem; margin:24px 0 12px; letter-spacing:.17em; }
.note-tile a { display:block; }
.note-tile h3 { font:500 clamp(1.32rem,2.3vw,2.12rem)/1.3 var(--font-display); max-width:24ch; letter-spacing:-.022em; }
.note-tile a:hover h3 { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:5px; }
.insight-story { padding-block:clamp(55px,7vw,105px); }
.insight-story article { max-width:950px; }
.insight-story .note-category { margin:0 0 20px; }
.insight-story h1 { font-size:clamp(2.3rem,5.3vw,4.5rem); max-width:19ch; }
.story-image { margin:clamp(26px,4vw,52px) 0; }
.story-body { max-width:64ch; margin:auto; font:300 1.22rem/1.75 var(--studio-body); }
.note-summary { margin-top: .6em; max-width: 45ch; color: #343331; font: 300 1.1rem/1.5 var(--studio-body); }
.story-summary { max-width: 54ch; margin-top: 1em; font: 300 clamp(1.2rem,2vw,1.55rem)/1.5 var(--studio-body); }
.story-body h2 { margin-block: 1.65em .55em; font-size: clamp(1.65rem,3vw,2.25rem); line-height: 1.15; }
.story-observations { margin: 1.15em 0 0; border-bottom: 1px solid var(--border); }
.story-observations > div { padding-block: .85em; border-top: 1px solid var(--border); }
.story-observations dt { font: 650 1.06rem/1.5 var(--font-display); }
.story-observations dd { margin: .25em 0 0; }
.story-body blockquote { margin: 1.25em 0; border-inline-start: 3px solid var(--wine); padding-inline-start: 1em; font-weight: 400; }
.story-links { padding: 0; list-style: none; font: 500 1rem/1.6 var(--font); }
.story-links li + li { margin-top: .4em; }
.story-links a { text-decoration: underline; text-underline-offset: .2em; }
.story-body .agency-link { margin-top:28px; }

.studio-main .cta, .studio-footer {
  background: var(--studio-footer);
  color: #fff;
  --text: #fff;
  --muted: #cacaca;
  --faint: #b3b3b3;
  --border: #414141;
  --paper: #404040;
  --surface-hi: #333;
}
.studio-main .cta { padding-block: clamp(65px, 8vw, 115px); border: 0; }
.studio-main .cta-panel, .studio-main .form-card {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}
.studio-main .cta-glow, .studio-main .cta-panel::after { display: none; }
.studio-main .cta-grid { align-items: start; gap: clamp(36px, 7vw, 100px); }
.studio-main .cta h2 { color: #fff; max-width: 11ch; }
.studio-main .cta p, .studio-main .form-note { color: #bfbfbf; }
.studio-main .mail {
  font: 500 clamp(1rem, 1.6vw, 1.4rem)/1.5 var(--font);
  color: var(--rose);
  border-color: #965365;
}
.studio-main .cta-actions { margin-top: 12px; }
.studio-main .cta-actions .btn {
  border: 0; padding: 5px 0; background: none; text-decoration: underline; text-underline-offset: 4px;
}
.studio-main .field label { color: #eee; }
.studio-main .field :is(input, textarea) {
  border: 0; border-radius: 0; border-bottom: 1px solid #828282; background: transparent;
  padding: 10px 0;
}
.studio-main .field :is(input, textarea):focus { border-color: #fff; outline: 2px solid #eee; outline-offset: 3px; }
.studio-main .field :is(input, textarea)::placeholder { color: #aaa; }
.studio-main .form-foot button { border-radius: 0; background: #fff; color: #111; box-shadow: none; }
.studio-main .form-status.is-error { color: #f5bac5; }
.studio-footer { border: 0; }
.studio-footer .footer-grid {
  padding-block: clamp(48px, 6.5vw, 94px);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 28px clamp(36px, 8vw, 120px);
  border-block-start: 1px solid var(--border);
}
.studio-footer .footer-brand { grid-column: 1; grid-row: 1 / span 3; }
.studio-footer .footer-col {
  grid-column: 2;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 19px;
}
.studio-footer .footer-col .footer-h { flex-basis: 100%; margin-bottom: 2px; }
.studio-footer .footer-contact { align-self: start; }
.studio-footer .footer-contact .lang { margin: 0; }
.studio-footer .footer-contact a[href^="mailto:"] { font-size: clamp(1rem, 1.55vw, 1.3rem); }
.footer-more { font:inherit; font-size:.88rem; }
.footer-more summary { cursor:pointer; color:var(--muted); }
.footer-more[open] a { display:block; margin:8px 0; }
.footer-mark {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border: 2px solid #fff; border-radius: 50%;
}
.footer-mark svg { width: 28px; height: 28px; }
.studio-footer .footer-tag { font: 550 1.07rem/1.45 var(--font-display); color: #fff; max-width: 19ch; }
.studio-footer .footer-h { color: #fff; }
.studio-footer .footer-col a[href^="mailto:"] { color: var(--rose); text-decoration: underline; text-underline-offset: 4px; }
.studio-footer .lang { background: transparent; }
.studio-footer + .cookie { background: #fff; border-radius: 0; }
.studio-footer + .cookie .btn { border-radius: 0; }

[lang="ar"] :is(.studio-main,.studio-header,.studio-footer) { --font-display:var(--font); --studio-body:var(--font); }
[lang="ar"] .studio-main :is(h1,h2,h3,.chapter-words,.studio-kicker,.chapter-label,.note-category,.agency-link) { letter-spacing:normal; }
[lang="ar"] .studio-main :is(h1,h2,h3) { line-height:1.4; }
.studio-main .cta h1 { font-size:clamp(2.5rem,5vw,4rem); max-width:12ch; line-height:1.12; }
@media (max-width:880px) {
  .studio-header,.studio-header.is-scrolled { --header-h:70px; }
  .studio-main { --mast-height:70px; }
  .studio-main [tabindex="-1"] { scroll-margin-block-start:74px; }
  .studio-footer .footer-grid { gap:30px; }
}
@media (max-width:700px) {
  .studio-hero-inner { min-height:max(460px,calc(100svh - var(--mast-height,70px))); padding-block:62px 84px; }
  .studio-hero h1 { font-size:clamp(2.35rem,8.8vw,3.55rem); }
  .studio-hero .lead { max-width:30ch; margin-block:14px 24px; }
  .studio-hero h1,.studio-hero .lead,.studio-hero .agency-link { margin-inline-start:0; }
  .work-grid,.note-grid { grid-template-columns:1fr; gap:48px; padding-bottom:0; }
  .work-tile:nth-child(even),.note-tile:nth-child(even) { transform:none; }
  .work-label { inset-inline-end:-8px; bottom:7%; }
  .studio-statement { min-height:56svh; }
  .studio-statement p { margin-inline:0; }
  .chapter-inner,.js .chapter-inner { min-height:460px; padding-block:22px 28px; }
  .js .service-chapter { min-height:0; }
  .js .chapter-stage { position:relative; top:auto; }
  .chapter-words { font-size:clamp(3.35rem,12.7vw,5.9rem); top:44%; }
  .chapter-picture { width:clamp(106px,29vw,170px); }
  .chapter-copy { max-width:32ch; }
  .chapter-label { font-size:.64rem; }
  .studio-footer .footer-grid { grid-template-columns:minmax(0,1fr); }
  .studio-footer .footer-brand,.studio-footer .footer-col { grid-row:auto; grid-column:1; }
}
/* The solid and inverted lettering share their geometry through the entire wipe. */
.studio-hero {
  --letter-art: url("/media/bianco-lettering.svg");
  --rail-color: #2c2b2a;
  --motion-ease: cubic-bezier(.22,.75,.16,1);
  overflow: clip;
}
.hero-letters {
  position: absolute;
  inset-block: 1.5% 4%;
  inset-inline-end: clamp(70px,13vw,225px);
  width: clamp(164px,23vw,352px);
  pointer-events: none;
  color: var(--rail-color);
  mask: var(--letter-art) center / contain no-repeat;
}
.hero-letters i { display: block; height: 33.334%; background: currentColor; }
.hero-letters i:nth-child(2) { opacity: .88; }
.hero-curtain { display: none; }
.studio-hero h1 .line-mask { overflow: clip; padding-bottom: .085em; margin-bottom: -.085em; }
.type-word { display: inline-block; vertical-align: top; overflow: clip; padding-bottom: .085em; margin-bottom: -.085em; }
.type-word > span { display: block; }
.type-word:nth-child(2) { --beat: .06s; }
.type-word:nth-child(3) { --beat: .12s; }
.type-word:nth-child(n+4) { --beat: .18s; }
.hero-scroll {
  position: absolute;
  inset-inline-end: clamp(26px,4vw,64px);
  --cue-gap: max(clamp(24px,5svh,62px),var(--notice-space,0px));
  inset-block-end: max(var(--cue-gap),calc(100% - 100svh + var(--mast-height,88px) + var(--cue-gap)));
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 44px;
  padding: 6px 12px;
  flex-direction: column;
  font: 650 .62rem/1 var(--font);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-scroll > span { writing-mode: vertical-rl; }
.hero-scroll i { width: 1px; height: 44px; overflow: hidden; background: #787673; }
.hero-scroll i::after { display: block; content: ""; width: 100%; height: 100%; background: #fff; }
.hero-scroll:hover, .hero-scroll:focus-visible { color: var(--rose); }
.work-image::before {
  content: ""; position: absolute; z-index: 1; inset: 0 0 43%;
  background: linear-gradient(180deg,rgba(18,17,16,.48),transparent);
  pointer-events: none;
}
.work-image > .client-sign {
  position: absolute; z-index: 1; top: 6.5%; inset-inline-start: 7%;
  width: auto; height: auto; max-width: 46%; max-height: 12%;
  filter: brightness(0) invert(1);
}
.work-image .client-wordmark {
  color: white; direction: ltr; font: 700 clamp(1.05rem,2.1vw,1.8rem)/1.04 var(--font-display);
  letter-spacing: -.065em; max-width: 6.2em; filter: none;
}
.work-image::after, .note-image::after { z-index: 2; }

@keyframes hero-wipe {
  0%, 34% { clip-path: inset(0); }
  100% { clip-path: inset(0 22% 0 78%); visibility: hidden; }
}
@keyframes type-rise { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes studio-appear { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: none; } }
@keyframes ink-arrive { from { transform: translateX(-103%); } to { transform: none; } }
@keyframes scroll-stroke { 0% { transform: translateY(-105%); } 65%, 100% { transform: translateY(105%); } }


@media screen and (prefers-reduced-motion:no-preference) {
  .studio-hero:focus-within .hero-curtain,
  .studio-header:focus-within::after { visibility: hidden; }
  .studio-hero > .hero-letters { transform: translateY(var(--rail-y,0px)); }
  .hero-enter .hero-curtain {
    display: block; pointer-events: none; position: absolute; inset: 0; z-index: 3;
    background: #fff; animation: hero-wipe 1.45s cubic-bezier(.77,0,.18,1) both;
  }
  .hero-curtain .hero-letters { color: #171615; }
  .hero-curtain .hero-letters i { animation: ink-arrive .58s var(--motion-ease) both; }
  .hero-curtain .hero-letters i:nth-child(2) { animation-delay: .10s; }
  .hero-curtain .hero-letters i:nth-child(3) { animation-delay: .18s; }
  .studio-header:has(+ .studio-main .hero-enter)::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
    background: #fff; animation: hero-wipe 1.45s cubic-bezier(.77,0,.18,1) both;
  }
  .hero-enter .studio-kicker { animation: studio-appear .60s var(--motion-ease) .80s backwards; }
  .hero-enter .type-word > span {
    animation: type-rise .82s var(--motion-ease) calc(.87s + var(--line-delay,0s) + var(--beat,0s)) backwards;
  }
  .hero-enter .line-mask:nth-child(2) { --line-delay: .15s; }
  .section-intro h2 .type-word > span {
    transition: transform .82s cubic-bezier(.19,.8,.16,1) var(--beat,0s);
  }
  .section-intro.is-waiting h2 .type-word > span { transform: translateY(110%); }
  .hero-enter .lead { animation: studio-appear .70s var(--motion-ease) 1.2s backwards; }
  .hero-enter .agency-link { animation: studio-appear .65s var(--motion-ease) 1.32s backwards; }
  .hero-enter .hero-scroll { animation: studio-appear .7s var(--motion-ease) 1.40s backwards; }
  .hero-scroll i::after { animation: scroll-stroke 1.8s ease-in-out 1.4s infinite; }

  .work-image > img:first-child, .note-image > img {
    scale: 1.075; translate: 0 var(--image-pan,0%);
  }
  .section-intro > *, .statement-copy > *, .chapter-copy > *, .work-label,
  .note-category, .note-tile h3, .studio-footer .footer-grid > * {
    transition: opacity .64s ease, translate .8s cubic-bezier(.19,.8,.16,1);
  }
  .section-intro > p, .statement-copy > p, .chapter-copy > p, .note-tile h3 { transition-delay: .10s; }
  .work-label, .note-tile .note-category { transition-delay: .16s; }
  .note-tile h3 { transition-delay: .23s; }
  .note-summary { transition: clip-path .65s ease .18s; clip-path: inset(0); }
  .note-tile.is-waiting:not(:focus-within) .note-summary { clip-path: inset(0 0 100%); }
  .studio-footer .footer-grid > :nth-child(2) { transition-delay: .07s; }
  .studio-footer .footer-grid > :nth-child(3) { transition-delay: .13s; }
  .studio-footer .footer-grid > :nth-child(4) { transition-delay: .19s; }
  :is(.section-intro,.statement-copy,.chapter-copy,.footer-grid).is-waiting:not(:focus-within) > *,
  .is-waiting:not(:focus-within) :is(.work-label,.note-category,h3) { opacity: 0; translate: 0 23px; }
  .studio-menu:not([hidden]) nav li { animation: studio-appear .45s cubic-bezier(.22,.75,.16,1) backwards; }
  .studio-menu nav li:nth-child(2) { animation-delay: .045s; }
  .studio-menu nav li:nth-child(3) { animation-delay: .09s; }
  .studio-menu nav li:nth-child(4) { animation-delay: .135s; }
  .studio-menu nav li:nth-child(5) { animation-delay: .18s; }
  .agency-link .arrow { transition: translate .3s ease; }
  .agency-link:is(:hover,:focus-visible) .arrow { translate: 3px 0; }
  [dir="rtl"] .agency-link:is(:hover,:focus-visible) .arrow { translate: -3px 0; }
}
@media (min-width:701px) {
  .studio-hero-copy { max-width: 56%; }
}
@media (max-width:700px) {
  .studio-hero { --letter-art: url("/media/bianco-lettering-mobile.svg"); }
  .hero-letters { inset-block: 5% 19%; inset-inline-end: 4%; width: 19%; }
  .studio-hero-copy { width: 79%; }
  .studio-hero h1 { font-size: clamp(2rem,8.45vw,3.55rem); }
  .hero-scroll { inset-inline-end: 4%; gap: 8px; min-height: 76px; }
  .hero-scroll i { height: 31px; }
  .hero-enter .hero-curtain, .studio-header:has(+ .studio-main .hero-enter)::after { background: var(--studio-dark); }
  .hero-curtain .hero-letters { color: #faf8f5; }
}

@media (max-width:700px) and (max-height:650px) {
  .studio-hero-inner { padding-block: 28px; }
  .studio-kicker { margin-bottom: 16px; }
  .studio-hero .lead { margin-block: 10px 16px; line-height: 1.55; }
}
@media (max-width:370px) and (max-height:650px) {
  body:has(.cookie:not([hidden])) .studio-hero-inner { align-items: flex-start; padding-block-start: 18px; }
  body:has(.cookie:not([hidden])) .studio-hero h1 { font-size: 1.85rem; line-height: 1.16; }
  body:has(.cookie:not([hidden])) .studio-hero .lead { font-size: 1rem; line-height: 1.4; }
}
@media print {
  .studio-hero,.studio-statement { min-height:0; background:white; color:#111; }
  .studio-hero h1,.studio-hero .lead { color:#111; }
  .hero-letters,.hero-curtain,.hero-scroll,.chapter-words { display:none; }
  .work-tile:nth-child(even),.note-tile:nth-child(even){transform:none;}
}

.studio-hero .studio-kicker, .studio-hero .agency-link svg,
.studio-header:not([data-tone="light"]) .brand-name b { color:var(--rose); }
.studio-footer a:focus-visible, .studio-menu a:focus-visible { outline-color:var(--rose); }
.work-image::before { content:none; }
.work-image > .client-sign { max-height:8%; max-width:38%; top:4%; }
.work-image .client-wordmark { font-size:clamp(1rem,1.75vw,1.45rem); max-width:none; }
.about-opening, .studio-policy, .review-hero, .studio-missing { background:#fff; }
.about-intro { display:grid; grid-template-columns:1.4fr 1fr; gap:clamp(24px,8vw,120px); align-items:end; padding-block:clamp(76px,10vw,150px) clamp(54px,8vw,116px); }
.about-intro h1, .studio-policy h1, .review-hero h1, .studio-missing h1 { font-size:clamp(2.6rem,5.1vw,5rem); line-height:1.09; max-width:16ch; }
.about-deck, .about-method p, .about-gallery figcaption, .studio-policy p:not(.studio-kicker), .review-page .lead {
  font:300 clamp(1.07rem,1.55vw,1.3rem)/1.65 var(--studio-body);
}
.about-deck { color:#494644; max-width:37ch; }
.about-cover { width:100%; aspect-ratio:2.18; overflow:clip; }
.about-cover img,.gallery-frames img { width:100%; height:100%; display:block; object-fit:cover; }
.about-approach,.about-clients { padding-block:clamp(70px,10vw,150px); }
.about-statement { max-width:20ch; font:680 clamp(2.5rem,5.4vw,5rem)/1.08 var(--font-display); letter-spacing:-.045em; }
.about-methods { margin-top:clamp(64px,9vw,140px); display:grid; grid-template-columns:1fr 1.3fr; gap:clamp(32px,6vw,90px); }
.about-methods h2,.gallery-heading h2,.about-clients h2 { font-size:clamp(2rem,3.6vw,3.4rem); }
.about-method { border-block-start:1px solid #d1c7c4; padding-block:22px 30px; }
.about-method h3 { font-size:1.35rem; margin-bottom:8px; }
.about-method p { max-width:45ch; color:#494644; }
.about-gallery { background:#f4f1ed; padding-block:clamp(50px,8vw,112px); }
.about-gallery .container { display:grid; grid-template-columns:1fr 1.65fr; gap:clamp(26px,7vw,120px); align-items:center; }
.gallery-controls { display:flex; gap:14px; align-items:center; margin-top:24px; }
.gallery-controls[hidden], .gallery-frames [hidden] { display:none; }
.gallery-controls button { width:46px; height:46px; border:1px solid currentColor; border-radius:50%; color:var(--wine); background:transparent; font:500 1.22rem var(--font); cursor:pointer; }
.gallery-controls button:hover { background:var(--wine); color:white; }
[dir="rtl"] .gallery-controls button { transform:scaleX(-1); }
.gallery-frames { min-width:0; }
.gallery-frames figure + figure { margin-top:24px; }
.js .gallery-frames figure { margin-top:0; }
.gallery-frames img { aspect-ratio:1.35; }
.about-gallery figcaption { margin-top:12px; font-size:1rem; }
.about-clients h2 { max-width:18ch; }
.about-clients ul { display:grid; grid-template-columns:repeat(4,1fr); margin-top:36px; border-block:1px solid #d7d1cc; }
.about-clients a { display:grid; place-items:center; min-height:112px; padding:20px; font:700 1.25rem/1.12 var(--font-display); letter-spacing:-.05em; text-align:center; }
.about-clients img { max-width:100%; width:auto; max-height:42px; filter:brightness(0); }
.about-cta { background:var(--wine); color:white; padding-block:clamp(64px,9vw,130px); }
.about-cta h2 { max-width:16ch; }
.about-cta .agency-link { margin-top:26px; }
.about-cta .agency-link svg { color:var(--rose); }
.studio-policy { padding-block:clamp(58px,8vw,112px); }
.studio-policy .doc-container { max-width:920px; }
.studio-policy h2 { font-size:clamp(1.5rem,2.5vw,2.25rem); line-height:1.25; border-top:1px solid #d3ceca; padding-top:29px; margin:46px 0 14px; }
.studio-policy h3 { margin:26px 0 9px; }
.studio-policy p:not(.studio-kicker),.studio-policy ul { margin-block:12px; }
.studio-policy ul { list-style:disc; padding-inline-start:1.3em; }
.studio-policy li { margin-block:7px; }
.studio-policy a,.studio-policy .linkish { color:var(--wine); text-decoration:underline; text-underline-offset:3px; }
.studio-policy .note { border:0; border-inline-start:3px solid var(--wine); background:#f7f1f3; border-radius:0; }
.studio-policy .tbl-wrap { border-radius:0; }
.studio-policy .updated { font:600 .8rem/1.5 var(--font); color:#666; }
.review-hero { padding-block:clamp(64px,10vw,140px); }
.review-deliverables { display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(24px,4vw,60px); }
.review-deliverable { padding-top:18px; border-top:2px solid var(--wine); }
.review-deliverable p { margin-top:10px; color:var(--muted); }
.review-process { background:#f4f1ed; }
.studio-missing { min-height:65svh; display:grid; align-content:center; padding-block:64px; }
.studio-missing .agency-link { margin-top:24px; }
@media screen and (prefers-reduced-motion:no-preference) {
  .hero-return :is(.studio-kicker,.lead,.agency-link,.hero-scroll) { animation:studio-appear .65s var(--motion-ease) backwards; }
  .hero-return .type-word > span { animation:type-rise .76s var(--motion-ease) var(--beat,0s) backwards; }
  .hero-return .line-mask:nth-child(2) .type-word > span { animation-delay:calc(.07s + var(--beat,0s)); }
  .about-opening h1,.about-deck { animation:studio-appear .8s cubic-bezier(.18,.8,.2,1) backwards; }
  .about-deck { animation-delay:.12s; }
  .about-cover { animation:about-uncover .95s cubic-bezier(.18,.8,.2,1) .16s backwards; }
  .js .about-cover img { transform:translateY(var(--image-pan,0%)) scale(1.08); }
  .gallery-frames figure:not([hidden]) img { animation:about-uncover .65s cubic-bezier(.18,.8,.2,1) both; }
  .about-method,.about-statement { transition:translate .72s ease,opacity .6s ease; }
  :is(.about-method,.about-statement).is-waiting { opacity:0; translate:0 20px; }
  @keyframes about-uncover { from { clip-path:inset(0 0 85% 0); } to { clip-path:inset(0); } }
}
@media(max-width:700px) {
  .about-intro,.about-methods,.about-gallery .container,.review-deliverables { grid-template-columns:minmax(0,1fr); }
  .about-cover { aspect-ratio:1.32; }
  .about-clients ul { grid-template-columns:1fr 1fr; }
  .gallery-heading { display:grid; gap:12px; }
  .gallery-controls { margin-top:0; }
}

/* The native desktop thumb carries a small engraved grip in supporting browsers. */
@media screen and (pointer: fine) and (forced-colors: none) {
  html { scrollbar-color: #76263c #f3e9e8; }
  @supports selector(::-webkit-scrollbar) {
    html { scrollbar-color: auto; }
    html::-webkit-scrollbar { width: 16px; height: 16px; }
    html::-webkit-scrollbar-track { background: #f3e9e8; }
    html::-webkit-scrollbar-thumb {
      border: 3px solid #f3e9e8;
      border-radius: 12px;
      background: repeating-linear-gradient(148deg, transparent 0 3px, #efb5bf 3px 4px)
                  center / 8px 14px no-repeat, #76263c;
    }
    html::-webkit-scrollbar-thumb:hover { background-color: #5a182c; }
    html::-webkit-scrollbar-thumb:active { background-color: #461325; }
    html::-webkit-scrollbar-corner { background: #f3e9e8; }
  }
}

.studio-sections { display: none; }
@media (min-width: 1024px) {
  .studio-header .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .studio-wordmark { justify-self: start; }
  .studio-header .header-actions { justify-self: end; }
  .studio-sections { display: flex; gap: clamp(18px, 2.5vw, 40px); }
  .studio-sections a {
    display: inline-flex; align-items: center; position: relative; min-height: 44px;
    font: 580 .85rem/1.3 var(--font);
  }
  .studio-sections a::after {
    content: ""; position: absolute; inset-inline: 0; bottom: 8px; height: 2px;
    transform: scaleX(0); transform-origin: left; background: var(--rose);
  }
  [dir="rtl"] .studio-sections a::after { transform-origin: right; }
  .studio-header[data-tone="light"] .studio-sections a::after { background: var(--wine); }
  .studio-sections a:is(:hover,:focus-visible,[aria-current])::after { transform: scaleX(1); }
}
.studio-header .studio-menu nav a[aria-current] { text-decoration: underline var(--rose) 2px; text-underline-offset: 5px; }
.studio-header :focus-visible { outline-color: var(--rose); }
.studio-header[data-tone="light"] :focus-visible { outline-color: var(--wine); }
.studio-header[data-tone="light"] .studio-menu :focus-visible { outline-color: var(--rose); }

.studio-hero .studio-kicker { display: flex; align-items: center; gap: 14px; }
.studio-hero .studio-kicker::before {
  content: ""; width: clamp(22px, 2.7vw, 40px); height: 2px; background: currentColor;
}
.hero-scroll i::after { background: var(--rose); }
.studio-statement { position: relative; isolation: isolate; overflow: clip; }
.studio-statement::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset-block: 0; inset-inline-end: -3%; width: min(46%, 760px);
  background: url("/media/horn-impression.svg") left bottom / cover no-repeat;
  mask-image: linear-gradient(to right, transparent, black 25%);
}
[dir="rtl"] .studio-statement::before { transform: scaleX(-1); }
.studio-statement p { max-width: 21em; margin-inline-start: 0; }
@media (min-width: 701px) {
  .studio-statement .statement-copy { width: 100%; }
  .studio-statement p { max-width: min(21em, 60%); }
}
@media (max-width: 700px) {
  .studio-statement { padding-block-end: clamp(128px, 32vw, 190px); }
  .studio-statement::before {
    inset-block: auto -5%; inset-inline-end: 0;
    width: clamp(104px, 33vw, 190px); aspect-ratio: 500 / 520; background-size: contain;
  }
}

.work-label {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  column-gap: clamp(9px, 1.3vw, 21px); box-shadow: 0 5px 22px rgb(31 14 19 / .06);
}
.work-label p { grid-column: 1; }
.work-out {
  grid-area: 1 / 2 / 3 / 3; display: grid; place-items: center; width: 32px; height: 32px;
  border: 1px solid #dac6cb; border-radius: 50%; color: var(--wine); font: 500 19px/1 Arial, sans-serif;
}
.work-tile:is(:hover,:focus-visible) .work-out { color: white; border-color: var(--wine); background: var(--wine); }
[dir="rtl"] .work-out { transform: scaleX(-1); }
.chapter-links { display: flex; flex-wrap: wrap; gap: 0 clamp(14px, 2.4vw, 34px); margin-block-start: 18px; }
.chapter-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--wine);
  font: 600 .88rem/1.4 var(--font); text-decoration: underline solid #d8bdc5; text-underline-offset: 5px;
}
.chapter-links a span { font: 500 1rem/1 Arial, sans-serif; }
.chapter-links a:is(:hover,:focus-visible) { text-decoration-color: currentColor; }

@media screen and (prefers-reduced-motion: no-preference) {
  .studio-sections a::after { transition: transform .24s ease; }
  .work-out { transition: background .22s, color .22s, border-color .22s; }
  .chapter-links a span { transition: translate .22s ease; }
  .chapter-links a:is(:hover,:focus-visible) span { translate: 0 3px; }
  .studio-statement::before { transition: opacity 1s ease, translate 1.15s cubic-bezier(.19,.8,.16,1); }
  .studio-statement:has(.statement-copy.is-waiting)::before { opacity: .18; translate: 0 22px; }
}
@media print {
  .studio-statement::before, .chapter-links, .studio-sections { display: none; }
}
