/* Crawley Driveway Quotes. Layout: sticky header, hero with quote card, prose + sticky quote aside, paving strip under each hero. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600 800; font-stretch: 100% 125%; font-display: swap; src: url("fonts/archivo-latin.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/atkinson-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/atkinson-700-latin.woff2") format("woff2"); }

:root {
  --teal: #1d5c57;
  --teal-deep: #133f3c;
  --gold: #c99a3b;
  --kerb: #6f6b64;
  --bg: #f7f6f2;
  --paper: #ffffff;
  --ink: #1c2422;
  --line: #dcd8cf;
  --band: #ecebe4;
  --on-teal: #f4f1e8;
  --btn-ink: #1c1606;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --radius: 6px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; font-weight: 750; line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--teal); 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(--gold); outline-offset: 2px; }

.wrap { max-width: 1140px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 30; background: var(--paper); padding: 8px 12px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: 1.05rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 20px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.menu-btn { display: none; font: 700 .95rem var(--body); background: none; border: 1px solid var(--line); color: var(--ink); padding: 6px 12px; border-radius: var(--radius); cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; width: 100%; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; padding-block: 8px; }
}

/* Buttons */
.btn { display: inline-block; background: var(--gold); color: var(--btn-ink) !important; font: 700 1rem var(--body); text-decoration: none !important; padding: 11px 20px; border: 0; border-radius: var(--radius); cursor: pointer; }
.btn:hover { filter: brightness(1.06); }
.btn-quiet { background: transparent; color: var(--on-teal) !important; box-shadow: inset 0 0 0 2px var(--on-teal); }

