/* ==========================================================================
   Prodigal Son Plumbing - quiet luxury editorial system
   Cormorant Garamond (display serif) + Jost (body)
   Warm travertine surfaces, espresso ink, a single muted brass accent.
   No glows. Hairlines, photography and typography do the work.
   ========================================================================== */

:root {
  --paper: #f7f3ea;         /* page ground */
  --cream: #efe9dc;         /* raised warm surface */
  --cream-2: #e7dfcf;       /* deeper warm surface */
  --espresso: #191510;      /* ink + dark sections */
  --espresso-2: #221c14;
  --text: #262017;
  --text-body: #4a4236;
  --muted: #7d7260;
  --light: #efe8da;         /* text on dark */
  --light-muted: #a89c88;
  --brass: #96783d;         /* single accent, muted */
  --brass-2: #b0914f;
  --line: rgba(25, 21, 16, .16);
  --line-strong: rgba(25, 21, 16, .32);
  --line-light: rgba(239, 232, 218, .22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  --shadow: 0 24px 60px -18px rgba(40, 32, 18, .28);
  --ease: cubic-bezier(.25, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1.15em; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 .5em;
  color: var(--espresso);
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 5.6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--brass); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4.5vw, 40px); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--espresso); color: var(--paper); padding: .6em 1.2em;
}
.skip-link:focus { left: 12px; top: 12px; }

::selection { background: var(--brass); color: #fff; }

/* legacy hook: brass italic, no animation */
.gold-grad { font-style: italic; color: var(--brass); }

/* ---------------------------------------------------------------- eyebrow */

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.06rem; letter-spacing: .04em; text-transform: lowercase;
  color: var(--brass); margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--brass); opacity: .65; }
.eyebrow.no-rule::before { display: none; }
.eyebrow.rule-both::after { content: ""; width: 42px; height: 1px; background: var(--brass); opacity: .65; }

.ornament { display: none; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--sans); font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
  font-size: .74rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  padding: 1.1em 2.4em; border-radius: 0; border: 1px solid transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.btn-gold { background: var(--espresso); color: var(--paper); border-color: var(--espresso); }
.btn-gold:hover { background: var(--brass); border-color: var(--brass); color: #fff; }

.btn-ghost { border-color: rgba(239, 232, 218, .5); color: var(--light); background: transparent; }
.btn-ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--espresso); }

.btn-ghost-dark { border-color: var(--line-strong); color: var(--espresso); background: transparent; }
.btn-ghost-dark:hover { background: var(--espresso); border-color: var(--espresso); color: var(--paper); }

.btn-sm { padding: .85em 1.7em; }
.btn-lg { padding: 1.25em 3em; font-size: .78rem; }

