/* UTS — utsarabia.com
   Tokens are derived from the logo: ink #040707, UTS red #D02129. */

@font-face { font-family: "Readex Pro"; src: url("../fonts/readex-pro-latin-wght.woff2") format("woff2"); font-weight: 160 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Readex Pro"; src: url("../fonts/readex-pro-arabic-wght.woff2") format("woff2"); font-weight: 160 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  /* color */
  --ink: #040707;          /* logo black: headings, dark bands */
  --ink-2: #2a2e35;        /* body text, 13.9:1 on white */
  --steel: #5a606b;        /* secondary text, 6.3:1 on white */
  --line: #dcdfe4;
  --mist: #f1f2f4;         /* quiet section fill */
  --paper: #ffffff;
  --red: #d02129;          /* logo red: primary action, 5.4:1 on white */
  --red-700: #a8161d;      /* hover / pressed */
  --red-50: #fcebec;
  --on-dark: #e9ebee;
  --on-dark-2: #a9aeb7;

  /* type */
  --font: "Readex Pro", "Segoe UI", system-ui, -apple-system, "Noto Sans Arabic", sans-serif;
  --fs-0: 0.875rem;
  --fs-1: 1rem;
  --fs-2: 1.0625rem;
  --fs-3: 1.25rem;
  --fs-4: clamp(1.375rem, 1.1rem + 0.9vw, 1.625rem);
  --fs-5: clamp(1.875rem, 1.3rem + 2.1vw, 2.875rem);
  --fs-6: clamp(2.375rem, 1.35rem + 3.7vw, 4.25rem);

  /* shape: radii step down with hierarchy (media > card > control) */
  --r-media: 24px;
  --r-card: 16px;
  --r-ctl: 12px;

  /* layout */
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 9vw, 128px);

  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: var(--fs-2); line-height: 1.6; color: var(--ink-2); background: var(--paper); font-weight: 350; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { color: var(--ink); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-6); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-5); line-height: 1.1; letter-spacing: -0.022em; }
h3 { font-size: var(--fs-3); line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-ctl); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.i { width: 1.15em; height: 1.15em; flex: none; }
.i-lg { width: 28px; height: 28px; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r-ctl); border: 1.5px solid transparent; font-weight: 500; font-size: var(--fs-1); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: var(--fs-2); }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--paper); min-height: 44px; padding: 0 16px; font-size: var(--fs-0); }
@media (hover: hover) and (pointer: fine) {
  .btn--red:hover { background: var(--red-700); }
  .btn--line:hover { background: var(--ink); color: #fff; }
  .btn--ghost:hover { border-color: var(--ink); }
}
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 500; text-decoration: none; }
.link .i, .also a .i { transition: transform 180ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a:hover > .link .i, .link:hover .i, .also a:hover .i { transform: translateX(3px); } }

