/* ---------- Base ---------- */
:root {
  --brand: #dac2a9; /* Accent (matches your palette) */
  --brand-600: #c5ab90;
  --ink: #222;
  --ink-weak: #5a5a5a;
  --paper: #ffffff;
  --paper-alt: #f7f5f2;
  --header-bg: rgba(24, 24, 24, 0.72);
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--paper);
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}
/* Visually hidden but accessible */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography ---------- */

/* Base body text */
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  font-weight: 400;
  font-size: 16px; /* mobile */
  line-height: 1.7;
  color: var(--ink);
}

/* Headings use Cormorant Garamond */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  margin: 0 0 0.5rem;
  color: inherit;
}
h1,
h2 {
  font-weight: 700;
} /* H1/H2 = 700 */
h3,
h4,
h5,
h6 {
  font-weight: 600;
} /* H3–H6 = 600 */

/* Sizes — mobile */
h1 {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 28px;
  line-height: 1.2;
}
h3 {
  font-size: 22px;
  line-height: 1.25;
}
h4 {
  font-size: 20px;
  line-height: 1.3;
}
h5 {
  font-size: 18px;
  line-height: 1.35;
}
h6 {
  font-size: 16px;
  line-height: 1.4;
}

/* Navigation */
.primary-nav a {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 15px; /* mobile */
}

/* Buttons / CTAs */
.btn {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  font-weight: 600;
  font-size: 16px; /* mobile */
  letter-spacing: 0.02em;
  text-transform: none; /* set to uppercase if you want: uppercase */
}

/* Brand wordmark in header */
.brand {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Tablet */
@media (min-width: 700px) {
  body {
    font-size: 17px;
  } /* tablet body */
  h1 {
    font-size: 44px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 26px;
  }
  h4 {
    font-size: 22px;
  }
  h5 {
    font-size: 18px;
  }
  h6 {
    font-size: 18px;
  }
  .primary-nav a {
    font-size: 16px;
  }
  .btn {
    font-size: 16px;
  }
}

/* Desktop */
@media (min-width: 1100px) {
  body {
    font-size: 18px;
  } /* desktop body */
  h1 {
    font-size: 56px;
  }
  h2 {
    font-size: 40px;
  }
  h3 {
    font-size: 30px;
  }
  h4 {
    font-size: 24px;
  }
  h5 {
    font-size: 20px;
  }
  h6 {
    font-size: 18px;
  }
  .primary-nav a {
    font-size: 16px;
  }
  .btn {
    font-size: 16px;
  }
}

/* Optional: keep headline readable on bright images */
.hero h1 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  background: transparent;
}
.site-header.scrolled {
  background: var(--header-bg);
  backdrop-filter: saturate(150%) blur(6px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 0;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.btn {
  display: inline-block;
  padding: 0.72rem 1.1rem;
  border-radius: 9999px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 600;
}
.btn-cta {
  background: var(--brand);
  color: #2b2b2b;
}
.btn-cta:hover {
  background: var(--brand-600);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  font-size: 1.4rem;
  background: transparent;
  border: none;
  color: #fff;
}
@media (max-width: 880px) {
  .nav-toggle {
    display: inline-block;
  }
  .primary-nav ul {
    position: fixed;
    inset: 60px 0 auto 0;
    background: rgba(34, 34, 34, 0.96);
    padding: 18px 24px;
    flex-direction: column;
    gap: 18px;
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }
  .primary-nav.open ul {
    transform: translateY(0);
  }
  .primary-nav a,
  .btn-cta {
    width: 100%;
    text-align: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.12),
    rgba(0, 0, 0, 0.08) 38%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: -1;
}
.hero-cta {
  display: flex;
  justify-content: center; /* center the CTA button */
}
.hero-inner {
  padding-top: 72px; /* space under fixed header */
  color: #fff;
  max-width: min(90vw, 46ch);
  margin: 0 auto; /* horizontally center */
  text-align: left; /* left-align heading & subhead */
}
.hero h1 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw + 0.6rem, 4rem);
  line-height: 1.1;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.subhead {
  font-size: clamp(1rem, 1.1vw + 0.5rem, 1.3rem);
  color: #f1efe9;
  max-width: 60ch;
}
/* Place the hero title on the left wall for wider screens */
/* Tablet/Desktop: pinned to wall with a viewport-based offset */
@media (min-width: 900px) {
  .hero {
    display: block;
  }
  .hero-inner {
    position: absolute;
    top: clamp(88px, 18vh, 120px);
    left: var(--hero-left-mobile);
    padding-top: 0;
    max-width: min(44ch, 48vw);
    text-align: left;
    margin: 0;
  }
  .hero-cta {
    justify-content: flex-start;
  }
}

/* Wide screens: stop following the viewport, anchor to the hero center */
@media (min-width: 1650px) {
  .hero-inner {
    /* 1200px “safe frame”: half is 600px; inset 120px from that frame’s left */
    left: calc(50% - var(--hero-frame-half) + var(--hero-left-offset));
    /* Optional: keep a sensible max width inside that frame */
    max-width: min(44ch, 620px);
  }
}

/* --- Service icons inside the hero --- */
.hero-services {
  position: absolute;
  left: 0;
  right: 0;
  /* keep them comfortably above the fold edge, even on tall screens */
  bottom: clamp(16px, 3vh, 44px);
  z-index: 5;
  color: #fff;
}

.hero-services-wrap {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: start;
  gap: clamp(14px, 2.4vw, 32px);

  /* Mobile: horizontal scroll with snap */
  overflow-x: auto;
  padding: 10px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Each service link */
.hero-service {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: center;
  min-width: 84px; /* bigger tap target on phones */
}

.hero-icon {
  width: clamp(60px, 8vw, 96px);
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.22));
  transition: filter 0.18s ease, transform 0.18s ease;
}

