/* ============================================================
   Solis & Sage Events — Brand styles
   Palette per BrandGuide.pdf
   ============================================================ */

:root {
  /* --- Brand colors --- */
  --color-charcoal:   #242729;
  --color-sage:       #5E7063;
  --color-sage-soft:  #99A48E;
  --color-sage-mist:  #B6BDB2;
  --color-tan:        #BEA079;
  --color-tan-deep:   #A38560;
  --color-cream:      #E7E1D9;
  --color-cream-warm: #E1D5C6;
  --color-cream-soft: #F2EDE6;
  --color-stone:      #D3C2B4;
  --color-paper:      #FAF6F0;
  --color-line:       rgba(36, 39, 41, 0.12);
  --color-line-soft:  rgba(36, 39, 41, 0.06);
  --color-ink:        var(--color-charcoal);
  --color-ink-muted:  rgba(36, 39, 41, 0.65);

  /* --- Typography --- */
  --font-display: "Playfair Display", "Cormorant Garamond", "Times New Roman", serif;
  --font-script:  "Dancing Script", "Amalfi Coast", cursive;
  --font-body:    "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* fluid type scale */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.2vw, 0.825rem);
  --text-sm:   clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  --text-md:   clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  --text-lg:   clamp(1.25rem, 1.1rem + 0.7vw, 1.55rem);
  --text-xl:   clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --text-2xl:  clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
  --text-3xl:  clamp(2.75rem, 1.8rem + 4.2vw, 5rem);
  --text-hero: clamp(2.5rem, 1.5rem + 3.5vw, 5rem);

  /* spacing — 4 px base */
  --space-1:  4px; --space-2:  8px; --space-3:  12px; --space-4:  16px;
  --space-6:  24px; --space-8:  32px; --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px; --space-24: 96px; --space-32: 128px;

  --container: 1240px;
  --container-narrow: 880px;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(36,39,41,0.06), 0 1px 4px rgba(36,39,41,0.04);
  --shadow-md: 0 6px 24px rgba(36,39,41,0.08), 0 2px 6px rgba(36,39,41,0.05);
  --shadow-lg: 0 20px 60px rgba(36,39,41,0.14), 0 8px 24px rgba(36,39,41,0.06);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   Base body
   ============================================================ */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-ink);
  background: var(--color-paper);
  font-weight: 400;
  letter-spacing: 0.005em;
}

/* Typographic primitives */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 500;
  color: var(--color-tan-deep);
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.display em, .script {
  /* v1.8.2: unified italic accent in the same color as the rest of the headline.
     Italic + heavier weight is the only differentiator (no secondary color). */
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  color: inherit;
  letter-spacing: 0;
}
.h-rule {
  display: block; width: 56px; height: 1px;
  background: var(--color-tan); margin: var(--space-6) 0;
}
.h-rule.center { margin-inline: auto; }

.lede {
  font-size: var(--text-md);
  color: var(--color-ink-muted);
  max-width: 60ch;
  line-height: 1.6;
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.container-narrow {
  max-width: var(--container-narrow);
}
.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.section-tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
@media (max-width: 760px) {
  /* Establish a consistent vertical rhythm on mobile.
     The original clamp's 9vw lower bound becomes ~30px on a 360px viewport,
     which is too tight for clean section-to-section breathing.
     Force a generous minimum so each section has room to feel like its own beat. */
  .section { padding-block: var(--space-16); }
  .section-tight { padding-block: var(--space-12); }
}

.bg-cream  { background: var(--color-cream-soft); }
.bg-warm   { background: var(--color-cream); }
.bg-sage   { background: var(--color-sage); color: var(--color-cream); }
.bg-charcoal { background: var(--color-charcoal); color: var(--color-cream); }

.bg-sage .eyebrow,
.bg-charcoal .eyebrow { color: var(--color-tan); }

/* ============================================================
   Header / Nav
   ============================================================ */
/* ============================================================
   Site header — sticky on all viewports, fixed height so the logo
   and hamburger always fit comfortably.
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-line-soft);
  transition: box-shadow .35s var(--ease), background-color .35s var(--ease);
  /* Respect iOS notch/dynamic island so the logo isn't hidden by the address bar */
  padding-top: env(safe-area-inset-top, 0);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: var(--space-3);
  gap: var(--space-6);
  height: 72px; /* fixed height — logo & hamburger always fit */
}
@media (max-width: 880px) {
  .nav { height: 68px; padding-block: var(--space-3); }
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  color: var(--color-charcoal);
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
  height: 100%;
}
/* The single logo <img>. Dimensions are explicit so it can't overflow the header. */
.nav__logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-height: 52px;
  max-width: 260px;
  object-fit: contain;
}
@media (max-width: 880px) {
  .nav__logo-img { height: 48px; max-height: 48px; max-width: 200px; }
}
.nav__menu {
  display: flex; align-items: center; gap: clamp(var(--space-4), 2.4vw, var(--space-10));
}
.nav__menu a {
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-ink);
  position: relative; padding-block: 4px;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--color-tan);
  transition: width .3s var(--ease);
}
.nav__menu a:hover::after,
.nav__menu a[aria-current="page"]::after { width: 100%; }
.nav__menu a[aria-current="page"] { color: var(--color-tan-deep); }

