/* ============================================================
   Denny & Son Upholstery — Process v2 hand-authored CSS
   Thesis: a fabric swatch book from a 56-year father-and-son
   workshop — material-first, walnut wood and natural linen,
   slab type that belongs on a fabric tag.
   Motion signature: THE SEAM — a dashed brass stitch line that
   sews itself in at every joint where walnut meets linen.
   Type: Bitter (display) / Lexend (body). No Tailwind, no build.
   ============================================================ */

:root {
  /* walnut — wood-stain darks */
  --walnut:      #3a2818;
  --walnut-2:    #2c1d11;   /* deepest, footer */
  --walnut-3:    #4a3525;   /* lifted panel */
  /* linen — unbleached naturals */
  --linen:       #ebe1cc;
  --linen-2:     #e0d4b7;
  --linen-deep:  #d5c79c;
  /* ink & creams */
  --ink:         #1f1409;   /* 13.9:1 on linen */
  --cream:       #f4eddc;   /* 12.0:1 on walnut */
  --cream-soft:  #d4c9ad;   /*  8.5:1 on walnut */
  /* workshop apron green — lifted from #768a64 for 5.0:1 AA on walnut */
  --sage:        #5a6b4d;
  --sage-soft:   #8fa07c;
  /* terracotta — display accent on linen (3.8:1, large type only) */
  --terracotta:      #b25538;
  --terracotta-deep: #8c3f24; /* 5.7:1 on linen — small text & hovers */
  --cta:             #a54a2c; /* button ground — cream on this = 4.98:1 AA */
  /* brass tag */
  --tag-amber:   #c19553;   /* 5.1:1 on walnut */
  /* hairlines */
  --line:        #5e4634;
  --line-linen:  #b8a877;

  --display: 'Bitter', Georgia, 'Times New Roman', serif;
  --body:    'Lexend', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--walnut);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

/* one whisper of cloth grain over the whole book */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

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

::selection { background: var(--terracotta); color: var(--cream); }
:focus-visible { outline: 2px solid var(--tag-amber); outline-offset: 3px; }

.wrap { max-width: 72rem; margin-inline: auto; padding-inline: 1.5rem; }

/* ---- type voices ---- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; color: var(--cream); }

/* fabric-tag kicker */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--tag-amber);
  padding: 5px 12px;
  border: 1px solid var(--tag-amber);
  border-radius: 2px;
}
.tag-sage { color: var(--sage-soft); border-color: var(--sage-soft); }

/* ============================================================
   THE SEAM — dashed brass stitch at every walnut/linen joint.
   JS-gated: without JS (or with reduced motion) it is simply a
   finished stitch line. With JS it sews itself left-to-right.
   Plain div + repeating-linear-gradient: no SVG intrinsic width
   (anti-pattern #12), no dash-offset math (anti-pattern #6).
   ============================================================ */
.seam {
  height: 2px; width: 100%;
  background-image: repeating-linear-gradient(90deg,
    var(--tag-amber) 0 9px, transparent 9px 16px);
}
.seam-sage {
  background-image: repeating-linear-gradient(90deg,
    var(--sage-soft) 0 9px, transparent 9px 16px);
}
/* hidden state ends with :not(.in-view) so it stops matching by
   construction — anti-pattern #9 */
.js .seam[data-reveal]:not(.in-view) {
  opacity: 1; transform: none;
  clip-path: inset(0 100% 0 0);
}
.js .seam[data-reveal].in-view {
  opacity: 1; transform: none;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.3s var(--ease) 0.1s;
}

