/* Media House holding page. Direction A, Proof Sheet (team/DESIGN-MEDIA-HOUSE.md in the Foundry repo).
   Plain CSS, no JavaScript. Free fonts only, self-hosted. */
@font-face { font-family: "Cabinet Grotesk"; src: url(fonts/cabinet-grotesk-variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(fonts/ibm-plex-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --sheet: #fff; --paper: #f5f6f7; --ink: #111316; --ink-2: #3c424a; --mute: #555c65; --rule: #d5d9de;
  --proof: #c42b12; --proof-bright: #e5391f;
  --display: "Cabinet Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sheet); color: var(--ink); font: 400 16px/1.65 var(--body); overflow-x: clip; }
h1, h2, h3, p, dl, dd, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.mono { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.04em; }
a { color: var(--proof); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; padding: 10px 14px; background: var(--ink); color: #fff; z-index: 10; }
.skip:focus { top: 12px; }

.top { border-bottom: 1px solid var(--rule); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 20px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand-mark { width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 50%; position: relative; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--proof-bright); }
.brand-mark::before { left: 50%; top: -6px; bottom: -6px; width: 2px; transform: translateX(-50%); }
.brand-mark::after { top: 50%; left: -6px; right: -6px; height: 2px; transform: translateY(-50%); }
.top-note { color: var(--mute); }

/* hero: the page is a proof sheet */
.hero { padding-block: 48px 64px; }
.sheet { position: relative; padding: 40px 0 8px; }
.crop { position: absolute; width: 22px; height: 22px; border: 0 solid var(--ink); }
.crop.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.crop.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.crop.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.crop.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.sheet > :not(.crop) { margin-inline: 20px; }
.stamp { display: inline-block; transform: rotate(-3deg); margin-bottom: 28px; }
.stamp-in { display: inline-block; padding: 6px 14px; border: 2px solid var(--proof); color: var(--proof); font: 700 14px/1.2 var(--display); letter-spacing: 0.14em; text-transform: uppercase; }
h1 { max-width: 18ch; font: 700 clamp(2.25rem, 7.5vw, 4.75rem)/1.02 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.lede { max-width: 38rem; margin-top: 24px; font-size: 17px; color: var(--ink-2); }
.actions { margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 2px solid var(--ink); border-radius: 0; background: var(--ink); color: #fff; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: #fff; color: var(--ink); }
.btn[disabled] { background: var(--paper); color: var(--mute); border-color: var(--rule); cursor: not-allowed; }
.margin { margin-top: 40px; padding-bottom: 20px; color: var(--mute); }

/* colour-bar divider */
.bars { height: 14px; background: linear-gradient(90deg, #111316 0 20%, #00a0d6 20% 40%, #e5007d 40% 60%, #ffe600 60% 80%, #fff 80%); border-block: 1px solid var(--ink); }

.sec { padding-block: 72px; }
.sec + .sec { border-top: 1px solid var(--rule); }
.sec.paper { background: var(--paper); }
h2 { max-width: 20ch; font: 700 clamp(1.9rem, 4.6vw, 3rem)/1.08 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.sub { max-width: 34rem; margin-top: 14px; color: var(--ink-2); }
.grid2 { display: grid; gap: 36px; }
@media (min-width: 900px) { .grid2 { grid-template-columns: 5fr 6fr; column-gap: 8%; align-items: start; } .sec { padding-block: 112px; } .hero { padding-block: 72px 96px; } }

.list { list-style: none; margin-top: 40px; border-top: 1px solid var(--ink); }
.list li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding-block: 24px; border-bottom: 1px solid var(--rule); }
.n { color: var(--proof); padding-top: 6px; }
h3 { font: 700 22px/1.2 var(--display); letter-spacing: -0.02em; }
.list p { margin-top: 6px; max-width: 34rem; color: var(--ink-2); }
@media (min-width: 900px) { .list li { grid-template-columns: 72px 1fr 1fr; align-items: baseline; } .list p { margin-top: 0; } }

.facts { border-top: 1px solid var(--ink); }
.facts > div { display: grid; gap: 4px; padding-block: 18px; border-bottom: 1px solid var(--rule); }
@media (min-width: 560px) { .facts > div { grid-template-columns: 11rem 1fr; gap: 24px; } }
.facts dt { color: var(--mute); font-size: 14px; }
.facts dd { font-weight: 600; }

.form { display: grid; gap: 20px; max-width: 34rem; }
.field { display: grid; gap: 6px; }
label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--mute); }
input, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--ink-2); border-radius: 0; background: #fff; color: var(--ink); font: 400 16px/1.4 var(--body); }
textarea { resize: vertical; }
.fine { font-size: 14px; color: var(--mute); }
.notice { padding: 14px 16px; border: 2px solid var(--proof); color: var(--ink); font-size: 15px; }
/* outcome notices: hidden until the form handler sends the visitor back to #unavailable or #invalid */
.notice.status { display: none; }
.notice.status:target { display: block; }
/* honeypot: off-screen for people, still in the form for bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form button { justify-self: start; }

.foot { border-top: 1px solid var(--ink); padding-block: 32px 40px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.foot-name { font: 700 16px/1.4 var(--display); }
.foot-name .mono { margin-left: 10px; color: var(--mute); font-weight: 500; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Book a call: header button on every page, paired hero actions */
.top-right { display: inline-flex; align-items: center; gap: 16px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-line { background: #fff; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (max-width: 420px) { .top-note { display: none; } .actions .btn:not(.btn-sm) { flex: 1 1 100%; } }