.nav__cta {
  display: inline-flex; align-items: center;
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--color-charcoal);
  font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.2em;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.nav__cta:hover { background: var(--color-charcoal); color: var(--color-cream); }

.nav__toggle {
  display: none; width: 32px; height: 32px;
  flex-direction: column; justify-content: center; gap: 5px;
  position: relative; z-index: 60;
  align-self: center; /* explicit vertical centering against the fixed-height nav */
  flex-shrink: 0;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--color-charcoal);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__toggle { display: flex; }
  .nav__menu, .nav__cta {
    position: fixed; left: 0; right: 0;
    /* Match the mobile header height (.nav = 76px) plus the iOS safe-area padding */
    top: calc(76px + env(safe-area-inset-top, 0));
    flex-direction: column; align-items: flex-start;
    gap: var(--space-6);
    background: var(--color-paper);
    padding: var(--space-8) clamp(20px, 5vw, 40px) var(--space-12);
    border-bottom: 1px solid var(--color-line-soft);
    transform: translateY(-110%);
    transition: transform .4s var(--ease);
  }
  .nav__menu { z-index: 49; }
  .nav__cta {
    z-index: 48; top: auto; bottom: 0;
    padding-block: var(--space-6); border: 0;
    border-top: 1px solid var(--color-line-soft);
    background: var(--color-cream);
    justify-content: center;
    transform: none;
    position: static;
    width: 100%;
  }
  .nav__cta { display: none; }
  .nav.is-open .nav__menu { transform: translateY(0); }
  .nav__menu a { font-size: var(--text-base); }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  border: 1px solid var(--color-charcoal);
  background: var(--color-charcoal);
  color: var(--color-cream);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--color-charcoal); }
.btn--ghost {
  background: transparent;
  color: var(--color-charcoal);
}
.btn--ghost:hover { background: var(--color-charcoal); color: var(--color-cream); }
.btn--tan {
  background: var(--color-tan); border-color: var(--color-tan); color: var(--color-charcoal);
}
.btn--tan:hover { background: transparent; color: var(--color-charcoal); }

.btn--cream {
  background: var(--color-cream); border-color: var(--color-cream); color: var(--color-charcoal);
}
.btn--cream:hover { background: transparent; color: var(--color-cream); border-color: var(--color-cream); }

.btn--ghost-light {
  background: transparent;
  color: var(--color-cream);
  border-color: rgba(231,225,217,0.45);
}
.btn--ghost-light:hover {
  background: var(--color-cream);
  color: var(--color-charcoal);
  border-color: var(--color-cream);
}

.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  padding-block: clamp(var(--space-16), 12vw, var(--space-32));
  display: grid; align-items: center;
  background:
    radial-gradient(ellipse 1100px 600px at 80% 30%, rgba(190,160,121,0.16), transparent 70%),
    radial-gradient(ellipse 700px 500px at 10% 90%, rgba(94,112,99,0.13), transparent 70%),
    var(--color-paper);
  overflow: hidden;
}
@media (max-width: 760px) {
  /* Mobile hero: text-only, magazine-style breathing room.
     The photo lives in its own band immediately below (.hero-band--mobile). */
  .hero {
    min-height: 0;
    padding-block: var(--space-20) var(--space-16);
  }
  .hero__symbol {
    /* v1.9.8: Make this a true watermark — much smaller and much fainter on mobile.
       The SVG has dense saturated colors that read as solid at even 6% opacity when
       rendered at 90vw. Shrink to ~200px, push far off-screen, drop opacity to 3%.
       !important is intentional here to defeat any cached override. */
    width: min(220px, 55vw) !important;
    opacity: 0.04 !important;
    right: -80px !important;
    top: auto !important;
    bottom: 40px !important;
    transform: none !important;
  }
  .hero__inner { gap: 0; }
  /* Hide the in-hero image on mobile — it moves to its own band below. */
  .hero__media { display: none; }
  .hero__copy h1 {
    font-size: clamp(2.25rem, 9vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
  }
  .hero__copy h1 em { display: block; font-style: normal; font-weight: inherit; color: inherit; margin: 0; }
  .hero__lede {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-top: var(--space-6);
  }
  .hero__cta {
    margin-top: var(--space-8);
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }
  .hero__cta .btn {
    justify-content: center;
    text-align: center;
  }
}

/* Mobile-only full-bleed image band — appears between hero and intro on mobile.
   Hidden on desktop because the desktop hero already has the image inline.
   Per client (Jun 2026): also hidden on mobile so the homepage flows directly
   from hero buttons → next section without an interstitial image. */
.hero-band--mobile {
  display: none;
}
.hero__symbol {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: min(720px, 65vw); opacity: 0.07; pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: var(--space-10);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-16); align-items: center; }
}

.hero__copy h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  line-height: 1.08;
  font-weight: 500;
  color: var(--color-charcoal);
  letter-spacing: -0.01em;
}
.hero__copy h1 em { display: block; font-style: normal; font-weight: inherit; color: inherit; margin: 0; }

