/* Halvard Heating & Air (fictional). Direction: dispatch. Deep slate, off-white paper, one amber signal. */
:root {
  --ink: #0c1620;
  --slate: #111f2c;
  --slate-2: #172a3b;
  --slate-3: #20384d;
  --paper: #efeadf;
  --paper-2: #e5dfd0;
  --on-dark: #ebe7dc;
  --muted-d: #a3b3c0;
  --muted-l: #4b5a66;
  --amber: #f0a63a;
  --amber-hi: #f6b955;
  --amber-ink: #8f4306;
  --line-d: rgba(235, 231, 220, .16);
  --line-l: rgba(12, 22, 32, .18);
  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 132px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--slate); color: var(--on-dark); font: 400 17px/1.6 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 4px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
.light :focus-visible { outline-color: var(--ink); }
[id] { scroll-margin-top: 88px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; background: var(--amber); color: var(--ink); border: 0; border-radius: 6px; font-weight: 700; font-size: 16px; letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, transform .12s; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 18px; }
.btn:active { transform: translateY(1px) scale(.985); }
@media (hover: hover) { .btn:hover { background: var(--amber-hi); } }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(17, 31, 44, .94); border-bottom: 1px solid var(--line-d); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.head-in { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--amber); flex: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; color: var(--on-dark); }
.brand-name { font-weight: 800; font-size: 22px; letter-spacing: -.01em; font-stretch: 112%; }
.brand-sub { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); margin-top: 5px; }
.head-nav { display: flex; gap: 4px; margin-left: auto; }
.head-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--muted-d); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 4px; transition: color .15s; }
@media (hover: hover) { .head-nav a:hover { color: var(--on-dark); } }
.head-act { display: flex; align-items: center; gap: 20px; }
.head-tel { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; text-align: right; }
.head-tel-l { font: 500 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.head-tel-n { font: 600 19px/1.25 var(--mono); letter-spacing: -.01em; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 0; background: var(--slate); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 64px 64px; opacity: .35; -webkit-mask-image: radial-gradient(ellipse 75% 85% at 78% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 75% 85% at 78% 30%, #000, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 28px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(240, 166, 58, .2); flex: none; }
h1 { font-weight: 800; font-size: clamp(2.9rem, 6.6vw, 6.1rem); line-height: .94; letter-spacing: -.035em; font-stretch: 104%; text-wrap: balance; max-width: 12ch; }
.amber { color: var(--amber); }
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: #cdd5da; max-width: 52ch; margin-top: 28px; }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 36px; }
.hero-tel { display: inline-flex; align-items: center; gap: 14px; min-height: 58px; font: 600 clamp(1.75rem, 3.3vw, 2.75rem)/1 var(--mono); letter-spacing: -.05em; word-spacing: -.25em; text-decoration: none; color: var(--on-dark); border-bottom: 2px solid var(--amber); padding-bottom: 4px; }
.hero-tel svg { width: .8em; height: .8em; color: var(--amber); flex: none; }
.hero-sub { margin-top: 24px; font-size: 15px; color: var(--muted-d); }
.hero-sub a { color: var(--on-dark); text-underline-offset: 3px; text-decoration-color: rgba(235, 231, 220, .4); }
@media (hover: hover) { .hero-sub a:hover { text-decoration-color: var(--amber); } }

.plate { background: linear-gradient(180deg, var(--slate-2), #132434); border: 1px solid var(--line-d); border-radius: 10px; padding: 0 0 8px; position: relative; }
.plate-bar { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line-d); font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); }
.condenser { width: 100%; height: auto; padding: 8px 12px 0; }
.condenser .ln { fill: none; stroke: #c9d2d8; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.condenser .ln * { vector-effect: non-scaling-stroke; }
.condenser .thin { stroke-width: 1; opacity: .55; }
.condenser .face { fill: #152739; }
.condenser .face-none { fill: #152739; }
.condenser .pad { stroke: #7f909d; }
.condenser .pad path { fill: #0f1d2a; }
.condenser .blades { opacity: .8; stroke-width: 2; }
.condenser .lineset .p1 { stroke: #c9d2d8; stroke-width: 9; opacity: .22; }
.condenser .lineset .p2 { stroke: var(--amber); stroke-width: 2; }
.condenser .lineset { vector-effect: non-scaling-stroke; }
.condenser .inflow { stroke: var(--muted-d); stroke-width: 1.5; stroke-dasharray: 3 6; }
.condenser .inflow path { vector-effect: non-scaling-stroke; }
.condenser .call path { fill: none; stroke: var(--muted-d); stroke-width: 1; }
.condenser .call circle { fill: var(--amber); }
.condenser .call text { font: 500 11.5px var(--mono); letter-spacing: .1em; fill: var(--on-dark); }

.triage { position: relative; margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line-d); display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 32px 0 40px; }
.triage-h { font: 500 12.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); padding-top: 4px; }
.triage-l { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: t; }
.triage-l li { position: relative; padding: 0 28px 0 0; font-size: 15px; line-height: 1.55; color: #c3ccd2; counter-increment: t; }
.triage-l li + li { padding-left: 28px; border-left: 1px solid var(--line-d); }
.triage-l b { display: block; color: var(--on-dark); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.triage-l .warn b { color: var(--amber); }

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; }
.sec.light { background: var(--paper); color: var(--ink); }
.sec.dark { background: var(--slate); }
.sec.dark.alt { background: var(--ink); }
.eyebrow { font: 500 12.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
.light .eyebrow { color: var(--amber-ink); }
h2 { font-weight: 800; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.03em; font-stretch: 104%; text-wrap: balance; max-width: 18ch; }
.sec p { max-width: 60ch; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-head p:not(.eyebrow) { margin-top: 24px; color: var(--muted-d); }
.light .split-head p:not(.eyebrow) { color: var(--muted-l); }
.split-head { position: sticky; top: 112px; }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.fine { font-size: 14.5px; color: var(--muted-l); margin-top: 20px; }

/* ---------- prices ---------- */
.prices { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.prices thead th { padding: 14px 0; text-align: left; font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-l); border-bottom: 1px solid var(--line-l); }
.prices tbody tr:not(.grp) > * { padding: 26px 0; border-bottom: 1px solid var(--line-l); vertical-align: baseline; }
.prices .grp th { padding: 36px 0 12px; text-align: left; font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); }
.prices tbody tr:first-child.grp th { padding-top: 24px; }
.prices tbody th[scope="row"] { text-align: left; font-weight: 700; font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -.015em; width: 29%; padding-right: 24px; }
.prices td:not(.num) { color: var(--muted-l); font-size: 16px; line-height: 1.5; padding-right: 32px; max-width: 40ch; }
.prices .num { text-align: right; white-space: nowrap; font: 600 clamp(1.5rem, 2.5vw, 2.125rem)/1 var(--mono); letter-spacing: -.04em; color: var(--ink); }
.prices .num small { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-l); margin-right: 8px; }
.prices thead .num { font: 500 12px/1.3 var(--mono); letter-spacing: .12em; }
.prices tbody tr:not(.grp) { transition: background-color .15s; }
@media (hover: hover) { .prices tbody tr:not(.grp):hover { background: rgba(12, 22, 32, .035); } }

/* ---------- estimate ---------- */
.est-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.est-split .split-head h2 { max-width: 13ch; }
.tick { margin-top: 32px; display: grid; gap: 12px; }
.tick li { position: relative; padding-left: 28px; font-size: 15.5px; color: #cdd5da; line-height: 1.5; }
.tick li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 8px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg) translate(2px, -2px); }
.est-card { background: var(--slate); border: 1px solid var(--line-d); border-radius: 10px; padding: clamp(24px, 3.5vw, 44px); min-height: 480px; }
.est-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.est-q legend { padding: 0; font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 28px; float: left; width: 100%; }
.est-q legend + * { clear: both; }
.est-progress { display: block; font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.est-q { display: grid; grid-template-columns: 1fr; gap: 10px; }
.est-q legend { grid-column: 1 / -1; }
.est-opt { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 20px; min-height: 60px; padding: 14px 20px; text-align: left; background: transparent; border: 1px solid rgba(235, 231, 220, .28); border-radius: 8px; cursor: pointer; transition: border-color .15s, background-color .15s, transform .12s; }
.est-opt-l { font-weight: 600; font-size: 16.5px; line-height: 1.3; }
.est-opt-h { font-size: 14px; color: var(--muted-d); line-height: 1.35; }
.est-opt { align-items: center; }
@media (hover: hover) { .est-opt:hover { border-color: var(--amber); background: rgba(240, 166, 58, .08); } }
.est-opt:active { transform: scale(.985); }
.est-back { grid-column: 1 / -1; justify-self: start; min-height: 44px; padding: 0 4px; margin-top: 8px; background: none; border: 0; color: var(--muted-d); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (hover: hover) { .est-back:hover { color: var(--on-dark); } }
.est-result { outline: none; }
.est-range-label { font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.est-range { font: 600 clamp(1.6rem, 3vw, 2.6rem)/1.1 var(--mono); letter-spacing: -.05em; white-space: nowrap; margin: 14px 0 12px; color: var(--on-dark); }
.est-picked { font-size: 15px; color: var(--muted-d); max-width: 52ch; }
.est-note { font-size: 14.5px; color: #b6c2cb; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-d); max-width: 56ch; }
.est-result .est-back { margin: 8px 0 0; }
.est-contact { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line-d); }
.est-contact-h { font-weight: 700; font-size: 1.125rem; margin-bottom: 18px; }
.est-contact .btn { margin-top: 20px; }

/* ---------- form fields ---------- */
.fields { display: grid; grid-template-columns: 1.3fr 1.1fr .6fr; gap: 14px; }
.fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted-d); min-width: 0; }
.f input, .f select { width: 100%; min-height: 50px; padding: 0 14px; background: rgba(235, 231, 220, .06); border: 1px solid rgba(235, 231, 220, .28); border-radius: 6px; color: var(--on-dark); font-size: 16px; font-weight: 400; transition: border-color .15s, background-color .15s; }
.f select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a3b3c0' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.f select option { color: #0c1620; }
.f input:focus-visible, .f select:focus-visible { outline: 0; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(240, 166, 58, .35); }
@media (hover: hover) { .f input:hover, .f select:hover { border-color: rgba(235, 231, 220, .5); } }
.sent { margin-top: 20px; padding: 14px 16px; background: rgba(240, 166, 58, .12); border-left: 3px solid var(--amber); font-size: 15px; color: var(--on-dark); border-radius: 0 4px 4px 0; }
.sent[hidden], .est-result[hidden], .est-contact[hidden] { display: none; }

/* ---------- visit steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: s; }
.steps li { position: relative; padding: 36px 32px 8px 0; border-top: 2px solid var(--ink); }
.steps li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--amber); border: 2px solid var(--ink); border-radius: 50%; }
.steps .n { display: block; font: 500 13px/1 var(--mono); letter-spacing: .1em; color: var(--amber-ink); margin-bottom: 20px; }
.steps h3 { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.025em; line-height: 1.05; margin-bottom: 14px; font-stretch: 104%; }
.steps p { color: var(--muted-l); font-size: 16px; line-height: 1.55; }

/* ---------- plan ---------- */
.plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.plan-copy > p:not(.eyebrow) { margin-top: 24px; color: #cdd5da; }
.ledger { background: var(--paper); color: var(--ink); border-radius: 10px; padding: clamp(28px, 4vw, 48px); position: relative; }
.ledger::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--amber); border-radius: 10px 10px 0 0; }
.ledger p { max-width: none; }
.ledger-top, .ledger-main { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 1.125rem; }
.ledger-top .mono { font-size: 1.75rem; text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted-l); font-weight: 500; letter-spacing: -.04em; }
.ledger-sub { font-size: 14.5px; color: var(--muted-l); margin-top: 6px; }
.ledger-main { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line-l); font-size: 1.375rem; }
.ledger-price { display: inline-flex; align-items: baseline; gap: 10px; }
.ledger-price .mono { font-size: clamp(3rem, 6vw, 4.75rem); line-height: 1; letter-spacing: -.06em; font-weight: 600; }
.ledger-price .per { font: 500 14px var(--mono); letter-spacing: .04em; color: var(--muted-l); }
.ledger .btn { margin-top: 32px; background: var(--ink); color: var(--paper); }
@media (hover: hover) { .ledger .btn:hover { background: #1c2f40; } }
.ledger .btn:focus-visible { outline-color: var(--ink); }

/* ---------- area ---------- */
.area { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hoods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.hoods h3 { font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.hoods li { padding: 11px 0; border-bottom: 1px solid var(--line-l); font-weight: 600; font-size: 17px; letter-spacing: -.005em; }
.rings { color: var(--ink); justify-self: end; align-self: start; width: min(100%, 400px); }
.reviews { margin-top: clamp(72px, 9vw, 120px); padding: clamp(24px, 3.5vw, 40px); border: 1.5px dashed rgba(12, 22, 32, .35); border-radius: 10px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 48px; align-items: center; }
.reviews h3 { font-weight: 700; font-size: 1.25rem; letter-spacing: -.015em; }
.reviews p { color: var(--muted-l); font-size: 15.5px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact-form h2 { max-width: 16ch; margin-bottom: 40px; }
.book { display: grid; gap: 24px; max-width: 640px; }
.windows { border: 0; margin: 0; padding: 0; min-width: 0; }
.win-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.windows legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--muted-d); }
.windows label { display: block; position: relative; }
.windows input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.windows span { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 16px; border: 1px solid rgba(235, 231, 220, .28); border-radius: 8px; font-weight: 600; transition: border-color .15s, background-color .15s; }
.windows small { font: 400 13px var(--mono); color: var(--muted-d); }
.windows input:checked + span { border-color: var(--amber); background: rgba(240, 166, 58, .12); }
.windows input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
@media (hover: hover) { .windows input:not(:checked):hover + span { border-color: rgba(235, 231, 220, .55); } }
.book .btn { justify-self: start; }
.book .sent { margin-top: 0; }
.contact-side { padding: clamp(28px, 3.5vw, 44px); border: 1px solid var(--line-d); border-radius: 10px; background: var(--slate); }
.side-l { font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.side-tel { display: block; margin-top: 14px; font: 600 clamp(1.75rem, 2.9vw, 2.5rem)/1 var(--mono); letter-spacing: -.05em; white-space: nowrap; text-decoration: none; padding: 4px 0; }
.side-s { font-size: 15px; color: var(--muted-d); margin-top: 10px; }
.hours { width: 100%; border-collapse: collapse; margin: 28px 0 24px; }
.hours th, .hours td { text-align: left; padding: 14px 0; border-top: 1px solid var(--line-d); font-size: 15.5px; vertical-align: top; }
.hours th { font-weight: 700; padding-right: 16px; width: 42%; }
.hours td { color: var(--muted-d); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); border-top: 1px solid var(--line-d); padding: 40px 0; font-size: 15px; color: var(--muted-d); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; }
.foot-name { font-weight: 800; font-size: 18px; color: var(--on-dark); letter-spacing: -.01em; }
.foot-in nav { display: flex; gap: 4px; }
.foot-in a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; }
.foot-in p a { padding: 0; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .foot-in a:hover { color: var(--on-dark); } }

.dock { display: none; }

/* ---------- entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .plate { animation: rise .8s .12s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .head-nav { display: none; }
  .head-act { margin-left: auto; }
  .triage { grid-template-columns: 1fr; gap: 20px; }
  .triage-l { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .triage-l li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .plan, .area, .contact { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .plate { max-width: 600px; }
  .split-head { position: static; }
  .rings { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  body { font-size: 16.5px; padding-bottom: 76px; }
  .head-in { min-height: 64px; }
  .head-act .btn, .head-tel-l { display: none; }
  .head-tel-n { font-size: 17px; }
  .status { font-size: 11.5px; }
  .hero-act { flex-direction: column; align-items: flex-start; }
  .hero-act .btn { align-self: stretch; }
  .triage-l { grid-template-columns: 1fr; row-gap: 0; }
  .triage-l li, .triage-l li + li { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line-d); }
  .triage-l li:first-child { border-top: 0; padding-top: 0; }
  .prices thead { display: none; }
  .prices, .prices tbody, .prices tr, .prices th, .prices td { display: block; }
  .prices tbody tr:not(.grp) { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 22px 0; border-bottom: 1px solid var(--line-l); }
  .prices tbody tr:not(.grp) > * { padding: 0; border: 0; width: auto; }
  .prices tbody th[scope="row"] { grid-column: 1; padding: 0; }
  .prices td:not(.num) { grid-column: 1 / -1; grid-row: 2; padding-right: 0; font-size: 15.5px; }
  .prices .num { grid-column: 2; grid-row: 1; }
  .est-opt { min-height: 64px; }
  .est-card { min-height: 0; }
  .fields, .fields.two { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 0; border-left: 2px solid var(--ink); }
  .steps li { padding: 0 0 36px 28px; border-top: 0; }
  .steps li::before { top: 4px; left: -8px; }
  .hoods { gap: 24px; }
  .win-row { grid-template-columns: 1fr; }
  .windows span { min-height: 56px; }
  .book .btn { justify-self: stretch; }
  .contact-form h2 { margin-bottom: 28px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .dock { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: rgba(12, 22, 32, .96); border-top: 1px solid var(--line-d); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .dock .btn, .dock-call { min-height: 52px; }
  .dock-call { display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid rgba(235, 231, 220, .5); border-radius: 6px; font-weight: 700; text-decoration: none; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 20px; }
  .ledger-top .mono { font-size: 1.5rem; }
  .ledger-main { flex-direction: column; align-items: flex-start; gap: 8px; }
}
