/* ============================================================
   Hartwell & Sons Plumbing — demonstration build (fictional company)
   Identity: "the letterhead shop." Navy ink on warm paper, aged
   brass, Fraunces serif display. Shape language: square corners,
   fine double rules, stationery framing. Third generation, est. 1968.
   ============================================================ */

/* ---------- Fonts (self-hosted, variable) ---------- */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3-var.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3-italic.woff2') format('woff2');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --navy: #16324c;        /* primary ink; 11.6:1 vs paper */
  --navy-deep: #0e2334;   /* dark surfaces */
  --navy-line: #2c4a66;   /* rules on dark */
  --ink: #1c2b38;         /* headings */
  --body-c: #3d4852;      /* body text */
  --muted: #5a646e;       /* secondary text; 5.6:1 vs paper */
  --paper: #faf7f1;       /* page background */
  --paper-deep: #f1ebdf;  /* alternate sections */
  --card: #fffdf9;        /* raised surfaces */
  --line: #ddd5c5;        /* hairlines */
  --line-strong: #c9bfa9;
  --brass: #a07c2e;       /* decorative accents, large rules */
  --brass-deep: #7c5e1d;  /* links, buttons; 6.2:1 vs paper */
  --brass-darker: #644b15;
  --brass-bright: #d9b45f; /* brass on navy surfaces */
  --paper-on-navy: #e9e3d6;
  --muted-on-navy: #a8b4bf;

  --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;

  --container: 71rem;
  --pad-x: clamp(1.1rem, 4vw, 2rem);
  --shadow-card: 0 1px 2px rgba(22, 50, 76, 0.06), 0 10px 28px rgba(22, 50, 76, 0.07);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body-c);
  background: var(--paper);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-variation-settings: 'opsz' 90;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.55em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.1rem);
}

h2 {
  font-size: clamp(1.85rem, 4vw, 2.7rem);
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brass-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brass-darker);
}

ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

strong {
  color: var(--ink);
}

:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--paper),
    0 0 0 5px var(--brass-deep);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: clamp(3rem, 7vw, 5.25rem);
}

.section--deep {
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}

.section--navy {
  background: var(--navy);
  color: var(--paper-on-navy);
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

/* Eyebrow: sans caps against the serif heads */
.eyebrow {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--brass);
  flex: none;
}

.section--navy .eyebrow {
  color: var(--brass-bright);
}

.section--navy .eyebrow::before {
  background: var(--brass-bright);
}