.hero__lede {
  font-size: var(--text-md); line-height: 1.6;
  color: var(--color-ink-muted);
  margin-top: var(--space-6);
  max-width: 52ch;
}
.hero__cta { margin-top: var(--space-10); display: flex; flex-wrap: wrap; gap: var(--space-4); }

.hero__media {
  position: relative; aspect-ratio: 4/5;
  border-radius: 240px 240px 12px 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(36,39,41,0.18));
  pointer-events: none;
}

.hero__caption {
  position: absolute; left: -22px; bottom: 36px;
  background: var(--color-cream); padding: var(--space-3) var(--space-6);
  font-size: var(--text-xs); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-charcoal);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   Section title block
   ============================================================ */
.sec-head {
  display: grid; gap: var(--space-4);
  margin-bottom: var(--space-12);
  max-width: 64ch;
}
@media (max-width: 760px) {
  .sec-head { margin-bottom: var(--space-10); gap: var(--space-4); }
  .values { gap: var(--space-10); }
  .value { padding-top: var(--space-6); }
}
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head.center .h-rule { margin-inline: auto; }
.sec-head h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: inherit;
}
.sec-head h2 em {
  /* Group B Option 6 — single-style throughout. em renders identically to surrounding text. */
  display: inline;
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  white-space: normal;
}

/* ============================================================
   Services quick-jump nav (top of services page)
   Styled to match the work-page filter buttons exactly.
   ============================================================ */
.services-nav {
  background: var(--color-paper);
  padding-block: var(--space-10) var(--space-4);
}
.services-nav__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}
.services-nav__list li { margin: 0; }
.services-nav__list a {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--color-line);
  background: transparent;
  color: var(--color-ink-muted);
  text-decoration: none;
  transition: all .3s var(--ease);
}
.services-nav__list a:hover {
  border-color: var(--color-tan);
  color: var(--color-charcoal);
}
@media (max-width: 760px) {
  .services-nav { padding-block: var(--space-8) var(--space-3); }
  .services-nav__list { gap: var(--space-2); }
  .services-nav__list a {
    padding: var(--space-2) var(--space-4);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
  }
}

/* ============================================================
   Promise band (formats)
   ============================================================ */
.formats {
  display: grid; gap: var(--space-8);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .formats { grid-template-columns: repeat(2, 1fr); } }

.format {
  border: 1px solid var(--color-line);
  background: var(--color-paper);
  padding: var(--space-10);
  display: grid; gap: var(--space-4);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
}
.format:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.format__num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-tan);
  line-height: 1;
}
.format h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-charcoal);
  font-weight: 500;
}
.format p { color: var(--color-ink-muted); line-height: 1.65; }

/* ============================================================
   Service cards
   ============================================================ */
.services {
  display: grid; gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services { grid-template-columns: repeat(4, 1fr); } }

.service {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  padding: var(--space-10) var(--space-8);
  display: grid; gap: var(--space-4);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  text-align: left;
}
.service:hover {
  background: var(--color-cream);
  border-color: var(--color-tan);
  transform: translateY(-4px);
}
.service__icon {
  width: 40px; height: 40px;
  color: var(--color-sage);
  margin-bottom: var(--space-2);
}
.service h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-charcoal);
}
.service p { color: var(--color-ink-muted); line-height: 1.6; font-size: var(--text-sm); }

/* ============================================================
   Work / gallery
   ============================================================ */
.work-grid {
  display: grid; gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .work-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 220px;
    gap: var(--space-4);
  }
}
.work-item {
  position: relative; overflow: hidden;
  background: var(--color-cream);
  display: block;
  isolation: isolate;
  transition: transform .6s var(--ease);
}
.work-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
}
.work-item:hover img { transform: scale(1.05); }
.work-item__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-6);
  background: linear-gradient(180deg, transparent, rgba(36,39,41,0.85));
  color: var(--color-cream);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--space-4);
  opacity: 1;
}
.work-item__caption .label {
  font-size: var(--text-xs); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-tan); margin-bottom: 4px;
}
.work-item__caption h4 {
  font-family: var(--font-display);
  font-size: var(--text-md); font-weight: 500;
}

/* spans */
@media (min-width: 760px) {
  .span-3-2 { grid-column: span 3; grid-row: span 2; }
  .span-3-1 { grid-column: span 3; grid-row: span 1; }
  .span-2-2 { grid-column: span 2; grid-row: span 2; }
  .span-2-1 { grid-column: span 2; grid-row: span 1; }
  .span-4-2 { grid-column: span 4; grid-row: span 2; }
}
@media (max-width: 759px) {
  .work-item { aspect-ratio: 4/3; }
}

/* ============================================================
   Featured work strip
   ============================================================ */
.featured {
  display: grid; gap: var(--space-12);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) {
  .featured { grid-template-columns: 1fr 1fr; gap: var(--space-20); }
  .featured.reverse > :first-child { order: 2; }
}
.featured__img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.featured__img img { width: 100%; height: 100%; object-fit: cover; }

