/* =============================================================
   Pimâtisiwin Transitions Incorporated — Main Stylesheet
   WCAG 2.1 AA · Mobile-first · Accessible · High-contrast ready
   ============================================================= */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  /* Brand greens */
  --green-950: #091A14;
  --green-900: #0F2620;
  --green-800: #1F3D32;
  --green-700: #2E5547;
  --green-600: #3D6E5C;
  --green-500: #5A7E6F;
  --green-300: #8CAAA0;
  --green-100: #D8E8E3;

  /* Warm creams */
  --cream-50:  #FDFAF4;
  --cream:     #F4EFE3;
  --cream-100: #FAF6EB;
  --cream-200: #EDE6D3;

  /* Terra-cotta accent */
  --terra:      #B6533A;
  --terra-deep: #8E3E2A;
  --terra-mid:  #C96A4D;
  --terra-light:#E8B5A1;
  --terra-pale: #F5DDD5;

  /* Neutrals */
  --ink:       #1A1814;
  --ink-muted: #3D3830;
  --muted:     #6B6359;
  --rule:      #D9D2BE;
  --rule-dark: #B8B0A0;

  /* Focus ring */
  --focus-ring: #B6533A;

  /* Layout */
  --maxw:    1240px;
  --gutter:  clamp(20px, 4vw, 56px);
  --section: clamp(72px, 10vw, 140px);

  /* Transition speed */
  --speed: 0.28s;
  --ease:  cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── High-contrast theme ───────────────────────────────────── */
[data-theme="high-contrast"] {
  --cream-50:  #FFFFFF;
  --cream:     #FFFFFF;
  --cream-100: #FFFFFF;
  --cream-200: #F0F0EE;
  --ink:       #000000;
  --ink-muted: #111111;
  --muted:     #2A2A2A;
  --green-900: #00291A;
  --green-800: #003D26;
  --green-700: #005233;
  --green-500: #006B40;
  --terra:     #8B2500;
  --terra-deep:#6B1800;
  --terra-mid: #A03000;
  --terra-light:#D47060;
  --rule:      #999;
  --rule-dark: #666;
}

/* ── Large-text modes ──────────────────────────────────────── */
[data-text="lg"]  { font-size: 20px; }
[data-text="xl"]  { font-size: 24px; }

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}
body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; }
input, textarea, select { font: inherit; }

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── Focus & Skip link ─────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  padding: 14px 28px;
  background: var(--green-900);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  transition: top 0.25s var(--ease);
  white-space: nowrap;
}
.skip-link:focus { top: 0; }

/* ── Accessibility Widget ──────────────────────────────────── */
.a11y-bar {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.a11y-toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--cream);
  border: 2px solid rgba(244,239,227,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(15,38,32,.35);
  transition: background var(--speed), transform var(--speed);
  flex-shrink: 0;
}
.a11y-toggle:hover { background: var(--green-700); transform: scale(1.05); }
.a11y-toggle svg { width: 22px; height: 22px; pointer-events: none; }

.a11y-panel {
  background: var(--green-900);
  border: 1px solid rgba(244,239,227,.15);
  border-radius: 8px;
  padding: 20px 18px;
  min-width: 200px;
  box-shadow: 0 8px 40px rgba(9,26,20,.5);
  display: none;
  flex-direction: column;
  gap: 16px;
}
.a11y-panel.open { display: flex; }

.a11y-panel h3 {
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra-light);
  font-variation-settings: unset;
  margin-bottom: 4px;
}
.a11y-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.a11y-group label {
  font-size: 0.8rem;
  color: rgba(244,239,227,.7);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
  display: block;
}
.a11y-btns {
  display: flex;
  gap: 6px;
}
.a11y-btns button {
  flex: 1;
  padding: 8px 4px;
  background: rgba(244,239,227,.08);
  color: var(--cream);
  border: 1px solid rgba(244,239,227,.15);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: background var(--speed), border-color var(--speed);
}
.a11y-btns button:hover,
.a11y-btns button[aria-pressed="true"] {
  background: var(--terra);
  border-color: var(--terra);
}

