/* ==========================================================================
   Beth Kerkhoff Designs — shared stylesheet (owned by orchestrator)
   Design system + shared chrome (header / nav / footer) + component styles.
   Page subagents append ONLY under a banner comment: page: <slug>
   Fonts are loaded per-page via <link> to fonts.googleapis.com (not @import).
   ========================================================================== */

:root {
  /* palette */
  --bg:            #ffffff;
  --bg-alt:        #f4f1ec;
  --panel-sage:    #7c8573;   /* muted grey-green intro panel */
  --band-olive:    #616a5b;   /* darker services band */
  --footer-bg:     #e5e9e0;   /* light sage footer */
  --footer-bar:    #616a5b;   /* copyright bar */
  --text:          #2f2f2c;   /* body text on light */
  --text-soft:     #55554f;   /* muted body text */
  --heading:       #33332f;   /* serif heading on light */
  --on-dark:       #f6f5f1;   /* text over sage/olive/photo */
  --on-dark-soft:  #e4e5dd;
  --line:          #cfcabf;   /* hairlines / borders */
  --line-dark:     rgba(246,245,241,.6);

  /* type */
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* rhythm */
  --maxw: 1180px;
  --header-h: 97px;   /* .85rem*2 padding + 69px logo + 1px border */
  --gap:  clamp(1rem, 2.5vw, 2rem);
  --sec-y: clamp(3.5rem, 7vw, 6.5rem);
  --radius: 2px;
  --shadow: 0 10px 30px rgba(45,45,40,.10);
}

/* ---- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
/* height:auto is load-bearing — every <img> carries width/height attributes, so
   without it a rule that sets only `width` leaves the attribute height as the
   used height and the image renders stretched. Rules that want a fixed box
   (object-fit / aspect-ratio) set their own height and win on specificity. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---- typography ----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  color: var(--heading);
  font-weight: 500;
  font-variant: small-caps;
  letter-spacing: .04em;
  line-height: 1.12;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h5 { font-size: 1.15rem; font-variant: small-caps; letter-spacing: .05em; }
p { margin: 0 0 1.1rem; }

.eyebrow {
  font-family: var(--sans);
  font-variant: normal;
  text-transform: none;
  font-size: .95rem;
  letter-spacing: .04em;
  color: var(--text-soft);
}

/* ---- layout helpers ------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.section { padding: var(--sec-y) 0; }
.center { text-align: center; }
.lead { max-width: 760px; margin: 0 auto 1.4rem; }

/* ---- buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .85rem 1.9rem;
  border: 1px solid var(--heading);
  color: var(--heading);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.btn:hover { background: var(--heading); color: #fff; }
.btn--ghost-light { border-color: var(--on-dark); color: var(--on-dark); }
.btn--ghost-light:hover { background: var(--on-dark); color: var(--heading); }
.btn--sage { background: var(--panel-sage); border-color: var(--panel-sage); color: #fff; }
.btn--sage:hover { background: #6b735f; border-color: #6b735f; color: #fff; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .85rem clamp(1rem, 4vw, 2.5rem);
}
.site-header__social { display: flex; gap: .8rem; align-items: center; }
.site-header__social a { color: var(--heading); opacity: .8; transition: opacity .25s ease; }
.site-header__social a:hover { opacity: 1; }
.site-header__social svg { width: 18px; height: 18px; display: block; }

.brand {
  justify-self: center;
  text-align: center;
  font-family: var(--serif);
  font-variant: small-caps;
  letter-spacing: .16em;
  font-size: 1.15rem;
  color: var(--heading);
  line-height: 1;
}
.brand__mark {
  display: block;
  font-size: .72rem;
  letter-spacing: .28em;
  border: 1px solid var(--heading);
  width: 34px; height: 34px;
  line-height: 32px;
  margin: 0 auto .35rem;
  border-radius: 2px;
}

.site-header__end { justify-self: end; display: flex; align-items: center; gap: 1.2rem; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { height: 2px; background: var(--heading); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }

/* Source has NO inline nav: the hamburger is always shown and opens a
   right-hand slide-out drawer. */
.nav-toggle:hover span { background: var(--panel-sage); }

