/* ==========================================================================
   JADE COLLECTIVE INTERIORS
   Design system — Colorado interior design studio
   Palette: deep jade / warm cream / terracotta / brass
   Type: Playfair Display (display, harmonises with the wordmark) + Mulish (text)
   ========================================================================== */

:root {
  /* --- Brand palette --- */
  --forest:        #2f3a30;   /* deep jade green — primary dark */
  --forest-deep:   #232c24;   /* darker green for footers / heroes */
  --forest-darker: #1b231c;
  --jade:          #55654f;   /* mid jade for accents on light */
  --sage:          #8a9580;   /* soft sage */
  --sage-pale:     #c4ccba;

  --cream:         #f5efe3;   /* warm paper */
  --cream-deep:    #ede4d2;   /* deeper card cream */
  --paper:         #faf6ec;   /* lightest paper */
  --sand:          #e3d8c2;   /* sand / hairline-on-cream */

  --terracotta:    #a8573a;   /* rust accent */
  --clay:          #bd7152;
  --brass:         #b3925d;   /* muted gold */
  --brass-soft:    #c9ac80;

  --ink:           #20271f;   /* near-black, green-tinted */
  --ink-soft:      #4c5247;   /* secondary text */
  --ink-faint:     #6f7568;   /* tertiary / captions */

  --line:          rgba(32, 39, 31, 0.12);
  --line-soft:     rgba(32, 39, 31, 0.07);
  --line-light:    rgba(245, 239, 227, 0.18);

  /* --- Type --- */
  --serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;

  /* --- Rhythm --- */
  --container: 1240px;
  --container-wide: 1400px;
  --container-narrow: 920px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --radius: 3px;
  --radius-lg: 6px;

  --shadow-sm: 0 2px 14px rgba(32, 39, 31, 0.06);
  --shadow-md: 0 18px 50px -22px rgba(32, 39, 31, 0.30);
  --shadow-lg: 0 40px 90px -40px rgba(27, 35, 28, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 0.55vw + 0.95rem, 1.18rem); /* large for easy reading */
  line-height: 1.75;
  font-weight: 400;
  color: var(--ink-soft);
  background-color: var(--cream);
  background-image:
    radial-gradient(120% 90% at 100% 0%, rgba(179, 146, 93, 0.06) 0%, transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(85, 101, 79, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

ul, ol { list-style: none; padding: 0; }

::selection { background: var(--terracotta); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.95rem); }
h4 { font-size: clamp(1.15rem, 1.3vw, 1.4rem); }

.serif-italic { font-style: italic; }
em, .accent-italic { font-style: italic; }

p { max-width: 68ch; }
.lead {
  font-size: clamp(1.18rem, 1vw + 1rem, 1.5rem);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}

strong, b { font-weight: 700; color: var(--ink); }

.text-accent { color: var(--terracotta); }
.text-jade   { color: var(--jade); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1.5px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow.is-centered { justify-content: center; }
.eyebrow.on-dark { color: var(--brass-soft); }
.eyebrow.on-dark::before { background: var(--brass-soft); }
.eyebrow.no-rule::before { display: none; }

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.wide { max-width: var(--container-wide); }
.container.narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; z-index: 2; }
.section.tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--deep  { background: var(--cream-deep); }
.section--forest {
  background: var(--forest-deep);
  color: rgba(245, 239, 227, 0.78);
}
.section--forest h1, .section--forest h2, .section--forest h3, .section--forest h4 { color: var(--paper); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split.lean-left  { grid-template-columns: 1.05fr 0.95fr; }
.split.lean-right { grid-template-columns: 0.95fr 1.05fr; }

.hairline { height: 1px; background: var(--line); border: 0; }
.hairline.brass { background: linear-gradient(90deg, transparent, var(--brass), transparent); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  padding-block: 1.05rem;
  background: rgba(247, 242, 232, 0.82);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.45s var(--ease-soft), padding 0.45s var(--ease-soft),
              box-shadow 0.45s var(--ease-soft), border-color 0.45s var(--ease-soft);
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-header .logo img {
  height: 20px;
  width: auto;
  filter: none;
  transition: height 0.45s var(--ease-soft);
}
.site-header.scrolled {
  background: rgba(247, 242, 232, 0.95);
  padding-block: 0.7rem;
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -28px rgba(32, 39, 31, 0.45);
}
.site-header.scrolled .logo img { height: 18px; }

.nav { display: flex; align-items: center; gap: clamp(1.5rem, 2.6vw, 2.6rem); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2.3rem);
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.current::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover,
.nav-links a.current { color: var(--ink); }

/* Dropdown for services / locations */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 0.4em; }
.has-dropdown > a::before { /* keep underline only on text */ }
.dropdown {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 290px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft) !important;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--cream); color: var(--ink) !important; }
.dropdown a span { display: block; text-transform: none; letter-spacing: normal; font-size: 0.92rem; color: var(--ink-faint); font-weight: 400; margin-top: 0.1rem; }

.nav-cta {
  font-size: 0.76rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.72rem 1.5rem;
  border: 1.5px solid var(--forest);
  border-radius: 2px;
  color: var(--forest) !important;
  transition: all 0.35s var(--ease);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--forest); color: var(--paper) !important; }