/* ----------------------------------------------------------------- header */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s, box-shadow .45s;
}
.site-header.scrolled {
  background: rgba(247, 243, 234, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-wrap { display: flex; align-items: center; gap: 30px; min-height: 92px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand-word em {
  font-family: var(--serif); font-style: normal; font-weight: 600; display: block;
  font-size: 1.3rem; line-height: 1; letter-spacing: .02em; color: var(--espresso);
  white-space: nowrap; transition: color .45s;
}
.brand-word small {
  display: block; font-size: .6rem; letter-spacing: .38em; text-transform: uppercase;
  color: var(--muted); margin-top: .4em; white-space: nowrap; transition: color .45s;
}

.nav { margin-left: auto; }
.nav-list { display: flex; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2.1em 1em; text-decoration: none;
  font-size: .78rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  color: var(--espresso); position: relative; white-space: nowrap;
  transition: color .45s;
}
.nav-link::after {
  content: ""; position: absolute; left: 1em; right: 1em; bottom: 1.7em; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-link:hover::after, .has-sub:hover .nav-link::after { transform: scaleX(1); }
.chev { transition: transform .3s; opacity: .55; }
.has-sub:hover .chev { transform: rotate(180deg); }

/* over a photo hero, the header starts light */
.has-photo-hero .site-header:not(.scrolled) .brand-word em,
.has-photo-hero .site-header:not(.scrolled) .nav-link,
.has-photo-hero .site-header:not(.scrolled) .header-phone strong { color: var(--paper); }
.has-photo-hero .site-header:not(.scrolled) .brand-word small,
.has-photo-hero .site-header:not(.scrolled) .header-phone small { color: rgba(247,243,234,.66); }
.has-photo-hero .site-header:not(.scrolled) .nav-toggle span,
.has-photo-hero .site-header:not(.scrolled) .nav-toggle span::before,
.has-photo-hero .site-header:not(.scrolled) .nav-toggle span::after { background: var(--paper); }
.has-photo-hero .site-header:not(.scrolled) .btn-gold {
  background: var(--paper); color: var(--espresso); border-color: var(--paper);
}
.has-photo-hero .site-header:not(.scrolled) .btn-gold:hover {
  background: var(--brass-2); border-color: var(--brass-2); color: var(--espresso);
}

.has-sub { position: relative; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 300px;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 0;
  padding: 14px; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  box-shadow: var(--shadow);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: .65em .9em; text-decoration: none;
  color: var(--espresso); font-size: .95rem; letter-spacing: .01em;
  border-bottom: 1px solid transparent;
  transition: background .25s, color .25s;
}
.submenu a small { display: block; font-size: .76rem; color: var(--muted); letter-spacing: .03em; margin-top: 1px; }
.submenu a:hover { background: var(--cream); }
.submenu-all a { font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--brass); }

.header-cta { display: flex; align-items: center; gap: 20px; }
.header-phone { text-decoration: none; text-align: right; line-height: 1.25; white-space: nowrap; }
.header-phone small { display: block; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); transition: color .45s; }
.header-phone strong { color: var(--espresso); font-weight: 500; font-size: 1rem; letter-spacing: .04em; transition: color .45s; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong);
  background: none; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 1px; background: var(--espresso);
  transition: background .45s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; right: 0; top: -7px; }
.nav-toggle span::after { left: 0; right: 0; top: 7px; }

/* drawer (mobile) */
.drawer { position: fixed; inset: 0; z-index: 200; background: rgba(25, 21, 16, .45); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 90vw);
  background: var(--paper);
  border-left: 1px solid var(--line);
  padding: 74px 32px 36px; overflow-y: auto;
  animation: drawerIn .4s var(--ease);
}
@keyframes drawerIn { from { transform: translateX(50px); opacity: 0; } }
.drawer-close {
  position: absolute; top: 16px; right: 18px; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line-strong);
  color: var(--espresso); font-size: 1.4rem; cursor: pointer;
}
.drawer-panel a { color: var(--text-body); text-decoration: none; display: block; padding: .5em 0; }
.drawer-panel > nav > ul > li > a {
  font-family: var(--serif); font-size: 1.5rem; color: var(--espresso);
  border-bottom: 1px solid var(--line); padding: .65em 0;
}
.drawer-panel ul ul { padding: .4em 0 .9em .2em; }
.drawer-panel ul ul a { font-size: .92rem; color: var(--muted); padding: .65em 0; }
.drawer-cta { width: 100%; margin-top: 1.8rem; min-height: 48px; }

/* ------------------------------------------------------------- photo hero */

.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: flex-end;
  color: var(--light); overflow: hidden;
  padding: 170px 0 clamp(60px, 9vh, 110px);
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 18s var(--ease) forwards;
  will-change: transform;
}
@keyframes heroDrift { to { transform: scale(1); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,11,.46) 0%, rgba(20,16,11,.1) 40%, rgba(20,16,11,.68) 100%),
              linear-gradient(100deg, rgba(20,16,11,.62) 0%, rgba(20,16,11,0) 60%);
}
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero-inner { max-width: 760px; }

