/* ==========================================================
   HDD Concrete & Civil — site styles
   Palette: black / white / grey only (brand)
   ========================================================== */

:root {
  --ink: #231f20;          /* brand black (matches logo background) */
  --ink-2: #2e2a2b;        /* slightly lifted black for panels on black */
  --paper: #ffffff;        /* white */
  --concrete: #f2f2ef;     /* poured-concrete off-white */
  --aggregate: #b9b9b4;    /* mid-light grey for muted text on dark */
  --slab: #6b6b68;         /* mid grey for muted text on light */
  --line: #dadad6;         /* hairlines on light */
  --line-dark: #3a3637;    /* hairlines on dark */

  --font-display: "Michroma", "Eurostile", "Bank Gothic", "Arial Black", sans-serif; /* stand-in for Eurostile / Spy Agency */
  --font-body: "Titillium Web", "Helvetica Neue", Arial, sans-serif;

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1rem, 1.5vw, 1.2rem); letter-spacing: 0.04em; line-height: 1.25; }
p { margin: 0; max-width: 62ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--slab); }
.on-dark .lede { color: var(--aggregate); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slab);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow { max-width: none; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--aggregate); }

.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 400; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px 26px;
  border: 2px solid var(--ink);
  background: var(--ink); color: var(--paper);
  text-decoration: none; cursor: pointer;
  border-radius: var(--radius);
  transition: background .18s, color .18s, transform .18s;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 3px;
}
.btn .arrow { width: 18px; height: 18px; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.on-dark .btn { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.on-dark .btn:hover { background: transparent; color: var(--paper); }
.on-dark .btn-ghost { background: transparent; color: var(--paper); }
.on-dark .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.on-dark :focus-visible { outline-color: var(--paper); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.site-footer .brand img { height: 72px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-display); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; padding: 10px 14px; color: var(--aggregate);
  border-bottom: 2px solid transparent; transition: color .15s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"] { border-bottom-color: var(--paper); }
.nav .nav-cta { margin-left: 10px; border: 2px solid var(--paper); color: var(--paper); padding: 10px 18px; }
.nav .nav-cta:hover { background: var(--paper); color: var(--ink); }
.nav .ig { display: inline-flex; padding: 10px; }
.nav .ig svg { width: 22px; height: 22px; }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--paper); color: var(--paper);
  width: 46px; height: 46px; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 24px; gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 6px; border-bottom: 1px solid var(--line-dark); font-size: 0.95rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line-dark); color: var(--paper); }
  .nav .nav-cta { margin: 14px 0 0; text-align: center; justify-content: center; display: flex; border-bottom: 2px solid var(--paper); }
  .nav .ig { justify-content: flex-start; gap: 12px; }
  .nav .ig::after { content: "Instagram"; }
  .brand img { height: 46px; }
}