/* Mobile slide-in nav: hidden entirely on desktop, shown only in the mobile media query */
.nav-mobile { display: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 120;
}
.nav-toggle span {
  position: absolute;
  left: 9px; right: 9px;
  height: 1.8px;
  background: var(--ink);
  transition: all 0.4s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
body.menu-open .nav-toggle span { background: var(--paper); }
body.menu-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 1.05em 2em;
  border-radius: 2px;
  background: var(--forest);
  color: var(--paper);
  border: 1.5px solid var(--forest);
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--terracotta);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn:hover { border-color: var(--terracotta); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(32, 39, 31, 0.35);
}
.btn-outline::before { background: var(--forest); }
.btn-outline:hover { color: var(--paper); border-color: var(--forest); }

.btn-on-dark {
  background: var(--brass-soft);
  border-color: var(--brass-soft);
  color: var(--forest-deep);
}
.btn-on-dark::before { background: var(--paper); }
.btn-on-dark:hover { color: var(--forest-deep); border-color: var(--paper); }

.btn-ghost-dark {
  background: transparent;
  color: var(--paper);
  border-color: rgba(245, 239, 227, 0.4);
}
.btn-ghost-dark::before { background: var(--paper); }
.btn-ghost-dark:hover { color: var(--forest-deep); border-color: var(--paper); }

/* Text link with animated underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  position: relative;
}
.link-arrow .arrow { transition: transform 0.4s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(6px); }
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0.32);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: clamp(640px, 96vh, 1000px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--paper);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27, 35, 28, 0.55) 0%, rgba(27, 35, 28, 0.12) 32%, rgba(27, 35, 28, 0.18) 60%, rgba(27, 35, 28, 0.82) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(3.5rem, 7vw, 7rem);
  padding-top: 9rem;
}
.hero__inner .eyebrow { color: var(--brass-soft); }
.hero__inner .eyebrow::before { background: var(--brass-soft); }
.hero h1, .hero .display { color: var(--paper); max-width: 16ch; }
.hero p { color: rgba(245, 239, 227, 0.86); max-width: 50ch; }
.hero .btn-row { margin-top: 2.2rem; }

/* Editorial split hero (home) */
.hero-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: clamp(620px, 94vh, 980px);
  position: relative;
}
.hero-split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(7rem, 11vh, 9.5rem) clamp(1.6rem, 4vw, 4.5rem) clamp(3rem, 6vh, 5rem) var(--gutter);
  background: var(--paper);
}
.hero-split__content .eyebrow { color: var(--terracotta); margin-bottom: 1.6rem; }
.hero-split__content .eyebrow::before { background: var(--brass); }
.hero-split h1 {
  font-size: clamp(2.7rem, 4.4vw, 4.5rem);
  line-height: 1.03;
  margin-bottom: 1.5rem;
  max-width: 15ch;
}
.hero-split p.lead { max-width: 44ch; color: var(--ink-soft); }
.hero-split .btn-row { margin-top: 2.3rem; }
.hero-split__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 1.8rem;
  margin-top: 2.8rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
}
.hero-split__trust span { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-split__trust span::before { content: "✦"; color: var(--brass); font-size: 0.85em; }
.hero-split__media { position: relative; overflow: hidden; background: var(--forest-deep); }
.hero-split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.hero-split__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(247, 242, 232, 0.55) 0%, rgba(247, 242, 232, 0) 18%);
  pointer-events: none;
}