/* ── Typography ────────────────────────────────────────────── */
.serif {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
h1,h2,h3,h4,h5 {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
  color: var(--green-900);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 7vw, 6.2rem);  letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem);  letter-spacing: -0.02em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; line-height: 1.3; }
h5 { font-size: 1rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--green-800);
  text-decoration: underline;
  text-decoration-color: rgba(31,61,50,.28);
  text-underline-offset: 3px;
  transition: color var(--speed), text-decoration-color var(--speed);
}
a:hover { color: var(--terra-deep); text-decoration-color: var(--terra); }

.eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra-deep);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--terra);
  flex-shrink: 0;
}

.section-num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ── Layout ────────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section) 0; position: relative; }

hr.rule {
  border: 0;
  height: 1px;
  background: var(--rule);
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
hr.rule::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 9px; height: 9px;
  background: var(--cream);
  border: 1px solid var(--rule);
  transform: translate(-50%,-50%) rotate(45deg);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  transition: background var(--speed), transform var(--speed), box-shadow var(--speed);
  cursor: pointer;
}
.btn-primary {
  background: var(--terra);
  color: var(--cream);
  box-shadow: 0 2px 12px rgba(182,83,58,.28);
}
.btn-primary:hover {
  background: var(--terra-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(142,62,42,.38);
  color: var(--cream);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--green-800);
  border: 1.5px solid var(--green-700);
}
.btn-outline:hover {
  background: var(--green-800);
  color: var(--cream);
  border-color: var(--green-800);
  text-decoration: none;
}
.btn-ghost-light {
  background: rgba(244,239,227,.12);
  color: var(--cream);
  border: 1px solid rgba(244,239,227,.25);
}
.btn-ghost-light:hover {
  background: rgba(244,239,227,.22);
  color: var(--cream);
  text-decoration: none;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── Navigation ────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(244,239,227,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217,210,190,.55);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.brand {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--green-900);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand:hover { color: var(--green-700); text-decoration: none; }
.brand-mark { width: 24px; height: 24px; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name .name { font-size: 1rem; }
.brand-name .sub {
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-800);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 1.5px;
  background: var(--terra);
  transition: width var(--speed) var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--green-900); }

.nav-cta {
  flex-shrink: 0;
  padding: 11px 20px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

/* Mobile nav */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--rule-dark);
  border-radius: 4px;
  padding: 8px 10px;
  color: var(--green-900);
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--speed), opacity var(--speed);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--green-900);
  padding: 24px var(--gutter) 32px;
  border-top: 1px solid rgba(244,239,227,.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--cream);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(244,239,227,.1);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.mobile-nav a:hover { color: var(--terra-light); }
.mobile-nav a:last-child { border-bottom: none; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}
@media (min-width: 881px) {
  .mobile-nav { display: none !important; }
}

/* ── Page hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 7vw, 96px);
  background:
    radial-gradient(100% 60% at 0% 0%, rgba(31,61,50,.08) 0%, transparent 60%),
    radial-gradient(80% 50% at 100% 100%, rgba(182,83,58,.07) 0%, transparent 55%),
    var(--cream);
  border-bottom: 1px solid var(--rule);
}
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); max-width: 18ch; }
.page-hero .lede {
  margin-top: 28px;
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  color: var(--green-700);
  max-width: 52ch;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}

/* ── Hero (homepage) — full-bleed bridge background ─────────── */
.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

/* ── Background image ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  filter: saturate(0.88) brightness(0.82);
}

/* Multi-layer gradient: dark left panel + subtle top vignette */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* Strong left-to-right — makes text legible */
    linear-gradient(100deg,
      rgba(9,26,20,.96)  0%,
      rgba(9,26,20,.88) 28%,
      rgba(9,26,20,.60) 48%,
      rgba(9,26,20,.20) 68%,
      transparent        85%
    ),
    /* Top vignette */
    linear-gradient(180deg,
      rgba(9,26,20,.45) 0%,
      transparent 28%
    ),
    /* Bottom vignette */
    linear-gradient(0deg,
      rgba(9,26,20,.55) 0%,
      transparent 30%
    );
}