/* ---- reveals (JS-gated: page fully visible without JS) ---- */
.js [data-reveal]:not(.in-view) { opacity: 0; transform: translateY(16px); }
.js [data-reveal].in-view {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].in-view[data-delay="1"] { transition-delay: 0.1s; }
.js [data-reveal].in-view[data-delay="2"] { transition-delay: 0.2s; }
.js [data-reveal].in-view[data-delay="3"] { transition-delay: 0.3s; }
.js [data-reveal].in-view[data-delay="4"] { transition-delay: 0.42s; }
.js [data-reveal].in-view[data-delay="5"] { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal]:not(.in-view) { opacity: 1; transform: none; }
  .js .seam[data-reveal]:not(.in-view) { clip-path: inset(0 0 0 0); }
  .js [data-reveal].in-view, .js .seam[data-reveal].in-view { transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---- utility band ---- */
.utility { border-bottom: 1px solid var(--line); }
.utility .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 0.75rem;
}
.utility-right { display: none; align-items: center; gap: 1.25rem; }
@media (min-width: 640px) { .utility-right { display: flex; } }
.u-note {
  font-family: var(--display); font-weight: 600; font-size: 0.875rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--cream-soft);
}
.u-phone {
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  color: var(--cream); text-decoration: none;
}
.u-phone:hover { color: var(--tag-amber); }

/* ---- masthead — Starter has no nav, just brand + phone ---- */
.masthead { border-bottom: 2px solid var(--tag-amber); }
.masthead .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.75rem;
}
.brand { line-height: 1.2; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.875rem; color: var(--cream); letter-spacing: -0.01em; }
@media (min-width: 880px) { .brand-name { font-size: 2.25rem; } }
.brand-tag {
  font-family: var(--body); font-weight: 600; font-size: 0.875rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--tag-amber);
}
/* scoped above .btn-call in specificity so the later .btn-call
   display rule cannot re-show it at mobile (anti-pattern #10) */
.masthead .masthead-cta { display: none; }
@media (min-width: 640px) { .masthead .masthead-cta { display: inline-flex; } }

/* ---- buttons — the conversion path ---- */
.btn-call, .btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 0.96rem;
  letter-spacing: 0.04em; text-decoration: none;
  border-radius: 2px; cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              transform 0.15s var(--ease), box-shadow 0.18s var(--ease);
}
.btn-call {
  background: var(--cta);            /* cream on #a54a2c = 4.98:1 AA */
  color: var(--cream);
  padding: 14px 24px; border: 0;
  box-shadow: 0 14px 28px -18px rgba(140, 63, 36, 0.85),
              inset 0 1px 0 rgba(244, 237, 220, 0.18); /* top thread catch-light */
}
.btn-call:hover {
  background: var(--terracotta-deep); /* cream on #8c3f24 = 6.31:1 */
  transform: translateY(-1px);
  box-shadow: 0 18px 32px -16px rgba(140, 63, 36, 0.95),
              inset 0 1px 0 rgba(244, 237, 220, 0.18);
}
.btn-call:active { transform: translateY(0); box-shadow: 0 8px 18px -14px rgba(140, 63, 36, 0.9); }
.btn-line {
  background: transparent;
  color: var(--cream);               /* 12.0:1 on walnut */
  padding: 12px 22px;
  border: 2px solid var(--tag-amber);
}
.btn-line:hover { background: var(--tag-amber); color: var(--walnut); } /* 5.1:1 */

/* sew-in underline — the stitch as a micro-interaction on tel/mailto */
.sew { position: relative; text-decoration: none; }
.sew::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background-image: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 11px);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.35s var(--ease);
}
.sew:hover::after, .sew:focus-visible::after { clip-path: inset(0 0 0 0); }

/* ---- hero ---- */
.hero { position: relative; }
.hero::before { /* lamp over the workbench */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(56% 42% at 26% -8%, rgba(193, 149, 83, 0.10), transparent 62%),
    radial-gradient(40% 34% at 78% -6%, rgba(244, 237, 220, 0.05), transparent 58%);
}
.hero-grid {
  position: relative; display: grid; gap: 3rem; align-items: center;
  padding-block: 4rem;
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding-block: 5rem; }
}
.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(3rem, 1.4rem + 6.2vw, 5.2rem);
  line-height: 0.98; letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--tag-amber); }