.featured__copy h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-block: var(--space-4) var(--space-6);
}
.featured__list {
  display: grid; gap: var(--space-3);
  margin-top: var(--space-6);
}
.featured__list li {
  display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3);
  align-items: baseline;
  color: var(--color-ink-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.featured__list li::before {
  content: ""; width: 8px; height: 1px; background: var(--color-tan);
  align-self: center;
}

/* ============================================================
   Testimonial
   ============================================================ */
.quote {
  max-width: 880px; margin-inline: auto;
  text-align: center;
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 8rem; line-height: 0.6;
  color: var(--color-tan);
  margin-bottom: -.4em;
}
.quote__text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.quote__attr {
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--color-ink-muted);
}

/* ============================================================
   Logos strip
   ============================================================ */
.logos-strip {
  display: grid; gap: var(--space-10) var(--space-8);
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
}
@media (min-width: 700px) { .logos-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .logos-strip { grid-template-columns: repeat(6, 1fr); } }
.logos-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  text-align: center;
  color: var(--color-ink-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  font-size: var(--text-sm);
  min-height: 72px;
  width: 100%;
}
.logos-strip__item--has-logo { padding: var(--space-2); }
.logos-strip__item--has-logo img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* No grayscale or opacity filter — brand logos display in their natural color
     on the cream background. The transparent PNGs let the cream show through. */
  transition: transform 0.3s var(--ease);
}
.logos-strip__item--has-logo:hover img { transform: scale(1.05); }
@media (max-width: 699px) {
  .logos-strip__item--has-logo img { max-height: 56px; }
}
/* Backwards-compatible: when the older `<span>`-only markup is rendered, still style it */
.logos-strip > span:not([class*="logos-strip__item"]) {
  text-align: center;
  color: var(--color-ink-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  font-size: var(--text-sm);
  font-family: var(--font-display);
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  text-align: center;
  padding-block: clamp(var(--space-20), 10vw, var(--space-32));
  background:
    radial-gradient(ellipse 800px 500px at 50% 0%, rgba(190,160,121,0.18), transparent 70%),
    var(--color-charcoal);
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  /* v1.8.2 — show the full plant-in-oval illustration. Previously we scaled it to
     1100x1100 which overflowed the section; this fits the natural portrait orientation
     within the section's height so the oval is fully visible as an intentional design
     element, not a cropped artifact. */
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  /* SVG natural ratio is ~0.69 (79.84 × 115.24) — keep portrait orientation. */
  width: auto; height: 92%; aspect-ratio: 79.84 / 115.24;
  background: url("../logos/Symbol.svg") center/contain no-repeat;
  opacity: 0.07; pointer-events: none;
  filter: brightness(2);
}
.cta-band > .container { position: relative; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-6);
}
.cta-band h2 em {
  /* Group B Option 6 — single-style throughout. em renders identically to surrounding text. */
  display: inline;
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  white-space: normal;
}
.cta-band p { color: rgba(231,225,217,0.75); max-width: 56ch; margin-inline: auto; margin-bottom: var(--space-10); }

/* ============================================================
   About page
   ============================================================ */
.about-hero {
  display: grid; gap: var(--space-12);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .about-hero { grid-template-columns: 1fr 1fr; gap: var(--space-20); align-items: center; }
}
.about-hero__img {
  aspect-ratio: 4/5;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-hero__img img { width: 100%; height: 100%; object-fit: cover; }

.about-hero__copy h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1.05;
  margin-bottom: var(--space-6);
}
.about-hero__copy h1 em {
  /* Group B Option 6 — single-style throughout. em renders identically to surrounding text. */
  display: inline;
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  white-space: normal;
}
.about-hero__copy p { color: var(--color-ink-muted); line-height: 1.7; margin-bottom: var(--space-4); }

/* values grid */
.values {
  display: grid; gap: var(--space-8);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value {
  display: grid; gap: var(--space-3);
  border-top: 1px solid var(--color-line);
  padding-top: var(--space-6);
}
.value__num {
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--color-tan);
  letter-spacing: 0.1em;
}
.value h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg); font-weight: 500;
}
.value p { color: var(--color-ink-muted); line-height: 1.65; font-size: var(--text-sm); }

/* timeline */
.timeline {
  display: grid; gap: var(--space-12);
  position: relative;
  padding-left: var(--space-8);
}
.timeline::before {
  content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px;
  background: var(--color-tan);
}
.timeline li {
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: var(--space-2);
}
.timeline li::before {
  content: ""; position: absolute; left: -34px; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--color-tan);
  box-shadow: 0 0 0 4px var(--color-paper);
}
.timeline .yr {
  font-size: var(--text-xs); letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-tan-deep);
}
.timeline h4 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; }
.timeline p { color: var(--color-ink-muted); line-height: 1.6; font-size: var(--text-sm); }

/* ============================================================
   Services / What we do — long page
   ============================================================ */
.svc-block {
  display: grid; gap: var(--space-12);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) {
  .svc-block { grid-template-columns: 1fr 1.1fr; gap: var(--space-20); }
  .svc-block.reverse > :first-child { order: 2; }
}
.svc-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-tan);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}
.svc-block h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl); font-weight: 500;
  margin-bottom: var(--space-6);
}
.svc-block h2 em {
  /* Group B Option 6 — single-style throughout. em renders identically to surrounding text. */
  display: inline;
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  white-space: normal;
}
.svc-block p { color: var(--color-ink-muted); line-height: 1.7; margin-bottom: var(--space-4); }
.svc-block__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.svc-block__img img { width: 100%; height: 100%; object-fit: cover; }

