/* =============================================================
   AAA Garage Doors — Archetype 07 "Brutalist Grid"
   Palette: royal blue #244CE8 · navy #10214A · red #D93644 · sky #A9D9FF
            white · fog #F4F6FA · muted #5C6883 · line #D9DFEC
   1 Tokens · 2 Reset · 3 Utilities · 4 Type · 5 Grid · 6 Components
   7 Header · 8 Sections · 9 Effects · 10 Responsive · 11 Motion
   Rules of the archetype: no border-radius, no shadows, no gradients.
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --blue: #244CE8;
  --ink: #10214A;
  --red: #D93644;
  --sky: #A9D9FF;
  --fog: #F4F6FA;
  --white: #FFFFFF;
  --muted: #5C6883;
  --line: #D9DFEC;

  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --hdr-h: 64px;
  --pad: clamp(1.1rem, 2.4vw, 2rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* section theme (overridden by .blk-ink / .blk-blue) */
  --bg: var(--white);
  --fg: var(--ink);
  --lc: var(--ink);
}

/* 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 8px); }
body {
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; padding-bottom: 56px;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; font-weight: 800; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.blk-ink :focus-visible, .blk-blue :focus-visible, .site-footer :focus-visible { outline-color: var(--sky); }

/* 3. Utilities ------------------------------------------------- */
.wrap { max-width: 1440px; margin-inline: auto; border-inline: 1px solid var(--lc); background: var(--bg); }
.skip-link { position: fixed; top: -100px; left: 0; z-index: 999; padding: .8rem 1rem; background: var(--blue); color: #fff; font-family: var(--mono); }
.skip-link:focus { top: 0; }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 400; }
.mut { color: var(--muted); }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tag { position: absolute; z-index: 2; top: 0; left: 0; padding: .35rem .7rem; background: var(--ink); color: #fff; }
.tag-red { background: var(--red); color: #fff; }

/* 4. Type ------------------------------------------------------ */
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; line-height: .92; letter-spacing: 0; }
h1 { font-size: clamp(2.9rem, 1rem + 7.4vw, 7rem); font-weight: 900; }
h1 em { font-style: normal; color: var(--blue); display: inline-block; border-bottom: .09em solid var(--red); line-height: .95; }
h2 { font-size: clamp(2.2rem, 1rem + 4.4vw, 4.4rem); font-weight: 800; }
h3 { font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem); font-weight: 800; line-height: 1; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); max-width: 56ch; }
.kicker { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.kicker span:first-child { color: var(--blue); font-weight: 700; }
.blk-ink .kicker span:first-child, .blk-blue .kicker span:first-child { color: var(--sky); }

/* 5. Grid (12 cols, 1px hairlines) ------------------------------ */
.g { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; background: var(--lc); border-block: 1px solid var(--lc); }
.g + .g, .g + .note, .sample-banner + .g { border-top: 0; }
.g > * { background: var(--bg); color: var(--fg); min-width: 0; }
.cell { grid-column: span 12; padding: var(--pad); }
.t6 { --t: 6; } .t12 { --t: 12; }
.c3 { --d: 3; } .c4 { --d: 4; } .c5 { --d: 5; } .c7 { --d: 7; } .c8 { --d: 8; } .c9 { --d: 9; }

/* hover invert (instant, no easing — signature effect) */
.inv:hover { background: var(--fg); color: var(--bg); }
.inv:hover .mut { color: var(--sky); }
.blk-ink .inv:hover .mut { color: var(--muted); }

/* 6. Components ------------------------------------------------ */
.btn {
  --b: var(--white); --f: var(--ink); --hb: var(--ink); --hf: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 52px; padding: .8rem 1.4rem;
  font-family: var(--mono); font-size: .86rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  background: var(--b); color: var(--f); border: 1px solid var(--ink);
}
.btn:hover { background: var(--hb); color: var(--hf); }
.btn-lg { min-height: 60px; padding: 1rem 1.7rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-blue { --b: var(--blue); --f: #fff; }
.btn-ink { --b: var(--ink); --f: #fff; --hb: var(--blue); }
.btn-white { --b: #fff; --f: var(--blue); }
.btn-line { --b: #fff; --f: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ticks { display: grid; gap: .5rem; margin-top: 1.1rem; }
.ticks li { position: relative; padding-left: 1.5rem; font-weight: 500; font-size: .96rem; }
.ticks li::before { content: "+"; position: absolute; left: 0; font-family: var(--mono); font-weight: 700; color: var(--blue); }
.inv:hover .ticks li::before { color: var(--sky); }

/* 7. Header ---------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hdr-h); background: #fff; border-bottom: 1px solid var(--ink); }
.hdr { height: 100%; display: flex; align-items: stretch; border-inline: 0; background: transparent; }
.brand { display: flex; flex-direction: column; justify-content: center; padding: 0 1.1rem; border-right: 1px solid var(--ink); line-height: 1; }
.brand b { font-family: var(--display); font-weight: 900; font-size: 2.1rem; color: var(--blue); letter-spacing: .02em; }
.brand span { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; margin-top: 2px; }
.brand:hover { background: var(--ink); } .brand:hover b, .brand:hover span { color: #fff; }
.nav { position: fixed; inset: var(--hdr-h) 0 auto 0; display: none; flex-direction: column; background: #fff; border-bottom: 1px solid var(--ink); }
.menu-open .nav { display: flex; }
.nav a { padding: 1.1rem var(--pad); border-top: 1px solid var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; }
.nav a:hover, .nav a.is-active { background: var(--ink); color: #fff; }
.hdr-actions { margin-left: auto; display: flex; align-items: stretch; }
.lang { display: flex; border-left: 1px solid var(--ink); }
.lang button { min-width: 46px; font-family: var(--mono); font-size: .78rem; font-weight: 700; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang button:hover:not([aria-pressed="true"]) { background: var(--sky); }
.hdr-btn { display: none; align-items: center; gap: .55rem; padding: 0 1.2rem; border-left: 1px solid var(--ink); font-family: var(--mono); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.hdr-wa:hover { background: var(--ink); color: #fff; }
.hdr-quote { background: var(--blue); color: #fff; }
.hdr-quote:hover { background: var(--ink); }
.menu-btn { width: 64px; border-left: 1px solid var(--ink); display: grid; place-items: center; }
.menu-btn:hover { background: var(--ink); color: #fff; }
.menu-lines, .menu-lines::before { display: block; width: 24px; height: 2px; background: currentColor; }
.menu-lines { position: relative; }
.menu-lines::before { content: ""; position: absolute; top: 7px; left: 0; }
.menu-lines::after { content: ""; position: absolute; top: -7px; left: 0; width: 24px; height: 2px; background: currentColor; }
.menu-open .menu-lines { background: transparent; }
.menu-open .menu-lines::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-lines::after { top: 0; transform: rotate(-45deg); }

/* 8. Sections -------------------------------------------------- */
.blk-ink { --bg: var(--ink); --fg: #fff; --lc: rgba(255, 255, 255, .38); }
.blk-blue { --bg: var(--blue); --fg: #fff; --lc: rgba(255, 255, 255, .55); }
.blk { background: var(--bg); color: var(--fg); border-top: 1px solid var(--lc); }
.blk .wrap { border-inline-color: var(--lc); }

.blk-head .num { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 110px; }
.blk-head .num .mono:first-child { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: 0; color: var(--blue); }
.blk-ink .blk-head .num .mono:first-child { color: var(--sky); }
.blk-head h2 { max-width: 20ch; }

/* --- Hero --- */
.hero { padding-top: var(--hdr-h); }
.hero-copy { display: flex; flex-direction: column; gap: 1.6rem; padding-block: clamp(1.5rem, 4vw, 3.5rem); }
.hero-copy .lead { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .4rem; }
.hero-fig { position: relative; padding: 0; min-height: 320px; }
.hero-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; position: absolute; inset: 0; }
.hero-fig figcaption { position: absolute; left: 0; bottom: 0; padding: .55rem .9rem; background: #fff; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); display: flex; gap: .8rem; }
.hero-fig figcaption span:first-child { color: var(--blue); font-weight: 700; }
.stats li { display: flex; flex-direction: column; gap: .5rem; justify-content: space-between; min-height: 150px; }
.stats strong { font-size: clamp(2.4rem, 1rem + 3.2vw, 3.6rem); line-height: 1; font-weight: 700; letter-spacing: -.02em; text-transform: none; color: var(--blue); }
.stats li:hover strong { color: var(--sky); }
.stats li > span { font-size: .9rem; font-weight: 500; max-width: 26ch; }

/* --- Marquee --- */
.marquee { overflow: hidden; background: var(--blue); color: #fff; border-block: 1px solid var(--ink); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 1.6rem; padding-block: .7rem; will-change: transform; }
.marquee span { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 1rem + 5vw, 5rem); line-height: 1; white-space: nowrap; }
.marquee i { flex: none; width: 1.4rem; height: 1.4rem; background: var(--red); }

/* --- Services --- */
.cards .card { position: relative; display: flex; flex-direction: column; padding: 0; }
.card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--ink); }
.card-body { flex: 1; padding: var(--pad); display: flex; flex-direction: column; gap: .9rem; }
.card-foot { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--pad); border-top: 1px solid var(--ink); font-weight: 700; }
.card:hover > img { border-color: var(--fg); }

/* --- Iván --- */
.portrait { position: relative; padding: 0; min-height: 420px; }
.portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: .2rem; padding: 1rem var(--pad); background: #fff; border-top: 1px solid var(--ink); }
.portrait strong { font-family: var(--display); font-size: 2.3rem; font-weight: 900; line-height: 1; }
.portrait .tag { position: static; align-self: flex-start; margin-bottom: .6rem; }
.ivan-copy { display: flex; flex-direction: column; gap: 2rem; }
.rows li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .3rem 1rem; padding-block: 1.25rem; border-top: 1px solid var(--ink); }
.rows li > span { color: var(--blue); font-weight: 700; padding-top: .35rem; }
.rows li > p { grid-column: 2; }

/* --- Process --- */
.step { display: flex; flex-direction: column; gap: .8rem; min-height: 280px; }
.step h3 { min-height: 2em; }
.step p { color: rgba(255, 255, 255, .82); max-width: 32ch; }
.step:hover p { color: var(--ink); }
.step-n { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--sky); margin-bottom: auto; }
.step:hover .step-n { color: var(--blue); }

/* --- Gallery --- */
.gallery figure { display: flex; flex-direction: column; padding: 0; }
.gallery img { flex: 1; min-height: 0; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery figcaption { padding: .65rem 1rem; border-top: 1px solid var(--ink); display: flex; gap: .8rem; }
.gallery figcaption span:first-child { color: var(--blue); font-weight: 700; }
.note { padding: .8rem var(--pad); border-bottom: 1px solid var(--ink); color: var(--muted); background: #fff; }
.note a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.note a:hover { background: var(--ink); color: #fff; text-decoration: none; }

/* --- Service area --- */
.map { padding: 0; }
.map svg { width: 100%; height: auto; }
.map .note { border-top: 1px solid var(--ink); border-bottom: 0; }
.areas-copy { display: flex; flex-direction: column; gap: 1.5rem; }
.city-list { border-top: 1px solid var(--ink); }
.city-list li { display: flex; gap: 1rem; padding: .9rem .6rem; border-bottom: 1px solid var(--ink); font-size: .95rem; font-weight: 700; }
.city-list li > span { color: var(--blue); width: 1.4rem; }
.city-list li.dash { border-bottom-style: dashed; color: var(--muted); font-weight: 400; }
.city-list li.dash em { font-style: normal; }
.city-list li:hover > span { color: var(--sky); }
.areas-copy .btn { align-self: flex-start; }

/* --- Reviews --- */
.sample-banner { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline; padding: 1rem var(--pad); background: var(--fog); border-inline: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-weight: 500; font-size: .95rem; }
.sample-banner strong { color: var(--red); font-weight: 700; }
.quote { position: relative; display: flex; flex-direction: column; gap: 1.5rem; padding-top: 3.2rem; min-height: 320px; }
.quote .tag { left: auto; right: 0; }
.quote blockquote { font-size: 1.15rem; font-weight: 500; line-height: 1.5; }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: .2rem; padding-top: 1rem; border-top: 1px solid currentColor; }
.quote figcaption span { opacity: .75; }

/* --- FAQ --- */
.faq-head { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.faq-list { padding: 0; }
.faq-list details { border-bottom: 1px solid var(--ink); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem var(--pad); cursor: pointer; list-style: none; font-weight: 600; font-size: 1.08rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: var(--ink); color: #fff; }
.faq-list summary i { position: relative; flex: none; width: 18px; height: 18px; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 2px; background: currentColor; }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary { background: var(--blue); color: #fff; }
.faq-list details[open] summary i::after { display: none; }
.faq-list details p { padding: 1.25rem var(--pad) 1.6rem; color: var(--ink); max-width: 68ch; animation: fadeIn .35s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* --- Quote --- */
.quote-copy { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
.quote-copy h2 { color: #fff; }
.quote-copy .lead { color: #fff; }
.btn b { font-weight: 700; }
.owner-line { display: flex; align-items: center; gap: .7rem; margin-top: auto; padding-top: 1.5rem; }
.owner-line i { width: 12px; height: 12px; background: var(--red); flex: none; }
.form-cell { --bg: #fff; --fg: var(--ink); padding: clamp(1.25rem, 3vw, 2.5rem); }
.fields { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: .4rem; font-family: var(--mono); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.field label em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
}
.field textarea { min-height: 116px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310214A' stroke-width='2.5'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; }
.field input::placeholder, .field textarea::placeholder { color: #7A849C; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 0; }
.field.has-error input, .field.has-error select { border-color: var(--red); border-width: 2px; }
.field-error { margin-top: .4rem; padding-left: .6rem; border-left: 4px solid var(--red); font-size: .88rem; font-weight: 600; }
.field-error:empty { display: none; }
.form-status { margin-bottom: 1rem; padding: .9rem 1rem; border: 1px solid var(--red); border-left-width: 6px; font-weight: 600; font-size: .95rem; }
.form-status a { color: var(--blue); text-decoration: underline; }
.fine { margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.form-success { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.form-success[hidden], .form-status[hidden], #quote-form[hidden] { display: none; }
.form-success h3 { font-size: clamp(2rem, 4vw, 3rem); }

/* --- Footer --- */
.site-footer { --bg: var(--ink); --fg: #fff; --lc: rgba(255, 255, 255, .38); background: var(--ink); color: #fff; }
.site-footer .wrap { border-inline-color: var(--lc); }
.footer-statement { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 1rem + 6.5vw, 6.5rem); line-height: .92; padding: clamp(2rem, 5vw, 4rem) var(--pad); border-left: 10px solid var(--red); margin: 0 0 0 var(--pad); max-width: 16ch; }
.footer-grid .mut { color: rgba(255, 255, 255, .72); margin-top: .8rem; max-width: 36ch; }
.brand-foot { font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; }
.brand-foot b { font-family: var(--display); font-weight: 900; font-size: 2.4rem; color: var(--sky); letter-spacing: .02em; margin-right: .3rem; }
.foot-col { display: flex; flex-direction: column; gap: .55rem; }
.foot-col h3 { font-size: .75rem; letter-spacing: .12em; color: var(--sky); margin-bottom: .4rem; font-weight: 400; }
.foot-col a, .foot-col span { font-weight: 500; }
.foot-col a:hover { background: #fff; color: var(--ink); }
.footer-legal { padding: 1.2rem var(--pad); color: rgba(255, 255, 255, .7); }
.footer-legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { background: #fff; color: var(--ink); text-decoration: none; }

/* --- Mobile action bar --- */
.action-bar { position: fixed; inset: auto 0 0 0; z-index: 110; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); border-top: 1px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); }
.action-bar .btn { min-height: 56px; border-width: 0; border-right: 1px solid var(--ink); }
.action-bar .btn:last-child { border-right: 0; }

/* --- Credits page --- */
.page-credits main { padding-top: var(--hdr-h); }
.credits-head { padding: clamp(2rem, 6vw, 4rem) var(--pad); border-bottom: 1px solid var(--ink); }
.credits-head h1 { font-size: clamp(2.6rem, 1rem + 6vw, 5.5rem); margin: 1rem 0; }
.credits-list li { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.1rem var(--pad); border-bottom: 1px solid var(--ink); font-size: .95rem; }
.credits-list .mono { color: var(--blue); font-weight: 700; }
.credits-list a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.credits-list a:hover { background: var(--ink); color: #fff; text-decoration: none; }

/* 9. Effects --------------------------------------------------- */
.coords { position: fixed; z-index: 200; top: 0; left: 0; padding: 2px 7px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: .68rem; pointer-events: none; opacity: 0; display: none; white-space: nowrap; transition: opacity .2s; }
@media (hover: hover) and (pointer: fine) { .coords { display: block; } .coords.is-ready { opacity: 1; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 10. Responsive (mobile-first: 540 / 720 / 960 / 1280) -------- */
@media (max-width: 719px) { .lang button { min-width: 40px; } .brand { padding-inline: .9rem; } .blk-head .num { flex-direction: row; align-items: baseline; min-height: 0; } }
@media (min-width: 540px) { .cta-row .btn { min-width: 0; } }
@media (min-width: 720px) {
  .cell { grid-column: span var(--t, 12); }
  .fields { grid-template-columns: 1fr 1fr; }
  .field.wide { grid-column: 1 / -1; }
  .hdr-btn { display: inline-flex; }
  :root { --hdr-h: 68px; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .cell { grid-column: span var(--d, 12); }
  .hero-fig { min-height: 0; }
  .portrait { min-height: 560px; }
  .cards .card-body { min-height: 300px; }
}
@media (min-width: 1280px) {
  .menu-btn { display: none; }
  .nav { position: static; display: flex; flex-direction: row; border: 0; background: transparent; margin-left: 0; }
  .nav a { display: flex; align-items: center; padding: 0 1.1rem; border-top: 0; border-right: 1px solid var(--ink); font-family: var(--mono); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
  .nav a:first-child { border-left: 0; }
}

/* 11. Reduced motion — only truly intrusive things ------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .coords { display: none !important; }
}
@media print { .site-header, .action-bar, .coords, .marquee { display: none; } }
