/* AM Construction Services — site styles (premium redesign, Oct 2026)
   Layout: deep ink header/hero/footer framing warm bone pages; photo-led hero and service cards;
   gold used for rules, buttons and small labels only. Type shared with VIP Storm Roof. */
:root {
  --ink: #0D0C0A;          /* header, hero, footer */
  --ink-2: #16140F;        /* utility bar, raised panels on ink */
  --ink-3: #221E18;        /* borders and panels on ink */
  --bone: #F6F2EA;         /* page background */
  --sand: #EDE6D8;         /* alternate section background */
  --paper: #FFFFFF;        /* cards, form */
  --text: #2A2824;         /* body text on light, 13:1 */
  --muted: #5E584E;        /* secondary text on light, 6.4:1 */
  --line: #E1D8C6;         /* hairlines on light */
  --gold: #BF9B30;         /* AMCS gold: fills, rules */
  --gold-hi: #DDBE68;      /* highlight end of the logo's gradient */
  --gold-lo: #9A781D;      /* shadow end of the logo's gradient */
  --gold-text: #7A5F17;    /* gold text on light, 5.5:1 */
  --gold-soft: #E4CB86;    /* gold text on ink */
  --on-ink: #ECE6DA;
  --on-ink-muted: #B3AA99;
  --ok: #2E6B45;
  --error: #A63A22;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius: 4px;
  --wrap: 1240px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --bar-h: 64px;
  --head-h: 72px;
  --gold-rule: linear-gradient(90deg, var(--gold-lo), var(--gold-hi) 50%, var(--gold-lo));
  color-scheme: light;
}
@media (min-width: 1180px) { :root { --head-h: 88px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 24px); }
body {
  margin: 0; background: var(--bone); color: var(--text);
  font: 400 1.0625rem/1.7 var(--sans);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 1.55rem + 1.9vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0; max-width: 64ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.on-ink .eyebrow, .band-ink .eyebrow, .hero .eyebrow { color: var(--gold-soft); }
.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--muted); }
.small { font-size: 0.875rem; color: var(--muted); }
.phone { font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: 0.01em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section + .section { border-top: 1px solid var(--line); }
.section.alt { background: var(--sand); border-top: 0; }
.section.alt + .section { border-top: 0; }
.stack { display: grid; gap: 18px; align-content: start; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 780px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: calc(8px + env(safe-area-inset-top, 0px)); z-index: 100; background: var(--paper); padding: 10px 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 26px;
  border-radius: var(--radius); font: 600 0.98rem/1.2 var(--sans); letter-spacing: 0.02em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--ink); }
.btn-outline { border-color: var(--gold-text); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-ink .btn-outline, .hero .btn-outline, .band-ink .btn-outline, .mbar .btn-outline, .nav-cta .btn-outline { border-color: rgba(228, 203, 134, 0.7); color: var(--paper); }
.on-ink .btn-outline:hover, .hero .btn-outline:hover, .band-ink .btn-outline:hover, .mbar .btn-outline:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.textlink::after { content: "→"; transition: transform .15s; }
.textlink:hover::after { transform: translateX(3px); }

/* Preview notice (preview build only) */
.preview-note { background: #F1E2B4; color: var(--ink); font-size: 0.85rem; line-height: 1.45; }
.preview-note .wrap { padding-block: 8px; }

/* ---------- Header ---------- */
.utility { background: var(--ink-2); color: var(--on-ink-muted); font-size: 0.85rem; border-bottom: 1px solid var(--ink-3); }
.utility .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: space-between; align-items: center; min-height: 42px; padding-block: 6px; }
.utility a { color: var(--gold-soft); text-decoration: none; }
.utility a:hover { color: var(--paper); }
.util-left { display: none; }
.util-right { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; width: 100%; justify-content: space-between; }
.util-phones { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.util-phones a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 500; }
.util-phones svg { width: 14px; height: 14px; }
.util-links { display: none; gap: 18px; }
.utility .lang { border: 1px solid rgba(228, 203, 134, 0.5); border-radius: var(--radius); padding: 3px 12px; min-height: 30px; display: inline-flex; align-items: center; font-weight: 600; }
@media (min-width: 760px) { .util-left { display: inline; } .util-right { width: auto; } }
@media (min-width: 1180px) { .util-links { display: inline-flex; } }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--ink); color: var(--on-ink);
  border-bottom: 1px solid var(--ink-3); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold-rule); opacity: 0.55; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--paper); margin-right: auto; min-width: 0; }