.hero-eyebrow {
  font-family: var(--serif); font-style: italic; font-size: 1.15rem;
  letter-spacing: .05em; color: rgba(239,232,218,.85); margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before { content: ""; width: 52px; height: 1px; background: var(--brass-2); }
.hero h1 { color: var(--paper); margin-bottom: .4em; }
.hero h1 em { color: #cfa85c; }
.hero-sub {
  max-width: 520px; font-size: 1.08rem; font-weight: 300;
  color: rgba(239,232,218,.82); margin-bottom: 2.4rem;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-foot {
  position: relative; z-index: 1; margin-top: clamp(40px, 7vh, 80px);
  border-top: 1px solid rgba(239,232,218,.25); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(239,232,218,.6);
}
.hero-foot span { white-space: nowrap; }

/* line-by-line headline reveal */
.line-reveal { display: block; overflow: hidden; }
.line-reveal > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease); }
.is-in .line-reveal > span, .line-reveal.is-in > span { transform: none; }

/* ------------------------------------------------------- inner page hero */

.page-hero {
  position: relative; padding: 210px 0 100px;
  color: var(--espresso); overflow: hidden;
  background: var(--cream);
}
.page-hero.has-photo { color: var(--light); min-height: 62dvh; display: flex; align-items: flex-end; padding-bottom: 70px; }
.page-hero .reviewed {
  position: relative; z-index: 1; margin-top: 1.2rem;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass);
}
.ph-media { position: absolute; inset: 0; z-index: 0; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; }
.ph-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,11,.52) 0%, rgba(20,16,11,.22) 45%, rgba(20,16,11,.72) 100%),
              linear-gradient(100deg, rgba(20,16,11,.5) 0%, rgba(20,16,11,0) 55%);
}
.page-hero .wrap { position: relative; z-index: 1; width: 100%; }
.page-hero h1 { max-width: 850px; }
.page-hero.has-photo h1 { color: var(--paper); }
.page-hero.has-photo h1 em, .page-hero.has-photo h1 .gold-grad { color: #cfa85c; }
.page-hero .lede { max-width: 620px; margin: 1.1rem 0 0; font-size: 1.1rem; color: var(--muted); }
.page-hero.has-photo .lede { color: rgba(239,232,218,.85); }
.crumbs {
  font-family: var(--serif); font-style: italic; font-size: .95rem;
  letter-spacing: .04em; color: var(--muted); margin-bottom: 1.5rem;
}
.page-hero.has-photo .crumbs { color: rgba(239,232,218,.66); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--brass-2); }

/* --------------------------------------------------------------- sections */

.sec { position: relative; padding: clamp(84px, 10vw, 140px) 0; }
.sec-ivory { background: var(--paper); }
.sec-cream { background: var(--cream); }
.sec-dark { background: var(--espresso); color: var(--light-muted); }
.sec-dark h2, .sec-dark h3 { color: var(--light); }
.sec-dark .eyebrow { color: var(--brass-2); }
.sec-coal { background: var(--espresso); color: var(--light-muted); }

/* optional fixed logo watermark, opt-in and quiet */
.watermark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: url("../img/logo-600.png") center center / min(460px, 80vw) no-repeat;
  background-attachment: fixed;
  opacity: .05;
  filter: grayscale(1) contrast(.9);
  -webkit-mask-image: radial-gradient(ellipse 38% 44% at 50% 50%, #000 30%, transparent 72%);
          mask-image: radial-gradient(ellipse 38% 44% at 50% 50%, #000 30%, transparent 72%);
}
@media (hover: none) and (pointer: coarse) { .watermark::before { background-attachment: scroll; } }
.watermark > .wrap { position: relative; z-index: 1; }

.cut-top, .cut-bottom { clip-path: none; margin-top: 0; }

.sec-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 76px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head .lede { font-size: 1.12rem; color: var(--muted); }
.sec-dark .sec-head .lede { color: var(--light-muted); }

.side-label {
  position: absolute; top: 50%; left: 14px;
  transform: rotate(180deg) translateY(50%); writing-mode: vertical-rl;
  font-size: .62rem; letter-spacing: .5em; text-transform: uppercase;
  color: var(--muted); opacity: .55; pointer-events: none;
}
@media (max-width: 1360px) { .side-label { display: none; } }
.ghost-word { display: none; }

/* big editorial statement */
.statement {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.3;
  color: var(--espresso); max-width: 900px; text-wrap: balance;
}
.statement em { font-style: italic; color: var(--brass); }
.sec-dark .statement { color: var(--light); }

/* ---------------------------------------------------------------- marquee */

.marquee { display: none; }

/* --------------------------------------------------------- panels (tiles) */

.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }

.tile {
  position: relative; border-radius: 0;
  background: var(--paper);
  border: 0; padding: clamp(30px, 3.5vw, 48px);
  transition: background .4s var(--ease);
}
.tile:hover { background: var(--cream); }
.tile h3 { color: var(--espresso); margin-bottom: .5em; }
.tile p { color: var(--text-body); margin: 0; font-size: .98rem; }
.tile .tile-icon { margin-bottom: 1.4rem; color: var(--brass); }

