/* 01 Swiss Style (International Typographic Style), shown for Northfield Architects (sample business).
   One grotesk family, black on white, one signal red. Modular column grid:
   4 columns on phones, 8 on tablets, 12 on desktop. Everything flush left, ragged right. */

/* Shared token layer (Linnet Studio library). Presets in AUDIT section 7 override these values. */
:root {
  --c-bg: #ffffff;          /* page background */
  --c-surface: #f3f3f3;     /* form fields on light ground, quiet panels */
  --c-ink: #151515;         /* text, rules, the logo mark (18.1:1 on white) */
  --c-muted: #5c5c5c;       /* secondary text, captions (6.7:1) */
  --c-line: #d6d6d6;        /* decorative hairlines only */
  --c-line-strong: var(--c-ink); /* rules that carry the grid, field borders */
  --c-accent: #d42a1d;      /* signal red: hero block, staircase, contact band (5.1:1 with white) */
  --c-on-accent: #ffffff;   /* text on the accent */
  --c-accent-2: #1f4e8c;    /* status only (unused in the demo) */
  --f-display: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-body: var(--f-display);
  --f-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --r-sm: 0px;              /* buttons, fields */
  --r-lg: 0px;              /* blocks and photos */
  --r-pill: 0px;            /* Swiss: every corner is square */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 40px; --s-5: 56px; --s-6: 88px;

  /* Theme names map to the shared layer */
  --paper: var(--c-bg);
  --ink: var(--c-ink);
  --muted: var(--c-muted);
  --accent: var(--c-accent);
  --on-accent: var(--c-on-accent);
  --font: var(--f-body);
  --radius: var(--r-lg);
  --s1: var(--s-1); --s2: var(--s-2); --s3: var(--s-3); --s4: var(--s-4); --s5: var(--s-5); --s6: var(--s-6);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --bar-h: 0px;             /* height of the phone action bar */

  /* Grid: 4 columns on phones, 8 from 760px, 12 from 1080px */
  --cols: 4;
  --m: 16px;   /* outer margin */
  --g: 12px;   /* column gutter */
  --rise: 0px; /* step height of the process staircase */
}
@media (max-width: 759.98px) {
  :root { --bar-h: calc(60px + env(safe-area-inset-bottom)); }
}
@media (min-width: 760px) {
  :root { --cols: 8; --m: 32px; --g: 20px; }
}
@media (min-width: 1080px) {
  :root { --cols: 12; --m: 40px; --g: 24px; --rise: 52px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-bottom: calc(var(--bar-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.45;
  font-weight: 400;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h);
}
@media (min-width: 1080px) { body { font-size: 1.125rem; } }
img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, table, address { margin: 0; padding: 0; }
address { font-style: normal; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
b { font-weight: 700; }

.skip {
  position: absolute; left: var(--m); top: -100px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 12px 16px; font-weight: 700;
}
.skip:focus { top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { display: none; }
.i { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* Touch polish: no grey tap flash, no double-tap delay, a short press on everything pressable */
a, button, summary, label, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.btn, .action-bar a { transition: transform 120ms var(--ease-out); }
.btn:active, .action-bar a:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .btn, .action-bar a { transition: none; } }

/* Demo bar: one line */
.demo {
  background: var(--ink); color: var(--paper);
  font-size: .8125rem; line-height: 1.3; font-weight: 500;
  padding: 7px var(--m);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* The grid */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--g);
  padding-inline: var(--m);
  max-width: 1600px;
  margin-inline: auto;
}

/* Header */
.top-in { align-items: center; row-gap: 0; padding-top: 10px; }
.top-in::after { content: ""; grid-column: 1 / -1; border-bottom: 2px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.0625rem; line-height: 1.05; letter-spacing: -.01em; min-height: 44px; }
.brand-2 { display: block; }
.mark { width: 32px; height: 32px; flex: none; fill: var(--ink); }
.mark .mark-r { fill: var(--accent); }
.top .brand { grid-column: 1 / 3; grid-row: 1; }
.top-meta { display: none; font-size: .875rem; line-height: 1.3; color: var(--muted); }
.top-act { grid-column: 3 / 5; grid-row: 1; display: flex; align-items: center; gap: var(--s2); }
.top-tel { font-weight: 700; font-size: .9375rem; text-decoration: none; min-height: 44px; display: flex; align-items: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px;
  background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 700; text-decoration: none;
  border: 2px solid var(--accent); border-radius: var(--r-sm); white-space: nowrap; cursor: pointer;
}
.btn-lg { min-height: 52px; padding: 0 20px; font-size: 1.0625rem; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn:focus-visible { outline-color: var(--ink); }
.top-act .btn { display: none; }
.top-nav {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center; gap: 6px;
  border-top: 1px solid var(--ink);
  margin-top: 8px;
}
.top-nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font-size: .9375rem; font-weight: 600; text-decoration: none; }
.top-nav a:first-child { justify-content: flex-start; }
.top-nav a:last-child { justify-content: flex-end; }
@media (max-width: 374px) { .top-nav a { font-size: .8125rem; } }
@media (min-width: 760px) {
  .top-in { padding-top: 16px; }
  .brand-2 { display: inline; }
  .top .brand { grid-column: 1 / 4; }
  .top-act { grid-column: 4 / 9; justify-content: flex-end; }
  .top-act .btn { display: inline-flex; }
  .top-nav { justify-content: flex-start; gap: var(--s3); margin-top: 12px; }
}
@media (min-width: 1080px) {
  .top-in { padding-bottom: 16px; }
  .top-in::after { grid-row: 2; }
  .top .brand { grid-column: 1 / 4; }
  .top-nav { grid-column: 4 / 10; grid-row: 1; border-top: 0; margin-top: 0; gap: 24px; }
  .top-nav a { font-size: 1rem; }
  .top-act { grid-column: 10 / 13; grid-row: 1; justify-content: space-between; }
  .top-tel { font-size: 1rem; }
}
@media (min-width: 1360px) {
  .top-meta { display: block; grid-column: 4 / 6; grid-row: 1; }
  .top-nav { grid-column: 6 / 10; }
}

/* Hero */
.hero .grid { padding-top: var(--s3); row-gap: var(--s3); }
.display {
  grid-column: 1 / -1;
  font-size: clamp(3.25rem, 14.6vw, 10rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.05em;
  margin-left: -.04em; /* optical alignment of the first stroke to the margin */
}
.hero-lede { grid-column: 1 / -1; display: grid; gap: 20px; }
.hero-act { display: flex; flex-wrap: wrap; gap: 10px; }
.lead { font-size: 1.25rem; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; max-width: 30em; }
.hero-img { grid-column: 1 / -1; }
.hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% 78%; }
figcaption { font-size: .875rem; line-height: 1.35; color: var(--muted); margin-top: var(--s1); }
.red-mod {
  grid-column: 1 / -1;
  background: var(--accent); color: var(--on-accent);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.rm-big { font-size: 1.75rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.rm-small { font-weight: 500; }
.cta :focus-visible { outline-color: var(--on-accent); }

@media (min-width: 760px) {
  .hero .grid { padding-top: var(--s4); row-gap: 32px; }
  .hero-lede { grid-column: 1 / 7; }
  .hero-img img { aspect-ratio: 16 / 10; }
  .red-mod { grid-column: 1 / 6; }
}
@media (min-width: 1080px) {
  .hero .grid { padding-top: 48px; row-gap: var(--s4); }
  .display { grid-column: 1 / 10; grid-row: 1; }
  .hero-lede { grid-column: 10 / 13; grid-row: 1; align-self: start; padding-top: 14px; }
  .lead { font-size: 1.375rem; }
  .hero-img { grid-column: 4 / 13; grid-row: 2; }
  .red-mod { grid-column: 1 / 4; grid-row: 2; align-self: end; padding: var(--s3); gap: 14px; margin-bottom: 30px; }
  .rm-big { font-size: 2.5rem; }
}

/* Sections */
.sec .grid { padding-block: var(--s5) 0; row-gap: 28px; }
.sec .grid::before { content: ""; grid-column: 1 / -1; border-top: 2px solid var(--ink); margin-bottom: -6px; }
.sec-head { grid-column: 1 / -1; display: grid; gap: 10px; align-content: start; }
.sec-head h2 { font-size: clamp(2rem, 7vw, 2.75rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.sec-head p { color: var(--muted); max-width: 26em; }
.sec-body { grid-column: 1 / -1; }
@media (min-width: 1080px) {
  .sec .grid { padding-top: var(--s6); row-gap: var(--s4); }
  .sec-head { grid-column: 1 / 4; padding-right: var(--s1); }
  .sec-body { grid-column: 4 / 13; }
}

/* Facts and credential badges */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); }
.facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; border-top: 2px solid var(--ink); padding: 10px 0 22px; }
.facts dt { font-size: .9375rem; line-height: 1.3; color: var(--muted); max-width: 14em; }
.facts dd { font-size: clamp(2.75rem, 13vw, 5.5rem); font-weight: 800; letter-spacing: -.045em; line-height: .9; }
.facts div:first-child dd { color: var(--accent); }

.badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--g); margin-top: var(--s3); }
.badges li { display: grid; gap: 10px; align-content: start; font-size: .9375rem; line-height: 1.3; color: var(--muted); }
.badges .i { width: 32px; height: 32px; color: var(--ink); }
.badges b { display: block; color: var(--ink); font-size: 1rem; }
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .badges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .badges { margin-top: var(--s4); }
  .badges .i { width: 40px; height: 40px; }
  .badges b { font-size: 1.0625rem; }
}

/* Services and fees */
.fees li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s2); row-gap: 4px;
  padding: 14px 0 16px; border-top: 1px solid var(--ink);
}
.fees li:last-child { border-bottom: 2px solid var(--ink); }
.fees h3 { font-size: 1.125rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.fees p { grid-column: 1 / -1; font-size: .9375rem; line-height: 1.4; color: var(--muted); max-width: 34em; }
.fees .fee { grid-column: 2; grid-row: 1; color: var(--ink); font-size: 1.0625rem; font-weight: 800; letter-spacing: -.01em; text-align: right; max-width: 10em; line-height: 1.2; }
@media (min-width: 1080px) {
  .fees li { grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--g); padding: 18px 0 20px; align-items: baseline; }
  .fees h3 { grid-column: 1 / 4; font-size: 1.3125rem; }
  .fees p { grid-column: 4 / 8; grid-row: 1; font-size: 1rem; }
  .fees .fee { grid-column: 8 / 10; grid-row: 1; text-align: left; font-size: 1.3125rem; max-width: none; }
}

