/* Layout concept: "Boarding Pass". An advisor who works between the US and the Gulf: every engagement is a journey
   from a hard decision to a clear result. Pages are set like an airport: a departures board, tickets, an itinerary,
   a travel log. Deep plum night, ticket-white paper, one tangerine. Barlow Condensed reads like airport signage.
   Deliberately dark-only (one committed look), so every colour is defined once here. */
:root {
  --plum: #14102B; --plum-2: #1B1638; --plum-3: #251E4A; --plum-line: #362C63;
  --text: #F3F1FF; --soft: #B3ABDA; --lilac: #F2A7E0;
  --ticket: #FAF9FC; --t-ink: #151229; --t-muted: #625C7C; --t-line: #E3E0EE;
  --tang: #33E1D5; --tang-2: #6BEAE1; --tang-text: #0B7F78;

  --bg: var(--plum); --surface: var(--plum-2); --ink: var(--text); --muted: var(--soft); --line: var(--plum-line);
  --accent: var(--tang); --teal: var(--lilac); --teal-text: var(--lilac); --band: var(--plum-3); --band-ink: var(--text);
  --band-muted: var(--soft); --focus: var(--tang);

  --f-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --f-mono: var(--f-body);
  --f-code: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --app-font-arabic: 'Noto Kufi Arabic', 'Noto Sans Arabic', system-ui, sans-serif;

  --s-xs: .8125rem; --s-sm: .9375rem; --s-md: 1.0625rem; --s-lg: 1.375rem;
  --s-xl: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
  --s-2xl: clamp(2.8rem, 1.6rem + 5vw, 5.8rem);
  --wrap: 76rem; --gutter: clamp(1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: var(--s-md); line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: var(--teal); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-stretch: 112%; color: var(--ink); text-wrap: balance; margin: 0; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: var(--s-2xl); font-weight: 650; letter-spacing: -.02em; }
h2 { font-size: var(--s-xl); font-weight: 620; }
h3 { font-size: var(--s-lg); font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 40rem; }
.prose p + p { margin-top: 1em; }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: var(--muted); max-width: 40rem; }
.eyebrow, .kicker { font-family: var(--f-body); font-size: var(--s-sm); font-weight: 600; color: var(--teal-text); letter-spacing: 0; }
.muted { color: var(--muted); }
.small { font-size: var(--s-sm); }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 20px; flex: none; }
.brand-name { font-family: var(--f-display); font-stretch: 125%; font-weight: 700; letter-spacing: .12em; font-size: 1rem; }
.brand-name span { color: var(--teal); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); text-decoration: none; font-size: var(--s-sm); font-weight: 500; padding-block: .3rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { border-bottom-color: var(--teal); }
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  font-family: var(--f-body); font-weight: 600; font-size: var(--s-sm);
  padding: .8rem 1.25rem; border-radius: 3px; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--accent); background: var(--accent); color: var(--bg);
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--teal); border-color: var(--teal); color: var(--bg); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { color: var(--bg); background: var(--accent); }
.nav .btn { color: var(--bg); border-bottom-width: 1.5px; padding: .55rem 1rem; }
.nav .btn:hover { color: var(--bg); }
.menu { display: none; }
@media (max-width: 52rem) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: var(--s-sm); padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 3px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: absolute; right: 0; top: calc(100% + .5rem); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: .5rem; display: grid; min-width: 13rem; box-shadow: 0 12px 30px rgb(16 35 56 / .12); }
  .menu nav a { padding: .7rem .8rem; color: var(--ink); text-decoration: none; }
  .menu nav a[aria-current="page"] { color: var(--teal-text); font-weight: 600; }
}

/* Sections */
section { padding-block: clamp(3.5rem, 3rem + 3vw, 6rem); }
section + section { border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: .9rem; margin-bottom: 2.5rem; max-width: 46rem; }

/* Hero */
.hero { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
.hero-copy { display: grid; gap: 1.5rem; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--teal); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .5rem; }
.horizon { width: 100%; height: auto; }
.horizon .arc { stroke: var(--teal); }
.horizon .base { stroke: var(--ink); }
.horizon .tick { stroke: var(--muted); }
.horizon text { fill: var(--muted); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; }
.horizon .sun { fill: var(--accent); }
@media (max-width: 52rem) { .hero .wrap { grid-template-columns: 1fr; } .horizon { max-width: 26rem; } }

/* Page intro (inner pages) */
.page-intro { padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.page-intro .wrap { display: grid; gap: 1.2rem; }

/* Problem rows */
.rows { display: grid; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 1.2rem; font-stretch: 105%; }
.row p { color: var(--muted); }
@media (max-width: 44rem) { .row { grid-template-columns: 1fr; gap: .6rem; } }

/* Offer cards */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 1.75rem; display: grid; grid-template-rows: auto auto 1fr auto; gap: 1rem; min-width: 0; }
.offer .meta { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--muted); letter-spacing: .04em; }
.offer p { color: var(--muted); font-size: var(--s-sm); }
.offer a.more { font-weight: 600; font-size: var(--s-sm); text-decoration: none; }

@media (max-width: 60rem) { .offers { grid-template-columns: 1fr; } }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.principle { display: grid; gap: .5rem; padding-top: 1rem; border-top: 2px solid var(--ink); min-width: 0; }
.principle h3 { font-size: 1.15rem; }
.principle p { color: var(--muted); }
@media (max-width: 44rem) { .principles { grid-template-columns: 1fr; } }

/* Founder strip & figures */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 3rem; align-items: start; }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.figure { padding: 1.4rem 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: .35rem; align-content: start; min-width: 0; }
.figure b { font-family: var(--f-display); font-stretch: 112%; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 650; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.figure span { font-size: var(--s-sm); color: var(--muted); }
.caption { font-size: var(--s-xs); color: var(--muted); margin-top: .9rem; }
@media (max-width: 52rem) { .founder { grid-template-columns: 1fr; gap: 2rem; } }

/* Dark band CTA */
.band { background: var(--band); color: var(--band-ink); border-top: 0 !important; }
.band h2 { color: var(--band-ink); }
.band p { color: var(--band-muted); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; }
.band .btn { background: var(--band-ink); border-color: var(--band-ink); color: var(--band); }
.band .btn:hover { background: transparent; color: var(--band-ink); }
.band-copy { display: grid; gap: .8rem; max-width: 38rem; }

/* Service detail */
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 3rem; }
.service-side { display: grid; gap: 1rem; align-content: start; position: sticky; top: 6rem; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: .5rem; }
.facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding-block: .7rem; border-bottom: 1px solid var(--line); font-size: var(--s-sm); }
.facts dt { font-family: var(--f-mono); font-size: var(--s-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: .15rem; }
.facts dd { margin: 0; }
.service-body { display: grid; gap: 1.6rem; min-width: 0; }
.service-body h4 { font-family: var(--f-mono); font-size: var(--s-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin: 0 0 .5rem; font-weight: 500; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .85rem; height: 2px; background: var(--teal); }
@media (max-width: 52rem) { .service { grid-template-columns: 1fr; gap: 1.5rem; } .service-side { position: static; } }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; }
@media (max-width: 44rem) { .two-col { grid-template-columns: 1fr; } }

/* Steps (real sequences only) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding: 1.2rem 1.2rem 0 0; display: grid; gap: .45rem; align-content: start; min-width: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: var(--s-xs); color: var(--teal); letter-spacing: .06em; }
.steps b { font-family: var(--f-display); font-stretch: 108%; font-size: 1.1rem; }
.steps span { color: var(--muted); font-size: var(--s-sm); }
@media (max-width: 52rem) { .steps { grid-template-columns: 1fr 1fr; gap: 0 1rem; } }
@media (max-width: 30rem) { .steps { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { display: grid; border-top: 1px solid var(--line); }
.tl { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1.5rem; padding-block: 1.3rem; border-bottom: 1px solid var(--line); }
.tl time { font-family: var(--f-mono); font-size: var(--s-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.tl h3 { font-size: 1.1rem; font-stretch: 105%; }
.tl .org { color: var(--teal-text); font-weight: 600; font-size: var(--s-sm); margin-top: .2rem; }
.tl p { color: var(--muted); font-size: var(--s-sm); margin-top: .5rem; }
@media (max-width: 36rem) { .tl { grid-template-columns: 1fr; gap: .3rem; } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: var(--s-sm); border: 1px solid var(--line); border-radius: 2px; padding: .35rem .7rem; background: var(--surface); }

/* Notice box (boundaries) */
.notice { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.4rem, 1rem + 2vw, 2.25rem); display: grid; gap: 1rem; }

/* Insights */
.toc { display: grid; gap: 0; border-top: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.toc a:hover h3 { color: var(--accent); }
.toc h3 { font-size: 1.15rem; font-stretch: 105%; }
.toc span { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--muted); white-space: nowrap; padding-top: .3rem; }
article.essay { display: grid; gap: 1.2rem; max-width: 42rem; scroll-margin-top: 6rem; }
article.essay .byline { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--muted); letter-spacing: .04em; }
article.essay p { font-size: 1.075rem; line-height: 1.7; }
article.essay h3 { font-size: 1.1rem; margin-top: .6rem; }
article.essay blockquote { margin: .4rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 1px solid var(--teal); font-family: var(--f-display); font-stretch: 105%; font-size: 1.25rem; line-height: 1.35; color: var(--ink); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
form.inquiry { display: grid; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); }
.field { display: grid; gap: .4rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
label { font-size: var(--s-sm); font-weight: 600; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 3px; padding: .7rem .8rem; width: 100%;
}
textarea { min-height: 9rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: var(--s-sm); padding: 1rem; border-radius: 3px; border: 1px solid var(--teal); background: color-mix(in srgb, var(--teal) 10%, var(--surface)); display: grid; gap: .7rem; }
.form-status pre { white-space: pre-wrap; font-family: var(--f-mono); font-size: var(--s-xs); background: var(--bg); border: 1px solid var(--line); padding: .8rem; border-radius: 3px; margin: 0; max-height: 14rem; overflow: auto; }
.aside { display: grid; gap: 2rem; }
.aside .block { display: grid; gap: .6rem; }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.email-line code { font-family: var(--f-mono); font-size: 1rem; user-select: all; color: var(--ink); }
.copy { font: inherit; font-size: var(--s-sm); font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 3px; min-height: 44px; min-width: 44px; padding: .4rem .9rem; cursor: pointer; }
.copy:hover { border-color: var(--teal); }
@media (max-width: 52rem) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 36rem) { .field-row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem 3rem; font-size: var(--s-sm); color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* Insight streams */
.streams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 1rem 0 0; max-width: 56rem; }
.streams div { border-top: 2px solid var(--ink); padding-top: .7rem; display: grid; gap: .3rem; align-content: start; min-width: 0; }
.streams dt { font-family: var(--f-mono); font-size: var(--s-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--teal); }
.streams dd { margin: 0; color: var(--muted); font-size: var(--s-sm); }
@media (max-width: 44rem) { .streams { grid-template-columns: 1fr; gap: 1rem; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.25rem; }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 1.5rem; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.member img, .member .initials { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.member .initials { display: grid; place-items: center; background: var(--band); color: var(--band-ink); font-family: var(--f-display); font-stretch: 112%; font-weight: 650; font-size: 1.6rem; letter-spacing: .04em; }
.member-body { display: grid; gap: .5rem; min-width: 0; }
.member .org { color: var(--teal-text); font-weight: 600; font-size: var(--s-sm); }
.member p.muted { font-size: var(--s-sm); }
@media (max-width: 30rem) { .member { grid-template-columns: 1fr; } }

/* Experts page */
.preview-note { font-family: var(--f-mono); font-size: var(--s-xs); letter-spacing: .02em; color: var(--ink); background: color-mix(in srgb, var(--teal) 12%, var(--surface)); border: 1px dashed var(--teal); border-radius: 3px; padding: .8rem 1rem; }
.founder-card { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 2.5rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); }
.founder-card img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 3px; display: block; }
.founder-card .expert-body { max-width: 40rem; }
@media (max-width: 44rem) { .founder-card { grid-template-columns: 1fr; gap: 1.5rem; } .founder-card img { max-width: 14rem; } }
.experts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 64rem) { .experts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .experts { grid-template-columns: 1fr; } }
.expert { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.expert-photo { position: relative; }
.expert-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; display: block; }
.sample-tag { position: absolute; left: .8rem; top: .8rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; background: var(--band); color: var(--band-ink); padding: .25rem .5rem; border-radius: 2px; }
.expert-body { display: grid; gap: 1rem; align-content: start; padding: 1.5rem; min-width: 0; }
.founder-card .expert-body { padding: 0; }
.expert h3 { font-size: 1.25rem; }
.expert .org { color: var(--teal-text); font-weight: 600; font-size: var(--s-sm); margin-top: .3rem; }
.expert .chips li { font-size: var(--s-xs); padding: .25rem .55rem; background: var(--bg); }
.expert-body p.muted { font-size: var(--s-sm); }
.expert-links { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: var(--s-sm); font-weight: 600; }
.expert-links a { text-decoration: none; }

