/* School2Success · public website. Editorial and quiet: white pages, navy type, gold only as an accent.
   Noto Serif for headlines, IBM Plex Sans for reading, IBM Plex Mono for small labels. Lines, not boxes. */
:root {
  --navy: #122246; --ink: #122246; --soft: #4F5A73; --faint: #7D869B;
  --gold: #BF8C3A; --gold-ink: #8C6420;
  --line: #E4E6EC; --line-strong: #CDD1DA; --wash: #F6F7F9; --bg: #FFFFFF;
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wrap: 1200px; --gutter: 32px; --section: 152px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 720px) { :root { --gutter: 20px; --section: 92px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.62 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (max-width: 720px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: #EADBC0; }
.skip { position: absolute; left: -9999px; top: 12px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.2vw, 76px); line-height: 1.03; letter-spacing: -.032em; }
h2 { font-size: clamp(32px, 4.1vw, 52px); line-height: 1.08; letter-spacing: -.026em; }
h3 { font-size: clamp(22px, 2.1vw, 27px); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.label { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.lede { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; color: var(--soft); max-width: 34em; }
.body { color: var(--soft); max-width: 36em; }
.body + .body { margin-top: 14px; }
.serif-num { font-family: var(--serif); font-weight: 500; letter-spacing: -.03em; }
.gold { color: var(--gold); }

/* ---------- Buttons and links ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 12px;
  background: var(--navy); color: #fff; text-decoration: none; font: 500 16.5px/1 var(--sans); border: 0; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s; }
.btn:hover { background: #1B2F5C; }
.btn:active { transform: scale(.98); }
.btn small { font: 400 13px/1 var(--sans); opacity: .72; }
.btn.sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.quiet { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; text-decoration: none; padding: 6px 0;
  background: linear-gradient(var(--line-strong), var(--line-strong)) 0 100% / 100% 1px no-repeat; transition: background-size .3s var(--ease); }
.quiet:hover { background-image: linear-gradient(var(--ink), var(--ink)); }
.quiet::after { content: "→"; font-family: var(--sans); transition: transform .25s var(--ease); }
.quiet:hover::after { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 40px; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 32px; height: 80px; transition: height .25s var(--ease); }
.site-head.scrolled .wrap { height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand svg { width: 22px; height: 26px; flex: none; }
.brand span { font: 700 19px/1 var(--serif); letter-spacing: -.01em; }
.brand b { color: var(--gold); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 15px; color: var(--soft); text-decoration: none; padding: 8px 0; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--gold); }
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.menu-btn svg { margin: auto; }
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .site-head .wrap { gap: 14px; height: 68px; }
  .site-head .btn.sm { height: 40px; padding: 0 14px; font-size: 14.5px; }
}
.short { display: none; }
@media (max-width: 560px) { .site-head .long { display: none; } .site-head .short { display: inline; } }
@media (max-width: 380px) { .brand span { font-size: 17px; } .site-head .btn.sm { padding: 0 12px; } }
.menu { position: fixed; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column; padding: 0 var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s .25s; }
.menu.open { opacity: 1; visibility: visible; transition: opacity .25s var(--ease); }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.menu nav { display: flex; flex-direction: column; margin-top: 28px; border-top: 1px solid var(--line); }
.menu nav a { font: 500 32px/1.15 var(--serif); letter-spacing: -.02em; color: var(--ink); text-decoration: none; padding: 18px 0; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: auto; width: 100%; }
.menu-foot { display: flex; gap: 22px; margin-top: 22px; font-size: 15px; color: var(--soft); }
.menu-foot a { color: var(--soft); }
body.locked { overflow: hidden; }

/* ---------- Sections ---------- */
section { padding: var(--section) 0 0; }
.ruled { border-top: 1px solid var(--line); padding-top: 28px; }
.head-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 64px; align-items: end; }
.head-row .label { grid-column: 1 / -1; }
@media (max-width: 860px) { .head-row { grid-template-columns: 1fr; } }
.page-end { padding-bottom: var(--section); }

/* Hero */
.hero { padding-top: 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.hero h1 { margin-top: 22px; }
.hero .lede { margin-top: 28px; }
.hero h1 .gold { font-style: normal; }
@media (max-width: 920px) { .hero { padding-top: 40px; } .hero-grid { grid-template-columns: 1fr; gap: 64px; } }
.page-hero { padding-top: 96px; }
.page-hero h1 { max-width: 13em; margin-top: 22px; }
.page-hero .lede { margin-top: 26px; }
@media (max-width: 720px) { .page-hero { padding-top: 48px; } }

/* Prose */
.prose { max-width: 38em; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 0 0 18px; }
.prose p, .prose li { color: var(--soft); }
.prose p + p { margin-top: 16px; }
.prose ul { padding-left: 1.1em; margin: 16px 0 0; } .prose li + li { margin-top: 8px; }
.prose strong { color: var(--ink); font-weight: 500; }

/* Two columns: label/title left, text right */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 72px; }
.split > :first-child h2 { margin-top: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Steps across */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 64px; counter-reset: s; list-style: none; padding: 0; }
.steps li { border-top: 1px solid var(--ink); padding-top: 22px; counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; font: 500 13px/1 var(--mono); letter-spacing: .1em; color: var(--gold-ink); margin-bottom: 28px; }
.steps h3 { margin-bottom: 12px; }
.steps p { color: var(--soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 40px; } }

/* Feature rows */
.features { margin-top: 56px; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 80px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); }
.feature:nth-child(even) .feature-text { order: 2; }
.feature:last-child { border-bottom: 0; padding-bottom: 0; }
.feature h3 { margin: 16px 0 14px; }
.feature p { color: var(--soft); max-width: 30em; }
.feature .tag { margin-left: 10px; vertical-align: 2px; }
.feature-visual { display: flex; justify-content: center; background: var(--wash); border-radius: 20px; padding: 48px 24px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; padding: 48px 0; } .feature:nth-child(even) .feature-text { order: 0; } }
.tag { display: inline-block; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 9px; }

/* Phone frame with an app screen drawn in HTML */
.phone { width: 300px; max-width: 100%; border-radius: 46px; background: #fff; padding: 11px; box-shadow: 0 0 0 1px var(--line-strong), 0 30px 60px -30px rgba(18,34,70,.28); }
.phone .screen { border-radius: 36px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); height: 600px; position: relative; font-size: 13px; line-height: 1.45; }
.phone.sm .screen { height: 520px; }
.app { padding: 52px 20px 20px; }
.app .a-label { font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.app .a-title { font: 500 25px/1.1 var(--serif); letter-spacing: -.02em; margin-top: 10px; }
.app .a-sub { color: var(--soft); margin-top: 6px; font-size: 12.5px; }
.app .a-list { margin-top: 18px; border-top: 1px solid var(--line); }
.app .a-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.app .a-row i { font: 500 10px/1 var(--mono); color: var(--faint); width: 20px; font-style: normal; }
.app .a-row b { font-weight: 500; flex: 1; }
.app .a-row span { font: 400 10.5px/1 var(--mono); color: var(--faint); }
.app .a-row.on b { color: var(--ink); } .app .a-row.on span { color: var(--gold-ink); }
.app .a-fact { margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--wash); }
.app .a-fact .n { font: 500 22px/1.1 var(--serif); letter-spacing: -.02em; }
.app .a-fact .s { font: 400 9.5px/1.4 var(--mono); color: var(--soft); margin-top: 8px; letter-spacing: .02em; }
.app .a-btn { display: block; text-align: center; background: var(--navy); color: #fff; border-radius: 12px; padding: 12px; font-weight: 500; margin-top: 18px; }
.app .a-chip { display: inline-block; font: 500 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--soft); }
.app .bubble { padding: 11px 13px; border-radius: 16px; max-width: 86%; margin-top: 10px; }
.app .bubble.me { margin-left: auto; background: var(--navy); color: #fff; border-bottom-right-radius: 5px; }
.app .bubble.ai { background: var(--wash); border-bottom-left-radius: 5px; }
.app .bubble .src { display: block; font: 400 9.5px/1.4 var(--mono); color: var(--soft); margin-top: 7px; }
.app .route { margin-top: 18px; position: relative; padding-left: 20px; }
.app .route::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line-strong); }
.app .stop { position: relative; padding: 0 0 15px; }
.app .stop::before { content: ""; position: absolute; left: -19px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy); }
.app .stop.b::before { box-shadow: inset 0 0 0 1.5px var(--gold); }
.app .stop.done::before { background: var(--navy); }
.app .stop b { display: block; font-weight: 500; } .app .stop span { color: var(--soft); font-size: 11.5px; }
.app .dl { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.app .dl b { font-weight: 500; display: block; } .app .dl span { color: var(--soft); font-size: 11.5px; }
.app .dl em { font: 500 10.5px/1.3 var(--mono); font-style: normal; color: var(--gold-ink); text-align: right; white-space: nowrap; }

/* Proof: one real fact with its source */
.proof { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 72px; align-items: end; border-top: 1px solid var(--line); padding-top: 48px; }
.proof .figure { font: 500 clamp(56px, 8vw, 104px)/.95 var(--serif); letter-spacing: -.04em; }
.proof .what { font-size: 19px; margin-top: 18px; max-width: 24em; }
.proof dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 22px; font-size: 15px; }
.proof dt { font: 500 11.5px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.proof dd { margin: 0; color: var(--soft); }
.proof dd a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }

/* Class 8 to 12 */
.years { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 64px; position: relative; list-style: none; padding: 0; }
.years::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: var(--line-strong); }
.years li { padding-right: 24px; }
.years .yr { font: 500 15px/1 var(--mono); color: var(--faint); height: 24px; }
.years .dot { width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy); margin: 4px 0 26px; position: relative; }
.years li.key .dot { background: var(--gold); box-shadow: none; }
.years h3 { font-size: 22px; margin-bottom: 10px; }
.years p { color: var(--soft); font-size: 16px; }
@media (max-width: 860px) {
  .years { grid-template-columns: 1fr; padding-left: 28px; }
  .years::before { left: 5px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .years li { position: relative; padding: 0 0 36px; }
  .years .dot { position: absolute; left: -28px; top: 2px; margin: 0; }
  .years .yr { height: auto; margin-bottom: 8px; }
}

/* Plans */
.plans { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 0 56px; margin-top: 64px; }
.plan { border-top: 1px solid var(--ink); padding-top: 26px; display: flex; flex-direction: column; }
.plan .p-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.plan .p-name { font: 500 30px/1.1 var(--serif); letter-spacing: -.02em; }
.plan .p-for { font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); text-align: right; }
.plan .p-for.rec { color: var(--gold-ink); }
.plan .p-price { margin-top: 26px; font: 500 46px/1 var(--serif); letter-spacing: -.035em; }
.plan .p-per { color: var(--soft); font-size: 15px; margin-top: 8px; }
.plan .p-tag { color: var(--soft); margin-top: 18px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.plan li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 10px; height: 1.5px; background: var(--gold); }
.plan li .tag { margin-left: 8px; vertical-align: 1px; font-size: 10px; padding: 4px 7px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; gap: 56px; } }
.loading .p-price, .loading .p-name { color: var(--line-strong); }
.compare { width: 100%; border-collapse: collapse; margin-top: 56px; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 500 24px/1.1 var(--serif); letter-spacing: -.02em; border-bottom: 1px solid var(--ink); padding-bottom: 18px; }
.compare tbody th { font-weight: 400; color: var(--soft); width: 30%; }
.compare td.no { color: var(--faint); }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.small { font-size: 15px; color: var(--soft); }
.notes { margin-top: 28px; display: grid; gap: 8px; }