.lede {
  font-size: clamp(1.1rem, 2vw, 1.2rem);
  max-width: 42rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  padding: 0.95rem 1.5rem;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.btn .icon {
  flex: none;
}

.btn--call {
  background: var(--brass-deep);
  color: #fff;
}

.btn--call:hover {
  background: var(--brass-darker);
  color: #fff;
}

.btn--xl {
  font-size: 1.2rem;
  padding: 1.1rem 1.8rem;
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--ghost:hover {
  background: var(--navy);
  color: #fff;
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ---------- Icons ---------- */

.icon {
  width: 1.05em;
  height: 1.05em;
  vertical-align: -0.12em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Utility strip + header ---------- */

.util-strip {
  background: var(--navy-deep);
  color: var(--paper-on-navy);
  font-size: 0.88rem;
}

.util-strip .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.45rem;
}

.util-strip a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.util-strip a:hover {
  text-decoration: underline;
}

.util-note {
  margin: 0;
  letter-spacing: 0.02em;
}

@media (max-width: 47.9rem) {
  .util-note {
    display: none;
  }

  .util-strip .inner {
    justify-content: center;
  }
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line-strong);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* the letterhead double rule */
.site-header::after {
  content: '';
  display: block;
  height: 3px;
  border-top: 1px solid var(--line-strong);
  margin-top: 2px;
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

/* Wordmark */
.wordmark {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.05;
}

.wordmark .wm-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  display: block;
}

.wordmark .wm-amp {
  color: var(--brass);
  font-style: italic;
  font-weight: 500;
}

.wordmark .wm-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-top: 0.28rem;
}

.wordmark:hover {
  color: var(--ink);
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 1.9rem);
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  color: var(--brass-darker);
}

.main-nav a[aria-current='page'] {
  color: var(--brass-darker);
  border-bottom-color: var(--brass);
}

.header-call {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}

.nav-toggle .icon {
  width: 1.35rem;
  height: 1.35rem;
}

@media (max-width: 63.9rem) {
  .header-call .btn-label {
    display: none;
  }
}

@media (max-width: 55rem) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .header-inner {
    padding-block: 0.65rem;
    gap: 0.8rem;
  }

  .wordmark .wm-name {
    font-size: 1.28rem;
  }

  .wordmark .wm-sub {
    font-size: 0.56rem;
    letter-spacing: 0.28em;
    margin-top: 0.2rem;
  }

  .header-call {
    padding: 0.75rem 0.9rem;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 3px double var(--line-strong);
    box-shadow: 0 18px 30px rgba(14, 35, 52, 0.14);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
  }

  .main-nav a {
    display: block;
    padding: 0.8rem var(--pad-x);
    font-size: 1.1rem;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .main-nav a[aria-current='page'] {
    border-left-color: var(--brass);
    background: var(--paper-deep);
  }
}

/* ---------- Trust strip (on every page) ---------- */

.trust-strip {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.trust-cells {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.15fr 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-cells li {
  padding: 0.85rem 1.1rem;
  border-left: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.4;
}

.trust-cells li:first-child {
  border-left: none;
  padding-left: 0;
}

.trust-cells .t-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.trust-cells strong {
  font-weight: 700;
}

.trust-cells a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.trust-cells a:hover {
  color: var(--brass-darker);
}

.t-stars {
  color: var(--brass);
  letter-spacing: 0.08em;
  margin-right: 0.3rem;
}

@media (max-width: 55rem) {
  .trust-cells {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding-block: 0.35rem;
  }

  .trust-cells li {
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
  }

  .trust-cells li:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
}

/* Phones: the trust strip collapses to a flowing one-liner so the
   hero headline stays near the fold */
@media (max-width: 47.9rem) {
  .trust-cells {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem 0;
    padding-block: 0.5rem;
  }

  .trust-cells li {
    border: none;
    padding: 0;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .trust-cells li:not(:last-child)::after {
    content: '·';
    margin-inline: 0.45rem;
    color: var(--line-strong);
    font-weight: 700;
  }

  .trust-cells .t-label {
    display: none;
  }
}

/* ---------- Home hero ----------
   Full-bleed split: copy on the letterhead, one strong crew photo
   edge-to-edge on the right with a brass keyline, hairline inset,
   and the 1968 seal straddling the seam. One photo, one message,
   phone first. */

.hero {
  position: relative;
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(30rem, 66vh, 44rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  padding-right: clamp(1.5rem, 4vw, 4rem);
  padding-left: max(var(--pad-x), calc((100vw - var(--container)) / 2 + var(--pad-x)));
}

.hero-media {
  position: relative;
  border-left: 3px solid var(--brass);
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* letterhead hairline inset over the full-bleed photo */
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0.9rem;
  border: 1px solid rgba(250, 247, 241, 0.55);
  pointer-events: none;
}

.hero-kicker {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 1rem;
}

.hero h1 {
  margin-bottom: 0.4em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--brass-deep);
}

.hero-lede {
  font-size: clamp(1.1rem, 2vw, 1.22rem);
  max-width: 34em;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.hero-hours {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
}

.hero-hours .icon {
  color: var(--brass-deep);
}

/* Framed photo, stationery style */
.plate {
  position: relative;
  border: 1px solid var(--line-strong);
  padding: 0.55rem;
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.plate::after {
  content: '';
  position: absolute;
  inset: 0.55rem;
  border: 1px solid var(--line);
  pointer-events: none;
}

.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pending photography slot (see SHOTLIST.md): the styled backdrop
   shows through until the replacement file lands under the same name. */
.plate--pending {
  position: relative;
}

.plate--pending::before {
  content: attr(data-shot);
  position: absolute;
  inset: 0.55rem;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(160, 124, 46, 0.07) 0 10px,
      transparent 10px 20px
    ),
    var(--paper-deep);
}

.plate--pending::after {
  content: 'Photography pending · see SHOTLIST.md';
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 0;
  white-space: nowrap;
  font-size: 0.7rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--brass-deep);
}

.plate--pending img {
  position: relative;
  z-index: 1;
}

img.img-broken {
  visibility: hidden;
}

/* The 1968 seal — straddles the copy/photo seam */
.seal {
  position: absolute;
  left: -3.9rem;
  bottom: clamp(1.75rem, 5vw, 3.25rem);
  width: clamp(6.5rem, 12vw, 8.5rem);
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(14, 35, 52, 0.25));
  z-index: 2;
}

.seal-spin {
  transform-origin: 50% 50%;
  animation: seal-rotate 70s linear infinite;
}

@keyframes seal-rotate {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .seal-spin {
    animation: none;
  }
}

@media (max-width: 55rem) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding-inline: var(--pad-x);
    padding-block: 2.25rem 1.9rem;
  }

  .hero-media {
    border-left: none;
    border-top: 3px solid var(--brass);
    aspect-ratio: 16 / 11;
  }

  .seal {
    left: auto;
    right: 1rem;
    bottom: -1.4rem;
    width: 6.25rem;
  }
}

/* ---------- Service ledger (home) ---------- */

.ledger {
  margin-top: 2.25rem;
  border-top: 3px double var(--line-strong);
}

.ledger-row {
  display: grid;
  grid-template-columns: 3.4rem minmax(11rem, 16rem) 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background-color 140ms ease;
}

.ledger-row:hover {
  background: var(--card);
}

.ledger-num {
  font-family: var(--font-head);
  font-weight: 500;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brass);
  white-space: nowrap;
}