/* ---- slide-out drawer ---------------------------------------------------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,20,18,.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility 0s linear .35s;
  z-index: 80;
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .35s ease;
}

.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(90vw, 557px);
  background: #000;
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  z-index: 90;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }

.nav-close {
  position: absolute;
  top: clamp(1rem, 2.5vw, 1.9rem);
  right: clamp(1rem, 2.5vw, 2.2rem);
  width: 34px; height: 34px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.nav-close span {
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 2px;
  background: #fff;
  transition: background .25s ease;
}
.nav-close span:first-child { transform: rotate(45deg); }
.nav-close span:last-child  { transform: rotate(-45deg); }
.nav-close:hover span { background: var(--panel-sage); }

.nav-drawer__brand {
  margin: clamp(2.5rem, 7vh, 4.5rem) 0 clamp(1.4rem, 4vh, 2.6rem);
}
/* the logo file is dark artwork — render it white on the black panel */
.nav-drawer__brand img { filter: brightness(0) invert(1); width: 182px; height: auto; }

.nav-drawer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  width: 100%;
}
.nav-drawer__nav a {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #d7d5bf;                 /* sampled from the source menu */
  line-height: 47px;
  transition: color .25s ease;
}
.nav-drawer__nav a:hover,
.nav-drawer__nav a[aria-current="page"] { color: #fff; }

/* drawer is open -> lock the page behind it */
body.nav-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .nav-drawer, .nav-overlay { transition: none; }
}

/* skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--heading); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   HERO / INNER PAGE BANNER
   ========================================================================== */
.hero {
  position: relative;
  /* source: hero fills whatever is left of the first screen under the header */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  color: var(--on-dark);
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40,42,38,.45), rgba(40,42,38,.35));
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; padding: 2rem 1.5rem; max-width: 760px; }
.hero h1 { color: var(--on-dark); margin-bottom: .8rem; }
.hero p { color: var(--on-dark-soft); margin: 0 auto 1.6rem; max-width: 560px; }

/* thin inner-page banner (About/Services/Projects/etc.) */
.pagebanner {
  position: relative;
  min-height: clamp(150px, 20vw, 240px);
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: var(--on-dark);
}
.pagebanner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.pagebanner::after { content: ""; position: absolute; inset: 0; background: rgba(45,47,42,.42); z-index: 1; }
.pagebanner h1 { position: relative; z-index: 2; color: var(--on-dark); margin: 0; }

/* ==========================================================================
   INTRO PANEL (Hi, I'm Beth) — image + sage panel
   ========================================================================== */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}
