/* Public site layer over the Industry design system (industry.css). Every value comes from its tokens.
   The redesign's inline styles live here as classes so pages run under a strict Content-Security-Policy. */

html { scroll-behavior: smooth; }
body { margin: 0; text-wrap: pretty; }
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-900); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 20; padding: 8px 12px; background: var(--color-accent); color: var(--color-bg); }
.skip-link:focus { top: 8px; color: var(--color-bg); }

@keyframes nc-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes nc-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes nc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes nc-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes nc-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Scroll reveal: only hidden once the script has confirmed it can reveal (html.js), so content never stays invisible. */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1), background .25s, box-shadow .25s; }
.js [data-reveal="in"] { opacity: 1; transform: none; }
.stagger > :nth-child(6n+2) { transition-delay: .07s; animation-delay: .05s; }
.stagger > :nth-child(6n+3) { transition-delay: .14s; animation-delay: .1s; }
.stagger > :nth-child(6n+4) { transition-delay: .21s; animation-delay: .15s; }
.stagger > :nth-child(6n+5) { transition-delay: .28s; animation-delay: .2s; }
.stagger > :nth-child(6n+6) { transition-delay: .35s; animation-delay: .25s; }
.rise { animation: nc-rise .9s both; }
.rise-1 { animation-delay: .15s; } .rise-2 { animation-delay: .3s; } .rise-3 { animation-delay: .45s; } .rise-4 { animation-delay: .6s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ── Frame ─────────────────────────────────────────────── */
/* Page width: content spans the window up to --page-max; --gutter keeps text off the edges. */
:root { --page-max: 1600px; --gutter: clamp(20px, 5vw, 72px); }
.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section-tight { padding: 0 0 72px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px clamp(32px, 5vw, 96px); }
.grid-2.align-start { align-items: start; }
.grid-2.align-end { align-items: end; }
.grid-2.align-center { align-items: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, max(260px, calc((100% - 80px) / 3))), 1fr)); gap: clamp(20px, 3vw, 40px); }
.cards-240 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.stack-16 { display: grid; gap: 16px; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; } .mt-32 { margin-top: 32px; }