.hero .lede {
  margin-top: 2rem; max-width: 36rem;
  font-size: 1.125rem; line-height: 1.65; font-weight: 500; color: var(--cream-soft);
}
@media (min-width: 880px) { .hero .lede { font-size: 1.25rem; } }
.hero-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.proof { margin-top: 2.5rem; }
.proof-row {
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem;
  font-family: var(--display); font-weight: 700; font-size: 0.875rem;
}
.proof-row .amber { color: var(--tag-amber); }
.proof-row .soft  { color: var(--cream-soft); }

/* ---- image frames ---- */
.img-frame {
  position: relative; overflow: hidden; border-radius: 2px;
  border: 2px solid var(--tag-amber);
  box-shadow: 0 30px 60px -38px rgba(0, 0, 0, 0.75);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame-tall   { aspect-ratio: 4 / 5; }
.img-frame-square { aspect-ratio: 1 / 1; }
.linen-section .img-frame { border-color: var(--walnut); box-shadow: 0 26px 50px -34px rgba(58, 40, 24, 0.55); }

/* "Established 1970" stamp — settles into the corner like a press stamp */
.stamp-pos { position: absolute; top: 1.25rem; left: 1.25rem; }
.year-stamp {
  display: inline-flex; flex-direction: column; align-items: center;
  font-family: var(--display); font-weight: 700;
  padding: 14px 24px; border: 2px solid var(--sage-soft); border-radius: 2px;
  /* ink backing at 0.78 keeps the stamp legible over ANY delivery photo */
  color: var(--sage-soft); background: rgba(31, 20, 9, 0.78);
  letter-spacing: 0.04em;
  transform: rotate(-3deg);
}
.year-stamp .y-line { font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; }
.year-stamp .y-num  { font-size: 2.2rem; line-height: 1; margin-top: 2px; }
.js .year-stamp[data-reveal]:not(.in-view) { opacity: 0; transform: rotate(2deg) scale(1.12); }
.js .year-stamp[data-reveal].in-view {
  opacity: 1; transform: rotate(-3deg) scale(1);
  /* presses in after the photo frame has arrived */
  transition: opacity 0.5s var(--ease) 0.85s, transform 0.5s var(--ease) 0.85s;
}
@media (prefers-reduced-motion: reduce) {
  .js .year-stamp[data-reveal]:not(.in-view) { opacity: 1; transform: rotate(-3deg); }
}

/* ---- sections ---- */
.section-pad { padding-block: 5rem; }
@media (min-width: 880px) { .section-pad { padding-block: 6rem; } }

/* linen surface — woven, not flat: a faint warp/weft over layered tone */
.linen-section {
  position: relative;
  background-color: var(--linen);
  background-image:
    repeating-linear-gradient(0deg,  rgba(58, 40, 24, 0.030) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(58, 40, 24, 0.020) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, var(--linen-2), var(--linen) 6rem);
  color: var(--ink);
}
.linen-section h2, .linen-section h3 { color: var(--ink); }
.linen-section .tag      { color: var(--walnut); border-color: var(--walnut); }
.linen-section .tag-sage { color: var(--sage); border-color: var(--sage); }
.linen-section .btn-line { color: var(--ink); border-color: var(--ink); }
.linen-section .btn-line:hover { background: var(--ink); color: var(--linen); }

/* section head pattern */
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; margin-bottom: 3.5rem;
}
.section-head h2 {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3rem);
  line-height: 1.02; letter-spacing: -0.015em;
}
.section-head .note { max-width: 28rem; font-size: 1.125rem; font-weight: 500; color: var(--cream-soft); }
.linen-section .section-head .note { color: var(--ink); }
h2 .accent-amber { color: var(--tag-amber); }
h2 .accent-terra { color: var(--terracotta); } /* 3.8:1 — large display only */