/* Recent work: a swipe rail on phones (next project peeks in), a 2-column grid from 760px */
.work {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; column-gap: var(--g);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  margin-inline: calc(var(--m) * -1); padding-inline: var(--m); scroll-padding-inline: var(--m);
}
.work::-webkit-scrollbar { display: none; }
.work figure { scroll-snap-align: start; }
.work img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work:focus-visible { outline-offset: -3px; }

.work figcaption { color: var(--muted); }
.work figcaption b { color: var(--ink); display: block; }
@media (min-width: 760px) {
  .work { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; overflow: visible; margin-inline: 0; padding-inline: 0; }
}

/* Process: the staircase */
.process .grid { row-gap: var(--s4); }
.proc-head { grid-column: 1 / -1; display: grid; gap: 14px; }
.proc-head h2 { font-size: clamp(2.5rem, 11vw, 6.5rem); font-weight: 800; line-height: .9; letter-spacing: -.045em; }
.proc-head p { color: var(--muted); max-width: 24em; }
.stairs { grid-column: 1 / -1; display: grid; }
.stairs li {
  position: relative;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px;
  padding: 16px 0 28px 16px;
  margin-left: calc((var(--i) - 1) * 12px);
}
.stairs li:nth-child(1) { --i: 1; }
.stairs li:nth-child(2) { --i: 2; }
.stairs li:nth-child(3) { --i: 3; }
.stairs li:nth-child(4) { --i: 4; }
.stairs li:nth-child(5) { --i: 5; }
.stairs li:nth-child(6) { --i: 6; }
.stairs li::before, .stairs li::after { content: ""; position: absolute; background: var(--accent); }
.stairs li::before { left: 0; top: 0; height: 4px; width: 100%; transform-origin: left center; }  /* tread */
.stairs li::after { left: 0; top: 0; bottom: 0; width: 4px; transform-origin: center bottom; }     /* riser */
.stairs .n { grid-row: 1 / span 2; font-size: 3.5rem; font-weight: 800; line-height: .82; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stairs h3 { font-size: 1.1875rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.15; margin-bottom: 6px; }
.stairs p { font-size: .9375rem; line-height: 1.4; }
/* Phones: the numeral sits on the heading's line and the text runs full width and centered; the staircase lives in the
   accent lines only (each riser steps 3px right) */
@media (max-width: 759.98px) {
  .stairs li { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; margin-left: 0; padding: 16px 20px 28px; }
  .stairs li::before, .stairs li::after { left: calc((var(--i) - 1) * 3px); }
  .stairs li::before { width: calc(100% - (var(--i) - 1) * 3px); }
  .stairs .n { grid-row: auto; font-size: 2.25rem; }
  .stairs p { grid-column: 1 / -1; }
}
@media (min-width: 760px) {
  .proc-head { grid-column: 1 / 7; }
  .stairs li { margin-left: calc((var(--i) - 1) * 32px); }
}
@media (min-width: 1080px) {
  .proc-head { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: end; }
  .proc-head h2 { grid-column: 1 / 9; }
  .proc-head p { grid-column: 10 / 13; }
  .stairs { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--g); align-items: stretch; padding-bottom: 8px; }
  .stairs li {
    display: block;
    margin-left: 0;
    margin-top: calc((6 - var(--i)) * var(--rise));
    padding: 22px 12px 0 22px;
  }
  .stairs li::before { width: calc(100% + var(--g)); }
  .stairs li:last-child::before { width: 100%; }
  .stairs .n { display: block; font-size: clamp(5rem, 7vw, 7.5rem); margin-bottom: 18px; }
  .stairs h3 { font-size: 1.3125rem; }
  .stairs p { font-size: 1rem; }
}