/* Questions */
.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font: 500 clamp(20px, 2vw, 24px)/1.3 var(--serif); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 28px; color: var(--soft); max-width: 40em; }
.faq .a p + p { margin-top: 12px; }

/* Final band */
.band { margin-top: var(--section); padding: 112px 0; background: var(--navy); color: #fff; }
.band h2 { max-width: 12em; }
.band .lede { color: #C9CFDD; margin-top: 22px; }
.band .btn { background: #fff; color: var(--navy); }
.band .btn:hover { background: #EEF0F4; }
.band .quiet { color: #fff; background-image: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)); }
.band .quiet:hover { background-image: linear-gradient(#fff, #fff); }
.band .more { display: flex; gap: 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: 15px; }
.band .more a { color: #C9CFDD; text-decoration: none; } .band .more a:hover { color: #fff; }
@media (max-width: 720px) { .band { padding: 80px 0; } }

/* Key facts list (contact, about) */
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 8px 72px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 12px/1.7 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: 0; font-size: 19px; }
.facts dd a { text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.facts dd .small { display: block; margin-top: 4px; }
.todo { color: var(--gold-ink); font-family: var(--mono); font-size: .8em; }
@media (max-width: 720px) { .facts > div { grid-template-columns: 1fr; } }

/* Principles (method) */
.principles { list-style: none; padding: 0; margin: 56px 0 0; counter-reset: p; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 80px minmax(0, 4fr) minmax(0, 6fr); gap: 12px 40px; padding: 36px 0; border-bottom: 1px solid var(--line); counter-increment: p; }
.principles li::before { content: counter(p, decimal-leading-zero); font: 500 13px/2 var(--mono); color: var(--gold-ink); letter-spacing: .1em; }
.principles h3 { font-size: 24px; }
.principles p { color: var(--soft); }
@media (max-width: 860px) { .principles li { grid-template-columns: 1fr; } }

/* Legal pages */
.legal { max-width: 760px; padding-top: 72px; }
.legal .eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.legal h1 { font-size: clamp(36px, 4.6vw, 52px); margin: 20px 0 18px; }
.legal h2 { font-size: 26px; margin: 48px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 20px; margin: 26px 0 6px; }
.legal p, .legal li { color: var(--soft); font-size: 17px; }
.legal p + p { margin-top: 12px; }
.legal .lead { font-size: 20px; color: var(--soft); }
.legal .muted { font-size: 14px; color: var(--faint); margin-top: 6px; }
.legal ul { padding-left: 20px; } .legal li { margin: 6px 0; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal .kv { display: grid; grid-template-columns: 190px 1fr; gap: 12px 24px; margin-top: 18px; }
.legal .kv dt { font: 500 12px/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.legal .kv dd { margin: 0; color: var(--ink); }
.legal .cta { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 10px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 500; }
@media (max-width: 600px) { .legal .kv { grid-template-columns: 1fr; gap: 2px; } .legal .kv dd { margin-bottom: 12px; } }

/* ---------- Footer ---------- */
.site-foot { margin-top: var(--section); border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; }
.band + .site-foot { margin-top: 0; border-top: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: 40px 32px; }
.foot-grid h2 { font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-grid a { color: var(--soft); text-decoration: none; } .foot-grid a:hover { color: var(--ink); }
.foot-brand p { color: var(--soft); margin-top: 18px; max-width: 18em; }
.foot-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.foot-line .motto { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.foot-line a { color: var(--faint); }
@media (max-width: 980px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Motion: a soft rise as sections appear ---------- */
.js .rise { opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .rise { opacity: 1; transform: none; transition: none; } * { transition: none !important; } }
@media print { .site-head, .menu, .band, .site-foot { display: none; } }

/* ---------- Proof: numbers, sources, quotes, logos, photos, guides ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 28px 34px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat-n { font: 500 clamp(40px, 4.6vw, 60px)/1 var(--serif); letter-spacing: -.035em; }
.stat p { color: var(--soft); margin-top: 12px; font-size: 16px; max-width: 14em; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 420px) { .stat { padding-right: 14px; } .stat + .stat { padding-left: 14px; } }

.sources { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: baseline; }
.sources span { font: 500 clamp(17px, 1.6vw, 21px)/1.2 var(--serif); color: var(--soft); letter-spacing: -.01em; white-space: nowrap; }
.sources-note { margin-top: 26px; font-size: 14px; color: var(--faint); }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; margin-top: 56px; }
.quote { margin: 0; border-top: 1px solid var(--ink); padding-top: 26px; }
.quote blockquote { margin: 0; font: 500 22px/1.42 var(--serif); letter-spacing: -.012em; }
.quote blockquote::before { content: "\201C"; color: var(--gold); margin-right: 2px; }
.quote blockquote::after { content: "\201D"; color: var(--gold); }
.quote figcaption { margin-top: 20px; color: var(--soft); font-size: 15px; } .quote figcaption b { display: block; color: var(--ink); font-weight: 500; }
.logos { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logos li { background: #fff; height: 112px; display: grid; place-items: center; padding: 20px; }
.logos img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos span { font: 500 17px/1.25 var(--serif); text-align: center; color: var(--soft); }
.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 28px; margin-top: 56px; }
.photos figure { margin: 0; } .photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.photos figcaption { margin-top: 12px; font-size: 14px; color: var(--soft); }
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 48px 32px; margin-top: 56px; }
.guide img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; margin-bottom: 20px; }
.guide h3 { font-size: 24px; } .guide .g-role { font: 500 11.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin: 8px 0 10px; }
.guide p { color: var(--soft); font-size: 16px; }

/* Four doors */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.door { display: flex; flex-direction: column; padding: 30px 28px 34px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); transition: background .25s; }
.door + .door { padding-left: 28px; border-left: 1px solid var(--line); }
.door .label { margin-bottom: 18px; }
.door h3 { font-size: 24px; margin-bottom: 12px; }
.door p:not(.label) { color: var(--soft); font-size: 16px; flex: 1; }
.door .quiet { margin-top: 24px; align-self: flex-start; }
.door:hover h3 { color: #1B2F5C; }
@media (max-width: 980px) { .doors { grid-template-columns: 1fr 1fr; } .door:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 600px) { .doors { grid-template-columns: 1fr; } .door + .door { border-left: 0; padding-left: 0; } }

/* Hero second phone, for depth */
.hero-grid.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.phones { display: flex; justify-content: flex-end; align-items: flex-start; gap: 22px; }
.phones .front { width: 286px; flex: none; }
.phones .back { width: 252px; flex: none; margin-top: 96px; }
.phones .back .screen { height: 540px; }
@media (max-width: 1180px) { .hero-grid.two { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .phones { justify-content: center; } .phones .back { display: none; } }
@media (max-width: 920px) { .hero-grid.two { grid-template-columns: 1fr; } }

/* ---------- Career pages ---------- */
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font: 500 12px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.factlist { margin-top: 48px; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 6px 72px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; padding-bottom: 0; }
.fact h3 { font-size: 20px; grid-row: span 3; }
.fact .fig { font-size: 20px; color: var(--ink); }
.fact .src { font-size: 14.5px; color: var(--soft); }
.fact .src span { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-right: 8px; }
.fact .src a { color: var(--soft); text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.fact .when { font-size: 13.5px; color: var(--faint); }
@media (max-width: 860px) { .fact { grid-template-columns: 1fr; } .fact h3 { grid-row: auto; margin-bottom: 6px; } }
.partlist { list-style: none; padding: 0; margin: 0; }
.partlist li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.partlist i { font: 500 12px/1 var(--mono); font-style: normal; color: var(--faint); }
.partlist b { font-weight: 500; }
.partlist span { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.partlist li:first-child span { color: var(--gold-ink); }

/* Careers index */
.pubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.pubcard { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 16px; background: var(--wash); text-decoration: none; color: var(--ink); transition: background .25s; }
.pubcard:hover { background: #EEF0F4; }
.pubcard b { font: 500 32px/1.1 var(--serif); letter-spacing: -.02em; }
.pubcard .quiet { align-self: flex-start; }
.cfind { margin-top: 64px; position: sticky; top: 64px; z-index: 5; background: rgba(255,255,255,.96); padding: 14px 0; border-bottom: 1px solid var(--line); }
.cfind input { width: 100%; border: 0; border-bottom: 1px solid var(--ink); padding: 14px 0; font: 400 20px/1.3 var(--sans); background: none; color: var(--ink); border-radius: 0; -webkit-appearance: none; }
.cfind input:focus { outline: 0; border-bottom-color: var(--gold); }
.jump { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; }
.jump a { color: var(--soft); text-decoration: none; } .jump a:hover { color: var(--ink); }
@media (max-width: 720px) { .jump { display: none; } .cfind { top: 68px; } }
.area { margin-top: 72px; }
.area h2 { font-size: clamp(26px, 2.6vw, 32px); scroll-margin-top: 170px; }
.area h2 span { font: 500 13px/1 var(--mono); color: var(--faint); letter-spacing: .08em; margin-left: 10px; vertical-align: 6px; }
.clist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--line); }
.clist li > a, .clist li > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.clist b { font-weight: 500; } .clist span { grid-column: 1; color: var(--soft); font-size: 15.5px; }
.clist em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 500 11px/1 var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.clist em.soft { color: var(--faint); }
.clist a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
@media (max-width: 860px) { .clist { grid-template-columns: 1fr; } }

/* ---------- Forms (school talk) ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; margin-top: 48px; max-width: 880px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14px; color: var(--soft); margin-top: 22px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 8px; border: 0; border-bottom: 1px solid var(--line-strong); padding: 12px 0; font: 400 18px/1.4 var(--sans); color: var(--ink); background: none; border-radius: 0; -webkit-appearance: none; appearance: none; }
.form select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237D869B' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 4px center; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-bottom-color: var(--ink); }
.form .actions { margin-top: 36px; }
.form-msg { margin-top: 18px; font-size: 15px; min-height: 22px; }
.form-msg.err { color: #A33A2B; } .form-msg.ok { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 720px) { .form { grid-template-columns: 1fr; } }

/* Roles table (work with us) */
.roles { margin-top: 56px; border-top: 1px solid var(--line); }
.role { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 3fr); gap: 12px 48px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start; }
.role h3 { font-size: 26px; } .role .who { color: var(--soft); margin-top: 10px; font-size: 16px; }
.role p { color: var(--soft); } .role .how { font-size: 15.5px; }
.role .how .quiet { margin-top: 12px; }
@media (max-width: 860px) { .role { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); position: relative; color: var(--soft); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 27px; width: 14px; height: 1.5px; background: var(--gold); }
.check-list li b { color: var(--ink); font-weight: 500; }
.gold-line { color: var(--gold-ink); font: 500 13px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-top: 26px; }

/* ================= v0.67 · pictures and moving parts ================= */
/* Line illustrations: navy lines, one gold dot, like the logo */
.illus { width: 100%; height: auto; color: var(--navy); overflow: visible; }
.illus * { vector-effect: non-scaling-stroke; }
.illus .g { fill: var(--gold); stroke: none; }
.illus .gf { fill: var(--gold); stroke: var(--gold); }
.illus .t { stroke-opacity: .42; }
.illus .d { stroke-dasharray: 1 7; }

/* Hero: the phone you can switch, and the chat that writes itself */
.phones-col { display: flex; flex-direction: column; align-items: flex-end; gap: 26px; }
.phones .front .screen > .app[hidden] { display: none; }
.phones .front .app { animation: none; }
.phones .front .app.swap { animation: screenIn .45s var(--ease); }
@keyframes screenIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.app .a-row { transition: background-color .35s, padding .35s var(--ease); border-radius: 8px; }
.app .a-row.on { background: var(--wash); padding-left: 8px; padding-right: 8px; margin: 0 -8px; }
.app .a-row.on i { color: var(--gold-ink); }
.xray-switch { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--wash); margin-right: 292px; }
.xray-switch button { border: 0; background: transparent; color: var(--soft); font: 500 14px/1 var(--sans); padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s; }
.xray-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line-strong), 0 6px 16px -10px rgba(18,34,70,.35); }
@media (max-width: 1180px) { .phones-col { align-items: center; } .xray-switch { margin-right: 0; } }
.js [data-chat] .bubble { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.js [data-chat].play .bubble { opacity: 0; transform: translateY(10px); }
.js [data-chat].play .bubble.shown { opacity: 1; transform: none; }
.typing { display: inline-flex; gap: 4px; padding: 13px 14px; border-radius: 16px; border-bottom-left-radius: 5px; background: var(--wash); margin-top: 10px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }

/* Careers by area */
.atiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 56px; }
.atile { display: flex; flex-direction: column; gap: 4px; padding: 22px 22px 22px; border-radius: 18px; background: var(--wash); text-decoration: none; color: var(--ink);
  transition: background-color .25s, transform .3s var(--ease); }
.atile .illus { width: 100%; max-width: 190px; margin: 6px auto 18px; transition: transform .5s var(--ease); }
.atile b { font: 500 19px/1.25 var(--serif); letter-spacing: -.01em; }
.atile span { color: var(--soft); font-size: 14.5px; }
.atile:hover { background: #EEF1F6; }
.atile:hover .illus { transform: translateY(-3px); }
@media (max-width: 980px) { .atiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .atiles { gap: 10px; } .atile { padding: 16px; } .atile b { font-size: 16.5px; } .atile .illus { margin-bottom: 10px; } }

/* A navy section */
.night { margin-top: var(--section); padding: 120px 0 128px; background: var(--navy); color: #fff; }
.night + section { }
.night .label { color: #D9B474; }
.night h2 { margin-top: 22px; max-width: 14em; }
.night .body { color: #C9CFDD; margin-top: 20px; }
.night-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 80px; align-items: end; }
.night-head .label { grid-column: 1 / -1; }
.night-head .body { margin-top: 0; }
@media (max-width: 860px) { .night { padding: 84px 0 92px; } .night-head { grid-template-columns: 1fr; } .night-head .body { margin-top: 20px; } }

/* The money map */
.mm { margin-top: 56px; }
.mm-tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.08); margin-bottom: 40px; }
.mm-tabs button { border: 0; background: transparent; color: #C9CFDD; font: 500 15px/1 var(--sans); padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s; }
.mm-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); }
.mm-what { font: 500 13px/1 var(--mono); letter-spacing: .08em; color: #9AA4BC; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
.mm-rows { list-style: none; padding: 0; margin: 0; }
.mm-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 10px 56px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.14); align-items: center; }
.mm-name { font: 500 20px/1.3 var(--serif); }
.mm-val { font: 500 clamp(26px, 3vw, 36px)/1 var(--serif); letter-spacing: -.02em; grid-column: 2; grid-row: 1; }
.mm-bar { grid-column: 2; height: 10px; border-radius: 5px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.mm-bar i, .mm-bar s { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 5px; transform-origin: left; transform: scaleX(1); transition: transform 1s var(--ease); }
.mm-bar i { width: var(--a); background: var(--gold); }
.mm-bar s { left: calc(var(--a) + 2px); width: calc(var(--b) - var(--a) - 2px); background: repeating-linear-gradient(135deg, var(--gold) 0 3px, rgba(191,140,58,.35) 3px 7px); transition-delay: .25s; }
.js .mm-panel:not(.on) .mm-bar i, .js .mm-panel:not(.on) .mm-bar s { transform: scaleX(0); transition: none; }
.mm-note { grid-column: 2; font-size: 14px; color: #9AA4BC; }
.mm-note a { color: #C9CFDD; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.mm-help { margin-top: 30px; color: #C9CFDD; font-size: 15.5px; max-width: 46em; }
.mm-help b { color: #fff; font-weight: 500; }
.mm-help a { color: #C9CFDD; text-underline-offset: 3px; }
@media (max-width: 760px) { .mm-row { grid-template-columns: 1fr; gap: 10px; } .mm-val, .mm-bar, .mm-note { grid-column: 1; grid-row: auto; } .mm-tabs { margin-bottom: 28px; } }
/* on a white page (the career pages) */
.mm-wrap { margin: 48px 0 8px; padding: 36px 40px 40px; border-radius: 22px; background: var(--wash); }
.mm-wrap .mm { margin-top: 0; }
.mm-wrap .mm-what { color: var(--faint); border-color: var(--line-strong); }
.mm-wrap .mm-row { border-color: var(--line-strong); }
.mm-wrap .mm-bar { background: #E3E6ED; }
.mm-wrap .mm-note, .mm-wrap .mm-help { color: var(--soft); }
.mm-wrap .mm-note a, .mm-wrap .mm-help a { color: var(--soft); text-decoration-color: var(--line-strong); }
.mm-wrap .mm-help b { color: var(--ink); }
@media (max-width: 600px) { .mm-wrap { padding: 24px 20px 26px; margin-left: calc(-1 * var(--gutter) + 8px); margin-right: calc(-1 * var(--gutter) + 8px); } }

/* Route timeline */
.rt { margin: 48px 0 16px; }
.rt-rows { display: grid; gap: 30px; }
.rt-name { font-size: 15px; color: var(--soft); margin-bottom: 12px; }
.rt-line { display: flex; align-items: stretch; }
.rt-seg { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--line);
  min-width: 0; transform-origin: left; transition: transform .7s var(--ease), opacity .5s; }
.rt-seg b { font-weight: 500; font-size: 15.5px; line-height: 1.3; }
.rt-seg small { font: 500 12px/1 var(--mono); color: var(--gold-ink); }
.rt-row .rt-seg:last-child { background: var(--navy); color: #fff; box-shadow: none; }
.rt-row .rt-seg:last-child small { color: #D9B474; }
.rt-mark { flex: none; width: 0; position: relative; z-index: 1; }
.rt-mark i { position: absolute; left: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #fff; }
.rt-mark em { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap; font: 500 12px/1 var(--mono); font-style: normal; color: var(--gold-ink); }
.rt-row { padding-bottom: 22px; }
.rt-axis { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--line-strong); font: 500 12px/1 var(--mono); color: var(--faint); }
.rt figcaption, .rt > figcaption { margin-top: 22px; font-size: 15px; color: var(--soft); max-width: 46em; }
.rt figcaption b { color: var(--ink); font-weight: 500; }
.rt figcaption a { color: var(--soft); text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.js .rt:not(.in) .rt-seg { transform: scaleX(.04); opacity: 0; }
.js .rt.in .rt-row:nth-child(2) .rt-seg { transition-delay: .25s; }
.js .rt.in .rt-seg + .rt-mark + .rt-seg { transition-delay: .35s; }
@media (max-width: 600px) { .rt-seg { padding: 10px 10px; } .rt-seg b { font-size: 13.5px; } .rt-mark em { font-size: 10.5px; } }

/* Class 8 to 12, to choose from */
.years2 { margin-top: 56px; }
.yr-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.yr-tabs::before { content: ""; position: absolute; left: 0; right: 0; top: 36px; height: 1px; background: var(--line-strong); }
.yr-tabs button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0; border: 0; background: none; padding: 0 16px 22px 0; text-align: left; cursor: pointer; color: var(--ink); font: inherit; }
.yr-tabs .yr { font: 500 15px/1 var(--mono); color: var(--faint); height: 24px; transition: color .2s; }
.yr-tabs .dot { width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy); margin: 6px 0 22px; transition: transform .3s var(--ease), background-color .2s; }
.yr-tabs .key .dot { box-shadow: inset 0 0 0 1.5px var(--gold); }
.yr-tabs b { font: 500 22px/1.2 var(--serif); letter-spacing: -.015em; color: var(--soft); transition: color .2s; }
.yr-tabs button:hover b { color: var(--ink); }
.yr-tabs button[aria-selected="true"] .yr { color: var(--gold-ink); }
.yr-tabs button[aria-selected="true"] .dot { background: var(--gold); box-shadow: none; transform: scale(1.35); }
.yr-tabs button[aria-selected="true"] b { color: var(--ink); }
.yr-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 16px; bottom: 0; height: 2px; background: var(--ink); }
.yr-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 80px; padding-top: 40px; border-top: 1px solid var(--line); animation: screenIn .4s var(--ease); }
.yr-panel[hidden] { display: none; }
.yr-lead { font: 500 clamp(24px, 2.4vw, 30px)/1.25 var(--serif); letter-spacing: -.015em; }
.yr-panel .check-list li:first-child { padding-top: 0; }
.yr-panel .check-list li:first-child::before { top: 11px; }
@media (max-width: 860px) {
  .yr-tabs { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-snap-type: x mandatory; }
  .yr-tabs::-webkit-scrollbar { display: none; }
  .yr-tabs button { flex: none; width: 46%; scroll-snap-align: start; }
  .yr-tabs::before { left: var(--gutter); right: auto; width: 230%; }
  .yr-panel { grid-template-columns: 1fr; padding-top: 30px; }
}

/* Doors with pictures */
.door .illus { width: 132px; margin: 0 0 18px -8px; }

/* Page heroes with a picture */
.hero-grid.art { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; }
.hero-art { padding: 34px; border-radius: 26px; background: var(--wash); }
.hero-art .illus { max-width: 340px; margin: 0 auto; }
.hero-art.wide { padding: 30px 34px 18px; }
.hero-art.wide .illus { max-width: none; }
@media (max-width: 920px) { .hero-grid.art { grid-template-columns: 1fr; gap: 44px; } .hero-art { padding: 24px; } .hero-art .illus { max-width: 260px; } .hero-art.wide .illus { max-width: none; } }

/* Area pictures on the careers page */
.area h2 { display: flex; align-items: center; gap: 18px; }
.area h2 .illus { width: 74px; flex: none; padding: 8px; border-radius: 14px; background: var(--wash); box-sizing: content-box; }

@media (prefers-reduced-motion: reduce) {
  .js [data-chat].play .bubble { opacity: 1; transform: none; }
  .js .mm-panel:not(.on) .mm-bar i, .js .mm-panel:not(.on) .mm-bar s { transform: none; }
  .js .rt:not(.in) .rt-seg { transform: none; opacity: 1; }
  .typing, .phones .front .app.swap, .yr-panel { animation: none; }
}
.area h2 span.an { font: inherit; color: inherit; letter-spacing: inherit; margin: 0; vertical-align: 0; }