/* ── Location badge — bottom-right of hero ── */
.hero-location {
  position: absolute;
  bottom: 28px;
  right: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(244,239,227,.65);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-location::before {
  content: "";
  width: 20px;
  height: 1px;
  background: rgba(244,239,227,.4);
  display: inline-block;
}

/* ── Content — left-aligned, above overlay ── */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 96px) var(--gutter) clamp(48px, 6vw, 64px);
}

@media (min-width: 720px) {
  .hero-content { max-width: 56ch; }
}

/* On wide screens, left-align to the content max-width grid */
@media (min-width: 1100px) {
  .hero-content {
    max-width: none;
    padding-left: clamp(40px, 6vw, 88px);
    padding-right: 0;
  }
  .hero-content-inner { max-width: 52ch; }
}

.hero-content-inner { max-width: 100%; }

/* ── Text — light on dark ── */
.hero .eyebrow {
  color: var(--terra-light);
  margin-bottom: 1.2rem;
}
.hero .eyebrow::before { background: var(--terra-light); }

.hero h1 .line-a {
  display: block;
  color: var(--cream);
  -webkit-text-fill-color: var(--cream);
}
.hero h1 .line-b {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--terra-light);
  -webkit-text-fill-color: var(--terra-light);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  margin-top: 0.04em;
}

.pronounce {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: rgba(244,239,227,.1);
  border: 1px solid rgba(244,239,227,.22);
  border-radius: 999px;
  font-size: 0.81rem;
  color: rgba(244,239,227,.82);
  letter-spacing: 0.02em;
  max-width: 100%;
}
.pronounce svg { width: 14px; height: 14px; flex-shrink: 0; opacity: .7; }
.pronounce strong { color: var(--cream); }
.pronounce em { font-family: "Fraunces", serif; font-style: italic; color: var(--terra-light); }

.hero-lede {
  margin-top: 24px;
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.6;
  color: rgba(244,239,227,.82);
  max-width: 42ch;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Meta strip — light on dark ── */
.hero-meta-strip {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(244,239,227,.18);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  max-width: 44ch;
}
.hero-meta-strip dt {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,239,227,.45);
  margin-bottom: 3px;
  font-weight: 700;
}
.hero-meta-strip dd {
  font-family: "Fraunces", serif;
  font-size: 0.95rem;
  color: rgba(244,239,227,.88);
  font-variation-settings: "opsz" 144, "SOFT" 40;
}

@media (max-height: 680px) {
  .hero-meta-strip { display: none; }
}

.hero-meta { display: none; }
/* ── No photo panel in this layout ── */
.hero-photo, .hero-inner { display: contents; }

.scroll-cue {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244,239,227,.45);
}
.scroll-cue .line {
  width: 40px;
  height: 1px;
  background: rgba(244,239,227,.3);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: var(--terra-light);
  animation: line-slide 2.4s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes line-slide {
  0%  { left: -100%; }
  50% { left: 100%; }
  100%{ left: 100%; }
}

/* ── About (homepage teaser) ───────────────────────────────── */
.about-bg { background: var(--cream-100); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1.3fr; gap: 120px; }
}
.about-body {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--ink);
  max-width: 58ch;
}
.about-body p:first-child {
  font-family: "Fraunces", serif;
  font-size: 1.38rem;
  line-height: 1.5;
  font-weight: 300;
  color: var(--green-900);
  font-variation-settings: "opsz" 144, "SOFT" 60;
  margin-bottom: 1.3em;
}
.drop-cap::first-letter {
  font-family: "Fraunces", serif;
  font-size: 5rem;
  font-weight: 400;
  line-height: 0.82;
  float: left;
  margin: 0.06em 0.12em -0.05em 0;
  color: var(--terra);
  font-variation-settings: "opsz" 144, "SOFT" 0;
}
.about-aside {
  padding: 36px;
  background: var(--cream-200);
  border-left: 3px solid var(--terra);
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--green-900);
  font-variation-settings: "opsz" 144, "SOFT" 70;
  margin-top: 32px;
  max-width: 44ch;
}
.about-aside cite {
  display: block;
  margin-top: 16px;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra-deep);
}