/* ── Type ──────────────────────────────────────────────── */
.kicker { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--color-accent-700); margin-bottom: 12px; }
.kicker-rule { height: 1px; border: 0; margin: 0 0 40px; background: var(--color-divider); }
.kicker-rule.sm { margin-bottom: 20px; } .kicker-rule.xs { margin-bottom: 8px; } .kicker-rule.md { margin-bottom: 32px; } .kicker-rule.xxs { margin-bottom: 4px; } .kicker-rule.mdl { margin-bottom: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--color-accent-700); animation: nc-rise .8s both; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--color-accent-700); transform-origin: left; animation: nc-draw .8s .2s both; }
.display { font-family: var(--font-heading); font-weight: 600; font-size: clamp(44px, 6vw, 84px); line-height: 1.0; letter-spacing: 0.01em; text-transform: uppercase; margin: 20px 0 0 -0.05em; }
.display.xl { font-size: clamp(48px, 7vw, 96px); margin-top: 24px; }
.display > span { display: block; animation: nc-rise .9s both; }
.display > span:nth-child(1) { animation-delay: .15s; }
.display > span:nth-child(2) { animation-delay: .3s; color: var(--color-accent-700); }
.display > span:nth-child(3) { animation-delay: .45s; }
.h2 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; margin: 0; }
.h2-sm { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; margin: 0; }
.h3 { font-size: 24px; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; margin: 0; }
.h3.lg { font-size: 26px; }
.lede { font-size: 17px; line-height: 1.55; max-width: 58ch; margin: 32px 0 0; color: var(--color-neutral-800); }
.lede.flush { margin: 0; max-width: 52ch; }
.copy { font-size: 16px; line-height: 1.55; color: var(--color-neutral-800); margin: 20px 0 0; max-width: 46ch; }
.copy-sm { font-size: 15px; line-height: 1.55; color: var(--color-neutral-800); margin: 12px 0 0; }
.muted { color: var(--color-neutral-700); }
.num { font-feature-settings: 'tnum' 1; }
.label-sm { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.accent { color: var(--color-accent-700); }

/* ── Buttons & links ───────────────────────────────────── */
.btn { text-decoration: none; transition: background .2s, color .2s, transform .15s; }
.btn-lg { padding: 10px 18px; }
.btn-primary:hover { color: var(--color-bg); }
.btn-lift:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-invert { background: var(--color-bg); color: var(--color-accent-900); border-color: var(--color-bg); }
.btn-invert:hover { background: var(--color-accent-100); color: var(--color-accent-900); }
.btn-on-dark { color: var(--color-bg); border-color: var(--color-accent-600); }
.btn-on-dark:hover { background: var(--color-accent-800); color: var(--color-bg); }
.tag { text-decoration: none; }
.tag-line { border: 1px solid var(--color-divider); background: transparent; }
.more-link { display: inline-block; margin-top: 14px; font-size: 14px; }

/* ── Header ────────────────────────────────────────────── */
.site-nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--color-bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-divider); padding: 12px max(var(--gutter), calc((100% - var(--page-max)) / 2 + var(--gutter))); gap: 20px; flex-wrap: wrap; }
.site-nav .nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; font-family: var(--font-heading); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; color: var(--color-accent-700); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 18px; text-transform: uppercase; letter-spacing: 0.02em; }
.brand-strap { font-family: var(--font-body); font-weight: 500; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-700); margin-top: 3px; }
.nav-links { display: flex; gap: 4px 20px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.site-nav .nav-links > a:not(.btn) { font-size: 14px; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.site-nav .nav-links > a:not(.btn):hover, .site-nav .nav-links > a[aria-current="page"] { color: var(--color-accent-700); border-bottom-color: var(--color-accent-700); }
.site-nav .btn-primary { color: var(--color-bg); margin-left: 8px; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--color-divider); margin-top: 48px; }
.footer-grid { max-width: var(--page-max); margin: 0 auto; padding: 48px var(--gutter) 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px 40px; font-size: 14px; line-height: 1.6; color: var(--color-neutral-800); }
.footer-title { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--color-text); }
.footer-grid p { margin: 10px 0 0; max-width: 32ch; }
.footer-cred { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--color-accent-700); }
.footer-head { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--color-neutral-700); margin-bottom: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; font-style: normal; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: var(--color-accent-700); }
.footer-links a.email { color: var(--color-accent-700); }
.footer-base { border-top: 1px solid var(--color-divider); }
.footer-base > div { max-width: var(--page-max); margin: 0 auto; padding: 16px var(--gutter); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--color-neutral-700); }
.footer-base a { color: inherit; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { text-decoration: none; }

/* ── Hero ──────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; padding: 80px 0 56px; }
.hero.home { padding: 96px 0 72px; gap: 48px clamp(32px, 5vw, 80px); }
.hero.contact { padding-bottom: 48px; }
.hero-figure { margin: 0; aspect-ratio: 4 / 3; animation: nc-rise 1s .3s both; }
.hero-figure img, .banner img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hero-figure:hover img { transform: scale(1.04); }
.banner { margin: 0 0 72px; aspect-ratio: 21 / 8; animation: nc-rise 1s .5s both; }
.particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-side { animation: nc-rise .9s .5s both; }

/* ── Ticker ────────────────────────────────────────────── */
.ticker { overflow: hidden; border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); padding: 12px 0; margin: 0 0 24px; }
.ticker-track { display: flex; width: max-content; gap: 48px; animation: nc-marquee 40s linear infinite; font-family: var(--font-heading); font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral-700); white-space: nowrap; }
.ticker-track span::after { content: "·"; margin-left: 48px; }

/* ── Spec sheet ────────────────────────────────────────── */
.sheet-head { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--color-divider); font-size: 13px; line-height: 24px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.sheet-head > span { padding: 12px 24px; white-space: nowrap; }
.sheet-head > span:first-child { flex: 1; min-width: 16ch; white-space: normal; }
.sheet-head > span + span { border-left: 1px solid var(--color-divider); color: var(--color-neutral-700); }
.sheet-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.sheet-cell { padding: 24px; border-right: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); }
.sheet-cell:last-child { border-right: 0; }
.sheet-label { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--color-accent-700); }
.sheet-value { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 56px; line-height: 1; margin-top: 16px; font-feature-settings: 'tnum' 1; }
.sheet-note { display: block; font-size: 14px; color: var(--color-neutral-700); margin-top: 10px; }
.sheet-foot { margin: 0; padding: 12px 24px; font-size: 13px; line-height: 24px; color: var(--color-neutral-700); }