/* ---------- header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms ease, box-shadow 200ms ease; }
.hdr.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(4, 7, 7, 0.5); }
.hdr-in { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand img { width: 168px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; text-decoration: none; font-weight: 450; color: var(--ink-2); transition: color 160ms ease, background-color 160ms ease; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: var(--mist); color: var(--ink); } .nav a[aria-current="page"]:hover { background: transparent; } }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: var(--paper); cursor: pointer; position: relative; }
.bars, .bars::before, .bars::after { position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px; background: var(--ink); border-radius: 2px; transition: transform 220ms var(--ease-out), opacity 160ms ease; }
.bars { top: 50%; margin-top: -1px; }
.bars::before, .bars::after { content: ""; left: 0; margin-left: 0; }
.bars::before { transform: translateY(-6px); }
.bars::after { transform: translateY(6px); }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: rotate(45deg); background: var(--ink); }
.menu-btn[aria-expanded="true"] .bars::after { transform: rotate(-45deg); background: var(--ink); }
.drawer { border-top: 1px solid var(--line); background: var(--paper); padding: 12px var(--gut) 24px; }
.drawer ul { display: grid; margin-bottom: 16px; }
.drawer li a { display: block; padding: 14px 0; font-size: var(--fs-3); font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer-meta { margin-top: 16px; font-size: var(--fs-0); color: var(--steel); line-height: 2; }
.drawer-meta a { text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
  .drawer:not([hidden]) { animation: drawer-in 280ms var(--ease-drawer); }
  @keyframes drawer-in { from { opacity: 0; transform: translateY(-8px); } }
}
@media (max-width: 960px) {
  .nav, .hdr-cta { display: none; }
  .menu-btn { display: block; }
  .hdr-in { height: 68px; }
  .brand img { width: 140px; }
}
@media (min-width: 961px) { .drawer { display: none; } }

/* ---------- hero ---------- */
.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-h { max-width: 13ch; }
.hero-sub { margin-top: 24px; font-size: var(--fs-3); line-height: 1.55; color: var(--ink-2); max-width: 34em; font-weight: 300; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--fs-0); color: var(--steel); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .i { color: var(--red); }
.hero-media { position: relative; padding: 0 0 36px 28px; }
/* the red block behind the photo echoes the red shield in the logo */
.hero-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 58%; height: 72%; background: var(--red); border-radius: var(--r-media); }
.hero-img img { position: relative; border-radius: var(--r-media); aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 30% 50%; width: 100%; }
.cred { position: absolute; left: 0; bottom: 0; background: var(--paper); border-radius: var(--r-card); padding: 14px 18px 16px; box-shadow: 0 18px 40px -20px rgba(4, 7, 7, 0.45), 0 0 0 1px rgba(4, 7, 7, 0.06); }
.cred p { font-size: 0.8125rem; color: var(--steel); margin-bottom: 10px; }
.cred ul { display: flex; gap: 18px; }
.cred li { display: flex; align-items: center; gap: 8px; }
.cred span { font-weight: 600; color: var(--ink); font-size: var(--fs-0); line-height: 1.15; }
.cred small { display: block; font-weight: 400; color: var(--steel); font-size: 0.75rem; }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-h { max-width: 16ch; }
  .hero-media { max-width: 560px; }
  .hero-img img { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .hero-media { padding-left: 14px; padding-bottom: 64px; }
  .cred { right: 14px; }
  .cred ul { gap: 10px; justify-content: space-between; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* one orchestrated page-load moment, nothing else animates on its own */
@media (prefers-reduced-motion: no-preference) {
  [data-intro] { animation: intro 720ms var(--ease-out) both; }
  .hero-sub[data-intro] { animation-delay: 70ms; }
  .hero-ctas[data-intro] { animation-delay: 140ms; }
  .hero-facts[data-intro] { animation-delay: 210ms; }
  .hero-media[data-intro] { animation: intro-media 900ms var(--ease-out) 120ms both; }
  @keyframes intro { from { opacity: 0; transform: translateY(14px); } }
  @keyframes intro-media { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
}
@media (prefers-reduced-motion: reduce) {
  [data-intro] { animation: fade 300ms ease both; }
  @keyframes fade { from { opacity: 0; } }
}

/* ---------- trust marquee ---------- */
.trust { border-block: 1px solid var(--line); background: var(--paper); }
.trust-in { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 32px; padding-block: 26px; }
.trust-lbl { font-size: var(--fs-0); color: var(--steel); line-height: 1.45; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-paused .marquee-track, .marquee.is-stopped .marquee-track { animation-play-state: paused; }
.trust-side { display: grid; gap: 10px; justify-items: start; }
.mq-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 10px; margin-left: -10px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font: inherit; font-size: var(--fs-0); font-weight: 500; cursor: pointer; transition: background-color 160ms ease; }
.mq-ico { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.mq-toggle[aria-pressed="true"] .mq-ico { border: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; width: 0; height: 0; }
@media (hover: hover) and (pointer: fine) { .mq-toggle:hover { background: var(--mist); } }
.marquee img { height: 48px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: 0.72; transition: filter 200ms ease, opacity 200ms ease; }
@media (hover: hover) and (pointer: fine) { .marquee li:hover img { filter: none; opacity: 1; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; gap: 24px 40px; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .mq-toggle { display: none; }
}
@media (max-width: 760px) { .trust-in { grid-template-columns: 1fr; gap: 16px; } .trust-side { grid-template-columns: 1fr auto; align-items: center; } .mq-toggle { margin: 0 -10px 0 0; } .marquee img { height: 40px; } }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); }
.sec-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head p { margin-top: 16px; font-size: var(--fs-3); font-weight: 300; color: var(--steel); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark h2, .dark h3 { color: #fff; }
.dark .sec-head p { color: var(--on-dark-2); }
.ticks li { position: relative; padding-left: 26px; margin-top: 8px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 14px; height: 14px; border-radius: 4px; background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d02129' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* ---------- service pathway (the signature) ---------- */
.stages { position: relative; }
.chain { position: relative; height: 4px; border-radius: 4px; background: var(--line); margin: 0 calc(25% - 26px) -4px 26px; top: 24px; overflow: hidden; }
.chain-fill { position: absolute; inset: 0; background: var(--red); transform-origin: left center; transform: scaleX(var(--p, 0.25)); transition: transform 600ms var(--ease-in-out); }
.stages:not(.is-in) .chain-fill { transform: scaleX(0); }
.st-tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 40px; }
.st-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; padding: 0 12px 0 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--steel); font-weight: 500; font-size: var(--fs-2); }
.st-n { display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--paper); border: 1.5px solid var(--line); color: var(--steel); font-weight: 600; font-size: var(--fs-3); transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.st-tabs button[aria-selected="true"] { color: var(--ink); }
.st-tabs button[aria-selected="true"] .st-n, .st-tabs button.is-done .st-n { background: var(--red); border-color: var(--red); color: #fff; }
.st-tabs button.is-done .st-n { background: var(--ink); border-color: var(--ink); }
.st-tabs button:active .st-n { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .st-tabs button:hover { color: var(--ink); } .st-tabs button:hover .st-n { border-color: var(--ink); } }
.st-panel { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.st-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .st-panel:not([hidden]) .st-copy { animation: panel-in 260ms var(--ease-out); } @keyframes panel-in { from { opacity: 0; transform: translateY(6px); } } }
.st-copy h3 { font-size: var(--fs-4); }
.st-copy > p { margin-top: 10px; color: var(--steel); max-width: 34em; }
.st-list { margin-top: 24px; border-top: 1px solid var(--line); }
.st-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color 160ms ease; }
.st-list b { color: var(--ink); font-weight: 600; }
.st-list span { grid-column: 1; color: var(--steel); font-size: var(--fs-1); }
.st-list .i-go { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--red); transition: transform 180ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .st-list a:hover { background: var(--mist); } .st-list a:hover .i-go { transform: translateX(4px); } }
.st-img img { border-radius: var(--r-media); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
@media (max-width: 860px) {
  .chain { display: none; }
  .st-tabs { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 28px; }
  .st-tabs button { flex-direction: row; align-items: center; padding: 8px; border: 1.5px solid var(--line); border-radius: var(--r-card); }
  .st-tabs button[aria-selected="true"] { border-color: var(--ink); }
  .st-n { width: 40px; height: 40px; border-radius: 10px; font-size: var(--fs-2); }
  .st-panel { grid-template-columns: 1fr; }
  .st-img { order: -1; }
  .st-img img { aspect-ratio: 16 / 9; }
}

/* ---------- accreditation seals ---------- */
.seal { flex: none; color: var(--ink); }
.seal-o { fill: none; stroke: currentColor; stroke-width: 2; }
.seal-i { fill: var(--red); }
.seal-ring { font-size: 13.5px; font-weight: 600; letter-spacing: 0.08em; fill: currentColor; }
.seal-name { font-size: 26px; font-weight: 700; fill: #fff; letter-spacing: -0.01em; }
.seal-name.is-long-lg { font-size: 21px; }
.seal-year { font-size: 14px; font-weight: 500; fill: rgba(255, 255, 255, 0.85); }
.seal--lg { width: 112px; height: 112px; }
.seal--sm { width: 40px; height: 40px; }
.seal--sm .seal-ring { display: none; }
.seal--sm .seal-o { stroke-width: 6; }
.seal--sm .seal-i { r: 80; }
.seal--sm .seal-name { font-size: 46px; }
.seal--sm .seal-name.is-long { font-size: 34px; }
.seal--sm .seal-name.is-long-lg { font-size: 21px; }
.seal-year { display: none; }
.dark .seal { color: #fff; }

.bodies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.body-card { display: grid; gap: 22px; padding: 28px; border-radius: var(--r-card); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); }
.body-card h3 { font-size: var(--fs-4); }
.body-c { font-size: var(--fs-0); color: #ff7a80; margin: 2px 0 10px; }
.body-card p:last-child { color: var(--on-dark-2); font-size: var(--fs-1); }
.quals { margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: grid; grid-template-columns: 260px 1fr; gap: 16px 40px; }
.quals h3 { font-size: var(--fs-3); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); font-size: var(--fs-0); color: var(--on-dark); }
.also { grid-column: 2; color: var(--on-dark-2); font-size: var(--fs-1); }
.also a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 500; margin-left: 4px; text-underline-offset: 4px; }
@media (max-width: 960px) {
  .bodies { grid-template-columns: 1fr; }
  .body-card { grid-template-columns: 88px 1fr; align-items: start; padding: 22px; }
  .body-card .seal--lg { width: 88px; height: 88px; }
  .quals { grid-template-columns: 1fr; }
  .also { grid-column: 1; }
}

/* ---------- courses teaser ---------- */
.courses-teaser { background: var(--mist); }
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ct-card { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: var(--r-media); overflow: hidden; text-decoration: none; box-shadow: 0 0 0 1px rgba(4, 7, 7, 0.06); transition: box-shadow 200ms ease; }
.ct-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform 500ms var(--ease-out); }
.ct-card picture { overflow: hidden; }
.ct-body { padding: 28px; display: grid; gap: 10px; align-content: start; }
.ct-body h3 { font-size: var(--fs-4); }
.ct-body p { color: var(--steel); }
.ct-body .link { margin-top: 6px; }
@media (hover: hover) and (pointer: fine) { .ct-card:hover { box-shadow: 0 0 0 1px rgba(4, 7, 7, 0.14), 0 24px 48px -32px rgba(4, 7, 7, 0.5); } .ct-card:hover img { transform: scale(1.03); } }
@media (max-width: 760px) { .ct-grid { grid-template-columns: 1fr; } .ct-body { padding: 22px; } }

/* ---------- solutions ---------- */
.sol-grid { display: grid; grid-template-columns: 0.8fr 1fr 1fr; gap: 32px; align-items: start; }
.sol-grid .sec-head { margin-bottom: 0; }
.sol img { border-radius: var(--r-card); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 20px; }
.sol p { margin-top: 10px; color: var(--steel); }
.sol .ticks { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 8px; font-size: var(--fs-0); font-weight: 500; color: var(--ink); }
@media (max-width: 960px) { .sol-grid { grid-template-columns: 1fr 1fr; } .sol-grid .sec-head { grid-column: 1 / -1; } }
@media (max-width: 640px) { .sol-grid { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.why { padding-top: 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.why-img img { border-radius: var(--r-media); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.why-list { margin: 28px 0 32px; display: grid; gap: 0; }
.why-list li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 0.9fr 1fr; gap: 6px 24px; }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list h3 { font-size: var(--fs-2); }
.why-list p { color: var(--steel); font-size: var(--fs-1); }
.dark .why-list li { border-color: rgba(255, 255, 255, 0.14); }
.dark .why-list p { color: var(--on-dark-2); }
.why-list--4 { margin: 0; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.why-list--4 li:nth-last-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } .why-img img { aspect-ratio: 16 / 10; } .why-list li { grid-template-columns: 1fr; } .why-list--4 { grid-template-columns: 1fr; } .why-list--4 li:nth-last-child(2) { border-bottom: 0; } }

/* ---------- CTA band + forms ---------- */
.cta-band { background: var(--red); color: #fff; padding-block: clamp(56px, 8vw, 104px); }
.cta-in { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.cta-copy h2 { color: #fff; }
.cta-copy p { margin-top: 16px; font-size: var(--fs-3); font-weight: 300; color: rgba(255, 255, 255, 0.92); max-width: 30em; }
.cta-direct { margin-top: 32px; display: grid; gap: 12px; }
.cta-direct a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .cta-direct a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.cta-band .form { box-shadow: 0 30px 60px -36px rgba(4, 7, 7, 0.6); }
@media (max-width: 860px) { .cta-in { grid-template-columns: 1fr; } }

.form { background: var(--paper); color: var(--ink-2); border-radius: var(--r-media); padding: clamp(22px, 3vw, 36px); }
.form-h { font-size: var(--fs-4); margin-bottom: 20px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.f--full { grid-column: 1 / -1; }
.f label { display: block; font-size: var(--fs-0); font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.opt { color: var(--steel); font-weight: 400; }
.f input, .f select, .f textarea, .news-row input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: var(--paper); font-size: var(--fs-1); transition: border-color 160ms ease, box-shadow 160ms ease; }
.f textarea { resize: vertical; min-height: 110px; }
.f select { appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23040707' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; padding-right: 40px; }
.f input:focus, .f select:focus, .f textarea:focus, .news-row input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(208, 33, 41, 0.25); }
.f [aria-invalid="true"] { border-color: var(--red); }
.f .err { display: block; margin-top: 6px; font-size: 0.8125rem; color: var(--red-700); }
.form-note { margin-top: 12px; font-size: var(--fs-0); color: var(--steel); }
.form-msg:empty { display: none; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-ctl); background: #eaf6ee; color: #1b5e33; font-size: var(--fs-1); }
.form-msg.is-error { background: var(--red-50); color: var(--red-700); }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } .form .btn { width: 100%; } }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: var(--on-dark-2); font-size: var(--fs-1); }
.ftr-top { display: grid; grid-template-columns: 1.2fr 0.6fr 0.9fr 1.3fr; gap: 40px; padding-block: 72px 48px; }
.ftr-brand img { width: 180px; margin-bottom: 18px; }
.ftr-brand p { max-width: 26em; }
.ftr h2 { font-size: var(--fs-1); color: #fff; font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }
.ftr-col li { margin-bottom: 10px; }
.ftr a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .ftr a:hover { color: #fff; } }
.ftr-news p { margin-bottom: 14px; }
.news-row { display: flex; gap: 8px; }
.news-row input { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.news-row input::placeholder { color: var(--on-dark-2); }
.ftr-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: var(--fs-0); }
.social { display: flex; gap: 8px; }
.social a { width: 44px; height: 44px; justify-content: center; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.18); }
@media (max-width: 960px) { .ftr-top { grid-template-columns: 1fr 1fr; } .ftr-brand, .ftr-news { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr-top { grid-template-columns: 1fr; padding-top: 56px; } .news-row { flex-direction: column; } .ftr-bot { flex-direction: column; align-items: flex-start; } }

/* ---------- inner pages ---------- */
.phead { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); background: var(--mist); }
.phead h1 { max-width: 14ch; }
.phead .lead { margin-top: 20px; max-width: 36em; font-size: var(--fs-3); font-weight: 300; color: var(--ink-2); }
.nf-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* services */
.svc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding-block: 64px var(--sec); }
.jump { position: sticky; top: 108px; align-self: start; }
.jump a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 0; text-decoration: none; font-weight: 500; color: var(--steel); transition: color 160ms ease; }
.jump .st-n { width: 36px; height: 36px; border-radius: 10px; font-size: var(--fs-1); }
.jump a.is-active { color: var(--ink); }
.jump a.is-active .st-n { background: var(--red); border-color: var(--red); color: #fff; }
@media (hover: hover) and (pointer: fine) { .jump a:hover { color: var(--ink); } }
.stage-blk { padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--line); }
.stage-blk:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.stage-hd { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 32px; max-width: 720px; }
.st-n--lg { width: 60px; height: 60px; background: var(--ink); border-color: var(--ink); color: #fff; font-size: var(--fs-4); }
.stage-k { color: var(--red); font-weight: 500; margin-bottom: 4px; }
.stage-hd h2 { font-size: var(--fs-4); }
.stage-hd p:last-child { margin-top: 8px; color: var(--steel); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.svc { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-card); scroll-margin-top: 110px; }
.svc > p { margin-top: 8px; color: var(--steel); }
.svc .ticks { margin: 12px 0 20px; font-size: var(--fs-1); }
.svc .link { margin-top: auto; font-size: var(--fs-1); }
.svc:target { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.wf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wf-grid > li { padding: 24px; border-radius: var(--r-card); background: var(--mist); }
.wf-grid ul { margin-top: 10px; color: var(--steel); }
.wf-grid ul li { padding: 6px 0; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .svc-layout { grid-template-columns: 1fr; gap: 0; padding-top: 0; } .jump { position: sticky; top: 68px; z-index: 5; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); margin: 0 calc(var(--gut) * -1) 40px; padding: 10px var(--gut); border-bottom: 1px solid var(--line); overflow-x: auto; } .jump ol { display: flex; gap: 18px; } .jump a { white-space: nowrap; } .wf-grid { grid-template-columns: 1fr; } }

/* courses */
.finder { padding-block: 48px var(--sec); }
.finder-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; position: sticky; top: 76px; z-index: 5; padding: 14px 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); }
.search { position: relative; flex: 1 1 320px; max-width: 440px; }
.search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--steel); }
.search input { width: 100%; min-height: 50px; padding: 0 16px 0 44px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); font-size: var(--fs-1); }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(208, 33, 41, 0.25); }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--mist); overflow-x: auto; }
.seg button { border: 0; background: none; min-height: 44px; padding: 0 14px; border-radius: 10px; cursor: pointer; font-weight: 500; font-size: var(--fs-0); color: var(--steel); white-space: nowrap; transition: background-color 160ms ease, color 160ms ease; }
.seg button span { color: var(--steel); font-weight: 400; margin-left: 4px; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(4, 7, 7, 0.12); }
.finder-count { margin: 12px 0 8px; font-size: var(--fs-0); color: var(--steel); }
.crs-list { border-top: 1px solid var(--line); }
.crs { display: grid; grid-template-columns: 1fr 200px auto; gap: 8px 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.crs[hidden] { display: none; }
.crs h3 { font-size: var(--fs-2); }
.crs-main p { color: var(--steel); font-size: var(--fs-1); margin-top: 2px; }
.crs-dur { display: flex; align-items: center; gap: 8px; font-size: var(--fs-0); color: var(--ink-2); }
.crs-dur .i { color: var(--red); }
.finder-empty { padding: 56px 0; text-align: center; }
.finder-empty h2 { font-size: var(--fs-4); }
.finder-empty p { margin-top: 10px; color: var(--steel); }
.finder-empty a { color: var(--red); }
.custom { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding: 32px; border-radius: var(--r-media); background: var(--ink); color: var(--on-dark-2); }
.custom h2 { color: #fff; font-size: var(--fs-4); }
.custom p { margin-top: 6px; }
@media (max-width: 760px) { .finder-bar { top: 68px; } .crs { grid-template-columns: 1fr auto; } .crs-main { grid-column: 1 / -1; } .search { max-width: none; } }

/* accreditations page */
.bodies-full { padding-block: 64px var(--sec); display: grid; gap: 20px; }
.body-full { display: grid; grid-template-columns: 140px 1fr; gap: 32px; padding: 36px; border: 1px solid var(--line); border-radius: var(--r-media); scroll-margin-top: 100px; }
.body-full .seal--lg { width: 140px; height: 140px; }
.body-full h2 { font-size: var(--fs-4); }
.body-full .body-c { color: var(--red); margin: 0 0 4px; }
.body-full > div > p { margin-top: 10px; max-width: 40em; color: var(--steel); }
.body-full .ticks { margin-top: 14px; }
.q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.q-grid h2 { font-size: var(--fs-4); margin-bottom: 24px; }
.cols { columns: 2; column-gap: 32px; }
.cols li { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); break-inside: avoid; }
.logo-row { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: center; }
.logo-row img { height: 64px; width: auto; max-width: 200px; object-fit: contain; }
.logo-row--clients img { height: 56px; filter: grayscale(1); opacity: 0.8; transition: filter 200ms ease, opacity 200ms ease; }
@media (hover: hover) and (pointer: fine) { .logo-row--clients li:hover img { filter: none; opacity: 1; } }
@media (max-width: 760px) { .body-full { grid-template-columns: 1fr; padding: 24px; gap: 18px; } .body-full .seal--lg { width: 96px; height: 96px; } .q-grid { grid-template-columns: 1fr; gap: 40px; } .cols { columns: 1; } }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: 72px; }
.about-copy .big { font-size: var(--fs-4); line-height: 1.35; color: var(--ink); font-weight: 450; }
.about-copy p + p { margin-top: 18px; color: var(--steel); }
.about-copy .btn { margin-top: 28px; }
.about-img img { border-radius: var(--r-media); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.values li { padding: 24px; border-radius: var(--r-card); background: var(--mist); border-top: 3px solid var(--red); }
.values p { margin-top: 8px; color: var(--steel); font-size: var(--fs-1); }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; padding-block: 48px; } .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; padding-block: 64px var(--sec); align-items: start; }
.contact-grid .form { border: 1px solid var(--line); }
.contact-list { display: grid; gap: 28px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .i { color: var(--red); margin-top: 2px; }
.contact-list h2 { font-size: var(--fs-1); margin-bottom: 4px; letter-spacing: 0; }
.contact-list a { color: var(--ink); font-weight: 500; text-underline-offset: 4px; }
.contact-list p { color: var(--steel); margin-bottom: 4px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; padding-top: 40px; } }