/* Compact hero (interior pages) */
.hero-band {
  position: relative;
  padding-top: clamp(8.5rem, 14vw, 12rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  background: var(--forest-deep);
  color: var(--paper);
  overflow: hidden;
}
.hero-band::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 50vw;
  height: 160%;
  background: radial-gradient(closest-side, rgba(179, 146, 93, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-band .eyebrow { color: var(--brass-soft); }
.hero-band .eyebrow::before { background: var(--brass-soft); }
.hero-band h1 { color: var(--paper); max-width: 18ch; }
.hero-band p { color: rgba(245, 239, 227, 0.8); }

.hero-band--image {
  background: var(--forest-deep);
}
.hero-band--image .hero-band__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-band--image .hero-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-band--image .hero-band__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,35,28,0.78), rgba(27,35,28,0.66));
}
.hero-band--image .container { position: relative; z-index: 2; }

/* Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, 0.6);
  margin-bottom: 1.6rem;
}
.crumbs a { color: rgba(245, 239, 227, 0.85); transition: color 0.3s; }
.crumbs a:hover { color: var(--brass-soft); }
.crumbs span.sep { color: var(--brass-soft); }

/* ==========================================================================
   Cards & components
   ========================================================================== */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  position: relative;
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--sand);
}
.card .card-index {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--brass);
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
  display: block;
}
.card h3 { margin-bottom: 0.7rem; }
.card p { font-size: 0.98rem; line-height: 1.7; color: var(--ink-soft); }
.card .link-arrow { margin-top: 1.4rem; }

/* Service card with image */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card__media { aspect-ratio: 16 / 11; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__body { padding: clamp(1.6rem, 2.4vw, 2.2rem); display: flex; flex-direction: column; flex: 1; }
.service-card__body .num { font-family: var(--serif); color: var(--brass); font-size: 0.95rem; letter-spacing: 0.16em; }
.service-card__body h3 { margin: 0.6rem 0 0.8rem; }
.service-card__body p { font-size: 0.97rem; color: var(--ink-soft); flex: 1; }
.service-card__body .link-arrow { margin-top: 1.5rem; }
.service-card .tag {
  align-self: flex-start;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta);
  background: rgba(168, 87, 58, 0.1);
  padding: 0.35em 0.8em;
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* Feature / value tile */
.tile {
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--paper), var(--cream));
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
  height: 100%;
}
.tile:hover { border-color: var(--brass-soft); transform: translateY(-4px); }
.tile .tile-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  color: var(--jade);
  margin-bottom: 1.2rem;
}
.tile .tile-icon svg { width: 22px; height: 22px; }
.tile h4 { margin-bottom: 0.5rem; font-family: var(--serif); }
.tile p { font-size: 0.95rem; color: var(--ink-soft); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem, 2vw, 1.8rem); text-align: center; }
.stat .stat-num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--forest); line-height: 1; font-weight: 600; }
.stat .stat-label { display: block; margin-top: 0.7rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.section--forest .stats { background: var(--line-light); border-color: var(--line-light); }
.section--forest .stat { background: var(--forest-deep); }
.section--forest .stat .stat-num { color: var(--brass-soft); }
.section--forest .stat .stat-label { color: rgba(245, 239, 227, 0.6); }

/* Image frame with caption */
.framed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.framed img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.framed:hover img { transform: scale(1.04); }
.framed.tall { aspect-ratio: 4 / 5; }
.framed.portrait { aspect-ratio: 3 / 4; }
.framed.wide { aspect-ratio: 3 / 2; }
.framed.square { aspect-ratio: 1 / 1; }

.img-caption {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.9rem;
}

/* Decorative offset frame */
.media-stack { position: relative; }
.media-stack::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 60%; height: 60%;
  border: 1.5px solid var(--brass);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.media-stack .framed { position: relative; z-index: 1; }

/* ==========================================================================
   Testimonial
   ========================================================================== */

.quote-block {
  max-width: 940px;
  margin-inline: auto;
  text-align: center;
}
.quote-block .quote-mark {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--brass);
  opacity: 0.5;
  margin-bottom: 1rem;
}
.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.4;
  font-weight: 400;
  color: var(--paper);
  font-style: italic;
}
.quote-block cite {
  display: block;
  margin-top: 1.8rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brass-soft);
}