.sec-dark .tile-grid { background: var(--line-light); border-color: var(--line-light); }
.sec-dark .tile { background: var(--espresso); }
.sec-dark .tile:hover { background: var(--espresso-2); }
.sec-dark .tile h3 { color: var(--light); }
.sec-dark .tile p { color: var(--light-muted); }

.tile-light { background: var(--paper); }
.tile-light h3 { color: var(--espresso); }
.tile-light p { color: var(--text-body); }

.tile-link {
  display: inline-flex; align-items: center; gap: .5em; margin-top: 1.5rem;
  font-family: var(--serif); font-style: italic; font-size: 1.02rem;
  color: var(--brass); text-decoration: none;
}
.tile-link::after { content: "\2192"; transition: transform .3s; font-style: normal; }
.tile:hover .tile-link::after, .tile-link:hover::after { transform: translateX(6px); }
a.tile { text-decoration: none; display: block; }

/* -------------------------------------------------- editorial service index */

.svc-rows { display: grid; border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 90px 1fr auto;
  gap: clamp(18px, 4vw, 60px); align-items: center;
  padding: clamp(30px, 4vw, 48px) clamp(4px, 1vw, 14px);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), padding-left .4s var(--ease);
}
.svc-row:hover { background: var(--cream); padding-left: clamp(14px, 2vw, 28px); }
.svc-num {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.15rem; color: var(--brass); letter-spacing: .06em;
}
.svc-row h3 { font-size: clamp(1.5rem, 2.7vw, 2.1rem); font-weight: 500; margin-bottom: .2em; }
.svc-row h3 a { text-decoration: none; color: inherit; transition: color .3s; }
.svc-row h3 a:hover { color: var(--brass); }
.svc-row p { color: var(--muted); max-width: 540px; margin: 0; font-size: .98rem; }
.svc-go {
  align-self: center; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  color: var(--espresso); text-decoration: none; font-size: 1.15rem;
  transition: background .35s, color .35s, transform .45s var(--ease);
}
.svc-row:hover .svc-go { background: var(--espresso); color: var(--paper); transform: rotate(-45deg); }
@media (max-width: 720px) {
  .svc-row { grid-template-columns: 1fr; gap: 8px; }
  .svc-go { display: none; }
}

/* ------------------------------------------------------- full-bleed band */

.band {
  position: relative; min-height: 72vh; display: flex; align-items: center;
  overflow: hidden; color: var(--light);
}
.band-media { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(20,16,11,.55), rgba(20,16,11,.35) 50%, rgba(20,16,11,.6));
}
.band .wrap { position: relative; z-index: 1; text-align: center; }
.band blockquote {
  margin: 0 auto; max-width: 840px;
  font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.8rem); font-weight: 500;
  line-height: 1.35; font-style: italic; color: var(--paper);
}
.band cite {
  display: block; margin-top: 1.8rem; font-family: var(--sans); font-style: normal;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(239,232,218,.65);
}

/* legacy quote-band (about page): flat espresso */
.quote-band {
  position: relative; padding: clamp(90px, 12vw, 150px) 0; text-align: center;
  background: var(--espresso) !important; color: var(--light); overflow: hidden;
}
.quote-band blockquote {
  margin: 0 auto; max-width: 830px;
  font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 500;
  line-height: 1.35; font-style: italic; color: var(--paper);
}
.quote-band cite {
  display: block; margin-top: 1.7rem; font-family: var(--sans); font-style: normal;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--light-muted);
}

/* ------------------------------------------------------------------ stats */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); text-align: left; border-left: 1px solid var(--line-light); }
.stat { padding: 10px 28px; border-right: 1px solid var(--line-light); }
.stat b {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 4.8vw, 4rem); line-height: 1; color: var(--paper);
}
.stat > span { display: block; margin-top: .8rem; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--light-muted); }
.sec-ivory .stats, .sec-cream .stats { border-color: var(--line); }
.sec-ivory .stat, .sec-cream .stat { border-color: var(--line); }
.sec-ivory .stat b, .sec-cream .stat b { color: var(--espresso); }
.sec-ivory .stat > span, .sec-cream .stat > span { color: var(--muted); }

/* ------------------------------------------------------------ area cards */