.ledger-row h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  transition: color 140ms ease;
}

.ledger-row:hover h3 {
  color: var(--brass-darker);
}

.ledger-desc {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 34em;
}

.ledger-go {
  font-weight: 700;
  color: var(--brass-deep);
  white-space: nowrap;
}

@media (max-width: 55rem) {
  .ledger-row {
    grid-template-columns: 3rem 1fr auto;
    grid-template-areas:
      'num title go'
      'num desc go';
    row-gap: 0.25rem;
    padding-block: 1.05rem;
  }

  .ledger-num {
    grid-area: num;
  }

  .ledger-row h3 {
    grid-area: title;
  }

  .ledger-desc {
    grid-area: desc;
  }

  .ledger-go {
    grid-area: go;
    align-self: center;
  }
}

.ledger-note {
  margin-top: 1.4rem;
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 46em;
}

/* ---------- Heritage / timeline ---------- */

.heritage-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 2fr) 2.6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.archival-cap {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
}

.timeline {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  border-left: 1px solid var(--line-strong);
}

.timeline li {
  position: relative;
  padding: 0 0 1.5rem 1.6rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -0.36rem;
  top: 0.42em;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--brass);
}

.timeline .t-year {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  display: block;
}

.timeline p {
  margin: 0.15rem 0 0;
}

@media (max-width: 55rem) {
  .heritage-grid {
    grid-template-columns: 1fr;
  }

  .heritage-grid .plate {
    max-width: 26rem;
  }
}

/* ---------- The estimate sheet (pricing motif) ---------- */

.sheet-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.sheet-wrap {
  max-width: 56rem;
}

.sheet {
  background: var(--card);
  border: 1px solid var(--line-strong);
  box-shadow: 8px 8px 0 0 var(--navy);
  margin-top: 1.6rem;
}

/* monoline step icons on the estimate sheet */
.step-icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  color: var(--brass-deep);
  margin-bottom: 0.75rem;
}

.step-icon .icon {
  width: 1.3rem;
  height: 1.3rem;
  stroke-width: 1.75;
}

