/* ===================================================================
   Angel Custom Homes — stylesheet
   Palette: warm ivory, charcoal, clay accent
   =================================================================== */

:root {
  --ivory:    #f6f3ee;
  --ivory-2:  #ede8e0;
  --charcoal: #1c1a17;
  --charcoal-soft: #3a3631;
  --ink: #161d2b;            /* midnight navy — dark section backgrounds */
  --clay:     #b89150;
  --clay-dark:#8a6a2e;
  --line:     rgba(28, 26, 23, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* ---- Type scale ---- */
  --t-hero:    clamp(2.75rem, 7vw, 7.5rem);    /* main page hero */
  --t-page:    clamp(2.4rem, 5.6vw, 4.8rem);   /* page heroes (about, learn, FAQ, etc.) */
  --t-section: clamp(2rem, 4.4vw, 3.6rem);     /* section titles */
  --t-sub:     clamp(1.5rem, 2.8vw, 2.2rem);   /* card / pullquote-section titles */

  /* ---- Body scale ---- */
  --t-dek:     clamp(1.15rem, 1.6vw, 1.4rem);  /* article subtitles, story lede */
  --t-lede:    1.08rem;                         /* section ledes */
  --t-body:    1rem;                            /* body text */

  /* ---- Labels ---- */
  --t-eyebrow: 0.72rem;                         /* uppercase small-caps eyebrow */
  --t-meta:    0.78rem;                         /* article meta, captions */

  /* ---- Tracking ---- */
  --tr-eyebrow: 0.22em;                         /* small-caps labels */
  --tr-display: -0.012em;                       /* tight display tracking */
  --tr-tight:   -0.005em;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Clip (not hidden) keeps sticky positioning working in the hero while
     stopping any rogue child from pushing the page wider than the viewport. */
  overflow-x: clip;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { color: inherit; text-decoration: none; }

/* ---------- Shared type ---------- */
.section-head { max-width: 640px; }
.section-head__eyebrow {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.1rem;
}
.section-head__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-section);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.section-head__lede {
  margin-top: 1.4rem;
  font-size: var(--t-lede);
  color: var(--charcoal-soft);
  max-width: 30em;
}
.section-head--light .section-head__title,
.section-head--light .section-head__eyebrow { color: var(--ivory); }
.section-head--light .section-head__eyebrow { color: #d9b568; }
.section-head--light .section-head__lede { color: rgba(246, 243, 238, 0.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 1.05rem 2.2rem;
  border: 1px solid transparent;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .2s ease;
  cursor: pointer;
}
.btn--solid { background: var(--clay); color: var(--ivory); }
.btn--solid:hover { background: var(--clay-dark); }
.btn--ghost { border-color: rgba(246,243,238,0.55); color: var(--ivory); }
.btn--ghost:hover { background: var(--ivory); color: var(--charcoal); }
.btn--block { width: 100%; text-align: center; border: none; }
.btn:active { transform: translateY(1px); }

/* ===================== NAVIGATION ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1.15rem clamp(1.25rem, 3.5vw, 2.6rem);
  color: var(--ivory);
  transition: color .35s ease;
}
/* Centered logo — bare gold mark, larger, hanging below the nav line.
   Static: positioned in the document flow (not in the fixed nav) so it
   scrolls away with the hero instead of staying pinned. */
.brand-mark {
  position: absolute;
  left: 50%;
  top: 30px;
  /* Above the fixed .nav (z:50) so the logo tap reaches the link instead
     of the nav's transparent area absorbing it. */
  z-index: 60;
  transform: translateX(-50%);
  display: flex;
}
.nav__logo-img { height: 60px; width: auto; display: block; }
/* Transparent header — dark text only while passing a light section */
.nav.is-light { color: var(--charcoal); }

.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a {
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  position: relative;
}
.nav__links a::after {
  content: ""; position: absolute;
  left: 0; bottom: -6px; width: 0; height: 1px;
  background: currentColor;
  transition: width .3s ease;
}
.nav__links a:hover::after { width: 100%; }

/* Menu trigger button */
.nav__menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: 0.4rem 0;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.nav__menu-icon {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 14px;
}
.nav__menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform .35s ease, opacity .25s ease, width .25s ease;
}
.nav__menu-icon span:nth-child(1) { top: 0; }
.nav__menu-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__menu-icon span:nth-child(3) { bottom: 0; }
.nav__menu-btn:hover .nav__menu-icon span:nth-child(2) { width: 65%; }

/* ===================== MENU OVERLAY ===================== */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.menu.is-open { pointer-events: auto; }
.menu__backdrop {
  position: absolute; inset: 0;
  background: rgba(20,18,16,0.55);
  opacity: 0;
  transition: opacity .4s ease;
}
.menu.is-open .menu__backdrop { opacity: 1; }
.menu__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(560px, 100%);
  height: 100%;
  background: var(--ink);
  color: var(--ivory);
  transform: translateX(100%);
  transition: transform .55s cubic-bezier(.7,.05,.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.menu.is-open .menu__panel { transform: translateX(0); }
.menu__close {
  position: absolute;
  top: clamp(1.4rem, 3vw, 2rem);
  right: clamp(1.4rem, 3vw, 2rem);
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
}
.menu__close span {
  position: absolute;
  left: 50%; top: 50%;
  width: 24px; height: 1px;
  background: currentColor;
  transform-origin: center;
}
.menu__close span:first-child  { transform: translate(-50%, -50%) rotate(45deg); }
.menu__close span:last-child   { transform: translate(-50%, -50%) rotate(-45deg); }
.menu__close:hover span { background: var(--clay); }
.menu__inner {
  padding: clamp(4rem, 9vh, 6.5rem) clamp(2rem, 5vw, 4rem) clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: clamp(2.5rem, 5vw, 4rem);
}
.menu__eyebrow {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #d9b568;
}
.menu__list { list-style: none; display: flex; flex-direction: column; gap: clamp(0.3rem, 1vw, 0.65rem); }
.menu__list a {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 1.3rem;
  padding: 0.55rem 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  line-height: 1.05;
  color: var(--ivory);
  position: relative;
  transition: color .3s ease, padding-left .35s ease;
}
.menu__list a::before {
  content: "";
  position: absolute;
  left: -1rem; top: 50%;
  width: 0; height: 1px;
  background: var(--clay);
  transform: translateY(-50%);
  transition: width .35s ease;
}
.menu__list a:hover { color: var(--clay); padding-left: 1.4rem; }
.menu__list a:hover::before { width: 2rem; }
.menu__index {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(246,243,238,0.4);
}
.menu__link { display: inline-block; }
.menu__foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(246,243,238,0.12);
  padding-top: 1.6rem;
}
.menu__foot-block p { font-size: 0.92rem; color: rgba(246,243,238,0.72); }
.menu__foot-block a:hover { color: var(--clay); }
.menu__foot-label {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d9b568;
  margin-bottom: 0.4rem;
}
body.menu-open { overflow: hidden; }

/* ===================== 1. HERO ===================== */
.hero {
  height: 300vh;                 /* scroll runway for the 2-phase sequence */
  background: var(--ink);
}
.hero__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  color: var(--ivory);
  background-color: var(--ink);
}
/* Decorative dot cluster — bottom-right corner */
.hero__pin::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: clamp(150px, 20vw, 280px);
  height: clamp(150px, 20vw, 280px);
  background-image: radial-gradient(rgba(217,181,104,0.18) 1.3px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}
/* The window that zooms out: inset grows with --shrink (0 = full bleed) */
.hero__frame {
  position: absolute;
  z-index: 1;
  top:    calc(var(--shrink, 0) * 13vh);
  bottom: calc(var(--shrink, 0) * 9vh);
  left:   calc(var(--shrink, 0) * 13vw);
  right:  calc(var(--shrink, 0) * 13vw);
  overflow: hidden;
  will-change: top, right, bottom, left;
}
.hero__track {
  display: flex;
  width: 200%;
  height: 100%;
  will-change: transform;
}
.hero__panel {
  position: relative;
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
/* Keep the house centred when the photo is cropped on narrow screens */
.hero__media img { object-position: 63% center; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(102deg, rgba(20,18,16,0.82) 0%, rgba(20,18,16,0.42) 52%, rgba(20,18,16,0.18) 100%);
  pointer-events: none;
}
/* Panel 2 — the intro that slides in */
.hero__panel--intro { display: flex; background: #e8dabb; }
.hero__panel--photo { background: var(--ink); }
.hero__intro-photo {
  position: relative;
  width: 52%;
  height: 100%;
  flex: none;
  background: var(--ink);
}
.hero__intro-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(115deg,
    rgba(20,18,16,0.92) 0%,
    rgba(20,18,16,0.62) 38%,
    rgba(20,18,16,0.18) 66%,
    rgba(20,18,16,0) 85%);
  pointer-events: none;
}
.hero__intro-text {
  width: 48%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.8rem, 4vw, 3.8rem);
  color: var(--charcoal);
}
.hero__intro-label {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 1.1rem;
}
.hero__intro-body {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  color: var(--charcoal-soft);
}
/* Headline overlay — persists across both phases */
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  will-change: transform;
  pointer-events: none;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-hero);
  line-height: 1.08;
  letter-spacing: -0.02em;
  white-space: nowrap;            /* one line — overhangs the framed image */
  text-shadow: 0 2px 34px rgba(20, 18, 16, 0.55);
}
.hero__scroll {
  position: absolute;
  z-index: 3;
  bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(var(--ivory), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: .4; }
  50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}