/* Glow on hover/focus */
.hero-service:hover .hero-icon,
.hero-service:focus-visible .hero-icon {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.55))
    drop-shadow(0 0 28px rgba(218, 194, 169, 0.55)); /* brandy glow */
  transform: translateY(-2px);
}

/* Labels under icons */
.hero-service .label {
  display: block;
  line-height: 1.3;
  min-height: 1.3em; /* reserves one line; extra lines grow downward */
  text-align: center;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* --- Fixed hero service icon sizing (no growth with viewport) --- */
:root {
  --hero-icon-size: 160px; /* ← set this once; change to taste */
  --hero-icon-gap-fixed: 24px;
}

/* Hide on mobile (as you wanted) */
@media (max-width: 699px) {
  .hero-services {
    display: none;
  }
}

/* Tablet & up: fixed icon size and layout */
@media (min-width: 700px) {
  .hero-services-wrap {
    overflow: visible;
    grid-auto-flow: initial;
    grid-template-columns: repeat(5, var(--hero-icon-size));
    justify-content: space-between; /* spreads them evenly */
    gap: var(--hero-icon-gap-fixed);
    padding: 0;
  }
  .hero-icon {
    width: var(
      --hero-icon-size
    ) !important; /* ensure it beats any earlier rules */
    height: auto;
  }
  .hero-service .label {
    font-size: 16px;
  }
}

/* Tablet: lay them out in a neat grid; no horizontal scrolling needed */
@media (min-width: 700px) {
  .hero-services-wrap {
    overflow: visible;
    grid-auto-flow: initial;
    grid-template-columns: repeat(5, minmax(90px, 1fr));
    justify-items: center;
    padding: 0;
  }
}

/* ---------- Base ---------- */
:root {
  --brand: #dac2a9;
  --brand-600: #c5ab90;
  --ink: #222;
  --ink-weak: #5a5a5a;
  --paper: #fff;
  --paper-alt: #f7f5f2;
  --header-bg: rgba(24, 24, 24, 0.72);

  /* Hero layout vars */
  --hero-frame: 1650px; /* lock point */
  --hero-frame-half: 825px; /* half of 1650 */
  --hero-left-offset: 172px; /* inset from frame left */
  --hero-left-mobile: 10vw; /* fluid offset < 1650 */

  /* Hero service icon system */
  --hero-icon-min: 120px; /* was 60 */
  --hero-icon-max: 192px; /* was 96 */
  --hero-icon-gap: clamp(20px, 3vw, 36px);
  --hero-label-size: 16px;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--paper);
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  margin: 0 0 0.5rem;
  color: inherit;
}
h1,
h2 {
  font-weight: 700;
} /* H1/H2 = 700 */
h3,
h4,
h5,
h6 {
  font-weight: 600;
} /* H3–H6 = 600 */