/* Heroes */
.hero, .page-hero { background: var(--teal-deep); color: var(--on-teal); position: relative; }
.hero a:not(.btn), .page-hero a:not(.btn) { color: var(--on-teal); }
.hero .wrap { padding-block: 56px 72px; }
.page-hero .wrap { padding-block: 44px 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.hero-grid > * { min-width: 0; }
.lede { font-size: 1.2rem; max-width: 40em; opacity: .92; }
.hero-points { padding-left: 1.2em; margin: 0; }
.hero-points li::marker { color: var(--gold); }
.crumbs { font-size: .9rem; opacity: .85; margin-bottom: 12px; }
/* Paving strip: a stretcher-bond course drawn in CSS */
.paving { height: 18px; background:
  repeating-linear-gradient(90deg, transparent 0 46px, var(--teal-deep) 46px 48px),
  linear-gradient(var(--gold), var(--gold));
  border-top: 2px solid var(--teal-deep); opacity: .9; }

/* Sections */
section .wrap { padding-block: 56px; }
.band { background: var(--band); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.cols > * { min-width: 0; }
.aside-wrap { position: sticky; top: 90px; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .35em; }
@media (max-width: 900px) {
  .hero-grid, .cols { grid-template-columns: 1fr; }
  .aside-wrap { position: static; }
}

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.steps li { counter-increment: s; border-top: 3px solid var(--gold); padding-top: 14px; }
.steps li::before { content: counter(s); font: 800 2rem var(--display); color: var(--teal); }

.surfaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.surface { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.surface p { flex: 1; }
.swatch { display: inline-block; width: 16px; height: 16px; border-radius: 3px; margin-right: 8px; vertical-align: -2px; }
.price { font-weight: 700; }
.price small { display: block; font-weight: 400; color: var(--kerb); font-size: .85rem; }

.callout { background: var(--band); border-left: 4px solid var(--gold); padding: 14px 18px; margin: 1.2em 0; border-radius: 0 var(--radius) var(--radius) 0; }
.facts { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; }
@media (max-width: 600px) { .facts { display: block; overflow-x: auto; } }
.facts th, .facts td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { font-weight: 700; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 8px 0 0; }
.areas { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.areas li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; line-height: 1.45; }
.areas[style*="columns"] { gap: 8px; grid-template-columns: 1fr; }
.areas[style*="columns"] li { padding: 9px 14px; }

/* Forms */
.quote-card { background: var(--paper); color: var(--ink); border-radius: 8px; padding: 24px; box-shadow: 0 12px 32px rgba(0,0,0,.18); border-top: 5px solid var(--gold); }
.quote-card a { color: var(--teal) !important; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .two { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; min-width: 0; }
.field label { font-weight: 700; font-size: .92rem; }
.hint { font-weight: 400; color: var(--kerb); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 10px; width: 100%; }
textarea { min-height: 84px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; margin: 6px 0 14px; }
.consent input { width: auto; margin-top: 4px; }
.form-note { font-size: .88rem; color: var(--kerb); margin: 10px 0 0; }
.quote-card .btn { width: 100%; }
.form-msg { background: var(--band); border-left: 4px solid var(--teal); padding: 10px 14px; margin-top: 12px; font-size: .92rem; }

.estimator { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 22px; margin-bottom: 1.4em; }
.est-figure { font: 800 2rem var(--display); color: var(--teal); }
.est-note { color: var(--kerb); font-size: .92rem; margin: 4px 0 0; }

.cta-strip { background: var(--teal); color: var(--on-teal); }
.cta-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 36px; }
.cta-strip p { margin: 0; }

.site-foot { background: var(--teal-deep); color: var(--on-teal); font-size: .95rem; }
.site-foot .wrap { padding-block: 48px 32px; }
.site-foot a { color: var(--on-teal); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 6px; }
.disclosure { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: .85rem; opacity: .85; max-width: 80ch; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.form-msg.error { border-left-color: #b3412e; }
.not-found { text-align: left; }
.not-found ul { columns: 2; max-width: 520px; }
@media (max-width: 480px) { .not-found ul { columns: 1; } }
@media (max-width: 480px) {
  .brand { font-size: .92rem; gap: 8px; }
  .brand svg { width: 28px; height: 28px; }
  .site-head .wrap { gap: 10px; }
}
@media (max-width: 900px) { .surfaces { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .surfaces { grid-template-columns: 1fr; } }
/* Atkinson's slashed zero reads oddly in prices, so figures use Archivo */
.price, .num, .est-note { font-family: var(--display); font-stretch: 100%; font-weight: 600; }
.price { font-weight: 750; }
.price small { font-family: var(--body); font-weight: 400; }
.reviewed { font-size: .9rem; opacity: .8; margin: -4px 0 0; }
.facts td a { text-underline-offset: 2px; }
/* Diagrams */
.diagram { margin: 1.4em 0; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.diagram svg { display: block; width: 100%; height: auto; max-width: 620px; }
.diagram figcaption { margin-top: 10px; font-size: .9rem; color: var(--kerb); line-height: 1.5; }
.diagram figcaption strong { color: var(--ink); }
@media (max-width: 480px) { .diagram { padding: 10px; margin-inline: -4px; } }
.diagram-pair { display: flex; flex-wrap: wrap; gap: 12px; }
.diagram-pair svg { flex: 1 1 240px; min-width: 0; max-width: 340px; }
.copyright { margin: 14px 0 0; font-size: .85rem; opacity: .85; }

:root{--s-accent:var(--teal);--s-hi:var(--gold);--s-paper:var(--paper);--s-soft:var(--band);--s-line:var(--line);--s-muted:var(--kerb);--s-ink:var(--ink);--s-on:var(--on-teal);--s-head:var(--display);--s-body:var(--body);}

/* ===== Nov 2026: step-by-step quote form, trust strip, at-a-glance boxes ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.card-title { font-size: .95rem !important; letter-spacing: .04em; text-transform: uppercase; color: var(--s-accent); margin: 0 0 12px; font-stretch: 100%; }
.stepper { color: var(--s-ink); }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.step-count { font: 700 .85rem var(--s-body); color: var(--s-muted); white-space: nowrap; }
.step-now { color: var(--s-accent); }
.step-bar { flex: 1; height: 6px; background: var(--s-soft); border-radius: 3px; overflow: hidden; }
.step-bar span { display: block; height: 100%; background: var(--s-hi); border-radius: 3px; transition: width .3s ease; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step + .step { margin-top: 28px; }
.js .step + .step { margin-top: 0; }
.js .step:not(.on) { display: none; }
.step legend { padding: 0; margin-bottom: 16px; width: 100%; }
.step-title { font: 750 clamp(1.25rem, 2.4vw, 1.55rem)/1.2 var(--s-head); font-stretch: 110%; color: var(--s-ink); display: block; }
.q-label { font-weight: 700; margin: 4px 0 10px; }
.field-big input { font-size: 1.25rem; padding: 14px; text-transform: uppercase; }
.field-big input::placeholder { text-transform: none; }
.pc-msg { font-size: .95rem; color: var(--s-muted); margin: 0 0 4px; min-height: 1.6em; }
.pc-msg.ok { color: var(--s-accent); font-weight: 700; }
.tiles { display: grid; gap: 10px; margin: 0 0 16px; }
.tiles-choice { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile, .chip { position: relative; cursor: pointer; }
.tile input, .chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile { display: flex; flex-direction: column; border: 2px solid var(--s-line); border-radius: 8px; overflow: hidden; background: var(--s-paper); transition: border-color .15s, transform .15s; }
.tile .tex { height: 60px; display: block; }
.tile .tile-img { height: 60px; display: flex; align-items: center; justify-content: center; background: var(--s-soft); }
.tile .tile-img img { max-height: 48px; width: auto; }
.tile-name { padding: 10px 12px; font-weight: 700; line-height: 1.25; }
.tile-wide { grid-column: 1 / -1; flex-direction: row; justify-content: center; }
.tile:hover { border-color: var(--s-accent); transform: translateY(-1px); }
.tile:has(input:checked) { border-color: var(--s-accent); box-shadow: 0 0 0 2px var(--s-accent); }
.tile:has(input:focus-visible), .chip:has(input:focus-visible) { outline: 3px solid var(--s-hi); outline-offset: 2px; }
.tiles-chip { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span { display: inline-block; padding: 9px 16px; border: 2px solid var(--s-line); border-radius: 999px; font-weight: 700; font-size: .95rem; background: var(--s-paper); }
.chip:hover span { border-color: var(--s-accent); }
.chip:has(input:checked) span { border-color: var(--s-accent); background: var(--s-accent); color: var(--s-on); }
details.more { border: 0; padding: 0 0 8px; }
.more summary { font-weight: 700; color: var(--s-accent); cursor: pointer; }
.more .field { margin-top: 10px; }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.btn-back { background: none; border: 0; font: 700 .95rem var(--s-body); color: var(--s-muted); cursor: pointer; padding: 10px 4px; }
.btn-back:hover { color: var(--s-ink); }
.js .step[data-step="1"] .btn-back { visibility: hidden; }
.stepper .step-nav .btn { width: auto; flex: 1; max-width: 260px; margin-left: auto; padding: 13px 20px; font-size: 1.05rem; }
.card-ticks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--s-line); font-size: .9rem; color: var(--s-muted); }
.card-ticks li::before { content: ""; display: inline-block; width: 9px; height: 5px; border: solid var(--s-accent); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-3px); margin-right: 8px; }
.field-error { color: #b3412e; font-weight: 700; font-size: .92rem; margin: -6px 0 10px; }
.stepper .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; margin: 6px 0 14px; }
.stepper .consent input { width: auto; margin-top: 4px; }
.aside-wrap .tiles-choice, .cols .tiles-choice { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aside-wrap .tile .tex, .aside-wrap .tile .tile-img { height: 44px; }

/* Trust strip */
.trust { background: var(--s-paper); border-bottom: 1px solid var(--s-line); }
.trust .wrap { padding-top: 26px; padding-bottom: 26px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.trust-list svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--s-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-list strong { display: block; line-height: 1.25; color: var(--s-ink); }
.trust-list span { display: block; font-size: .9rem; color: var(--s-muted); line-height: 1.4; margin-top: 2px; }
@media (max-width: 900px) { .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trust-list { grid-template-columns: 1fr; gap: 14px; } }

/* "Not sure" helper and pick links on the type list */
.choose-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: var(--s-paper); border: 2px solid var(--s-accent); border-radius: 8px; padding: 16px 20px; margin: 0 0 20px; }
.choose-note p { margin: 0; flex: 1 1 320px; min-width: 0; }
.choose-note[hidden] { display: none; }
#surfaces { scroll-margin-top: 70px; }
.pick { display: inline-block; margin-top: 8px; font: 700 .92rem var(--s-body); color: var(--s-accent); }
.pick::after { content: " \2192"; }

/* At a glance and size tables */
.glance { background: var(--s-paper); border: 1px solid var(--s-line); border-top: 5px solid var(--s-hi); border-radius: 8px; padding: 20px 22px; margin: 0 0 2em; }
.glance h2 { font-size: 1.25rem !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; }
.glance dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0; }
.glance dl > div { min-width: 0; border-bottom: 1px solid var(--s-line); padding-bottom: 10px; }
.glance dt { font-size: .85rem; color: var(--s-muted); }
.glance dd { margin: 2px 0 0; font-weight: 700; font-family: var(--s-head); font-stretch: 100%; }
.glance-note { font-size: .88rem; color: var(--s-muted); margin: 12px 0 0; }
@media (max-width: 520px) { .glance dl { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; margin: 0 0 1.2em; }
.table-scroll table { margin: 0; min-width: 520px; }
.size-table th small { font-weight: 400; color: var(--s-muted); }

/* Sticky phone button */
.mobile-cta { display: none; }
@media (max-width: 860px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--s-paper); border-top: 1px solid var(--s-line); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); transform: translateY(110%); transition: transform .25s ease; }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { display: block; text-align: center; padding: 13px; }
  body:has(.mobile-cta) .site-foot { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .tiles-choice { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile .tex, .tile .tile-img { height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .step-bar span, .tile, .mobile-cta { transition: none; } }

/* Surface textures drawn in CSS, so no stock photos */
.tex-resin { background-color: #b8a07a; background-image: radial-gradient(#8d7656 1px, transparent 1.5px), radial-gradient(#d9c6a2 1px, transparent 1.5px), radial-gradient(#6f5c43 .8px, transparent 1.2px); background-size: 7px 7px, 9px 9px, 5px 5px; background-position: 0 0, 3px 4px, 1px 2px; }
.tex-block { background-color: #9a6b55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect width='32' height='32' fill='%239a6b55'/%3E%3Cpath d='M0 .75h32M0 16.75h32M.75 0v16M16.75 16v16' stroke='%23e8dccd' stroke-width='1.5'/%3E%3C/svg%3E"); background-size: 32px 32px; }
.tex-tarmac { background-color: #3e4245; background-image: radial-gradient(#5d6266 .8px, transparent 1.2px), radial-gradient(#2a2d2f 1px, transparent 1.4px); background-size: 4px 4px, 6px 6px; background-position: 0 0, 2px 3px; }
.tex-imprinted { background-color: #a48f78; background-image: radial-gradient(circle at 50% 50%, transparent 9px, #8a745d 9px 10.5px, transparent 11px); background-size: 22px 22px; }
.tex-gravel { background-color: #c8bfae; background-image: radial-gradient(#a99d87 2px, transparent 2.5px), radial-gradient(#e3dccd 1.6px, transparent 2px), radial-gradient(#8f8676 1.2px, transparent 1.6px); background-size: 9px 9px, 11px 11px, 7px 7px; background-position: 0 0, 4px 5px, 2px 1px; }
.tex-patio { background-color: #d9d2c4; background-image: linear-gradient(#b5ab98 2px, transparent 2px), linear-gradient(90deg, #b5ab98 2px, transparent 2px); background-size: 46px 30px; }
.cols > *, .prose { min-width: 0; }
section.trust { padding: 0 !important; margin: 0; }
.trust-slim .wrap { padding-top: 18px; padding-bottom: 18px; }
.tile-row { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.tile-row .tile-img { height: 52px !important; width: 96px; flex: none; }

/* Crawley palette */
:root{--teal:#2a4d72;--teal-deep:#1b3049;--gold:#e0a33a;--band:#e9ecef;--bg:#f6f7f8;--on-teal:#f1f4f7;--btn-ink:#1b1405;}


.eyebrow span { white-space: nowrap; }
/* Areas covered, above the homepage heading */
.eyebrow { font: 700 .82rem/1.5 var(--s-body); letter-spacing: .06em; text-transform: uppercase; color: var(--s-eyebrow, var(--s-hi)); margin: 0 0 12px; max-width: 46rem; }

/* Worthing-style homepage layout on every site */
.hero-start .hero-start-wrap { display: grid; gap: 28px; justify-items: center; }
.hero-start .hero-copy { text-align: center; max-width: 46rem; min-width: 0; }
.hero-start .hero-copy p, .hero-start .eyebrow { margin-left: auto; margin-right: auto; }
.hero-start .hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; text-align: left; }
.hero-start .hero-points li { margin: 0; }
.hero-start .quote-card { width: 100%; max-width: 760px; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.projects.projects-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.project { background: var(--s-paper); border: 1px solid var(--s-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.project .tex { height: 84px; display: block; }
.project-img { height: 104px; display: flex; align-items: center; justify-content: center; background: var(--s-soft); }
.project-img img { max-height: 84px; width: auto; }
.project-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.project-body p { flex: 1; font-size: .97rem; margin: 0 0 12px; }
.project h3 { margin: 0 0 8px; }
.project h3 a { color: var(--s-ink); text-decoration: none; }
.project h3 a:hover { color: var(--s-accent); text-decoration: underline; }
.project .price { margin-bottom: 14px; font-weight: 700; }
.project .price small { display: block; font-weight: 400; color: var(--s-muted); font-size: .85rem; }
.project .btn-line { background: transparent; color: var(--s-accent); box-shadow: inset 0 0 0 2px var(--s-accent); text-align: center; }
.project .btn-line:hover { background: var(--s-accent); color: var(--s-on); }
@media (max-width: 1000px) { .projects.projects-7 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .projects, .projects.projects-7 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .projects, .projects.projects-7 { grid-template-columns: 1fr; } }
.steps-cards li { background: var(--s-paper); border: 1px solid var(--s-line); border-top: 3px solid var(--s-hi) !important; border-radius: 6px; padding: 18px 20px !important; }
.steps-cards li p { margin: 0; }
.cost-split { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; align-items: start; }
.cost-split > * { min-width: 0; }
.cost-split .estimator { margin: 0; border-top: 5px solid var(--s-hi); }
@media (max-width: 900px) { .cost-split { grid-template-columns: 1fr; } }
.area-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; columns: auto !important; }
.area-chips li { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
.area-chips a { display: inline-block; padding: 8px 14px; background: var(--s-paper); border: 1px solid var(--s-line); border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--s-accent); }
.area-chips a:hover { border-color: var(--s-accent); }

/* back-link (29 Nov) */
.back-link{display:inline-flex;align-items:center;gap:.4em;margin:0 0 .9rem;padding:.45em .95em;border:1.5px solid currentColor;border-radius:999px;font-weight:700;font-size:.95rem;line-height:1.2;color:inherit;text-decoration:none}
.back-link:hover,.back-link:focus-visible{background:rgba(255,255,255,.14)}
.back-link svg{width:1em;height:1em;flex:none}
.glance-back{margin:.8rem 0 0;font-weight:700}

/* cards (29 Nov) */
.project-media{display:block;text-decoration:none}
.project-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.project-actions .btn{margin-top:0;flex:1 1 150px;text-align:center}
.diagram-back{margin:.4rem 0 1.4rem;font-weight:700}
