/* ---------- fonts (self-hosted Vazirmatn, variable 400–800) ---------- */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/vazirmatn-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/vazirmatn-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/vazirmatn-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  --blue: #0a4ea8;
  --blue-dark: #073a7d;
  --sky: #4bb3e8;
  --purple: #7b1fa8;
  --ink: #12212f;
  --ink-2: #1d2d3e;
  --text: #3a4b5c;
  --muted: #5b6b7b;
  --muted-2: #4a5b6b;
  --line: #e3e5e8;
  --line-2: #d7dae0;
  --bg-head: #f5f6f7;
  --bg-soft: #f2f3f5;
  --bg-foot: #e9eaec;
  --bg-tint: #e8f2fd;
  --gutter: clamp(16px, 2.5vw, 40px);
  --wrap: 1800px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: #fff;
  color: var(--ink);
  line-height: 1.6;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
/* a link inside running text must not rely on colour alone (WCAG 1.4.1) */
:where(p, li, dd, td, .v, .callout, .lede, .form-note, .hint, .acct-switch, .search-meta) > a:not(.btn):not(.more):not(.chip),
:where(p, li, dd, td, .v, .callout, .lede, .form-note, .hint, .acct-switch) a:not(.btn):not(.more):not(.chip):not([class]) {
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
button { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.pretty { text-wrap: pretty; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- link with arrow ---------- */
.more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 500;
}
.more svg { width: 14px; height: 14px; flex: none; transform: scaleX(-1); transition: transform .2s; }
.more:hover svg { transform: scaleX(-1) translateX(-3px); }
.more.sm { font-size: 15.5px; }
.more.sm svg { width: 13px; height: 13px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 4px;
  font-size: 15.5px; font-weight: 700; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s;
}
.btn-outline { border: 1px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-solid { background: var(--blue); color: #fff; padding: 12px 22px; font-size: 15px; }
.btn-solid:hover { background: var(--blue-dark); color: #fff; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo picture { display: block; line-height: 0; }
.logo-img { height: 38px; width: auto; display: block; }
.logo-word { font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -.2px; white-space: nowrap; }
.logo:hover .logo-word { color: var(--blue); }
.logo.sm .logo-img { height: 30px; }
.logo.sm .logo-word { font-size: 14.5px; }
.logo-badge {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 12px;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .3px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%);
}
.logo-tri {
  width: 0; height: 0; border-style: solid;
  border-width: 13px 0 0 20px;
  border-color: transparent transparent transparent var(--sky);
  margin-inline-start: -11px; transform: translateY(9px);
}
.logo.sm .logo-badge { height: 28px; padding: 0 10px; font-size: 13px; clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%); }
.logo.sm .logo-tri { border-width: 11px 0 0 17px; margin-inline-start: -9px; transform: translateY(8px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-head); border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  min-height: 66px; padding-block: 10px;
  display: flex; align-items: center; gap: 10px clamp(18px, 2vw, 36px);
}
.main-nav {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 6px clamp(14px, 1.6vw, 26px); flex: 1 1 240px; min-width: 0;
}
.main-nav a, .header-tools > a:not(.icon-btn) {
  color: var(--ink-2); font-size: 15.5px; font-weight: 500; padding: 6px 0; white-space: nowrap;
}
.main-nav a:hover, .header-tools > a:not(.icon-btn):hover { color: var(--blue); }
.header-tools {
  display: flex; align-items: center; gap: 8px clamp(12px, 1.4vw, 20px);
  margin-inline-start: auto;
}
.icon-btn {
  all: unset; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; width: 32px; height: 32px; padding: 0; color: var(--ink-2); border-radius: 50%;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: rgba(10, 78, 168, .08); color: var(--blue); }
a.icon-btn.account:hover, a.icon-btn.account.in { background: var(--blue); color: #fff; }
.icon-btn.account { position: relative; border: 1px solid var(--blue); color: var(--blue); }
.icon-btn.account svg { width: 17px; height: 17px; }
.icon-btn.account .dot {
  position: absolute; top: -1px; left: -1px; width: 8px; height: 8px; border-radius: 50%;
  background: #e8422b; border: 1.5px solid var(--bg-head);
}
.lang-btn {
  all: unset; display: flex; align-items: center; gap: 6px; min-height: 32px; padding-inline: 4px; cursor: default;
  color: var(--ink-2); font-size: 14px; font-weight: 600;
}
.lang-btn .flag {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 18px; border-radius: 2px;
  background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .5px;
}
.menu-btn { display: none; }

/* ---------- sub nav ---------- */
.sub-nav { background: #fff; border-bottom: 1px solid var(--line); }
.sub-nav .wrap { padding-top: 12px; }
.crumbs { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; }
.crumbs svg { width: 14px; height: 14px; }
.crumbs a { color: var(--muted); font-size: 13.5px; padding-block: 6px; display: inline-block; }
.crumbs a:hover { color: var(--blue); }
.sub-row { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding-top: 6px; }
.sub-row .sub-title { padding: 6px 0 14px; font-size: 20px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.sub-row .sep { width: 1px; height: 26px; background: var(--line-2); margin-bottom: 16px; }
.tabs { display: flex; align-items: flex-end; gap: 26px; flex-wrap: wrap; }
.tabs a {
  color: var(--ink-2); font-size: 15.5px; padding: 6px 2px 11px;
  border-bottom: 3px solid transparent; white-space: nowrap; transition: color .15s;
}
.tabs a:hover { color: var(--blue); }
.tabs a.active { color: var(--blue); font-weight: 600; border-bottom-color: var(--blue); }

/* ---------- hero ---------- */
.hero { background: var(--blue); color: #fff; }
.hero .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(24px, 3vw, 48px); align-items: center; min-height: 440px;
}
.hero-text { padding: 64px 0; }
.hero h1 {
  margin-bottom: 24px; font-size: clamp(34px, 4vw, 58px); line-height: 1.18;
  font-weight: 800; letter-spacing: -.5px;
}
.hero p { font-size: clamp(16px, 1.25vw, 21px); line-height: 1.75; max-width: 640px; }
.hero-media { position: relative; align-self: stretch; min-height: 360px; padding: 44px 0; }
.hero-clip {
  position: relative; width: 100%; height: 100%; min-height: 340px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 42% 100%);
}

.ph.photo { background: #e9ecef; }
.ph.photo img { object-fit: cover; }

/* ---------- image placeholder ---------- */
.ph {
  position: absolute; inset: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #5b6b7b; font-size: 14px; padding: 16px;
  background:
    linear-gradient(135deg, rgba(10,78,168,.10), rgba(75,179,232,.18)),
    repeating-linear-gradient(45deg, rgba(10,78,168,.035) 0 12px, transparent 12px 24px),
    #edf3fa;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph .ph-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 80%; }
.ph svg { width: 34px; height: 34px; opacity: .55; }
.ph.dark { color: rgba(255,255,255,.85); background: linear-gradient(135deg, #0c5cc3, #4bb3e8); }
.ph.dark svg { opacity: .8; }
.ph.dark::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 14px, transparent 14px 28px);
}
.media { position: relative; width: 100%; overflow: hidden; }
.media.r10 { border-radius: 10px; }
.media.r8 { border-radius: 8px; }
.media.ar-16-10 { aspect-ratio: 16 / 10; }
.media.ar-16-9 { aspect-ratio: 16 / 9; }
.media.ar-4-3 { aspect-ratio: 4 / 3; }
.media.ar-3-2 { aspect-ratio: 3 / 2; }
.play {
  position: absolute; inset: auto 16px 16px auto; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(18, 33, 47, .7); color: #fff;
}
.play svg { width: 21px; height: 21px; margin-inline-start: 2px; }

/* ---------- sections ---------- */
.section { background: #fff; }
.section .wrap { padding-block: clamp(32px, 4vw, 64px); }
.section h2.title {
  font-size: clamp(28px, 3vw, 44px); font-weight: 800; color: var(--ink); letter-spacing: -.6px;
  margin-bottom: clamp(28px, 3vw, 48px);
}

/* intro */
.intro .wrap { padding-block: clamp(40px, 5vw, 84px); }
.intro-lead { max-width: 1080px; }
.intro-lead h2 {
  margin-bottom: 22px; font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; letter-spacing: -.4px;
}
.intro-lead p { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.85; color: var(--text); max-width: 920px; }
.tabs-2 {
  margin-top: 44px; border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-end; gap: clamp(18px, 2.4vw, 40px); flex-wrap: wrap;
}
.tabs-2 a {
  color: var(--ink); font-size: 16px; font-weight: 700; padding: 0 2px 12px;
  border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tabs-2 a:hover { color: var(--blue); }
.tabs-2 a.active { color: var(--blue); border-bottom-color: var(--blue); }
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(32px, 4vw, 64px) clamp(24px, 3vw, 48px);
  padding: clamp(40px, 4.5vw, 72px) 0 clamp(28px, 3vw, 48px); max-width: 1200px;
}
.stat { text-align: center; }
.stat .num {
  font-size: clamp(42px, 4.4vw, 62px); font-weight: 800; color: var(--purple);
  line-height: 1.1; letter-spacing: -1px;
}
.stat .num small { font-size: .42em; font-weight: 700; }
.stat p { margin-top: 14px; font-size: 15.5px; line-height: 1.7; color: var(--text); }

/* card grids */
.cards {
  display: grid; gap: clamp(28px, 3.5vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  max-width: 1500px;
}
.cards.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(24px, 2.6vw, 40px); max-width: 1600px; }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); max-width: 1560px; }
.card { display: flex; flex-direction: column; gap: 18px; }
.card h3 { font-size: 19.5px; font-weight: 700; color: var(--ink); }
.card p { font-size: 16px; line-height: 1.8; color: var(--text); }
.card .links { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.cards.four .card { gap: 14px; }
.cards.four .card h3 { font-size: 17.5px; line-height: 1.5; }
.cards.four .card p { font-size: 15.5px; }
.cards.four .card .more { margin-top: auto; }
.cards.two .card { gap: 16px; }
.cards.two .card h3 { font-size: 17.5px; }
.cards.two .card p { font-size: 15.5px; }
.cards.two .card .more { margin-top: auto; }

/* autonomous */
.ae-lead { max-width: 920px; }
.ae-lead h2 { margin-bottom: 18px; font-size: clamp(24px, 2.4vw, 36px); font-weight: 800; letter-spacing: -.4px; }
.ae-lead p, .lead-p { font-size: 16.5px; line-height: 1.85; color: var(--text); }
.ae-grid {
  margin-top: clamp(28px, 3vw, 44px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(28px, 3.5vw, 56px); align-items: start; max-width: 1500px;
}
.ae-list { display: flex; flex-direction: column; gap: 22px; padding-top: 6px; }
.ae-list h3 { margin-bottom: 8px; font-size: 16.5px; font-weight: 700; color: var(--ink); }
.ae-list p { font-size: 16px; line-height: 1.8; color: var(--text); }

/* strategy */
.strategy .wrap { padding-block: clamp(40px, 5vw, 88px) clamp(48px, 6vw, 96px); }
.strategy h2.title { margin-bottom: 18px; }
.strategy .lead-p { margin-bottom: clamp(28px, 3vw, 48px); max-width: 860px; }

/* innovation */
.innovation h2.title { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.5px; margin-bottom: clamp(24px, 2.6vw, 40px); }
.academy {
  margin-top: clamp(32px, 3.5vw, 56px); background: var(--bg-tint); border-radius: 6px;
  padding: clamp(22px, 2.4vw, 34px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px; max-width: 1560px;
}
.academy > div { flex: 1 1 380px; min-width: 0; }
.academy h3 { margin-bottom: 10px; font-size: 20px; font-weight: 800; color: var(--ink); }
.academy p { font-size: 15.5px; line-height: 1.8; color: var(--text); max-width: 900px; }

/* side-by-side rows (partners, culture) */
.row-media {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(28px, 3.5vw, 56px); align-items: center; max-width: 1560px;
}
.row-media .txt { display: flex; flex-direction: column; gap: 16px; }
.row-media p { font-size: 16px; line-height: 1.85; color: var(--text); }
.partners .wrap { padding-block: clamp(40px, 5vw, 80px) clamp(48px, 6vw, 96px); }
.partners h2.title, .culture h2.title { font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -.5px; margin-bottom: clamp(24px, 2.6vw, 40px); }
.culture .wrap { padding-block: clamp(24px, 3vw, 48px) clamp(48px, 5vw, 88px); }
.story .wrap { padding-block: clamp(32px, 4vw, 72px) clamp(48px, 6vw, 96px); }

/* ---------- feedback ---------- */
.feedback { background: var(--bg-soft); padding: 26px var(--gutter); }
.feedback .inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px;
}
.feedback span { font-size: 19px; font-weight: 700; color: var(--ink); text-align: center; }
.feedback .btns { display: flex; gap: 10px; }
.feedback button {
  all: unset; cursor: pointer; display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 4px; background: var(--blue); color: #fff;
  transition: background .18s;
}
.feedback button:hover { background: var(--blue-dark); }
.feedback button.done { background: #1c9d5a; }
.feedback button svg { width: 19px; height: 19px; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-foot); color: var(--ink); }
.foot-grid {
  padding-block: clamp(36px, 4vw, 64px) 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(28px, 3vw, 48px);
}
.foot-contact { display: flex; flex-direction: column; gap: 22px; }
.foot-contact .item { display: flex; align-items: center; gap: 12px; }
.foot-contact .item svg { width: 18px; height: 18px; flex: none; }
.foot-contact .lbl { font-size: 13.5px; color: var(--muted-2); }
.foot-contact .num { font-size: 16.5px; font-weight: 700; direction: ltr; unicode-bidi: isolate; text-align: right; color: var(--ink); }
.foot-contact .num a { color: inherit; }
.foot-contact .num a:hover { color: var(--blue); }
.foot-contact .note { font-size: 12.5px; color: var(--muted-2); margin-top: 6px; }
.foot-contact .note a { font-size: 12.5px; text-decoration: underline; padding-block: 6px; display: inline-block; }
.foot-contact .item a { font-size: 15px; }
.site-footer h3.h4 { margin-bottom: 18px; font-size: 15px; font-weight: 700; }
.foot-links { display: flex; flex-direction: column; gap: 3px; }
.foot-links a { font-size: 14.5px; padding-block: 4px; display: inline-block; }
.foot-bottom { padding-bottom: 40px; }
.foot-bottom p { margin-bottom: 18px; font-size: 13px; color: var(--muted-2); }
.social { display: flex; gap: 10px; }
.social a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 4px; background: var(--ink); color: #fff;
  transition: background .18s;
}
.social a:hover { background: var(--blue); color: #fff; }
.social svg { width: 15px; height: 15px; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .menu-btn {
    display: flex; order: -1; margin-inline-end: 4px;
  }
  .main-nav {
    display: none; flex-basis: 100%; flex-direction: column; align-items: stretch;
    gap: 0; padding: 6px 0 10px; border-top: 1px solid var(--line); margin-top: 6px;
  }
  .main-nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .site-header .wrap { flex-wrap: wrap; }
  .site-header.open .main-nav { display: flex; order: 10; }
  .header-tools > a { display: none; }
  .hero-text { padding: 44px 0 8px; }
  .hero-media { min-height: 240px; padding: 0 0 40px; }
  .hero-clip { min-height: 240px; clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%); }
  .sub-row { gap: 16px; }
  .sub-row .sub-title { padding-bottom: 8px; }
  .sub-row .sep { display: none; }
  .tabs { gap: 18px; overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 0; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs-2 { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .tabs-2::-webkit-scrollbar { display: none; }
}
@media (max-width: 480px) {
  .stats { gap: 30px 20px; }
  .feedback span { font-size: 17px; }
}

/* ================================================================
   INTERIOR PAGES — component library
   Added for the multi-page build. Home page styles above are
   untouched. Every class below is namespaced and does not
   re-declare any selector used by the home page.
   ================================================================ */

/* ---------- interior page hero (compact band, not the 440px home hero) ---------- */
.phero { background: var(--blue); color: #fff; }
.phero .wrap { padding-block: clamp(38px, 4.4vw, 76px); }
.phero .eyebrow { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.72); margin-bottom: 14px; }
.phero h1 {
  font-size: clamp(30px, 3.5vw, 50px); line-height: 1.2; font-weight: 800; letter-spacing: -.5px;
  max-width: 20ch;
}
.phero p { margin-top: 20px; font-size: clamp(16px, 1.15vw, 19.5px); line-height: 1.8; max-width: 62ch; }
.phero .phero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 64px); align-items: center;
}
.phero .phero-clip {
  position: relative; min-height: 300px; align-self: stretch;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 34% 100%);
}
.phero .btn-outline { border-color: #fff; color: #fff; margin-top: 28px; }
.phero .btn-outline:hover { background: #fff; color: var(--blue); }

/* light variant for articles, legal, careers */
.phero.light { background: var(--bg-tint); color: var(--ink); }
.phero.light .eyebrow { color: var(--blue); }
.phero.light p { color: var(--text); }

/* ---------- long-form prose (articles, legal, case studies) ---------- */
.prose { max-width: 72ch; color: var(--text); font-size: 17px; line-height: 1.95; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  margin-top: 2em; font-size: clamp(21px, 1.9vw, 27px); font-weight: 800;
  color: var(--ink); line-height: 1.4; letter-spacing: -.2px;
}
.prose h3 { margin-top: 1.7em; font-size: clamp(17.5px, 1.5vw, 20px); font-weight: 700; color: var(--ink); line-height: 1.5; }
.prose p { text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .55em; }
.prose li::marker { color: var(--blue); }
.prose blockquote {
  margin-inline: 0; padding: 18px 22px;
  border-inline-start: 3px solid var(--blue); background: var(--bg-tint);
  font-size: 17.5px; line-height: 1.85; color: var(--ink);
}
.prose blockquote p + p { margin-top: .8em; }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose hr { margin-block: 2.2em; border: 0; border-top: 1px solid var(--line); }
.prose code {
  font-family: ui-monospace, 'Cascadia Code', Menlo, monospace;
  font-size: .88em; background: var(--bg-soft); padding: 2px 6px; border-radius: 3px;
  direction: ltr; unicode-bidi: isolate;
}

/* ---------- split layout with sticky rail ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px); align-items: start; max-width: 1400px;
}
.split.wide { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.rail { position: sticky; top: 86px; }
.rail h3.h4 { margin-bottom: 14px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.rail-links { display: flex; flex-direction: column; border-inline-start: 2px solid var(--line); }
.rail-links a {
  padding: 9px 16px; font-size: 15px; color: var(--ink-2); line-height: 1.6;
  border-inline-start: 2px solid transparent; margin-inline-start: -2px;
}
.rail-links a:hover { color: var(--blue); }
.rail-links a.active { color: var(--blue); font-weight: 700; border-inline-start-color: var(--blue); }

/* ---------- definition rows (deliverables, specs, office details) ---------- */
.deflist { border-top: 1px solid var(--line); max-width: 1100px; }
.deflist .row {
  display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 8px clamp(20px, 3vw, 56px);
  padding-block: clamp(18px, 2vw, 26px); border-bottom: 1px solid var(--line);
}
.deflist dt, .deflist .k { font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.deflist dd, .deflist .v { margin: 0; font-size: 16px; line-height: 1.85; color: var(--text); text-wrap: pretty; }
.deflist .v ul { margin: 8px 0 0; padding-inline-start: 1.3em; }
.deflist .v li + li { margin-top: 6px; }
.deflist .v li::marker { color: var(--blue); }

/* ---------- numbered process (only where content is a real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 2px; max-width: 1500px; }
.steps .step { background: var(--bg-soft); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.steps .step .n {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; background: var(--blue); color: #fff;
  font-size: 15px; font-weight: 800;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%);
}
.steps .step h3 { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.steps .step p { font-size: 15.5px; line-height: 1.8; color: var(--text); text-wrap: pretty; }

/* ---------- dated timeline (history, events) ---------- */
.timeline { border-inline-start: 2px solid var(--line); max-width: 900px; }
.timeline .ev { position: relative; padding: 0 clamp(22px, 2.4vw, 34px) clamp(26px, 3vw, 40px); }
.timeline .ev::before {
  content: ""; position: absolute; inset-inline-start: -7px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--blue);
  border: 2px solid #fff; box-sizing: content-box;
}
.timeline .ev:last-child { padding-bottom: 0; }
.timeline .yr { font-size: 15px; font-weight: 800; color: var(--blue); letter-spacing: .2px; }
.timeline h3 { margin-top: 6px; font-size: 18px; font-weight: 700; color: var(--ink); }
.timeline p { margin-top: 8px; font-size: 15.5px; line-height: 1.85; color: var(--text); max-width: 62ch; text-wrap: pretty; }

/* ---------- accordion (FAQ, syllabus) — native details, no JS ---------- */
.acc { border-top: 1px solid var(--line); max-width: 1000px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  display: flex; align-items: flex-start; gap: 14px; cursor: pointer; list-style: none;
  padding-block: clamp(16px, 1.8vw, 22px);
  font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.6;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex: none; margin-inline-start: auto; margin-top: 8px;
  width: 10px; height: 10px;
  border-inline-end: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .2s;
}
.acc details[open] summary::after { transform: rotate(-135deg); }
.acc summary:hover { color: var(--blue); }
.acc .body { padding-bottom: clamp(18px, 2vw, 24px); font-size: 16px; line-height: 1.9; color: var(--text); max-width: 74ch; }
.acc .body > * + * { margin-top: .9em; }
.acc .body ul { padding-inline-start: 1.3em; }
.acc .body li + li { margin-top: .5em; }
.acc .body li::marker { color: var(--blue); }

/* ---------- data table ---------- */
.table-wrap { overflow-x: auto; max-width: 1500px; }
.dtable { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 640px; }
.dtable caption { text-align: start; font-size: 14px; color: var(--muted); padding-bottom: 12px; }
.dtable th, .dtable td { text-align: start; padding: 15px 16px; border-bottom: 1px solid var(--line); line-height: 1.7; vertical-align: top; }
.dtable thead th { background: var(--bg-soft); font-weight: 700; color: var(--ink); white-space: nowrap; border-bottom: 1px solid var(--line-2); }
.dtable tbody th { font-weight: 700; color: var(--ink); }
.dtable td { color: var(--text); }
.dtable tbody tr:hover { background: #fafbfc; }
.dtable .num-c { direction: ltr; unicode-bidi: isolate; text-align: start; white-space: nowrap; }

/* ---------- industry / topic tiles (clip motif, one stat each) ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(18px, 2vw, 28px); max-width: 1240px; }
.tile {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 2.4vw, 30px); background: #fff;
  border: 1px solid var(--line); border-radius: 6px;
  transition: border-color .18s;
}
.tile:hover { border-color: var(--blue); }
.tile .tag {
  align-self: flex-start; display: flex; align-items: center; height: 26px; padding: 0 11px;
  background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 9px 100%);
}
.tile h3 { font-size: 18.5px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.tile p { font-size: 15.5px; line-height: 1.8; color: var(--text); text-wrap: pretty; }
.tile .fig { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.tile .fig b { display: block; font-size: 26px; font-weight: 800; color: var(--purple); line-height: 1.3; letter-spacing: -.5px; }
.tile .fig span { font-size: 14px; color: var(--muted); }

/* ---------- people grid ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(24px, 3vw, 44px); max-width: 1100px; }
.person .media { border-radius: 6px; aspect-ratio: 1 / 1; margin-bottom: 16px; }
.person h3 { font-size: 17.5px; font-weight: 700; color: var(--ink); }
.person .role { margin-top: 4px; font-size: 14.5px; color: var(--blue); font-weight: 600; }
.person p { margin-top: 10px; font-size: 15px; line-height: 1.8; color: var(--text); text-wrap: pretty; }

/* ---------- listing rows (jobs, offices, downloads) ---------- */
.rows { border-top: 1px solid var(--line); max-width: 1300px; }
.rows .r {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(18px, 2.4vw, 40px);
  padding-block: clamp(18px, 2vw, 24px); border-bottom: 1px solid var(--line);
}
.rows .r .main { flex: 1 1 320px; min-width: 0; }
.rows .r h3 { font-size: 17.5px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.rows .r p { margin-top: 6px; font-size: 15px; line-height: 1.8; color: var(--text); text-wrap: pretty; }
.rows .r .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--muted); }
.rows .r .act { margin-inline-start: auto; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 14px;
  font-size: 13.5px; color: var(--muted-2); background: #fff; white-space: nowrap;
}
.chip.on { border-color: var(--blue); background: var(--bg-tint); color: var(--blue); font-weight: 600; }
a.chip:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- article index ---------- */
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(26px, 3.2vw, 52px); align-items: center; max-width: 1560px; }
.feature .media { border-radius: 8px; aspect-ratio: 16 / 10; }
.feature .kicker { font-size: 14px; font-weight: 700; color: var(--blue); }
.feature h2 { margin-top: 12px; font-size: clamp(24px, 2.5vw, 36px); font-weight: 800; color: var(--ink); line-height: 1.35; letter-spacing: -.4px; text-wrap: pretty; }
.feature p { margin-top: 16px; font-size: 16.5px; line-height: 1.85; color: var(--text); max-width: 58ch; text-wrap: pretty; }
.feature .more { margin-top: 20px; }
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(26px, 3vw, 46px); max-width: 1560px; }
.post { display: flex; flex-direction: column; gap: 14px; }
.post .media { border-radius: 8px; aspect-ratio: 16 / 9; }
.post .kicker { font-size: 13.5px; font-weight: 700; color: var(--blue); }
.post h3 { font-size: 18.5px; font-weight: 700; color: var(--ink); line-height: 1.55; text-wrap: pretty; }
.post p { font-size: 15.5px; line-height: 1.8; color: var(--text); text-wrap: pretty; }
.post .date { margin-top: auto; font-size: 14px; color: var(--muted); }
.byline { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; color: var(--muted); }

/* ---------- form ---------- */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px clamp(20px, 2.4vw, 32px); max-width: 820px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15.5px; color: var(--ink);
  padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: #fff;
  width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 78, 168, .14);
}
.field .hint { font-size: 13px; color: var(--muted); }
.form-note { grid-column: 1 / -1; font-size: 14px; line-height: 1.8; color: var(--muted); }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form button.btn { cursor: pointer; border: 0; }
.form-status { font-size: 15px; font-weight: 600; color: #1c9d5a; }

/* ---------- callout ---------- */
.callout {
  background: var(--bg-tint); border-radius: 6px; padding: clamp(20px, 2.2vw, 30px);
  max-width: 1100px;
}
.callout h3 { margin-bottom: 10px; font-size: 19px; font-weight: 800; color: var(--ink); }
.callout p { font-size: 15.5px; line-height: 1.85; color: var(--text); text-wrap: pretty; }
.callout > * + * { margin-top: 12px; }
.callout.warn { background: #fff5ec; }
.callout.plain { background: var(--bg-soft); }

/* ---------- full-width CTA band ---------- */
.cta-band { background: var(--blue); color: #fff; }
.cta-band .wrap {
  padding-block: clamp(34px, 3.6vw, 58px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px clamp(24px, 3vw, 48px);
}
.cta-band .txt { flex: 1 1 420px; min-width: 0; }
.cta-band h2 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; letter-spacing: -.4px; }
.cta-band p { margin-top: 12px; font-size: 16.5px; line-height: 1.8; color: rgba(255,255,255,.88); max-width: 64ch; text-wrap: pretty; }
.cta-band .btn-solid { background: #fff; color: var(--blue); }
.cta-band .btn-solid:hover { background: var(--bg-tint); color: var(--blue-dark); }

/* ---------- small stat strip ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: clamp(24px, 3vw, 48px); max-width: 1400px; }
.stat-row .s b { display: block; font-size: clamp(30px, 3vw, 44px); font-weight: 800; color: var(--purple); line-height: 1.2; letter-spacing: -.8px; }
.stat-row .s span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--text); }

/* ---------- section rhythm helpers ---------- */
.section.tight .wrap { padding-block: clamp(26px, 3vw, 44px); }
.section.roomy .wrap { padding-block: clamp(44px, 5vw, 86px); }
.section.soft { background: var(--bg-soft); }
.section.tint { background: var(--bg-tint); }
.section h2.title.sm { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: clamp(20px, 2.2vw, 32px); }
.lede { font-size: clamp(16.5px, 1.25vw, 20px); line-height: 1.85; color: var(--text); max-width: 68ch; text-wrap: pretty; }

/* ---------- real projects (screenshots) ---------- */
.works { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(22px, 2.6vw, 36px); max-width: 1500px; }
.work { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; transition: border-color .18s; }
.work:hover { border-color: var(--blue); }
.work-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.work-body { display: flex; flex-direction: column; gap: 10px; padding: clamp(16px, 1.8vw, 22px); flex: 1; }
.work-body .tag { align-self: flex-start; display: flex; align-items: center; height: 24px; padding: 0 10px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700; clip-path: polygon(0 0, 100% 0, 100% 100%, 9px 100%); }
.work-body h3, .work-body h2 { font-size: 18.5px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.work-body p { font-size: 15px; line-height: 1.8; color: var(--text); text-wrap: pretty; }
.work-body .more { margin-top: auto; padding-top: 6px; }

/* ---------- accessibility floor ---------- */
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px;
}
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 0 0 4px 4px;
  font-size: 15px; font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 0; color: #fff; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- interior mobile ---------- */
@media (max-width: 900px) {
  .phero .phero-grid { grid-template-columns: 1fr; }
  .phero .phero-clip { min-height: 220px; clip-path: polygon(0 0, 100% 0, 100% 100%, 26% 100%); }
  .split, .split.wide { grid-template-columns: 1fr; gap: 28px; }
  .rail { position: static; }
  .rail-links { flex-direction: row; overflow-x: auto; border-inline-start: 0; border-bottom: 2px solid var(--line); scrollbar-width: none; }
  .rail-links::-webkit-scrollbar { display: none; }
  .rail-links a { white-space: nowrap; border-inline-start: 0; border-bottom: 2px solid transparent; margin: 0 0 -2px; }
  .rail-links a.active { border-inline-start-color: transparent; border-bottom-color: var(--blue); }
  .deflist .row { grid-template-columns: 1fr; gap: 6px; }
  .rows .r .act { margin-inline-start: 0; flex-basis: 100%; }
}
@media (max-width: 560px) {
  .prose { font-size: 16.5px; }
  .cta-band .wrap { gap: 18px; }
  .cta-band .btn { width: 100%; }
}