/* ===================== 2. PORTFOLIO (CAROUSEL) ===================== */
.portfolio {
  padding: clamp(5rem, 11vw, 9rem) 0;
  background: var(--ivory);
}
.portfolio__head {
  max-width: 880px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  text-align: center;
}
.portfolio__head .section-head__eyebrow {
  margin-bottom: 1rem;
}
.portfolio__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-section);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

/* Horizontally-snapping carousel */
.carousel {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem clamp(1.25rem, 12vw, 12vw);
  scroll-padding-inline: clamp(1.25rem, 12vw, 12vw);
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel__track {
  list-style: none;
  display: flex;
  gap: clamp(1rem, 1.8vw, 1.6rem);
  margin: 0;
  padding: 0;
}
.carousel__slide {
  position: relative;
  flex: 0 0 min(76vw, 1100px);
  scroll-snap-align: center;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ivory-2);
  box-shadow: 0 22px 50px -28px rgba(20,18,16,0.45);
  transition: box-shadow .4s ease, transform .4s ease;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.22,.61,.36,1);
}
.carousel__slide:hover img { transform: scale(1.03); }
.carousel__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1rem, 2.5vw, 2rem) clamp(1.4rem, 3vw, 2.4rem);
  background: linear-gradient(to top, rgba(20,18,16,0.78) 0%, rgba(20,18,16,0.30) 60%, transparent 100%);
  color: var(--ivory);
}
.carousel__caption-name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

/* Carousel controls */
.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 2.8rem);
}
.carousel__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(28,26,23,0.18);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.carousel__btn:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--ivory);
}
.carousel__btn:active { transform: scale(0.96); }
.carousel__btn svg { width: 18px; height: 18px; display: block; }
.carousel__view {
  padding: 0.95rem 2.2rem;
  border: 1px solid rgba(28,26,23,0.18);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.carousel__view:hover {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

/* Upcoming projects — back inside a constrained container */
.upcoming {
  max-width: 1180px;
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--line);
}
.upcoming__head {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 1.7rem;
}
.upcoming__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.1rem, 3vw, 2.2rem);
}
.upcoming__item {
  border-left: 2px solid var(--clay);
  padding: 0.45rem 0 0.45rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.upcoming__loc-tag {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-dark);
}
.upcoming__name {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.15;
}

/* ===================== 3. HOW IT WORKS ===================== */
.process {
  background: var(--ink);
  color: var(--ivory);
}
.process__sticky {
  padding: clamp(5rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 3.5rem) clamp(4rem, 8vw, 6rem);
}
.process__head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.process__head .section-head__eyebrow { color: #d9b568; }
.process__head .section-head__title { color: var(--ivory); }

.process__stage {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}
.build { display: flex; align-items: center; justify-content: center; min-height: 0; }
.build svg { width: 100%; height: auto; max-width: 600px; overflow: visible; }
.bp { transform-box: view-box; }

.psteps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(1.3rem, 3vw, 2.3rem);
}
.pstep {
  display: flex;
  gap: 1.3rem;
  position: relative;
  padding-left: 1.4rem;
}
.pstep::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35rem; bottom: 0.35rem;
  width: 2px;
  background: var(--clay);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s ease;
}
.pstep__num {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--clay);
  flex: none;
}
.pstep__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
}
.pstep__text {
  font-size: 0.95rem;
  color: rgba(246, 243, 238, 0.7);
}

.process__bar { display: none; }

/* ---- pinned scroll-build mode (JS adds .is-pinned on capable screens) ---- */
.process.is-pinned { height: 340vh; }
.process.is-pinned .process__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
.process.is-pinned .process__head { margin-bottom: clamp(1rem, 3.4vh, 2.4rem); }
.process.is-pinned .process__stage { flex: 1 1 auto; min-height: 0; align-content: center; }
.process.is-pinned .build { height: 100%; }
.process.is-pinned .build svg { max-width: none; max-height: 58vh; }
.process.is-pinned .bp { opacity: 0; will-change: transform, opacity; }
.process.is-pinned .pstep { opacity: 0.32; transition: opacity .5s ease; }
.process.is-pinned .pstep.is-active { opacity: 1; }
.process.is-pinned .pstep.is-active::before { transform: scaleY(1); }
.process.is-pinned .process__bar {
  display: block;
  height: 2px;
  background: rgba(246, 243, 238, 0.16);
  max-width: 1240px;
  margin: clamp(1rem, 3.4vh, 2.4rem) auto 0;
}
.process__bar-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
}

/* ===================== 4. CONTACT / CTA ===================== */
.contact {
  position: relative;
  padding: clamp(5rem, 11vw, 9rem) clamp(1.25rem, 4vw, 3.5rem);
  color: var(--ivory);
  background: var(--ink);
  overflow: hidden;
}
.contact__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, rgba(0,0,0,0.65) 75%, rgba(0,0,0,0.35) 100%);
          mask-image: radial-gradient(ellipse at center, #000 30%, rgba(0,0,0,0.65) 75%, rgba(0,0,0,0.35) 100%);
}
.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact__head { margin-bottom: clamp(2rem, 4vw, 2.8rem); }
.contact__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-section);
  line-height: 1.1;
  margin: 1rem 0 1.3rem;
}
.contact__lede {
  color: rgba(246,243,238,0.78);
  max-width: 34em;
  margin: 0 auto;
}

/* Inline details strip */
.contact__details {
  list-style: none;
  margin: 0 0 clamp(2.5rem, 5vw, 3.6rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.4rem;
}
.contact__details li {
  display: inline-flex;
  align-items: center;
}
.contact__details a,
.contact__details address {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246,243,238,0.85);
  transition: color .3s ease;
}
.contact__details a:hover { color: var(--clay); }
.contact__dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(217, 181, 104, 0.55);
  display: inline-block;
}

/* ---------- Form (no box — sits on the dark section) ---------- */
.contact__form {
  color: var(--ivory);
  text-align: left;
}
.field { margin-bottom: 1.6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field label {
  display: block;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(246, 243, 238, 0.55);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;          /* 16px — prevents iOS zooming in on field focus */
  font-weight: 300;
  color: var(--ivory);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(246, 243, 238, 0.28);
  padding: 0.6rem 0;
  transition: border-color .3s ease;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--clay); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(246,243,238,0.35); }

/* Circular envelope submit button */
.contact__submit {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.contact__send {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--ivory);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease, transform .25s ease, box-shadow .3s ease;
  box-shadow: 0 12px 30px -10px rgba(184,145,80,0.5);
}
.contact__send:hover {
  background: var(--clay-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(184,145,80,0.7);
}
.contact__send:active { transform: translateY(0); }
.contact__send svg { width: 30px; height: 30px; }

.contact__formnote {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  color: #d9b568;
  text-align: center;
}

/* ===================== FOOTER ===================== */
/* Editorial conversation closer */
.footer {
  background: var(--ivory-2);
  padding: clamp(4rem, 9vw, 7rem) clamp(1.5rem, 5vw, 4rem) 0;
}
.footer__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.4rem, 6vw, 5rem);
  align-items: start;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.footer__watermark {
  position: absolute;
  left: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 60%, 720px);
  height: auto;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
/* Make sure the legible content sits above the watermark */
.footer__statement, .footer__contact { position: relative; z-index: 1; }
.footer__statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-section);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--charcoal);
}
.footer__statement-tail {
  font-style: italic;
  color: var(--clay-dark);
}
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3vw, 2rem);
}
.footer__contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--charcoal);
  transition: color .3s ease;
}
a.footer__contact-row:hover { color: var(--clay-dark); }
.footer__contact-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
}
.footer__contact-value {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.footer__rule {
  max-width: 1240px;
  height: 1px;
  background: var(--line);
  margin: 0 auto;
}
@media (max-width: 860px) {
  .footer__watermark {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 460px;
    opacity: 0.1;
  }
}
.footer__utility {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0 1.8rem;
  color: var(--charcoal-soft);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}
.footer__copy { font-size: 0.74rem; }
.footer__utility-links {
  display: flex;
  gap: 1.6rem;
}
.footer__utility-link {
  color: var(--charcoal-soft);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  transition: color .3s ease;
}
.footer__utility-link:hover { color: var(--clay-dark); }

@media (max-width: 860px) {
  .footer { padding-top: clamp(3rem, 8vw, 5rem); }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: clamp(2.2rem, 6vw, 3rem);
    padding-bottom: clamp(2rem, 5vw, 3rem);
  }
  .footer__utility {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.6rem 0 1.8rem;
  }
  .footer__contact-value { font-size: clamp(1.35rem, 6vw, 1.7rem); }
}