.brand img { width: auto; height: 46px; flex: none; }
.brand.hires img { height: 56px; }
.brand-name { display: grid; line-height: 1; min-width: 0; padding-left: 14px; border-left: 1px solid rgba(228, 203, 134, 0.35); }
.brand-name strong { font: 600 1.32rem/1.05 var(--serif); letter-spacing: 0.01em; white-space: nowrap; color: #FBF8F1; }
.brand-name span { margin-top: 5px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); white-space: nowrap; }
@media (min-width: 1180px) {
  .brand img { height: 56px; }
  .brand.hires img { height: 64px; }
  .brand-name strong { font-size: 1.6rem; }
  .brand-name span { font-size: 0.72rem; }
}
@media (min-width: 1180px) and (max-width: 1359px) {
  .brand { gap: 12px; }
  .brand.hires img { height: 60px; }
  .brand-name { padding-left: 12px; }
  .brand-name strong { font-size: 1.36rem; }
  .brand-name span { font-size: 0.64rem; letter-spacing: 0.2em; }
  .nav a, .nav summary { padding: 0 8px !important; font-size: 0.9rem !important; }
  .header-cta { padding-inline: 16px !important; }
}
@media (min-width: 1180px) { .brand { flex: none; } }
@media (min-width: 1360px) {
  :root { --head-h: 98px; }
  .brand.hires img { height: 72px; }
  .nav a, .nav summary { padding: 0 9px !important; }
}
@media (min-width: 1520px) {
  :root { --head-h: 104px; }
  .site-header .wrap, .utility .wrap { max-width: 1440px; }
  .brand { gap: 18px; }
  .brand.hires img { height: 80px; }
  .brand-name { padding-left: 18px; }
  .brand-name strong { font-size: 1.85rem; }
  .brand-name span { font-size: 0.76rem; margin-top: 7px; }
  .nav a, .nav summary { padding: 0 12px !important; }
}
@media (max-width: 400px) {
  .brand { gap: 10px; }
  .brand img, .brand.hires img { height: 46px; }
  .brand-name { padding-left: 10px; }
  .brand-name strong { font-size: 1.12rem; }
  .brand-name span { font-size: 0.6rem; letter-spacing: 0.18em; }
}
.header-cta { display: none; white-space: nowrap; }
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; min-width: 46px; padding: 8px 12px; background: transparent;
  border: 1px solid rgba(228, 203, 134, 0.55); border-radius: var(--radius); color: var(--paper); font: 500 0.95rem var(--sans); cursor: pointer; white-space: nowrap; }
.menu-toggle svg { width: 20px; height: 20px; }
@media (max-width: 400px) { .menu-toggle .mt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .menu-toggle { padding: 8px; justify-content: center; } }

/* Navigation: full-height panel on phones, inline row with dropdowns on desktop */
.nav { display: none; }
.nav.open { display: block; position: fixed; inset: 0; top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); background: var(--ink);
  overflow-y: auto; padding: 8px var(--gutter-r) calc(var(--bar-h) + 32px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); z-index: 49; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul > li { border-bottom: 1px solid rgba(228, 203, 134, 0.14); }
.nav a, .nav summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; color: var(--paper);
  text-decoration: none; font-size: 1.08rem; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--gold-soft); border-bottom: 1.5px solid var(--gold-soft);
  transform: rotate(45deg); margin: -4px 6px 0 10px; transition: transform .15s; }