/* ---------- Sections & bands ---------- */
.band { padding-block: clamp(64px, 9vw, 120px); }
.band-dark { background: var(--ink); color: var(--paper); }
.band-concrete { background: var(--concrete); }
.band-tight { padding-block: clamp(40px, 6vw, 72px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.hero-copy { display: grid; gap: 30px; }
.hero-photo { margin: 0; max-height: 620px; aspect-ratio: 3 / 4; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { max-height: 420px; aspect-ratio: 4 / 3; } }
.hero-strip { margin-top: 0; }
.hero h1 span { display: block; }
.hero h1 .chrome {
  background: linear-gradient(180deg, #ffffff 0%, #d9d9d6 45%, #8f8f8c 55%, #f0f0ee 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-strip {
  border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.hero-strip div { padding: 20px 0; padding-right: 24px; display: grid; gap: 4px; }
.hero-strip strong { font-family: var(--font-display); font-weight: 400; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; }
.hero-strip small { color: var(--aggregate); font-size: 0.95rem; }
/* concrete texture backdrop */
.texture {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(255,255,255,0.08), transparent 55%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 9px);
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 2px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.service-card {
  background: var(--paper); padding: 30px 28px 34px; display: grid; gap: 14px; align-content: start;
  border: 1px solid var(--line);
  text-decoration: none; color: inherit; position: relative;
  transition: background .18s, color .18s;
}
.service-card:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.service-card:hover p, .service-card:hover li { color: var(--aggregate); }
.service-card .icon { width: 44px; height: 44px; }
.service-card p { color: var(--slab); font-size: 1rem; }
.service-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 0.97rem; color: var(--slab); }
.service-card li::before { content: "— "; }
.service-card .more { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; margin-top: auto; }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.split { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
@media (max-width: 800px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Two-column feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
figure.photo { margin: 0; }
.photo {
  aspect-ratio: 4 / 3; width: 100%; max-width: 100%;
  background:
    linear-gradient(135deg, #3a3a3d, #1c1c1e 60%, #2a2a2d);
  position: relative; overflow: hidden; border-radius: var(--radius);
}
.photo.light { background: linear-gradient(135deg, #d4d4cf, #bdbdb8 60%, #cfcfca); }
.photo::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-30deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 7px);
}
.photo:has(img)::after { background: linear-gradient(to top, rgba(35,31,32,0.55), transparent 45%); }
.photo:has(img) .label { color: #fff; border-color: rgba(255,255,255,0.45); background: rgba(35,31,32,0.35); backdrop-filter: blur(2px); }
.photo .label {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  font-family: var(--font-display); font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.6rem;
  color: rgba(255,255,255,0.7); padding: 6px 10px; border: 1px solid rgba(255,255,255,0.3);
}
.photo.light .label { color: rgba(0,0,0,0.6); border-color: rgba(0,0,0,0.3); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover img, .gallery .photo:hover img { transform: scale(1.03); }
.photo.tall { aspect-ratio: 3 / 4; }
.photo.wide { aspect-ratio: 16 / 9; }

/* ---------- Checklist / process ---------- */
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.checklist svg { width: 26px; height: 26px; margin-top: 3px; }
.checklist strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 0.9rem; line-height: 1.3; margin-bottom: 4px; letter-spacing: 0.03em; text-transform: uppercase; }
.checklist span { color: var(--slab); }
.on-dark .checklist span { color: var(--aggregate); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; counter-reset: step; }
@media (max-width: 960px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.process div { background: var(--ink-2); padding: 28px 24px 32px; display: grid; gap: 10px; border: 1px solid var(--line-dark); }
.process div::before {
  counter-increment: step; content: "Step " counter(step);
  font-family: var(--font-display); font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.66rem; color: var(--aggregate);
}
.process h3 { color: var(--paper); }
.process p { color: var(--aggregate); font-size: 1rem; }

/* ---------- Gallery strip ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery .photo { aspect-ratio: 1; border-radius: 0; }

/* ---------- Instagram CTA ---------- */
.ig-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.ig-cta .handle { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 14px; }
.ig-cta .handle svg { width: 34px; height: 34px; }
.ig-cta .handle:hover { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- CTA band ---------- */
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
@media (max-width: 800px) { .cta-band .actions { justify-content: flex-start; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--ink); color: var(--paper); }
.page-head .wrap { padding-block: clamp(56px, 8vw, 100px); display: grid; gap: 22px; }
.page-head h1 { font-size: clamp(1.8rem, 4.5vw, 3.6rem); }

/* ---------- Service detail rows ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.service-row:first-of-type { border-top: 0; }
.service-row:nth-child(even) .photo { order: -1; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; } .service-row:nth-child(even) .photo { order: 0; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.68rem; padding: 7px 12px; border: 1px solid var(--ink); }
.on-dark .tags li { border-color: var(--aggregate); color: var(--aggregate); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
.stats div { background: var(--paper); border: 1px solid var(--line); padding: 26px 24px; display: grid; gap: 6px; }
.stats strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.stats span { color: var(--slab); }

/* ---------- Contact layout ---------- */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.35fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-details { display: grid; gap: 28px; }
.contact-details dl { margin: 0; display: grid; gap: 20px; }
.contact-details dt { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.66rem; color: var(--slab); }
.contact-details dd { margin: 4px 0 0; font-size: 1.15rem; }
.contact-details dd a { text-decoration: none; }
.contact-details dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-note { border-left: 3px solid var(--ink); padding-left: 18px; color: var(--slab); font-size: 1rem; }

/* ---------- Form ---------- */
.form { display: grid; gap: 22px; background: var(--paper); border: 1px solid var(--line); padding: clamp(22px, 3.5vw, 40px); }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.form legend { font-family: var(--font-display); font-weight: 400; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.form legend::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.7rem; }
.field .hint { font-size: 0.9rem; color: var(--slab); }
.field .req { color: var(--slab); font-weight: 400; letter-spacing: 0; text-transform: none; font-family: var(--font-body); font-size: 0.85rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 14px; border: 1.5px solid var(--aggregate); border-radius: var(--radius);
  background: var(--concrete); color: var(--ink); font-size: 1rem; line-height: 1.4;
  transition: border-color .15s, background .15s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slab); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: var(--paper); outline: none; box-shadow: 0 0 0 3px rgba(12,12,13,0.12); }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230c0c0d' stroke-width='2' d='M3 6l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.field input[type="file"] { padding: 12px; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  font-family: var(--font-display); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem;
  border: 2px solid var(--ink); background: var(--ink); color: var(--paper); padding: 8px 14px; margin-right: 14px; cursor: pointer; border-radius: var(--radius);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #7a1f1f; }
.addr-wrap { position: relative; }
.addr-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 0; list-style: none; background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(12,12,13,0.18); max-height: 320px; overflow-y: auto; }
.addr-list[hidden] { display: none; }
.addr-list li { padding: 12px 14px; cursor: pointer; font-size: 1rem; line-height: 1.35; border-bottom: 1px solid var(--line); }
.addr-list li small { display: block; color: var(--slab); font-size: 0.88rem; }
.addr-list li:hover, .addr-list li[aria-selected="true"] { background: var(--concrete); }
.addr-list li.addr-note { cursor: default; color: var(--slab); font-size: 0.8rem; text-align: right; border-bottom: 0; padding: 7px 14px; background: var(--paper); }
.addr-manual { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.field input.addr-ok { border-color: #1f6b3a; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: grid; gap: 16px; }
.form-footer .fineprint { font-size: 0.9rem; color: var(--slab); }
.recaptcha-wrap { display: grid; gap: 8px; }
.recaptcha-slot:empty { display: none; }
.recaptcha-badge { display: inline-flex; align-items: stretch; width: max-content; max-width: 100%; border-radius: 3px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.2); font-family: var(--font-body); }
.recaptcha-badge span { background: #4a90e2; color: #fff; font-size: 0.85rem; font-weight: 600; padding: 14px 16px; display: flex; align-items: center; }
.recaptcha-badge svg { width: 56px; height: auto; background: #f9f9f9; padding: 8px; }
.recaptcha-wrap.live .recaptcha-badge { display: none; }
.form-status { font-weight: 600; }
.form-status[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--aggregate); border-top: 1px solid var(--line-dark); }
.site-footer .wrap { padding-block: clamp(48px, 6vw, 72px) 28px; display: grid; gap: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.68rem; color: var(--paper); }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.footer-grid a { text-decoration: none; color: var(--aggregate); }
.footer-grid a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.footer-grid .brand { color: var(--paper); }
.footer-grid p { color: var(--aggregate); font-size: 0.98rem; margin-top: 14px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
.footer-bottom a { color: var(--aggregate); text-decoration: none; }
.footer-bottom a:hover { color: var(--paper); }

/* ---------- Utilities ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-lg { margin-top: clamp(32px, 5vw, 56px); }
.center { text-align: center; }
.center p { margin-inline: auto; }

/* ---------- Instagram strip (auto-scrolling) ---------- */
.feed { background: var(--concrete); overflow: hidden; border-top: 1px solid var(--line); }
.feed-head { display: flex; justify-content: center; margin-bottom: 28px; }
.feed-head .handle { font-family: var(--font-display); font-size: clamp(0.9rem, 1.6vw, 1.15rem); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.feed-head .handle svg { width: 26px; height: 26px; }
.feed-head .handle:hover { text-decoration: underline; text-underline-offset: 6px; }
.feed-track { display: flex; width: max-content; gap: 12px; animation: feed-scroll 60s linear infinite; }
.feed-track:hover { animation-play-state: paused; }
.feed-row { display: flex; gap: 12px; padding-right: 12px; }
.feed-item { display: block; width: clamp(180px, 22vw, 300px); aspect-ratio: 1; overflow: hidden; flex: none; background: var(--aggregate); }
.feed-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.feed-item:hover img { transform: scale(1.05); }
.feed-item:focus-visible { outline-offset: -3px; }
@keyframes feed-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .feed-track { animation: none; overflow-x: auto; width: auto; } .feed-row[aria-hidden="true"] { display: none; } }

.sub-gallery { margin-top: -8px; padding-bottom: clamp(40px, 6vw, 72px); }
.sub-gallery .photo { aspect-ratio: 4 / 5; }

.current-projects { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }

/* Anchored sections land below the sticky header when linked to (e.g. about.html#residential) */
[id] { scroll-margin-top: 96px; }