/* ===================== LEARN — phase reading-time + progress bar ===================== */
.gnd-phase__readtime {
  color: var(--charcoal-soft);
  font-style: italic;
}
.gnd-phase__count {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--charcoal-soft);
  margin-left: 0.6rem;
  text-transform: uppercase;
  vertical-align: middle;
}
.gnd-tabs-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background: var(--clay);
  width: 0;
  transition: width .45s cubic-bezier(.22,.61,.36,1);
}

/* ===================== ARTICLE — share row ===================== */
.art__share {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.art__share-label {
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-right: 0.3rem;
}
.art__share-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--charcoal-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.art__share-btn:hover { background: var(--clay); color: var(--ivory); border-color: var(--clay); }
.art__share-btn svg { width: 14px; height: 14px; }
.art__share-btn.is-copied { background: #2e7d4f; color: var(--ivory); border-color: #2e7d4f; }

/* ===================== STICKY CONSULTATION PILL ===================== */
.cta-pill {
  position: fixed;
  bottom: clamp(1rem, 2.5vw, 1.6rem);
  right: clamp(1rem, 2.5vw, 1.6rem);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.5rem;
  background: var(--clay);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 18px 40px -12px rgba(20,18,16,0.4), 0 8px 18px -8px rgba(184,145,80,0.4);
  opacity: 0;
  transform: translateY(28px);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.22,.61,.36,1), background .25s ease;
}
.cta-pill.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cta-pill:hover { background: var(--clay-dark); }
.cta-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ivory);
  animation: ctaPulse 1.8s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.4); }
}
body.menu-open .cta-pill { opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 540px) {
  .cta-pill { padding: 0.8rem 1.1rem; font-size: 0.66rem; letter-spacing: 0.16em; gap: 0.55rem; }
}

/* Header phone link (desktop only) */
/* Contact link, sits immediately to the left of the menu button */
.nav__contact {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
  margin-right: 1.4rem;
  padding: 0.4rem 0;
  transition: color .25s ease;
}
.nav__contact:hover { color: var(--clay); }

/* ===================== INLINE CHECKLIST CTA (articles) ===================== */
.art__inline-cta {
  margin: 2.6rem -1rem !important;
  padding: 2rem 2.2rem;
  background: var(--ink);
  color: var(--ivory);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.6rem;
  align-items: center;
  border-left: 3px solid var(--clay);
}
.art__inline-cta-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #d9b568;
  margin-bottom: 0.6rem;
}
.art__inline-cta-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--ivory);
}
.art__inline-cta-body {
  color: rgba(246,243,238,0.78);
  font-size: 0.96rem;
  margin: 0;
}
.art__inline-cta .btn { white-space: nowrap; }
@media (max-width: 700px) {
  .art__inline-cta {
    margin: 2rem 0 !important;
    padding: 1.6rem 1.4rem;
    grid-template-columns: 1fr;
  }
}

/* ===================== NEXT-READ FOOTER (articles) ===================== */
.art__next-read {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.4rem) clamp(3rem, 6vw, 4rem);
}
.art__next-read-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 0.7rem;
}
.art__next-read-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
  transition: color .25s ease;
}
.art__next-read-link:hover { color: var(--clay-dark); }
.art__next-read-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  line-height: 1.2;
}
.art__next-read-arrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-top: 0.4rem;
}

/* ===================== EMAIL-ONLY CHECKLIST SHORTCUT ===================== */
.ckl-quick {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.ckl-quick__label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-bottom: 0.7rem;
}
.ckl-quick__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  align-items: end;
}
.ckl-quick__form input {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.7rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
}
.ckl-quick__form input:focus { outline: none; border-color: var(--clay); }
.ckl-quick__form input::placeholder { color: rgba(28,26,23,0.3); }
.ckl-quick__form button {
  padding: 0.85rem 1.3rem;
  font-size: 0.7rem;
}

/* ===================== TESTIMONIALS STRIP (home) ===================== */
.tquotes {
  background: var(--ivory);
  padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tquotes__head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.tquotes__head .section-head__eyebrow { margin-bottom: 0.8rem; }
.tquotes__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-sub);
  line-height: 1.2;
}
.tquotes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.6rem, 3vw, 2.4rem);
  max-width: 1180px;
  margin: 0 auto;
}
.tquote {
  padding: 1.6rem 1.8rem;
  border-left: 2px solid var(--clay);
}
.tquote__stars {
  color: var(--clay);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}
.tquote p {
  font-family: var(--serif);
  font-size: var(--t-lede);
  line-height: 1.45;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.tquote cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

/* ===================== COMING SOON (Learn article cards) ===================== */
.gnd-article--soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
.gnd-article--soon:hover h4 { color: var(--charcoal); }
.gnd-article--soon:hover .gnd-article__media img { transform: none; }
.gnd-article__soon-tag {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-dark);
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--clay);
  border-radius: 999px;
}

/* ===================== PARALLAX (Plans image + Testimonial only) ===================== */
/* The container itself translates as a whole. The image inside stays
   fixed within the mask, so the visible CROP doesn't change as the
   parallax happens — only the position on the page does. Matches AR
   Homes' Rellax behavior where the image element moves like a sticker
   rather than panning across an oversized photo. */
[data-parallax-speed] {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  [data-parallax-speed] { transform: none !important; }
}

/* ===================== SCROLL REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll-line { animation: none; }
  html { scroll-behavior: auto; }
  /* Static hero — no pinned zoom/slide sequence */
  .hero { height: 100vh; }
  .hero__pin { position: relative; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 880px) {
  .nav__links { gap: 1.1rem; }
  .nav__links a:not(:last-child) { display: none; }
  /* Smaller centered logo so it doesn't collide with the menu on phones */
  .nav__logo-img { height: 42px; }
  .brand-mark { top: 20px; }
  /* Nav menu button — larger tap target */
  .nav { padding: 1rem clamp(1rem, 4vw, 1.5rem); }
  .nav__menu-btn { padding: 0.6rem 0.2rem; }

  .project,
  .project--reverse { grid-template-columns: 1fr; gap: 1.4rem; }
  .project--reverse .project__media,
  .project--reverse .project__info { order: 0; }

  .process__stage { grid-template-columns: 1fr; gap: 2.6rem; }
  .build svg { max-width: 400px; }
  .upcoming__list { grid-template-columns: 1fr; }

  .contact__inner { grid-template-columns: 1fr; }
  /* Form rows collapse to a single column on tablet/phone */
  .field-row { grid-template-columns: 1fr; gap: 0; }

  /* Hero intro panel stacks on small screens */
  .hero__panel--intro { flex-direction: column; }
  .hero__intro-photo { width: 100%; height: 42%; }
  /* Narrower than photo so the headline can break past its edges; flex:1 fills
     the remaining panel height so justify-content:flex-end (inherited) actually
     pushes "Who We Are" + body to the bottom of the cream rectangle. */
  .hero__intro-text {
    width: 86%;
    flex: 1;
    margin: 0 auto;
    padding: clamp(1.2rem, 4.5vw, 1.6rem);
  }
  .hero__title { white-space: normal; }
  /* Bigger title that overhangs the cream rectangle on both sides */
  .hero__title {
    font-size: clamp(4.5rem, 17vw, 7rem);
    line-height: 1;
    letter-spacing: -0.025em;
  }
  .hero__intro-label { font-size: 0.56rem; margin-bottom: 0.55rem; }
  .hero__intro-body { font-size: 0.78rem; line-height: 1.5; }
  /* Shorter hero scroll runway on phones */
  .hero { height: 220vh; }

  /* Menu overlay refinements */
  .menu__inner { padding: clamp(4.5rem, 10vh, 6rem) 1.5rem 1.5rem; gap: 2rem; }
  .menu__list a { font-size: clamp(1.75rem, 6.5vw, 2.2rem); gap: 0.9rem; }
  .menu__foot { grid-template-columns: 1fr; gap: 1.2rem; }

  /* Footer — let links wrap, smaller margins */
  .footer { padding: clamp(2.4rem, 6vw, 3.4rem) 1.25rem; }
  .footer__links { flex-wrap: wrap; gap: 1rem 1.4rem; }
  .footer__tag { font-size: 1.2rem; margin-bottom: 1.2rem; }

  /* FAQ — less right padding so summaries breathe */
  .faq__item summary { padding-right: 2.2rem; }
  .faq__item summary::after { right: 0.2rem; width: 12px; height: 12px; }
  .faq__item-body { padding-right: 0; }
}