.sheet-head {
  padding: 1rem 1.6rem 0.85rem;
  border-bottom: 3px double var(--line-strong);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.sheet-head .sh-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0;
}

.sheet-head .sh-tag {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.sheet-steps {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  counter-reset: sheet;
}

.sheet-steps li {
  counter-increment: sheet;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.9rem;
  padding: 1.05rem 1.6rem;
}

.sheet-steps li + li {
  border-top: 1px solid var(--line);
}

.sheet-steps li::before {
  content: counter(sheet, decimal-leading-zero);
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--brass);
  line-height: 1;
  padding-top: 0.15rem;
}

.sheet-steps h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25em;
}

.sheet-steps p {
  margin: 0;
  font-size: 0.99rem;
}

.sheet-foot {
  border-top: 3px double var(--line-strong);
  padding: 0.8rem 1.6rem;
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 55rem) {
  .sheet-grid {
    grid-template-columns: 1fr;
  }

  .sheet-grid .plate {
    max-width: 28rem;
  }

  .sheet {
    box-shadow: 6px 6px 0 0 var(--navy);
  }
}

/* ---------- Call band ---------- */

.call-band {
  background: var(--navy);
  color: var(--paper-on-navy);
  border-block: 3px solid var(--brass);
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
}

.call-band h2 {
  color: #fff;
  margin-bottom: 0.2em;
}

.band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.band-line {
  margin: 0;
  font-size: 1.08rem;
  max-width: 36em;
}

.band-cta {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
}

.band-hours {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted-on-navy);
}

/* ---------- Reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-block: 1.9rem 1.4rem;
}

@media (max-width: 55rem) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  padding: 1.5rem 1.6rem 1.3rem;
  box-shadow: var(--shadow-card);
}

.review-card .stars {
  color: var(--brass);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.6rem;
}

.review-card blockquote {
  margin: 0 0 1rem;
  font-size: 1.02rem;
}

.review-card blockquote p {
  margin: 0;
}

.review-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.review-name {
  font-weight: 700;
  color: var(--ink);
}

.review-town {
  color: var(--muted);
}

.review-job {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  border: 1px solid var(--line-strong);
  padding: 0.22rem 0.6rem;
}

.review-reply {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--paper-deep);
  border-left: 3px solid var(--brass);
  font-size: 0.95rem;
}

.review-reply p {
  margin: 0;
}

.review-reply .rr-name {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

/* Reviews page: summary header */
.rating-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line-strong);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-card);
  margin-block: 2rem 2.5rem;
}

.rating-big {
  text-align: center;
  padding-right: clamp(1.5rem, 4vw, 3rem);
  border-right: 1px solid var(--line);
}

.rating-big .r-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(3.2rem, 7vw, 4.6rem);
  line-height: 1;
  color: var(--navy);
  display: block;
}

.rating-big .stars {
  color: var(--brass);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  display: block;
  margin: 0.4rem 0 0.3rem;
}

.rating-big .r-count {
  font-size: 0.9rem;
  color: var(--muted);
}

.rating-bars {
  display: grid;
  gap: 0.45rem;
}

.rbar {
  display: grid;
  grid-template-columns: 3.2rem 1fr 2.6rem;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.rbar .rb-label {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.rbar .rb-track {
  height: 0.55rem;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  overflow: hidden;
}

.rbar .rb-fill {
  display: block;
  height: 100%;
  background: var(--brass);
}

.rbar .rb-count {
  color: var(--muted);
  text-align: right;
}

@media (max-width: 47.9rem) {
  .rating-summary {
    grid-template-columns: 1fr;
  }

  .rating-big {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 0 0 1.25rem;
  }
}

.mention-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0 0 2.5rem;
}

.mention-chips li {
  border: 1px solid var(--line-strong);
  background: var(--card);
  padding: 0.4rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.mention-chips .mc-count {
  color: var(--brass-deep);
  font-weight: 700;
}

/* ---------- Area band / chips ---------- */

.area-band .area-lede {
  max-width: 42rem;
  font-size: 1.12rem;
}

.town-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}

.town-chips li {
  background: var(--navy-deep);
  border: 1px solid var(--navy-line);
  padding: 0.45rem 0.95rem;
  font-weight: 600;
  color: #fff;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 55rem) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-facts {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.contact-facts li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.contact-facts .icon {
  color: var(--brass-deep);
  flex: none;
}

/* Form */
.form-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
  position: relative;
}

