/* ============================================================
   Ridgeway Roofing & Construction — design system
   Palette: Slate #2B3A48 · Ink #151C23 · Orange #FE5D03 (from the logo) ·
            Rust #B8430A · Bone #F6F3ED · Mist #E9EEF2
   Type: Archivo (heads, expanded) · Inter (body)
   ============================================================ */

:root {
  --slate: #2B3A48;
  --slate-deep: #1D2833;
  --ink: #151C23;
  --amber: #FE5D03;          /* brand orange, sampled from ridgeway-logo.png */
  --amber-bright: #FF7A2A;
  --amber-soft: #FF9D5C;     /* small text on slate, where full orange is too dark */
  --copper: #B8430A;         /* darkened brand orange, for small text on bone */
  --copper-light: #D4642A;
  --bone: #F6F3ED;
  --mist: #E9EEF2;
  --white: #FFFFFF;
  --line: rgba(21, 28, 35, 0.12);
  --shadow-sm: 0 2px 10px rgba(21, 28, 35, 0.08);
  --shadow-md: 0 10px 34px rgba(21, 28, 35, 0.14);
  --shadow-lg: 0 24px 60px rgba(21, 28, 35, 0.24);
  --radius: 14px;
  --radius-lg: 20px;
  --head: "Archivo", sans-serif;
  --body: "Inter", sans-serif;
  --wrap: 1180px;
  --dock-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bone);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--slate); }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-stretch: 112%;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 900; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.tight { padding: clamp(44px, 6vw, 72px) 0; }
.on-mist { background: var(--mist); }
.on-white { background: var(--white); }
.on-slate { background: var(--slate); color: #fff; }
.on-ink { background: var(--ink); color: #fff; }
.on-slate h2, .on-ink h2, .on-slate h3, .on-ink h3 { color: #fff; }

.eyebrow {
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--copper);
  display: block;
  margin-bottom: 14px;
}
.on-ink .eyebrow { color: var(--amber); }
.on-slate .eyebrow { color: var(--amber-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: rgba(21, 28, 35, 0.72); font-size: 1.1rem; margin: 0; }
.on-slate .section-head p, .on-ink .section-head p { color: rgba(255, 255, 255, 0.78); }

/* ------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 6px 22px rgba(254, 93, 3, 0.32); }
.btn-amber:hover { background: var(--amber-bright); }
.btn-slate { background: var(--slate); color: #fff; }
.btn-slate:hover { background: var(--slate-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.14); }
.btn-ghost-dark { border-color: rgba(21, 28, 35, 0.3); color: var(--ink); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(246, 243, 237, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-row { display: flex; align-items: center; gap: 24px; min-height: 100px; }
/* the logo is a full lockup with its own wordmark, so no text sits beside it */
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 80px; width: auto; }
@media (max-width: 1180px) { .brand img { height: 64px; } }
@media (max-width: 420px) { .brand img { height: 52px; } }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
/* The phone lives in the header now that the utility bar is gone. These are
   scoped to `.main-nav >` so they outrank `.main-nav > a` further down, which
   would otherwise win on specificity and take the styling back. */
.main-nav > .nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  flex: none;
  font-family: var(--head); font-weight: 800; font-size: 1.05rem;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  padding: 8px 6px; border-radius: 8px;
}
/* sized on the element too, so an unstyled/stale-CSS render can't blow it up */
.main-nav > .nav-phone svg { width: 16px; height: 16px; fill: var(--copper); flex: none; }
.main-nav > .nav-phone:hover { color: var(--copper); background: none; }
.main-nav > a, .nav-drop > button {
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.main-nav > a:hover, .nav-drop > button:hover { background: var(--mist); color: var(--slate); }
.main-nav > a.active { color: var(--slate); }
.nav-drop { position: relative; }
.nav-drop svg { width: 11px; height: 11px; fill: currentColor; transition: transform 0.18s; }
.nav-drop.open svg { transform: rotate(180deg); }
.drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 246px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.nav-drop.open .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.93rem;
}
.drop-menu a:hover { background: var(--mist); color: var(--slate); }
.nav-cta { margin-left: 10px; }
.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-burger svg { width: 26px; height: 26px; fill: var(--ink); }

@media (max-width: 1180px) {
  /* compact dropdown card under the sticky header — not a full-screen takeover */
  .main-nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 14px;
    left: auto;
    width: min(320px, calc(100vw - 28px));
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    margin: 0;
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 1050;
  }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; }
  .main-nav > a, .nav-drop > button { font-size: 1rem; padding: 12px 14px; width: 100%; justify-content: space-between; border-radius: 10px; }
  .nav-drop { width: 100%; }
  .drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--mist); border-radius: 10px; display: none; min-width: 0; margin: 2px 0 6px; }
  .nav-drop.open .drop-menu { display: block; }
  .drop-menu a { padding: 10px 14px; font-size: 0.92rem; }
  .nav-cta { margin: 8px 6px 6px; justify-content: center; }
  .main-nav > .nav-phone { width: 100%; padding: 12px 14px; font-size: 1.05rem; border-radius: 10px; justify-content: flex-start; }
  .main-nav > .nav-phone:hover { background: var(--mist); }
  .nav-burger { display: block; position: relative; z-index: 1060; }
}
/* the header phone is redundant once the sticky dock appears */
@media (max-width: 860px) { .main-nav > .nav-phone { display: none; } }

