[hidden] { display: none !important; }
/* Layout: one idea per screen. The brand's two parallelograms become a trail that follows the visitor: "tatabu" means succession. */
:root {
  --navy: #1F1D45;
  --tan: #C69C76;
  --paper: #F5F3EF;
  --ink: #17162E;
  --mute: #8A8797;
  --line: rgba(23, 22, 46, .1);
  --font: "Alexandria", "Geeza Pro", -apple-system, "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-weight: 300; -webkit-font-smoothing: antialiased; }
html[lang="ar"] [data-l="en"], html[lang="en"] [data-l="ar"] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 4px; border-radius: 8px; }
.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: clamp(1rem, 5vw, 3rem); }
.label { font-size: .75rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--tan); }
html[lang="ar"] .label { letter-spacing: 0; font-size: .85rem; }

/* Floating bar */
.bar { position: fixed; z-index: 30; top: calc(env(safe-area-inset-top, 0px) + 14px); inset-inline: 0; pointer-events: none; }
.bar .wrap { display: flex; justify-content: space-between; align-items: center; }
.chip { pointer-events: auto; display: flex; align-items: center; gap: .5rem; padding: .4rem .55rem; border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border: 1px solid rgba(255,255,255,.14); transition: background .3s, border-color .3s; }
.bar.light .chip { background: rgba(245,243,239,.8); border-color: var(--line); }
.chip img { width: 26px; height: auto; }
.lang { display: flex; }
.lang button { font: inherit; font-size: .78rem; font-weight: 500; border: 0; background: none; color: #fff; padding: .3rem .75rem; border-radius: 999px; cursor: pointer; opacity: .65; }
.bar.light .lang button { color: var(--ink); }
.lang button[aria-pressed="true"] { opacity: 1; background: rgba(255,255,255,.18); }
.bar.light .lang button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.chip .go { color: #fff; font-size: .82rem; font-weight: 500; padding: .3rem .8rem; border: 0; background: none; font-family: inherit; cursor: pointer; }
.bar.light .chip .go { color: var(--navy); }

/* Hero */
.hero { position: relative; min-height: 92svh; background: var(--navy); color: #fff; overflow: hidden; display: grid; align-items: end; padding-block: 7rem 3.5rem; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; pointer-events: none; }
.hero h1 { font-weight: 800; font-size: clamp(3rem, 11vw, 9.5rem); line-height: 1.02; letter-spacing: -.035em; }
html[lang="ar"] .hero h1 { line-height: 1.2; letter-spacing: 0; }
.hero h1 em { font-style: normal; color: var(--tan); }
.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 2rem; font-size: .9rem; color: rgba(255,255,255,.6); }
.hint { display: inline-flex; gap: .6rem; align-items: center; }
.hint i { width: 26px; height: 2px; background: var(--tan); display: block; }

/* Gap statement */
.gap { padding-block: clamp(5rem, 14vw, 10rem); }
.gap-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(.8rem, 3vw, 2rem); font-size: clamp(1.6rem, 5vw, 3.6rem); font-weight: 500; }
.gap-line .void { position: relative; height: 2px; background: repeating-linear-gradient(to left, var(--mute) 0 6px, transparent 6px 14px); opacity: .7; }
.gap-line .void::after { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 0; background: var(--tan); height: 4px; border-radius: 4px; animation: close 3.2s cubic-bezier(.7,0,.2,1) infinite; }
@keyframes close { 0% { width: 0 } 55%, 80% { width: 100%; opacity: 1 } 100% { width: 100%; opacity: 0 } }
.gap-line .end { color: var(--tan); }
.gap p { margin-top: 1.6rem; color: var(--mute); font-size: 1rem; }

/* Sequence */
.seq { background: #fff; padding-block: clamp(4rem, 10vw, 7rem); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2.5rem; border-top: 1px solid var(--line); }
.step { padding-top: 1.5rem; padding-inline-end: 1rem; position: relative; min-width: 0; }
.step::before { content: ""; position: absolute; top: -2px; inset-inline-start: 0; height: 3px; width: 0; background: var(--tan); animation: run 8s linear infinite; animation-delay: calc(var(--i) * 2s); }
@keyframes run { 0% { width: 0; opacity: 1 } 25% { width: 100%; opacity: 1 } 26%, 100% { width: 100%; opacity: 0 } }
.step b { display: block; font-size: .78rem; font-weight: 400; color: var(--mute); }
.step span { display: block; font-size: clamp(1.4rem, 3.2vw, 2.4rem); font-weight: 500; margin-top: .4rem; }
.step:last-child span { color: var(--tan); }
@media (max-width: 680px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 2rem; } }

/* Numbers */
.nums { padding-block: clamp(5rem, 12vw, 8rem); }
.num-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.num-row div { min-width: 0; }
.big { display: block; font-size: clamp(3.2rem, 9vw, 7rem); font-weight: 200; letter-spacing: -.04em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.big { direction: ltr; text-align: left; }
html[lang="ar"] .big { text-align: right; }
.big sup { font-size: .35em; color: var(--tan); font-weight: 400; vertical-align: top; margin-inline-start: .1em; }
.num-row p { margin-top: .8rem; color: var(--mute); font-size: .95rem; }
@media (max-width: 680px) { .num-row { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Practices */
.practices { background: var(--navy); color: #fff; padding-block: clamp(4.5rem, 11vw, 8rem); }
.plist { list-style: none; padding: 0; margin: 2rem 0 0; }
.plist li { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.1rem; display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: baseline; transition: padding .35s ease; }
.plist li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.plist b { font-size: .8rem; font-weight: 400; color: var(--tan); }
.plist li > a > span { font-size: clamp(1.6rem, 5.5vw, 4.2rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
html[lang="ar"] .plist li > a > span { letter-spacing: 0; }
.plist small { font-size: .85rem; color: rgba(255,255,255,.5); text-align: end; max-width: 16rem; }
.plist li:hover { padding-inline-start: 1rem; }
.plist li:hover > a > span { color: var(--tan); }
@media (max-width: 680px) { .plist li { grid-template-columns: 2rem 1fr; } .plist small { grid-column: 2; text-align: start; } }

/* Clients marquee */
.clients { padding-block: clamp(4rem, 9vw, 6rem); overflow: hidden; }
.marquee { margin-top: 2rem; display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); direction: ltr; }
.track { display: flex; gap: 4rem; padding-inline-end: 4rem; align-items: center; flex: none; animation: slide 36s linear infinite; }
.track img { height: 44px; width: auto; filter: grayscale(1); opacity: .6; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.track img:hover { filter: none; opacity: 1; }
@keyframes slide { to { transform: translateX(-100%); } }

/* Team */
.team { padding-block: clamp(4rem, 9vw, 6rem); background: #fff; }
.faces { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.face { text-align: center; min-width: 0; }
.face img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #EFE6DC; filter: grayscale(1); transition: filter .4s, transform .4s; }
.face:hover img { filter: none; transform: translateY(-4px); }
.face strong { display: block; margin-top: .9rem; font-weight: 500; font-size: .95rem; }
.face > span { color: var(--mute); font-size: .78rem; }
@media (max-width: 760px) { .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 440px) { .faces { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Contact */
.contact { padding-block: clamp(5rem, 13vw, 9rem); }
.mail { display: inline-block; font-size: clamp(1.9rem, 8vw, 6rem); font-weight: 700; letter-spacing: -.03em; color: var(--navy); margin-top: 1rem; direction: ltr; border-bottom: 3px solid var(--tan); line-height: 1.15; max-width: 100%; overflow-wrap: anywhere; }
.mail:hover { color: var(--tan); }
.contact-meta { display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; margin-top: 2rem; color: var(--mute); font-size: .95rem; }
.contact-meta a { color: var(--ink); }
.cta { margin-top: 2.5rem; font: inherit; font-weight: 500; font-size: 1rem; padding: 1rem 1.8rem; border-radius: 999px; border: 0; background: var(--navy); color: #fff; cursor: pointer; display: inline-flex; gap: .7rem; align-items: center; transition: transform .2s; }
.cta:active { transform: scale(.97); }
.cta i { width: 18px; height: 11px; background: var(--tan); clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%); display: block; }

footer { padding-block: 2rem calc(2rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--mute); font-size: .8rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Bottom sheet (iOS) */
dialog { border: 0; padding: 0; width: 100%; max-width: 34rem; margin: auto auto 0; border-radius: 26px 26px 0 0; background: #fff; color: var(--ink); max-height: 92svh; }
@media (min-width: 700px) { dialog { margin: auto; border-radius: 26px; } }
dialog::backdrop { background: rgba(23,22,46,.45); backdrop-filter: blur(4px); }
dialog[open] { animation: up .35s cubic-bezier(.2,.8,.2,1); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet { padding: .7rem 1.4rem calc(1.6rem + env(safe-area-inset-bottom, 0px)); display: grid; gap: .9rem; }
.grab { width: 40px; height: 5px; border-radius: 9px; background: #D9D7DE; justify-self: center; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.sheet-head h2 { font-size: 1.25rem; font-weight: 500; }
.x { font: inherit; border: 0; background: #F0EFF3; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; color: var(--mute); }
.fields { background: #F5F4F7; border-radius: 16px; overflow: hidden; }
.fields input, .fields textarea { width: 100%; font: inherit; font-weight: 400; border: 0; background: none; padding: .9rem 1rem; color: var(--ink); outline: none; display: block; }
.fields > * + * { border-top: 1px solid var(--line); }
.fields textarea { min-height: 6.5rem; resize: vertical; }
.send { font: inherit; font-weight: 500; border: 0; border-radius: 14px; padding: .95rem; background: var(--navy); color: #fff; cursor: pointer; }
.status { font-size: .88rem; min-height: 1.2rem; text-align: center; }
.status.ok { color: #248A3D; } .status.err { color: #C4281C; }
.hp { position: absolute; inset-inline-start: -9999px; }

/* Practice rows link to their stories */
.plist a { display: contents; }
.more { display: inline-flex; gap: .6rem; align-items: center; margin-top: 2rem; color: var(--tan); font-weight: 500; }
.more::after { content: "←"; transition: transform .2s; }
html[lang="en"] .more::after { content: "→"; }
.more:hover::after { transform: translateX(-4px); }
html[lang="en"] .more:hover::after { transform: translateX(4px); }
.wordmark { font-weight: 700; font-size: 1.5rem; color: #6c6a78; white-space: nowrap; opacity: .75; }
.face .yrs { display: block; font-style: normal; font-size: .72rem; color: var(--tan); margin-top: .25rem; font-variant-numeric: tabular-nums; }