.svc-list {
  display: grid; gap: var(--space-3);
  margin-top: var(--space-6);
}
.svc-list li {
  font-size: var(--text-sm); color: var(--color-ink);
  display: grid; grid-template-columns: 16px 1fr; gap: var(--space-3); align-items: baseline;
}
.svc-list li::before {
  content: ""; width: 8px; height: 1px;
  background: var(--color-tan); align-self: center;
}

/* ============================================================
   Work page
   ============================================================ */
.work-page-grid {
  display: grid; gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .work-page-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .work-page-grid { grid-template-columns: repeat(3, 1fr); } }

.work-card {
  background: var(--color-paper);
  display: grid; gap: var(--space-4);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.work-card:hover { transform: translateY(-4px); }
.work-card__img {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--color-cream);
  display: block;
}
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card:hover .work-card__img img { transform: scale(1.05); }
.work-card__meta {
  font-size: var(--text-xs);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-tan-deep);
}
.work-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg); font-weight: 500;
}
.work-card p {
  color: var(--color-ink-muted); font-size: var(--text-sm); line-height: 1.6;
}

/* v1.9.6/1.9.7: when .work-card is used as a button (the Work page tiles), give it
   proper card framing like the homepage Services capability tiles. Hyper-specific
   selectors below to ensure they win against any other matching rules. */
.page-template-page-work .work-grid button.work-card {
  background: #F4EEE3;
  border: 1px solid rgba(36,39,41,0.08);
  padding: 24px;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  position: relative;
  overflow: visible;
  isolation: auto;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.page-template-page-work .work-grid button.work-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(36,39,41,0.18);
}
.page-template-page-work .work-grid button.work-card:focus-visible {
  outline: 2px solid var(--color-tan);
  outline-offset: 4px;
}
.page-template-page-work .work-grid button.work-card .work-card__img {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-cream);
  width: 100%;
  margin: 0;
}
.page-template-page-work .work-grid button.work-card .work-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
.page-template-page-work .work-grid button.work-card:hover .work-card__img img {
  transform: scale(1.04);
}
.page-template-page-work .work-grid button.work-card .work-card__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.2;
  color: var(--color-charcoal);
  letter-spacing: -0.005em;
  margin: 0;
}

/* ============================================================
   Work page — category sections + jump nav (v1.9.2)
   ============================================================ */
.work-jumpnav {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-line);
}
.work-jumpnav a {
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--color-line);
  background: transparent;
  color: var(--color-ink-muted);
  text-decoration: none;
  transition: all .3s var(--ease);
}
.work-jumpnav a:hover {
  border-color: var(--color-charcoal);
  color: var(--color-charcoal);
  background: var(--color-cream);
}

/* Per-category section */
.work-section {
  margin-bottom: var(--space-20);
  scroll-margin-top: 96px; /* offset for sticky header on anchor jump */
}
.work-section:last-of-type { margin-bottom: 0; }
.work-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  margin-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-line);
}
.work-section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.1;
  color: var(--color-charcoal);
  letter-spacing: -0.01em;
  margin: 0;
}
.work-section__count {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-tan-deep);
  white-space: nowrap;
}

/* Legacy .work-filter — keep styles in case any old markup still uses them */
.work-filter {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-12);
}
.work-filter button {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-xs);
  letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid var(--color-line);
  background: transparent; color: var(--color-ink-muted);
  transition: all .3s var(--ease);
}
.work-filter button:hover { border-color: var(--color-tan); color: var(--color-charcoal); }
.work-filter button[aria-pressed="true"] {
  background: var(--color-charcoal); border-color: var(--color-charcoal); color: var(--color-cream);
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
  display: grid; gap: var(--space-16);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-20); } }

.contact-info { display: grid; gap: var(--space-8); }
.contact-info dl { display: grid; gap: var(--space-6); }
.contact-info dt {
  font-size: var(--text-xs); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--color-tan-deep); margin-bottom: 4px;
}
.contact-info dd {
  font-family: var(--font-display);
  font-size: var(--text-md);
}
.contact-info a { border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.contact-info a:hover { border-color: var(--color-tan); }

/* form */
.form { display: grid; gap: var(--space-6); }
.form__row {
  display: grid; gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field {
  display: grid; gap: var(--space-2);
}
.field label {
  font-size: var(--text-xs); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-tan-deep);
}
.field input, .field select, .field textarea {
  border: 0; border-bottom: 1px solid var(--color-line);
  padding: var(--space-3) 0;
  background: transparent;
  font-size: var(--text-base);
  color: var(--color-ink);
  font-family: var(--font-body);
  border-radius: 0;
  transition: border-color .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-tan);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E7063' stroke-width='1.5'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right .25rem center; background-size: 18px; padding-right: var(--space-8); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--color-charcoal);
  color: rgba(231,225,217,0.8);
  padding-block: var(--space-20) var(--space-12);
}
.footer-grid {
  display: grid; gap: var(--space-12);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-12);
}
@media (min-width: 760px) {
  /* v1.8.2 — brand-image column removed; let the Get in Touch column take full width. */
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-12); }
}
/* Hide the empty brand column so the layout collapses cleanly. */
.site-footer__brand:empty,
.site-footer__brand:not(:has(*)) { display: none; }
.footer-grid h4 {
  font-size: var(--text-xs); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--color-tan); margin-bottom: var(--space-6);
}
.footer-grid li { margin-bottom: var(--space-2); font-size: var(--text-sm); }
.footer-grid li a { transition: color .3s var(--ease); }
.footer-grid li a:hover { color: var(--color-cream); }