.intro__media { position: relative; }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
.intro__media .btn { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); }
.intro__panel {
  background: var(--panel-sage);
  color: var(--on-dark);
  padding: clamp(1.6rem, 3.5vw, 3rem);
}
.intro__panel h2 { color: #fff; }
.intro__panel .eyebrow { color: var(--on-dark-soft); margin-bottom: 1rem; display: block; }
.intro__panel p { color: var(--on-dark-soft); font-size: .95rem; }
@media (max-width: 760px) { .intro { grid-template-columns: 1fr; } }

/* ==========================================================================
   DESIGN ADVANTAGE (overlapping cards)
   ========================================================================== */
.advantage { position: relative; }
.advantage__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.advantage__text { background: #fff; padding: clamp(1.5rem,3vw,2.5rem); }
.advantage__img img { width: 100%; height: auto; box-shadow: var(--shadow); }
@media (max-width: 820px){ .advantage__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SERVICES BAND (olive) — three cards
   ========================================================================== */
.services-band { background: var(--band-olive); color: var(--on-dark); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.svc-card { text-align: center; }
.svc-card__img { aspect-ratio: 537/320; overflow: hidden; margin-bottom: 1.2rem; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-card h5 { color: #fff; font-variant: small-caps; letter-spacing: .05em; }
.svc-card p { color: var(--on-dark-soft); font-size: .9rem; }
.svc-card .btn { margin-top: .6rem; }
@media (max-width: 820px){ .svc-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ==========================================================================
   PORTFOLIO teaser (two photos + white panel)
   ========================================================================== */
.portfolio { background: var(--bg-alt); }
.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
.portfolio__grid img { width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow); aspect-ratio: 3/4; }
.portfolio__panel { background: #fff; padding: clamp(1.4rem,2.8vw,2.2rem); }
.portfolio__panel p { font-size: .92rem; color: var(--text-soft); }
@media (max-width: 820px){ .portfolio__grid { grid-template-columns: 1fr 1fr; } .portfolio__panel { grid-column: 1 / -1; } }

/* ==========================================================================
   REVIEWS (rebuilt from scraped content — was a revex-reputation widget)
   ========================================================================== */
.reviews { background: var(--bg-alt); }
.reviews__head { text-align: center; margin-bottom: 2.5rem; }
.reviews__score { font-family: var(--serif); font-size: 3rem; color: var(--panel-sage); line-height: 1; font-variant: normal; }
.reviews__stars { color: #c9a24b; letter-spacing: .15em; font-size: 1.1rem; }
.reviews__meta { color: var(--text-soft); font-size: .9rem; }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.review-card .stars { color: #c9a24b; letter-spacing: .12em; font-size: .95rem; }
.review-card p { font-size: .9rem; color: var(--text-soft); margin: 0; }
.review-card__who { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.review-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--panel-sage); color: #fff;
  display: grid; place-items: center;
  font-size: .8rem; letter-spacing: .05em; font-weight: 700;
}
.review-card__name { font-weight: 700; font-size: .85rem; color: var(--heading); }
.review-card__date { font-size: .78rem; color: var(--text-soft); }
@media (max-width: 900px){ .reviews__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .reviews__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   HOME GALLERY (Wix Pro Gallery on the source home page)
   ========================================================================== */
.home-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}
.home-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; transition: transform .5s ease; }
.home-gallery a { overflow: hidden; display: block; }
.home-gallery a:hover img { transform: scale(1.06); }
@media (max-width: 820px){ .home-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px){ .home-gallery { grid-template-columns: repeat(2, 1fr); } }

/* placeholder for images that could not be rehosted from the source CDN */
.img-missing {
  display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, #eceae4, #eceae4 12px, #e3e0d8 12px, #e3e0d8 24px);
  color: var(--text-soft); font-size: .72rem; letter-spacing: .08em; text-align: center;
  padding: .5rem;
}

/* ==========================================================================
   BAND / CTA sections
   ========================================================================== */
.band-photo { position: relative; }
.band-photo__img { width: 100%; height: clamp(220px, 30vw, 420px); object-fit: cover; display: block; }

.cta { text-align: center; }
.cta p { max-width: 720px; margin: 0 auto 1.6rem; color: var(--text-soft); }

/* ==========================================================================
   SERVICES PAGE — alternating rows + process grid
   ========================================================================== */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.svc-row--rev .svc-row__media { order: 2; }
.svc-row__media { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.svc-row__media.two { grid-template-columns: 1fr 1fr; }
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 464/496; }
.svc-row__text p { color: var(--text-soft); }
@media (max-width: 800px){
  .svc-row { grid-template-columns: 1fr; }
  .svc-row--rev .svc-row__media { order: 0; }
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}
.process-step .num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--panel-sage);
  font-variant: normal;
  display: block;
  margin-bottom: .3rem;
}
.process-step h5 { margin-bottom: .4rem; }
.process-step p { font-size: .9rem; color: var(--text-soft); }
@media (max-width: 800px){ .process-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* ==========================================================================
   PROJECTS INDEX — card grid
   ========================================================================== */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.proj-card { display: block; }
.proj-card__img { overflow: hidden; aspect-ratio: 403/254; }
.proj-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proj-card:hover .proj-card__img img { transform: scale(1.05); }
.proj-card h5 {
  margin: .8rem 0 0;
  text-align: center;
  font-variant: small-caps;
  letter-spacing: .04em;
  color: var(--heading);
}
@media (max-width: 820px){ .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .proj-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   PROJECT DETAIL — masonry gallery
   ========================================================================== */
.gallery {
  column-count: 3;
  column-gap: 1rem;
}
.gallery img {
  width: 100%;
  margin: 0 0 1rem;
  break-inside: avoid;
  box-shadow: 0 6px 18px rgba(45,45,40,.08);
}
@media (max-width: 820px){ .gallery { column-count: 2; } }
@media (max-width: 520px){ .gallery { column-count: 1; } }

/* ==========================================================================
   DISCOVERY CALL — embed / booking + contact form
   ========================================================================== */
.booking { max-width: 720px; margin: 0 auto; text-align: center; }
.contact-form {
  max-width: 620px;
  margin: 2.5rem auto 0;
  text-align: left;
  display: grid;
  gap: 1rem;
}
.contact-form label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); display: block; margin-bottom: .35rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  color: var(--text);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--panel-sage); outline-offset: 1px; }
.hp-field { position: absolute; left: -9999px; overflow: hidden; width: 1px; height: 1px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px){ .form-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--footer-bg); color: var(--text); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr;
  gap: 2.5rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.site-footer h6 {
  font-family: var(--sans);
  font-variant: normal;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--heading);
  margin: 0 0 1rem;
}
.footer-brand__name {
  font-family: var(--serif);
  font-variant: small-caps;
  letter-spacing: .12em;
  font-size: 1.05rem;
  color: var(--heading);
  margin-bottom: 1rem;
}
.footer-brand .badge {
  display: inline-block;
  border: 1px solid var(--band-olive);
  color: var(--band-olive);
  font-size: .62rem;
  letter-spacing: .08em;
  line-height: 1.3;
  padding: .5rem .7rem;
  max-width: 200px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { font-size: .9rem; color: var(--text-soft); transition: color .25s ease; }
.footer-links a:hover { color: var(--heading); }
.footer-links a::before { content: "› "; color: var(--panel-sage); }
.footer-contact p { font-size: .9rem; color: var(--text-soft); margin-bottom: .8rem; }
.footer-contact strong { color: var(--heading); font-weight: 600; display: block; font-size: .8rem; letter-spacing: .04em; }
.footer-contact a { color: var(--text-soft); }
.footer-contact a:hover { color: var(--heading); }
.footer-social { display: flex; gap: .8rem; margin-top: 1rem; }
.footer-social a { color: var(--band-olive); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bar { background: var(--footer-bar); color: var(--on-dark-soft); text-align: center; font-size: .8rem; padding: 1rem; }
@media (max-width: 860px){ .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   MOTION — ported from source (fadeIn / slideIn reveals). Pure CSS, on-load.
   Content is NEVER hidden by a static rule: every animated element ends visible
   because the animation always runs (fill-mode both). No JS required.
   ========================================================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }

.reveal { animation: fadeInUp .8s ease both; }
.reveal-2 { animation: fadeInUp .8s ease .15s both; }
.reveal-3 { animation: fadeInUp .8s ease .3s both; }
.hero__inner { animation: fadeIn 1.2s ease both; }
.hero__img { animation: zoomIn 1.6s ease both; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   FULL-BLEED GALLERY STRIP  (source: Wix Pro Gallery — ONE row, edge to edge,
   sitting directly above the footer on every page)
   ========================================================================== */
.strip-gallery {
  overflow: hidden;
  background: var(--bg);
}
.strip-gallery__track {
  display: flex;
  gap: 10px;                    /* source: 275px tiles on a 285px pitch */
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.strip-gallery__track::-webkit-scrollbar { display: none; }
.strip-gallery__track a {
  flex: 0 0 275px;
  display: block;
  overflow: hidden;
  scroll-snap-align: start;
}
.strip-gallery__track img {
  width: 275px;
  height: 275px;
  object-fit: cover;
  transition: transform .5s ease;
}
.strip-gallery__track a:hover img { transform: scale(1.06); }
/* The strip is a sibling of <main>, not of the section above it, so this is a
   modifier rather than an adjacent-sibling rule. Applied where a full-bleed
   photo section ends the page body and the two images would otherwise butt
   together with no visual break. */
.strip-gallery--spaced { margin-top: clamp(2.5rem, 5vw, 4.5rem); }

@media (max-width: 620px) {
  .strip-gallery__track a { flex-basis: 200px; }
  .strip-gallery__track img { width: 200px; height: 200px; }
}

/* ==========================================================================
   CTA OVER A PHOTO  (source: full-bleed image with a translucent white card
   centred on top — NOT a photo band with the copy underneath it)
   ========================================================================== */
.cta-photo {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
  min-height: clamp(340px, 38vw, 547px);
  overflow: hidden;
}
.cta-photo__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-photo__card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.86);   /* sampled from the source */
  width: min(86%, 1655px);
  padding: clamp(1.8rem, 4vw, 3.2rem) clamp(1.2rem, 4vw, 3rem);
  text-align: center;
}
.cta-photo__card h2 { margin-top: 0; margin-bottom: .8rem; }
.cta-photo__card p {
  max-width: 820px;
  margin: 0 auto 1.6rem;
  color: var(--text-soft);
}

/* ==========================================================================
   OUR PROCESS — dark band, copy over the photo (services page)
   ========================================================================== */
.process-band {
  position: relative;
  background: #000;                    /* sampled from the source */
  padding: var(--sec-y) 0;
  overflow: hidden;
  color: var(--on-dark);
}
.process-band__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .16;                        /* source: photo barely reads over black */
  z-index: 0;
}
.process-band__inner { position: relative; z-index: 1; }
.process-band h2,
.process-band h5 { color: var(--on-dark); }
.process-band .lead { color: var(--on-dark-soft); }
.process-band .process-step {
  border: 1px solid var(--line-dark);
  padding: clamp(1.2rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.6rem);
  text-align: center;
}
.process-band .process-step .num { color: var(--on-dark); }
.process-band .process-step p { color: var(--on-dark-soft); }

/* ==========================================================================
   MEET THE DESIGNER (about) — photo + muted blue-grey panel
   ========================================================================== */
.designer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
.designer-grid__img img { width: 100%; height: 100%; object-fit: cover; }
.designer-grid__panel {
  background: #525F56;                 /* sampled from the source */
  color: var(--on-dark);
  padding: clamp(1.6rem, 3.2vw, 2.8rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.designer-grid__panel h2 { color: #fff; margin-top: 0; }
.designer-grid__panel .eyebrow { color: var(--on-dark-soft); }
.designer-grid__panel p { color: var(--on-dark-soft); font-size: .92rem; }
@media (max-width: 820px) { .designer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER — service-area map
   ========================================================================== */
.footer-serve__map {
  float: left;
  width: 125px;
  height: 161px;
  margin: 0 .9rem .5rem 0;
  border: 1px solid var(--line);
  background: #e9e9e4;
}
.footer-serve__map iframe { display: block; width: 100%; height: 100%; }
.footer-serve p { font-size: .9rem; color: var(--text-soft); }
.footer-serve::after { content: ""; display: block; clear: both; }
@media (max-width: 900px) {
  .footer-serve__map { float: none; margin: 0 0 .8rem; }
}

/* ==========================================================================
   REVIEWS — vendor widget embedded as a plain iframe (the script embed does
   not run reliably inside the cloned page; the widget URL is server-rendered)
   ========================================================================== */
.reviews__embed {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.reviews__embed iframe {
  display: block;
  width: 100%;
  height: 500px;      /* the widget lays out 3 cards + its pager in ~490px */
  border: 0;
  overflow: hidden;
}
@media (max-width: 1100px) { .reviews__embed iframe { height: 560px; } }
@media (max-width: 700px)  { .reviews__embed iframe { height: 620px; } }

/* ==========================================================================
   page: blog
   ========================================================================== */
.pagebanner__kicker {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  font-weight: 500;
  font-variant: small-caps;
  letter-spacing: .04em;
  line-height: 1.12;
  color: var(--on-dark);
}

.blog-index-lead {
  max-width: 640px;
  margin: 0 auto 2.8rem;
  text-align: center;
  color: var(--text-soft);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.2rem);
}
.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line);
}
.blog-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.blog-card:hover .blog-card__img img { transform: scale(1.04); }
.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.3rem 1.6rem;
}
.blog-card__meta {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 .55rem;
}
.blog-card h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-variant: small-caps;
  margin: 0 0 .7rem;
}
.blog-card h2 a:hover { color: var(--panel-sage); }
.blog-card p {
  color: var(--text-soft);
  font-size: .92rem;
  flex: 1;
}
.blog-card .btn { align-self: flex-start; margin-top: .4rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

.blog-article { padding: clamp(2.5rem, 5vw, 4.5rem) 0 var(--sec-y); }
.blog-article__inner { max-width: 760px; }
.blog-article header { margin-bottom: 1.8rem; }
.blog-meta {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 .7rem;
}
.blog-article h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-bottom: 0;
}
.blog-hero {
  margin: 0 0 2.2rem;
}
.blog-hero img {
  width: 100%;
  height: auto;
  box-shadow: var(--shadow);
}
.blog-hero figcaption {
  font-size: .82rem;
  color: var(--text-soft);
  margin-top: .65rem;
  font-style: italic;
}
.blog-prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin: 2.1rem 0 .7rem;
}
.blog-prose p { color: var(--text); font-size: 1.02rem; }
.blog-prose ul {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  color: var(--text);
}
.blog-prose li { margin-bottom: .45rem; }
.blog-cta {
  margin-top: 2.4rem;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  text-align: center;
}
.blog-cta h2 { margin-top: 0; }
.blog-cta p { color: var(--text-soft); max-width: 560px; margin-left: auto; margin-right: auto; }
.blog-more {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.blog-more h2 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.blog-more__links { display: flex; flex-direction: column; gap: .6rem; }
.blog-more__links a { color: var(--heading); border-bottom: 1px solid var(--line); padding-bottom: .45rem; }
.blog-more__links a:hover { color: var(--panel-sage); }