/* ── Services ──────────────────────────────────────────────── */
.svc-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 80px;
}
@media (min-width: 900px) {
  .svc-intro { grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
}
.svc-intro-desc { font-size: 1.05rem; color: var(--muted); max-width: 48ch; }

.svc-list { border-top: 1px solid var(--rule); }
.svc-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 28px;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: padding-left var(--speed) var(--ease);
  cursor: default;
}
@media (min-width: 780px) {
  .svc-item { grid-template-columns: 90px 1fr 1.1fr; gap: 48px; }
}
.svc-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 100%;
  background: linear-gradient(90deg, var(--terra), transparent);
  opacity: .05;
  transition: width 0.4s var(--ease);
}
.svc-item:hover { padding-left: 12px; }
.svc-item:hover::before { width: 35%; }
.svc-num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--terra);
  font-weight: 500;
  padding-top: 6px;
  user-select: none;
}
.svc-item h3 {
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  color: var(--green-900);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  margin-bottom: 14px;
}
.svc-item p { color: var(--ink-muted); max-width: 52ch; }
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.svc-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--terra-pale);
  color: var(--terra-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
}
@media (max-width: 779px) {
  .svc-item p, .svc-tags { margin-top: 12px; }
}

/* Services — detail page cards */
.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 72px;
}
@media (min-width: 720px) {
  .svc-detail-grid { grid-template-columns: repeat(2,1fr); }
}
.svc-card {
  padding: 44px 40px;
  border: 1px solid var(--rule);
  background: var(--cream-100);
  position: relative;
  transition: box-shadow var(--speed), transform var(--speed);
}
.svc-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--terra);
  transition: height 0.45s var(--ease);
}
.svc-card:hover::before { height: 100%; }
.svc-card:hover { box-shadow: 0 8px 40px rgba(31,61,50,.1); transform: translateY(-2px); }
.svc-card-num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 3rem;
  color: var(--terra-pale);
  line-height: 1;
  margin-bottom: 16px;
  font-weight: 400;
}
.svc-card h3 { font-size: 1.55rem; margin-bottom: 16px; }
.svc-card p { color: var(--muted); font-size: 0.97rem; line-height: 1.72; }
.svc-card ul {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-card ul li {
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.svc-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 10px; height: 1px;
  background: var(--terra);
}

/* ── Approach (dark section) ───────────────────────────────── */
.approach-bg {
  background: var(--green-900);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.approach-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(182,83,58,.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(90,126,111,.14) 0%, transparent 60%);
  pointer-events: none;
}
.approach-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0, transparent 79px,
      rgba(244,239,227,.03) 79px, rgba(244,239,227,.03) 80px);
  pointer-events: none;
}
.approach-bg .wrap { position: relative; z-index: 2; }
.approach-bg h2 { color: var(--cream); }
.approach-bg .eyebrow { color: var(--terra-light); }
.approach-bg .eyebrow::before { background: var(--terra-light); }
.approach-bg .section-num { color: rgba(244,239,227,.55); }

.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 64px;
}
@media (min-width: 600px) { .principles { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1080px) { .principles { grid-template-columns: repeat(4,1fr); } }
.principle {
  padding: 36px 32px 36px 0;
  border-top: 1px solid rgba(244,239,227,.15);
  border-right: 1px solid rgba(244,239,227,.15);
}
.principle:last-child { border-right: none; }
@media (max-width: 1079px) { .principle { border-right: none; } }
.principle-num {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--terra-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: block;
}
.principle h4 {
  font-family: "Fraunces", serif;
  font-size: 1.42rem;
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.principle p { color: rgba(244,239,227,.76); font-size: 0.95rem; line-height: 1.65; }

/* ── Region ─────────────────────────────────────────────────── */
.region-bg { background: var(--cream-200); position: relative; overflow: hidden; }
.region-bg::before {
  content: "";
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: 620px; height: 620px; max-width: 90vw; max-height: 90vw;
  border-radius: 50%;
  border: 1px solid rgba(31,61,50,.1);
  pointer-events: none;
}
.region-bg::after {
  content: "";
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px; max-width: 70vw; max-height: 70vw;
  border-radius: 50%;
  border: 1px solid rgba(31,61,50,.08);
  pointer-events: none;
}
.region-bg .wrap { position: relative; z-index: 2; }
.region-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 900px) {
  .region-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.places-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px 24px;
}
.places-list li {
  font-family: "Fraunces", serif;
  font-size: 1.08rem;
  color: var(--green-900);
  padding-left: 18px;
  position: relative;
  line-height: 1.3;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.places-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.68em;
  width: 9px; height: 1px;
  background: var(--terra);
}

/* ── Founder ────────────────────────────────────────────────── */
.founder-bg { background: var(--cream-100); }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 900px) {
  .founder-grid { grid-template-columns: 0.85fr 1.5fr; gap: 88px; }
}
.portrait {
  aspect-ratio: 4/5;
  border-radius: 3px;
  background: var(--cream-200);
  position: relative;
  overflow: hidden;
}
/* Fallback if no photo — hide initials span */
.portrait-initials { display: none; }

