@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=IBM+Plex+Serif:ital,wght@1,300&display=swap');

:root {
  --ink: #17211F;
  --paper: #F4F2EC;
  --copper: #A96243;
  --limestone: #D9D3C7;
  --teal: #2D6E67;
  --graphite: #626865;
  --line: rgba(23, 33, 31, .2);
  --line-light: rgba(244, 242, 236, .2);
  --sans: "IBM Plex Sans", "IBM Plex Sans Arabic", Arial, sans-serif;
  --serif: "IBM Plex Serif", Georgia, serif;
  --mono: "IBM Plex Mono", monospace;
  --max: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4.75rem);
  --section: clamp(5rem, 10vw, 10rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
html[dir="rtl"] body { font-family: "IBM Plex Sans Arabic", var(--sans); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { color: var(--paper); background: var(--copper); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 1000; top: .75rem; left: .75rem; padding: .7rem 1rem; transform: translateY(-180%); background: var(--paper); color: var(--ink); }
.skip-link:focus { transform: none; }

.container { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow, .technical, .version, .field-note {
  font-family: var(--mono);
  font-size: .68rem;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow { display: flex; gap: .65rem; align-items: center; margin: 0 0 1.5rem; color: var(--graphite); }
.eyebrow::before { width: 1.65rem; height: 1px; content: ""; background: currentColor; }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--limestone); }
.display { max-width: 14ch; margin: 0; font-size: clamp(3.25rem, 8.5vw, 8.5rem); font-weight: 300; line-height: .92; letter-spacing: -.055em; }
.display em, .section-title em { font-family: var(--serif); font-weight: 300; }
.section-title { max-width: 13ch; margin: 0; font-size: clamp(2.5rem, 5.5vw, 5.75rem); font-weight: 300; line-height: 1; letter-spacing: -.045em; }
.section-title.wide { max-width: 18ch; }
.lead { max-width: 43rem; margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.6rem); font-weight: 300; line-height: 1.48; }
.body-large { max-width: 45rem; font-size: clamp(1.08rem, 1.4vw, 1.3rem); font-weight: 300; }
.muted { color: var(--graphite); }
.on-dark { color: var(--paper); background: var(--ink); }
.copper { color: var(--copper); }
.teal { color: var(--teal); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; color: var(--paper); transition: color .3s, background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, .site-header.light-context { color: var(--ink); background: rgba(244, 242, 236, .97); border-color: var(--line); }
.header-inner { display: grid; min-height: 5.5rem; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand-signature { justify-self: start; text-decoration: none; font-weight: 500; font-size: 1.1rem; letter-spacing: .12em; }
.brand-signature small { display: block; margin-top: .12rem; font-family: var(--mono); font-size: .43rem; font-weight: 400; letter-spacing: .09em; opacity: .62; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2.1rem); }
.desktop-nav a { position: relative; text-decoration: none; font-size: .78rem; }
.desktop-nav a::after { position: absolute; right: 0; bottom: -.65rem; left: 0; height: 1px; content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s; background: var(--copper); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; justify-self: end; align-items: center; gap: 1rem; }
.language-select { border: 0; color: inherit; background: transparent; font-family: var(--mono); font-size: .65rem; text-transform: uppercase; }
.language-select option { color: var(--ink); }
.menu-toggle { display: none; width: 2.7rem; height: 2.7rem; padding: .7rem; border: 1px solid currentColor; background: transparent; }
.menu-toggle span { display: block; height: 1px; margin: .3rem 0; background: currentColor; }
.mobile-panel { position: fixed; z-index: 90; inset: 0; display: none; padding: 7.5rem var(--gutter) 2rem; color: var(--paper); background: var(--ink); }
.mobile-panel.is-open { display: flex; flex-direction: column; }
.mobile-panel nav { display: grid; }
.mobile-panel nav a { padding: .55rem 0; border-bottom: 1px solid var(--line-light); text-decoration: none; font-size: clamp(1.8rem, 8vw, 3rem); font-weight: 300; }
.mobile-panel .mobile-meta { margin-top: auto; color: var(--limestone); }

.btn { display: inline-flex; min-height: 3.25rem; padding: .8rem 1.2rem; align-items: center; justify-content: space-between; gap: 2rem; border: 1px solid currentColor; text-decoration: none; font-family: var(--mono); font-size: .67rem; letter-spacing: .06em; text-transform: uppercase; transition: color .25s, background .25s, border-color .25s; cursor: pointer; }
.btn::after { content: "↗"; font-size: 1rem; }
.btn:hover { color: var(--paper); border-color: var(--copper); background: var(--copper); }
.btn.solid { color: var(--paper); border-color: var(--copper); background: var(--copper); }
.btn.solid:hover { color: var(--ink); border-color: var(--paper); background: var(--paper); }
.btn.compact { min-height: 2.55rem; padding: .55rem .85rem; gap: 1rem; }

.hero { position: relative; display: flex; min-height: 100svh; padding-top: 9rem; padding-bottom: 3rem; align-items: flex-end; overflow: hidden; color: var(--paper); background: var(--ink); }
.hero-grid { position: absolute; inset: 0; opacity: .35; pointer-events: none; background-image: linear-gradient(90deg, transparent calc(25% - 1px), rgba(244,242,236,.12) 25%, transparent calc(25% + 1px)), linear-gradient(90deg, transparent calc(75% - 1px), rgba(244,242,236,.12) 75%, transparent calc(75% + 1px)); }
.hero-grid::before { position: absolute; top: 21%; right: 8%; width: min(31vw, 30rem); aspect-ratio: 1; content: ""; border: 1px solid rgba(169, 98, 67, .8); transform: rotate(45deg); }
.hero-grid::after { position: absolute; top: 0; right: calc(8% + min(15.5vw, 15rem)); height: 100%; width: 1px; content: ""; background: rgba(169, 98, 67, .35); }
.hero-content { position: relative; z-index: 1; width: 100%; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(16rem, .45fr); gap: 5vw; align-items: end; }
.hero .display { max-width: 11ch; }
.hero-side { max-width: 23rem; padding-bottom: .5rem; }
.hero-side p { color: var(--limestone); font-size: 1.05rem; font-weight: 300; }
.hero-meta { display: flex; margin-top: clamp(3.5rem, 9vh, 7rem); padding-top: 1.25rem; justify-content: space-between; border-top: 1px solid var(--line-light); color: var(--limestone); }

.page-hero { min-height: 73svh; padding: 11rem 0 5rem; display: flex; align-items: flex-end; color: var(--paper); background: var(--ink); }
.page-hero .lead { margin-top: 2.5rem; color: var(--limestone); }
.page-hero-grid { display: grid; grid-template-columns: 1fr minmax(16rem, .42fr); gap: 5vw; align-items: end; }
.page-index { justify-self: end; align-self: start; width: min(100%, 19rem); padding-top: 1rem; border-top: 1px solid var(--copper); }
.page-index strong { display: block; margin-bottom: 1rem; font-size: 3.2rem; font-weight: 300; letter-spacing: -.04em; }

.section { padding-block: var(--section); }
.section-lined { border-top: 1px solid var(--line); }
.section-head { display: grid; margin-bottom: clamp(3rem, 7vw, 7rem); grid-template-columns: .55fr 1.45fr; gap: 4vw; }
.section-head .section-title { grid-column: 2; }
.section-head .eyebrow { grid-column: 1; grid-row: 1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 9rem); }
.split.asymmetric { grid-template-columns: .75fr 1.25fr; }
.metric-row { display: grid; border-top: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); }
.metric { min-height: 12rem; padding: 1.4rem 1.5rem 2rem 0; border-right: 1px solid var(--line); }
.metric + .metric { padding-left: 1.5rem; }
.metric:last-child { border-right: 0; }
.metric strong { display: block; margin-top: 2.8rem; font-size: clamp(2.5rem, 5vw, 5.2rem); font-weight: 300; line-height: 1; letter-spacing: -.04em; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar { position: relative; min-height: 23rem; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.pillar::before { position: absolute; right: 1.5rem; bottom: 1.5rem; width: 3rem; height: 3rem; content: ""; border-right: 1px solid var(--copper); border-bottom: 1px solid var(--copper); transition: width .4s var(--ease), height .4s var(--ease); }
.pillar:hover::before { width: calc(100% - 3rem); height: calc(100% - 3rem); }
.pillar h3 { margin: 5rem 0 1rem; font-size: clamp(1.65rem, 2.5vw, 2.5rem); font-weight: 300; }
.pillar p { max-width: 26rem; color: var(--graphite); }
.pillar .technical { color: var(--copper); }

.journey { counter-reset: journey; border-top: 1px solid var(--line-light); }
.journey-step { counter-increment: journey; display: grid; min-height: 10rem; padding: 1.5rem 0; grid-template-columns: .35fr .8fr 1.2fr; gap: 2rem; align-items: start; border-bottom: 1px solid var(--line-light); }
.journey-step::before { content: "0" counter(journey); color: var(--copper); font-family: var(--mono); font-size: .7rem; }
.journey-step h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 3.2rem); font-weight: 300; letter-spacing: -.03em; }
.journey-step p { max-width: 35rem; margin: .35rem 0 0; color: var(--limestone); }