/* ------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(92deg, rgba(21, 28, 35, 0.92) 6%, rgba(21, 28, 35, 0.72) 42%, rgba(21, 28, 35, 0.22) 80%);
}
.hero-inner { padding: clamp(60px, 8vw, 100px) 0; max-width: 660px; }
.hero .eyebrow { color: var(--amber); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, 0.9); max-width: 580px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-chips { display: flex; gap: 10px 22px; flex-wrap: wrap; font-size: 0.9rem; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.hero-chips span { display: inline-flex; align-items: center; gap: 8px; }
.hero-chips svg { width: 15px; height: 15px; fill: var(--amber); flex: none; }

/* small page hero (inner pages) */
.page-hero { position: relative; min-height: clamp(320px, 44vh, 460px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.page-hero .hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 28, 35, 0.34) 0%, rgba(21, 28, 35, 0.86) 100%); }
.page-hero .wrap { padding-top: 60px; padding-bottom: clamp(34px, 5vw, 54px); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 8px; }
.page-hero p { color: rgba(255, 255, 255, 0.88); max-width: 660px; font-size: 1.1rem; margin: 0; }
.crumbs { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 14px; color: rgba(255, 255, 255, 0.75); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--amber); }

/* ------------------------------------------------ trust bar */
.trust-bar { background: var(--ink); color: #fff; }
.trust-bar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 20px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 0.86rem; line-height: 1.35; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.trust-item svg { width: 26px; height: 26px; fill: var(--amber); flex: none; }
.trust-item b { display: block; font-family: var(--head); font-size: 0.95rem; }
.trust-item small { font-weight: 500; color: rgba(255, 255, 255, 0.62); font-size: 0.78rem; }
.trust-item a { color: inherit; text-decoration: none; }
@media (max-width: 960px) { .trust-bar .wrap { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; } }
@media (max-width: 460px) { .trust-bar .wrap { grid-template-columns: 1fr; } }

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

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: rgba(21, 28, 35, 0.7); font-size: 0.97rem; margin-bottom: 16px; flex: 1; }
.card-link {
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--slate);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
}
.card-link svg { width: 15px; height: 15px; fill: currentColor; transition: transform 0.18s; }
.card-link:hover svg { transform: translateX(4px); }
.tag {
  display: inline-block;
  font-family: var(--head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--slate);
}
/* .card-body is a column flexbox, so a tag inside it would stretch edge to edge */
.card-body > .tag { align-self: flex-start; }
.tag.copper { background: rgba(166, 90, 42, 0.13); color: var(--copper); }
.tag.on-img { position: absolute; top: 14px; left: 14px; background: rgba(21, 28, 35, 0.82); color: #fff; backdrop-filter: blur(4px); }

/* ------------------------------------------------ reviews */
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 17px; height: 17px; fill: #F5A623; }
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
}
.on-slate .review-card, .on-ink .review-card { background: rgba(255, 255, 255, 0.07); box-shadow: none; }
.review-card blockquote { margin: 0; font-size: 1rem; color: rgba(21, 28, 35, 0.85); flex: 1; }
.on-slate .review-card blockquote, .on-ink .review-card blockquote { color: rgba(255, 255, 255, 0.88); }
.review-job {
  font-family: var(--head); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em; color: var(--copper);
}
.on-slate .review-job, .on-ink .review-job { color: var(--amber-soft); }
.review-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-ava {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--slate); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 800; font-size: 1.05rem; flex: none;
}
.on-slate .review-ava, .on-ink .review-ava { background: var(--amber); color: var(--ink); }
.review-meta b { font-family: var(--head); font-size: 0.95rem; display: block; line-height: 1.3; }
.review-meta small { color: rgba(21, 28, 35, 0.55); font-size: 0.8rem; }
.on-slate .review-meta small, .on-ink .review-meta small { color: rgba(255, 255, 255, 0.58); }
.review-agg { display: inline-flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 700; }
.review-agg .num { font-size: 2rem; font-weight: 900; line-height: 1; }
.masonry-cards { columns: 3 300px; column-gap: 22px; }
.masonry-cards .review-card { break-inside: avoid; margin-bottom: 22px; }

