/*
Theme Name: Archway Defense
Theme URI: https://archwaydefense.com/
Author: Archway Defense LLC
Description: Custom theme for Archway Defense, a professional firearms, tactical and active-threat training company. Dark, cinematic, technical design with pages for law enforcement, organizations, MT0 private group training, courses, about, media and contact, plus a built-in inquiry form that emails the team and saves every submission in WordPress.
Version: 3.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: archway
*/

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Inter Tight"; src: url("assets/fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --black: #000;
  --surface: #0a0f17;
  --raise: #141618;
  --line: rgba(255, 255, 255, .14);
  --line-strong: rgba(255, 255, 255, .32);
  --text: #f2f2ef;
  --muted: #979ca1;
  --light: #ecebe7;
  --light-line: rgba(0, 0, 0, .14);
  --light-muted: #55595d;
  /* Archway Defense palette, sampled from the logo */
  --blue: #014976;        /* primary navy (Customizer can override) */
  --blue-steel: #325e89;  /* secondary steel blue */
  --blue-text: #7991b4;   /* light logo blue: small text and accents on black */
  --blue-deep: var(--blue);                     /* blue for text on light sections */
  --blue-line: rgba(121, 145, 180, .45);
  --slate: #404251;       /* brand slate (icon background) */
  --navy: #070d16;                                          /* blue-black for raised dark sections */
  --ok: #7fc79a;
  --err: #f08c8c;

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1320px;
  --gap: clamp(1.25rem, 3.5vw, 2.5rem);
  --section: clamp(5rem, 11vw, 9rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; color: var(--text); background: var(--black); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
p { margin: 0 0 1em; max-width: 64ch; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .4em; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 500; letter-spacing: -.035em; line-height: .98; margin: 0 0 .5em; }
h1 { font-size: clamp(3rem, 8vw, 7.25rem); }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.025em; line-height: 1.05; }
h4 { font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.25; font-weight: 600; }