/* ── Numbered lists ────────────────────────────────────── */
.plain-list { list-style: none; margin: 0; padding: 0; }
.aim-row { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--color-divider); font-size: 15px; line-height: 1.5; color: var(--color-neutral-800); }
.aim-row .n { font-family: var(--font-heading); font-weight: 600; font-size: 20px; line-height: 1.1; color: var(--color-accent-700); font-feature-settings: 'tnum' 1; }

/* ── Tally callout & course table ──────────────────────── */
.callout { margin-top: 32px; padding: 20px 24px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; text-decoration: none; color: inherit; transition: background .25s; }
.callout:hover { background: var(--color-accent-100); color: inherit; }
.callout-word { font-family: var(--font-heading); font-weight: 600; font-size: 28px; line-height: 1; text-transform: uppercase; color: var(--color-accent-700); }
.callout-text { font-size: 14px; line-height: 1.5; color: var(--color-neutral-800); }
.callout-text strong { font-weight: 600; color: var(--color-text); }
.course-table { table-layout: fixed; }
.course-table th:first-child { padding: 12px 0 12px 24px; width: 56px; }
.course-table th:nth-child(2) { padding: 12px 24px 12px 0; }
.course-table th:last-child { padding: 12px 24px 12px 0; width: 140px; }
.course-table td { vertical-align: middle; }
.course-table td:first-child { padding: 11px 0 11px 24px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--color-accent-700); font-feature-settings: 'tnum' 1; }
.course-table td:nth-child(2) { padding: 11px 24px 11px 0; font-family: var(--font-heading); font-weight: 600; font-size: 20px; letter-spacing: 0.02em; }
.course-table td:last-child { padding: 11px 24px 11px 0; }
.table-foot { display: block; padding: 12px 24px; border-top: 1px solid var(--color-divider); font-size: 13px; line-height: 24px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; text-decoration: none; }

