/* Black Boat Technologies
   Visual language borrowed from hydrographic charts (INT 1 / "Chart No. 1"):
   buff land, blue shallows, white deep water, magenta for notes and courses,
   black for everything that is solid. Signal-flag colours only on flags. */

:root {
  --paper: #fbfbf8;
  --ink: #101214;
  --ink-2: #3b4148;
  --ink-3: #6b737c;
  --rule: #c9cfd4;
  --land: #f3e0a3;
  --land-line: #c7ae64;
  --shoal-5: #9ccbe6;
  --shoal-10: #bcdcef;
  --shoal-20: #dfeff8;
  --depth-line: #7d9db3;
  --magenta: #b0067a;
  --signal-yellow: #f5c400;
  --signal-blue: #1f4c9c;
  --signal-red: #cf2231;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --wd-wide: 125;
  --wd-norm: 100;
  --wd-cond: 74;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--magenta); }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 760; line-height: 1.02; letter-spacing: -0.015em; }
p { margin: 0; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
}
.skip:focus { top: 12px; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.mark-hull { fill: var(--hull, var(--ink)); }
.mark-flare { fill: var(--magenta); }
.mark-water { stroke: var(--hull, var(--ink)); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-size: 19px; font-weight: 850; text-transform: uppercase;
  font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 9.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.42em; margin-top: 5px; color: var(--ink-2);
  font-variation-settings: "wdth" 100;
}
.brand-light { --hull: var(--paper); }
.brand-light .brand-sub { color: #aab2ba; }

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); font-size: 15px; font-weight: 560; }
.nav a { text-decoration: none; }
.nav a:not(.nav-cta):hover { text-decoration: underline; text-decoration-color: var(--magenta); }
.nav-cta {
  border: 1.5px solid var(--ink); padding: 8px 14px; font-weight: 700;
  font-variation-settings: "wdth" 112;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) {
  .nav a:not(.nav-cta) { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 8px; letter-spacing: 0.38em; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; font-size: 16px; font-weight: 700; text-decoration: none;
  font-variation-settings: "wdth" 112; letter-spacing: 0.01em;
  border: 0; border-radius: 2px; cursor: pointer; font-family: inherit;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink span { transition: transform .2s ease; }
.btn-ink:hover span { transform: translateX(4px); }
.btn-ink:hover { background: #24282d; }
.link-arrow { font-weight: 650; text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- eyebrow / section heads ---------- */
.eyebrow {
  font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.16em;
  font-variation-settings: "wdth" 125; color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow-n { color: var(--magenta); font-style: italic; letter-spacing: 0.04em; }
.eyebrow-dark { color: #b9c0c7; }
.eyebrow-dark .eyebrow-n { color: #ff6fc6; }

.section-head {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 22px 48px; align-items: end;
}
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 64px); max-width: 20ch; font-variation-settings: "wdth" 104; text-wrap: balance; }
.section-note { max-width: 36ch; color: var(--ink-2); font-size: 18px; padding-bottom: 6px; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- hero / chart ---------- */
.hero {
  position: relative;
  min-height: clamp(620px, calc(100svh - 69px), 940px);
  overflow: hidden;
  display: flex; align-items: center;
}
.chart { position: absolute; inset: 0; }
.chart-svg { width: 100%; height: 100%; }

.sea-deep { fill: var(--paper); }
.sea-20 { fill: var(--shoal-20); }
.sea-10 { fill: var(--shoal-10); }
.sea-5 { fill: var(--shoal-5); }
.depth-line { stroke: var(--depth-line); stroke-width: 0.9; vector-effect: non-scaling-stroke; }
.depth-line.dashed { stroke-dasharray: 6 4; opacity: .7; }
.depth-line.faint { opacity: .55; }
.land { fill: var(--land); }
.hatch { stroke: var(--land-line); stroke-width: 0.7; opacity: .45; }
.coast { stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.soundings text {
  font-size: 15px; font-style: italic; font-weight: 420; fill: #34495a;
  font-variation-settings: "wdth" 88; text-anchor: middle;
}
.soundings .sub { font-size: 10px; }
.water-labels .wl {
  font-style: italic; font-size: 21px; font-weight: 450; fill: #3f6a8c;
  letter-spacing: 0.12em; font-variation-settings: "wdth" 100;
}
.water-labels .wl.big { font-size: 22px; letter-spacing: 0.5em; fill: #7f9db5; font-style: normal; font-weight: 600; }
.water-labels .wl.small { font-size: 16px; }
.land-labels text {
  font-size: 15px; font-weight: 700; letter-spacing: 0.3em; fill: #5d4c17;
  font-variation-settings: "wdth" 125;
}
.land-labels .small { font-size: 11px; font-weight: 500; letter-spacing: .1em; font-style: italic; }

.course-path { stroke: var(--magenta); stroke-width: 2.4; stroke-dasharray: 14 8; vector-effect: non-scaling-stroke; }
.wp circle { fill: var(--paper); stroke: var(--magenta); stroke-width: 2; }
.wp circle.dot { fill: var(--magenta); stroke: none; }
.wp text {
  font-size: 13px; font-weight: 700; fill: var(--magenta); letter-spacing: 0.14em;
  font-variation-settings: "wdth" 115;
  paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round;
}
.flare { fill: var(--magenta); }
.lt { fill: var(--ink); }
.lt-label { font-size: 12px; font-style: italic; fill: var(--magenta); font-weight: 600; }

.rose-ring { fill: none; stroke: var(--magenta); stroke-width: 1.3; }
.rose-ring.thin { stroke-width: .8; }
.rose-ticks { stroke: var(--magenta); stroke-width: 1; }
.rose-labels text { font-size: 9px; fill: var(--magenta); text-anchor: middle; font-weight: 600; }
.rose-dark { fill: var(--magenta); }
.rose-light { fill: var(--paper); stroke: var(--magenta); stroke-width: .8; }
.rose-n { font-size: 15px; font-weight: 800; fill: var(--magenta); text-anchor: middle; }
.rose-var { font-size: 9px; fill: var(--magenta); text-anchor: middle; letter-spacing: .08em; font-style: italic; }

#boatg { transition: opacity .4s; }

/* neatline: the graduated border every chart wears */
.neatline { position: absolute; inset: 12px; pointer-events: none; box-shadow: 0 0 0 14px var(--paper); }
.nl { position: absolute; border: 1px solid var(--ink); }
.nl-top, .nl-bottom {
  left: 0; right: 0; height: 9px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 60px, var(--paper) 60px 120px);
}
.nl-top { top: 0; } .nl-bottom { bottom: 0; }
.nl-left, .nl-right {
  top: 0; bottom: 0; width: 9px;
  background: repeating-linear-gradient(180deg, var(--ink) 0 60px, var(--paper) 60px 120px);
}
.nl-left { left: 0; } .nl-right { right: 0; }
.neatline::after { content: ""; position: absolute; inset: 9px; border: 1px solid var(--ink); }

.graticule span {
  position: absolute; top: 26px; transform: translateX(-50%);
  font-size: 11px; font-style: italic; color: var(--ink-2); font-weight: 500;
}
.graticule span.lat { top: auto; left: 28px !important; transform: translateY(-50%); }
.graticule span::before {
  content: ""; position: absolute; left: 50%; top: -6px; width: 1px; height: 5px; background: var(--ink);
}
.graticule span.lat::before { display: none; }

.sounder {
  position: absolute; left: 34px; bottom: 34px; z-index: 2;
  background: var(--paper); border: 1px solid var(--ink);
  padding: 7px 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em;
  font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 110;
  display: none; gap: 6px; align-items: baseline;
}
.sounder-k { color: var(--magenta); font-size: 10px; letter-spacing: .16em; margin-left: 6px; }
.sounder-k:first-child { margin-left: 0; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) { .sounder { display: flex; } }
.chart.is-probing { cursor: crosshair; }

.hero-copy {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 96px calc(var(--gutter) + 28px) 150px;
  pointer-events: none;
}
.hero-copy > * { max-width: 760px; }
.hero-copy a, .hero-copy button { pointer-events: auto; }
.title-block {
  display: inline-flex; flex-wrap: wrap; border: 1.5px solid var(--ink); background: var(--paper);
  font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  font-variation-settings: "wdth" 125; margin-bottom: 30px;
}
.title-block span { padding: 7px 12px; }
.title-block span + span { border-left: 1.5px solid var(--ink); }
.title-block span:first-child { background: var(--ink); color: var(--paper); }
.hero h1 {
  font-size: clamp(46px, 7.4vw, 112px);
  font-weight: 820; line-height: .93; letter-spacing: -0.03em;
  font-variation-settings: "wdth" 108;
  max-width: 11ch;
  text-wrap: balance;
}
.lede {
  margin-top: 28px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 34em; color: var(--ink-2);
  background: color-mix(in srgb, var(--paper) 82%, transparent); box-decoration-break: clone;
}
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

@media (max-width: 899px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .chart { position: relative; inset: auto; order: 2; height: auto; aspect-ratio: 1040 / 700; }
  .title-block span:nth-child(3) { display: none; }
  .chart-svg { position: absolute; inset: 0; }
  .hero-copy { order: 1; padding: 44px var(--gutter) 36px; }
  .graticule { display: none; }
  .neatline { inset: 8px; box-shadow: 0 0 0 8px var(--paper); }
}

/* ---------- notices ---------- */
.notices {
  display: grid; grid-template-columns: 230px 1fr; gap: 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.notices-label {
  padding: 20px 24px 20px var(--gutter); font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; font-variation-settings: "wdth" 125; line-height: 1.4;
  background: var(--magenta); color: #fff;
}
.notices-label span { font-weight: 500; font-style: italic; letter-spacing: .08em; opacity: .85; }
.notices-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.notices-list li { padding: 20px 26px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.notices-list li + li { border-left: 1px solid var(--rule); }
.notices-list b { color: var(--ink); font-weight: 750; }
@media (max-width: 1000px) {
  .notices { grid-template-columns: 1fr; }
  .notices-list { grid-template-columns: 1fr; }
  .notices-list li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .notices-list li { padding: 16px var(--gutter); }
}

/* ---------- §1 legend ---------- */
.work { padding: clamp(80px, 10vw, 150px) 0 clamp(70px, 8vw, 120px); }
.legend {
  list-style: none; padding: 0; margin: clamp(48px, 6vw, 80px) auto 0;
  width: min(calc(var(--max) - 2 * var(--gutter)), calc(100% - 2 * var(--gutter)));
  border-top: 2px solid var(--ink);
}
.legend-row {
  display: grid; grid-template-columns: 44px 76px minmax(0, 1fr) 260px; gap: 0 28px; align-items: start;
  padding: 30px 0 32px; border-bottom: 1px solid var(--rule);
  transition: background .25s;
}
.legend-row:hover { background: linear-gradient(90deg, transparent, var(--shoal-20) 30%, transparent); }
.legend-n {
  font-size: 13px; font-weight: 800; color: var(--magenta); padding-top: 10px;
  font-variation-settings: "wdth" 125; letter-spacing: .1em;
}
.legend-sym { width: 64px; height: 64px; color: var(--ink); }
.legend-body h3 { font-size: clamp(24px, 2.6vw, 36px); font-variation-settings: "wdth" 110; font-weight: 750; }
.legend-body p { margin-top: 12px; max-width: 58ch; color: var(--ink-2); }
.legend-body a { font-weight: 650; }
.legend-key {
  padding-top: 10px; font-size: 14px; color: var(--ink-3); line-height: 1.45;
  border-left: 1px solid var(--rule); padding-left: 18px;
}
.legend-key i { color: var(--magenta); font-weight: 650; font-style: italic; margin-right: 4px; }
@media (max-width: 960px) {
  .legend-row { grid-template-columns: 56px 1fr; gap: 6px 16px; }
  .legend-n { display: none; }
  .legend-sym { width: 50px; height: 50px; grid-row: span 2; }
  .legend-key { border-left: 0; padding-left: 0; padding-top: 4px; }
}

/* ---------- §2 course ---------- */
.course { padding: clamp(80px, 9vw, 130px) 0; background: var(--shoal-20); border-top: 1px solid var(--depth-line); border-bottom: 1px solid var(--depth-line); position: relative; overflow: hidden; }
.course::before {
  /* faint chart grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(var(--shoal-10) 1px, transparent 1px),
    linear-gradient(90deg, var(--shoal-10) 1px, transparent 1px);
  background-size: 96px 96px;
}
.course > * { position: relative; }
.course-track { max-width: var(--max); margin: 56px auto 0; padding: 0 var(--gutter); position: relative; }
.course-line { width: 100%; height: 120px; overflow: visible; }
.course-line path { fill: none; stroke: var(--magenta); stroke-width: 2.4; stroke-dasharray: 14 8; vector-effect: non-scaling-stroke; }
.track-boat { position: absolute; top: 0; left: 0; width: 46px; height: 46px; will-change: transform; pointer-events: none; }
.waypoints-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.waypoints-list li { padding: 22px 26px 0 0; border-top: 1.5px solid var(--ink); position: relative; }
.waypoints-list li::before {
  content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--magenta);
}
.waypoints-list li + li { padding-left: 0; }
.wp-meta { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-2); font-variation-settings: "wdth" 120; }
.wp-n { color: var(--magenta); margin-right: 8px; }
.waypoints-list h3 { margin-top: 12px; font-size: clamp(22px, 2.2vw, 30px); font-variation-settings: "wdth" 108; }
.waypoints-list p:last-child { margin-top: 12px; color: var(--ink-2); font-size: 16px; max-width: 30ch; }
.course-foot { margin-top: 40px; font-size: 13px; font-style: italic; color: var(--ink-3); }
@media (max-width: 900px) {
  .course-line, .track-boat { display: none; }
  .waypoints-list { grid-template-columns: 1fr; margin-top: 0; border-left: 2px dashed var(--magenta); margin-left: 6px; }
  .waypoints-list li { border-top: 0; padding: 0 0 34px 28px; }
  .waypoints-list li::before { left: -8px; top: 2px; }
  .waypoints-list li + li { padding-left: 28px; }
  .waypoints-list p:last-child { max-width: 46ch; }
}

/* ---------- §3 ClassNest ---------- */
.classnest {
  --cn-amber: #f59e0b;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(90px, 10vw, 150px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px 64px; align-items: start;
}
.cn-intro { display: grid; gap: 22px; align-content: start; position: sticky; top: 110px; }
.cn-intro h2 { display: flex; align-items: center; gap: 16px; font-size: clamp(44px, 5.4vw, 76px); font-variation-settings: "wdth" 100; letter-spacing: -0.03em; }
.cn-logo { width: .9em; height: .9em; background: var(--ink); border-radius: 18%; display: grid; place-items: center; flex: none; }
.cn-logo svg { width: 76%; height: 76%; }
.cn-logo circle { fill: var(--paper); }
.cn-logo .cn-core { fill: var(--cn-amber); }
.cn-lede { font-size: 22px; line-height: 1.35; font-weight: 560; font-variation-settings: "wdth" 104; }
.cn-intro p:not(.cn-lede):not(.eyebrow) { color: var(--ink-2); max-width: 46ch; }
.cn-intro .btn { justify-self: start; margin-top: 6px; }

.cn-shot { margin: 0; margin-right: calc(-1 * var(--gutter)); }
.cn-frame {
  border: 1.5px solid var(--ink); background: #fff;
  box-shadow: 14px 14px 0 var(--land);
  transform: rotate(-0.6deg);
}
.cn-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1.5px solid var(--ink); background: var(--paper); }
.cn-bar span { width: 9px; height: 9px; border: 1.5px solid var(--ink); border-radius: 50%; }
.cn-bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--ink-2); letter-spacing: .02em; }
.cn-shot img { width: 100%; height: auto; }
.cn-shot figcaption { margin-top: 22px; font-size: 13px; font-style: italic; color: var(--ink-3); }

.cn-facts {
  grid-column: 2; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
}
.cn-facts div { padding: 18px 18px 0 0; }
.cn-facts dt {
  font-size: clamp(40px, 4.6vw, 64px); font-style: italic; font-weight: 400; line-height: 1;
  font-variation-settings: "wdth" 86; color: #34495a;
}
.cn-facts dd { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); max-width: 18ch; }
.cn-features { grid-column: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cn-features h3 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .16em; font-variation-settings: "wdth" 120;
  padding-bottom: 10px; margin-bottom: 12px; border-bottom: 3px solid var(--cn-amber); display: inline-block;
}
.cn-features p { font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 1000px) {
  .classnest { grid-template-columns: 1fr; gap: 40px; }
  .cn-intro { position: static; }
  .cn-facts, .cn-features { grid-column: 1; }
  .cn-shot { margin-right: 0; }
}
@media (max-width: 620px) {
  .cn-features { grid-template-columns: 1fr; }
  .cn-facts dd { font-size: 13px; }
  .cn-frame { box-shadow: 8px 8px 0 var(--land); }
}

/* ---------- §4 won't ---------- */
.wont { background: var(--ink); color: var(--paper); }
.wont-inner { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 10vw, 150px) var(--gutter); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px 64px; }
.wont .eyebrow { grid-column: 1 / -1; }
.wont h2 { font-size: clamp(36px, 4.4vw, 62px); font-variation-settings: "wdth" 104; }
.wont-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #3a4046; }
.wont-list li {
  display: grid; grid-template-columns: 44px 1fr; align-items: baseline;
  font-size: clamp(22px, 2.5vw, 34px); line-height: 1.2; font-weight: 520;
  font-variation-settings: "wdth" 84; letter-spacing: -0.01em;
  padding: 20px 0; border-bottom: 1px solid #3a4046;
}
.wont-list .x { color: #ff6fc6; font-size: .7em; font-weight: 800; }
@media (max-width: 900px) { .wont-inner { grid-template-columns: 1fr; } }

/* ---------- §5 signal ---------- */
.signal {
  max-width: var(--max); margin: 0 auto; padding: clamp(90px, 10vw, 150px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px 80px; align-items: start;
}
.flag-col { position: sticky; top: 110px; }
.flag-k {
  width: 100%; max-width: 420px; aspect-ratio: 3 / 2; height: auto;
  border-left: 6px solid var(--ink);
  transform-origin: left center;
  animation: flutter 6s ease-in-out infinite;
}
@keyframes flutter {
  0%, 100% { transform: perspective(900px) rotateY(0deg) skewY(0deg); }
  50% { transform: perspective(900px) rotateY(-9deg) skewY(-1.2deg); }
}
@media (prefers-reduced-motion: reduce) { .flag-k { animation: none; } }
.flag-cap { margin-top: 22px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.flag-cap b { color: var(--ink); font-variation-settings: "wdth" 120; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.flag-cap span { font-size: 13px; font-style: italic; color: var(--ink-3); }

.signal-body { display: grid; gap: 22px; }
.signal-body h2 { font-size: clamp(40px, 5vw, 72px); font-variation-settings: "wdth" 104; letter-spacing: -0.03em; }
.signal-lede { font-size: 19px; color: var(--ink-2); max-width: 40ch; }
.signal-form { margin-top: 18px; display: grid; gap: 22px; }
.signal-form label { display: grid; gap: 8px; }
.signal-form label span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-variation-settings: "wdth" 120; }
.signal-form textarea, .signal-form input {
  font: inherit; font-size: 17px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--ink); border-radius: 0; padding: 14px 16px; resize: vertical;
}
.signal-form textarea::placeholder, .signal-form input::placeholder { color: #9aa1a8; font-style: italic; }
.signal-form textarea:focus, .signal-form input:focus { outline: none; box-shadow: 4px 4px 0 var(--signal-yellow); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form-alt { font-size: 14px; color: var(--ink-3); }
.form-msg { font-size: 14px; color: var(--magenta); min-height: 1.5em; }
@media (max-width: 900px) {
  .signal { grid-template-columns: 1fr; }
  .flag-col { position: static; display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; }
  .flag-cap { margin-top: 0; font-size: 14px; }
}

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 64px var(--gutter) 34px; }
.footer-top, .footer-bottom { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 30px; font-size: 15px; }
.footer-nav a { text-decoration: none; color: #d5dade; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: #ff6fc6; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid #343a40; font-size: 13px; color: #9aa3ab; }
.footer-warn { font-style: italic; }
.flags-strip { width: 116px; height: auto; }
