/* Layout: one 1120px column; forest-green header, photo heroes and bands frame white content sections; peach used only as a lift/edge highlight */
:root {
  --forest: #023933;       /* hunter green: brand main */
  --jungle: #e7dbc5;       /* soft beige: buttons and highlights on green */
  --peach: #e7dbc5;        /* soft beige: lift shadows and small markers */
  --ink: #023933;
  --paper: #fdfefd;        /* polar snow: page ground */
  --surface: #ffffff;
  --line: #e4ddcf;
  --muted: #4f6a65;
  --accent: #023933;
  --accent-ink: #023933;
  --signal: #023933;
  --band: #023933;
  --band-fg: #fdfefd;
  --band-muted: #b9ccc7;
  --lift: 0 1px 2px rgb(2 57 51 / 0.06), 0 10px 24px -12px rgb(2 57 51 / 0.25);
  --ph-bg: #f3ecdf;
  --ph-fg: #6b5320;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 8px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f1ece2; --paper: #011f1c; --surface: #032c28; --line: #0d4a43; --muted: #b3c6c1;
    --accent: #e7dbc5; --signal: #e7dbc5; --band: #011714; --band-fg: #fdfefd; --band-muted: #a9bfba;
    --lift: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 24px -12px rgb(0 0 0 / 0.6);
    --ph-bg: #3d3420; --ph-fg: #e7dbc5; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #f1ece2; --paper: #011f1c; --surface: #032c28; --line: #0d4a43; --muted: #b3c6c1;
  --accent: #e7dbc5; --signal: #e7dbc5; --band: #011714; --band-fg: #fdfefd; --band-muted: #a9bfba;
  --lift: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 24px -12px rgb(0 0 0 / 0.6);
  --ph-bg: #3d3420; --ph-fg: #e7dbc5; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.prose { max-width: 68ch; display: grid; gap: 1rem; }
.prose h2 { margin-top: 1.5rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.eyebrow { font: 500 0.78rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.ph { background: var(--ph-bg); color: var(--ph-fg); border-radius: 3px; padding: 0 0.25em; outline: 1px dashed currentColor; }
.skip { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--surface); padding: 0.5rem 1rem; }
.skip:focus { left: 16px; }
.muted, .hint { color: var(--muted); }
.hint { font-size: 0.85rem; }

/* Header */
.site-header { background: var(--forest); border-bottom: 3px solid var(--jungle); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--forest); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: #fdfefd; line-height: 1.1; margin-right: auto; }
.brand strong { font: 700 1.2rem var(--display); }
.brand span { font: 400 0.72rem var(--mono); color: var(--peach); letter-spacing: 0.04em; }
.nav { display: flex; gap: 1.25rem; align-items: center; }
.nav a { color: #fdfefd; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--jungle); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--jungle); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: 0.4rem 0.7rem; color: #fdfefd; border: 1px solid rgb(255 255 255 / 0.25); border-radius: var(--radius); }
.menu summary::-webkit-details-marker { display: none; }
@media (max-width: 1060px) {
  .nav.desktop { display: none; }
  .menu { display: block; position: relative; }
  .menu .nav { position: absolute; right: 0; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 0; background: var(--forest); border: 1px solid rgb(255 255 255 / 0.15); border-radius: var(--radius); min-width: 220px; padding: 0.5rem; box-shadow: 0 12px 30px rgb(0 0 0 / 0.3); }
  .menu .nav a { padding: 0.6rem 0.75rem; }
  .header-row > .btn-wa { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font: 700 1rem var(--body); padding: 0.8rem 1.3rem; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn svg, .wa-float svg { width: 20px; height: 20px; fill: currentColor; }
.btn-primary { background: var(--jungle); color: var(--forest); box-shadow: 0 4px 0 #c4b28f, 0 10px 20px -8px rgb(2 57 51 / 0.35); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 #c4b28f; }
.btn-ghost { border-color: currentColor; color: #fdfefd; background: transparent; }
.btn-wa { background: var(--jungle); color: var(--forest); padding: 0.55rem 1rem; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Photo heroes */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--forest); color: #fdfefd; isolation: isolate; }
.hero img.bg, .page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgb(2 57 51 / 0.95) 0%, rgb(2 57 51 / 0.82) 45%, rgb(2 57 51 / 0.45) 100%); }
.hero .wrap { padding-block: clamp(3.5rem, 8vw, 6rem); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.hero-copy { display: grid; gap: 1.25rem; min-width: 0; }
.hero h1, .page-hero h1 { color: #fff; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--peach); }
.hero .lede, .page-hero .lede { color: #d6e2df; }
.spec { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 0.25rem; font-family: var(--mono); font-size: 0.85rem; min-width: 0; box-shadow: 10px 10px 0 var(--peach), 0 24px 40px -16px rgb(0 0 0 / 0.5); }
.spec-title { font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; padding-bottom: 0.5rem; border-bottom: 1px dashed var(--line); margin-bottom: 0.25rem; }
.spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px dotted var(--line); font-variant-numeric: tabular-nums; }
.spec-row:last-of-type { border-bottom: 0; }
.spec-row span:first-child { color: var(--muted); }
.spec-row span:last-child { text-align: right; }
.spec-note { font-size: 0.72rem; color: var(--muted); padding-top: 0.5rem; font-family: var(--body); }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.page-hero { border-bottom: 3px solid var(--peach); }
.page-hero .wrap { padding-block: clamp(3rem, 6vw, 4.5rem); display: grid; gap: 1rem; }
.page-hero .lede { max-width: 56ch; }
.crumbs { font: 400 0.8rem var(--mono); color: #d6e2df; }
.crumbs a { color: #d6e2df; }

/* Sections */
.section .wrap { padding-block: clamp(3rem, 6vw, 4.5rem); display: grid; gap: 2rem; }
.section-head { display: grid; gap: 0.6rem; max-width: 70ch; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 0.7rem; border-radius: 2px; background: linear-gradient(90deg, var(--jungle) 70%, var(--peach) 70%); }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section.dark { background: var(--band); color: var(--band-fg); }
.section.dark .lede, .section.dark p.muted { color: var(--band-muted); }
.section.dark .eyebrow { color: var(--peach); }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid-2 { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 0.6rem; align-content: start; min-width: 0; box-shadow: var(--lift); }
.card.has-img { padding-top: 0; overflow: hidden; }
.card-img { width: calc(100% + 3rem); max-width: none; margin: 0 -1.5rem 0.6rem; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 3px solid var(--jungle); }
.card p { color: var(--muted); }
.card a.more { font-weight: 700; text-decoration: none; margin-top: 0.4rem; }
.tag { font: 500 0.72rem var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }

.audience { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--line); }
.audience > div { padding: 1.25rem 1.25rem 1.25rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.35rem; align-content: start; }
.audience p { color: var(--muted); font-size: 0.97rem; }

.steps { counter-reset: s; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); padding: 0; margin: 0; }
.steps li { list-style: none; counter-increment: s; padding: 1.25rem 1rem 1.25rem 0; border-top: 2px solid var(--jungle); display: grid; gap: 0.35rem; align-content: start; }
.steps li::before { content: "Step " counter(s); font: 500 0.75rem var(--mono); color: var(--peach); text-transform: uppercase; letter-spacing: 0.08em; }
.steps p { color: var(--band-muted); font-size: 0.95rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.areas { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.areas th, .areas td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.areas th { font: 600 0.75rem var(--mono); text-transform: uppercase; letter-spacing: 0.06em; background: var(--forest); color: #fdfefd; }
.areas tr:last-child td { border-bottom: 0; }
.areas td:first-child { font-weight: 700; white-space: nowrap; }

.listings { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.listing { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; align-content: start; min-width: 0; box-shadow: var(--lift); }
.listing-img { aspect-ratio: 4 / 3; max-width: 100%; background: linear-gradient(135deg, #04524a, var(--forest)); border-bottom: 3px solid var(--jungle); }
.listing-img img { width: 100%; height: 100%; object-fit: cover; }
.listing-body { padding: 1.1rem 1.25rem 1.25rem; display: grid; gap: 0.5rem; }
.listing dl, .kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem 1rem; margin: 0; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.listing dt, .kv dt { color: var(--muted); font: 400 0.8rem var(--mono); padding-top: 0.12rem; }
.listing dd, .kv dd { margin: 0; }
.listing dd { text-align: right; }

.side-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 10px 10px 0 var(--peach); }
.side-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { border: 1px solid var(--jungle); background: var(--surface); padding: 0.4rem 0.8rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.checklist li { padding-left: 1.6rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.8rem; height: 0.45rem; border-left: 2px solid var(--jungle); border-bottom: 2px solid var(--jungle); transform: rotate(-45deg); }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.faq details p { margin-top: 0.6rem; color: var(--muted); max-width: 70ch; }

.callout { border: 1px solid var(--line); border-left: 4px solid var(--peach); background: var(--surface); padding: 1rem 1.25rem; border-radius: var(--radius); box-shadow: var(--lift); }
.callout p { color: var(--muted); }

.toc { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--jungle); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 0.5rem; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; font-size: 0.95rem; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .guide-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; order: -1; } }

/* Form */
.form { display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 10px 10px 0 var(--peach); }
.form .row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; }
.form input, .form select, .form textarea { font: 400 1rem var(--body); padding: 0.65rem 0.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); width: 100%; min-width: 0; }
.form textarea { min-height: 110px; resize: vertical; }
.form-result { display: grid; gap: 0.5rem; }

/* CTA + footer */
.cta { background: linear-gradient(120deg, var(--forest) 0%, #04524a 100%) !important; }
.cta .wrap { padding-block: clamp(2.5rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cta h2 { max-width: 30ch; }
.site-footer { background: #012622; color: var(--band-muted); font-size: 0.9rem; border-top: 3px solid var(--jungle); }
.site-footer .wrap { padding-block: 3rem 2rem; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.site-footer h3 { color: var(--peach); font-size: 0.95rem; margin-bottom: 0.6rem; }
.site-footer a { color: #fdfefd; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / 0.12); padding-top: 1.25rem; font-size: 0.8rem; }
.wa-float { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; background: var(--jungle); color: var(--forest); border-radius: 999px; padding: 0.8rem 1.1rem; font-weight: 700; text-decoration: none; box-shadow: 0 0 0 3px var(--forest), 0 10px 26px rgb(2 57 51 / 0.4); display: flex; gap: 0.5rem; align-items: center; }
@media (prefers-reduced-motion: no-preference) {
  .card, .listing { transition: transform .2s ease, box-shadow .2s ease; }
  .card:hover, .listing:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--peach), var(--lift); }
  .btn { transition: transform .15s ease; }
}

/* Market insights */
.stats { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.stat { background: var(--forest); color: #fdfefd; border-radius: var(--radius); padding: 1.4rem 1.4rem 1.25rem; display: grid; gap: 0.4rem; align-content: start; box-shadow: 8px 8px 0 var(--peach); min-width: 0; }
.stat-num { font: 700 clamp(1.8rem, 3.4vw, 2.4rem)/1.05 var(--display); color: var(--jungle); font-variant-numeric: tabular-nums; }
.stat-label { font-weight: 700; }
.stat-note { font-size: 0.88rem; color: var(--band-muted); }
.stat-note a { color: var(--peach); }
.insight-card { text-decoration: none; color: var(--ink); }
.insight-card h3 { color: var(--ink); }
.calc-out { display: grid; gap: 0.5rem; background: var(--paper); border-radius: var(--radius); padding: 1rem 1.1rem; font-variant-numeric: tabular-nums; }
.calc-out div { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.calc-out span { color: var(--muted); }
.calc-out .total { border-top: 1px solid var(--line); padding-top: 0.6rem; }
.calc-out .total strong { color: var(--accent); font-size: 1.25rem; }
@media (max-width: 1100px) { .nav { gap: 0.9rem; } .nav a { font-size: 0.9rem; } }
.nav a { white-space: nowrap; }

/* Hunter / beige / snow palette details */
.section.alt { background: #f6f1e8; }
.section.alt .card, .section.alt .listing { background: var(--surface); }
.stat-num { color: var(--jungle); }
.section-head h2::after { background: linear-gradient(90deg, var(--forest) 70%, var(--jungle) 70%); }
.listing-img, .card-img { border-bottom-color: var(--jungle); }
.chips li { border-color: var(--jungle); background: #f6f1e8; }
.checklist li::before { border-color: var(--forest); }
.steps li { border-top-color: var(--jungle); }
.site-header { border-bottom-color: var(--jungle); }
.toc { border-top-color: var(--forest); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .section.alt, :root:not([data-theme="light"]) .chips li { background: var(--surface); } }
:root[data-theme="dark"] .section.alt, :root[data-theme="dark"] .chips li { background: var(--surface); }
.hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-copy { max-width: 760px; }

/* ===== Beige-led palette: soft beige main, polar snow second, hunter green topping ===== */
:root { --beige: #e7dbc5; --beige-deep: #d8c8a9; --snow: #fdfefd; --hunter: #023933; }
.site-header { background: var(--beige); border-bottom: 3px solid var(--hunter); }
body::before { background: var(--beige); }
.brand, .nav a, .menu summary { color: var(--hunter); }
.brand span { color: #5a6f69; }
.menu summary { border-color: rgb(2 57 51 / 0.3); }
.menu .nav { background: var(--beige); border-color: rgb(2 57 51 / 0.2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--hunter); box-shadow: inset 0 -2px 0 var(--hunter); }

.hero, .page-hero { background: var(--beige); color: var(--hunter); }
.hero::before, .page-hero::before { background: linear-gradient(95deg, rgb(231 219 197 / 0.97) 0%, rgb(231 219 197 / 0.9) 42%, rgb(231 219 197 / 0.25) 100%); }
.hero h1, .page-hero h1 { color: var(--hunter); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--hunter); }
.hero .lede, .page-hero .lede, .crumbs, .crumbs a { color: #3e524d; }
.page-hero { border-bottom: 3px solid var(--hunter); }

.btn-primary { background: var(--hunter); color: var(--snow); box-shadow: 0 4px 0 #011e1b, 0 10px 20px -8px rgb(2 57 51 / 0.45); }
.btn-primary:active { box-shadow: 0 1px 0 #011e1b; }
.btn-ghost { color: var(--hunter); border-color: var(--hunter); }
.btn-wa { background: var(--hunter); color: var(--snow); }
.wa-float { background: var(--hunter); color: var(--snow); box-shadow: 0 0 0 3px var(--beige), 0 10px 26px rgb(2 57 51 / 0.35); }

.section.alt { background: #f4ede0; }
.section.dark { background: var(--beige); color: var(--hunter); }
.section.dark .eyebrow, .steps li::before { color: var(--hunter); }
.section.dark .lede, .steps p { color: #4a5d58; }
.steps li { border-top-color: var(--hunter); }
.cta { background: var(--beige) !important; border-top: 1px solid var(--beige-deep); }
.cta .eyebrow { color: var(--hunter); }

.section-head h2::after { background: linear-gradient(90deg, var(--hunter) 60%, var(--beige-deep) 60%); }
.stat { background: var(--snow); color: var(--hunter); border: 1px solid var(--beige-deep); box-shadow: 8px 8px 0 var(--beige); }
.stat-num { color: var(--hunter); }
.stat-note { color: #5a6f69; }
.stat-note a { color: var(--hunter); }
.card:hover, .listing:hover { box-shadow: 6px 6px 0 var(--beige-deep), var(--lift); }
.listing-img, .card-img { border-bottom-color: var(--beige-deep); }
.side-photo, .form { box-shadow: 10px 10px 0 var(--beige); }
.chips li { border-color: var(--beige-deep); background: var(--snow); }
.areas th { background: var(--beige); color: var(--hunter); }
.site-header, .hero, .page-hero, .cta { color-scheme: light; }

/* Fonts: Helvetica main (with closest system fallbacks), DM Mono secondary for small labels and figures */
:root { --display: "Helvetica Neue", Helvetica, Arial, "Nimbus Sans", sans-serif; --body: "Helvetica Neue", Helvetica, Arial, "Nimbus Sans", sans-serif; --mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace; }
body { font-size: 16.5px; line-height: 1.6; }
h1, h2 { letter-spacing: -0.025em; font-weight: 700; }
h3 { font-weight: 700; letter-spacing: -0.01em; }
.stat-num { font-family: var(--display); letter-spacing: -0.03em; }
.brand span { white-space: nowrap; }
.brand { flex-direction: row; align-items: center; gap: 0.6rem; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.header-row { gap: 1.1rem; }
.nav { gap: 1rem; }
@media (max-width: 1240px) { .brand-text > span { display: none; } }
@media (max-width: 480px) { .brand strong { font-size: 1.05rem; } }
.brand .brand-text { color: var(--hunter); font: inherit; }
.brand .brand-text > span { color: #5a6f69; font: 400 0.68rem var(--mono); letter-spacing: 0.04em; white-space: nowrap; }
@media (max-width: 1240px) { .brand .brand-text > span { display: none; } }
/* Text-only wordmark (logo option E) */
.brand.wordmark { display: inline-grid; flex-direction: column; gap: 3px; line-height: 1; color: var(--hunter); }
.brand.wordmark .wm1 { font: 800 1.35rem var(--display); letter-spacing: -0.02em; color: var(--hunter); }
.brand.wordmark .wm2 { font: 400 0.8rem var(--display); letter-spacing: 0.335em; color: #4f6a65; display: block !important; white-space: nowrap; }
/* Final logo: KEYSTONE INDUSTRIAL, one line (option D style) */
.brand.logo { display: block; color: var(--hunter); line-height: 0; }
.brand.logo svg { height: 18px; width: auto; display: block; }
@media (max-width: 480px) { .brand.logo svg { height: 15px; } }
.brand.logo { margin-right: auto; flex: none; }

/* Header breathing room (2026-11-11): fewer items, lighter text, more space */
.header-row { gap: 2.5rem; min-height: 76px; }
.nav.desktop { gap: 2rem; }
.nav a { font-weight: 500; font-size: 0.9rem; letter-spacing: 0.01em; }
.nav a:hover, .nav a[aria-current="page"] { box-shadow: inset 0 -1.5px 0 var(--hunter); }
.header-row > .btn-wa { padding: 0.5rem 1rem; font-size: 0.88rem; font-weight: 600; }
.header-row > .btn-wa svg { width: 16px; height: 16px; }
.site-header { border-bottom-width: 1px; }
@media (max-width: 1180px) { .header-row { gap: 1.75rem; } .nav.desktop { gap: 1.5rem; } }

/* LinkedIn link */
.li-link { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; text-decoration: none; }
.li-link svg { width: 18px; height: 18px; fill: currentColor; }

/* Anchor links land below the sticky header */
html { scroll-padding-top: 96px; }

/* Smooth transitions (opacity only, GPU-friendly) */
@keyframes ki-fade-in { from { opacity: 0; } to { opacity: 1; } }
main, .cta, .site-footer { animation: ki-fade-in 0.6s cubic-bezier(.22,1,.36,1); transition: opacity 0.22s ease; }
.is-leaving main, .is-leaving .cta, .is-leaving .site-footer { opacity: 0; }
.vt main, .vt .cta, .vt .site-footer { animation: none; }
html { scroll-behavior: smooth; }

/* Browser-native cross-fade between pages (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: 0.28s cubic-bezier(.4,0,1,1) both ki-vt-out; }
::view-transition-new(root) { animation: 0.55s cubic-bezier(.22,1,.36,1) both ki-vt-in; }
@keyframes ki-vt-out { to { opacity: 0; } }
@keyframes ki-vt-in { from { opacity: 0; } }

/* Photos fade in */
.js img.fx { opacity: 0; transition: opacity 0.9s cubic-bezier(.22,1,.36,1); }
.js img.fx.is-in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  main, .cta, .site-footer { animation: none; transition: none; }
  html { scroll-behavior: auto; }
  .js img.fx { opacity: 1; transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Enquiry form v3 */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { color: #9b2c1f; font-weight: 600; font-size: 0.92rem; }
.form button[disabled] { opacity: 0.6; cursor: progress; }
.form-done { align-content: start; }
.form-done[hidden] { display: none !important; }