.site-footer__brand p {
  color: rgba(231,225,217,0.7); margin-top: var(--space-4); font-size: var(--text-sm); line-height: 1.6;
  max-width: 38ch;
}
.site-footer__brand img { width: 180px; height: auto; display: block; margin-bottom: var(--space-6); }
.site-footer__logo { /* Wordmark with built-in cream panel — reads well on the charcoal footer. */ }

.footer-bottom {
  border-top: 1px solid rgba(231,225,217,0.1);
  padding-top: var(--space-6);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(231,225,217,0.55);
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ============================================================
   Page hero (sub-pages)
   ============================================================ */
.page-hero {
  padding-block: clamp(var(--space-20), 12vw, var(--space-32)) clamp(var(--space-12), 6vw, var(--space-20));
  background:
    radial-gradient(ellipse 900px 500px at 50% 0%, rgba(190,160,121,0.16), transparent 70%),
    var(--color-paper);
  text-align: center;
}
.page-hero .eyebrow { color: var(--color-tan-deep); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl); font-weight: 500;
  margin-block: var(--space-4) var(--space-4);
}
.page-hero h1 em {
  /* Group B Option 6 — single-style throughout. em renders identically to surrounding text. */
  display: inline;
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  white-space: normal;
}
.page-hero p {
  color: var(--color-ink-muted);
  /* Tightened per client (Jun 2026) — subtext should not extend past CTAs. */
  max-width: 42ch; margin-inline: auto;
  line-height: 1.65;
}

/* ============================================================
   ADDITIONS: Image page heroes, mid-page CTAs, contact float
   ============================================================ */

/* ---- Page hero with full-bleed image ---- */
.page-hero--image {
  position: relative;
  padding: 0;
  background-color: var(--color-charcoal);
  background-image: var(--ph-image);
  background-size: cover;
  background-position: var(--ph-position, center 40%);
  background-repeat: no-repeat;
  text-align: left;
  overflow: hidden;
  min-height: clamp(360px, 56vh, 580px);
  display: flex;
  align-items: flex-end;
  color: var(--color-cream);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
.page-hero--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* Vertical: stronger bottom-to-top wash so the bottom-anchored text always reads */
    linear-gradient(180deg, rgba(20,22,24,0.45) 0%, rgba(20,22,24,0.25) 35%, rgba(20,22,24,0.7) 70%, rgba(20,22,24,0.92) 100%),
    /* Horizontal: keep the left side darker than the right for depth */
    linear-gradient(90deg, rgba(20,22,24,0.78) 0%, rgba(20,22,24,0.55) 35%, rgba(20,22,24,0.18) 65%, rgba(20,22,24,0) 100%);
  z-index: 1;
}
/* Mobile: replace the directional gradients with a solid wash since the text spans full width and sits on the imagery directly. */
@media (max-width: 760px) {
  .page-hero--image::after {
    background:
      linear-gradient(180deg, rgba(20,22,24,0.5) 0%, rgba(20,22,24,0.6) 50%, rgba(20,22,24,0.78) 100%);
  }
}
.page-hero--image > .container {
  position: relative;
  z-index: 2;
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  width: 100%;
}
.page-hero--image .eyebrow {
  color: var(--color-tan);
  text-align: left;
}
.page-hero--image h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--color-cream);
  margin-block: var(--space-4) var(--space-6);
  letter-spacing: -0.01em;
  max-width: 16ch;
  text-shadow: 0 2px 18px rgba(20,22,24,0.55);
  /* Prevent orphans where a single word breaks to its own line */
  text-wrap: balance;
}
.page-hero--image h1 em {
  /* Group B Option 6 — single-style throughout. em renders identically to surrounding text. */
  display: inline;
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  white-space: normal;
}
/* On narrower viewports, allow the em to wrap if it's too wide to fit on one line. */
@media (max-width: 700px) {
}
.page-hero--image p {
  color: rgba(245, 240, 232, 0.95);
  /* Tightened from 56ch per client (Jun 2026) — subtext should not extend past the CTAs below. */
  max-width: 38ch;
  margin-inline: 0;
  line-height: 1.65;
  font-size: 1.05rem;
  text-shadow: 0 1px 12px rgba(20,22,24,0.6);
}
@media (max-width: 760px) {
  .page-hero--image p {
    font-size: 1rem;
    line-height: 1.55;
    color: #f5f0e8;
    max-width: 34ch;
  }
}
.page-hero--image .page-hero__actions {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ---- Mid-page CTA strip (lighter than .cta-band) ---- */
.cta-strip {
  background: var(--color-charcoal);
  color: var(--color-cream);
  /* Bumped from clamp(10,5vw,14) to give a little more breathing room top/bottom */
  padding-block: clamp(var(--space-12), 5.5vw, var(--space-16));
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 700px 320px at 50% 0%, rgba(190,160,121,0.16), transparent 70%);
  pointer-events: none;
}
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
  position: relative;
}
.cta-strip__copy { flex: 1 1 360px; }
.cta-strip h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-cream);
  margin-bottom: var(--space-2);
}
.cta-strip h3 em {
  /* Group B Option 6 — single-style throughout. em renders identically to surrounding text. */
  display: inline;
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  white-space: normal;
}
.cta-strip p {
  color: rgba(231,225,217,0.78);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
  max-width: 56ch;
}
.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
@media (max-width: 760px) {
  .cta-strip {
    padding-block: var(--space-12);
  }
  .cta-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
  }
  /* CRITICAL: in column flex, `flex: 1 1 360px` was forcing a 360px MIN HEIGHT on the copy block, creating a huge empty gap. Reset to natural sizing. */
  .cta-strip__copy { flex: 0 0 auto; }
  .cta-strip__actions { flex: 0 0 auto; width: 100%; flex-direction: column; align-items: stretch; gap: var(--space-3); }
  .cta-strip__actions .btn { justify-content: center; text-align: center; }
  .cta-strip h3 {
    font-size: 1.55rem;
    margin-bottom: var(--space-3);
  }
  .cta-strip p {
    font-size: 0.95rem;
    margin-bottom: 0;
  }
}

