/* Waldorff — Bókhald & Ráðgjöf · site.css (2026 redesign)
   No framework. Palette taken from the logo: gold W + deep olive ink. */

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-style: normal; font-weight: 400 700; font-display: swap;
}

:root {
  --ink: #131b17;
  --ink-2: #1b2620;
  --forest: #2a382f;
  --forest-2: #34463a;
  --gold: #b8893b;
  --gold-2: #d9b36a;
  --gold-3: #efdcae;
  --gold-text: #7d5a17;           /* gold that passes AA on ivory */
  --ivory: #faf7f1;
  --sand: #f2ece0;
  --paper: #ffffff;
  --text: #1c2420;
  --muted: #55605a;
  --line: rgba(28, 36, 32, .12);
  --line-light: rgba(250, 247, 241, .16);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(19, 27, 23, .06), 0 12px 32px -12px rgba(19, 27, 23, .18);
  --shadow-lg: 0 2px 4px rgba(19, 27, 23, .08), 0 30px 60px -24px rgba(19, 27, 23, .38);
  --wrap: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--ivory);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.12; }
em { font-style: italic; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-2); color: var(--ink); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--gold-2); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- eyebrow + buttons ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow, .eyebrow.light { color: var(--gold-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  padding: 1rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s ease; }
.btn:hover .icon.arrow { transform: translateX(4px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); box-shadow: 0 10px 28px -10px rgba(184, 137, 59, .75); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(184, 137, 59, .9); }
.btn-ghost { color: var(--ivory); border-color: var(--line-light); background: rgba(250, 247, 241, .04); }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-3); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: var(--forest); transform: translateY(-2px); }
.btn-sm { padding: .72rem 1.2rem; font-size: .95rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(19, 27, 23, .86); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line-light); color: var(--ivory);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand img { width: 56px; height: auto; }
.brand-name { font: 400 1.7rem/1 var(--serif); letter-spacing: .01em; }
.brand-sub { display: block; font: 600 .6rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); margin-top: .35rem; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .98rem; color: rgba(250, 247, 241, .82); position: relative; padding: .4rem 0; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-light); color: var(--ivory); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .icon { width: 24px; height: 24px; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--ivory);
  background:
    radial-gradient(60% 70% at 88% 8%, rgba(217, 179, 106, .34), transparent 62%),
    radial-gradient(50% 60% at 0% 100%, rgba(52, 70, 58, .9), transparent 70%),
    linear-gradient(160deg, #101813 0%, #1b2620 55%, #26352b 100%);
}
.hero::before { /* calculator photo as a tinted texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2; mix-blend-mode: luminosity;
  background-image: url("/img/hero-calc-1920.webp");
  background-image: image-set(url("/img/hero-calc-1920.avif") type("image/avif"), url("/img/hero-calc-1920.webp") type("image/webp"));
  background-size: cover; background-position: 30% 50%;
  -webkit-mask-image: linear-gradient(100deg, transparent 8%, #000 70%);
  mask-image: linear-gradient(100deg, transparent 8%, #000 70%);
}
.hero::after { /* fine grain so the gradient doesn't band */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; min-height: min(86svh, 820px); padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { color: var(--gold-2); display: block; }
.hero .lede { font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: rgba(250, 247, 241, .8); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2.2rem 0 2.4rem; }
.ticks { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; color: rgba(250, 247, 241, .78); font-size: .95rem; }
.ticks li { display: inline-flex; align-items: center; gap: .5rem; }
.ticks .icon { color: var(--gold-2); width: 1.1em; height: 1.1em; stroke-width: 2.2; }

.status-card {
  position: relative; border-radius: 28px; padding: 1.6rem; color: var(--ivory);
  background: linear-gradient(160deg, rgba(250, 247, 241, .13), rgba(250, 247, 241, .04));
  border: 1px solid rgba(250, 247, 241, .2); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: rotate(1.6deg);
  animation: rise .9s .2s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(28px) rotate(1.6deg); } to { opacity: 1; transform: rotate(1.6deg); } }