/* Real photo fills the frame */
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 3px;
}
/* Subtle gradient vignette over the photo */
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(15,38,32,.05) 0%,
      transparent 40%,
      rgba(15,38,32,.32) 100%);
  pointer-events: none;
  border-radius: 3px;
}
.portrait-cap {
  position: absolute;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,239,227,.92);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 4px rgba(9,26,20,.5);
}
.portrait-cap::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--terra-light);
}

.founder-role {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra-deep);
  font-weight: 700;
  margin: 8px 0 28px;
}
.founder-quote {
  margin-top: 40px;
  padding: 28px 0 0 32px;
  border-left: 2.5px solid var(--terra);
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--green-900);
  font-weight: 300;
  max-width: 50ch;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}
.founder-quote footer {
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-top: 14px;
  background: none;
  padding: 0;
  border: none;
}

/* ── Stats bar ──────────────────────────────────────────────── */
.stats-bg { background: var(--green-800); color: var(--cream); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-item {
  padding: 48px 32px;
  border-right: 1px solid rgba(244,239,227,.12);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
@media (max-width: 639px) {
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(244,239,227,.12); }
}
.stat-num {
  font-family: "Fraunces", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-num sup {
  font-size: 0.55em;
  vertical-align: super;
  color: var(--terra-light);
}
.stat-label {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,239,227,.6);
  font-weight: 600;
  line-height: 1.4;
}

/* ── Contact CTA (dark) ────────────────────────────────────── */
.contact-bg {
  background: var(--green-900);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.contact-bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(182,83,58,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 0% 0%, rgba(90,126,111,.1) 0%, transparent 60%);
  pointer-events: none;
}
.contact-bg .wrap { position: relative; z-index: 2; }
.contact-bg h2 { color: var(--cream); }
.contact-bg .eyebrow { color: var(--terra-light); }
.contact-bg .eyebrow::before { background: var(--terra-light); }
.contact-bg .section-num { color: rgba(244,239,227,.55); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 60px;
}
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: repeat(3,1fr); gap: 48px; }
}
.contact-card h4 {
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra-light);
  margin-bottom: 16px;
}
.contact-card a,
.contact-card address {
  font-family: "Fraunces", serif;
  font-style: normal;
  font-size: 1.2rem;
  color: var(--cream);
  text-decoration: none;
  line-height: 1.5;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  display: block;
}
.contact-card a {
  text-decoration: underline;
  text-decoration-color: rgba(244,239,227,.25);
  text-underline-offset: 4px;
}
.contact-card a:hover {
  text-decoration-color: var(--terra-light);
  color: var(--terra-light);
}

.cta-block {
  margin-top: 72px;
  padding: 48px;
  border: 1px solid rgba(244,239,227,.15);
  background: rgba(244,239,227,.04);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 700px) {
  .cta-block { grid-template-columns: 2fr 1fr; gap: 40px; }
}
.cta-block p {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--cream);
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}

/* ── Contact Form (contact page) ───────────────────────────── */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
@media (min-width: 900px) {
  .contact-page-grid { grid-template-columns: 1.4fr 1fr; gap: 80px; }
}