/* ---- Cream variant of CTA strip (for cream sections) ---- */
.cta-strip--cream {
  background: var(--color-cream);
  color: var(--color-ink);
  border-block: 1px solid rgba(36,39,41,0.08);
}
.cta-strip--cream::before {
  background: radial-gradient(ellipse 700px 320px at 50% 0%, rgba(94,112,99,0.08), transparent 70%);
}
.cta-strip--cream h3 { color: var(--color-ink); }
/* removed — Group B Option 6 single-style means no color shift on em */
.cta-strip--cream p { color: var(--color-ink-muted); }

/* ---- Floating quick-contact pill (text/call) ---- */
.quick-contact {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}
.quick-contact__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: var(--color-charcoal);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 32px rgba(36,39,41,0.22), 0 4px 10px rgba(36,39,41,0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: 1px solid rgba(231,225,217,0.12);
}
.quick-contact__pill:hover {
  transform: translateY(-2px);
  background: #1a1c1e;
  box-shadow: 0 18px 38px rgba(36,39,41,0.28), 0 6px 12px rgba(36,39,41,0.18);
  color: var(--color-tan);
}
.quick-contact__pill svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.quick-contact__pill--secondary {
  background: var(--color-cream);
  color: var(--color-ink);
  border-color: rgba(36,39,41,0.08);
}
.quick-contact__pill--secondary:hover {
  background: #fff;
  color: var(--color-tan-deep);
}
@media (max-width: 540px) {
  .quick-contact__pill { padding: 0.75rem 1rem; font-size: 0.78rem; }
  .quick-contact__pill .quick-contact__label { display: none; }
  .quick-contact__pill svg { width: 18px; height: 18px; }
}

/* Hide quick-contact on contact page (it's the page itself) */
body.is-contact .quick-contact { display: none; }

/* ---- Founder section reused on home (image path adjusted) ---- */
.home-founder {
  background: var(--color-paper);
}


/* ============================================================
   WORDPRESS THEME ADDITIONS
   ============================================================ */

/* ---- Home: Capabilities grid ---- */
.capabilities-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .capabilities-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
}
.capability {
  background: var(--color-paper);
  padding: var(--space-6);
  border: 1px solid rgba(36,39,41,0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.capability__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.capability__link:hover { color: inherit; }
.capability:has(.capability__link:hover) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(36,39,41,0.18);
}
.capability__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: var(--space-5);
  background: var(--color-charcoal);
}
.capability__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.capability:has(.capability__link:hover) .capability__img img { transform: scale(1.04); }
.capability h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.capability p {
  font-size: 0.95rem;
  color: var(--color-ink-muted);
  line-height: 1.65;
}

/* ---- Services: "What we deliver" lists ---- */
.svc-includes {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(36,39,41,0.1);
}
.svc-includes h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--color-tan-deep);
  margin-bottom: var(--space-4);
}
.svc-includes ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
}
@media (min-width: 720px) {
  .svc-includes ul { grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-8); }
}
.svc-includes li {
  font-size: 0.95rem;
  color: var(--color-ink-muted);
  padding-left: var(--space-4);
  position: relative;
  line-height: 1.5;
}
.svc-includes li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--color-tan-deep);
  font-weight: 700;
}

/* ---- Work page: tile pillar/title/meta captions ---- */
/* Override the 6-col homepage collage layout for the work page.
   v1.9.7: explicit pixel gaps to defeat any cached or conflicting CSS. */