.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area-card {
  position: relative; display: block; text-decoration: none;
  background: var(--paper); border: 0; border-radius: 0;
  padding: 30px 28px 26px; overflow: hidden;
  transition: background .4s var(--ease);
}
.area-card:hover { background: var(--cream); }
.area-card::after { display: none; }
.area-card h3 { font-size: 1.3rem; margin-bottom: .2em; color: var(--espresso); font-weight: 600; }
.area-card p { font-size: .88rem; color: var(--muted); margin: 0; }
.area-card .pin { color: var(--brass); margin-bottom: .9rem; }

.sec-dark .area-grid { background: var(--line-light); border-color: var(--line-light); }
.sec-dark .area-card { background: var(--espresso); }
.sec-dark .area-card:hover { background: var(--espresso-2); }
.sec-dark .area-card h3 { color: var(--light); }
.sec-dark .area-card p { color: var(--light-muted); }

/* --------------------------------------------------- communities rail */

.rail-wrap { position: relative; }
.rail {
  display: flex; gap: 1px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; background: var(--line); border: 1px solid var(--line);
}
.rail::-webkit-scrollbar { display: none; }
.rail .area-card { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; }
.rail-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.rail-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: none; color: var(--espresso); font-size: 1.1rem; cursor: pointer;
  transition: background .3s, color .3s;
}
.rail-btn:hover { background: var(--espresso); color: var(--paper); }
.sec-dark .rail-btn { border-color: var(--line-light); color: var(--light); }
.sec-dark .rail-btn:hover { background: var(--paper); color: var(--espresso); }

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

.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.timeline::before { display: none; }
.tl-step { position: relative; padding: 34px 30px 6px 0; margin-right: 34px; }
.tl-step::before {
  content: attr(data-step);
  position: static; display: block; width: auto; height: auto;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; font-weight: 500;
  color: var(--brass); background: none; border: 0; box-shadow: none;
  margin-bottom: 1rem;
}
.tl-step::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--brass);
}
.tl-step h3 { font-size: 1.25rem; margin-bottom: .35em; }
.tl-step p { color: var(--muted); margin: 0; font-size: .95rem; }
.sec-dark .tl-step h3 { color: var(--light); }
.sec-dark .tl-step p, .sec-dark .timeline .tl-step p { color: var(--light-muted); }
.sec-dark .timeline { border-color: var(--line-light); }
@media (max-width: 720px) { .tl-step { margin-right: 0; } }

/* ------------------------------------------------------------ testimonials */

.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(30px, 4vw, 54px); }
.testi { position: relative; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 30px 0 0; background: none; box-shadow: none; }
.testi::before { display: none; }
.testi p { font-family: var(--serif); font-size: 1.22rem; font-style: italic; line-height: 1.5; color: var(--espresso); }
.testi footer { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.testi .stars { color: var(--brass); letter-spacing: .25em; margin-bottom: 1rem; font-size: .8rem; }
.sec-dark .testi { border-color: var(--line-light); }
.sec-dark .testi p { color: var(--light); }
.sec-dark .testi footer { color: var(--light-muted); }

/* rotating single quote */
.quote-slider { position: relative; display: grid; max-width: 860px; margin: 0 auto; text-align: center; min-height: 240px; }
/* all quotes share one cell, so the slider is as tall as the longest and nothing below moves */
.quote-slide {
  grid-area: 1 / 1; opacity: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
  pointer-events: none;
}
/* the fade starts once the slider is set up, so no quote shows through on load */
.quote-slider.ready .quote-slide { transition: opacity .9s var(--ease); }
.quote-slide.active { opacity: 1; pointer-events: auto; }
.quote-slide p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.45; color: var(--espresso); margin: 0; }
.quote-slide footer { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.quote-dots { display: flex; gap: 2px; justify-content: center; margin-top: 1.35rem; }
/* 44px to tap; the visible line stays 34px wide, 12px apart */
.quote-dots button {
  width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.quote-dots button::after { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; height: 1px; background: var(--line-strong); transition: background .3s; }
.quote-dots button.active::after { background: var(--brass); height: 2px; }
.sec-dark .quote-slide p { color: var(--light); }
.sec-dark .quote-slide footer { color: var(--light-muted); }

/* ------------------------------------------------------------------- faq */

.faq-group { max-width: 860px; margin: 0 auto; }
.faq-cat {
  font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500;
  margin: 2.6em 0 .7em; color: var(--espresso);
  display: flex; align-items: baseline; gap: 18px;
}
.faq-cat::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.faq-group > .faq-cat:first-child { margin-top: 0; }
.sec-dark .faq-cat { color: var(--light); }
.sec-dark .faq-cat::after { background: var(--line-light); }

details.faq {
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0;
  background: none; box-shadow: none; overflow: hidden;
}
details.faq summary {
  cursor: pointer; list-style: none; padding: 22px 54px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.28rem; font-weight: 500; color: var(--espresso);
  line-height: 1.35; transition: color .3s; text-wrap: balance;
}
details.faq summary:hover { color: var(--brass); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; color: var(--espresso); font-size: 1.05rem; font-family: var(--sans);
  transition: transform .35s var(--ease), background .35s, color .35s;
}
details.faq[open] summary::after { content: "\2013"; background: var(--espresso); border-color: var(--espresso); color: var(--paper); transform: translateY(-50%); }
details.faq .faq-a { padding: 0 8% 26px 0; color: var(--text-body); }
details.faq .faq-a p:last-child { margin-bottom: 0; }
details.faq .faq-a a { color: var(--brass); }

.sec-dark details.faq { border-color: var(--line-light); background: none; }
.sec-dark details.faq summary { color: var(--light); }
.sec-dark details.faq summary::after { border-color: var(--line-light); color: var(--light); }
.sec-dark details.faq[open] summary::after { background: var(--paper); border-color: var(--paper); color: var(--espresso); }
.sec-dark details.faq .faq-a { color: var(--light-muted); }

/* -------------------------------------------------------------- split rows */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
}
.split-media { position: relative; border-radius: 0; overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; object-fit: cover; }
.split-media::after { display: none; }
.frame-offset::before { display: none; }

/* curtain reveal: image unveils with a wipe */
[data-curtain] { position: relative; }
[data-curtain]::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: var(--cream-2);
  transform: scaleX(1); transform-origin: right;
  transition: transform 1.1s var(--ease);
}
.sec-dark [data-curtain]::before { background: var(--espresso-2); }
[data-curtain] img { transform: scale(1.12); transition: transform 1.4s var(--ease); }
[data-curtain].is-in::before { transform: scaleX(0); }
[data-curtain].is-in img { transform: scale(1); }