.nav details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.nav details ul { padding: 0 0 12px 14px; }
.nav details a { min-height: 46px; color: var(--on-ink); font-size: 1rem; }
.nav a:hover, .nav summary:hover, .nav a[aria-current="page"] { color: var(--gold-soft); }
.nav .nav-roofing span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft); margin-left: 10px; }
.nav-util { margin-top: 10px !important; }
.nav-cta { padding-top: 22px; display: grid; gap: 12px; }
.nav-cta .phone { color: var(--on-ink-muted); font-size: 0.95rem; }
@media (min-width: 1180px) {
  .menu-toggle { display: none; }
  .header-cta { display: inline-flex; min-height: 46px; padding: 11px 20px; }
  .nav, .nav.open { display: block; position: static; padding: 0; background: none; overflow: visible; margin-left: auto; }
  .nav .nav-groups { display: flex; gap: 0; align-items: center; }
  .nav .nav-groups > li { border: 0; position: relative; }
  .nav a, .nav summary { min-height: 46px; padding: 0 11px; font-size: 0.93rem; letter-spacing: 0.01em; white-space: nowrap; }
  .nav .nav-groups > li > a, .nav .nav-groups > li > details > summary { position: relative; }
  .nav .nav-groups > li > a::before, .nav .nav-groups > li > details > summary::before { content: ""; position: absolute; left: 11px; right: 11px; bottom: 8px; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
  .nav .nav-groups > li > a:hover::before, .nav .nav-groups > li > a[aria-current="page"]::before,
  .nav details[open] > summary::before, .nav .nav-groups > li > details > summary:hover::before { transform: scaleX(1); }
  .nav summary::after { width: 6px; height: 6px; margin: -3px 0 0 8px; }
  .nav details ul { position: absolute; top: calc(100% + 14px); left: 0; min-width: 270px; background: var(--paper); padding: 10px 0;
    border-radius: var(--radius); box-shadow: 0 18px 40px rgba(13, 12, 10, 0.22); border-top: 2px solid var(--gold); }
  .nav details a { color: var(--ink); padding: 0 20px; min-height: 44px; font-size: 0.95rem; }
  .nav details a:hover { background: var(--bone); color: var(--gold-text); }
  .nav .nav-roofing span { display: none; }
  .nav .nav-util, .nav .nav-cta { display: none; }
  .nav-groups .badge { font-size: 0; width: 9px; height: 9px; padding: 0; margin-left: 6px; background: #E9B949; border-radius: 50%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.hero h1 { color: #FBF8F1; }
.hero .lead { color: var(--on-ink); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13,12,10,0.84) 0%, rgba(13,12,10,0.6) 40%, rgba(13,12,10,0.14) 100%),
              linear-gradient(0deg, rgba(13,12,10,0.55) 0%, rgba(13,12,10,0) 45%); }
@media (max-width: 899px) { .hero-shade { background: linear-gradient(0deg, rgba(13,12,10,0.9) 0%, rgba(13,12,10,0.68) 55%, rgba(13,12,10,0.32) 100%); } }
.hero.has-photo h1, .hero.has-photo .lead { text-shadow: 0 2px 14px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.4); }
/* No photo yet: an architectural line backdrop instead of a flat black block */
.hero.no-photo .hero-bg { background:
    radial-gradient(1200px 520px at 85% 15%, rgba(191,155,48,0.16), transparent 60%),
    linear-gradient(rgba(228,203,134,0.06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(228,203,134,0.06) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--ink); }
.hero.no-photo .hero-shade { background: linear-gradient(90deg, rgba(13,12,10,0.9), rgba(13,12,10,0.25)); }
.hero .wrap { display: grid; gap: 40px; padding-block: clamp(56px, 8vw, 104px); }
.hero-copy { display: grid; gap: 22px; max-width: 760px; }
.hero-credit { position: absolute; right: var(--gutter-r); bottom: 14px; font-size: 0.75rem; color: rgba(236,230,218,0.82);
  background: rgba(13,12,10,0.55); padding: 4px 10px; border-radius: 999px; max-width: calc(100% - 40px); }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; } }

/* Home hero: taller, bigger type */
.hero-home .wrap { min-height: min(78vh, 760px); align-content: end; padding-block: clamp(72px, 10vw, 128px) clamp(56px, 7vw, 88px); }
.hero-home h1 { font-size: clamp(2.7rem, 1.6rem + 4.6vw, 5.4rem); line-height: 1.0; }
.hero-home .lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); max-width: 54ch; }
.hero-facts { list-style: none; margin: 8px 0 0; padding: 22px 0 0; display: grid; gap: 14px 32px; border-top: 1px solid rgba(228,203,134,0.28);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); max-width: 820px; }
.hero-facts li { display: grid; gap: 2px; }
.hero-facts strong { font: 600 1.7rem/1 var(--serif); color: var(--gold-soft); }
.hero-facts span { font-size: 0.85rem; color: var(--on-ink-muted); line-height: 1.4; }

.contact-card { background: rgba(22,20,15,0.88); border: 1px solid rgba(228, 203, 134, 0.25); border-top: 2px solid var(--gold); border-radius: var(--radius);
  padding: 26px; display: grid; gap: 14px; align-self: end; backdrop-filter: blur(4px); }