/* ── Cards ─────────────────────────────────────────────── */
.card-link { padding: 24px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.card-link:hover, .hover-card:hover { background: var(--color-accent-100); box-shadow: var(--shadow-md); color: inherit; }
.card-pad { padding: 24px; }
.card-num { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--color-accent-700); font-feature-settings: 'tnum' 1; }
.card-body { font-size: 15px; line-height: 1.55; margin: 0; color: var(--color-neutral-800); flex: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-col { padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.card-col .tag { align-self: flex-start; }

/* ── Dark panel ────────────────────────────────────────── */
.panel-dark { position: relative; isolation: isolate; background: var(--color-accent-900); color: var(--color-bg); padding: clamp(32px, 5vw, 64px); }
.panel-dark.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px clamp(32px, 5vw, 80px); }
.panel-dark .kicker { color: var(--color-accent-300); margin-bottom: 16px; }
.panel-dark .h2 { color: var(--color-bg); }
.panel-dark .copy { color: var(--color-accent-200); max-width: 40ch; }
.pulse-kicker { display: flex; align-items: center; gap: 10px; }
.pulse-kicker::before { content: ""; width: 8px; height: 8px; background: var(--color-accent-300); animation: nc-pulse 2s infinite; }
.portal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.portal-grid.wide { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 32px; }
.portal { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--color-accent-700); color: var(--color-bg); text-decoration: none; transition: background .25s, transform .25s; }
.portal:hover { background: var(--color-accent-800); transform: translateY(-3px); color: var(--color-bg); }
.portal-title { font-family: var(--font-heading); font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; }
.portal-body { font-size: 14px; color: var(--color-accent-200); line-height: 1.5; }
.portal-open { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-300); margin-top: auto; }
.panel-foot { margin: 24px 0 0; font-size: 13px; color: var(--color-accent-300); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.stat-box { padding: 20px; border: 1px solid var(--color-accent-700); transition: background .25s; }
.stat-box:hover { background: var(--color-accent-800); }
.stat-box .v { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 40px; line-height: 1; color: var(--color-accent-300); }
.stat-box .l { display: block; font-size: 14px; color: var(--color-accent-200); margin-top: 8px; }
.recog-row { padding: 16px 0; border-bottom: 1px solid var(--color-accent-700); display: grid; grid-template-columns: 110px 1fr; gap: 16px; font-size: 15px; line-height: 1.5; }
.recog-row:last-child { border-bottom: 0; }
.recog-row .k { font-family: var(--font-heading); font-weight: 600; font-size: 22px; text-transform: uppercase; color: var(--color-accent-300); }
.recog-row .t { color: var(--color-accent-200); }

/* ── News, quote, CTA ──────────────────────────────────── */
.news { padding: 48px 0 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px clamp(32px, 5vw, 96px); }
.news-title { font-size: 32px; line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; margin: 0; }
.news-row { display: grid; grid-template-columns: minmax(90px, auto) 1fr; gap: 16px 24px; padding: 16px 0; border-bottom: 1px solid var(--color-divider); align-items: baseline; }
.news-row time { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--color-accent-700); font-feature-settings: 'tnum' 1; }
.news-row span { font-family: var(--font-heading); font-weight: 600; font-size: 22px; letter-spacing: 0.02em; line-height: 1.2; }
.quote { padding: 24px 0 48px; }
.quote blockquote { font-family: var(--font-heading); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; max-width: 34ch; margin: 0; text-indent: -0.316em; }
.quote figcaption { font-size: 15px; margin-top: 20px; color: var(--color-neutral-700); text-indent: -0.885em; }
.cta { padding: 24px 0; }
.cta-box { padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta-box p { font-size: 15px; color: var(--color-neutral-800); margin: 12px 0 0; max-width: 56ch; }
.cta-plain { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.cta-plain h2 { font-size: 28px; line-height: 1.1; letter-spacing: 0.01em; text-transform: uppercase; margin: 0; }

/* ── About ─────────────────────────────────────────────── */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 24px; }
.timeline li { position: relative; padding: 28px 0 0; border-top: 1px solid var(--color-divider); }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--color-accent); }
.timeline .y { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 40px; line-height: 1; color: var(--color-accent-700); font-feature-settings: 'tnum' 1; }
.timeline .t { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 19px; line-height: 1.2; letter-spacing: 0.02em; text-transform: uppercase; margin-top: 12px; }
.timeline .b { display: block; font-size: 14px; line-height: 1.5; color: var(--color-neutral-700); margin-top: 8px; padding-bottom: 24px; }
.sticky-col { position: sticky; top: 96px; }
.pull-quote { font-family: var(--font-heading); font-weight: 600; font-size: 28px; line-height: 1.15; margin: 32px 0 0; color: var(--color-accent-700); text-indent: -0.316em; }
.aim-card { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 24px; align-items: start; }
.aim-card:hover { background: var(--color-accent-100); }
.aim-card .n { font-family: var(--font-heading); font-weight: 600; font-size: 36px; line-height: 1; color: var(--color-accent-700); font-feature-settings: 'tnum' 1; }
.aim-card .t { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: 0.02em; text-transform: uppercase; }
.aim-card .b { display: block; font-size: 15px; line-height: 1.5; color: var(--color-neutral-800); margin-top: 6px; }
.cell-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-left: 1px solid var(--color-divider); border-top: 1px solid var(--color-divider); }
.cell { padding: 20px; border-right: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); }
.cell:hover { background: var(--color-accent-100); }
.cell.row { display: flex; gap: 12px; align-items: flex-start; }
.cell .n { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--color-accent-700); font-feature-settings: 'tnum' 1; padding-top: 3px; }
.cell .t { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 19px; line-height: 1.2; letter-spacing: 0.02em; text-transform: uppercase; }
.cell.tall { padding: 24px 20px; }
.cell.tall .t { font-size: 22px; line-height: 1.1; }
.cell .b { display: block; font-size: 14px; line-height: 1.5; color: var(--color-neutral-700); margin-top: 8px; }