/* Mobile sizes */
h1 {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 28px;
  line-height: 1.2;
}
h3 {
  font-size: 22px;
  line-height: 1.25;
}
h4 {
  font-size: 20px;
  line-height: 1.3;
}
h5 {
  font-size: 18px;
  line-height: 1.35;
}
h6 {
  font-size: 16px;
  line-height: 1.4;
}

/* Navigation text */
.primary-nav a {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 15px;
}

/* Buttons */
.btn {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: none;
  display: inline-block;
  padding: 0.72rem 1.1rem;
  border-radius: 9999px;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-cta {
  background: var(--brand);
  color: #2b2b2b;
}
.btn-cta:hover {
  background: var(--brand-600);
}

/* Tablet type */
@media (min-width: 700px) {
  body {
    font-size: 17px;
  }
  h1 {
    font-size: 44px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 26px;
  }
  h4 {
    font-size: 22px;
  }
  h5 {
    font-size: 18px;
  }
  h6 {
    font-size: 18px;
  }
  .primary-nav a,
  .btn {
    font-size: 16px;
  }
}
/* Desktop type */
@media (min-width: 1100px) {
  body {
    font-size: 18px;
  }
  h1 {
    font-size: 56px;
  }
  h2 {
    font-size: 40px;
  }
  h3 {
    font-size: 30px;
  }
  h4 {
    font-size: 24px;
  }
  h5 {
    font-size: 20px;
  }
  h6 {
    font-size: 18px;
  }
}

/* Optional readability on bright images */
.hero h1 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  background: transparent;
}
.site-header.scrolled {
  background: var(--header-bg);
  backdrop-filter: saturate(150%) blur(6px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 0;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  font-size: 1.4rem;
  background: transparent;
  border: none;
  color: #fff;
}
@media (max-width: 880px) {
  .nav-toggle {
    display: inline-block;
  }
  .primary-nav ul {
    position: fixed;
    inset: 60px 0 auto 0;
    background: rgba(34, 34, 34, 0.96);
    padding: 18px 24px;
    flex-direction: column;
    gap: 18px;
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }
  .primary-nav.open ul {
    transform: translateY(0);
  }
  .primary-nav a,
  .btn-cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 880px) {
  /* Ensure mobile menu text is always white on the dark dropdown */
  .site-header .primary-nav a {
    color: #fff;
  }

  /* Optional: improve contrast for the CTA inside the dark sheet */
  .site-header .primary-nav .btn-cta {
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.85);
  }
}