@media (max-width: 540px) {
  .hero__actions .btn { flex: 1; text-align: center; }
  .pstep__num { font-size: 1.7rem; }
  /* Even tighter section padding on small phones */
  .portfolio { padding: clamp(3.5rem, 9vw, 5rem) 0; }
  .process__sticky { padding: clamp(3.5rem, 9vw, 5rem) 1.25rem clamp(3rem, 7vw, 4rem); }
  .contact { padding: clamp(3.5rem, 9vw, 5rem) 1.25rem; }
  /* Tighter brand mark + menu button on very narrow phones */
  .nav__logo-img { height: 38px; }
  .brand-mark { top: 16px; }
  .nav__contact { font-size: 0.68rem; letter-spacing: 0.18em; }
}

/* ===================================================================
   HOME — POST-HERO SECTIONS
   =================================================================== */

/* =================== ARROW LINK (shared) =================== */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: 0.6rem 0;
  transition: color .3s ease, gap .35s ease;
}
.arrow-link__icon {
  display: inline-flex;
  align-items: center;
  width: 52px;
  height: 14px;
  flex: none;
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.arrow-link__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.arrow-link__label { line-height: 1; }
.arrow-link:hover { color: var(--clay); gap: 1.5rem; }
.arrow-link:hover .arrow-link__icon { transform: translateX(4px); }
.arrow-link--dark { color: var(--charcoal); }
.arrow-link--dark:hover { color: var(--clay-dark); }

/* =================== 1. CRAFT (watermarked dark band) =================== */
.craft {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(5rem, 12vw, 9rem) clamp(1.25rem, 4vw, 3.5rem);
  overflow: hidden;
  isolation: isolate;
}
/* Watermark: upright tiled pattern, diagonal triangular fade.
   Opaque at the bottom-left, dissolving to transparent toward the
   top-middle. */
.craft__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('images/logo.png');
  background-repeat: repeat;
  background-size: 200px auto;
  background-position: -40px bottom;
  opacity: 0.24;
  -webkit-mask-image: linear-gradient(
    38deg,
    #000 0%,
    #000 10%,
    rgba(0,0,0,0.45) 20%,
    transparent 30%
  );
          mask-image: linear-gradient(
    38deg,
    #000 0%,
    #000 10%,
    rgba(0,0,0,0.45) 20%,
    transparent 30%
  );
}

.craft__inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding-left: clamp(0px, 4vw, 4rem);
}
.craft__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-section);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--ivory);
}
.craft__body {
  font-size: var(--t-lede);
  color: rgba(246,243,238,0.78);
  max-width: 44em;
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}
.craft__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* =================== 2. PLANS (card + image) =================== */
.plans {
  position: relative;
  background: var(--ivory-2);
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0px, 2vw, 2rem);
  max-width: 1320px;
  margin: 0 auto;
  align-items: center;
}
.plans__card {
  background: var(--ivory);
  padding: clamp(2.4rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
  /* Pull the card up so it overlaps the testimonial below slightly */
  margin-right: clamp(-1rem, -2vw, -3rem);
  box-shadow: 0 30px 60px -30px rgba(20,18,16,0.12);
}
.plans__eyebrow {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.1rem;
}
.plans__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-section);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}
.plans__body {
  color: var(--charcoal-soft);
  font-size: var(--t-lede);
  margin-bottom: 2rem;
}
.plans__media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  order: 2;
}
.plans__media img {
  transition: transform 1.4s cubic-bezier(.22,.61,.36,1);
}
.plans__media:hover img { transform: scale(1.04); }

/* Framed CTA — circle-arrow icon + label */
.plans__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--charcoal);
  margin-top: 0.4rem;
  transition: color .3s ease;
}
.plans__cta:hover { color: var(--clay-dark); }
.plans__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.plans__cta-icon svg { width: 100%; height: 100%; display: block; }
.plans__cta:hover .plans__cta-icon { transform: translateX(3px); }
.plans__cta-label {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* =================== 3. TESTIMONIAL =================== */
.testi {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3.5rem) clamp(6rem, 12vw, 10rem);
  background: var(--ivory-2);
  overflow: hidden;
}
.testi__media {
  position: relative;
  width: min(90vw, 1180px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.testi__quote {
  position: relative;
  z-index: 2;
  max-width: 820px;
  /* Deep overlap so the dark card sits well into the image. */
  margin: clamp(-260px, -22vw, -140px) auto 0;
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(2.8rem, 5.5vw, 4.2rem) clamp(2.4rem, 6vw, 5rem);
  text-align: center;
  box-shadow: 0 30px 80px -30px rgba(20,18,16,0.5);
}
.testi__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.35;
  color: var(--ivory);
}
.testi__quote cite {
  display: block;
  margin-top: 1.8rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d9b568;
}

/* =================== 4. EXPERIENCE CARDS =================== */
.cards {
  background: var(--ivory-2);
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3.5rem);
}
.cards__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}
.cards__head .section-head__title { margin-top: 0.8rem; }
.cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  max-width: 1320px;
  margin: 0 auto;
}
.card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  color: var(--ivory);
}
.card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.card__media img {
  transition: transform 1.4s cubic-bezier(.22,.61,.36,1);
  filter: grayscale(35%) brightness(0.86);
}
.card:hover .card__media img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(0.92);
}
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,18,16,0.30) 0%, rgba(20,18,16,0.55) 100%);
}
.card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  padding: 2rem;
  text-align: center;
}
.card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-sub);
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.card__rule {
  display: block;
  width: 64px;
  height: 1px;
  background: rgba(246,243,238,0.65);
  transition: width .4s ease, background .3s ease;
}
.card:hover .card__rule { width: 120px; background: var(--clay); }
.card__arrow {
  position: absolute;
  left: 50%;
  bottom: clamp(1.4rem, 3vw, 2.2rem);
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(246, 243, 238, 0.10);
  border: 1px solid rgba(246, 243, 238, 0.35);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .35s ease, border-color .35s ease,
              transform .4s cubic-bezier(.22,.61,.36,1),
              color .3s ease;
}
.card__arrow svg {
  width: 18px;
  height: 18px;
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.card:hover .card__arrow {
  background: var(--clay);
  border-color: var(--clay);
  transform: translateX(-50%) translateY(-4px);
}
.card:hover .card__arrow svg { transform: translateX(3px); }

/* Responsive overrides for the new home sections */
@media (max-width: 880px) {
  .craft__inner { padding-left: 0; }
  .arrow-link { font-size: 0.7rem; gap: 0.9rem; }
  .arrow-link__icon { width: 44px; }
  .arrow-link:hover { gap: 1.2rem; }

  .plans {
    grid-template-columns: 1fr;
    gap: 0;
    /* Full-bleed photo; only keep vertical padding. The card brings its own
       horizontal inset, matching the AR Homes look. */
    padding-inline: 0;
    padding-top: clamp(2rem, 8vw, 4rem);
    padding-bottom: clamp(2rem, 8vw, 4rem);
  }
  /* Photo first; full width edge-to-edge so it reads as a banner */
  .plans__media { order: 0; aspect-ratio: 4 / 3; width: 100%; }
  /* Card slides up over the bottom of the photo, inset from the screen edges */
  .plans__card {
    order: 1;
    margin: clamp(-6rem, -16vw, -3rem) clamp(0.9rem, 4vw, 1.5rem) 0;
    box-shadow: 0 -10px 40px -20px rgba(20,18,16,0.18), 0 30px 60px -30px rgba(20,18,16,0.18);
  }

  /* Same edge-to-edge pattern as .plans: full-bleed photo, dark quote card
     sits over its lower edge inset only slightly from the screen edges. */
  .testi {
    padding-inline: 0;
    padding-top: clamp(2rem, 8vw, 4rem);
  }
  .testi__media { aspect-ratio: 4 / 3; width: 100%; }
  .testi__quote {
    margin: -90px clamp(0.9rem, 4vw, 1.5rem) 0;
    max-width: none;
    padding: clamp(2rem, 6vw, 2.8rem) clamp(1.5rem, 5vw, 2.2rem);
  }
  .testi__quote p { font-size: clamp(1.15rem, 4.4vw, 1.5rem); line-height: 1.4; }
  /* Halve the gaps between major sections on mobile — the desktop verticals
     (4–8rem each) compound into huge empty bands at phone widths. */
  .testi { padding-bottom: 1.2rem; }
  .cards__grid { grid-template-columns: 1fr; }
  .cards { padding-top: 1.5rem; padding-bottom: 2.4rem; }
  .cards__head { margin-bottom: 1.6rem; }
  .craft { padding-top: 2.4rem; padding-bottom: 2.4rem; }
  .process { padding-top: 2.8rem; padding-bottom: 2.8rem; }
  .portfolio { padding-top: 2.4rem; padding-bottom: 2.4rem; }
  .tquotes { padding-top: 2.4rem; padding-bottom: 2.4rem; }
  .contact { padding-top: 2.8rem; padding-bottom: 3rem; }

  /* Tighter intro panel on phones: smaller text, denser block so it doesn't
     swallow the hero title. */
  .hero__intro-text { padding: clamp(1rem, 4.5vw, 1.4rem) clamp(1.1rem, 4.5vw, 1.5rem); }
  .hero__intro-label { font-size: 0.56rem; margin-bottom: 0.55rem; }
  .hero__intro-body { font-size: 0.78rem; line-height: 1.5; }
}

/* ===================================================================
   INTERIOR PAGES
   =================================================================== */

/* Generic page wrapper — content below the fixed nav */
.page { padding-top: clamp(7rem, 12vh, 11rem); }

/* Page hero / banner */
.pagehead {
  position: relative;
  padding: clamp(6rem, 12vh, 10rem) clamp(1.25rem, 4vw, 3.5rem) clamp(4rem, 8vh, 7rem);
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
}
.pagehead__inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.pagehead__crumb {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d9b568;
  margin-bottom: 1.4rem;
}
.pagehead__crumb a { color: rgba(246,243,238,0.6); margin-right: 0.6rem; }
.pagehead__crumb a:hover { color: var(--clay); }
.pagehead__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-page);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 16ch;
}
.pagehead__lede {
  margin-top: 1.6rem;
  max-width: 38em;
  color: rgba(246,243,238,0.72);
  font-size: var(--t-lede);
}
.pagehead::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  z-index: 1;
  width: clamp(180px, 22vw, 320px);
  height: clamp(180px, 22vw, 320px);
  background-image: radial-gradient(rgba(217,181,104,0.18) 1.3px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Generic page section */
.psec {
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3.5rem);
  max-width: 1180px;
  margin: 0 auto;
}
.psec--narrow { max-width: 880px; }
.psec--dark { background: var(--ink); color: var(--ivory); max-width: none; }
.psec--dark .section-head__title { color: var(--ivory); }
.psec--dark .section-head__lede { color: rgba(246,243,238,0.7); }
.psec__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* =================== FAQ =================== */
.faq__intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.faq__intro p {
  color: var(--charcoal-soft);
  font-size: var(--t-lede);
}
.faq__group { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.faq__group-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.faq__group-num {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--clay);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 3rem 1.4rem 0;
  position: relative;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.35;
  color: var(--charcoal);
  transition: color .25s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 0.4rem; top: 50%;
  width: 14px; height: 14px;
  border-right: 1px solid var(--clay);
  border-bottom: 1px solid var(--clay);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s ease;
}
.faq__item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq__item summary:hover { color: var(--clay-dark); }
.faq__item-body {
  padding: 0 3rem 1.6rem 0;
  color: var(--charcoal-soft);
  font-size: 1rem;
  max-width: 56em;
}
.faq__item-body p + p { margin-top: 0.9rem; }