.contact-card h2 { font-size: 1.65rem; color: var(--paper); }
.contact-card dl { margin: 0; display: grid; gap: 12px; }
.contact-card dt { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-muted); }
.contact-card dd { margin: 2px 0 0; font-size: 1.1rem; }
.contact-card a { color: var(--gold-soft); text-decoration: none; font-size: 1.2rem; }
.contact-card a:hover { color: var(--paper); }
.crumbs { font-size: 0.875rem; color: var(--on-ink-muted); }
.crumbs a { color: var(--gold-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Photos and placeholders ---------- */
.media { position: relative; overflow: hidden; background: var(--ink-2); aspect-ratio: 4 / 3; max-width: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.media-tag { position: absolute; left: 12px; bottom: 12px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: #fff;
  background: rgba(13,12,10,0.66); padding: 4px 10px; border-radius: 999px; }
.media.empty { display: grid; place-content: center; text-align: center; gap: 8px; padding: 24px;
  background:
    linear-gradient(rgba(228,203,134,0.07) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(228,203,134,0.07) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(160deg, #1E1B16, #0F0E0B); color: var(--on-ink-muted); }
.media.empty::before, .media.empty::after { content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; opacity: 0.8; }
.media.empty::before { left: 14px; top: 14px; border-width: 1px 0 0 1px; }
.media.empty::after { right: 14px; bottom: 14px; border-width: 0 1px 1px 0; }
.media.empty .me-title { font: 600 1.35rem/1.15 var(--serif); color: var(--gold-soft); }
.media.empty .me-note { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Home: feature services ---------- */
.features { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--text); text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.feature .media { aspect-ratio: 16 / 10; }
.feature:hover { box-shadow: 0 20px 44px rgba(13,12,10,0.12); border-color: var(--gold); }
.feature:hover .media img { transform: scale(1.03); }
.feature-body { display: grid; gap: 10px; padding: 26px 28px 28px; align-content: start; }
.feature-kicker { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.feature h3 { font-size: clamp(1.7rem, 1.4rem + 0.9vw, 2.15rem); }
.feature p { color: var(--muted); }
.feature-links { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.93rem; }
.feature-links li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.feature-links li::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.feature .textlink { margin-top: 6px; color: var(--gold-text); }

.minor-row { display: grid; gap: 22px; margin-top: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .minor-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.minor { display: grid; grid-template-columns: 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
@media (min-width: 560px) { .minor { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } .minor .media { aspect-ratio: auto; min-height: 220px; } }
.minor:hover { border-color: var(--gold); box-shadow: 0 16px 36px rgba(13,12,10,0.1); }
.minor-body { padding: 24px 26px; display: grid; gap: 10px; align-content: center; }
.minor h3 { font-size: 1.6rem; }
.minor p { color: var(--muted); font-size: 0.98rem; }
.minor .textlink { color: var(--gold-text); }
.minor.dark { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.minor.dark h3 { color: var(--paper); }
.minor.dark p { color: var(--on-ink-muted); }
.minor.dark .textlink { color: var(--gold-soft); }
.minor.dark .vip-logo { width: 74px; height: auto; }

/* Generic service cards (sub-pages, related) */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr;
  text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.card .media { aspect-ratio: 3 / 2; }
.card-body { padding: 22px 24px 24px; display: grid; gap: 8px; align-content: start; }
.card h3 { font-size: 1.5rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .more { font-weight: 600; font-size: 0.93rem; color: var(--gold-text); margin-top: 4px; }
.card .more::after { content: " →"; }
a.card:hover { border-color: var(--gold); box-shadow: 0 16px 36px rgba(13,12,10,0.1); }
a.card:hover .media img { transform: scale(1.03); }

/* ---------- Intro / trust ---------- */
.intro { display: grid; gap: 40px; }
@media (min-width: 960px) { .intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; } }
.intro-quote { font: 600 clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem)/1.12 var(--serif); color: var(--ink); max-width: 18ch; }
.intro-quote em { font-style: italic; color: var(--gold-text); }
.facts { margin: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.facts dd { margin: 6px 0 0; font: 600 1.45rem/1.2 var(--serif); color: var(--ink); }
.prose { display: grid; gap: 16px; max-width: 760px; }
.prose p { color: var(--text); }

/* ---------- Lists, steps, FAQ ---------- */
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list-check li { position: relative; padding-left: 30px; }
.list-check li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.list-check.cols-auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px 36px; max-width: 1000px; }
.list-check.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 18px; padding-block: 20px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font: 600 1.9rem/1 var(--serif); color: var(--gold-text); padding-top: 2px; }
.steps strong { font-size: 1.08rem; color: var(--ink); }
.steps span { color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
  .steps li { grid-template-columns: 1fr; border-top: 2px solid var(--gold); padding-top: 22px; }
  .steps li::before { grid-row: auto; margin-bottom: 10px; font-size: 2.4rem; }
}
.band-ink .steps li, .on-ink .steps li { border-color: var(--ink-3); }
.faq { display: grid; gap: 0; max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.05rem; color: var(--ink); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.8rem var(--serif); color: var(--gold-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* ---------- Split bands ---------- */
.split { display: grid; gap: 36px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; } }
.split-top { align-items: start; }
.band-ink { background: var(--ink); color: var(--on-ink); }
.band-ink h2, .band-ink h3 { color: #FBF8F1; }
.band-ink .lead, .band-ink p { color: var(--on-ink); }
.band-ink a:not(.btn) { color: var(--gold-soft); }
.section.band-ink + .section, .section + .section.band-ink { border-top: 0; }
.brand-pair { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.brand-pair img { height: 72px; width: auto; }
.brand-pair .plus { width: 1px; height: 56px; background: rgba(228, 203, 134, 0.4); }
.relationship { font-family: var(--serif); font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); line-height: 1.2; color: var(--paper); max-width: 26ch; }
.roof-media { border-radius: var(--radius); overflow: hidden; }

/* Estimate CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(800px 380px at 100% 0%, rgba(191,155,48,0.18), transparent 60%),
    linear-gradient(rgba(228,203,134,0.05) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(228,203,134,0.05) 1px, transparent 1px) 0 0 / 56px 56px; pointer-events: none; }
.cta-band .wrap { position: relative; }
.cta-phones { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.cta-phones a { font: 600 clamp(1.6rem, 1.3rem + 1vw, 2.2rem)/1.1 var(--serif); color: var(--gold-soft); text-decoration: none; }
.cta-phones a:hover { color: var(--paper); }
.cta-phones small { display: block; font: 600 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 6px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ph { margin: 0; display: grid; gap: 10px; }
.ph .media { border-radius: var(--radius); }
.ph figcaption { font-size: 0.875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ph-draft { font-style: italic; }
.home-gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .home-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } .home-gallery .ph:first-child { grid-column: span 2; grid-row: span 2; } .home-gallery .ph:first-child .media { aspect-ratio: auto; height: 100%; min-height: 360px; } }
.home-gallery figcaption { font-size: 0.8rem; }

/* ---------- Process maps ---------- */
.pmap { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 0; }
.pm-stage { position: relative; padding: 0 0 26px 62px; }
.pm-stage::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 2px; background: var(--gold); opacity: 0.5; }
.pm-stage:last-child::before { display: none; }
.pm-head { display: flex; align-items: center; gap: 16px; margin-left: -62px; min-height: 46px; }
.pm-num { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--gold-soft); display: grid; place-items: center;
  font: 600 1.4rem/1 var(--serif); border: 2px solid var(--gold); }
.pm-stage h3 { font-size: 1.45rem; }
.pm-stage ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 7px; }
.pm-stage li { position: relative; padding-left: 18px; color: var(--muted); font-size: 0.97rem; line-height: 1.5; }
.pm-stage li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--gold); }
.pm-note { font-size: 0.93rem; color: var(--muted); max-width: 780px; margin-bottom: 22px; padding-left: 14px; border-left: 3px solid var(--line); }
@media (min-width: 960px) {
  .pmap { gap: 28px 34px; }
  .pmap.pm-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pmap.pm-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pm-stage { padding: 22px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); }
  .pm-stage::before { display: block; left: auto; right: -30px; top: 38px; bottom: auto; width: 0; height: 0; background: none; opacity: 1;
    border-left: 8px solid var(--gold); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
  .pm-stage::after { content: ""; position: absolute; right: -28px; top: 42px; width: 18px; height: 2px; background: var(--gold); }
  .pm-stage:last-child::before, .pm-stage:last-child::after,
  .pm-3 .pm-stage:nth-child(3n)::before, .pm-3 .pm-stage:nth-child(3n)::after,
  .pm-4 .pm-stage:nth-child(4n)::before, .pm-4 .pm-stage:nth-child(4n)::after { display: none; }
  .pm-head { margin-left: 0; }
}

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; font: 600 0.6875rem/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 999px; white-space: nowrap; width: fit-content; }
.badge-pending { background: #F3E3B5; color: #4A3A0C; }
.badge-confirm { background: #E7E1F4; color: #3B2E63; }
.nav .badge { margin-left: 8px; font-size: 0.625rem; padding: 4px 6px; }

/* ---------- Forms ---------- */
.form { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
label { font-weight: 600; color: var(--ink); font-size: 0.94rem; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #BDB3A2; border-radius: var(--radius); background: var(--paper);
  color: var(--text); font: 400 1rem/1.4 var(--sans); }
textarea { min-height: 136px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(191, 155, 48, 0.45); outline-offset: 0; border-color: var(--gold-text); }
.field-error { color: var(--error); font-size: 0.875rem; }
input[type="file"] { padding: 10px; min-height: 50px; cursor: pointer; }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 10px 16px; border: 1px solid var(--gold-text); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: 600 0.94rem var(--sans); cursor: pointer; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.file-list:empty { display: none; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.94rem; }
.file-list .fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.file-list button { flex: none; min-height: 44px; min-width: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--ink); font: 600 0.875rem var(--sans); cursor: pointer; }
[aria-invalid="true"] { border-color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius); padding: 14px 16px; font-size: 0.94rem; }
.form-status.ok { background: #E6F1E9; color: var(--ok); border: 1px solid #B9D8C3; }
.form-status.err { background: #F8E7E1; color: var(--error); border: 1px solid #E8C2B6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); font-size: 0.94rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold-rule); opacity: 0.55; }
.site-footer .wrap { padding-block: 64px 30px; display: grid; gap: 44px; }
.footer-cols { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.site-footer h2 { font: 600 0.75rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--on-ink); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand .brand-lockup { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-lockup img { height: 64px; width: auto; }
.footer-brand .brand-lockup strong { font: 600 1.4rem/1.1 var(--serif); color: var(--paper); }
.footer-phones a { font-size: 1.1rem; color: var(--gold-soft); }
.family { border-top: 1px solid rgba(228, 203, 134, 0.16); border-bottom: 1px solid rgba(228, 203, 134, 0.16); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.family img { height: 52px; width: auto; }
.family p { color: var(--on-ink); }
.legal { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 0.8rem; }

/* Mobile action bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--ink); border-top: 1px solid rgba(228, 203, 134, 0.3);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px var(--gutter-r) calc(8px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); }
.mbar .btn { min-height: 48px; padding: 10px 12px; font-size: 0.95rem; }
@media (min-width: 900px) { .mbar { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
.photo-slot { aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); display: grid; place-content: center; text-align: center; padding: 28px;
  font-size: 0.9rem; color: var(--on-ink-muted); position: relative;
  background: linear-gradient(rgba(228,203,134,0.07) 1px, transparent 1px) 0 0 / 28px 28px,
              linear-gradient(90deg, rgba(228,203,134,0.07) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(160deg, #1E1B16, #0F0E0B); }

/* Placeholders before real photos: light, with a line icon per service */
.media.empty { background:
    linear-gradient(rgba(122,95,23,0.07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(122,95,23,0.07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(160deg, #F3EDE1, #E8DFCD); color: var(--muted); }
.media.empty .me-title { color: var(--ink); }
.media.empty .me-note { color: var(--gold-text); }
.media.empty .me-icon { width: 56px; height: 56px; margin: 0 auto 4px; color: var(--gold-text); }
.minor.dark .media.empty, .band-ink .media.empty { background:
    linear-gradient(rgba(228,203,134,0.07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(228,203,134,0.07) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(160deg, #1E1B16, #0F0E0B); color: var(--on-ink-muted); }
.minor.dark .media.empty .me-title { color: var(--gold-soft); }
.minor.dark .media.empty .me-note, .minor.dark .media.empty .me-icon { color: var(--on-ink-muted); }

/* Home hero layout */
.hero-home .wrap { grid-template-columns: minmax(0, 1fr); }
.hero-home.no-photo .wrap { align-content: center; }
.hero-art { display: none; }
@media (min-width: 980px) {
  .hero-home.no-photo .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 48px; }
  .hero-art { display: block; }
  .hero-art svg { width: 100%; height: auto; max-width: 560px; margin-left: auto; }
}
.hero-home .hero-copy { max-width: 820px; }
.steps li { align-content: start; align-items: start; }
.hero .eyebrow { flex-wrap: nowrap; }
@media (max-width: 520px) { .hero .eyebrow { flex-wrap: wrap; } }
@media (max-width: 719px) {
  .media.empty { aspect-ratio: 16 / 8; padding: 16px; }
  .media.empty .me-icon { width: 40px; height: 40px; }
  .media.empty .me-title { font-size: 1.15rem; }
  .gallery .media.empty { aspect-ratio: 16 / 7; }
}
@media (max-width: 899px) { .hero .contact-card { display: none; } }

/* Hero with a portrait project photo: framed figure beside the headline */
.hero-figure { margin: 0; display: grid; gap: 10px; align-self: center; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid rgba(228,203,134,0.35);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45); }
.hero-figure figcaption { font-size: 0.82rem; color: var(--on-ink-muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
@media (min-width: 900px) {
  .hero.hero-split .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .hero-figure img { aspect-ratio: 4 / 5; max-height: 640px; }
  .hero-figure { position: relative; }
  .hero-figure::before { content: ""; position: absolute; inset: -14px 14px 34px -14px; border: 1px solid var(--gold); border-radius: var(--radius); opacity: 0.55; z-index: -1; }
}
@media (min-width: 980px) { .hero-home.hero-split .wrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.hero.hero-split .contact-card { display: none; }
.roof-media { aspect-ratio: 4 / 3; }
.home-gallery { align-items: start; }
.home-gallery .ph { align-content: start; }
@media (min-width: 900px) { .home-gallery .ph:first-child { align-self: stretch; grid-template-rows: 1fr auto; } }
@media (min-width: 900px) {
  .home-gallery .ph:first-child .media { position: relative; height: 100%; min-height: 300px; aspect-ratio: auto; }
  .home-gallery .ph:first-child .media img { position: absolute; inset: 0; }
}
.gallery > *, .home-gallery > *, .features > *, .cards > *, .minor-row > * { min-width: 0; }
.ph figcaption .badge, .hero-figure figcaption .badge { white-space: normal; text-align: left; line-height: 1.25; }

/* Mobile: lead the home hero with the real project photo */
@media (max-width: 899px) {
  .hero.hero-split .wrap { display: grid; gap: 22px; min-height: 0; align-content: start; padding-top: 0; }
  .hero-home.hero-split h1 { font-size: clamp(2.3rem, 1.5rem + 4vw, 3.4rem); }
  .hero.hero-split .hero-figure { order: -1; margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); gap: 8px; }
  .hero.hero-split .hero-figure img { aspect-ratio: 16 / 11; max-height: 40vh; min-height: 220px; border-radius: 0; border-left: 0; border-right: 0; object-position: 50% 45%; }
  .hero.hero-split .hero-figure figcaption { padding-inline: var(--gutter-l) var(--gutter-r); }
}

/* ===== Home hero: full-width architectural photograph (Oct 26) ===== */
.hero-home.has-photo .hero-bg img { object-position: 50% 58%; }
.hero-home.has-photo .hero-shade {
  background:
    linear-gradient(90deg, rgba(10,9,7,0.78) 0%, rgba(10,9,7,0.52) 32%, rgba(10,9,7,0.12) 58%, rgba(10,9,7,0) 100%),
    linear-gradient(0deg, rgba(10,9,7,0.62) 0%, rgba(10,9,7,0.18) 28%, rgba(10,9,7,0) 50%),
    linear-gradient(180deg, rgba(10,9,7,0.30) 0%, rgba(10,9,7,0) 14%); }
.hero-home.has-photo .wrap { min-height: clamp(620px, calc(100svh - 150px), 900px); align-content: end;
  padding-block: clamp(96px, 12vw, 160px) clamp(64px, 7vw, 104px); }
.hero-home.has-photo .hero-copy { max-width: 860px; gap: 24px; }
.hero-home.has-photo h1 { font-size: clamp(2.4rem, 1.2rem + 3.8vw, 4.5rem); max-width: 21ch; line-height: 1.02; letter-spacing: -0.01em;
  text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.35); }
.hero-home.has-photo .lead { max-width: 52ch; color: #F6F2EA; text-shadow: 0 1px 12px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.5); }
.hero-home.has-photo .eyebrow { color: var(--gold-hi, #DDBE68); }
.hero-home.has-photo .btn { min-height: 54px; padding-inline: 26px; font-size: 1.02rem; }
.hero-home.has-photo .btn-outline { background: rgba(10,9,7,0.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hero-home.has-photo .hero-credit { bottom: 16px; font-size: 0.72rem; background: rgba(10,9,7,0.5); color: rgba(236,230,218,0.78); }
.hero-home.has-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); opacity: 0.7; }

/* Trust strip under the photo hero */
.trust-strip { background: var(--ink); color: var(--on-ink); border-bottom: 1px solid var(--ink-3); }
.trust-strip .wrap { padding-block: 28px; }
.trust-strip .hero-facts { margin: 0; padding: 0; border: 0; max-width: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px 40px; }
.trust-strip .hero-facts li { padding-left: 18px; border-left: 1px solid rgba(228,203,134,0.35); }

@media (max-width: 899px) {
  /* Phone/tablet: the photo is a full-bleed band; the headline rises out of its faded lower edge */
  .hero-home.has-photo { display: block; }
  .hero-home.has-photo .hero-bg { position: relative; inset: auto; z-index: 0; width: 100%; height: clamp(240px, 75vw, 62svh); }
  .hero-home.has-photo .hero-bg img { position: absolute; inset: 0; }
  .hero-home.has-photo .hero-bg::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, var(--ink) 0%, rgba(13,12,10,0.55) 26%, rgba(13,12,10,0) 52%),
                linear-gradient(180deg, rgba(13,12,10,0.35) 0%, rgba(13,12,10,0) 22%); }
  .hero-home.has-photo .hero-bg img { object-position: 55% 60%; }
  .hero-home.has-photo .hero-shade { display: none; }
  .hero-home.has-photo .wrap { position: relative; z-index: 1; min-height: 0; margin-top: -72px; padding-block: 0 40px; gap: 0; }
  .hero-home.has-photo .hero-copy { gap: 16px; }
  .hero-home.has-photo h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 2.9rem); line-height: 1.06; }
  .hero-home.has-photo .lead { font-size: 1.05rem; line-height: 1.6; }
  .hero-home.has-photo .btn-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-home.has-photo .btn-row .btn { width: 100%; justify-content: center; }
  .hero-home.has-photo .hero-credit { top: 10px; bottom: auto; right: 10px; font-size: 0.66rem; padding: 3px 9px; }
  .hero-home.has-photo .eyebrow { letter-spacing: 0.14em; }
  .trust-strip .wrap { padding-block: 22px; }
}
@media (min-width: 560px) and (max-width: 899px) {
  .hero-home.has-photo .hero-bg { height: clamp(300px, 56vw, 58svh); }
  .hero-home.has-photo .btn-row { grid-template-columns: auto auto; justify-content: start; }
}

/* ===== Compact mobile utility bar: both phones + language on one line ===== */
@media (max-width: 759px) {
  .utility .wrap { min-height: 40px; padding-block: 4px; }
  .util-right { flex-wrap: nowrap; gap: 8px; }
  .util-phones { flex-wrap: nowrap; gap: 12px; }
  .util-phones a { font-size: 0.86rem; min-height: 36px; gap: 5px; }
  .util-phones svg { width: 13px; height: 13px; }
  .utility .lang { padding: 2px 10px; min-height: 32px; font-size: 0.84rem; white-space: nowrap; }
}
@media (max-width: 386px) {
  .util-right { gap: 6px; }
  .util-phones { gap: 8px; }
  .util-phones svg { display: none; }
  .util-phones a { font-size: 0.78rem; letter-spacing: 0; }
  .utility .lang { padding: 2px 7px; font-size: 0.74rem; }
}
@media (max-width: 899px) { .hero-home.has-photo .hero-credit { white-space: nowrap; max-width: none; } }
/* Phones: two-up project galleries so pages don't become a long photo stack */
@media (max-width: 599px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery .ph figcaption { font-size: 0.78rem; line-height: 1.35; }
  .gallery .ph:first-child { grid-column: 1 / -1; }
}
.gallery .ph { align-self: start; }