/* ---------- Hero service icons (inside hero bottom) ---------- */
.hero-services {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(16px, 3vh, 44px);
  z-index: 5;
  color: #fff;
}
.hero-services-wrap {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: start;
  gap: var(--hero-icon-gap);
  overflow-x: auto;
  padding: 10px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.hero-service {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: center;
  min-width: 84px;
}
.hero-icon {
  width: clamp(var(--hero-icon-min), 8vw, var(--hero-icon-max));
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.22));
  transition: filter 0.18s ease, transform 0.18s ease;
}
.hero-service:hover .hero-icon,
.hero-service:focus-visible .hero-icon {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.55))
    drop-shadow(0 0 28px rgba(218, 194, 169, 0.55));
  transform: translateY(-2px);
}
.hero-service .label {
  font: 500 var(--hero-label-size) / 1.4 'Inter', system-ui, -apple-system,
    Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* ---------- Sections & Forms ---------- */
.content-section {
  padding: 96px 0;
}
.content-section.alt {
  background: var(--paper-alt);
}
.content-section h2 {
  margin: 0 0 0.5rem;
}
.quote-form .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
}
.quote-form label.full {
  grid-column: 1 / -1;
}
.quote-form input,
.quote-form textarea {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
.quote-form input:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--brand);
  border-color: var(--brand);
}
@media (max-width: 700px) {
  .quote-form .grid {
    grid-template-columns: 1fr;
  }
}

/* Desktop: align with your content grid and keep away from edges */
@media (min-width: 1100px) {
  .hero-services .container {
    width: min(1100px, 92%);
  }
}

/* ---------- Generic content sections ---------- */
.content-section {
  padding: 96px 0;
}
.content-section.alt {
  background: var(--paper-alt);
}
.content-section h2 {
  margin: 0 0 0.5rem;
}
.quote-form .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
}
.quote-form label.full {
  grid-column: 1 / -1;
}
.quote-form input,
.quote-form textarea {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
.quote-form input:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--brand);
  border-color: var(--brand);
}
@media (max-width: 700px) {
  .quote-form .grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0;
  background: #111;
  color: #cfcfcf;
  text-align: center;
}

/* ===== Services: Alternating Media Bands ===== */
.svc-band .band {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
}
.svc-band .band-media img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}
.svc-band .band-body .lede {
  margin: 0.25rem 0 1rem;
  color: var(--ink-weak);
}
.svc-band .band-body .btn-cta {
  /* Full-width CTA inside each service band */
  display: flex; /* centers the label nicely */
  align-items: center;
  justify-content: center;
  width: 100%; /* span the subsection width */
  text-align: center;
  padding: 0.9rem 1.2rem; /* a touch taller for presence */
  border-radius: 14px; /* slightly squarer than pills, adjust if you like */
  margin-top: 8px; /* space from quickfacts/list */
}
.svc-band .checklist {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}
.svc-band .checklist li {
  position: relative;
  padding-left: 28px;
}
.svc-band .checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.2;
  font-weight: 600;
  color: var(--brand);
}

/* Quick facts pills */
.svc-band .quickfacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 1.25rem;
}
.svc-band .fact {
  background: var(--paper-alt);
  border-radius: 14px;
  padding: 0.6rem 0.8rem;
  text-align: center;
}
.svc-band .fact .k {
  display: block;
  font-weight: 600;
}
.svc-band .fact .l {
  display: block;
  font-size: 0.9em;
  color: var(--ink-weak);
}

@media (min-width: 900px) {
  .svc-band .band {
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(28px, 4vw, 56px);
  }
  .svc-band--rev .band {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .svc-band--rev .band-media {
    order: 2;
  }
  .svc-band--rev .band-body {
    order: 1;
  }
}

/* ===== Services header band (full-bleed, big type, accent rule) ===== */
.services-intro--wide {
  position: relative;
  padding: clamp(56px, 8vh, 120px) 0 clamp(28px, 5vh, 64px);
  background: var(--paper-alt); /* full width background panel */
  text-align: center;
}

.services-intro--wide .services-title {
  /* Larger than normal H2 for a section title */
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
}

.services-intro--wide .lede {
  margin: 0 auto 1.25rem;
  color: var(--ink-weak);
  max-width: 70ch;
}

/* Full-bleed horizontal rule with brand accent */
.services-intro--wide .section-rule {
  position: relative;
  height: 20px; /* reserves space for the rule + accent */
  margin-top: 0.25rem;
}
.services-intro--wide .section-rule::before {
  /* thin full-bleed line */
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 0, 0, 0.08) 12%,
    rgba(0, 0, 0, 0.18) 50%,
    rgba(0, 0, 0, 0.08) 88%,
    transparent
  );
}
.services-intro--wide .section-rule::after {
  /* short, thicker brand accent centered on the line */
  content: '';
  position: absolute;
  left: 50%;
  top: -1px;
  transform: translateX(-50%);
  width: clamp(96px, 12vw, 180px);
  height: 4px;
  background: var(--brand);
  border-radius: 999px;
  box-shadow: 0 6px 22px rgba(218, 194, 169, 0.45);
}