/* ------------------------------------------------ floating call button
   replaces the chat bubble; hidden on phones, where the dock already has Call */
.call-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 1150;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--head); font-weight: 800; font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(21, 28, 35, 0.3);
  transition: transform 0.16s ease, background 0.16s ease;
}
.call-fab svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
.call-fab:hover { background: var(--amber-bright); transform: translateY(-2px); }
@media (max-width: 860px) { .call-fab { display: none; } }

/* ------------------------------------------------ process steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 26px 26px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--head);
  font-stretch: 112%;
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--amber);
  display: block;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { font-size: 0.94rem; color: rgba(21, 28, 35, 0.7); margin: 0; }

/* like .step but unnumbered — for card sets that are a list, not a sequence */
.note-card { padding: 26px 24px 24px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); }
.note-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: #fff; }
.note-card p { font-size: 0.93rem; color: rgba(255, 255, 255, 0.72); margin: 0; }
.note-card::before {
  content: "";
  display: block;
  width: 26px; height: 4px; border-radius: 999px;
  background: var(--amber);
  margin-bottom: 16px;
}

/* ------------------------------------------------ FAQ accordion */
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; fill: var(--copper); flex: none; transition: transform 0.2s; }
.faq[open] summary svg { transform: rotate(45deg); }
.faq-body { padding: 0 4px 22px; color: rgba(21, 28, 35, 0.75); max-width: 62ch; }

/* ------------------------------------------------ area chips + map */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  border: 1.5px solid var(--line);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.chip:hover { border-color: var(--slate); color: var(--slate); background: var(--mist); }
.chip.more { background: var(--slate); color: #fff; border-color: var(--slate); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ------------------------------------------------ forms */
.form-panel { background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--head); font-weight: 600; font-size: 0.86rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--body);
  font-size: 1rem;
  background: var(--bone);
  color: var(--ink);
  transition: border-color 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--slate); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: rgba(21, 28, 35, 0.55); margin: 12px 0 0; }
.form-note a { color: var(--copper); }

/* service checkboxes in quote form */
.svc-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-check { display: inline-flex; align-items: center; gap: 7px; font-family: var(--head); font-weight: 600; font-size: 0.86rem; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 15px; cursor: pointer; user-select: none; transition: border-color 0.15s, background 0.15s; }
.svc-check:has(input:checked) { border-color: var(--slate); background: var(--mist); color: var(--slate); }
.svc-check input { accent-color: var(--slate); margin: 0; }

/* ------------------------------------------------ contact channel card */
.channel-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); display: flex; flex-direction: column; gap: 8px; }
.channel {
  display: flex; align-items: center; gap: 16px;
  padding: 15px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none; color: #fff;
  transition: background 0.15s;
}
.channel:hover { background: rgba(255, 255, 255, 0.12); }
.channel svg { width: 22px; height: 22px; fill: var(--amber); flex: none; }
.channel-card p svg { width: 13px; height: 13px; fill: var(--amber); vertical-align: -2px; }
.channel b { font-family: var(--head); display: block; font-size: 1rem; line-height: 1.3; }
.channel small { color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; }