.protocol-list { border-top: 1px solid var(--line); }
.protocol-item { display: grid; padding: 2rem 0; grid-template-columns: .25fr .65fr 1.1fr; gap: 2rem; border-bottom: 1px solid var(--line); }
.protocol-item .status-mark { width: .65rem; height: .65rem; margin-top: .55rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(45,110,103,.12); }
.protocol-item h3 { margin: 0; font-size: 1.45rem; font-weight: 400; }
.protocol-item p { max-width: 40rem; margin: 0; color: var(--graphite); }

.quote-section { padding-block: clamp(5rem, 12vw, 12rem); text-align: center; }
.quote-section blockquote { max-width: 22ch; margin: 0 auto; font-family: var(--serif); font-size: clamp(2.2rem, 5.5vw, 5.6rem); font-weight: 300; line-height: 1.08; }
.quote-section cite { display: block; margin-top: 2rem; color: var(--limestone); font-family: var(--mono); font-size: .68rem; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }

.band { padding-block: clamp(4rem, 8vw, 7rem); color: var(--paper); background: var(--copper); }
.band-inner { display: grid; grid-template-columns: 1.4fr .6fr; gap: 4rem; align-items: end; }
.band h2 { max-width: 15ch; margin: 0; font-size: clamp(2.3rem, 5vw, 5rem); font-weight: 300; line-height: 1; letter-spacing: -.045em; }
.band .btn { justify-self: end; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { min-height: 22rem; padding: clamp(1.5rem, 3vw, 3rem); background: var(--paper); }
.card h3 { margin: 4rem 0 1rem; font-size: clamp(1.7rem, 3vw, 3rem); font-weight: 300; line-height: 1.05; }
.card p { max-width: 34rem; color: var(--graphite); }

.empty-state { display: grid; min-height: 28rem; padding: clamp(2rem, 5vw, 5rem); place-items: center; border: 1px solid var(--line); text-align: center; }
.empty-state-inner { max-width: 42rem; }
.empty-state .technical { color: var(--copper); }
.empty-state h2 { margin: 1.5rem 0; font-size: clamp(2.2rem, 5vw, 4.7rem); font-weight: 300; letter-spacing: -.04em; }

.insight-list article { display: grid; padding: 2rem 0; grid-template-columns: .35fr 1fr .25fr; gap: 2rem; border-top: 1px solid var(--line); }
.insight-list article:last-child { border-bottom: 1px solid var(--line); }
.insight-list h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.6rem); font-weight: 300; }
.insight-list p { margin: 0; color: var(--graphite); }