/* Default: hide the services jump links */
.services-intro--wide .services-chips {
  display: none;
}

/* Phones: 2-column grid of jump links, no horizontal scroll */
@media (max-width: 699px) {
  .services-intro--wide .services-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 0 4vw;
    margin: 0.75rem auto 0;
    max-width: 560px; /* keeps it neat on very wide phones in landscape */
    overflow: visible; /* ensure no scroller */
  }
  .services-intro--wide .services-chips a {
    display: block;
    text-align: center;
    text-decoration: none;
    background: var(--paper);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font: 600 15px/1.1 'Inter', system-ui, -apple-system, Segoe UI, Roboto,
      Helvetica, Arial, sans-serif;
    color: var(--ink);
  }
  .services-intro--wide .services-chips a:hover {
    background: #ece8e3;
  }
}

/* Very narrow phones: switch to single column */
@media (max-width: 380px) {
  .services-intro--wide .services-chips {
    grid-template-columns: 1fr;
  }
}

/* ===== Testimonials refinements ===== */

/* Match "Our Services" look & centered alignment */
.testimonials .section-title {
  text-align: center;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

/* Tighter grid spacing across breakpoints */
.t-grid {
  display: grid;
  grid-template-columns: 1fr; /* phones */
  gap: 12px; /* tighter than before */
}
@media (min-width: 700px) {
  .t-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .t-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card as a block so text can wrap around a floated avatar */
.t-card {
  display: block;
  background: var(--paper);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  position: relative;
}
/* clearfix so the float doesn't collapse the card */
.t-card::after {
  content: '';
  display: table;
  clear: both;
}

/* Kill default figure margins inside testimonials */
.testimonials .t-card {
  margin: 0;
}

/* Tighten the grid spacing explicitly */
.testimonials .t-grid {
  row-gap: 18px; /* vertical space between rows */
  column-gap: 24px; /* horizontal space between columns */
}

/* (Optional) tame any default margins on inner elements too */
.testimonials .t-quote {
  margin: 0 0 0.35rem;
}
.testimonials .t-cite {
  margin: 0;
}

/* Circle avatar in top-left, with text wrapping around it */
.t-avatar {
  float: left;
  width: 90px;
  height: 90; /* small circle */
  margin: 2px 14px 8px 0; /* space to the right/below */
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);

  /* make text wrap around the circle, not a rectangle */
  shape-outside: circle(50%);
  clip-path: circle(50% at 50% 50%);
}

/* Quote text wraps naturally around the floated avatar */
.t-quote-wrap {
  min-width: 0;
} /* safe wrapping */
.t-quote {
  margin: 0 0 0.4rem 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  position: relative;
}
/* keep the decorative quote mark inside the card even with the float */
.t-quote::before {
  content: '“';
  position: absolute;
  left: -4px;
  top: -8px; /* was more negative; nudge inside */
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  line-height: 1;
  color: var(--brand);
  opacity: 0.6;
}

.t-cite {
  font: 600 0.95rem/1.3 'Inter', system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--ink-weak);
}

/* ===== Active nav indicator (all pages) ===== */
:root {
  --active-indicator: #bfa98e;
} /* mid beige; readable on light & dark */

.primary-nav a.is-active,
.primary-nav a[aria-current='page'] {
  position: relative;
}