/* The one moving moment: the staircase draws itself as it scrolls into view */
@keyframes riser { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes tread { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* Phones and tablets: each step draws as it enters */
    .stairs li { view-timeline: --step block; }
    .stairs li::after { animation: riser linear both; animation-timeline: --step; animation-range: entry 0% entry 70%; }
    .stairs li::before { animation: tread linear both; animation-timeline: --step; animation-range: entry 50% cover 45%; }
  }
}
@media (min-width: 1080px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* Desktop: the six steps draw in order, one after another, on a shared timeline */
    .stairs { view-timeline: --stairs block; }
    .stairs li::after { animation-timeline: --stairs; animation-range: entry calc(var(--i) * 10% - 6%) entry calc(var(--i) * 10%); }
    .stairs li::before { animation-timeline: --stairs; animation-range: entry calc(var(--i) * 10%) entry calc(var(--i) * 10% + 6%); }
  }
}

/* Reviews */
.quotes {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; column-gap: var(--g);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  margin-inline: calc(var(--m) * -1); padding-inline: var(--m); scroll-padding-inline: var(--m);
}
.quotes::-webkit-scrollbar { display: none; }
.quotes figure { scroll-snap-align: start; }
.quotes:focus-visible { outline-offset: -3px; }
.quotes figure { border-top: 1px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.quotes blockquote p { font-size: 1.1875rem; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; text-indent: -.4em; }
.quotes figcaption { margin-top: auto; }
.quotes figcaption b { display: block; color: var(--ink); }
.quotes small { display: block; font-size: .8125rem; margin-top: 6px; }
@media (min-width: 760px) {
  .quotes { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
}
@media (min-width: 1080px) {
  .quotes blockquote p { font-size: 1.3125rem; }
}

/* The studio */
.about { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--s3); column-gap: var(--g); }
.about-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.about-text { display: grid; gap: 14px; align-content: start; }
.about-text p:not(.lead) { color: var(--muted); max-width: 32em; }
.about-text p.sig { color: var(--ink); border-top: 1px solid var(--ink); padding-top: 12px; font-size: .9375rem; }
.about-text .sig b { display: block; font-size: 1.0625rem; }
@media (min-width: 760px) {
  .about { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .about { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .about-img { grid-column: 1 / 6; }
  .about-text { grid-column: 6 / 10; }
}

/* Contact */
.cta { background: var(--accent); color: var(--on-accent); margin-top: 72px; }
.cta .grid { padding-block: 48px 56px; row-gap: 28px; }
.cta-h { grid-column: 1 / -1; font-size: clamp(3rem, 14vw, 10.5rem); font-weight: 800; line-height: .86; letter-spacing: -.05em; margin-left: -.04em; }
.cta-a, .cta-b, .cta-c, .cta-d, .cta-form { grid-column: 1 / -1; border-top: 2px solid var(--on-accent); padding-top: 12px; }
.cta-label { font-size: .9375rem; font-weight: 700; margin-bottom: 4px; }
.cta-big { white-space: nowrap; font-size: clamp(2rem, 9vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; min-height: 44px; text-decoration-thickness: 3px; text-underline-offset: .12em; font-variant-numeric: tabular-nums; display: inline-block; }
.cta-mid { font-size: clamp(1.25rem, 5.4vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; text-decoration-thickness: 2px; display: inline-block; min-height: 44px; overflow-wrap: anywhere; }
.cta-c a, .cta-d p:not(.cta-label) { font-weight: 500; }
.cta-c a { display: inline-block; padding-block: 4px; }

/* Booking form (concept-safe: submits to #sent and shows the confirmation in place) */
.cta-form { display: grid; gap: 14px; align-content: start; }
.form-note { font-weight: 500; max-width: 34em; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9375rem; font-weight: 700; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 14px;
  font: inherit; font-size: 1.0625rem; color: var(--ink); background-color: var(--paper);
  border: 2px solid var(--paper); border-radius: var(--r-sm);
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-size: 7px 7px; background-position: calc(100% - 22px) 50%, calc(100% - 15px) 50%; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.cta-form .btn { justify-self: start; margin-top: 4px; }
.sent { display: none; background: var(--paper); color: var(--ink); padding: 14px 16px; font-weight: 600; }
.sent:target { display: block; }
@media (min-width: 760px) {
  .cta-form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); }
  .cta-form > :is(h3, .form-note, .btn, .sent), .cta-form .field:nth-of-type(3) { grid-column: 1 / -1; }
  .cta-c { grid-column: 1 / 5; }
  .cta-d { grid-column: 5 / 9; }
}
@media (min-width: 1080px) {
  .cta { margin-top: 112px; }
  .cta .grid { padding-block: 72px 88px; row-gap: 40px; }
  .cta-a { grid-column: 1 / 6; grid-row: 2; }
  .cta-b { grid-column: 1 / 6; grid-row: 3; }
  .cta-c { grid-column: 1 / 4; grid-row: 4; }
  .cta-d { grid-column: 4 / 7; grid-row: 4; }
  .cta-form { grid-column: 7 / 13; grid-row: 2 / span 3; }
}

/* Footer */
.foot .grid { padding-block: var(--s4) 32px; row-gap: 28px; font-size: .9375rem; line-height: 1.45; }
.foot .brand { margin-bottom: 10px; }
.f-1, .f-2, .f-3, .f-4, .f-5 { grid-column: 1 / -1; }
.f-h { font-size: .9375rem; font-weight: 800; margin-bottom: 4px; padding-top: 10px; border-top: 1px solid var(--ink); }
.f-5 p { max-width: 60em; }
.f-6 { grid-column: 1 / -1; font-size: .8125rem; color: var(--muted); padding-top: var(--s2); border-top: 2px solid var(--ink); }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }
.foot address a { display: inline-block; min-height: 0; padding-block: 4px; }
@media (min-width: 760px) {
  .f-1 { grid-column: 1 / 5; }
  .f-2 { grid-column: 5 / 9; }
  .f-3 { grid-column: 1 / 5; }
  .f-4 { grid-column: 5 / 9; }
}
@media (min-width: 1080px) {
  .foot .grid { padding-top: var(--s5); }
  .f-1 { grid-column: 1 / 4; }
  .f-2 { grid-column: 4 / 7; }
  .f-3 { grid-column: 7 / 10; }
  .f-4 { grid-column: 10 / 13; }
  .f-5 { grid-column: 4 / 13; }
}

/* Phone action bar (C1): Call, Directions and Book stay in reach below 760px */
.action-bar { display: none; }
@media (max-width: 759.98px) {
  .action-bar {
    position: fixed; inset: auto 0 0 0; z-index: 20;
    display: grid; grid-template-columns: 1fr 1.15fr 1.55fr;
    background: var(--ink); padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 60px; padding: 0 6px;
    color: var(--paper); font-size: .9375rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  }
  .action-bar a + a { box-shadow: inset 1px 0 0 rgb(255 255 255 / .22); }
  .action-bar .ab-main { background: var(--accent); color: var(--on-accent); box-shadow: none; }
  .action-bar :focus-visible { outline: 3px solid var(--paper); outline-offset: -6px; }
}

/* Hover only where a real pointer can hover */
@media (hover: hover) and (pointer: fine) {
  a:hover { text-decoration-thickness: 2px; }
  .top-tel:hover, .top-nav a:hover, .btn:hover { text-decoration: underline; }
  .btn-line:hover { background: var(--ink); color: var(--paper); }
}

/* One Call on the entry screen (Ethan, Oct 7 2026): on phones the action bar's Call is the one; the header number shows
   from 760px, where the bar is hidden. */
@media (max-width: 759.98px) { .top-tel { display: none; } }