.form-card::before {
  content: '';
  position: absolute;
  inset: 0.45rem;
  border: 1px solid var(--line);
  pointer-events: none;
}

.form-card > * {
  position: relative;
}

.form-card h3 {
  margin-bottom: 0.3em;
}

.form-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.field {
  margin-bottom: 1.05rem;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.field .opt {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  padding: 0.7rem 0.85rem;
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--brass-deep);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 36rem) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.form-success {
  border: 1px solid var(--line-strong);
  background: var(--paper-deep);
  padding: 1.5rem;
  text-align: center;
}

.form-success h3 {
  color: var(--navy);
}

.form-success p {
  margin-bottom: 0;
}

/* ---------- Page masthead (subpages) ---------- */

.masthead {
  padding-block: clamp(2.5rem, 5.5vw, 4rem) clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60rem 22rem at 85% -20%, rgba(160, 124, 46, 0.09), transparent 60%),
    var(--paper);
}

.masthead h1 {
  margin-bottom: 0.35em;
}

.masthead .lede {
  margin-bottom: 0;
}

/* ---------- Services page ---------- */

.svc-nav {
  position: sticky;
  top: var(--header-h, 4.5rem);
  z-index: 80;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.svc-nav::-webkit-scrollbar {
  display: none;
}

.svc-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0.55rem var(--pad-x);
  max-width: var(--container);
  margin-inline: auto;
}

.svc-nav a {
  display: block;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border: 1px solid transparent;
}

.svc-nav a:hover {
  border-color: var(--line-strong);
  background: var(--card);
}

.svc-section {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  scroll-margin-top: calc(var(--header-h, 4.5rem) + 3.6rem);
}

.svc-section + .svc-section {
  border-top: 1px solid var(--line);
}

.svc-head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  align-items: center;
  margin-bottom: 1.75rem;
}

.svc-head.flip {
  grid-template-columns: 1fr 1.15fr;
}

.svc-head.flip .svc-copy {
  order: 2;
}

@media (max-width: 55rem) {
  .svc-head,
  .svc-head.flip {
    grid-template-columns: 1fr;
  }

  .svc-head.flip .svc-copy {
    order: 0;
  }

  .svc-head .plate {
    max-width: 28rem;
  }
}

.svc-lists {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 55rem) {
  .svc-lists {
    grid-template-columns: 1fr;
  }
}

.covers h3,
.gtk h3 {
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.covers ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 2rem;
}

.covers li {
  break-inside: avoid;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

@media (max-width: 47.9rem) {
  .covers ul {
    columns: 1;
  }
}

.gtk {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: 1.25rem 1.4rem;
}

.gtk p {
  margin-bottom: 0.7em;
  font-size: 0.98rem;
}

.gtk p:last-child {
  margin-bottom: 0;
}

/* ---------- About page ---------- */

.owner-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 2fr) 3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 55rem) {
  .owner-grid {
    grid-template-columns: 1fr;
  }

  .owner-grid .plate {
    max-width: 22rem;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}

@media (max-width: 55rem) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 1.5rem 1.5rem 1.3rem;
  box-shadow: var(--shadow-card);
}

.value-card h3 {
  margin-bottom: 0.4em;
}

.value-card p {
  margin: 0;
  font-size: 1rem;
}

.crew-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 3px double var(--line-strong);
}

.crew-list li {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) 1fr;
  gap: 1.5rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.crew-list .c-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}

.crew-list .c-role {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-top: 0.2rem;
}

.crew-list p {
  margin: 0;
  font-size: 1rem;
}