.faq__cta {
  background: var(--ivory-2);
  padding: clamp(3rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  border-radius: 2px;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.faq__cta h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 0.7rem;
}
.faq__cta p {
  color: var(--charcoal-soft);
  max-width: 40em;
  margin: 0 auto 1.6rem;
}

/* =================== SERVICE AREAS =================== */
.areas__intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.areas__intro-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-top: 0.8rem;
}
.areas__intro-copy p {
  color: var(--charcoal-soft);
  margin-bottom: 1rem;
}

/* Leaflet map container */
.areas__mapwrap {
  position: relative;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.areas__leaflet {
  width: 100%;
  height: clamp(420px, 62vh, 640px);
  background: var(--ivory-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
/* Light, editorial Leaflet overrides */
.leaflet-container {
  font-family: var(--sans);
  background: #ece6da;
}
.leaflet-control-zoom a {
  background: var(--ivory);
  color: var(--charcoal);
  border: 1px solid var(--line);
  width: 32px;
  height: 32px;
  line-height: 30px;
  font-weight: 300;
  font-size: 1.2rem;
}
.leaflet-control-zoom a:hover { background: var(--ivory-2); color: var(--clay-dark); }
.leaflet-control-attribution {
  font-size: 0.65rem;
  background: rgba(246, 243, 238, 0.85);
  color: var(--charcoal-soft);
}
.leaflet-control-attribution a { color: var(--clay-dark); }

/* Custom clay-gold pin */
.area-pin {
  display: flex;
  align-items: center;
  justify-content: center;
}
.area-pin__dot {
  display: block;
  width: 14px;
  height: 14px;
  background: var(--clay);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(184, 145, 80, 0.18),
    0 2px 6px rgba(20, 18, 16, 0.28);
  transition: transform .25s ease, box-shadow .25s ease;
}
.area-pin:hover .area-pin__dot,
.leaflet-marker-icon:focus .area-pin__dot {
  transform: scale(1.35);
  box-shadow:
    0 0 0 6px rgba(184, 145, 80, 0.22),
    0 4px 10px rgba(20, 18, 16, 0.35);
}

/* Popup */
.leaflet-popup-content-wrapper {
  background: var(--ivory);
  color: var(--charcoal);
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(20, 18, 16, 0.18);
  padding: 2px 6px;
}
.leaflet-popup-tip { background: var(--ivory); }
.leaflet-popup-content {
  margin: 0.9rem 1.1rem;
  font-family: var(--sans);
}
.area-pop__county {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 0.3rem;
}
.area-pop__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.15;
  margin: 0;
}

/* Legend */
.areas__map-legend {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(246, 243, 238, 0.94);
  border: 1px solid var(--line);
  padding: 0.5rem 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 400;
  pointer-events: none;
}
.areas__map-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(184, 145, 80, 0.25);
}

.areas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.area {
  background: var(--ivory);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: background .3s ease, transform .35s ease;
}
.area:hover { background: var(--ivory-2); }
.area__county {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
}
.area__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.15;
}
.area__desc {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  margin-top: 0.2rem;
}

.areas__cta {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(2.4rem, 5vw, 3.6rem);
}
.areas__cta h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.18;
  margin-bottom: 0.8rem;
}
.areas__cta p { color: rgba(246,243,238,0.7); }
.areas__cta .btn { justify-self: end; }

/* =================== PROJECTS GALLERY (staggered editorial) =================== */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 1280px;
  margin: 0 auto;
}
.gallery__col {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vw, 7.5rem);
}
.gallery__col--offset { margin-top: clamp(5rem, 12vw, 12rem); }

.proj {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2vw, 1.5rem);
  color: inherit;
}
/* Title placement is consistent per column. Reading top-to-bottom
   in zigzag order (left -> right -> left -> right), every other
   project's title flips. Left column always shows the title BELOW
   its image; right (offset) column always shows the title ABOVE
   its image. Matches Corr's pattern. */
.gallery__col--offset .proj { flex-direction: column-reverse; }

/* Photo sizing — uniform portrait 4:5 for every card. */
.proj__media {
  position: relative;
  overflow: hidden;
  background: var(--ivory-2);
  aspect-ratio: 4 / 5;
}
.proj__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.22,.61,.36,1);
}
.proj:hover .proj__media img { transform: scale(1.025); }

/* Under-construction placeholder tile - mirrors the About portrait card.
   Cream background with subtle stripes, inset dashed frame, faded AF
   mark, and a small-caps label. Used when no real photo exists yet. */
.proj__media--soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(2rem, 5vw, 3rem);
  background:
    linear-gradient(135deg, rgba(184,145,80,0.06) 0%, rgba(0,0,0,0) 50%, rgba(184,145,80,0.06) 100%),
    repeating-linear-gradient(0deg, rgba(28,26,23,0.04), rgba(28,26,23,0.04) 1px, transparent 1px, transparent 8px),
    #ede8e0;
  box-shadow:
    inset 0 0 0 8px var(--ivory),
    inset 0 0 0 9px var(--line);
}
.proj__media--soon::before {
  content: "";
  position: absolute;
  top: 22px; left: 22px; right: 22px; bottom: 22px;
  border: 1px dashed rgba(28,26,23,0.22);
  pointer-events: none;
}
.proj__media--soon img {
  width: auto;
  height: auto;
  max-width: clamp(72px, 22%, 132px);
  object-fit: contain;
  opacity: 0.55;
  transition: opacity .3s ease, transform 0s;
}
.proj:hover .proj__media--soon img { transform: none; opacity: 0.72; }
.proj__soon-label {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  text-align: center;
}

.proj__info { display: block; }
.proj__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
  transition: color .3s ease;
}
.proj:hover .proj__name { color: var(--clay-dark); }
.proj__type {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--clay);
  margin-bottom: 0.35rem;
  letter-spacing: 0.005em;
  line-height: 1.3;
}
.proj__loc {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  letter-spacing: 0.01em;
}