/* ── Training ──────────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.course-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; min-height: 150px; animation: nc-fade .45s both; transition: background .25s, box-shadow .25s; }
.course-card[hidden] { display: none; }
.course-card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.course-card .n { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--color-accent-700); font-feature-settings: 'tnum' 1; }
.course-card .t { font-family: var(--font-heading); font-weight: 600; font-size: 22px; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; }
.course-card .b { font-size: 14px; line-height: 1.5; color: var(--color-neutral-700); flex: 1; }
.module-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--color-divider); }
.module-row .n { font-family: var(--font-heading); font-weight: 600; font-size: 32px; line-height: 1; color: var(--color-accent-700); font-feature-settings: 'tnum' 1; }
.module-row .t { font-family: var(--font-heading); font-weight: 600; font-size: 24px; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; }

/* ── Services ──────────────────────────────────────────── */
.offer { padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.offer .letter { font-family: var(--font-heading); font-weight: 600; font-size: 40px; line-height: 1; color: var(--color-accent-700); }
.offer p { font-size: 15px; line-height: 1.55; color: var(--color-neutral-800); margin: 8px 0 0; }
.big-figures { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.big-figures .v { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 44px; line-height: 1; color: var(--color-accent-700); }
.big-figures .l { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--color-neutral-700); margin-top: 6px; }
.list-head { display: flex; justify-content: space-between; gap: 16px; padding: 12px 24px; border-bottom: 1px solid var(--color-divider); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.scroll-list { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow: auto; }
.project-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; padding: 12px 24px; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent); align-items: start; font-size: 14px; line-height: 1.45; animation: nc-fade .4s both; transition: background .2s; }
.project-row[hidden] { display: none; }
.project-row:hover { background: var(--color-accent-100); }
.project-row .n { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--color-accent-700); font-feature-settings: 'tnum' 1; padding-top: 2px; }
.btn-sm { font-size: 13px; }

/* ── Contact ───────────────────────────────────────────── */
.contact-dl { margin: 0; padding: 20px 24px; display: grid; grid-template-columns: minmax(80px, auto) 1fr; gap: 14px 16px; font-size: 15px; line-height: 1.5; }
.contact-dl dt { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--color-neutral-700); padding-top: 2px; }
.contact-dl dd { margin: 0; color: var(--color-neutral-800); overflow-wrap: anywhere; min-width: 0; }
.contact-dl .phones { display: flex; flex-direction: column; gap: 2px; font-feature-settings: 'tnum' 1; }
.contact-dl .phones a { color: inherit; text-decoration: none; }
.contact-dl .social { display: flex; gap: 14px; flex-wrap: wrap; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 24px; }
.branch { padding: 14px 16px; border: 1px solid var(--color-divider); }
.branch:hover { background: var(--color-accent-100); }
.branch .k { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--color-accent-700); }
.branch .t { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 19px; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; margin-top: 4px; }
.map { margin: 24px 0 0; aspect-ratio: 16 / 9; background: var(--color-surface); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(0.95); }
.enquiry-form { padding: 24px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; animation: nc-rise .9s .55s both; }
.enquiry-form h2 { font-size: 28px; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; margin: 0; }
.enquiry-form .intro { font-size: 14px; color: var(--color-neutral-700); margin: 8px 0 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.field-error { display: block; font-size: 12px; color: #9b2c2c; margin-top: 4px; }
.input-validation-error { border-color: #9b2c2c; }
.form-note { font-size: 13px; color: var(--color-neutral-700); }
.notice { padding: 12px 16px; border: 1px solid var(--color-accent); background: var(--color-accent-100); color: var(--color-accent-900); font-size: 14px; }
.notice.error { border-color: #9b2c2c; background: #fbeaea; color: #6b1d1d; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── Error page ────────────────────────────────────────── */
.error-page { padding-top: 96px; padding-bottom: 48px; }

@media (max-width: 640px) {
  .site-nav { padding: 10px 16px; }
  .nav-links { justify-content: flex-start; }
  .enquiry-form, .sticky-col { position: static; }
  .sheet-cell { border-right: 0; }
  .recog-row { grid-template-columns: 1fr; gap: 4px; }
  .module-row { grid-template-columns: 44px 1fr; }
  .module-row .tag { display: none; }
  .project-row { grid-template-columns: 32px 1fr; }
  .project-row .tag { grid-column: 2; justify-self: start; }
}

/* ── Logo mark: the National Computers monitor-and-orbit logo, coloured from the design tokens ── */
.logo-mark { display: block; width: 100%; height: 100%; overflow: visible; }
.logo-swoosh { fill: var(--color-accent); }
.logo-n { fill: var(--color-accent-700); }
.logo-bezel { fill: var(--color-neutral-200); stroke: var(--color-neutral-600); stroke-width: 1.4; stroke-linejoin: round; }
.logo-side { fill: var(--color-neutral-400); }
.logo-screen { fill: var(--color-neutral-300); stroke: var(--color-neutral-500); stroke-width: .8; stroke-linejoin: round; }
.logo-shadow { fill: var(--color-neutral-300); }
.brand-logo { display: block; width: 46px; height: 46px; flex: none; }
.site-nav .nav-brand:hover .logo-swoosh { fill: var(--color-accent-600); }