@media (max-width: 47.9rem) {
  .crew-list li {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

.guarantee {
  background: var(--card);
  border: 1px solid var(--line-strong);
  box-shadow: 8px 8px 0 0 var(--brass);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 46rem;
}

.guarantee h2 {
  margin-bottom: 0.4em;
}

.guarantee p:last-child {
  margin-bottom: 0;
}

/* ---------- Service areas page ---------- */

.area-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 55rem) {
  .area-cols {
    grid-template-columns: 1fr;
  }
}

.area-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 3px double var(--line-strong);
}

.area-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.area-list .a-town {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
}

.area-list .a-note {
  font-size: 0.92rem;
  color: var(--muted);
  text-align: right;
}

/* The 1968 service-area map — stationery card holding the SVG */
.map-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  padding: 0.55rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.map-card::after {
  content: '';
  position: absolute;
  inset: 0.55rem;
  border: 1px solid var(--line);
  pointer-events: none;
}

.map-card svg {
  display: block;
  width: 100%;
  height: auto;
}

.map-caption {
  padding: 1rem 1.2rem 1.05rem;
  border-top: 2px dashed var(--line);
  margin: 0;
  font-size: 0.95rem;
}

.map-caption strong {
  color: var(--navy);
}

/* ---------- Demo notice + footer ---------- */

.demo-notice {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 4px solid var(--brass);
  font-size: 0.94rem;
}

.demo-notice .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  padding-block: 0.85rem;
}

.demo-notice p {
  margin: 0;
}

.site-footer {
  background: var(--navy-deep);
  color: var(--paper-on-navy);
  font-size: 0.98rem;
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-block: 2.75rem;
}

.f-wordmark {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.1;
}

.f-wordmark .wm-amp {
  color: var(--brass-bright);
  font-style: italic;
  font-weight: 500;
}

.f-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass-bright);
  margin: 0.3rem 0 0;
}

.f-tag {
  margin-top: 1rem;
  max-width: 26rem;
}

.f-trust {
  margin-bottom: 0.5rem;
}

.f-trust strong {
  color: #fff;
}

.f-trust-note {
  display: block;
  font-size: 0.85rem;
  color: var(--muted-on-navy);
}

.site-footer .brand .btn {
  margin-top: 0.75rem;
}

.col-h {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-bright);
  margin: 0 0 0.8rem;
}

.site-footer .col ul {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer .col a,
.site-footer .small a {
  color: #fff;
  text-decoration: none;
}

.site-footer .col a:hover,
.site-footer .small a:hover {
  text-decoration: underline;
}

.site-footer .small {
  font-size: 0.9rem;
  color: var(--muted-on-navy);
}

@media (max-width: 63.9rem) {
  .site-footer .cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 47.9rem) {
  .site-footer .cols {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding-block: 2rem;
  }

  .f-tag,
  .f-hours-note {
    display: none;
  }

  .site-footer .col ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.1rem;
  }

  .col-h {
    margin-bottom: 0.45rem;
  }
}

/* ---------- Call dialog ---------- */

.call-dialog {
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--brass);
  padding: 1.85rem 1.75rem 1.6rem;
  max-width: 26rem;
  width: calc(100% - 2.5rem);
  box-shadow: 12px 12px 0 0 rgba(14, 35, 52, 0.35);
  text-align: center;
  background: var(--card);
}

.call-dialog::backdrop {
  background: rgba(14, 35, 52, 0.6);
}

.call-dialog .kicker {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 0.5rem;
}