/* =================== BLOG GALLERY (unchanged) =================== */
.gal__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
}
.gal__filter {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.6rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--charcoal);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.gal__filter:hover { color: var(--clay-dark); border-color: var(--clay); }
.gal__filter.is-active {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

.gal__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
}
.gal__item {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--ivory-2);
  transition: opacity .4s ease, transform .4s ease;
}
.gal__item.is-hidden { display: none; }
.gal__item img {
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
}
.gal__item:hover img { transform: scale(1.07); }
.gal__item--lg  { grid-column: span 8; aspect-ratio: 16 / 10; }
.gal__item--md  { grid-column: span 4; aspect-ratio: 4 / 5; }
.gal__item--sq  { grid-column: span 6; aspect-ratio: 1 / 1; }
.gal__item--wd  { grid-column: span 6; aspect-ratio: 4 / 3; }
.gal__item--tall{ grid-column: span 4; aspect-ratio: 3 / 4; }
.gal__item--full{ grid-column: span 8; aspect-ratio: 16 / 9; }

.gal__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1.4rem;
  color: var(--ivory);
  background: linear-gradient(to top, rgba(20,18,16,0.85), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.gal__item:hover .gal__caption { opacity: 1; transform: translateY(0); }
.gal__cap-loc {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d9b568;
  margin-bottom: 0.3rem;
}
.gal__cap-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.15;
}

/* ===================================================================
   FROM THE GROUND UP — tab-style journey
   =================================================================== */

.gnd-hero {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(7rem, 14vh, 11rem) clamp(1.25rem, 4vw, 3.5rem) clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.gnd-hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 540px; height: 540px;
  background-image: radial-gradient(rgba(217,181,104,0.14) 1.2px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}
.gnd-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.gnd-hero__eyebrow {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #d9b568;
  margin-bottom: 1.2rem;
}
.gnd-hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-page);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.gnd-hero__sub {
  margin-top: 1.4rem;
  color: rgba(246,243,238,0.78);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 38em;
  margin-left: auto;
  margin-right: auto;
}
.gnd-hero__stats {
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
}
.gnd-hero__stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gnd-hero__stats strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #d9b568;
  line-height: 1;
}
.gnd-hero__stats span {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246,243,238,0.7);
}

/* Sticky tab strip */
.gnd-tabs-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px -16px rgba(0,0,0,0.18);
}
.gnd-tabs-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background: var(--clay);
  width: var(--gnd-progress, 0%);
  transition: width .45s cubic-bezier(.22,.61,.36,1);
}
.gnd-tabs-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 2vw, 1rem);
}
.gnd-tabs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 0.7rem 0;
}
.gnd-tabs::-webkit-scrollbar { display: none; }
.gnd-tab {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--charcoal-soft);
  scroll-snap-align: start;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.gnd-tab__n {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--clay);
  line-height: 1;
}
.gnd-tab__name {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
}
.gnd-tab:hover {
  background: var(--ivory-2);
  color: var(--charcoal);
}
.gnd-tab.is-active {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}
.gnd-tab.is-active .gnd-tab__n { color: var(--clay); }

/* Phase panel container */
.gnd-phases {
  background: var(--ivory);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3.5rem) clamp(4rem, 7vw, 6rem);
  max-width: 1240px;
  margin: 0 auto;
}
.gnd-phase {
  display: none;
  animation: gndFadeIn .35s ease;
}
.gnd-phase.is-active { display: block; }
@keyframes gndFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.gnd-phase__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  align-items: start;
}
.gnd-phase__num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.9;
  color: var(--clay);
  letter-spacing: -0.02em;
}
.gnd-phase__when {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 0.7rem;
}
.gnd-phase__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-section);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin-bottom: 1.2rem;
}
.gnd-phase__lede {
  color: var(--charcoal-soft);
  font-size: var(--t-lede);
  max-width: 44em;
  line-height: 1.55;
}

.gnd-phase__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.gnd-decisions {
  background: var(--ivory-2);
  border-left: 2px solid var(--clay);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
}
.gnd-decisions__title {
  font-family: var(--sans);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 1.2rem;
}
.gnd-decisions__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.gnd-decisions__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.98rem;
  color: var(--charcoal);
  line-height: 1.5;
}
.gnd-decisions__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--clay);
  border-radius: 50%;
}

.gnd-articles__title {
  font-family: var(--sans);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-bottom: 1.4rem;
}
.gnd-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(1.4rem, 2.5vw, 2rem);
}
.gnd-article {
  display: flex;
  flex-direction: column;
  color: inherit;
}
.gnd-article__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 0.9rem;
  background: var(--ivory-2);
}
.gnd-article__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.22,.61,.36,1);
}
.gnd-article:hover .gnd-article__media img { transform: scale(1.05); }
.gnd-article h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
  transition: color .25s ease;
}
.gnd-article:hover h4 { color: var(--clay-dark); }
.gnd-article p {
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  margin-bottom: 0.6rem;
  flex: 1;
}
.gnd-article__meta {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

/* Prev / Next nav inside the phase panel */
.gnd-phase__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(2rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.gnd-phase__nav > * {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  color: var(--charcoal);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.gnd-phase__nav a:hover {
  background: var(--ivory-2);
  border-color: var(--clay);
}
.gnd-phase__prev { text-align: left; }
.gnd-phase__next { text-align: right; }
.gnd-phase__nav-dir {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 0.4rem;
}
.gnd-phase__nav-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.2;
}

/* Mobile */
@media (max-width: 880px) {
  .gnd-phase__head { grid-template-columns: 1fr; gap: 0.5rem; }
  .gnd-phase__num { font-size: 3.2rem; }
  .gnd-articles { grid-template-columns: 1fr 1fr; }
  .gnd-phase__nav { grid-template-columns: 1fr; }
  /* World-class phase navigator on mobile:
     1) Every chip shows its NAME (not just the active one) so users
        navigate by content, not by guessing numbers.
     2) Chips have a visible border + background — they read as tappable
        cards, not decorative numerals.
     3) Right-edge fade gradient signals "scroll for more phases".
     4) Bigger tap targets meet 44px Apple HIG minimum. */
  .gnd-tabs {
    padding: 0.85rem clamp(1rem, 4vw, 1.4rem);
    gap: 0.5rem;
    scroll-padding-left: 1rem;
  }
  .gnd-tab {
    padding: 0.7rem 1rem;
    min-height: 44px;
    background: var(--ivory-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    gap: 0.5rem;
  }
  .gnd-tab__n { font-size: 0.95rem; }
  .gnd-tab__name {
    display: inline;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }
  .gnd-tab.is-active { border-color: var(--charcoal); box-shadow: 0 4px 14px -8px rgba(28,26,23,0.35); }

  /* Right-edge fade — the universal "more content here" signal */
  .gnd-tabs-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 2px;
    width: clamp(36px, 9vw, 56px);
    background: linear-gradient(to left, var(--ivory) 30%, rgba(246,243,238,0));
    pointer-events: none;
    z-index: 2;
  }
  /* Subtle chevron over the fade reinforces "swipe me" */
  .gnd-tabs-wrap .gnd-tabs-hint {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    z-index: 3;
    color: var(--clay);
    opacity: 0.85;
    pointer-events: none;
    transition: opacity .35s ease;
  }
  /* Once the user has scrolled the strip a bit, dim the hint chevron */
  .gnd-tabs-wrap.is-scrolled-end .gnd-tabs-hint { opacity: 0; }
  /* Mirror fade on the left edge after the strip has been scrolled */
  .gnd-tabs-wrap.is-scrolled-start::after {
    /* note: ::after is already used for the progress bar (it sits on the
       bottom 2px); the gradient is positioned above it via its own block */
  }
  .gnd-tabs-wrap .gnd-tabs-fade-left {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 2px;
    width: clamp(28px, 7vw, 44px);
    background: linear-gradient(to right, var(--ivory) 30%, rgba(246,243,238,0));
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity .25s ease;
  }
  .gnd-tabs-wrap.is-scrolled-start .gnd-tabs-fade-left { opacity: 1; }
}
@media (max-width: 520px) {
  .gnd-articles { grid-template-columns: 1fr; }
}

/* ===================================================================
   LONG-FORM ARTICLE TEMPLATE (/learn/*)
   =================================================================== */

.art {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(6rem, 14vh, 9rem) clamp(1.25rem, 4vw, 2.4rem) clamp(4rem, 8vw, 6rem);
}
.art__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.art__crumb {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-bottom: 1.2rem;
}
.art__crumb a { color: var(--clay-dark); }
.art__crumb a:hover { color: var(--clay); }
.art__tag {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.2rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--clay);
  border-radius: 999px;
}
.art__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-section);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--charcoal);
}
.art__dek {
  margin-top: 1.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--t-dek);
  line-height: 1.4;
  color: var(--charcoal-soft);
  max-width: 36em;
}
.art__meta {
  margin-top: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}