.check-list { display: grid; gap: 12px; margin: 1.5rem 0; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list svg { flex: none; margin-top: 6px; color: var(--brass); width: 14px; height: 14px; }
.check-list a { color: var(--espresso); text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color .3s, color .3s; }
.check-list a:hover { color: var(--brass); border-color: var(--brass); }
.sec-dark .check-list a { color: var(--light); border-color: var(--line-light); }

/* --------------------------------------------------------------- CTA band */

.cta-band {
  position: relative; text-align: center; padding: clamp(90px, 12vw, 150px) 0;
  background: var(--espresso); color: var(--light); overflow: hidden;
}
.cta-band::before { display: none; }
.cta-band .cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-band .cta-media img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: var(--paper); font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.cta-band .lede { color: var(--light-muted); max-width: 600px; margin: 0 auto 2rem; }
.cta-phone {
  display: block; font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 3rem);
  color: var(--paper); text-decoration: none; margin: 1.4rem 0 .6rem;
  transition: color .35s;
}
.cta-phone:hover { color: var(--brass-2); }
.cta-band .btn-gold { background: var(--paper); color: var(--espresso); border-color: var(--paper); }
.cta-band .btn-gold:hover { background: var(--brass-2); border-color: var(--brass-2); color: var(--espresso); }
.cta-band .eyebrow { color: var(--brass-2); }

/* ------------------------------------------------------------------ forms */

.form-shell {
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 0;
  padding: clamp(32px, 4vw, 54px);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: .95em .2em; font: inherit; color: var(--espresso);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--brass);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { cursor: pointer; }