/* founder */
.founder { background: var(--mist); padding-top: clamp(48px, 6vw, 80px); overflow: hidden; }
.founder-in { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: end; }
.founder-media { position: relative; padding-top: 24px; }
/* same red block as the hero, standing in for the logo's red shield */
.founder-media::before { content: ""; position: absolute; left: 8%; right: 8%; top: 18%; bottom: 0; background: var(--red); border-radius: var(--r-media) var(--r-media) 0 0; }
.founder-media img { position: relative; width: 100%; max-width: 460px; margin-inline: auto; }
.founder-copy { padding-bottom: clamp(48px, 6vw, 88px); max-width: 520px; }
.founder-copy h2 { font-size: var(--fs-5); }
.founder-role { margin-top: 6px; color: var(--steel); }
.founder-copy p + p { margin-top: 20px; }
.founder-copy .btn { margin-top: 28px; }
@media (max-width: 860px) { .founder-in { grid-template-columns: 1fr; } .founder-media { max-width: 420px; } .founder-copy { padding-bottom: 56px; } }

/* =====================================================================
   v3: editorial direction (light display type, pills, line-art graphics,
   scroll-driven motion). Motion lives in assets/js/motion.js.
   ===================================================================== */
:root { --night: #141617; --night-2: #1e2122; --red-soft: #f6d3d5; --dot: #c9ccd2; }
h1, h2 { font-weight: 300; letter-spacing: -0.035em; }
h3 { font-weight: 450; }
.dots i { font-style: normal; color: var(--red); }
.dark { background: var(--night); }

/* pills: the primary call to action everywhere */
.pill { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 5px 5px 5px 22px; border-radius: 999px; background: var(--night); color: #fff; font-size: var(--fs-0); font-weight: 500; text-decoration: none; white-space: nowrap; box-shadow: 0 0 0 2px var(--night); transition: background-color 200ms ease, box-shadow 200ms ease; }
.pill-dot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; transition: transform 260ms var(--ease-out); }
.pill-dot .i { width: 16px; height: 16px; }
.pill:active { transform: scale(0.97); }
.pill--light { background: #fff; color: var(--ink); box-shadow: 0 0 0 2px #fff; }
@media (hover: hover) and (pointer: fine) { .pill:hover .pill-dot { transform: rotate(45deg); } .pill:hover { box-shadow: 0 0 0 2px var(--red); } }
.tlink { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; min-height: 44px; display: inline-flex; align-items: center; }
.btn { border-radius: 999px; }
.btn--red { background: var(--night); }
@media (hover: hover) and (pointer: fine) { .btn--red:hover { background: var(--red); } }

/* header: lighter, pill CTA */
.hdr { background: rgba(255, 255, 255, 0.86); }
.nav a { font-weight: 400; font-size: var(--fs-0); }
.hdr-cta { margin-left: 8px; }

/* ---------- hero ---------- */
.h-hero { padding: clamp(40px, 9vh, 120px) 0 clamp(28px, 5vh, 56px); min-height: min(92svh, 920px); display: grid; align-items: center; overflow: hidden; }
.h-hero-in { display: grid; gap: clamp(28px, 5vh, 56px); }
.h-title { text-align: center; font-size: clamp(2.6rem, 1rem + 6.6vw, 6.6rem); line-height: 1.02; font-weight: 300; letter-spacing: -0.045em; color: var(--ink); max-width: none; }
.h-title .ln { display: block; }
.h-title .w { white-space: nowrap; }
.h-title .ln-2 { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; column-gap: 0.28em; }
.h-chip { display: inline-block; width: 2.3em; height: 1.06em; border-radius: 0.24em; overflow: hidden; background: var(--red); vertical-align: middle; box-shadow: 0 24px 40px -24px rgba(208, 33, 41, 0.7); }
.h-chip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.h-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; max-width: 1040px; margin-inline: auto; width: 100%; }
.h-badge { display: flex; align-items: center; gap: 6px; font-size: var(--fs-0); color: var(--steel); justify-self: start; }
.h-badge .seal--sm { width: 34px; height: 34px; color: var(--ink); }
.h-badge span { margin-left: 8px; max-width: 14em; line-height: 1.35; }
.h-lead p { color: var(--steel); font-weight: 300; font-size: var(--fs-2); max-width: 30em; }
.h-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; }
.cue { justify-self: center; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: var(--fs-0); color: var(--ink-2); text-decoration: none; }
.cue-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; }
.cue-dot .i { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) { .cue-dot { animation: bob 2.4s var(--ease-in-out) infinite; } @keyframes bob { 50% { transform: translateY(5px); } } }
@media (max-width: 760px) {
  .h-hero { min-height: 0; }
  .h-title { font-size: clamp(2.4rem, 0.8rem + 8vw, 3.4rem); }
  .h-foot { grid-template-columns: 1fr; text-align: left; }
  .cue { display: none; }
}