.assessment-wrap { padding: 10rem 0 6rem; min-height: 100svh; }
.assessment-layout { display: grid; grid-template-columns: .52fr 1.48fr; gap: clamp(3rem, 8vw, 8rem); }
.assessment-aside { position: sticky; top: 8rem; height: fit-content; }
.progress { display: flex; gap: .35rem; margin: 2.25rem 0; }
.progress span { height: 3px; flex: 1; background: var(--limestone); }
.progress span.active, .progress span.complete { background: var(--copper); }
.step-label { color: var(--graphite); }
.assessment-form fieldset { padding: 0; border: 0; }
.assessment-form legend { margin-bottom: 2.5rem; font-size: clamp(2rem, 4vw, 4rem); font-weight: 300; line-height: 1.05; letter-spacing: -.04em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { display: grid; gap: .55rem; }
.field.full { grid-column: 1 / -1; }
.field label, .group-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 3.5rem; padding: .8rem 0; border: 0; border-bottom: 1px solid var(--graphite); border-radius: 0; color: var(--ink); background: transparent; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--copper); }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; }
.choice { position: relative; display: flex; min-height: 4.5rem; padding: 1rem; align-items: center; gap: .75rem; border: 1px solid var(--line); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--teal); background: rgba(45,110,103,.06); }
.choice input { width: 1rem; height: 1rem; accent-color: var(--teal); }
.consent { display: flex; gap: .8rem; align-items: flex-start; }
.consent input { margin-top: .35rem; accent-color: var(--teal); }
.form-actions { display: flex; margin-top: 3rem; justify-content: space-between; }
.form-error { margin-top: 1rem; color: #8e372e; }
.form-status { display: none; min-height: 25rem; padding: 3rem; place-items: center; border: 1px solid var(--line); text-align: center; }
.form-status.is-visible { display: grid; }
.form-status .status-mark { width: 1rem; height: 1rem; margin: 0 auto 2rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 8px rgba(45,110,103,.12); }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 8vw, 8rem); }
.contact-block { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-block a { font-size: clamp(1.5rem, 3vw, 3rem); font-weight: 300; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.office-list { margin-top: 4rem; }
.office { display: grid; padding: 1.25rem 0; grid-template-columns: .5fr 1fr; border-top: 1px solid var(--line); }

.site-footer { padding: clamp(4rem, 8vw, 7rem) 0 2rem; color: var(--paper); background: var(--ink); }
.footer-top { display: grid; padding-bottom: 5rem; grid-template-columns: 1.25fr .75fr; gap: 5rem; }
.footer-statement { max-width: 12ch; margin: 0; font-size: clamp(2.5rem, 5vw, 5.3rem); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-links nav { display: grid; align-content: start; gap: .65rem; }
.footer-links a { color: var(--limestone); text-decoration: none; }
.footer-links a:hover { color: var(--copper); }
.footer-bottom { display: flex; padding-top: 1.25rem; justify-content: space-between; border-top: 1px solid var(--line-light); color: var(--limestone); }

.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .desktop-nav, .header-actions .btn { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-actions { display: flex; }
  .menu-toggle { display: block; }
  .hero-copy, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-side { margin-top: 2.5rem; }
  .page-index { display: none; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .assessment-layout { grid-template-columns: 1fr; }
  .assessment-aside { position: static; }
}

@media (max-width: 700px) {
  :root { --section: 4.75rem; }
  .header-inner { min-height: 4.6rem; }
  .brand-signature small { display: none; }
  .hero { padding-top: 7rem; }
  .hero-grid::before { top: 17%; right: -20%; width: 75vw; }
  .hero-meta { gap: 1.5rem; flex-direction: column; }
  .section-head { display: block; }
  .section-head .section-title { margin-top: 2rem; }
  .split, .split.asymmetric, .band-inner, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr; }
  .metric, .metric + .metric { min-height: 9rem; padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillars, .cards { grid-template-columns: 1fr; }
  .pillar { min-height: 18rem; }
  .journey-step, .protocol-item { grid-template-columns: .18fr 1fr; }
  .journey-step p, .protocol-item p { grid-column: 2; }
  .band .btn { justify-self: start; }
  .insight-list article { grid-template-columns: 1fr; gap: .6rem; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .form-actions { gap: 1rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { gap: 1rem; flex-direction: column; }
}

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