.field input[aria-invalid="true"] { border-bottom-color: #9a3b2a; }

/* spam trap: off screen, never shown, never filled by a person */
.form-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  border-left: 2px solid #9a3b2a; background: var(--cream);
  padding: 1em 1.2em; margin: 0; color: var(--espresso); font-size: .98rem;
}
.form-status a { color: #9a3b2a; font-weight: 500; white-space: nowrap; display: inline-block; padding: .7em .3em; margin: -.7em -.3em; }
.form-grid button[disabled] { opacity: .6; cursor: wait; }

/* ----------------------------------------------------------------- footer */

.site-footer { position: relative; background: var(--espresso); color: var(--light-muted); padding: 100px 0 34px; }
.footer-glow { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-light); transform: none; width: auto; box-shadow: none; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(34px, 5vw, 70px); }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 120px; filter: none; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--light); margin-top: 1.4rem; }
.footer-verse { font-size: .9rem; color: var(--light-muted); }
.footer-verse span { display: block; letter-spacing: .22em; text-transform: uppercase; font-size: .64rem; color: var(--brass-2); margin-top: .5em; }
.footer-col h3 {
  font-family: var(--sans); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--brass-2); margin-bottom: 1.3rem; font-weight: 500;
}
.footer-col li { margin-bottom: .6em; font-size: .94rem; }
.footer-col a { color: var(--light-muted); text-decoration: none; transition: color .25s; }
.footer-col a:hover { color: var(--paper); }
.footer-base {
  margin-top: 76px; padding-top: 26px; border-top: 1px solid var(--line-light);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .8rem; letter-spacing: .03em;
}
.footer-base a { color: var(--light-muted); }
.footer-base a:hover { color: var(--paper); }

/* ---------------------------------------------------------- floating call */

.floating-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--espresso); color: var(--paper);
  border: 1px solid rgba(239,232,218,.25);
  text-decoration: none; font-weight: 400; letter-spacing: .08em; font-size: .9rem;
  padding: .85em 1.4em; border-radius: 100px;
  box-shadow: 0 14px 40px rgba(20, 16, 10, .4);
  animation: none;
  transition: opacity .3s, visibility .3s;
}
/* steps aside while the request form is on screen, so it never sits on a field or the Send button */
.floating-call.is-away { opacity: 0; visibility: hidden; pointer-events: none; }
@media (min-width: 900px) { .floating-call { display: none; } }
/* the footer runs on under the button, so its last line is never covered */
@media (max-width: 899px) { .site-footer { padding-bottom: 92px; } }

/* ---------------------------------------------------------------- reveals */

[data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease); will-change: opacity, transform; }
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
/* on phones a sideways start pushes the page wider than the screen */
@media (max-width: 640px) { [data-reveal="left"], [data-reveal="right"] { transform: translateY(34px); } }
[data-reveal="top"]   { transform: translateY(-30px); }
[data-reveal="up"]    { transform: translateY(34px); }
[data-reveal="fade"]  { transform: none; }
[data-reveal="zoom"]  { transform: scale(.96); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-curtain] img { opacity: 1; transform: none; transition: none; }
  [data-curtain]::before { display: none; }
  .line-reveal > span { transform: none; transition: none; }
  .quote-slider.ready .quote-slide { transition: none; }
  .hero-media img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------ guide/prose */

.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.7em; color: var(--espresso); font-size: 1.25rem; }
.prose ul { list-style: none; padding-left: 0; margin: 0 0 1.3em; display: grid; gap: .7em; }
.prose ul li { padding-left: 26px; position: relative; }
.prose ul li::before {
  content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 1px;
  background: var(--brass);
}
.prose ol { padding-left: 1.3em; margin: 0 0 1.3em; display: grid; gap: .7em; }
.prose a { color: var(--brass); }
.prose blockquote {
  margin: 2em 0; padding: .4em 0 .4em 1.8em; border-left: 1px solid var(--brass);
  background: none; border-radius: 0;
  font-family: var(--serif); font-size: 1.25rem; font-style: italic; color: var(--espresso);
}
.dropcap::first-letter {
  font-family: var(--serif); font-weight: 500; font-size: 3.4em; line-height: .84;
  float: left; padding: .04em .14em 0 0; color: var(--espresso);
}

.note-gold {
  border: 0; border-left: 1px solid var(--brass); border-radius: 0;
  background: var(--cream);
  padding: 1.6em 1.9em; margin: 2em 0; box-shadow: none;
}
.note-gold strong { color: var(--espresso); font-weight: 500; }
.note-gold a { color: var(--brass); }
.sec-dark .note-gold { background: var(--espresso-2); border-left-color: var(--brass-2); }
.sec-dark .note-gold strong { color: var(--light); }

table.spec { width: 100%; border-collapse: collapse; margin: 1.8em 0; font-size: .96rem; }
table.spec th { text-align: left; font-family: var(--sans); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding: .85em .9em; border-bottom: 1px solid var(--line-strong); }
table.spec td { padding: .85em .9em; border-bottom: 1px solid var(--line); }
table.spec td:first-child { font-weight: 400; color: var(--espresso); }
.table-scroll { overflow-x: auto; }