/* ---------- statement + photo fan ---------- */
.statement { padding-block: clamp(56px, 10vw, 140px) clamp(48px, 8vw, 112px); overflow: hidden; }
.st-in { text-align: center; display: grid; justify-items: center; gap: 22px; }
.st-in h2 { font-size: clamp(2.4rem, 1rem + 4.6vw, 4.6rem); line-height: 1.05; }
.st-in p { max-width: 34em; color: var(--steel); font-weight: 300; font-size: var(--fs-3); }
.fan { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; width: min(1320px, 100% - 2 * var(--gut)); margin: clamp(40px, 6vw, 72px) auto 0; }
.tile { position: relative; aspect-ratio: 4 / 4.6; border-radius: 22px; overflow: hidden; background: var(--red); box-shadow: 0 30px 60px -36px rgba(4, 7, 7, 0.55); }
.tile--soft { background: #e9a3a7; }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(1.05); mix-blend-mode: multiply; transition: filter 400ms ease, mix-blend-mode 0s; }
@media (hover: hover) and (pointer: fine) { .tile:hover img { filter: none; mix-blend-mode: normal; } }
@media (max-width: 760px) { .fan { grid-template-columns: repeat(3, 1fr); gap: 10px; } .tile { border-radius: 16px; } }

/* ---------- marquee tweaks ---------- */
.trust { border: 0; }

/* ---------- horizontal services ---------- */
.hs { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); }
.hs-track { display: flex; flex-direction: column; gap: clamp(64px, 10vw, 120px); }
.hs-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 5vw, 80px); width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.hs-k { display: flex; align-items: center; gap: 12px; font-size: var(--fs-0); font-weight: 500; color: var(--ink); }
.hs-k span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--red); color: var(--red); font-size: 12px; }
.hs-copy { display: grid; gap: 18px; justify-items: start; }
.hs-copy h3 { font-size: clamp(2rem, 1rem + 2.6vw, 3.4rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.06; }
.hs-copy > p { color: var(--steel); font-weight: 300; max-width: 30em; }
.hs-svcs { display: grid; gap: 2px; width: 100%; max-width: 30em; margin-block: 4px 8px; }
.hs-svcs a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: var(--fs-1); transition: color 160ms ease, padding 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .hs-svcs a:hover { color: var(--red); padding-left: 6px; } }
.hs-art { display: grid; place-items: center; }
.art { width: 100%; max-width: 560px; height: auto; overflow: visible; font-family: var(--font); }
.hs-bar { display: none; }
@media (min-width: 961px) {
  .js-motion .hs { height: 100svh; padding: 0; display: grid; align-items: center; }
  .js-motion .hs-track { flex-direction: row; gap: 0; width: max-content; will-change: transform; }
  .js-motion .hs-panel { width: 100vw; max-width: none; padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2)); }
  .js-motion .hs-bar { display: block; position: absolute; left: 50%; bottom: 40px; width: 160px; height: 3px; margin-left: -80px; border-radius: 3px; background: var(--line); overflow: hidden; }
  .js-motion .hs-bar span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }
}
@media (max-width: 960px) { .hs-panel { grid-template-columns: 1fr; } .hs-art { order: -1; } .art { max-width: 420px; } }