.page-template-page-work .work-grid {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 28px;
}
@media (min-width: 640px) {
  .page-template-page-work .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
@media (min-width: 960px) {
  .page-template-page-work .work-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
}

/* Defensive: hide legacy tile-overlay markup if any browser is caching the old HTML. */
.work-tile__title-overlay,
.work-grid .tile-overlay,
.tile-pillar, .tile-title, .tile-meta { display: none; }

/* ============================================================
   Work lightbox modal — gallery-aware (per client Jun 2026)
   Arrows navigate WITHIN a project's photos; X (or Esc, or backdrop) closes.
   ============================================================ */
.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20,22,24,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) var(--space-8);
  gap: var(--space-4);
}
.work-lightbox[hidden] { display: none; }
.work-lightbox__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
}
@media (min-width: 880px) {
  .work-lightbox__inner {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-12);
    align-items: center;
  }
}
.work-lightbox__media {
  position: relative;
  background: var(--color-charcoal);
  overflow: hidden;
  aspect-ratio: 4/3;
  max-height: 80vh;
}
.work-lightbox__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.work-lightbox__copy {
  color: var(--color-cream);
}
.work-lightbox__pillar {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-tan);
  margin-bottom: var(--space-4);
}
.work-lightbox__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--space-4);
  color: var(--color-cream);
}
/* Photo counter (e.g. "2 / 5") sits at the bottom-right of the media area */
.work-lightbox__counter {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-4);
  background: rgba(20,22,24,0.7);
  color: var(--color-cream);
  padding: 4px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  border-radius: 999px;
  pointer-events: none;
}
/* v1.9.4: Close button lives in its own header row above the inner content.
   Static positioning (not absolute) means it CANNOT overlap the photo or any nav.
   v1.9.5: tweaked internal spacing — even padding around × and "Close" label. */
.work-lightbox__header {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}
.work-lightbox__close {
  background: var(--color-cream);
  border: none;
  color: var(--color-charcoal);
  height: 48px;
  padding: 0 var(--space-6);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  /* Roomier gap between × and label, and the parent padding gives both sides equal breathing room */
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.work-lightbox__close-icon {
  /* Icon optically slightly off — nudge it for true visual centering with the label */
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  margin-top: -1px;
}
.work-lightbox__close-label {
  line-height: 1;
}
.work-lightbox__close:hover {
  background: var(--color-tan);
  color: var(--color-charcoal);
  transform: scale(1.05);
}
/* Photo nav arrows — anchored to the media area, so they're contextually inside the image */
.work-lightbox__photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20,22,24,0.55);
  border: 1px solid rgba(245,240,232,0.22);
  color: var(--color-cream);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 2;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.work-lightbox__photo-nav:hover {
  background: rgba(20,22,24,0.85);
  border-color: var(--color-tan);
}
.work-lightbox__photo-nav--prev { left: var(--space-3); }
.work-lightbox__photo-nav--next { right: var(--space-3); }
@media (max-width: 700px) {
  .work-lightbox { padding: var(--space-4); }
  .work-lightbox__inner { gap: var(--space-5); max-height: none; }
  .work-lightbox__media { aspect-ratio: 4/3; max-height: 50vh; }
  .work-lightbox__photo-nav { width: 38px; height: 38px; font-size: 1rem; }
  .work-lightbox__photo-nav--prev { left: var(--space-2); }
  .work-lightbox__photo-nav--next { right: var(--space-2); }
}

/* ---- Work disclaimer ---- */
.work-disclaimer {
  text-align: center;
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid rgba(36,39,41,0.1);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-ink-muted);
  max-width: 60ch;
  margin-inline: auto;
  line-height: 1.7;
}

/* ---- Photo strip ---- */
.photo-strip {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}
.photo-strip figure {
  margin: 0;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.photo-strip img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ---- Contact form wrapper (Gravity Forms) ---- */
.contact-form-wrap { padding: 0; }
.contact-form-wrap .gform_wrapper input[type="text"],
.contact-form-wrap .gform_wrapper input[type="email"],
.contact-form-wrap .gform_wrapper input[type="tel"],
.contact-form-wrap .gform_wrapper textarea,
.contact-form-wrap .gform_wrapper select {
  border: none !important;
  border-bottom: 1px solid rgba(36,39,41,0.2) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: var(--space-3) 0 !important;
  font-family: var(--font-body);
  font-size: 1rem;
}
.contact-form-wrap .gform_wrapper input:focus,
.contact-form-wrap .gform_wrapper textarea:focus,
.contact-form-wrap .gform_wrapper select:focus {
  outline: none;
  border-bottom-color: var(--color-tan-deep) !important;
}
.contact-form-wrap .gform_wrapper label {
  font-size: 0.7rem !important;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-tan-deep) !important;
  font-weight: 500 !important;
}
.contact-form-wrap .gform_button {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-8) !important;
  font-size: var(--text-xs) !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.22em !important;
  border: 1px solid var(--color-charcoal) !important;
  background: var(--color-charcoal) !important;
  color: var(--color-cream) !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease) !important;
}
.contact-form-wrap .gform_button:hover {
  background: transparent !important;
  color: var(--color-charcoal) !important;
}