/* Desktop/Tablet: underbar under the active link */
@media (min-width: 881px) {
  .primary-nav
    a.is-active:not(.btn-cta):not([href*='#home']):not([href$='#quote'])::after,
  .primary-nav a[aria-current='page']:not(.btn-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px; /* sits just under the text line */
    height: 3px;
    background: var(--active-indicator);
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); /* subtle outline for both BGs */
  }
}










/* About: keep heading style consistent with other section titles */
.about .section-title {
  text-align: center;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
.about .section-title::after {
  content: '';
  display: block;
  width: clamp(96px, 12vw, 180px);
  height: 4px;
  margin: 10px auto 0;
  background: var(--brand);
  border-radius: 999px;
  box-shadow: 0 6px 22px rgba(218, 194, 169, 0.45);
}

/* About grid */
.about .about-grid {
  display: grid;
  grid-template-columns: 1fr;      /* phone/tablet: single column */
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .about .about-grid {
    grid-template-columns: 0.9fr 1.1fr;  /* desktop: two columns */
    gap: clamp(28px, 4vw, 56px);
  }
}

/* Ensure MOBILE order is: title (outside grid) → image → text  */
@media (max-width: 899px) {
  .about .about-media { order: 1; }
  .about .about-body  { order: 2; }   /* overrides any earlier flip rule */
}

/* Taller photo area */
.about .about-media img {
  width: 100%;
  aspect-ratio: 3 / 4;               /* tall portrait feel */
  min-height: 420px;                  /* tall on mobile */
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}
@media (min-width: 900px) {
  .about .about-media img { min-height: 520px; }
}

/* Body content */
.about .lede { margin: 0.25rem 0 1rem; color: var(--ink-weak); }
.about .about-points {
  display: grid; gap: 0.4rem; margin: 1rem 0 1.25rem; padding: 0; list-style: none;
}
.about .about-points li { position: relative; padding-left: 28px; }
.about .about-points li::before {
  content: '✓'; position: absolute; left: 0; top: 0; line-height: 1.2; font-weight: 600; color: var(--brand);
}

/* Meta & CTA */
.about .about-meta { margin: 10px 0 12px; color: var(--ink-weak); font-size: 0.95rem; }
.about .chip {
  display: inline-block; margin-top: 6px; margin-right: 8px; padding: 6px 10px;
  background: var(--paper-alt); border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 9999px;
  font: 600 14px/1.1 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
.about .about-cta { display: block; margin-top: 8px; }
.about .about-cta .btn,
.about .about-cta .btn-cta {
  display: block; width: 100%; text-align: center; padding: 0.9rem 1.2rem; border-radius: 14px;
}

/* (tiny fix) testimonial avatar height unit */
.t-avatar { height: 90px; }

/* === Footer: Legal Links === */
.legal-links{
  display:flex;
  gap:.75rem;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  padding:.75rem 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size:.9375rem;
  letter-spacing:.01em;
}

/* Use brand tan by default; fall back if CSS variables aren't defined */
.legal-links a{
  color: var(--tan, #DAC2A9);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--tan, #DAC2A9) 60%, transparent);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease, opacity .2s ease;
}

/* Prevent purple visited state */
.legal-links a:visited{
  color: var(--tan, #DAC2A9);
  border-bottom-color: color-mix(in oklab, var(--tan, #DAC2A9) 70%, transparent);
}

/* Hover/active: brighten slightly and thicken underline for clarity on black */
.legal-links a:hover{
  color: #fff;
  border-bottom-color: #fff;
  text-decoration: none;           /* keep underline style consistent */
}
.legal-links a:active{
  opacity:.9;
}

/* Keyboard focus: clear, accessible outline */
.legal-links a:focus-visible{
  outline: 2px dashed var(--tan, #DAC2A9);
  outline-offset: 3px;
}

/* Optional: make the whole row subtle on dark footers */
footer .legal-links{
  color: #ddd; /* affects any separator characters you include */
}