.art__hero-image {
  margin: clamp(2rem, 4vw, 3rem) 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ivory-2);
}
.art__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art__body {
  font-family: var(--sans);
  font-size: var(--t-lede);
  line-height: 1.7;
  color: var(--charcoal);
}
.art__body > * + * { margin-top: 1.2rem; }
.art__body p {
  font-weight: 300;
}
.art__body .lede {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--charcoal);
  font-weight: 400;
}
.art__body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin-top: 2.6rem !important;
  margin-bottom: 1rem !important;
  letter-spacing: -0.005em;
  color: var(--charcoal);
}
.art__body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.3;
  margin-top: 2rem !important;
  margin-bottom: 0.6rem !important;
  color: var(--charcoal);
}
.art__body ul,
.art__body ol {
  padding-left: 1.4rem;
  list-style-position: outside;
}
.art__body li { margin-top: 0.4rem; font-weight: 300; }
.art__body li::marker { color: var(--clay); }
.art__body strong { font-weight: 500; color: var(--charcoal); }
.art__body em { color: var(--charcoal-soft); }
.art__body a { color: var(--clay-dark); border-bottom: 1px solid currentColor; }
.art__body a:hover { color: var(--clay); }

.art__pullquote {
  margin: 2.5rem -1rem !important;
  padding: 1.6rem 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  color: var(--charcoal);
  border-left: 2px solid var(--clay);
  background: var(--ivory-2);
}

.art__callout {
  margin: 2rem 0 !important;
  padding: 1.4rem 1.6rem;
  background: var(--ivory-2);
  border-left: 2px solid var(--clay);
  font-size: 1rem;
  line-height: 1.55;
}
.art__callout-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 0.6rem;
}

.art__signoff {
  margin-top: 3rem !important;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--t-lede);
  color: var(--charcoal-soft);
}

.art__related {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.4rem);
  border-top: 1px solid var(--line);
}
.art__related-head {
  margin-bottom: 2rem;
}
.art__related-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 0.6rem;
}
.art__related-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  color: var(--charcoal);
}
.art__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.2rem);
}

@media (max-width: 700px) {
  .art__pullquote { margin: 2rem 0 !important; }
}

.learn__featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.learn__featured-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ivory-2);
}
.learn__featured-media img { transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
.learn__featured:hover .learn__featured-media img { transform: scale(1.04); }
.learn__featured-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1rem;
}
.learn__featured-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.learn__featured-excerpt {
  margin-top: 1.1rem;
  color: var(--charcoal-soft);
  font-size: var(--t-lede);
  max-width: 40em;
}
.learn__featured-meta {
  margin-top: 1.2rem;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}
.learn__featured-link {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--clay);
  color: var(--clay);
}
.learn__featured-link::after { content: " \2192"; }

.learn__cta {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(2.4rem, 5vw, 3.4rem) clamp(1.25rem, 4vw, 3rem);
}
.learn__cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.learn__cta-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d9b568;
  margin-bottom: 0.7rem;
}
.learn__cta-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.learn__cta-body {
  color: rgba(246,243,238,0.78);
  max-width: 50em;
}

.learn__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.4rem;
}
.learn__filter {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.55rem 1.05rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--charcoal);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.learn__filter:hover { color: var(--clay-dark); border-color: var(--clay); }
.learn__filter.is-active {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

.learn__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}
.learn__card {
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: opacity .3s ease;
}
.learn__card.is-hidden { display: none; }
.learn__card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 1.3rem;
  background: var(--ivory-2);
}
.learn__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.22,.61,.36,1);
}
.learn__card:hover .learn__card-media img { transform: scale(1.05); }
.learn__card-tag {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.7rem;
}
.learn__card-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.22;
  transition: color .3s ease;
}
.learn__card:hover .learn__card-title { color: var(--clay-dark); }
.learn__card-excerpt {
  margin-top: 0.7rem;
  color: var(--charcoal-soft);
  font-size: 0.95rem;
}
.learn__card-meta {
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

.learn__more {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  text-align: center;
}
.learn__more-text {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--charcoal-soft);
  margin-bottom: 1.4rem;
}

/* ===================================================================
   CHECKLIST LANDING (lead capture)
   =================================================================== */

.cklhero {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(7rem, 14vh, 11rem) clamp(1.25rem, 4vw, 3.5rem) clamp(5rem, 10vw, 8rem);
  overflow: hidden;
}
.cklhero::after {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  background-image: radial-gradient(rgba(217,181,104,0.15) 1.2px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}
.cklhero__inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.cklhero__eyebrow {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d9b568;
  margin-bottom: 1.2rem;
}
.cklhero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-page);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.cklhero__lede {
  margin-top: 1.5rem;
  color: rgba(246,243,238,0.78);
  font-size: var(--t-lede);
  max-width: 32em;
}
.cklhero__features {
  list-style: none;
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.cklhero__features li {
  display: flex;
  gap: 0.85rem;
  color: rgba(246,243,238,0.82);
  font-size: 0.96rem;
}
.cklhero__check {
  color: #d9b568;
  font-weight: 500;
}
.cklhero__social {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.cklhero__stars {
  color: #d9b568;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}
.cklhero__social-text {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246,243,238,0.65);
}

.ckl {
  background: var(--ivory);
  color: var(--charcoal);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border-radius: 4px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.55);
}
.ckl__form { position: relative; }
.ckl__progress { margin-bottom: 1.6rem; }
.ckl__progress-bar {
  height: 2px;
  background: var(--ivory-2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}
.ckl__progress-fill {
  display: block;
  height: 100%;
  background: var(--clay);
  width: 16.66%;
  transition: width .4s cubic-bezier(.22,.61,.36,1);
}
.ckl__progress-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}
.ckl__step {
  display: none;
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.ckl__step.is-active {
  display: block;
  animation: cklFadeIn .35s ease;
}
@keyframes cklFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ckl__step-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.ckl__step-help {
  color: var(--charcoal-soft);
  font-size: 0.93rem;
  margin-bottom: 1.4rem;
}
.ckl__choices {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}
.ckl__choice {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  background: var(--ivory);
  cursor: pointer;
  font-size: 0.96rem;
  transition: border-color .25s ease, background .25s ease;
}
.ckl__choice:hover { border-color: var(--clay); }
.ckl__choice input { accent-color: var(--clay); }
.ckl__choice:has(input:checked) {
  border-color: var(--clay);
  background: rgba(184,145,80,0.06);
}
.ckl .field { margin-bottom: 1rem; }
.ckl .field label {
  color: var(--charcoal-soft);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  margin-bottom: 0.35rem;
}
.ckl .field input {
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
}
.ckl .field input:focus { border-color: var(--clay); }
.ckl .field input::placeholder { color: rgba(28,26,23,0.32); }
.ckl__legal {
  font-size: 0.78rem;
  color: var(--charcoal-soft);
  margin: 1rem 0 1.4rem;
  line-height: 1.5;
}
.ckl__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.ckl__nav .btn { padding: 0.95rem 1.6rem; font-size: 0.74rem; }
.ckl__back {
  border: 1px solid var(--line);
  color: var(--charcoal-soft);
  background: transparent;
}
.ckl__back:hover { color: var(--charcoal); border-color: var(--charcoal); }

.ckl__sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.ckl__section {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.ckl__section-num {
  font-family: var(--serif);
  font-size: var(--t-lede);
  color: var(--clay);
  margin-bottom: 0.4rem;
}
.ckl__section h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.ckl__section p {
  color: var(--charcoal-soft);
  font-size: 0.94rem;
}

.ckl__quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.4rem);
  max-width: 1080px;
  margin: 0 auto;
}
.ckl__quote {
  background: rgba(246,243,238,0.04);
  border-left: 2px solid var(--clay);
  padding: 1.6rem 1.8rem;
  margin: 0;
}
.ckl__quote p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--ivory);
  margin-bottom: 1rem;
}
.ckl__quote cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d9b568;
}

/* ===================================================================
   CHECKLIST CONTENT
   =================================================================== */

.ckdoc {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(4rem, 8vw, 7rem);
}
.ckdoc__toc {
  background: var(--ivory-2);
  padding: 1.6rem 1.8rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.ckdoc__toc-label {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 0.9rem;
}
.ckdoc__toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem 1.4rem;
}
.ckdoc__toc-list a {
  font-family: var(--serif);
  font-size: var(--t-lede);
  color: var(--charcoal);
  transition: color .25s ease;
}
.ckdoc__toc-list a:hover { color: var(--clay-dark); }
.ckdoc__phase {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.ckdoc__phase:last-child { border-bottom: none; }
.ckdoc__phase-num {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.7rem;
}
.ckdoc__phase-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin-bottom: 1.2rem;
}
.ckdoc__phase-intro {
  color: var(--charcoal-soft);
  font-size: var(--t-lede);
  margin-bottom: 2rem;
  max-width: 38em;
}
.ckdoc__group {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.25;
  margin: 2rem 0 1rem;
  color: var(--charcoal);
}
.ckdoc__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ckdoc__list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--charcoal);
}
.ckdoc__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 14px;
  height: 14px;
  border: 1px solid var(--clay);
  border-radius: 2px;
  background: var(--ivory);
}
.ckdoc__close {
  margin-top: 2.4rem;
  padding: 1.6rem 1.8rem;
  background: var(--ivory-2);
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--charcoal);
}