/* ---- work tiles ---- */
.work-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px)  { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.work-tile {
  background: var(--cream);
  border: 1px solid var(--line-linen);
  border-radius: 2px;
  padding: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65),   /* pressed-cloth top light */
              0 18px 36px -26px rgba(58, 40, 24, 0.5);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.work-tile:hover {
  transform: translateY(-2px);
  border-color: var(--walnut);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65),
              0 26px 44px -26px rgba(58, 40, 24, 0.6);
}
.work-tile .num {
  font-family: var(--display); font-weight: 700;
  font-size: 2.2rem; line-height: 1; color: var(--terracotta); /* 4.2:1 on cream, large */
}
.work-tile h3 { margin-top: 1rem; font-size: 1.5rem; line-height: 1.3; }
.work-tile .tile-rule { border: 0; border-top: 1px solid var(--line-linen); margin-block: 1.25rem; }
.work-tile p { font-weight: 500; font-size: 0.98rem; line-height: 1.6; color: var(--ink); }

/* ---- swatch wall ---- */
.swatch-head { display: grid; gap: 2rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 880px) { .swatch-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.swatch-head h2 {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3rem);
  line-height: 1.02; letter-spacing: -0.015em;
}
.swatch-head .note { font-size: 1.125rem; font-weight: 500; line-height: 1.65; color: var(--cream-soft); }
.swatch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (min-width: 880px) { .swatch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.swatch {
  aspect-ratio: 5 / 4; border-radius: 2px; position: relative; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
              0 20px 40px -30px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
figure:hover .swatch {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
              0 28px 48px -30px rgba(0, 0, 0, 0.9);
}
.swatch::after { /* sample-ring grommet, top-right, like a real swatch book */
  content: ""; position: absolute; top: 10px; right: 10px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--linen); border: 1px solid var(--walnut);
  box-shadow: 0 0 0 2px var(--linen);
}
.swatch-label {
  margin-top: 0.75rem;
  font-family: var(--display); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.02em; color: var(--cream);
}
.swatch-meta {
  font-family: var(--body); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.04em; color: var(--cream-soft);
}

/* swatch fills — each a different material */
.swatch-leather { background: linear-gradient(135deg, #6b3a1f 0%, #4a2410 50%, #5a2f18 100%); }
.swatch-wool    { background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.06) 0 2px, transparent 2px 4px), linear-gradient(180deg, #6f7a6a 0%, #5a6657 100%); }
.swatch-velvet  { background: linear-gradient(135deg, #6b2929 0%, #4a1818 100%); }
.swatch-linen   { background-image: repeating-linear-gradient(0deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 3px), linear-gradient(180deg, #d9c997 0%, #c7b582 100%); }
.swatch-tweed   { background-image:
  repeating-linear-gradient(0deg, #4a4030 0 2px, #3a3024 2px 4px),
  repeating-linear-gradient(90deg, rgba(193, 149, 83, 0.18) 0 2px, transparent 2px 4px); }
.swatch-vinyl   { background: linear-gradient(135deg, #1f1f24 0%, #0f0f12 100%); }

.swatch-foot { margin-top: 3rem; }
.swatch-foot p { padding-top: 2rem; max-width: 42rem; font-size: 1.125rem; font-weight: 500; line-height: 1.65; color: var(--cream); }
.swatch-foot .count { font-family: var(--display); font-weight: 700; color: var(--tag-amber); }

/* ---- workshop story ---- */
.story-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 880px) { .story-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.story-copy h2 {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3rem);
  line-height: 1.02; letter-spacing: -0.015em;
}
.story-copy p { margin-top: 1.5rem; font-size: 1.125rem; font-weight: 500; line-height: 1.75; color: var(--ink); }
.story-copy p:first-of-type { margin-top: 2rem; }
.stat-row {
  margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line-linen);
  display: grid; gap: 1.5rem;
}
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.875rem; line-height: 1.15; color: var(--terracotta); } /* large, 3.8:1 */
.stat span {
  display: block; margin-top: 0.25rem;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink);
}

/* ---- reviews ---- */
.review-grid { display: grid; gap: 1.5rem; }
@media (min-width: 880px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.review-card {
  background: var(--linen-2); color: var(--ink);
  padding: 26px 28px; border-radius: 2px;
  border-left: 4px solid var(--terracotta);   /* the selvage edge */
  box-shadow: 0 26px 50px -34px rgba(0, 0, 0, 0.6);
}
.review-card .stars { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--terracotta-deep); letter-spacing: 0.08em; }
.review-card blockquote { margin-top: 1rem; font-size: 1.125rem; font-weight: 500; line-height: 1.6; color: var(--ink); }
.review-card .who {
  margin-top: 1.25rem;
  font-family: var(--display); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--walnut);
}

/* ---- visit ---- */
.visit-grid { display: grid; gap: 2.5rem; }
@media (min-width: 880px) { .visit-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.visit-copy h2 {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3rem);
  line-height: 1.02; letter-spacing: -0.015em;
}
.visit-copy .lede { margin-top: 2rem; max-width: 36rem; font-size: 1.125rem; font-weight: 500; line-height: 1.65; color: var(--ink); }
.visit-dl { margin-top: 2.5rem; max-width: 28rem; }
.visit-dl > div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem;
  padding-bottom: 1rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-linen);
}
.visit-dl dt {
  font-family: var(--display); font-weight: 700; font-size: 0.875rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink);
  padding-top: 0.2rem;
}
.visit-dl dd { font-weight: 500; color: var(--ink); }
.visit-dl .dd-phone a {
  font-family: var(--display); font-weight: 700; font-size: 1.5rem;
  color: var(--ink); text-decoration: none;
}
.visit-dl .dd-phone a:hover { color: var(--terracotta-deep); }        /* 5.7:1 */
.visit-dl .dd-email a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-linen); text-underline-offset: 4px; }
.visit-dl .dd-email a:hover { color: var(--terracotta-deep); text-decoration-color: var(--terracotta-deep); }
.visit-dl .appt { color: var(--terracotta-deep); }                    /* small text: 5.7:1 */
.visit-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