.status-card::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border-radius: 32px; border: 1px solid rgba(217, 179, 106, .38); z-index: -1; transform: rotate(-3deg); }
.status-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.status-top strong { font: 400 1.7rem/1 var(--serif); }
.pill { font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: .45rem .7rem; border-radius: 999px; background: rgba(217, 179, 106, .18); color: var(--gold-3); border: 1px solid rgba(217, 179, 106, .35); }
.status-list { display: grid; gap: .7rem; }
.status-row { display: flex; align-items: center; gap: .95rem; padding: .95rem 1rem; border-radius: 16px; background: rgba(19, 27, 23, .45); border: 1px solid rgba(250, 247, 241, .09); }
.status-row .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); flex: none; }
.status-row .ico .icon { width: 20px; height: 20px; stroke-width: 2; }
.status-row b { display: block; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.status-row span { display: block; font-size: .85rem; color: rgba(250, 247, 241, .65); line-height: 1.35; }
.bar { margin-top: 1.3rem; height: 8px; border-radius: 99px; background: rgba(250, 247, 241, .12); overflow: hidden; }
.bar i { display: block; height: 100%; width: 78%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.status-foot { margin: .8rem 0 0; font-size: .82rem; color: rgba(250, 247, 241, .6); }

/* ---------- generic sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section.sand { background: var(--sand); }
.section.dark { background: linear-gradient(170deg, var(--ink) 0%, var(--ink-2) 100%); color: var(--ivory); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.section.dark .section-head p { color: rgba(250, 247, 241, .72); }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(184, 137, 59, .45); }
.badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.4rem;
  background: linear-gradient(135deg, var(--gold-3), #f6ead0); color: var(--gold-text); border: 1px solid rgba(184, 137, 59, .3);
}
.badge .icon { width: 28px; height: 28px; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin: 0; }

/* service tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.tile {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: 16px; text-decoration: none;
  background: rgba(255, 255, 255, .6); border: 1px solid var(--line); font-weight: 600; line-height: 1.3;
  transition: background-color .25s, transform .25s, border-color .25s, box-shadow .25s;
}
.tile .icon { color: var(--gold-text); width: 1.5rem; height: 1.5rem; }
.tile small { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; margin-top: .15rem; }
.tile .go { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: .25s; color: var(--gold-text); }
.tile:hover { background: #fff; border-color: rgba(184, 137, 59, .5); transform: translateY(-3px); box-shadow: var(--shadow); }
.tile:hover .go { opacity: 1; transform: none; }
.more { margin-top: 2.4rem; text-align: center; }

/* specialty band */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.specialty h2 em { color: var(--gold-2); }
.audience { display: grid; gap: .9rem; }
.audience li { display: flex; align-items: center; gap: 1.1rem; padding: 1.15rem 1.4rem; border-radius: 18px; background: rgba(250, 247, 241, .06); border: 1px solid var(--line-light); font-size: 1.12rem; font-weight: 500; }
.audience .icon { color: var(--gold-2); width: 1.7rem; height: 1.7rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding: 2rem 1.8rem 1.8rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 400 3.4rem/1 var(--serif); color: var(--gold); margin-bottom: .8rem; }
.step h3 { font-size: 1.5rem; }
.step p { color: var(--muted); margin: 0; }

/* about */
.about { overflow: hidden; }
.portrait {
  position: relative; max-width: 440px; margin-inline: auto; aspect-ratio: 1 / 1.08;
  border-radius: 220px 220px 28px 28px;
  background: linear-gradient(155deg, #ecd9a9 0%, #d3a954 55%, #b8893b 100%);
  box-shadow: var(--shadow-lg); display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.portrait::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 30% 18%, rgba(255, 255, 255, .5), transparent 70%); }
.portrait img { position: relative; width: 100%; }
.portrait-wrap { position: relative; }
.portrait-outer { position: relative; max-width: 440px; margin-inline: auto; }
.portrait-outer::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid rgba(184, 137, 59, .55); border-radius: 220px 220px 28px 28px; z-index: -1; }
.portrait-caption { text-align: center; margin-top: 1.8rem; }
.portrait-caption strong { display: block; font: 400 1.9rem/1.1 var(--serif); }
.portrait-caption span { color: var(--muted); font-size: .95rem; }
.about-text p { color: #333d37; }
.facts { display: grid; gap: .7rem; margin: 1.8rem 0 0; }
.facts li { display: flex; gap: .8rem; align-items: flex-start; }
.facts .icon { color: var(--gold-text); margin-top: .28em; stroke-width: 2.2; }

/* contact */
.contact { color: var(--ivory); background: radial-gradient(60% 80% at 100% 0%, rgba(217, 179, 106, .28), transparent 60%), linear-gradient(165deg, #101813, #22302a); overflow: hidden; }
.contact h2 { color: #fff; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.contact-card { display: flex; align-items: center; gap: 1.2rem; padding: 1.6rem 1.8rem; border-radius: 22px; text-decoration: none; background: rgba(250, 247, 241, .07); border: 1px solid var(--line-light); transition: .3s; }
.contact-card:hover { background: rgba(250, 247, 241, .12); border-color: var(--gold-2); transform: translateY(-4px); }
.contact-card .ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); flex: none; }
.contact-card .ico .icon { width: 26px; height: 26px; stroke-width: 2; }
.contact-card small { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; margin-bottom: .2rem; }
.contact-card b { display: block; font: 400 clamp(1.45rem, 2.4vw, 2rem)/1.15 var(--serif); overflow-wrap: anywhere; }
.company { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .5rem 2.4rem; color: rgba(250, 247, 241, .7); font-size: .95rem; }
.company b { color: var(--ivory); font-weight: 600; }
.map { margin-top: 2.2rem; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-light); background: var(--ink-2); aspect-ratio: 16 / 6; min-height: 240px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* footer */
.site-footer { background: #0d1310; color: rgba(250, 247, 241, .7); padding-block: 3.2rem 2rem; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.1rem; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold-3); }
.site-footer .brand-name { color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 24rem; }
.legal { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; font-size: .86rem; color: rgba(250, 247, 241, .5); }

/* ---------- inner pages ---------- */
.page-hero { position: relative; isolation: isolate; color: var(--ivory); padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem); background: radial-gradient(55% 90% at 90% 0%, rgba(217, 179, 106, .3), transparent 62%), linear-gradient(160deg, #101813, #22302a); overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(2.8rem, 5.6vw, 4.6rem); max-width: 16ch; }
.page-hero h1 em { color: var(--gold-2); }
.page-hero .lede { max-width: 44rem; font-size: 1.2rem; color: rgba(250, 247, 241, .78); }
.crumbs { font-size: .88rem; color: rgba(250, 247, 241, .6); margin-bottom: 1.8rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-3); }
.crumbs span[aria-hidden] { margin-inline: .5rem; opacity: .6; }

.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: -2.8rem; position: relative; z-index: 2; }
.intro-grid .card { padding: 1.5rem 1.6rem; }
.intro-grid .card p { color: var(--text); font-size: 1rem; }

.svc-list { display: grid; gap: 1.4rem; margin-top: 3rem; }
.svc { display: grid; grid-template-columns: 76px 1fr; gap: 1.6rem; padding: 2rem 2.2rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.svc .badge { margin: 0; width: 64px; height: 64px; }
.svc h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: .6em; }
.svc li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; color: #333d37; }
.svc li::before { content: ""; position: absolute; left: 0; top: .72em; width: .55rem; height: .55rem; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.svc li:last-child { margin-bottom: 0; }
.svc .note { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; background: var(--sand); color: var(--text); font-size: .98rem; }
.cta-band { margin-top: 3.4rem; border-radius: 28px; padding: clamp(2rem, 5vw, 3.6rem); display: flex; flex-wrap: wrap; gap: 1.6rem 3rem; align-items: center; justify-content: space-between; background: linear-gradient(150deg, #121b16, #2a382f); color: var(--ivory); box-shadow: var(--shadow-lg); }
.cta-band h2 { margin: 0; color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); max-width: 20ch; }
.cta-band h2 em { color: var(--gold-2); }

.nf { min-height: 70svh; display: grid; place-items: center; text-align: center; padding: 4rem 0; color: var(--ivory); background: radial-gradient(60% 70% at 50% 0%, rgba(217, 179, 106, .28), transparent 65%), linear-gradient(160deg, #101813, #22302a); }
.nf .code { font: 400 clamp(6rem, 22vw, 13rem)/1 var(--serif); color: var(--gold-2); }
.nf h1 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .status-card { transform: none; animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .status-card { transform: none; max-width: 520px; animation-name: rise-flat; }
  @keyframes rise-flat { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  .status-card::before { display: none; }
  .pillars, .steps, .tiles, .intro-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .intro-grid { margin-top: -2rem; }
  .contact-cards { grid-template-columns: 1fr; }
  .portrait-outer::after { inset: 12px -10px -12px 10px; }
  .map { aspect-ratio: 16 / 10; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: .6rem 1.25rem 1.4rem; background: rgba(19, 27, 23, .98); border-bottom: 1px solid var(--line-light);
    transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden; transition: .25s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .nav a:not(.btn) { padding: 1rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line-light); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand img { width: 46px; }
  .brand-name { font-size: 1.45rem; }
  .tiles { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; padding: 1.6rem; gap: 1.1rem; }
  .card { padding: 1.6rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .contact-card { padding: 1.3rem; }
}