@media print {
  .nav, .brand-mark, .menu, .pagehead, .footer, .psec--dark { display: none !important; }
  .ckdoc { max-width: none; padding: 1rem; }
  .ckdoc__phase { page-break-inside: avoid; }
  .ckdoc__list li::before { background: white; border: 1px solid #333; }
}

@media (max-width: 880px) {
  .learn__featured { grid-template-columns: 1fr; }
  .learn__cta-inner { grid-template-columns: 1fr; }
  .cklhero__inner { grid-template-columns: 1fr; }
  .ckdoc__toc-list { grid-template-columns: 1fr; }
  .ckl__nav { flex-direction: column-reverse; align-items: stretch; }
  .ckl__nav .btn { width: 100%; }
}

/* =================== BLOG =================== */
.blog__featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
  align-items: center;
}
.blog__featured-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ivory-2);
}
.blog__featured-media img { transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
.blog__featured:hover .blog__featured-media img { transform: scale(1.05); }
.blog__featured-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1rem;
}
.blog__featured-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.blog__featured-excerpt {
  margin-top: 1.2rem;
  color: var(--charcoal-soft);
  font-size: var(--t-lede);
  max-width: 38em;
}
.blog__featured-meta {
  margin-top: 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}
.blog__featured-link {
  display: inline-block;
  margin-top: 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--clay);
  color: var(--clay);
}
.blog__featured-link::after { content: " \2192"; }

.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}
.post { display: flex; flex-direction: column; }
.post__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 1.4rem;
  background: var(--ivory-2);
}
.post__media img { transition: transform 1.1s cubic-bezier(.22,.61,.36,1); }
.post:hover .post__media img { transform: scale(1.05); }
.post__tag {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.7rem;
}
.post__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.9vw, 1.55rem);
  line-height: 1.2;
}
.post:hover .post__title { color: var(--clay-dark); }
.post__excerpt {
  margin-top: 0.8rem;
  color: var(--charcoal-soft);
  font-size: 0.95rem;
}
.post__meta {
  margin-top: 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

/* Newsletter band */
.newsletter {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3.5rem);
}
.newsletter__inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.newsletter__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.18;
}
.newsletter__lede {
  margin-top: 0.7rem;
  color: rgba(246,243,238,0.7);
}
.newsletter__form {
  display: flex;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(246,243,238,0.25);
}
.newsletter__form input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.8rem 0;
  outline: none;
}
.newsletter__form input::placeholder { color: rgba(246,243,238,0.4); }
.newsletter__form button {
  background: transparent;
  border: none;
  color: #d9b568;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0 0.4rem;
}
.newsletter__form button:hover { color: var(--clay); }

/* Responsive overrides for interior pages */
@media (max-width: 880px) {
  .faq__intro { grid-template-columns: 1fr; }
  .areas__intro { grid-template-columns: 1fr; align-items: start; }
  .areas__leaflet { height: clamp(360px, 52vh, 460px); }
  .areas__cta { grid-template-columns: 1fr; }
  .areas__cta .btn { justify-self: start; }
  /* Tighten vertical rhythm between map and city grid on phones */
  .psec:has(.areas__mapwrap) { padding-bottom: clamp(2rem, 6vw, 4rem); }
  .psec:has(.areas__grid) { padding-top: clamp(2rem, 6vw, 4rem); }
  .blog__featured { grid-template-columns: 1fr; }
  .newsletter__inner { grid-template-columns: 1fr; }

  .gal__item--lg,
  .gal__item--md,
  .gal__item--sq,
  .gal__item--wd,
  .gal__item--tall,
  .gal__item--full { grid-column: span 12; aspect-ratio: 4 / 3; }

  /* Staggered gallery collapses to one flowing column. Every card uses
     image-on-top / title-below for consistency since the alternation
     only reads on a two-column layout. */
  .gallery { grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 4rem); }
  .gallery__col { gap: clamp(2.5rem, 6vw, 4rem); }
  .gallery__col--offset { margin-top: 0; }
  .gallery__col--offset .proj { flex-direction: column; }

  /* Carousel — wider slides, less peek */
  .carousel { padding: 1rem 6vw; scroll-padding-inline: 6vw; }
  .carousel__slide { flex-basis: 88vw; }

  .menu__panel { width: 100%; }
}

/* ============================================================
   STORY / ABOUT PAGE
   ============================================================ */
.story__hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(7rem, 14vh, 11rem) 6vw clamp(4rem, 8vh, 7rem);
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.story__hero-portrait {
  display: flex;
  justify-content: flex-start;
}
.story__hero-text {
  max-width: 640px;
}
.story__hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.4rem;
}
.story__hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-page);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--charcoal);
  margin-bottom: 2rem;
}
.story__hero-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--charcoal-soft);
  max-width: 540px;
}

/* Story body */
.story { background: var(--ivory); }

.story__chapter {
  padding: clamp(4rem, 8vh, 7rem) 6vw;
  border-top: 1px solid var(--line);
}
.story__chapter:first-of-type { border-top: none; }
.story__chapter-inner {
  max-width: 720px;
  margin: 0 auto;
}
.story__chapter-num {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.4rem;
}
.story__chapter-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-section);
  line-height: 1.08;
  letter-spacing: -0.008em;
  color: var(--charcoal);
  margin-bottom: 2.2rem;
}
.story__chapter-body {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.4vw, 1.32rem);
  line-height: 1.72;
  color: var(--charcoal-soft);
}
.story__chapter-body p {
  margin-bottom: 1.4rem;
}
.story__chapter-body p:last-child { margin-bottom: 0; }
.story__chapter-body em {
  font-style: italic;
  color: var(--charcoal);
}

.story__lede {
  font-size: var(--t-dek);
  color: var(--charcoal) !important;
  line-height: 1.62 !important;
  margin-bottom: 1.8rem !important;
}
.story__beat {
  font-style: italic;
  color: var(--charcoal) !important;
  font-size: 1.2em;
}

/* Pull quote */
.story__pullquote-section {
  padding: clamp(3rem, 7vh, 5.5rem) 6vw;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.story__pullquote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  color: var(--ivory);
}
.story__pullquote p {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.005em;
  margin-bottom: 1.4rem;
  font-weight: 400;
}
.story__pullquote cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d9b568;
}

/* Photo blocks */
.story__photo-block {
  padding: clamp(2.5rem, 5vh, 4.5rem) 6vw;
  background: var(--ivory-2);
}
.story__photo-block--full {
  display: flex;
  justify-content: center;
}
.story__photo-block--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.story__photo {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.story__photo--hero {
  max-width: 460px;
  width: 100%;
}
.story__photo-frame {
  position: relative;
  width: 100%;
  background:
    linear-gradient(135deg, rgba(184,145,80,0.06) 0%, rgba(0,0,0,0) 50%, rgba(184,145,80,0.06) 100%),
    repeating-linear-gradient(0deg, rgba(28,26,23,0.04), rgba(28,26,23,0.04) 1px, transparent 1px, transparent 8px),
    #ede8e0;
  border: 1px solid var(--line);
  box-shadow:
    inset 0 0 0 8px var(--ivory),
    inset 0 0 0 9px var(--line),
    0 24px 60px -30px rgba(28,26,23,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.story__photo-frame--portrait { aspect-ratio: 3 / 4; }
.story__photo-frame--wide { aspect-ratio: 16 / 9; }
.story__photo-frame--square { aspect-ratio: 1 / 1; }
.story__photo-frame::before {
  content: "";
  position: absolute;
  top: 22px; left: 22px; right: 22px; bottom: 22px;
  border: 1px dashed rgba(28,26,23,0.18);
  pointer-events: none;
}
.story__photo-label {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  text-align: center;
  padding: 0 1.5rem;
  max-width: 80%;
  z-index: 1;
}
.story__photo-caption {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  text-align: center;
  line-height: 1.5;
}

/* Story CTA */
.story__cta {
  padding: clamp(5rem, 10vh, 8rem) 6vw;
  background: var(--ink);
  text-align: center;
}
.story__cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.story__cta-eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #d9b568;
  margin-bottom: 1.4rem;
}
.story__cta-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-section);
  line-height: 1.15;
  color: var(--ivory);
  margin-bottom: 1.6rem;
}
.story__cta-body {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(246,243,238,0.72);
  margin-bottom: 2.2rem;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 860px) {
  .story__hero {
    grid-template-columns: 1fr;
    padding-top: clamp(6rem, 12vh, 8rem);
  }
  .story__hero-portrait { justify-content: center; }
  .story__photo--hero { max-width: 340px; }
  .story__photo-block--split { grid-template-columns: 1fr; }
  .story__pullquote p { font-size: clamp(1.3rem, 4.5vw, 1.8rem); }
}