.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 200; background: #fff; color: #000; padding: .75rem 1rem; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gap)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--surface { background: var(--surface); }
.section--light { background: var(--light); color: #0a0a0a; }
.section--rule { border-top: 1px solid var(--line); }

/* Technical label: small mono uppercase */
.label { display: block; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.section--light .label { color: var(--light-muted); }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; color: var(--muted); max-width: 52ch; letter-spacing: -.005em; }
.section--light .lede { color: var(--light-muted); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .75rem; font: 500 .8rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 1.05rem 1.5rem; border: 1px solid #fff; background: #fff; color: #000; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: transparent; color: #fff; }
.btn--line { background: transparent; color: #fff; border-color: var(--line-strong); }
.btn--line:hover { background: #fff; color: #000; border-color: #fff; }
.section--light .btn { background: #000; color: #fff; border-color: #000; }
.section--light .btn:hover { background: transparent; color: #000; }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.text-link { font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; border-bottom: 1px solid currentColor; padding-bottom: .3rem; }
.text-link svg { width: 12px; height: 12px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-header.is-solid, .site-header.is-open { background: rgba(0, 0, 0, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; flex: none; }
.brand img, .brand .custom-logo { max-height: 40px; width: auto; }
.brand .brand__lockup { height: 42px; max-height: none; width: auto; }
.brand--stacked img { height: 132px; max-height: none; width: auto; }
@media (max-width: 520px) { .brand .brand__lockup { height: 36px; } }
.logo-invert .brand img { filter: brightness(0) invert(1); }
.brand__mark { width: 22px; height: 26px; flex: none; }
.brand__name { font-weight: 600; font-size: 1.02rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: #fff; font: 500 .75rem var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: .7rem 1rem; cursor: pointer; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.primary-nav li { margin: 0; }
.primary-nav a { display: block; font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); text-decoration: none; padding: .85rem .8rem; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: #fff; }
.primary-nav .menu-cta > a, .primary-nav .nav-cta { border: 1px solid var(--line-strong); color: #fff; margin-left: .75rem; padding: .85rem 1.1rem; }
.primary-nav .menu-cta > a:hover, .primary-nav .nav-cta:hover { background: #fff; color: #000; border-color: #fff; }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .primary-nav { display: none; position: fixed; inset: 76px 0 0 0; background: #000; padding: 2rem var(--gap); overflow-y: auto; }
  .admin-bar .primary-nav { top: 108px; }
  .site-header.is-open .primary-nav { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav a { font: 500 1.8rem/1.1 var(--sans); letter-spacing: -.02em; text-transform: none; padding: 1.1rem 0; }
  .primary-nav .menu-cta, .primary-nav li:has(.nav-cta) { border-bottom: 0; }
  .primary-nav .menu-cta > a, .primary-nav .nav-cta { margin: 1.5rem 0 0; text-align: center; font: 500 .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 1.2rem; background: #fff; color: #000; }
}

/* ---------- Shared imagery: photo, video, or topographic texture ---------- */
.media-bg { position: absolute; inset: 0; overflow: hidden; background: #000; }
.media-bg img, .media-bg video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.media-bg--contours { background: #000 url("assets/contours.svg") center / cover no-repeat; opacity: .16; }
.media-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.85) 100%); }
.media-bg--contours::after { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; }
.hero__body { padding-bottom: clamp(3rem, 7vh, 5rem); padding-top: 140px; }
.hero h1 { max-width: 12ch; margin-bottom: .4em; }
.hero h1 span { display: block; }
.hero .lede { color: rgba(255,255,255,.78); max-width: 46ch; }
.hero__bar { position: relative; z-index: 2; border-top: 1px solid var(--line); }
.hero__bar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__bar div { font: 500 .72rem/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); padding: 1.15rem 0; }
.hero__bar div + div { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.hero__bar strong { color: #fff; font-weight: 500; display: block; }
@media (max-width: 760px) { .hero__bar .wrap { grid-template-columns: 1fr 1fr; } .hero__bar div:nth-child(3) { padding-left: 0; border-left: 0; } .hero__bar div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.page-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; overflow: hidden; padding: 150px 0 clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 6.2rem); max-width: 15ch; }
.page-hero .lede { color: rgba(255,255,255,.75); }

/* ---------- Statement ---------- */
.statement { font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; max-width: 30ch; margin: 0; }
.statement span { color: var(--light-muted); }
.section--surface .statement span, .section:not(.section--light) .statement span { color: var(--muted); }
.statement-grid { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; }
@media (max-width: 760px) { .statement-grid { grid-template-columns: 1fr; gap: .5rem; } }

/* ---------- Head row ---------- */
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head-row h2 { margin: 0; max-width: 16ch; }
.head-row p { margin: 0; }

/* ---------- Audience tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile { position: relative; min-height: clamp(460px, 62vh, 640px); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; text-decoration: none; color: #fff; overflow: hidden; background: #000; }
.tile .media-bg { transition: transform .6s ease; }
.tile:hover .media-bg { transform: scale(1.04); }
.tile > *:not(.media-bg):not(.tile__arch) { position: relative; z-index: 2; }
.tile .text-link { align-self: flex-start; }
.tile:nth-child(2) .media-bg--contours { background-position: 20% 80%; transform: scaleX(-1); }
.tile:nth-child(3) .media-bg--contours { background-position: 85% 30%; }
.tile:nth-child(2):hover .media-bg--contours { transform: scaleX(-1) scale(1.04); }
.tile__arch { position: absolute; z-index: 1; top: 2rem; left: 2rem; width: 54px; height: 64px; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 999px 999px 0 0; }
.tile h3 { font-size: clamp(2rem, 3vw, 2.75rem); margin-bottom: .35em; }
.tile p { color: rgba(255,255,255,.72); font-size: 1rem; margin-bottom: 1.5rem; max-width: 34ch; }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 420px; } }

/* ---------- Big figure ---------- */
.figure { font-size: clamp(7rem, 18vw, 15rem); font-weight: 500; letter-spacing: -.06em; line-height: .8; margin: 0 0 1.25rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.split--center { align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Steps (real sequences only) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
.section--light .steps { border-top-color: var(--light-line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.section--light .steps li { border-bottom-color: var(--light-line); }
.steps li::before { content: "Step " counter(s); font: 500 .72rem/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.section--light .steps li::before { color: var(--light-muted); }
.steps h4 { margin: 0 0 .3rem; }
.steps p { margin: 0; color: var(--muted); }
.section--light .steps p { color: var(--light-muted); }

/* ---------- Spec grid ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec-grid > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2rem 1.75rem 2.25rem; min-height: 230px; display: flex; flex-direction: column; }
.spec-grid h3 { font-size: 1.5rem; margin-top: auto; margin-bottom: .5rem; }
.spec-grid p { color: var(--muted); font-size: .98rem; margin: 0; }
.spec-grid .label { margin-bottom: 2.5rem; }
.section--light .spec-grid, .section--light .spec-grid > div { border-color: var(--light-line); }
.section--light .spec-grid p { color: var(--light-muted); }
.spec-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .spec-grid, .spec-grid--2 { grid-template-columns: 1fr; } .spec-grid > div { min-height: 0; } .spec-grid .label { margin-bottom: 1.5rem; } }

/* ---------- Record table ---------- */
.record { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.record th, .record td { text-align: left; vertical-align: top; padding: 1rem 0; border-top: 1px solid var(--line); }
.record tr:last-child th, .record tr:last-child td { border-bottom: 1px solid var(--line); }
.record th { font: 500 .72rem/1.7 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); width: 34%; padding-right: 1rem; }
.record td { font-size: 1.02rem; }
.section--light .record th, .section--light .record td { border-color: var(--light-line); }
.section--light .record th { color: var(--light-muted); }

/* Portrait */
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--raise); border: 1px solid var(--line); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.portrait--empty { background: #000; }
.portrait--empty::before { content: ""; position: absolute; inset: 0; background: url("assets/contours.svg") 70% 40% / cover; opacity: .2; }
.portrait--empty .brand__mark { color: #fff; }
.portrait--empty .brand__mark { position: absolute; left: 50%; top: 50%; width: 30%; height: auto; transform: translate(-50%, -50%); opacity: .35; }
.portrait__hint { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; font: 500 .7rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.portrait__cap { display: flex; justify-content: space-between; margin-top: .9rem; font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Quote */
.quote { margin: 2.5rem 0 0; padding: 0; }
.quote p { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.12; max-width: 26ch; margin-bottom: .9rem; }
.quote cite { font: 500 .72rem var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.section--light .quote cite { color: var(--light-muted); }

/* ---------- Coverage strip ---------- */
.coverage { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.coverage a { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2rem 1.5rem; text-decoration: none; font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; color: rgba(255,255,255,.62); transition: color .2s, background .2s; min-height: 120px; display: flex; align-items: flex-end; }
.coverage a:hover { color: #fff; background: var(--raise); }

/* ---------- Course catalog ---------- */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; }
.filter button { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: .85rem 1.1rem; border: 1px solid var(--line-strong); background: transparent; color: rgba(255,255,255,.75); cursor: pointer; }
.filter button:hover { color: #fff; border-color: #fff; }
.filter button[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.course { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; padding: 2.75rem 0; border-top: 1px solid var(--line); }
.course:last-of-type { border-bottom: 1px solid var(--line); }
.course h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: .45em; }
.course p { color: var(--muted); }
.course__facts { margin: 0; display: grid; grid-template-columns: 9.5rem 1fr; border-top: 1px solid var(--line); }
.course__facts dt, .course__facts dd { padding: .8rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.course__facts dt { font: 500 .7rem/1.7 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-right: 1.25rem; }
.course__facts dd { font-size: .97rem; }
@media (max-width: 860px) { .course { grid-template-columns: 1fr; gap: 1.25rem; } }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 0 0 1.5rem; }

/* ---------- Sponsors ---------- */
.sponsors { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); }
.sponsors-label { margin-top: 2.75rem; }
.sponsors a { flex: 1 1 180px; padding: 1.4rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.15rem; font-weight: 500; color: rgba(255,255,255,.8); }
.sponsors a + a { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.sponsors a:hover { color: #fff; }

/* ---------- Checklists ---------- */
.checklist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.checklist li { padding: .9rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.section--light .checklist, .section--light .checklist li { border-color: var(--light-line); }

/* ---------- Media list ---------- */
.media-group { margin-bottom: 4.5rem; }
.media-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.media-list li { margin: 0; border-bottom: 1px solid var(--line); }
.media-list a { display: grid; grid-template-columns: 260px 1fr auto; gap: 2rem; align-items: baseline; padding: 1.5rem 0; text-decoration: none; }
.media-list a:hover .outlet { color: #fff; }
.media-list .outlet { font: 500 .75rem/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.media-list .title { font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.media-list .go { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .media-list a { grid-template-columns: 1fr; gap: .4rem; } }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.timeline strong { font: 500 .78rem/1.7 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.timeline p { margin: 0; font-size: 1.1rem; }
.section--light .timeline, .section--light .timeline li { border-color: var(--light-line); }
.section--light .timeline strong { color: var(--light-muted); }

/* ---------- Form ---------- */
.form-panel { border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--surface); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.5rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font: 500 .7rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; }
.field .hint { text-transform: none; letter-spacing: 0; color: #6b7075; }
.field input, .field select, .field textarea { width: 100%; font: 400 1.05rem/1.4 var(--sans); color: #fff; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: .65rem 0; }
.field select { -webkit-appearance: none; appearance: none; background: transparent 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='%23979ca1' stroke-width='1.5'/%3E%3C/svg%3E") right .2rem center no-repeat; }
.field select option { background: #111; color: #fff; }
.field textarea { min-height: 130px; resize: vertical; border: 1px solid var(--line-strong); padding: .8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #fff; }
.field ::placeholder { color: #62676c; }
.hp-field { position: absolute !important; left: -9999px !important; }
.form-note { font-size: .88rem; color: var(--muted); margin: 1.25rem 0 0; }
.notice { padding: 1rem 1.25rem; margin-bottom: 1.75rem; font-weight: 500; border: 1px solid; }
.notice--ok { color: var(--ok); border-color: rgba(127,199,154,.45); }
.notice--err { color: var(--err); border-color: rgba(240,140,140,.45); }
.contact-points { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.contact-points li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-points strong { font: 500 .72rem/1.8 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding-block: clamp(6rem, 14vw, 11rem); border-top: 1px solid var(--line); }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(3rem, 8vw, 7rem); max-width: 13ch; }

/* ---------- Generic content ---------- */
.entry { padding-block: var(--section); }
.entry-content > * { max-width: 72ch; }
.entry-content a { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(4rem, 8vw, 6rem); font-size: .97rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 4rem; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-motto { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; max-width: 14ch; margin: 1.75rem 0 0; }
.site-footer h4 { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid var(--line); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font: 500 .7rem/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Video control ---------- */
.video-toggle { position: absolute; z-index: 3; right: var(--gap); top: 96px; font: 500 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.55); border: 1px solid var(--line-strong); padding: .7rem .9rem; cursor: pointer; }
.video-toggle:hover { background: #fff; color: #000; }

/* ---------- Footer legal links ---------- */
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.form-note a { color: #fff; }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.legal-nav { position: sticky; top: 110px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.legal-nav a { font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { color: #fff; }
.legal-body { max-width: 72ch; }
.legal-body .legal-intro { font-size: 1.2rem; line-height: 1.5; color: var(--text); margin-bottom: 2.5rem; }
.legal-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.025em; line-height: 1.1; margin: 3rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.legal-body h3 { font-size: 1.15rem; letter-spacing: -.01em; margin: 1.75rem 0 .6rem; }
.legal-body p, .legal-body li { color: #c4c8cc; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body ul { padding-left: 1.2rem; margin: 0 0 1.25rem; }
.legal-body li { margin-bottom: .55rem; }
.legal-body a { color: #fff; text-decoration: underline; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 0 1.5rem; border-top: 0; } .legal-nav a { border-bottom: 0; padding: .5rem 0; } }

/* ---------- Brand blue (kept deliberately quiet) ---------- */
:focus-visible { outline-color: var(--blue-text); }
.label, .steps li::before, .portrait__cap, .quote cite { color: var(--blue-text); }
.section--light .label, .section--light .steps li::before, .section--light .quote cite { color: var(--blue-deep); }
.hero .label, .page-hero .label { color: var(--blue-text); }
.text-link { border-bottom-color: var(--blue-text); }
.text-link:hover { color: var(--blue-text); }
.tile__arch { border-color: var(--blue-line); }
.tile:hover .tile__arch { border-color: var(--blue-text); }
.tile:hover h3 { color: #fff; }
.hero__bar { border-top-color: var(--blue-line); }
.media-bg::after { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.12) 35%, rgba(4,12,24,.9) 100%); }
.cta { background: radial-gradient(120% 90% at 85% 110%, color-mix(in srgb, var(--blue) 22%, transparent), transparent 60%), #000; }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { box-shadow: inset 0 -2px 0 var(--blue-text); }
.primary-nav .menu-cta > a:hover, .primary-nav .nav-cta:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn:hover { border-color: var(--blue-text); }
.btn--line:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.section--light .btn:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.filter button:hover { border-color: var(--blue-text); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-text); }
.legal-nav a[aria-current="page"] { color: #fff; box-shadow: inset 2px 0 0 var(--blue-text); padding-left: .9rem; }
.coverage a:hover { background: var(--navy); }
.figure { background: linear-gradient(180deg, #fff 55%, var(--blue-text)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-footer { background: linear-gradient(180deg, #000, var(--navy)); }
@media (max-width: 860px) { .legal-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); padding-left: 0; } }

.course__facts { align-self: start; align-content: start; }

/* ---------- Logo placements ---------- */
.hero__mark { position: absolute; z-index: 1; right: max(var(--gap), calc((100% - var(--wrap)) / 2)); top: 50%; transform: translateY(-58%); height: min(62vh, 560px); width: auto; opacity: .07; pointer-events: none; }
@media (max-width: 900px) { .hero__mark { height: 46vh; right: -12%; opacity: .05; } }
.statement__logo { display: block; width: 92px; height: auto; margin-top: .5rem; }
@media (max-width: 760px) { .statement__logo { width: 64px; margin-bottom: 1rem; } }
.footer-motto { margin-top: 2rem; }