/* ------------------------------------------------ CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 14px; }
.cta-band p { max-width: 580px; margin: 0 auto 30px; color: rgba(255, 255, 255, 0.8); font-size: 1.12rem; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ------------------------------------------------ footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; padding-bottom: calc(var(--dock-h) + 10px); }
/* NB: these three share .wrap, so they must not use the `padding` shorthand —
   it would reset .wrap's 24px side gutters and run the footer into the edge. */
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-top: clamp(50px, 7vw, 80px); padding-bottom: 44px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px; }
.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-links li { margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-brand img { height: 62px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; font-size: 0.92rem; }
.footer-areas { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; padding-bottom: 20px; font-size: 0.84rem; color: rgba(255, 255, 255, 0.55); }
.footer-areas a { color: rgba(255, 255, 255, 0.7); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; padding-bottom: 20px; font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.footer-bottom .spacer { flex: 1; }
.footer-credit { font-size: 0.76rem; color: rgba(255, 255, 255, 0.42); padding-bottom: 20px; }
.footer-credit a { color: rgba(255, 255, 255, 0.58); text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------ sticky mobile dock */
.dock {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 1150;
  display: none;
  gap: 8px;
  background: rgba(21, 28, 35, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
}
.dock a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px;
  border-radius: 11px;
  text-decoration: none;
  color: #fff;
  font-family: var(--head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.dock a svg { width: 19px; height: 19px; fill: var(--amber); }
.dock a:active { background: rgba(255, 255, 255, 0.12); }
.dock a.dock-primary { background: var(--amber); color: var(--ink); }
.dock a.dock-primary svg { fill: var(--ink); }
@media (max-width: 860px) { .dock { display: flex; } body { padding-bottom: calc(var(--dock-h) + 20px); } }

/* ------------------------------------------------ gallery / lightbox */
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry a { display: block; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.masonry img { transition: transform 0.3s; width: 100%; }
.masonry a:hover img { transform: scale(1.04); }
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(13, 18, 23, 0.95);
  display: none; align-items: center; justify-content: center;
  padding: 4vmin;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255, 255, 255, 0.1);
  border: none; color: #fff; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.25); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------ misc */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; margin: 0 0 24px; padding: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 13px; font-weight: 500; }
.check-list svg { width: 20px; height: 20px; fill: var(--copper); flex: none; margin-top: 4px; }
.on-slate .check-list svg, .on-ink .check-list svg { fill: var(--amber); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 26px; }
.check-grid li { margin-bottom: 8px; }
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } }
.pill-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 4vw, 46px); }
.pill-nav a {
  font-family: var(--head); font-weight: 600; font-size: 0.9rem;
  padding: 9px 20px; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.pill-nav a:hover { border-color: var(--slate); color: var(--slate); }
.pill-nav a.active { background: var(--slate); color: #fff; border-color: var(--slate); }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { margin-bottom: 9px; font-size: 0.95rem; }
.plain-list a { text-decoration: none; color: var(--ink); }
.plain-list a:hover { color: var(--slate); text-decoration: underline; }

/* ------------------------------------------------ prose */
.prose h3 { margin-top: 1.6em; }
.prose .lead { font-size: 1.22rem; font-weight: 500; color: var(--ink); max-width: 48ch; }
.prose p { color: rgba(21, 28, 35, 0.8); }
.prose-wide { max-width: 820px; }
.on-slate .prose p, .on-ink .prose p { color: rgba(255, 255, 255, 0.82); }

/* ------------------------------------------------ scope list (breadth of trades) */
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 860px) { .scope-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .scope-grid { grid-template-columns: 1fr; } }
.scope-grid span {
  background: var(--slate);
  padding: 15px 20px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  display: flex; align-items: center; gap: 10px;
}
.scope-grid span::before {
  content: "";
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--amber); flex: none;
}



/* ------------------------------------------------ reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

}