.call-dialog h2 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.call-dialog .number {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.call-dialog .body {
  font-size: 0.97rem;
}

/* ---------- Reveal animation ----------
   Gated behind html.js so content is always visible without JS. */

html.js .rise {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms ease, transform 420ms ease;
}

html.js .rise.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .rise {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Mobile hero: photo becomes the ground ---------- */

@media (max-width: 47.9rem) {
  .hero-grid {
    grid-template-areas: "hero";
    grid-template-columns: 1fr;
    min-height: clamp(30rem, 74vh, 38rem);
    background: var(--navy-deep);
    isolation: isolate;
  }

  .hero-copy,
  .hero-media {
    grid-area: hero;
  }

  .hero-media {
    aspect-ratio: auto;
    border-top: none;
    z-index: 0;
  }

  .hero-media img {
    object-position: 50% 40%;
  }

  /* scrim under the copy; ::after stays the letterhead hairline */
  .hero-media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      180deg,
      rgba(14, 35, 52, 0.40) 0%,
      rgba(14, 35, 52, 0.64) 38%,
      rgba(14, 35, 52, 0.88) 72%,
      rgba(14, 35, 52, 0.95) 100%
    );
  }

  .hero-media::after {
    z-index: 2;
    border-color: rgba(250, 247, 241, 0.38);
  }

  .hero-copy {
    z-index: 3;
    justify-content: flex-end;
    padding-block: 2.5rem 1.9rem;
  }

  .hero-copy .hero-kicker {
    color: var(--brass-bright);
  }

  .hero-copy h1 {
    color: #fff;
    font-size: clamp(2.8rem, 11vw, 3.6rem);
    text-shadow: 0 2px 18px rgba(8, 20, 30, 0.45);
  }

  .hero-copy h1 em {
    color: var(--brass-bright);
  }

  .hero-copy .hero-lede {
    color: rgba(250, 247, 241, 0.93);
    font-size: 1.08rem;
    line-height: 1.5;
    text-shadow: 0 1px 10px rgba(8, 20, 30, 0.5);
    margin-bottom: 0;
  }

  .hero-copy .lede-s[data-lede-desktop] {
    display: none;
  }

  .hero-copy .hero-actions {
    margin-block: 1.35rem 0.95rem;
    gap: 0.7rem;
  }

  .hero-copy .btn--call {
    flex: 1 1 100%;
    box-shadow: 0 10px 28px rgba(8, 20, 30, 0.42);
  }

  .hero-copy .btn--ghost {
    flex: 1 1 100%;
    border-color: rgba(250, 247, 241, 0.75);
    color: #fff;
    background: rgba(250, 247, 241, 0.07);
  }

  .hero-copy .hero-hours {
    color: rgba(250, 247, 241, 0.9);
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .hero-copy .hero-hours .icon {
    color: var(--brass-bright);
  }

  /* seal moves out of the copy's way, into the top corner */
  .seal {
    left: auto;
    right: 0.9rem;
    top: 1.5rem;
    bottom: auto;
    width: 5.25rem;
    z-index: 4;
  }
}

/* ===================================================================
   ProjectWon standard demo elements (final polish pass)
   =================================================================== */

/* Demo bar — identical across all ProjectWon demo sites; deliberately
   not brand-styled */
.pw-demo-bar {
  background: #1a1d21;
  color: #f4f1ea;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 13.5px;
  line-height: 1.45;
  text-align: center;
  padding: 9px 16px;
}

.pw-demo-bar p {
  margin: 0;
}

.pw-demo-bar a {
  color: #ff6b35;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.pw-demo-bar a:hover,
.pw-demo-bar a:focus {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .pw-demo-bar {
    font-size: 13px;
    padding: 7px 12px;
  }
}

/* Call-dialog conversion CTA */
.call-dialog .pw-dialog-cta {
  margin: 1.15rem 0;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line);
}

.call-dialog .pw-dialog-cta p {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
}

/* Credit links in the notice band and footer legal row */
.demo-notice a {
  color: inherit;
}

/* Footer legal row (bottom row with the ProjectWon credit + Privacy) */
.site-footer .legal {
  border-top: 1px solid var(--navy-line);
  padding-block: 1.1rem;
  font-size: 0.88rem;
  color: var(--muted-on-navy);
}

.site-footer .legal p {
  margin: 0.2rem 0;
}

.site-footer .legal a {
  color: inherit;
}

/* Privacy page prose column */
.privacy-prose {
  max-width: 46rem;
}