/* line-art shared */
.art .lbl { font-size: 13px; fill: var(--steel); font-weight: 400; }
.art .ic { color: var(--red); }
.art .ic-bg { fill: #fff; stroke: var(--red-soft); stroke-width: 1.5; }
.art .av-ring { fill: #fff; stroke: var(--red); stroke-width: 1.5; }
/* orbit */
.art-orbit .ring { fill: none; stroke: var(--line); stroke-width: 1.2; }
.art-orbit .ring-2 { stroke: #e7a2a6; }
.art-orbit .ring-1 { stroke: var(--red); }
.art-orbit .core { fill: #fff; stroke: var(--red); stroke-width: 1.5; }
.art-orbit .orb { transform-origin: 260px 260px; }
/* venn */
.art-venn .dash { fill: none; stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.art-venn .dash-a { stroke: var(--ink-2); }
.art-venn .dash-b { stroke: var(--red); }
.art-venn .chev { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.art-venn .chev.a { stroke: var(--ink-2); } .art-venn .chev.b { stroke: var(--red); }
/* map */
.art-map .arc { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--ease-in-out); }
.art-map .arc-2 { transition-delay: 250ms; }
.is-on .art-map .arc, .no-motion .art-map .arc { stroke-dashoffset: 0; }
.art-map .spoke { stroke: var(--red); stroke-width: 1; opacity: 0.55; }
.art-map .gdot { fill: var(--red); }
.art-map .city { fill: var(--ink); }
.art-map .city--home { fill: var(--red); }
.art-map .pulse { fill: var(--red); opacity: 0.18; transform-box: fill-box; transform-origin: center; }
.art-map .lbl { font-size: 15px; fill: var(--ink-2); }
.art-map .lbl--home { fill: var(--red); font-weight: 500; }
/* flow */
.art-flow .box-o { fill: #fff; stroke: var(--line); }
.art-flow .box-i { fill: #fdf3f3; stroke: var(--red-soft); }
.art-flow .flow-line { stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; fill: none; }
.art-flow .rg-bg { fill: none; stroke: var(--line); stroke-width: 7; }
.art-flow .rg-fg { fill: none; stroke: var(--red); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 251.3; stroke-dashoffset: 251.3; transition: stroke-dashoffset 1200ms var(--ease-out); }
.is-on .art-flow .rg-fg, .no-motion .art-flow .rg-fg { stroke-dashoffset: calc(251.3 * (1 - var(--v))); }
.art-flow g:nth-of-type(2) > .rg-fg { transition-delay: 120ms; }
@media (prefers-reduced-motion: no-preference) {
  .art-orbit .orb-1 { animation: spin 48s linear infinite; }
  .art-orbit .orb-2 { animation: spin 72s linear infinite reverse; }
  .art-orbit .orb .cr { transform-box: fill-box; transform-origin: center; }
  .art-orbit .orb-1 .cr { animation: spin 48s linear infinite reverse; }
  .art-orbit .orb-2 .cr { animation: spin 72s linear infinite; }
  .art-venn .dash-a { animation: dash 6s linear infinite; }
  .art-venn .dash-b { animation: dash 6s linear infinite reverse; }
  .art-map .pulse { animation: pulse 2.4s var(--ease-out) infinite; }
  .art-flow .flow-line { animation: dash 3s linear infinite reverse; }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes dash { to { stroke-dashoffset: -90; } }
  @keyframes pulse { from { transform: scale(0.6); opacity: 0.35; } to { transform: scale(2.2); opacity: 0; } }
}

/* ---------- trust band + stacked cards ---------- */
.trust-band { padding-block: clamp(72px, 10vw, 140px); }
.tb-in { text-align: center; display: grid; justify-items: center; gap: 20px; margin-bottom: clamp(48px, 7vw, 96px); }
.tb-in h2 { font-size: clamp(2.2rem, 1rem + 4vw, 4.2rem); }
.tb-in p { max-width: 32em; color: var(--on-dark-2); font-weight: 300; font-size: var(--fs-3); }
.stack { display: grid; gap: 28px; }
.stk { position: sticky; top: calc(110px + var(--i) * 18px); display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(20px, 3vw, 40px); padding: clamp(18px, 2.4vw, 28px); border-radius: 26px; background: #fff; color: var(--ink-2); box-shadow: 0 -20px 50px -30px rgba(0, 0, 0, 0.8); transform-origin: 50% 0; }
.stk-copy { display: grid; gap: 14px; align-content: center; justify-items: start; padding: clamp(6px, 2vw, 24px); }
.stk-k { font-size: var(--fs-0); color: var(--red); font-weight: 500; }
.stk-copy h3 { color: var(--ink); font-size: clamp(1.8rem, 1rem + 2vw, 2.6rem); font-weight: 300; letter-spacing: -0.03em; }
.stk-copy > p { color: var(--steel); font-weight: 300; }
.stk-copy .ticks { font-size: var(--fs-1); margin-bottom: 8px; }
.stk-art { display: grid; place-items: center; min-height: 300px; border-radius: 18px; background: radial-gradient(circle at 50% 50%, rgba(208, 33, 41, 0.35), transparent 60%), radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.4px) 0 0 / 14px 14px, #1b0709; }
.stk-art .seal--lg { width: clamp(150px, 16vw, 210px); height: auto; color: #fff; }
@media (prefers-reduced-motion: no-preference) { .stk-art .seal-ring { animation: spin 40s linear infinite; transform-origin: 100px 100px; } }
@media (max-width: 760px) { .stk { grid-template-columns: 1fr; position: relative; top: auto; } .stk-art { min-height: 220px; order: -1; } }

/* ---------- big numbers ---------- */
.bignums { overflow: hidden; padding-block: clamp(56px, 9vw, 120px); }
.bn-track { display: flex; gap: clamp(48px, 6vw, 120px); width: max-content; padding-inline: var(--gut); font-size: clamp(3rem, 1rem + 8vw, 9rem); font-weight: 300; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.bn-track b { font-weight: 300; color: var(--ink); font-variant-numeric: tabular-nums; }
.bn-track span { color: var(--red); }
@media (max-width: 760px) { .bn-track { flex-direction: column; width: auto; gap: 18px; } }

/* ---------- courses + leadership ---------- */
.courses-teaser .sec-head h2, .lead-copy h2 { font-size: clamp(2.2rem, 1rem + 3.6vw, 3.8rem); }
.ct-card { border-radius: 26px; }
.lead-in { display: grid; grid-template-columns: 1fr 0.8fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.lead-copy { display: grid; gap: 20px; justify-items: start; align-self: center; }
.lead-copy p { color: var(--steel); font-weight: 300; font-size: var(--fs-3); }
.person { position: relative; margin: 0; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #e4888d, var(--red)); aspect-ratio: 4 / 5; }
.person img { position: absolute; inset: auto 0 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; filter: grayscale(1) contrast(1.05); transition: filter 400ms ease; }
@media (hover: hover) and (pointer: fine) { .person:hover img { filter: none; } }
.person figcaption { position: absolute; left: 20px; bottom: 18px; display: grid; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.person b { font-size: var(--fs-4); font-weight: 400; }
.person span { font-size: var(--fs-0); }
.why-mini { display: grid; gap: 18px; }
.why-mini li { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.why-mini h3 { font-size: var(--fs-2); }
.why-mini p { color: var(--steel); font-size: var(--fs-1); font-weight: 300; }
@media (max-width: 960px) { .lead-in { grid-template-columns: 1fr 1fr; } .lead-copy { grid-column: 1 / -1; } }
@media (max-width: 600px) { .lead-in { grid-template-columns: 1fr; } }

/* ---------- proof tabs ---------- */
.proof { padding-block: clamp(72px, 10vw, 140px); }
.pf-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; min-height: 420px; }
.pf-tabs { display: grid; gap: 8px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.pf-tabs button { display: grid; gap: 2px; width: 100%; min-height: 44px; padding: 14px 0 14px 28px; margin-left: -1px; border: 0; border-left: 2px solid transparent; background: none; text-align: left; cursor: pointer; color: rgba(255, 255, 255, 0.32); transition: color 240ms ease, border-color 240ms ease; }
.pf-tabs b { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.2rem); font-weight: 300; letter-spacing: -0.02em; }
.pf-tabs span { font-size: var(--fs-0); }
.pf-tabs [aria-selected="true"] { color: #fff; border-left-color: var(--red); }
@media (hover: hover) and (pointer: fine) { .pf-tabs button:hover { color: rgba(255, 255, 255, 0.7); } }
.lt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lt { display: grid; place-items: center; gap: 6px; aspect-ratio: 1; padding: 16px; border-radius: 18px; background: #fff; }
.lt img { max-height: 70%; width: auto; object-fit: contain; }
.lt--seal { color: var(--ink); font-size: var(--fs-0); font-weight: 500; }
.lt--seal .seal--sm { width: 64px; height: 64px; }
.lt-grid--partners, .lt-grid--support { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 75%; }
@media (max-width: 760px) { .pf-in { grid-template-columns: 1fr; } .lt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lt-grid--partners, .lt-grid--support { max-width: none; } }

/* ---------- final CTA ---------- */
.final { padding-block: clamp(72px, 12vw, 160px); }
.fn-in { display: grid; grid-template-columns: 1.5fr 0.8fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.fn-h { font-size: clamp(2.8rem, 1rem + 6vw, 7rem); line-height: 1; letter-spacing: -0.05em; }
.fn-side { display: grid; gap: 22px; justify-items: start; }
.fn-side p { color: var(--steel); font-weight: 300; }
.fn-direct { display: grid; gap: 4px; font-size: var(--fs-0); }
.fn-direct a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink-2); }
.fn-direct .i { color: var(--red); }
@media (max-width: 760px) { .fn-in { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ftr { background: var(--night); }
.ftr-brand img { width: clamp(200px, 22vw, 300px); }

/* ---------- inner pages: same voice ---------- */
.phead { background: #fff; padding-top: clamp(56px, 9vw, 128px); }
.phead h1 { font-size: clamp(2.8rem, 1rem + 5.6vw, 6rem); max-width: 16ch; }
.sec-head h2 { font-weight: 300; }

/* split-character helpers for motion.js */
.ch { display: inline-block; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .pf-panel:not([hidden]) .lt { animation: lt-in 520ms var(--ease-out) both; }
  .pf-panel .lt:nth-child(2) { animation-delay: 50ms; } .pf-panel .lt:nth-child(3) { animation-delay: 100ms; } .pf-panel .lt:nth-child(4) { animation-delay: 150ms; }
  .pf-panel .lt:nth-child(5) { animation-delay: 200ms; } .pf-panel .lt:nth-child(6) { animation-delay: 250ms; } .pf-panel .lt:nth-child(7) { animation-delay: 300ms; }
  @keyframes lt-in { from { opacity: 0; transform: translateY(16px) scale(0.94); } }
}
.tile picture { height: 100%; }
.fn-direct { margin-top: 4px; }
@media (min-width: 961px) { .js-motion .hs-panel { width: calc(100vw - var(--sbw, 0px)); } }
/* header tucks away while reading down, returns on scroll up */
.hdr { transition: border-color 200ms ease, box-shadow 200ms ease, transform 320ms var(--ease-out); }
.hdr.is-tucked { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px))); }
@media (max-width: 960px) { .pill.hdr-cta { display: none; } }
@media (max-width: 760px) { .bn-track { font-size: clamp(2.2rem, 1rem + 6vw, 3rem); white-space: normal; } }
.ftr .btn--red { background: var(--red); }
@media (hover: hover) and (pointer: fine) { .ftr .btn--red:hover { background: var(--red-700); } }
.fan { gap: 10px; }
.custom { background: var(--night); }
.custom .btn--red { background: var(--red); }
/* sticky sub-bars follow the header when it tucks away */
.finder-bar, .jump { transition: top 320ms var(--ease-out); }
body:has(.hdr.is-tucked) .finder-bar { top: 0; }
body:has(.hdr.is-tucked) .jump { top: 24px; }
@media (max-width: 960px) { body:has(.hdr.is-tucked) .jump { top: 0; } }
.hs { overflow: clip; }
html.js-motion { scroll-behavior: auto; }
/* hero on phones: left-aligned lines, photo chip follows "workforce" so it never collides with the type */
@media (max-width: 760px) {
  .h-title { text-align: left; }
  .h-title .ln-2 { justify-content: flex-start; column-gap: 0.22em; }
  .h-title .ln-2 .h-chip { order: 3; width: 1.7em; height: 0.86em; }
}
/* founder card: new studio portrait in colour; caption sits on a soft shade */
.person picture { position: absolute; inset: 0; }
.person img { filter: none; object-position: 50% 12%; will-change: transform; }
.person::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; background: linear-gradient(180deg, transparent, rgba(4, 7, 7, 0.55)); pointer-events: none; }
.person figcaption { z-index: 1; }
.founder-media picture { display: block; position: relative; overflow: hidden; border-radius: 0 0 0 0; }
.person picture { inset: -20px 0; }
.founder-media { max-width: 460px; margin-inline: auto; width: 100%; overflow: hidden; }
.founder-media::before { left: 0; right: 0; }
.founder-media img { max-width: none; }
/* founder on the home page: transparent cut-out on the page itself, caption underneath */
.person--cut { background: none; border-radius: 0; overflow: visible; aspect-ratio: auto; display: grid; gap: 14px; }
.person--cut::after { content: none; }
.person--cut picture { position: relative; inset: auto; display: block; }
.person--cut img { position: relative; inset: auto; height: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(4, 7, 7, 0.14)); -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.person--cut figcaption { position: static; color: var(--ink); text-shadow: none; }
.person--cut figcaption span { color: var(--steel); }
/* big numbers: a still, readable row (no sideways scroll); numbers count up */
.bn-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); width: auto; max-width: var(--max, 1200px); margin-inline: auto; white-space: normal; font-size: clamp(4rem, 2rem + 6vw, 9rem); }
.bn-track li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.bn-track b { line-height: 0.9; }
.bn-track span { font-size: clamp(1.1rem, 0.9rem + 0.7vw, 1.6rem); letter-spacing: -0.01em; line-height: 1.2; }
@media (max-width: 760px) { .bn-track { grid-template-columns: repeat(2, minmax(0, 1fr)); flex-direction: initial; } }
/* founder cut-out: soften the photo's cropped side and bottom edges into the page */
.person--cut img { filter: none; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 99%), linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, #000 78%, transparent 99%), linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-composite: intersect; }