/* ==========================================================================
   Process timeline
   ========================================================================== */

.process { display: grid; gap: 0; }
.process-step {
  display: grid;
  grid-template-columns: minmax(120px, 0.5fr) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background 0.4s var(--ease);
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step:hover { background: rgba(179, 146, 93, 0.05); }
.process-step .step-num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--brass);
  line-height: 1;
  font-weight: 500;
}
.process-step .step-body h3 { margin-bottom: 0.7rem; }
.process-step .step-body p { color: var(--ink-soft); }
.process-step .step-phase {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jade);
  font-weight: 700;
  display: block;
  margin-top: 0.4rem;
}

/* ==========================================================================
   Accordion (FAQ)
   ========================================================================== */

.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
  padding: clamp(1.4rem, 2.5vw, 2rem) 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  font-weight: 500;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.accordion-trigger:hover { color: var(--terracotta); }
.accordion-icon {
  flex: none;
  width: 34px; height: 34px;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  position: relative;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.accordion-icon::before, .accordion-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--jade);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.accordion-icon::before { width: 12px; height: 1.6px; transform: translate(-50%, -50%); }
.accordion-icon::after { width: 1.6px; height: 12px; transform: translate(-50%, -50%); }
.accordion-item.open .accordion-icon { background: var(--forest); transform: rotate(90deg); }
.accordion-item.open .accordion-icon::before,
.accordion-item.open .accordion-icon::after { background: var(--paper); }
.accordion-item.open .accordion-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}
.accordion-panel-inner { padding-bottom: clamp(1.4rem, 2.5vw, 2rem); }
.accordion-panel-inner p { color: var(--ink-soft); max-width: 75ch; }

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-light);
  padding-block: 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-style: italic;
  color: rgba(245, 239, 227, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  white-space: nowrap;
}
.marquee__item::after { content: "✦"; font-style: normal; color: var(--brass); font-size: 0.7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Lists & misc
   ========================================================================== */

.check-list { display: grid; gap: 1rem; }
.check-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 0.18rem;
  border-radius: 50%;
  background: rgba(85, 101, 79, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355654f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}
.section--forest .check-list li { color: rgba(245, 239, 227, 0.82); }
.section--forest .check-list li::before {
  background-color: rgba(201, 172, 128, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9ac80' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}

.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.5em 1.1em;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}
.pill:hover { border-color: var(--brass); color: var(--ink); }
.section--forest .pill { background: rgba(245,239,227,0.06); border-color: var(--line-light); color: rgba(245,239,227,0.82); }

/* Two-column prose */
.prose h2 { margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 0.8rem; }
.prose p { margin-bottom: 1.2rem; }
.prose p:first-child { margin-top: 0; }

/* Callout */
.callout {
  border-left: 3px solid var(--brass);
  background: linear-gradient(90deg, rgba(179,146,93,0.08), transparent);
  padding: clamp(1.4rem, 2.5vw, 2rem) clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.callout p { margin: 0; }

/* CTA band */
.cta-band {
  background: var(--forest-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: -10%; bottom: -60%;
  width: 50vw; height: 130%;
  background: radial-gradient(closest-side, rgba(179,146,93,0.14), transparent 70%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--paper); }
.cta-band p { color: rgba(245, 239, 227, 0.8); }

/* Local / area chips grid */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.area-grid a, .area-grid div {
  background: var(--paper);
  padding: 1.3rem 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 0.6rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.area-grid a:hover { background: var(--cream); color: var(--terracotta); }
.area-grid a::before, .area-grid div::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brass);
  flex: none;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.5rem; }
.field label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.field label .req { color: var(--terracotta); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--jade);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(85, 101, 79, 0.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: 0.5rem; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c5247' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.8rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--forest-darker);
  color: rgba(245, 239, 227, 0.66);
  position: relative;
  z-index: 2;
  padding-top: clamp(4rem, 7vw, 6.5rem);
}
.site-footer a { transition: color 0.3s var(--ease); }
.site-footer a:hover { color: var(--brass-soft); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.footer-brand img { height: 22px; filter: brightness(0) invert(1); opacity: 0.92; margin-bottom: 1.5rem; }
.footer-brand p { font-size: 0.95rem; color: rgba(245, 239, 227, 0.6); max-width: 34ch; }
.footer-brand .tagline { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--brass-soft); margin-top: 1.4rem; max-width: 30ch; }
.footer-col h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 1.4rem; font-weight: 700; }
.footer-col ul { display: grid; gap: 0.75rem; }
.footer-col li a { font-size: 0.95rem; color: rgba(245, 239, 227, 0.66); }
.footer-contact p { font-size: 0.95rem; margin-bottom: 0.9rem; line-height: 1.55; }
.footer-contact .name { color: var(--paper); font-weight: 600; }
.footer-contact .role { font-size: 0.8rem; color: rgba(245,239,227,0.5); display: block; }
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding-block: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(245, 239, 227, 0.5);
}
.footer-bottom .credentials { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-bottom .credentials span { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-bottom .credentials span::before { content: "✦"; color: var(--brass); font-size: 0.7em; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal-img.is-visible { clip-path: inset(0 0 0 0); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--brass), var(--terracotta));
  z-index: 200;
  transition: width 0.1s linear;
}

/* Back to top */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2.2rem);
  bottom: clamp(1rem, 3vw, 2.2rem);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--paper);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all 0.4s var(--ease);
  z-index: 80;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--terracotta); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }
  .nav-links, .nav-cta.desktop-only { display: none; }
  .nav-toggle { display: block; }

  .nav-mobile {
    position: fixed;
    inset: 0;
    background: var(--forest-deep);
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--gutter);
    gap: 0.4rem;
    transform: translateX(100%);
    transition: transform 0.55s var(--ease);
    overflow-y: auto;
  }
  body.menu-open .nav-mobile { transform: translateX(0); }
  body.menu-open { overflow: hidden; }
  .nav-mobile a {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    color: var(--paper);
    padding-block: 0.55rem;
    border-bottom: 1px solid var(--line-light);
    opacity: 0;
    transform: translateX(20px);
  }
  body.menu-open .nav-mobile a { animation: slideIn 0.5s var(--ease) forwards; }
  .nav-mobile a:nth-child(1) { animation-delay: 0.1s; }
  .nav-mobile a:nth-child(2) { animation-delay: 0.16s; }
  .nav-mobile a:nth-child(3) { animation-delay: 0.22s; }
  .nav-mobile a:nth-child(4) { animation-delay: 0.28s; }
  .nav-mobile a:nth-child(5) { animation-delay: 0.34s; }
  .nav-mobile a:nth-child(6) { animation-delay: 0.40s; }
  .nav-mobile a:nth-child(7) { animation-delay: 0.46s; }
  .nav-mobile .mobile-sub { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-soft); font-family: var(--sans); border: 0; margin-top: 1.4rem; padding-bottom: 0.3rem; }
  .nav-mobile .mobile-contact { margin-top: 2rem; font-family: var(--sans); font-size: 1rem; color: rgba(245,239,227,0.7); border: 0; }
  @keyframes slideIn { to { opacity: 1; transform: none; } }

  .split, .split.lean-left, .split.lean-right { grid-template-columns: 1fr; }
  .split .media-side { order: -1; }
  .split.media-after .media-side { order: 0; }

  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-split__media { order: -1; min-height: 52vh; }
  .hero-split__content { padding-top: clamp(6rem, 14vh, 7.5rem); padding-bottom: clamp(3rem, 8vh, 4rem); }
  .hero-split h1 { max-width: 18ch; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 1fr; gap: 0.6rem; }
  .process-step .step-num { font-size: 2.4rem; }
  .field-row { grid-template-columns: 1fr; }
  .media-stack::before { display: none; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero .btn-row .btn { width: auto; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; }
  .hero__media img { transform: none; }
  .marquee__track { animation: none; }
}