.form-wrap {
  background: var(--cream-100);
  padding: 48px 44px;
  border: 1px solid var(--rule);
}
@media (max-width: 560px) { .form-wrap { padding: 32px 24px; } }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (min-width: 560px) {
  .form-row.two-col { grid-template-columns: 1fr 1fr; }
}

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-800);
}
.form-field label .req {
  color: var(--terra);
  margin-left: 3px;
  font-size: 0.9em;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 13px 16px;
  background: var(--cream-50);
  border: 1.5px solid var(--rule-dark);
  border-radius: 2px;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color var(--speed), box-shadow var(--speed);
  -webkit-appearance: none;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(31,61,50,.12);
}
.form-field input.error,
.form-field select.error,
.form-field textarea.error {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(182,83,58,.12);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6359' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}
.field-error {
  font-size: 0.78rem;
  color: var(--terra-deep);
  font-weight: 600;
  display: none;
}
.field-error.visible { display: block; }

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.55;
}
.form-success {
  display: none;
  padding: 28px 32px;
  background: rgba(46,85,71,.1);
  border: 1px solid var(--green-700);
  border-radius: 2px;
  color: var(--green-800);
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.form-success.visible { display: block; }

/* Honeypot */
.hp-field { display: none !important; visibility: hidden; }

/* Contact sidebar info */
.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.ci-block h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.ci-block .val {
  font-family: "Fraunces", serif;
  font-size: 1.22rem;
  color: var(--green-900);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  line-height: 1.45;
  text-decoration: none;
  display: block;
}
a.ci-val { text-decoration: underline; text-decoration-color: rgba(31,61,50,.25); text-underline-offset: 3px; }
a.ci-val:hover { color: var(--terra-deep); text-decoration-color: var(--terra); }
.ci-block .note {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── About page — values ────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 64px;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px) { .values-grid { grid-template-columns: repeat(3,1fr); } }
.value-card {
  padding: 36px 32px;
  background: var(--cream-100);
  border-top: 3px solid var(--terra);
}
.value-card h4 {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--green-900);
  margin-bottom: 12px;
}
.value-card p { font-size: 0.96rem; color: var(--muted); line-height: 1.7; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 56px; }
details.faq-item {
  border-bottom: 1px solid var(--rule);
}
details.faq-item:first-child { border-top: 1px solid var(--rule); }
details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: "Fraunces", serif;
  font-size: 1.22rem;
  font-weight: 400;
  color: var(--green-900);
  cursor: pointer;
  list-style: none;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  transition: color var(--speed);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  color: var(--terra);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--speed) var(--ease);
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item summary:hover { color: var(--terra-deep); }
.faq-body {
  padding: 0 0 28px 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 70ch;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--green-950);
  color: rgba(244,239,227,.6);
  padding: 56px 0 40px;
  border-top: 1px solid rgba(244,239,227,.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand .brand-mark { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.footer-name {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  color: rgba(244,239,227,.9);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.footer-name small {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,239,227,.45);
  margin-top: 3px;
}
.land-ack {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  color: rgba(244,239,227,.72);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 48ch;
  font-variation-settings: "opsz" 144, "SOFT" 70;
}
.footer-col h5 {
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,239,227,.45);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(244,239,227,.65);
  text-decoration: none;
  transition: color var(--speed);
}
.footer-col a:hover { color: var(--terra-light); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(244,239,227,.08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  font-size: 0.76rem;
  color: rgba(244,239,227,.4);
}
.footer-bottom a { color: rgba(244,239,227,.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--terra-light); }

/* ── Reveal animation ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* ── Utilities ──────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-muted { color: var(--muted); }
.text-terra { color: var(--terra); }
.italic-soft { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 80; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }

/* ── Print ──────────────────────────────────────────────────── */
@media print {
  .site-nav, .a11y-bar, .menu-toggle, .scroll-cue, .reveal { display: block !important; opacity: 1 !important; transform: none !important; }
  .hero { padding: 32px 0; }
  .hero::before, .approach-bg::before, .approach-bg::after,
  .region-bg::before, .region-bg::after { display: none; }
  a { text-decoration: underline; }
  .btn { border: 1px solid currentColor; }
  .contact-bg, .approach-bg, .stats-bg { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