.map-frame { aspect-ratio: 4 / 5; }
.map-frame iframe { border: 0; width: 100%; height: 100%; }
.map-meta { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.map-meta .place { margin-top: 0.5rem; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.25; color: var(--ink); }
.btn-line.small { font-size: 0.875rem; padding: 10px 18px; }

/* ---- footer ---- */
.foot { background: var(--walnut-2); color: var(--cream-soft); }
.foot-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 880px) { .foot-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); } }
.foot-brand-name { font-family: var(--display); font-weight: 700; font-size: 1.875rem; color: var(--cream); }
.foot-brand .tag-sage { margin-top: 0.75rem; }
.foot-brand p { margin-top: 1.25rem; max-width: 24rem; font-weight: 500; font-size: 0.95rem; line-height: 1.6; color: var(--cream-soft); }
.foot-col-title {
  font-family: var(--display); font-weight: 700; font-size: 0.875rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--cream);
}
.foot-col ul { margin-top: 1rem; list-style: none; }
.foot-col li { margin-top: 0.5rem; font-weight: 500; font-size: 0.95rem; }
.foot-col li:first-child { margin-top: 0; }
.foot a { color: var(--cream-soft); text-decoration: none; }
.foot a:hover { color: var(--tag-amber); }                            /* 6.0:1 on walnut-2 */
.foot .foot-phone { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--cream); }
.foot .foot-phone:hover { color: var(--tag-amber); }
.foot .dim { color: var(--cream-soft); font-size: 0.875rem; }
.foot-legal { border-top: 1px solid var(--line); }
.foot-legal .bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding-block: 1.25rem;
  font-family: var(--display); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-soft);
}

/* anchor targets scroll clean on a nav-less one-pager */
section[id] { scroll-margin-top: 24px; }