/* Option tag (preview only) */
.option-tag { justify-self: start; width: fit-content; display: inline-block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; background: #E8A33D; color: #1A1305; padding: .3rem .6rem; border-radius: 2px; margin-bottom: 1.2rem; }

/* Situation picker */
.picker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2.5rem; align-items: start; }
.sits { display: grid; gap: .75rem; }
.sit { font: inherit; font-family: var(--f-display); font-stretch: 108%; font-weight: 600; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); text-align: left; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 4px; padding: 1.1rem 1.25rem; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.sit:hover { border-color: var(--teal); }
.sit[aria-pressed="true"] { background: var(--band); color: var(--band-ink); border-color: var(--band); }
.sit-out { display: grid; gap: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.25rem, 1rem + 2vw, 2rem); min-width: 0; }
.horizon.mini { max-width: 22rem; }
.sit-sun, .pulse-sun { transition: transform .6s cubic-bezier(.3,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { .sit-sun, .pulse-sun { transition: none; } }
.sit-panel { display: grid; gap: .6rem; }
.sit-problem { font-size: var(--s-lg); color: var(--muted); margin-bottom: .6rem; }
.sit-meta { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--muted); }
@media (max-width: 52rem) { .picker { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Innovation funnel */
.funnel-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.funnel-fig { overflow-x: auto; }
.funnel { width: 100%; min-width: 30rem; height: auto; }
.funnel .flink { fill: var(--line); opacity: .45; }
.funnel .fbase { stroke: var(--ink); stroke-width: 2; }
.funnel .fbar { cursor: pointer; }
.funnel .fbar rect { fill: var(--line); transition: fill .2s; }
.funnel .fbar:hover rect { fill: color-mix(in srgb, var(--teal) 45%, var(--line)); }
.funnel .fbar.on rect { fill: var(--teal); }
.funnel .fnum { font-family: var(--f-display); font-stretch: 112%; font-weight: 650; font-size: 26px; fill: var(--ink); }
.funnel .fbar.on .fnum { fill: var(--teal); }
.funnel .flab { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; fill: var(--muted); }
.fside { display: grid; gap: 1.5rem; min-width: 0; }
.fsteps { display: flex; flex-wrap: wrap; gap: .5rem; }
.fstep { font: inherit; font-size: var(--s-sm); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 2px; padding: .45rem .7rem; cursor: pointer; }
.fstep b { font-variant-numeric: tabular-nums; }
.fstep[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.fnote { display: grid; gap: 1.2rem; }
.fnote p:not(.eyebrow) { font-size: var(--s-lg); line-height: 1.4; margin-top: .3rem; }
.fnote div + div p:not(.eyebrow) { color: var(--teal); font-family: var(--f-display); font-stretch: 105%; font-weight: 600; }
@media (max-width: 60rem) { .funnel-wrap { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Pulse teaser */
.pulse-teaser { background: var(--surface); }
.pt-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }

/* Pulse tool */
.pulse { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.25rem, 1rem + 3vw, 3rem); display: grid; gap: 2rem; }
.pbar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pbar span { display: block; height: 100%; width: 0; background: var(--teal); transition: width .35s; }
.pq { border: 0; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.pq legend { font-family: var(--f-display); font-stretch: 110%; font-weight: 620; font-size: var(--s-xl); line-height: 1.2; padding: 0; display: grid; gap: .8rem; text-wrap: balance; }
.pq-dim { font-family: var(--f-mono); font-size: var(--s-xs); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.pq-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.pq-opt { font: inherit; font-weight: 500; text-align: left; min-height: 5rem; padding: 1rem; background: var(--bg); color: var(--ink); border: 1.5px solid var(--line); border-radius: 4px; cursor: pointer; transition: border-color .15s, background .15s; }
.pq-opt:hover { border-color: var(--teal); background: var(--surface); }
@media (max-width: 52rem) { .pq-opts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 30rem) { .pq-opts { grid-template-columns: 1fr; } .pq-opt { min-height: 0; } }
.presult { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.pulse-arc { width: 100%; height: auto; }
.pulse-arc .pt { fill: var(--muted); }
.presult-copy { display: grid; gap: .9rem; }
.presult h2 { font-size: var(--s-2xl); color: var(--teal); }
.pr-next { display: grid; gap: .3rem; font-size: var(--s-lg); }
@media (max-width: 52rem) { .presult { grid-template-columns: 1fr; } }

/* Roadmap (option 6) */
.roadmap { grid-column: 1 / -1; display: grid; gap: .8rem; border-top: 1px solid var(--line); padding-top: 1.8rem; min-width: 0; }
.rweeks, .rbars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 4px; }
.rweeks span { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--muted); text-align: center; border-bottom: 1px solid var(--line); padding-bottom: .3rem; font-variant-numeric: tabular-nums; }
.rbars { list-style: none; padding: 0; margin: 0; row-gap: .5rem; }
.rbars li { background: color-mix(in srgb, var(--teal) 14%, var(--surface)); border-left: 3px solid var(--teal); border-radius: 2px; padding: .7rem .8rem; display: grid; gap: .2rem; min-width: 0; }
.rbars li.rend { background: var(--band); border-left-color: var(--band); color: var(--band-ink); padding: .7rem .5rem; }
.rbars li.rend .rw { color: var(--band-muted); }
.rw { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--teal); text-transform: uppercase; }
.ra { font-weight: 600; font-size: var(--s-sm); line-height: 1.35; }
@media (max-width: 44rem) {
  .rweeks { display: none; }
  .rbars { grid-template-columns: 1fr; }
  .rbars li { grid-column: 1 / -1 !important; }
}

/* Vendor claim decoder (option 4) */
.dgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 60rem) { .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .dgrid { grid-template-columns: 1fr; } }
.dcard { position: relative; min-height: 12.5rem; border: 0; padding: 0; background: none; cursor: pointer; perspective: 900px; font: inherit; text-align: left; color: inherit; }
.dface { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .7rem; padding: 1.3rem; border-radius: 4px; backface-visibility: hidden; transition: transform .5s cubic-bezier(.3,.7,.2,1); }
.dfront { background: var(--surface); border: 1px solid var(--line); }
.dback { background: var(--band); color: var(--band-ink); transform: rotateY(180deg); }
.dback .eyebrow { color: var(--teal); }
.dcard[aria-pressed="true"] .dfront { transform: rotateY(-180deg); }
.dcard[aria-pressed="true"] .dback { transform: rotateY(0); }
.dcard:hover .dfront { border-color: var(--teal); }
.dclaim { font-family: var(--f-display); font-stretch: 110%; font-weight: 650; font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.dhint { margin-top: auto; font-size: var(--s-xs); color: var(--muted); font-family: var(--f-mono); }
.dq { font-size: 1.02rem; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) {
  .dface { transition: none; }
}
.tool-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* Use-case sorter (option 5) */
.sorter { display: grid; gap: 1.5rem; }
.sectors { display: flex; flex-wrap: wrap; gap: .5rem; }
.sector { font: inherit; font-size: var(--s-sm); font-weight: 600; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem 1rem; cursor: pointer; }
.sector[aria-pressed="true"] { background: var(--band); color: var(--band-ink); border-color: var(--band); }
.sdeck { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.5rem, 1rem + 3vw, 3rem); display: grid; gap: 1.5rem; justify-items: center; text-align: center; }
.scount { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.scard { font-family: var(--f-display); font-stretch: 110%; font-weight: 650; font-size: var(--s-xl); line-height: 1.2; max-width: 30rem; text-wrap: balance; min-height: 2.4em; display: grid; place-items: center; }
.scard.in { animation: cardin .35s cubic-bezier(.3,.7,.2,1); }
@keyframes cardin { from { transform: translateY(8px); opacity: .3; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scard.in { animation: none; } }
.schoices { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.schoice { font: inherit; font-weight: 600; min-width: 8rem; padding: .85rem 1.2rem; border-radius: 4px; cursor: pointer; border: 1.5px solid; background: var(--surface); }
.schoice.c0 { border-color: var(--teal); color: var(--teal); }
.schoice.c1 { border-color: var(--accent); color: var(--accent); }
.schoice.c2 { border-color: var(--muted); color: var(--muted); }
.schoice:hover { background: var(--bg); }
.sresult { display: grid; gap: 1.5rem; }
.sscore { display: flex; align-items: baseline; gap: .7rem; }
.sscore b { font-family: var(--f-display); font-stretch: 112%; font-size: var(--s-2xl); color: var(--teal); line-height: 1; }
.sscore span { color: var(--muted); }
.scols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 52rem) { .scols { grid-template-columns: 1fr; } }
.scol { display: grid; gap: .6rem; align-content: start; min-width: 0; }
.scol h3 { font-size: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); }
.scol.c0 h3 { border-color: var(--teal); } .scol.c1 h3 { border-color: var(--accent); } .scol.c2 h3 { border-color: var(--muted); }
.sitem { background: var(--surface); border: 1px solid var(--line); border-radius: 3px; padding: .7rem .8rem; display: grid; gap: .3rem; font-size: var(--s-sm); }
.sitem b { font-weight: 600; }
.sitem.ok b::after { content: " ✓"; color: var(--teal); }
.sitem.diff { border-color: color-mix(in srgb, #E8A33D 70%, var(--line)); }
.sitem.diff span { color: var(--muted); font-size: var(--s-xs); line-height: 1.45; }

/* Article sources */
.sources { border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .5rem; }
.sources ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.sources li { font-size: var(--s-sm); color: var(--muted); line-height: 1.5; }
.sources a { font-weight: 500; }

/* Use-case library (option 7) */
#library { padding-top: 1rem; border-top: 0; }
.ufilters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.ufilter { font: inherit; font-size: var(--s-sm); font-weight: 600; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .95rem; cursor: pointer; }
.ufilter[aria-pressed="true"] { background: var(--band); color: var(--band-ink); border-color: var(--band); }
.ucases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 60rem) { .ucases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .ucases { grid-template-columns: 1fr; } }
.ucase { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 1.3rem; display: grid; grid-template-rows: auto auto 1fr auto auto; gap: .6rem; min-width: 0; }
.ucase h3 { font-size: 1.15rem; }
.uwhat { color: var(--muted); font-size: var(--s-sm); }
.ubadges { display: flex; flex-wrap: wrap; gap: .4rem; }
.ubadges span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; padding: .25rem .5rem; border-radius: 2px; border: 1px solid var(--line); }
.risk.r0 { color: #1E7A4C; border-color: color-mix(in srgb, #1E7A4C 45%, var(--line)); background: color-mix(in srgb, #1E7A4C 9%, var(--surface)); }
.risk.r1 { color: #9A6100; border-color: color-mix(in srgb, #C98A12 50%, var(--line)); background: color-mix(in srgb, #C98A12 10%, var(--surface)); }
.risk.r2 { color: #B03A2E; border-color: color-mix(in srgb, #B03A2E 45%, var(--line)); background: color-mix(in srgb, #B03A2E 9%, var(--surface)); }
:root[data-theme="dark"] .risk.r0 { color: #6FD3A0; } :root[data-theme="dark"] .risk.r1 { color: #F0C060; } :root[data-theme="dark"] .risk.r2 { color: #F08A7E; }
.effort { color: var(--muted); }
.uneeds { font-size: var(--s-xs); color: var(--muted); border-top: 1px solid var(--line); padding-top: .6rem; }
.uneeds b { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); font-weight: 500; margin-right: .3rem; }
.umore-wrap { margin-top: 1.25rem; display: flex; justify-content: center; }

/* Toolkit index */
.tool-index { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.tool-index a { font-size: var(--s-sm); font-weight: 600; text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .95rem; background: var(--surface); }
.tool-index a:hover { border-color: var(--teal); color: var(--teal); }
#library { padding-top: clamp(3.5rem, 3rem + 3vw, 6rem); border-top: 1px solid var(--line); }
section[id] { scroll-margin-top: 4.5rem; }

/* Shared three-way answer buttons */
.tri { display: inline-flex; border: 1.5px solid var(--line); border-radius: 4px; overflow: hidden; flex: none; }
.tri button { font: inherit; font-size: var(--s-xs); font-weight: 600; background: var(--surface); color: var(--muted); border: 0; border-left: 1px solid var(--line); padding: .5rem .75rem; cursor: pointer; min-width: 3.6rem; }
.tri button:first-child { border-left: 0; }
.tri button:hover { color: var(--ink); background: var(--bg); }
.tri button[data-v="2"][aria-pressed="true"] { background: #1E7A4C; color: #fff; }
.tri button[data-v="1"][aria-pressed="true"] { background: #C98A12; color: #1A1305; }
.tri button[data-v="0"][aria-pressed="true"] { background: #B03A2E; color: #fff; }

/* Gates (option 8) */
.gates { display: grid; gap: 1.25rem; }
.gtabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.gtab { font: inherit; text-align: left; display: grid; gap: .2rem; padding: 1rem 1.1rem; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); border-radius: 4px; cursor: pointer; font-family: var(--f-display); font-stretch: 108%; font-weight: 600; font-size: 1.1rem; }
.gtab span { font-family: var(--f-mono); font-size: var(--s-xs); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); font-stretch: 100%; }
.gtab[aria-pressed="true"] { background: var(--band); color: var(--band-ink); border-color: var(--band); }
@media (max-width: 40rem) { .gtabs { grid-template-columns: 1fr; } }
.gpanel { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 52rem) { .gpanel { grid-template-columns: 1fr; } }
.gwhen { grid-column: 1 / -1; font-family: var(--f-mono); font-size: var(--s-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.glist, .dlist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; counter-reset: g; }
.gitem, .ditem { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: .85rem 1rem; }
.gitem p { font-size: var(--s-sm); min-width: 0; }
@media (max-width: 36rem) { .gitem, .ditem { flex-direction: column; align-items: stretch; } .tri { align-self: start; } }
.gverdict { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--line); border-radius: 4px; padding: 1.25rem; display: grid; gap: .6rem; position: sticky; top: 6rem; }
.gv-word { font-family: var(--f-display); font-stretch: 110%; font-weight: 650; font-size: 1.6rem; line-height: 1.15; }
.gverdict.v-go { border-top-color: #1E7A4C; } .gverdict.v-go .gv-word { color: #1E7A4C; }
.gverdict.v-cond { border-top-color: #C98A12; } .gverdict.v-cond .gv-word { color: #9A6100; }
.gverdict.v-no { border-top-color: #B03A2E; } .gverdict.v-no .gv-word { color: #B03A2E; }
:root[data-theme="dark"] .gverdict.v-go .gv-word { color: #6FD3A0; } :root[data-theme="dark"] .gverdict.v-cond .gv-word { color: #F0C060; } :root[data-theme="dark"] .gverdict.v-no .gv-word { color: #F08A7E; }
.gv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: var(--s-sm); color: var(--muted); }
.gv-list b { color: var(--ink); font-weight: 600; }
@media (max-width: 52rem) { .gverdict { position: static; } }

/* Data readiness (option 9) */
.dcheck { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 52rem) { .dcheck { grid-template-columns: 1fr; } }
.ditem > div:first-child { display: grid; gap: .15rem; min-width: 0; }
.ditem b { font-size: var(--s-sm); }
.ditem p { font-size: var(--s-sm); color: var(--muted); }
.dout { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 1.25rem; display: grid; gap: 1rem; position: sticky; top: 6rem; }
@media (max-width: 52rem) { .dout { position: static; } }
.dscore { display: grid; gap: .2rem; }
.dscore b { font-family: var(--f-display); font-stretch: 112%; font-size: var(--s-2xl); line-height: 1; color: var(--teal); font-variant-numeric: tabular-nums; }
.dscore span { font-weight: 600; }
.dbars { display: grid; gap: .45rem; }
.dbar { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); align-items: center; gap: .6rem; font-size: var(--s-xs); }
.dbar-l { color: var(--muted); }
.dbar-t { height: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.dbar-f { display: block; height: 100%; width: 0; transition: width .3s; background: var(--line); }
.dbar.s2 .dbar-f { background: #1E7A4C; } .dbar.s1 .dbar-f { background: #C98A12; } .dbar.s0 .dbar-f { background: #B03A2E; }
.dfix-list { margin: .4rem 0 0; padding-left: 1.2rem; display: grid; gap: .5rem; font-size: var(--s-sm); color: var(--muted); }
.dfix-list b { color: var(--ink); }

/* Success measures (option 10) */
.mtool { display: grid; gap: 1rem; }
.mpreset { display: grid; gap: .35rem; max-width: 22rem; font-size: var(--s-sm); font-weight: 600; }
.mrow { border: 1px solid var(--line); border-radius: 4px; background: var(--surface); padding: 1rem 1.1rem; margin: 0; display: grid; gap: .7rem; min-width: 0; }
.mrow legend { padding: 0 .3rem; display: flex; flex-wrap: wrap; gap: .2rem .6rem; align-items: baseline; }
.mrow legend b { font-family: var(--f-display); font-stretch: 108%; font-size: 1.05rem; }
.mrow legend span { font-size: var(--s-xs); color: var(--muted); }
.mfields { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: .6rem; }
@media (max-width: 60rem) { .mfields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mfields .mfield:first-child { grid-column: 1 / -1; } }
@media (max-width: 30rem) { .mfields { grid-template-columns: 1fr; } }
.mfield { display: grid; gap: .25rem; font-size: var(--s-xs); font-weight: 600; color: var(--muted); min-width: 0; }
.mfield input { font-size: var(--s-sm); padding: .55rem .65rem; }
.mwarn { font-size: var(--s-xs); color: #9A6100; min-height: 0; }
.mwarn:empty { display: none; }
:root[data-theme="dark"] .mwarn { color: #F0C060; }
.mout { background: var(--band); color: var(--band-ink); border-radius: 4px; padding: 1.1rem 1.25rem; display: grid; gap: .6rem; }
.mout-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.mout .eyebrow { color: var(--teal); }
.mout pre { margin: 0; white-space: pre-wrap; font-family: var(--f-mono); font-size: var(--s-sm); line-height: 1.55; color: var(--band-ink); }

/* ===== Visual redesign (Oct 2026) ===== */
.band-soft { background: var(--surface); }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.3rem); max-width: 18ch; }
.hero .wrap { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
@media (max-width: 52rem) { .hero .wrap { grid-template-columns: 1fr; } }
.hero .lead { max-width: 34rem; }
.horizon .sun { transform-box: view-box; transform-origin: 210px 210px; animation: rise 1.8s cubic-bezier(.25,.7,.2,1) .2s both; }
@keyframes rise { from { transform: rotate(-120deg); } to { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .horizon .sun { animation: none; } }
.hero .horizon { max-width: 30rem; justify-self: end; }

/* Icon tiles */
.ic { width: 2.1rem; height: 2.1rem; color: var(--teal); flex: none; }
.ic-s { width: 1.15rem; height: 1.15rem; flex: none; color: var(--teal); margin-top: .15rem; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 2rem; }
@media (max-width: 64rem) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .tiles { grid-template-columns: 1fr; gap: 1.75rem; } }
.tile { display: grid; gap: .7rem; align-content: start; min-width: 0; }
.tile h3 { font-size: 1.2rem; font-stretch: 106%; }
.tile p { color: var(--muted); font-size: var(--s-sm); }

/* Ways of working */
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 64rem) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .ways { grid-template-columns: 1fr; } }
.way { display: flex; gap: .9rem; align-items: flex-start; min-width: 0; }
.way h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.way p { font-size: var(--s-sm); color: var(--muted); }

/* Week chart: engagement durations on one 0-8 week scale */
.weeks { --max: 8; display: grid; gap: .4rem; }
.wk-row { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 1.5rem; align-items: center; padding: .9rem 1rem; margin-inline: -1rem; border-radius: 4px; text-decoration: none; color: var(--ink); }
a.wk-row:hover { background: var(--surface); }
.band-soft a.wk-row:hover { background: var(--bg); }
.wk-name { display: grid; gap: .15rem; min-width: 0; }
.wk-name b { font-family: var(--f-display); font-stretch: 106%; font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.wk-name span { font-size: var(--s-sm); color: var(--muted); }
.wk-track { --room: 6rem; position: relative; height: 2.2rem; display: flex; align-items: center; }
.wk-bar { position: absolute; left: 0; height: 1rem; width: calc((100% - var(--room)) * var(--hi) / var(--max)); display: flex; }
.wk-min { width: calc(var(--lo) / var(--hi) * 100%); background: var(--teal); border-radius: 2px 0 0 2px; }
.wk-max { flex: 1; background: repeating-linear-gradient(135deg, var(--teal) 0 3px, transparent 3px 7px); opacity: .55; border-radius: 0 2px 2px 0; }
.wk-val { position: absolute; left: calc((100% - var(--room)) * var(--hi) / var(--max) + .7rem); font-size: var(--s-sm); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wk-axis { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 1.5rem; padding-inline: 0; }
.wk-ticks { --room: 6rem; position: relative; height: 1.4rem; }
.wk-ticks::before { content: ""; position: absolute; left: 0; right: var(--room); top: 0; border-top: 1px solid var(--line); }
.wk-ticks span { position: absolute; left: calc((100% - var(--room)) * var(--w) / 8); transform: translateX(-50%); font-size: var(--s-xs); color: var(--muted); padding-top: .3rem; font-variant-numeric: tabular-nums; }
.wk-ticks span:first-child { transform: none; }
.wk-ticks span:last-child::after { content: " weeks"; }

@media (max-width: 44rem) {
  .wk-row, .wk-axis { grid-template-columns: 1fr; gap: .5rem; }
  .wk-axis .wk-name { display: none; }
}
.weeks-compact .wk-row { grid-template-columns: 1fr; padding: 0; margin: 0; }
.weeks-compact .wk-bar { max-width: none; }
.page-intro .weeks { margin-top: 1.5rem; }

/* Service detail */
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 3.5rem; align-items: start; }
@media (max-width: 52rem) { .svc-grid { grid-template-columns: 1fr; gap: 2rem; } }
.svc-side { display: grid; gap: 1rem; }
.svc-problem { font-size: var(--s-lg); color: var(--muted); line-height: 1.45; }
.svc-facts { display: grid; gap: .45rem; margin: .5rem 0 0; font-size: var(--s-sm); }
.svc-facts div { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: .75rem; }
.svc-facts dt { color: var(--muted); }
.svc-facts dd { margin: 0; }
.svc-body { display: grid; gap: 1rem; }
.deliver { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
@media (max-width: 36rem) { .deliver { grid-template-columns: 1fr; } }
.deliver li { display: flex; gap: .6rem; align-items: flex-start; padding: 1rem; background: var(--surface); border-radius: 4px; font-weight: 500; font-size: var(--s-sm); line-height: 1.4; }
.tiles-4 .tile { background: var(--bg); padding: 1.4rem; border-radius: 4px; }
.nots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
@media (max-width: 44rem) { .nots { grid-template-columns: 1fr; } }
.nots li { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--s-md); }
.nots .ic-s { color: #B03A2E; }

/* Founder block */
.founder-intro { display: grid; gap: .9rem; align-content: start; max-width: 32rem; }
.figures-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 44rem) { .figures-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.more-bio summary { cursor: pointer; font-weight: 600; color: var(--accent); list-style: none; }
.more-bio summary::-webkit-details-marker { display: none; }
.more-bio summary::after { content: "+"; margin-left: .4rem; }
.more-bio[open] summary::after { content: "–"; }
.more-bio p { margin-top: .9rem; color: var(--muted); }
.stack { display: grid; gap: 1rem; align-content: start; }

/* Career bar: proportional years */
.cbar { display: flex; gap: 3px; height: 4.6rem; }
.cb-seg { flex: var(--y); min-width: 0; display: grid; align-content: end; gap: .1rem; padding: .7rem .8rem; color: #fff; border-radius: 3px; overflow: hidden; }
.cb-seg b { font-size: var(--s-sm); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-seg span { font-size: var(--s-xs); opacity: .85; }
.cb-seg.s0 { background: #205B86; } .cb-seg.s1 { background: #2B6F8F; } .cb-seg.s2 { background: #168B92; } .cb-seg.s3 { background: var(--ink); color: var(--bg); }
.cb-gap { flex: var(--y); }
.cyears { position: relative; height: 1.6rem; margin-top: .4rem; }
.cyears span { position: absolute; left: var(--p); transform: translateX(-50%); font-size: var(--s-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.cyears span:first-child { transform: none; } .cyears span:last-child { transform: translateX(-100%); }
.clist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.clist li { display: grid; gap: .2rem; font-size: var(--s-sm); align-content: start; }
.clist time { color: var(--teal-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.clist span { color: var(--muted); }
@media (max-width: 52rem) { .clist { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cb-seg b { font-size: var(--s-xs); } .cb-seg span { display: none; } }
@media (max-width: 30rem) { .cbar { height: 3rem; } .cb-seg b { display: none; } }

/* Insights cards and collapsible essays */
.afilters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.afilter { font: inherit; font-size: var(--s-sm); font-weight: 600; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .95rem; cursor: pointer; }
.afilter[aria-pressed="true"] { background: var(--band); color: var(--band-ink); border-color: var(--band); }
.acards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 60rem) { .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .acards { grid-template-columns: 1fr; } }
.acard { display: grid; grid-template-rows: auto auto 1fr auto; gap: .6rem; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: var(--ink); min-width: 0; }
.acard:hover { border-color: var(--teal); }
.acard h3 { font-size: 1.15rem; font-stretch: 104%; line-height: 1.25; }
.acard p { font-size: var(--s-sm); color: var(--muted); }
.mins { font-size: var(--s-xs); color: var(--muted); }
.tag { justify-self: start; font-size: var(--s-xs); font-weight: 600; padding: .2rem .55rem; border-radius: 999px; }
.t-article { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); }
.t-foresight { background: color-mix(in srgb, var(--teal) 16%, var(--surface)); color: var(--teal-text); }
.t-leadership { background: color-mix(in srgb, #C98A12 18%, var(--surface)); color: #8A5A00; }
:root[data-theme="dark"] .t-leadership { color: #F0C060; }
.essays { display: grid; gap: .75rem; max-width: 52rem; }
details.essay { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; scroll-margin-top: 6rem; }
details.essay > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "tag title open" "tag by open"; gap: .2rem 1rem; align-items: center; padding: 1.1rem 1.25rem; }
details.essay > summary::-webkit-details-marker { display: none; }
details.essay > summary .tag { grid-area: tag; }
details.essay > summary h2 { grid-area: title; font-size: 1.15rem; font-stretch: 104%; }
details.essay > summary .by { grid-area: by; font-size: var(--s-xs); color: var(--muted); }
.open-label { grid-area: open; font-size: var(--s-sm); font-weight: 600; color: var(--accent); }
.open-label::after { content: " +"; }
details.essay[open] .open-label { font-size: 0; }
details.essay[open] .open-label::after { content: "Close –"; font-size: var(--s-sm); }
@media (max-width: 36rem) { details.essay > summary { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tag open" "title title" "by by"; } }
.essay-body { display: grid; gap: 1.1rem; padding: 0 1.25rem 1.5rem; max-width: 42rem; }
.essay-body p { font-size: 1.05rem; line-height: 1.7; }
.essay-body h3 { font-size: 1.1rem; margin-top: .4rem; }
.essay-body blockquote { margin: .3rem 0; padding: .2rem 0 .2rem 1.1rem; border-left: 1px solid var(--teal); font-family: var(--f-display); font-stretch: 105%; font-size: 1.2rem; line-height: 1.35; }
.essays details.essay:not([open]) { display: none; }
.essays-sec:not(:has(details[open])) { display: none; }
.steps li::before { font-family: var(--f-display); font-size: 1.4rem; font-weight: 650; letter-spacing: 0; color: var(--teal); }


/* ===== Review fixes (Oct 14) ===== */
::selection { background: color-mix(in srgb, var(--teal) 30%, transparent); color: var(--ink); }
input, select, textarea { caret-color: var(--teal); accent-color: var(--teal); }
a { text-underline-offset: .22em; text-decoration-thickness: 1px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Arabic */
.ar { font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
.hero-ar { font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); font-weight: 500; color: var(--teal-text); line-height: 1.6; text-align: left; }
.site-footer .ar { display: inline-block; margin-top: .4rem; color: var(--muted); }

/* Mobile header: CTA + icon menu */
.mbar { display: none; align-items: center; gap: .5rem; }
.menu summary { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; }
@media (max-width: 52rem) {
  .mbar { display: flex; }
  .menu { display: block; }
  .mcta { padding: .55rem .8rem; font-size: .82rem; min-height: 44px; }
}
@media (max-width: 22rem) { .mcta { display: none; } }

/* Hero with arched portrait */
.hero .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); align-items: center; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4rem); max-width: 16ch; }
.hero-photo { margin: 0; position: relative; display: grid; gap: 1rem; justify-self: end; width: min(100%, 25rem); }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 6px 6px; overflow: hidden; background: var(--surface); }
.arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo figcaption { display: grid; gap: .1rem; font-size: var(--s-sm); }
.hero-photo figcaption b { font-family: var(--f-display); font-stretch: 106%; font-size: 1.05rem; }
.hero-photo figcaption span { color: var(--muted); }
@media (max-width: 52rem) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; width: min(100%, 18rem); }
}

/* Proof block */
.proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2.5rem 3.5rem; align-items: start; }
.proof-copy { display: grid; gap: .9rem; }
.ways-line { grid-column: 1 / -1; list-style: none; padding: 1.5rem 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; }
.ways-line li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--s-sm); color: var(--muted); }
.ways-line b { color: var(--ink); font-weight: 600; }
@media (max-width: 60rem) { .proof { grid-template-columns: 1fr; } .ways-line { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .ways-line { grid-template-columns: 1fr; } }

/* Week chart legend */
.wk-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: var(--s-xs); color: var(--muted); margin-top: .6rem; }
.wk-legend span { display: inline-block; width: 1.4rem; height: .55rem; border-radius: 2px; }
.lg-min { background: var(--teal); }
.lg-max { margin-left: .9rem; background: repeating-linear-gradient(135deg, var(--teal) 0 3px, transparent 3px 7px); opacity: .7; }

/* Services */
.svc-side .btn { margin-top: .4rem; }
.svc-body h3 { font-size: 1.05rem; }
.band-soft .deliver li { background: var(--bg); }
.more-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .75rem 2rem; }
.more-line p { max-width: 46rem; }
section#more { padding-block: 2.5rem; }

/* Founder headshots and roles */
.headshot { width: 7.5rem; height: 7.5rem; border-radius: 50%; object-fit: cover; }
.role { color: var(--muted); font-size: var(--s-sm); margin-top: -.5rem; }
.founder-card img { object-position: center 20%; }

/* Contact side headings */
.side-h { font-family: var(--f-body); font-size: var(--s-sm); font-weight: 600; color: var(--ink); font-stretch: 100%; letter-spacing: 0; }

/* Insights related link */
.related { font-size: var(--s-sm); padding-top: .9rem; border-top: 1px solid var(--line); }

.arch-ring { position: absolute; top: -14px; left: -14px; right: -14px; height: 58%; border: 2px solid var(--teal); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
.orbit { position: absolute; left: -2px; top: -2px; width: calc(100% + 4px); aspect-ratio: 1; transform: rotate(140deg); animation: orbit 1.8s cubic-bezier(.25,.7,.2,1) .2s both; }
.orbit .dot { position: absolute; left: -8px; top: calc(50% - 8px); width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
@keyframes orbit { from { transform: rotate(20deg); } to { transform: rotate(140deg); } }
@media (prefers-reduced-motion: reduce) { .orbit { animation: none; } }
.brand-name, .mcta { white-space: nowrap; }
@media (max-width: 30rem) {
  .site-header .wrap { gap: .5rem; }
  .brand { gap: .45rem; }
  .brand-name { font-size: .88rem; letter-spacing: .07em; }
  .mcta { font-size: .78rem; padding: .5rem .65rem; }
}

/* ---------- Language switch + Arabic (RTL) ---------- */
.lang-switch { font-size: var(--s-sm); font-weight: 600; color: var(--accent); text-decoration: none; padding: .3rem .1rem; white-space: nowrap; }
.lang-switch:hover { text-decoration: underline; }
.lang-switch:lang(ar) { font-family: "IBM Plex Sans Arabic", var(--f-body); }
.mbar .lang-switch { padding-inline: .3rem; }

[dir="rtl"] {
  --f-display: "IBM Plex Sans Arabic", "Archivo", "Segoe UI", Tahoma, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
  --f-mono: "IBM Plex Sans Arabic", "IBM Plex Mono", ui-monospace, monospace;
}
[dir="rtl"] body { line-height: 1.8; }
[dir="rtl"] * { letter-spacing: 0 !important; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.35; font-weight: 600; }
[dir="rtl"] .brand, [dir="rtl"] code, [dir="rtl"] .email-line, [dir="rtl"] .form-status pre:not(:lang(ar)) { direction: ltr; }
[dir="rtl"] .brand-name { font-family: "Archivo", "Helvetica Neue", Arial, sans-serif; }
[dir="rtl"] .menu nav { right: auto; left: 0; }
[dir="rtl"] .figures { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .figure { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .ticks li { padding-left: 0; padding-right: 1.6rem; }
[dir="rtl"] .ticks li::before { left: auto; right: 0; }
[dir="rtl"] article.essay blockquote, [dir="rtl"] .essay-body blockquote { padding: .2rem 1.2rem .2rem 0; border-left: 0; border-right: 1px solid var(--teal); }
[dir="rtl"] .sample-tag { left: auto; right: .8rem; }
[dir="rtl"] .sit, [dir="rtl"] .pq-opt, [dir="rtl"] .dcard, [dir="rtl"] .gtab, [dir="rtl"] .hero-ar { text-align: right; }
[dir="rtl"] .rbars li { border-left: 0; border-right: 3px solid var(--teal); }
[dir="rtl"] .rbars li.rend { border-right-color: var(--band); }
[dir="rtl"] .uneeds b { margin-right: 0; margin-left: .3rem; }
[dir="rtl"] .tri button { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .tri button:first-child { border-right: 0; }
[dir="rtl"] .dfix-list { padding-left: 0; padding-right: 1.2rem; }
[dir="rtl"] .more-bio summary::after { margin-left: 0; margin-right: .4rem; }
[dir="rtl"] .lg-max { margin-left: 0; margin-right: .9rem; }
/* Charts: bars grow from the right */
[dir="rtl"] .wk-bar { left: auto; right: 0; }
[dir="rtl"] .wk-val { left: auto; right: calc((100% - var(--room)) * var(--hi) / var(--max) + .7rem); }
[dir="rtl"] .wk-ticks::before { left: var(--room); right: 0; }
[dir="rtl"] .wk-ticks span { left: auto; right: calc((100% - var(--room)) * var(--w) / 8); transform: translateX(50%); }
[dir="rtl"] .cyears span { left: auto; right: var(--p); transform: translateX(50%); }
[dir="rtl"] .cyears span:first-child { transform: none; } [dir="rtl"] .cyears span:last-child { transform: translateX(100%); }
[dir="rtl"] .funnel-fig, [dir="rtl"] .pulse-arc, [dir="rtl"] .sit-arc { direction: ltr; }
[dir="rtl"] .wk-min { border-radius: 0 2px 2px 0; } [dir="rtl"] .wk-max { border-radius: 2px 0 0 2px; }
[dir="rtl"] .wk-ticks span:last-child::after { content: " أسابيع"; }
[dir="rtl"] details.essay[open] .open-label::after { content: "إغلاق –"; }
[dir="rtl"] .skip { left: auto; right: -9999px; } [dir="rtl"] .skip:focus { right: 1rem; }
[dir="rtl"] .hp { left: auto; right: -9999px; }

/* Monogram stand-in for team photos not yet received (no silhouettes: they imply a face, age and gender) */
.monogram { position: relative; aspect-ratio: 5 / 4; background: var(--band); color: var(--band-ink); display: grid; place-items: center; overflow: hidden; }
.monogram span { font-family: "Archivo", var(--f-display); font-stretch: 118%; font-weight: 650; font-size: clamp(2.6rem, 2rem + 2.4vw, 3.6rem); letter-spacing: .06em; line-height: 1; }
.monogram svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 34%; color: var(--teal); opacity: .55; }
.founder-card .monogram { aspect-ratio: 5 / 6; border-radius: 3px; }

/* ================= Boarding Pass layer (overrides the base system above) ================= */
html, body { overflow-x: clip; }
body { background: radial-gradient(900px 560px at 88% -120px, #33296A 0%, transparent 70%), var(--plum); color: var(--text); font-family: var(--f-body); font-size: 1.0625rem; }
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
::selection { background: var(--tang); color: var(--t-ink); }
:focus-visible { outline: 2px solid var(--tang); outline-offset: 3px; }
input, textarea, select { caret-color: var(--tang); }
html { scrollbar-color: var(--plum-line) var(--plum); }
section + section { border-top: 1px solid var(--plum-line); }
.band-soft { background: transparent; }

h1, h2 { font-family: var(--f-display); font-weight: 700; font-stretch: 100%; text-transform: uppercase; letter-spacing: .005em; line-height: .95; color: var(--text); }
h1 { font-size: var(--s-2xl); }
h2 { font-size: var(--s-xl); line-height: 1; }
h3 { font-family: var(--f-body); font-weight: 600; font-stretch: 100%; letter-spacing: 0; }
h1 em, h2 em { font-style: normal; color: var(--tang); }
.lead { color: var(--soft); }
a { color: var(--text); text-decoration-color: color-mix(in srgb, var(--tang) 70%, transparent); text-underline-offset: .22em; }
a:hover { color: var(--tang-2); }
.muted, .caption { color: var(--soft); }
code, pre { font-family: var(--f-code); }
.k { display: block; font-family: var(--f-display); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--t-muted); }
.option-tag, .preview-note, .sample-tag { display: none !important; }

/* Buttons: tangerine on plum, ink on tickets */
.btn { background: var(--tang); border-color: var(--tang); color: var(--t-ink); border-radius: 8px; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; padding: .75rem 1.2rem;
  transition: background .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--tang-2); border-color: var(--tang-2); color: var(--t-ink); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--lilac); }
.btn.ghost:hover { color: var(--tang-2); border-color: var(--tang); background: transparent; }
.btn svg { width: 1rem; height: 1rem; }

/* Header: signage */
.site-header { background: color-mix(in srgb, var(--plum) 90%, transparent); border-bottom-color: var(--plum-line); }
.brand, .brand-name { color: var(--text); }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; letter-spacing: .08em; }
.brand-name span { color: var(--tang); }
.brand svg path { stroke: var(--lilac); }
.brand svg circle { fill: var(--tang); }
.nav a { color: var(--soft); font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--tang); }
.nav .btn, .nav .btn:hover, .mcta, .mcta:hover { background: transparent; border: 0; color: var(--tang); padding: 0; font-family: var(--f-body); font-size: var(--s-sm); font-weight: 600; letter-spacing: 0; text-transform: none; transform: none; }
.lang-switch { color: var(--text); }
.menu summary { border-color: var(--plum-line); color: var(--text); }
.menu nav { background: var(--plum-2); border-color: var(--plum-line); }
.menu nav a { color: var(--text); }
@media (max-width: 30rem) { .mcta { display: none; } .mbar { gap: .25rem; } }

/* ---------- Home: the gate ---------- */
.gate { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 5.5rem); border-top: 0 !important; }
.gate-top { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; flex-wrap: wrap; }
.gate h1 { max-width: 12ch; font-size: clamp(3rem, 1.6rem + 5.6vw, 6.2rem); line-height: .9; }
.dep { text-align: end; font-family: var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); line-height: 1.5; font-size: 1.05rem; }
.dep b { display: block; color: var(--text); font-size: 1.6rem; letter-spacing: .06em; }
.gate-lead { margin-top: 1.4rem; color: var(--soft); max-width: 40em; }
.routes { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.route { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--lilac);
  background: transparent; border: 1.5px solid var(--lilac); border-radius: 6px; padding: .55rem .9rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.route:hover { color: var(--text); border-color: var(--text); }
.route[aria-checked="true"] { background: var(--tang); border-color: var(--tang); color: var(--t-ink); }

/* The pass itself */
.pass { margin-top: clamp(1.8rem, 1rem + 2vw, 2.8rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem); color: var(--t-ink); filter: drop-shadow(0 30px 40px rgb(0 0 0 / .45)); }
.pass-main, .pass-stub { background: var(--ticket); position: relative; }
.pass-main { border-radius: 16px 0 0 16px; padding: clamp(1.2rem, 1rem + 1.5vw, 2rem) clamp(1.2rem, 1rem + 2vw, 2.4rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem 1.6rem; align-content: start; }
.pass-stub { border-radius: 0 16px 16px 0; border-inline-start: 2px dashed #CDC8DD; padding: clamp(1.2rem, 1rem + 1vw, 1.6rem); display: grid; gap: .9rem; align-content: start; }
.pass-main::before, .pass-main::after { content: ""; position: absolute; inset-inline-end: -13px; width: 26px; height: 26px; border-radius: 50%; background: var(--plum); z-index: 2; }
.pass-main::before { top: -13px; } .pass-main::after { bottom: -13px; }
.pass .v { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.55rem; line-height: 1.08; text-transform: uppercase; letter-spacing: .02em; color: var(--t-ink); text-decoration: none; }
.pass a.v:hover { color: var(--tang-text); }
.pass .f.big { grid-column: 1 / 3; } .pass .f.big .v { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.pass .f.big i { font-style: normal; color: var(--tang); }
.pass .f.wide { grid-column: 3 / -1; } .pass .dest { text-transform: none; font-family: var(--f-body); font-weight: 600; font-size: 1.15rem; line-height: 1.35; }
.pass .arrive { grid-column: 1 / -1; }
.pass .arrive ul { list-style: none; margin: .3rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; color: #322D4A; }
.pass .arrive li { position: relative; padding-inline-start: 1rem; }
.pass .arrive li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--tang); }
.bars { grid-column: 1 / -1; height: 2.1rem; opacity: .85;
  background: repeating-linear-gradient(90deg, var(--t-ink) 0 2px, transparent 2px 5px, var(--t-ink) 5px 6px, transparent 6px 9px, var(--t-ink) 9px 12px, transparent 12px 14px); }
.pass-stub .who { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: .9rem; align-items: center; }
.pass-stub img { width: 4.6rem; height: 4.6rem; object-fit: cover; border-radius: 8px; }
.pass-stub .v { font-size: 1.4rem; }
.pass-stub .k2 { font-size: var(--s-xs); color: var(--t-muted); }
.pass-stub .btn { background: var(--t-ink); border-color: var(--t-ink); color: #fff; text-align: center; justify-content: center; }
.pass-stub .btn:hover { background: #26203F; color: #fff; }
.pass-stub .extra { font-size: var(--s-sm); color: var(--t-muted); }
.pass-stub .extra a { color: var(--t-ink); font-weight: 600; text-decoration-color: var(--tang); }
.pass.swap .v, .pass.swap .arrive ul { animation: flip-in .5s var(--ease) both; }
@keyframes flip-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 60rem) {
  .pass { grid-template-columns: 1fr; }
  .pass-main { border-radius: 16px 16px 0 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pass .f.big, .pass .f.wide { grid-column: 1 / -1; }
  .pass-stub { border-radius: 0 0 16px 16px; border-inline-start: 0; border-top: 2px dashed #CDC8DD; }
  .pass-main::before, .pass-main::after { display: none; }
}
@media (max-width: 30rem) { .pass-main { grid-template-columns: 1fr; } .dep { text-align: start; } }

/* Home: your advisor */
.advisor { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center; }
.advisor img { width: 9rem; height: 9rem; object-fit: cover; border-radius: 12px; }
.advisor p { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.12; max-width: 30ch; }
.advisor p small { display: block; font-family: var(--f-body); font-weight: 400; font-size: var(--s-sm); color: var(--soft); margin-top: .6rem; text-transform: none; }
.advisor a { font-weight: 600; white-space: nowrap; }
.conditions { list-style: none; margin: 2.4rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--plum-line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; font-size: var(--s-sm); color: var(--soft); }
.conditions b { display: block; color: var(--text); font-family: var(--f-display); font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
@media (max-width: 52rem) { .advisor { grid-template-columns: 6rem minmax(0, 1fr); } .advisor img { width: 6rem; height: 6rem; } .advisor a { grid-column: 2; } .conditions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 30rem) { .conditions { grid-template-columns: 1fr; } }

/* ---------- Sign-off strip (replaces the repeated band) ---------- */
.band { background: var(--plum-3); color: var(--text); border-top: 0 !important; padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.band .wrap { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: 1rem 1.6rem; align-items: center; }
.band .wrap::before { content: ""; width: 4.5rem; height: 4.5rem; border-radius: 10px; background: url(haytham.jpg) center 20% / cover; }
.band-copy { gap: .35rem; max-width: 46rem; }
.band h2 { color: var(--text); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.band p { color: var(--soft); }
.band .btn { background: var(--tang); color: var(--t-ink); }
@media (max-width: 40rem) { .band .wrap { grid-template-columns: 3.5rem minmax(0, 1fr); } .band .wrap::before { width: 3.5rem; height: 3.5rem; } .band .btn { grid-column: 1 / -1; justify-self: start; } }

/* ---------- Services: departures board and tickets ---------- */
.board-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--plum-line); }
.board { width: 100%; min-width: 46rem; border-collapse: collapse; background: #0D0A1F; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; }
.board caption { text-align: start; padding: .9rem 1.2rem; color: var(--tang); font-weight: 700; font-size: 1.3rem; letter-spacing: .14em; border-bottom: 1px solid var(--plum-line); }
.board th { text-align: start; font-weight: 600; font-size: .85rem; letter-spacing: .14em; color: var(--soft); padding: .7rem 1.2rem; border-bottom: 1px solid var(--plum-line); }
.board td { padding: .9rem 1.2rem; font-size: 1.25rem; font-weight: 600; color: #E9FFFC; border-bottom: 1px solid #201A42; font-variant-numeric: tabular-nums; }
.board td a { color: #E9FFFC; text-decoration: none; }
.board td a:hover { color: var(--tang); }
.board td.st { color: var(--tang); }
.board tr:last-child td { border-bottom: 0; }
.tickets { display: grid; gap: 2rem; margin-top: 2.5rem; }
.ticket { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, 17rem); color: var(--t-ink); filter: drop-shadow(0 24px 30px rgb(0 0 0 / .4)); scroll-margin-top: 6rem; }
.t-main, .t-stub { background: var(--ticket); position: relative; }
.t-main { border-radius: 14px 0 0 14px; padding: clamp(1.2rem, 1rem + 1.5vw, 2rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.6rem; }
.t-main h2 { grid-column: 1 / -1; color: var(--t-ink); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.t-main .wide { grid-column: 1 / -1; font-size: 1.1rem; color: #322D4A; }
.t-main .v { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.t-main ul { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1.6rem; color: #322D4A; font-size: var(--s-sm); }
.t-main li { position: relative; padding-inline-start: 1rem; }
.t-main li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--tang); }
.t-main::before, .t-main::after { content: ""; position: absolute; inset-inline-end: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--plum); }
.t-main::before { top: -12px; } .t-main::after { bottom: -12px; }
.t-stub { border-radius: 0 14px 14px 0; border-inline-start: 2px dashed #CDC8DD; padding: clamp(1.2rem, 1rem + 1vw, 1.6rem); display: grid; gap: .8rem; align-content: start; font-size: var(--s-sm); color: #322D4A; }
.t-stub .btn { background: var(--t-ink); border-color: var(--t-ink); color: #fff; justify-self: start; }
.t-stub .btn:hover { background: #26203F; color: #fff; }
.weeks-mini { display: flex; align-items: center; gap: .6rem; }
.weeks-mini i { display: block; height: .45rem; width: calc(var(--hi) / 8 * 6rem); border-radius: 2px; background: linear-gradient(90deg, var(--tang) calc(var(--lo) / var(--hi) * 100%), #BDEFEB 0); }
[dir="rtl"] .weeks-mini i { background: linear-gradient(270deg, var(--tang) calc(var(--lo) / var(--hi) * 100%), #BDEFEB 0); }
@media (max-width: 52rem) {
  .ticket { grid-template-columns: 1fr; }
  .t-main { border-radius: 14px 14px 0 0; grid-template-columns: 1fr 1fr; }
  .t-main ul { grid-template-columns: 1fr; }
  .t-stub { border-radius: 0 0 14px 14px; border-inline-start: 0; border-top: 2px dashed #CDC8DD; }
  .t-main::before, .t-main::after { display: none; }
}
/* Itinerary: the four real steps of an engagement */
.steps { position: relative; border-top: 0 !important; }
.steps li { padding-top: 2rem !important; position: relative; border: 0 !important; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: .55rem; border-top: 2px dashed var(--plum-line); }
.steps li::before { color: var(--tang) !important; font-family: var(--f-display) !important; font-size: 1rem !important; letter-spacing: .1em; position: absolute; top: -.1rem; inset-inline-start: 0; background: var(--plum); padding-inline-end: .6rem; }
.steps b { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.25rem; }
.steps span { color: var(--soft); }
.nots li { color: var(--text); }
.nots .ic-s { color: var(--tang); }
.more-line { color: var(--soft); } .more-line b { color: var(--text); }

/* ---------- About: advisor profile and travel log ---------- */
.profile { display: grid; grid-template-columns: minmax(16rem, 21rem) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.passport { background: var(--ticket); color: var(--t-ink); border-radius: 14px; padding: 1.2rem; display: grid; gap: 1rem; box-shadow: 0 30px 50px -30px rgb(0 0 0 / .7); }
.passport img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.passport dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; }
.passport dl div:first-child { grid-column: 1 / -1; }
.passport dd { margin: 0; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; line-height: 1.1; }
.passport dl div:first-child dd { font-size: 1.8rem; }
.passport .chips { gap: .4rem; }
.passport .chips li { background: transparent; border: 1px solid var(--t-line); color: var(--t-ink); border-radius: 999px; font-size: var(--s-xs); padding: .3rem .65rem; }
.profile h1 { max-width: 13ch; }
.profile .lead { margin-top: 1.2rem; max-width: 36em; font-size: 1.15rem; }
.staff { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--plum-line); display: grid; gap: .7rem; max-width: 40em; }
.staff h2 { font-size: 1.6rem; }
.staff p { color: var(--soft); }
.log { list-style: none; margin: 0; padding: 0; position: relative; }
.log::before { content: ""; position: absolute; top: 1rem; bottom: 1rem; inset-inline-start: 3.25rem; border-inline-start: 2px dashed var(--plum-line); }
.stop { display: grid; grid-template-columns: 6.5rem minmax(0, 1.3fr) minmax(0, 1fr); gap: .8rem 2rem; padding-block: 1.4rem; position: relative; scroll-margin-top: 6rem; }
.stamp { position: relative; z-index: 1; width: 6.5rem; height: 6.5rem; border-radius: 50%; border: 2px solid var(--tang); color: var(--tang); background: var(--plum);
  display: grid; place-content: center; text-align: center; font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; letter-spacing: .04em; transform: rotate(-8deg); }
.stamp small { font-size: .75rem; letter-spacing: .1em; color: var(--soft); font-weight: 600; }
.stop:nth-child(even) .stamp { transform: rotate(6deg); }
.stop h3 { font-size: 1.2rem; }
.stop .place { color: var(--soft); font-size: var(--s-sm); margin-top: .2rem; }
.stop .did { margin-top: .6rem; color: #DAD5EA; max-width: 36em; }
.stop .became { align-self: center; border-inline-start: 2px solid var(--tang); padding-inline-start: 1rem; font-size: var(--s-sm); }
.stop .became span { display: block; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--soft); }
.stop .became a { font-weight: 600; }
.stop.now .stamp { background: var(--tang); color: var(--t-ink); }
.stop.now .stamp small { color: var(--t-ink); }
@media (max-width: 52rem) {
  .profile { grid-template-columns: 1fr; } .passport { max-width: 22rem; }
  .stop { grid-template-columns: 5rem minmax(0, 1fr); } .stamp { width: 5rem; height: 5rem; font-size: 1.35rem; }
  .stop .became { grid-column: 2; } .log::before { inset-inline-start: 2.5rem; }
}
.method { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: m; border-top: 2px dashed var(--plum-line); }
.method li { counter-increment: m; padding: 1.1rem 1.2rem 0 0; display: grid; gap: .3rem; align-content: start; }
.method li::before { content: "0" counter(m); font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; color: var(--tang); }
.method b { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.2rem; }
.method span { color: var(--soft); font-size: var(--s-sm); }
@media (max-width: 52rem) { .method { grid-template-columns: 1fr 1fr; gap: 1rem; } }
@media (max-width: 30rem) { .method { grid-template-columns: 1fr; } }
.chips li { background: transparent; border-color: var(--plum-line); border-radius: 999px; color: var(--text); }
details.bio summary { cursor: pointer; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: 1.2rem; color: var(--tang); }
details.bio p { margin-top: .9rem; color: #DAD5EA; max-width: 42em; }

/* ---------- Insights: lead piece and a reading list ---------- */
.afilters { gap: .5rem; }
.afilter { background: transparent !important; border: 1.5px solid var(--plum-line) !important; border-radius: 6px !important; color: var(--soft) !important; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.afilter[aria-pressed="true"] { background: var(--tang) !important; border-color: var(--tang) !important; color: var(--t-ink) !important; }
.acards { display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; border-top: 2px solid var(--text); }
.acard { display: grid !important; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: .3rem 2rem; align-items: baseline; padding: 1.1rem 0 !important;
  background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--plum-line) !important; border-radius: 0 !important; box-shadow: none !important; color: var(--text) !important; text-decoration: none; }
.acard .tag { display: none; }
.acard h3 { font-size: 1.1rem; grid-column: 1; margin: 0; }
.acard p { grid-column: 2; color: var(--soft); margin: 0; font-size: var(--s-sm); }
.acard .mins { grid-column: 3; color: var(--soft); font-size: var(--s-xs); white-space: nowrap; }
.acard:hover h3 { color: var(--tang-2); }
.acard:not([hidden]):first-of-type { grid-template-columns: minmax(0, 1fr) auto; padding: 1.8rem 0 2rem !important; }
.acard:not([hidden]):first-of-type .tag { display: inline-block; grid-column: 1 / -1; justify-self: start; background: var(--tang); color: var(--t-ink); padding: .15rem .5rem; border-radius: 4px; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.acard:not([hidden]):first-of-type h3 { font-family: var(--f-display); text-transform: uppercase; font-weight: 700; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); line-height: 1; max-width: 22ch; }
.acard:not([hidden]):first-of-type p { grid-column: 1; font-size: 1.1rem; }
.acard:not([hidden]):first-of-type .mins { grid-column: 2; grid-row: 2; }
@media (max-width: 44rem) { .acard, .acard:not([hidden]):first-of-type { grid-template-columns: 1fr !important; } .acard > * { grid-column: 1 !important; grid-row: auto !important; } }
details.essay, article.essay { color: var(--text); }

/* ---------- Contact: the booking form on a ticket ---------- */
.inquiry { background: var(--ticket); color: var(--t-ink); border: 0; border-radius: 14px; }
.inquiry label { color: var(--t-ink); }
.inquiry .opt { color: var(--t-muted); }
.field input, .field textarea, .field select { background: #fff; color: var(--t-ink); border-color: #D3CEE6; color-scheme: light; }
.inquiry .btn { background: var(--t-ink); border-color: var(--t-ink); color: #fff; }
.form-status { color: var(--t-ink); }
.aside .side-h { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .1em; font-size: 1.05rem; color: var(--tang); }
.copy { background: transparent; color: var(--text); border-color: var(--plum-line); }
.email-line code { color: var(--text); font-family: var(--f-code); }

/* ---------- Toolkit index and tool pages ---------- */
.tool-groups { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); }
.tool-group { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: start; }
.tool-group h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.tool-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.tool-row { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) auto; gap: .4rem 1.75rem; align-items: baseline; padding-block: 1.1rem; border-bottom: 1px solid var(--plum-line); color: var(--text); text-decoration: none; transition: padding .3s var(--ease); }
.tool-name { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; font-size: 1.2rem; }
.tool-line { color: var(--soft); }
.tool-go { width: 1.2rem; height: 1.2rem; color: var(--soft); align-self: center; transition: transform .3s var(--ease), color .2s; }
.tool-row:hover { color: var(--text); padding-inline-start: .5rem; }
.tool-row:hover .tool-name, .tool-row:hover .tool-go { color: var(--tang); }
.tool-row:hover .tool-go { transform: translateX(4px); }
[dir="rtl"] .tool-go { transform: scaleX(-1); } [dir="rtl"] .tool-row:hover .tool-go { transform: scaleX(-1) translateX(4px); }
@media (max-width: 52rem) { .tool-group { grid-template-columns: 1fr; } .tool-row { grid-template-columns: minmax(0, 1fr) auto; } .tool-line { grid-column: 1; grid-row: 2; } .tool-go { grid-row: 1 / 3; grid-column: 2; } }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: var(--s-sm); color: var(--soft); margin-bottom: 1.25rem; }
.crumbs a { color: var(--soft); } .crumbs [aria-current] { color: var(--text); font-weight: 600; }
.tool-page h1 { font-size: var(--s-xl); max-width: 22ch; line-height: 1; }
.pq legend { font-family: var(--f-display); text-transform: uppercase; font-weight: 700; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.05; margin-bottom: 1.2rem; }
.pbar span { background: var(--tang); }
.pq-opt, .sit, .sector, .schoice, .gtab, .fstep, .dcard, .ufilter { color: var(--text); }
.pq-opt:hover, .sit:hover { border-color: var(--tang); }
.fstep[aria-pressed="true"], .gtab[aria-pressed="true"], .sit[aria-pressed="true"], .sector[aria-pressed="true"], .ufilter[aria-pressed="true"] { background: var(--tang) !important; border-color: var(--tang) !important; color: var(--t-ink) !important; }
.funnel .fbar rect { fill: color-mix(in srgb, var(--lilac) 30%, var(--plum-2)); }
.funnel .fbar.on rect { fill: var(--tang); }
.presult h2 { color: var(--tang); }
.wk-min, .lg-min { background: var(--tang); }
.wk-name b { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-stretch: 100%; }

/* ---------- Arabic ---------- */
[dir="rtl"] { --f-display: var(--app-font-arabic); --f-body: var(--app-font-arabic); --f-mono: var(--app-font-arabic); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] .v, [dir="rtl"] .k, [dir="rtl"] .route, [dir="rtl"] .btn, [dir="rtl"] .dep, [dir="rtl"] .board, [dir="rtl"] .tool-name,
[dir="rtl"] .stamp, [dir="rtl"] .method b, [dir="rtl"] .steps b, [dir="rtl"] .conditions b, [dir="rtl"] .afilter, [dir="rtl"] .side-h { text-transform: none; letter-spacing: 0 !important; }
[dir="rtl"] h1 { font-weight: 700; line-height: 1.35; font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4rem); }
[dir="rtl"] .gate h1 { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.4rem); line-height: 1.3; max-width: 14ch; }
[dir="rtl"] h2 { font-weight: 700; line-height: 1.4; font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.2rem); }
[dir="rtl"] .pass .v { font-weight: 700; font-size: 1.15rem; line-height: 1.5; }
[dir="rtl"] .pass .f.big .v { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
[dir="rtl"] .stamp { font-family: "Barlow Condensed", sans-serif; }
[dir="rtl"] .brand-name { font-family: "Barlow Condensed", sans-serif; }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
.lang-switch:lang(ar) { font-family: var(--app-font-arabic); }

@media (prefers-reduced-motion: reduce) { .route, .tool-row, .tool-go, .btn { transition: none; } .pass.swap .v, .pass.swap .arrive ul { animation: none; } }
.inquiry label, .inquiry .field label, .inquiry legend { color: var(--t-ink) !important; }
.pass .f.big .v { white-space: nowrap; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.board td.st, .board td.st a { white-space: nowrap; }
@media (max-width: 40rem) { .board { min-width: 38rem; } .board td { font-size: 1.05rem; padding: .7rem .9rem; } .board th { padding: .6rem .9rem; } }
.pq legend { line-height: 1.15; }
[dir="rtl"] .pq legend { line-height: 1.6; }

/* ================= Light pages: Toolkit, tools and Insights ================= */
body.light {
  --text: var(--t-ink); --soft: var(--t-muted); --plum-line: var(--t-line);
  --bg: var(--ticket); --surface: #FFFFFF; --ink: var(--t-ink); --muted: var(--t-muted); --line: var(--t-line);
  --teal: #5A3FA8; --teal-text: #5A3FA8; --plum: var(--ticket);
  background: radial-gradient(900px 500px at 90% -120px, #EDE6FB 0%, transparent 70%), var(--ticket); color: var(--t-ink); color-scheme: light;
}
body.light ::selection { background: #C8F5F1; }
body.light .brand-name span, body.light h1 em, body.light h2 em, body.light .presult h2,
body.light .tool-row:hover .tool-name, body.light .tool-row:hover .tool-go, body.light .acard:hover h3 { color: var(--tang-text); }
body.light .site-header { background: color-mix(in srgb, var(--ticket) 92%, transparent); }
body.light .nav .btn, body.light .mcta { color: var(--tang-text); }
body.light a:hover { color: var(--tang-text); }
body.light .band { background: var(--plum-3); --text: #F3F1FF; --soft: #B3ABDA; }
body.light .band .wrap::before { box-shadow: none; }
body.light .site-footer { background: #F2F1F5; }
body.light .pass-main::before, body.light .t-main::before { background: var(--ticket); }

/* Pictogram tiles (airport signage) */
.pic { display: inline-grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 10px; background: #1B1638; flex: none; }
.pic svg { width: 62%; height: 62%; }
.pic.big { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; }
.intro-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 22rem); gap: 2rem 4rem; align-items: center; }
.intro-split > div { display: grid; gap: 1.2rem; }
.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.sign { display: block; border-radius: 14px; transition: transform .25s var(--ease); }
.sign:hover { transform: translateY(-3px); }
.sign:nth-child(3n+2) .pic { background: #251E4A; }
.sign:focus-visible { outline-offset: 2px; }
@media (max-width: 52rem) { .intro-split { grid-template-columns: 1fr; } .signs { grid-template-columns: repeat(9, 1fr); gap: .35rem; } .pic.big { border-radius: 8px; } }
.tool-row { grid-template-columns: auto minmax(0, 13rem) minmax(0, 1fr) auto; }
.tool-row .pic { width: 3rem; height: 3rem; align-self: center; }
@media (max-width: 52rem) { .tool-row { grid-template-columns: auto minmax(0, 1fr) auto; } .tool-row .pic { grid-row: 1 / 3; } .tool-line { grid-column: 2; } .tool-go { grid-column: 3; } }
.tool-page .sec-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; max-width: none; }
.tool-pic { width: 6rem; height: 6rem; border-radius: 16px; }
@media (max-width: 40rem) { .tool-pic { width: 4rem; height: 4rem; } }

/* Insights on light: tiles on every row, a big one on the lead piece */
.acard { grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr) auto !important; }
.acard > .pic { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
.acard h3 { grid-column: 2; } .acard p { grid-column: 3; } .acard .mins { grid-column: 4; }
.acard:not([hidden]):first-of-type { grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr) auto !important; gap: .6rem 2.5rem; }
.acard:not([hidden]):first-of-type > .pic { width: 100%; height: auto; aspect-ratio: 1; border-radius: 18px; grid-row: 1 / span 3; }
.acard:not([hidden]):first-of-type .tag { grid-column: 2 / -1; }
.acard:not([hidden]):first-of-type h3, .acard:not([hidden]):first-of-type p { grid-column: 2; }
.acard:not([hidden]):first-of-type .mins { grid-column: 3; grid-row: 3; }
@media (max-width: 44rem) {
  .acard, .acard:not([hidden]):first-of-type { grid-template-columns: auto minmax(0, 1fr) !important; }
  .acard > * { grid-column: 2 !important; grid-row: auto !important; }
  .acard > .pic { grid-column: 1 !important; grid-row: 1 / span 3 !important; align-self: start; }
  .acard:not([hidden]):first-of-type > .pic { width: 5rem; }
}
@media (prefers-reduced-motion: reduce) { .sign { transition: none; } }
.tool-row, .acard { align-items: center !important; }
.acard > .pic { width: 3.8rem; height: 3.8rem; }
[dir="rtl"] .acard:not([hidden]):first-of-type h3 { text-transform: none; line-height: 1.45; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }

/* ---------- Responsive pass (Nov 2026) ---------- */
.ticket { grid-template-columns: minmax(0, 1fr) minmax(14rem, 17rem); }
.weeks-mini { flex-wrap: wrap; row-gap: .3rem; min-width: 0; }
.weeks-mini i { max-width: 100%; }
@media (max-width: 52rem) { .ticket { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 26rem) { .t-main { grid-template-columns: minmax(0, 1fr); } }

/* Home advisor: stack on phones, smaller quote */
@media (max-width: 40rem) {
  .advisor { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem 1.2rem; align-items: start; }
  .advisor img { width: 4.5rem; height: 4.5rem; }
  .advisor p { font-size: 1.35rem; max-width: none; }
  .advisor p small { margin-top: .4rem; }
  .advisor a { grid-column: 1 / -1; }
  .conditions { grid-template-columns: 1fr; }
}
/* Band: photo + heading on one row, copy and button full width below */
@media (max-width: 40rem) {
  .band .wrap { grid-template-columns: 3.5rem minmax(0, 1fr); align-items: center; }
  .band-copy { display: contents; }
  .band h2 { grid-column: 2; font-size: 1.6rem; }
  .band p { grid-column: 1 / -1; }
  .band .btn { grid-column: 1 / -1; }
}
/* Departures board: on phones each row becomes a compact line, no sideways scroll */
@media (max-width: 40rem) {
  .board-wrap { overflow-x: visible; }
  .board { min-width: 0; display: block; }
  .board caption { display: block; }
  .board thead { display: none; }
  .board tbody { display: block; }
  .board tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; padding: .85rem 1rem; border-bottom: 1px solid #201A42; }
  .board tr:last-child { border-bottom: 0; }
  .board td { display: block; padding: 0; border: 0; font-size: 1.05rem; }
  .board td:first-child { grid-column: 1 / -1; font-size: 1.15rem; }
  .board td:nth-child(2) { color: var(--tang-2); font-size: .95rem; }
  .board td:nth-child(3), .board td:nth-child(4) { display: none; }
  .board td.st { font-size: .95rem; text-align: end; }
}
/* About passport on tablets: lay it out sideways instead of a small card in a corner */
@media (min-width: 36rem) and (max-width: 62rem) {
  .passport { max-width: none; grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr); align-items: start; column-gap: 1.4rem; }
  .passport img { grid-row: span 2; }
}

/* Team-first: no founder photo on the pass or in the closing band (Nov 2026) */
.pass-stub .who.team { grid-template-columns: minmax(0, 1fr); }
.pass-stub .who.team .v { font-size: 1.15rem; }
.band .wrap::before { content: none; display: none; }
.band .wrap { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 40rem) {
  .band .wrap { grid-template-columns: minmax(0, 1fr); }
  .band h2 { grid-column: 1; }
}
[dir="rtl"] .advisor p { line-height: 1.55; }
[dir="rtl"] .advisor p small { line-height: 1.7; }

/* ---------- Motion layer (motion-fx.js). Everything here is inert without .fx ---------- */
.flap { display: inline-block; text-align: center; backface-visibility: hidden; clip-path: inset(-5% 0); }
html.fx .pass.swap .v, html.fx .pass.swap .arrive ul { animation: none; }
html.fx .btn:hover, html.fx .sign:hover { transform: none; }
.bars { position: relative; overflow: hidden; }
.scanline { position: absolute; top: -10%; bottom: -10%; left: 0; width: 3px; opacity: 0; pointer-events: none;
  background: var(--tang); box-shadow: 0 0 14px 4px color-mix(in srgb, var(--tang) 55%, transparent); }
html.fx .steps.draw::before { clip-path: inset(0 calc((1 - var(--draw, 0)) * 100%) 0 0); }
html.fx[dir="rtl"] .steps.draw::before, html.fx [dir="rtl"] .steps.draw::before { clip-path: inset(0 0 0 calc((1 - var(--draw, 0)) * 100%)); }
.dbar-f, .pbar span { transition-duration: .6s; transition-timing-function: cubic-bezier(.16, 1, .3, 1); }

/* Page-to-page transitions (browsers that support cross-document view transitions; others load normally) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .22s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
.flap-word { display: inline-block; white-space: nowrap; }

/* ---------- Home: overview sections (Nov 2026) ---------- */
.gate-what { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); letter-spacing: .02em; color: var(--text); max-width: 40rem; margin: 0 0 .4rem; }
[dir="rtl"] .gate-what { letter-spacing: 0; line-height: 1.7; }
.home-head { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem 2rem; }
.home-head .lead { margin: .5rem 0 0; color: var(--soft); max-width: 44rem; }
.sec-link { font-weight: 600; white-space: nowrap; color: var(--text); text-decoration: underline; text-decoration-color: var(--tang); text-underline-offset: .3em; }
.sec-link:hover { color: var(--tang); }
.home-gates, .home-tools, .home-reads { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.home-gates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-tools, .home-reads { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-gates li, .home-tools li, .home-reads li { display: flex; }
/* Gate signs */
.gcard { flex: 1; display: grid; grid-template-rows: auto auto 1fr auto auto; gap: .75rem; padding: 1.2rem 1.2rem 1.1rem; border-radius: 12px; background: var(--plum-2);
  border: 1px solid var(--plum-line); color: var(--text); text-decoration: none; transition: border-color .2s; }
.gcard:hover { border-color: var(--tang); }
.g-top { display: flex; justify-content: space-between; gap: .6rem; align-items: center; padding-bottom: .7rem; border-bottom: 1px dashed var(--plum-line); }
.g-code { font-family: var(--f-display); font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); background: var(--tang); border-radius: 4px; padding: .1rem .5rem; }
.g-dur { font-family: var(--f-display); font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: #E9FFFC; text-align: end; }
.gcard h3 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.08; text-transform: uppercase; letter-spacing: .02em; color: var(--text); }
.g-row { display: grid; gap: .15rem; font-size: var(--s-sm); color: var(--soft); line-height: 1.5; }
.g-row .k { color: var(--lilac); }
.g-go { font-weight: 600; font-size: var(--s-sm); color: var(--tang); margin-top: .3rem; }
/* Itinerary on Home: same strip as Services */
.home-how .steps { margin-top: .5rem; }
/* Tools and reading cards */
.tcard, .rcard { flex: 1; display: grid; align-content: start; gap: .45rem; padding: 1.2rem; border-radius: 12px; border: 1px solid var(--plum-line); color: var(--text); text-decoration: none; transition: border-color .2s, background .2s; }
.tcard:hover, .rcard:hover { border-color: var(--tang); background: var(--plum-2); }
.tcard .pic, .rcard .pic { margin-bottom: .5rem; }
.t-name, .r-title { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; line-height: 1.12; text-transform: uppercase; letter-spacing: .02em; }
.t-line, .r-sum { color: var(--soft); font-size: var(--s-sm); line-height: 1.5; }
.r-kick { font-family: var(--f-display); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tang); }
.r-time { font-size: var(--s-xs); color: var(--soft); margin-top: .3rem; }
[dir="rtl"] .gcard h3, [dir="rtl"] .t-name, [dir="rtl"] .r-title, [dir="rtl"] .g-code, [dir="rtl"] .g-dur, [dir="rtl"] .r-kick { text-transform: none; letter-spacing: 0; line-height: 1.5; }
[dir="rtl"] .gcard h3, [dir="rtl"] .t-name, [dir="rtl"] .r-title { font-family: var(--app-font-arabic); font-size: 1.15rem; }
@media (max-width: 64rem) { .home-gates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 52rem) { .home-tools, .home-reads { grid-template-columns: minmax(0, 1fr); } .tcard, .rcard { grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; } .tcard .pic, .rcard .pic { grid-row: span 4; margin: 0; } }
@media (max-width: 40rem) { .home-gates { grid-template-columns: minmax(0, 1fr); } .home-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- v2: takeoff hero ---------- */
.takeoff { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(34rem, 78vh, 52rem); display: flex; align-items: flex-start;
  padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) 0; border-top: 0 !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--plum) 70%, #000) 0%, var(--plum) 45%, var(--plum-3) 86%, var(--plum-2) 100%); }
.takeoff + .gate { border-top: 0 !important; padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.scene { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; z-index: -1; }
[dir="rtl"] .scene { transform: scaleX(-1); }
.takeoff-copy { position: relative; display: grid; gap: .9rem; align-content: start; }
.takeoff h1 { max-width: 12ch; font-size: clamp(3rem, 1.6rem + 5.6vw, 6.2rem); line-height: .9; margin: 0; }
[dir="rtl"] .takeoff h1 { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.4rem); line-height: 1.3; max-width: 14ch; }
.takeoff .dep { text-align: start; margin: .4rem 0 0; font-size: .95rem; }
.takeoff .dep b { display: inline; font-size: 1.05rem; margin-inline: .4rem; }
.takeoff .gate-what { margin: 0; text-shadow: 0 1px 12px var(--plum); }
/* scene parts */
.star { fill: var(--text); opacity: .55; }
.star.tw { animation: twinkle 3.2s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .2; } to { opacity: .9; } }
.dest-arc { stroke: var(--lilac); stroke-width: 7; stroke-linecap: round; }
.dest-line { stroke: var(--text); stroke-width: 5; stroke-linecap: round; opacity: .85; }
.dest-sun { fill: var(--tang); }
.dest-glow { opacity: 1; }
.horizon { stroke: var(--lilac); stroke-width: 1; opacity: .25; }
.rw { fill: color-mix(in srgb, var(--plum) 60%, #000); }
.rw-dash rect { fill: var(--text); opacity: .35; }
.rl { fill: var(--tang-2); filter: drop-shadow(0 0 6px var(--tang)); }
.flight { stroke: none; }
.trail { stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .9; }
/* review switch (v2 only) */
.review { position: absolute; z-index: 3; inset-inline-end: 1rem; bottom: 1rem; display: flex; gap: .35rem; align-items: center; padding: .35rem .45rem; border-radius: 999px;
  background: rgb(0 0 0 / .45); backdrop-filter: blur(6px); font: 600 .78rem/1 system-ui, sans-serif; color: #fff; }
.review span { padding-inline: .4rem; opacity: .75; }
.review button { font: inherit; color: #fff; background: transparent; border: 1px solid rgb(255 255 255 / .35); border-radius: 999px; padding: .4rem .7rem; cursor: pointer; }
.review button[aria-pressed="true"] { background: var(--tang); border-color: var(--tang); color: var(--t-ink); }
@media (max-width: 40rem) {
  .takeoff { min-height: clamp(30rem, 82vh, 40rem); }
  .scene { height: 100%; }
  .review { inset-inline: 1rem; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .star.tw { animation: none; } }

/* ---------- Solarex Air: detailed airliner in the takeoff hero ---------- */
.pl-fuse { fill: url(#sxa-fuse); }
.pl-belly { fill: url(#sxa-belly); }
.pl-stripe { stroke: var(--tang); stroke-width: 2.2; }
.pl-fin { fill: url(#sxa-fin); }
.pl-farwing, .pl-farstab { fill: #8F88A3; }
.pl-stab, .pl-wing { fill: url(#sxa-wing); }
.pl-flap { fill: #A69FB8; }
.pl-winglet { fill: var(--tang); }
.pl-pylon { fill: #C9C3D6; }
.pl-wins rect { fill: #2B2447; }
.pl-door { fill: none; stroke: #B8B1C8; stroke-width: 1; }
.pl-glass { fill: url(#sxa-glass); }
.pl-cone { fill: #C9C3D6; }
.pl-titles text { font-family: var(--f-display); font-weight: 800; font-size: 12.5px; letter-spacing: 1.8px; fill: var(--plum-3); }
.pl-titles .air { fill: var(--tang-text); }
.nacelle { fill: url(#sxa-eng); } .exhaust { fill: #6E6782; } .inlet { fill: #2A2340; stroke: #E9E6F0; stroke-width: 2; } .eng-line { stroke: #B9B2C8; stroke-width: 1; }
.pl-gear .strut { fill: #9C95AE; }
.tyre { fill: #17131F; } .hub { fill: #B9B2C8; } .spokes line { stroke: #4C4560; stroke-width: 1.4; }
.pl-gear { transform-box: fill-box; transform-origin: 50% 0%; }
.nav-red { fill: #FF3B47; filter: drop-shadow(0 0 3px #FF3B47); }
.land-light { fill: #FFF6DA; filter: drop-shadow(0 0 4px #FFF6DA); }
.beacon { fill: #FF3B47; opacity: .15; animation: sxa-beacon 1.1s steps(1) infinite; }
.beacon + .beacon { animation-delay: .55s; }
.strobe { fill: #FFFFFF; opacity: 0; animation: sxa-strobe 1.3s linear infinite; }
.strobe.tail { animation-delay: .1s; }
@keyframes sxa-beacon { 0%, 100% { opacity: .15; } 0.1%, 18% { opacity: 1; filter: drop-shadow(0 0 5px #FF3B47); } }
@keyframes sxa-strobe { 0%, 6%, 12%, 100% { opacity: 0; } 2%, 4%, 8%, 10% { opacity: 1; filter: drop-shadow(0 0 6px #fff); } }
.pl-beam { opacity: 0; }
.pl-shadow { opacity: 0; }
/* Arabic: the scene is mirrored, so titles and the fin logo are flipped back to stay readable */
[dir="rtl"] .pl-titles, [dir="rtl"] .pl-finlogo .flip { transform-box: fill-box; transform-origin: center; transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) { .beacon, .strobe { animation: none; } .beacon { opacity: 1; } }
/* Without JavaScript (or with reduced motion) the plane is shown in the climb: gear up */
.pl-gear { transform: scaleY(0); opacity: 0; }
.pl { transition: none; }
.takeoff.cruise .pl { animation: sxa-drift 5s ease-in-out infinite alternate; }
@keyframes sxa-drift { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-6px) rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) { .takeoff.cruise .pl { animation: none; } }