/* --------------------------------------------------------------- misc */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: clamp(44px, 6vw, 76px); }

.scroll-hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: 1px; height: 48px; overflow: hidden; z-index: 2; }
.scroll-hint::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%;
  background: linear-gradient(180deg, transparent, rgba(239,232,218,.9));
  animation: drip 2.4s ease-in-out infinite;
}
@keyframes drip { to { top: 110%; } }
@media (prefers-reduced-motion: reduce) { .scroll-hint::after { animation: none; } }

/* AZ line drawing */
.az-figure { display: flex; justify-content: center; }
.az-figure svg { width: min(320px, 60vw); height: auto; }
.az-figure path { fill: none; stroke: var(--brass); stroke-width: 1.6; }

@media (max-width: 1120px) {
  .nav { display: none; }
  .header-cta .btn { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
}
@media (max-width: 560px) {
  .header-phone { display: none; }
  .brand-word small { display: none; }
  .hero-foot { font-size: .62rem; letter-spacing: .16em; gap: 10px 20px; }
  .stat { padding: 10px 18px; }
}

/* ------------------------------------------------- touch screens: 44px taps */

@media (pointer: coarse) {
  .brand { padding: 4px 0; }
  .header-phone { padding: 6px 0; }
  .footer-col a { display: inline-block; min-width: 44px; padding: 9px 0; margin: -4px 0; }
  .check-list { gap: 16px; }
  /* small links grow an invisible tap area instead of padding, so the text and lines don't move */
  .crumbs a, .check-list a, .footer-base a, a.tap { position: relative; }
  .crumbs a::after, .check-list a::after, .footer-base a::after, a.tap::after { content: ""; position: absolute; }
  .crumbs a::after { inset: -13px -6px; }
  .check-list a::after { inset: -10px -2px; }
  .footer-base a::after { inset: -14px -6px; }
  a.tap::after { inset: -10px -4px; }
}

/* --------------------------------------- phones and tablets: readable text */
/* (phones held sideways count too: touch screens under 500px tall, whatever their width) */

@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) {
  .tile p, .svc-row p, .tl-step p, .area-card p, .footer-col li, .crumbs, .form-status { font-size: 1rem; }
  .footer-base { font-size: .875rem; }
  /* the comparison table fits a 360px phone without scrolling sideways */
  table.spec th { letter-spacing: .12em; }
  table.spec th, table.spec td { padding-left: .6em; padding-right: .6em; }
  .field label, .footer-col h3, table.spec th { font-size: .78rem; }
  .footer-verse span, .hero-foot, .header-phone small, .stat > span, .quote-slide footer,
  .testi footer, .band cite, .quote-band cite, .page-hero .reviewed { font-size: .75rem; }
}

/* phones and tablets: brass and grey text a shade darker on light grounds (4.5:1 or better);
   dark sections keep their own, with the lighter gold already used for their labels */
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) {
  :root { --brass: #7a612f; --muted: #6b6150; }
  .sec-dark, .sec-coal, .cta-band, .band, .quote-band, .site-footer, .hero, .page-hero.has-photo { --brass: #b0914f; --muted: #7d7260; }
}

/* phones and tablets: the hero text sits lower and wider over the photo, so the tint behind it is deeper */
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) {
  .hero-media::after {
    background: linear-gradient(180deg, rgba(20,16,11,.55) 0%, rgba(20,16,11,.64) 25%, rgba(20,16,11,.72) 55%, rgba(20,16,11,.84) 100%);
  }
  .ph-media::after {
    background: linear-gradient(180deg, rgba(20,16,11,.62) 0%, rgba(20,16,11,.6) 40%, rgba(20,16,11,.8) 100%),
                linear-gradient(100deg, rgba(20,16,11,.4) 0%, rgba(20,16,11,0) 60%);
  }
  .page-hero.has-photo .crumbs { color: rgba(239,232,218,.86); }
  .band cite { color: rgba(239,232,218,.85); }
  .hero-foot { color: rgba(239,232,218,.78); }
  .hero-eyebrow { color: rgba(239,232,218,.96); }
  .has-photo-hero .site-header:not(.scrolled) .brand-word small,
  .has-photo-hero .site-header:not(.scrolled) .header-phone small { color: rgba(247,243,234,.88); }
}
