/* =========================================================
   The Access House — Website Prototype
   Corporate Design: Modern luxury with old money restraint
   ========================================================= */

/* ------- Design Tokens ------- */
:root {
  /* Brand colors */
  --access-green: #0B2520;
  --deep-forest: #081A17;
  --ivory-stone: #F3EEE6;
  --champagne-sand: #D8C7A3;
  --mink-taupe: #B6AA9A;
  --graphite-ink: #1E1E1A;

  /* Derived */
  --ivory-100: #FBF8F2;
  --ivory-200: #F3EEE6;
  --ivory-300: #EAE3D6;
  --line-on-dark: rgba(216, 199, 163, 0.28);
  --line-on-light: rgba(11, 37, 32, 0.12);

  /* Typography */
  --font-serif: "EB Garamond", "Garamond", "Adobe Garamond Pro", "Hoefler Text", Georgia, serif;
  --font-sans: "Inter", "Neue Haas Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.65, 0.25, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--graphite-ink);
  background: var(--ivory-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ------- Typography Scale ------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin: 0 0 0.4em;
  color: var(--access-green);
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.75rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
h4 { font-size: 1.15rem; font-weight: 500; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mink-taupe);
  margin-bottom: 1.2rem;
  display: inline-block;
}

.eyebrow--on-dark { color: var(--champagne-sand); }

.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.lead {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  color: var(--access-green);
  font-weight: 400;
  max-width: 58ch;
}

/* ------- Layout primitives ------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * 0.6) 0; }
.section--dark {
  background: var(--access-green);
  color: var(--ivory-stone);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--ivory-stone); }
.section--dark p { color: rgba(243, 238, 230, 0.82); }

.section--deep {
  background: var(--deep-forest);
  color: var(--ivory-stone);
}
.section--deep h1,
.section--deep h2,
.section--deep h3 { color: var(--ivory-stone); }

.section--ivory { background: var(--ivory-200); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 72px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--access-green);
  color: var(--ivory-stone);
  border-color: var(--access-green);
}
.btn--primary:hover { background: var(--deep-forest); border-color: var(--deep-forest); }

.btn--outline {
  background: transparent;
  color: var(--access-green);
  border-color: var(--access-green);
}
.btn--outline:hover { background: var(--access-green); color: var(--ivory-stone); }

.btn--ghost-light {
  background: transparent;
  color: var(--ivory-stone);
  border-color: var(--champagne-sand);
}
.btn--ghost-light:hover { background: var(--champagne-sand); color: var(--access-green); border-color: var(--champagne-sand); }

.btn--champagne {
  background: var(--champagne-sand);
  color: var(--access-green);
  border-color: var(--champagne-sand);
}
.btn--champagne:hover { background: #c9b58c; border-color: #c9b58c; }

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

/* Text link */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--access-green);
  border-bottom: 1px solid var(--champagne-sand);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tlink:hover { color: var(--deep-forest); border-color: var(--access-green); }
.tlink--on-dark { color: var(--ivory-stone); border-color: var(--champagne-sand); }
.tlink--on-dark:hover { color: var(--champagne-sand); }

/* ------- Navigation ------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 20px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(243, 238, 230, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom-color: var(--line-on-light);
}
.nav--scrolled .nav__logo--light { opacity: 0; pointer-events: none; }
.nav--scrolled .nav__logo--dark { opacity: 1; }
.nav--scrolled .nav__link { color: var(--access-green); }
.nav--scrolled .nav__cta { background: var(--access-green); color: var(--ivory-stone); border-color: var(--access-green); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__brand { display: flex; align-items: center; position: relative; }
.nav__logo { height: 44px; width: auto; transition: opacity 0.3s var(--ease); }
.nav__logo--dark { position: absolute; left: 0; top: 0; opacity: 0; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__link {
  color: var(--ivory-stone);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav__link:hover { color: var(--champagne-sand); }
.nav--scrolled .nav__link:hover { color: var(--access-green); }
.nav__link--active { color: var(--champagne-sand); }
.nav--scrolled .nav__link--active { color: var(--access-green); }
.nav__link--active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
}

.nav__cta {
  padding: 10px 20px;
  border: 1px solid var(--champagne-sand);
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ivory-stone);
  transition: all 0.3s var(--ease);
  letter-spacing: 0.04em;
}
.nav__cta:hover { background: var(--champagne-sand); color: var(--access-green); border-color: var(--champagne-sand); }

.nav__toggle { display: none; padding: 8px; color: var(--ivory-stone); }
.nav--scrolled .nav__toggle { color: var(--access-green); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%; left: -18px;
  min-width: 240px;
  background: var(--ivory-100);
  border: 1px solid var(--line-on-light);
  padding: 10px 0;
  margin-top: 12px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  box-shadow: 0 20px 40px rgba(8, 26, 23, 0.08);
}
.dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 0.86rem;
  color: var(--graphite-ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.dropdown a:hover { background: var(--ivory-200); color: var(--access-green); }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 1000px) {
  .nav__menu { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }

  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    inset: 78px 0 0 0;
    background: var(--ivory-100);
    padding: 32px var(--gutter);
    gap: 4px;
    overflow-y: auto;
  }
  .nav__menu.is-open .nav__link {
    color: var(--access-green);
    font-size: 1.4rem;
    font-family: var(--font-serif);
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--line-on-light);
  }
  .nav__menu.is-open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 16px; background: transparent; margin: 0; }
  .nav__menu.is-open .dropdown a { padding: 8px 0; font-family: var(--font-sans); font-size: 0.95rem; color: var(--graphite-ink); }
}

/* ------- Hero ------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 80px;
  color: var(--ivory-stone);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 26, 23, 0.35) 0%, rgba(8, 26, 23, 0.85) 100%),
    radial-gradient(ellipse at 70% 40%, #123530 0%, #0B2520 45%, #081A17 100%);
  z-index: -1;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.85  0 0 0 0 0.78  0 0 0 0 0.64  0 0 0 0.07 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
}
.hero__content { max-width: 780px; }
.hero__eyebrow {
  color: var(--champagne-sand);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.hero__eyebrow::before {
  content: ""; display: inline-block; width: 32px; height: 1px;
  background: var(--champagne-sand);
}
.hero__title {
  font-size: clamp(2.8rem, 6.2vw, 5.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ivory-stone);
  margin-bottom: 28px;
}
.hero__title em { font-style: italic; color: var(--champagne-sand); }
.hero__sub {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
  color: rgba(243, 238, 230, 0.82);
  max-width: 56ch;
  margin-bottom: 44px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; bottom: 36px; right: var(--gutter);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--champagne-sand);
  writing-mode: vertical-rl;
}
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* ------- Intent strip (Buy / Sell / Off-Market / Developments) ------- */
.intent {
  margin-top: calc(var(--section-y) * -0.5);
  position: relative;
  z-index: 2;
}
.intent__grid {
  background: var(--ivory-100);
  border: 1px solid var(--line-on-light);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 30px 60px rgba(8, 26, 23, 0.08);
}
.intent__card {
  padding: 40px 32px;
  border-right: 1px solid var(--line-on-light);
  transition: background 0.3s var(--ease);
  display: block;
}
.intent__card:last-child { border-right: 0; }
.intent__card:hover { background: var(--ivory-200); }
.intent__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--mink-taupe);
  margin-bottom: 24px;
}
.intent__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--access-green);
  margin-bottom: 8px;
}
.intent__desc {
  font-size: 0.88rem;
  color: var(--graphite-ink);
  opacity: 0.7;
  margin-bottom: 24px;
}
.intent__arrow {
  display: inline-block;
  font-family: var(--font-serif);
  color: var(--access-green);
  transition: transform 0.3s var(--ease);
}
.intent__card:hover .intent__arrow { transform: translateX(6px); }

@media (max-width: 900px) {
  .intent__grid { grid-template-columns: repeat(2, 1fr); }
  .intent__card:nth-child(-n+2) { border-bottom: 1px solid var(--line-on-light); }
  .intent__card:nth-child(2) { border-right: 0; }
}
@media (max-width: 560px) {
  .intent__grid { grid-template-columns: 1fr; }
  .intent__card { border-right: 0; border-bottom: 1px solid var(--line-on-light); }
  .intent__card:last-child { border-bottom: 0; }
}

/* ------- Section headers ------- */
.s-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.s-head__title { margin: 0; max-width: 18ch; }
.s-head__body { max-width: 52ch; }
@media (max-width: 800px) {
  .s-head { grid-template-columns: 1fr; gap: 20px; }
  .s-head__body { max-width: 100%; }
}

/* ------- Property cards (Featured Opportunities) ------- */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
@media (max-width: 900px) { .prop-grid { grid-template-columns: 1fr; } }

.prop {
  background: var(--ivory-100);
  overflow: hidden;
  border: 1px solid var(--line-on-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.prop:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(8, 26, 23, 0.12); }

.prop__media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2a4a42 0%, #0B2520 100%);
}
.prop__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.prop:hover .prop__media img { transform: scale(1.04); }
.prop__tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--ivory-stone);
  color: var(--access-green);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  font-weight: 500;
}
.prop__body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.prop__area {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mink-taupe);
}
.prop__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--access-green);
  margin: 0;
  line-height: 1.2;
}
.prop__meta {
  display: flex;
  gap: 18px;
  font-size: 0.82rem;
  color: var(--graphite-ink);
  opacity: 0.75;
  padding-top: 14px;
  border-top: 1px solid var(--line-on-light);
  margin-top: auto;
}
.prop__price {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--access-green);
}

/* ------- Areas / Communities ------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }

.area {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: var(--ivory-stone);
  display: flex;
  align-items: flex-end;
  padding: 28px;
  background: linear-gradient(135deg, #1a3832 0%, #0B2520 100%);
  isolation: isolate;
}
.area::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 26, 23, 0.85) 100%);
  z-index: 1;
}
.area__inner { position: relative; z-index: 2; }
.area__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 4px;
  color: var(--ivory-stone);
}
.area__meta {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--champagne-sand);
  opacity: 0.85;
}

/* ------- Why blocks ------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 80px); }
@media (max-width: 800px) { .why-grid { grid-template-columns: 1fr; } }

.why__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--champagne-sand);
  margin-bottom: 16px;
  display: inline-block;
}
.why__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--ivory-stone);
  margin: 0 0 14px;
  font-weight: 500;
}
.why__body {
  font-size: 0.96rem;
  color: rgba(243, 238, 230, 0.78);
  max-width: 48ch;
  margin: 0;
}

/* ------- Insight / market intelligence ------- */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
@media (max-width: 900px) { .insight-grid { grid-template-columns: 1fr; } }

.insight {
  border-top: 1px solid var(--line-on-light);
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.insight__date {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mink-taupe);
}
.insight__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--access-green);
  margin: 0;
  line-height: 1.25;
}
.insight__excerpt {
  font-size: 0.92rem;
  color: var(--graphite-ink);
  opacity: 0.75;
  margin: 0 0 4px;
}

/* ------- CTA band ------- */
.cta-band {
  background: var(--access-green);
  color: var(--ivory-stone);
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(216, 199, 163, 0.08) 0%, transparent 60%);
  z-index: -1;
}
.cta-band__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .cta-band__grid { grid-template-columns: 1fr; } }
.cta-band__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 0 0 16px;
  color: var(--ivory-stone);
  line-height: 1.1;
  font-weight: 400;
}
.cta-band__title em { color: var(--champagne-sand); font-style: italic; }
.cta-band__sub {
  color: rgba(243, 238, 230, 0.78);
  max-width: 48ch;
  margin: 0 0 28px;
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------- Forms ------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mink-taupe);
}
.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 14px 0;
  font: 1rem/1.4 var(--font-sans);
  color: var(--graphite-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-on-light);
  outline: none;
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
}
.form__input:focus,
.form__textarea:focus,
.form__select:focus { border-bottom-color: var(--access-green); }
.form__textarea { min-height: 120px; resize: vertical; padding-top: 14px; }
.form__select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%230B2520' d='M0 0l5 6 5-6z'/></svg>"); background-repeat: no-repeat; background-position: right 6px center; padding-right: 24px; }
.form__consent { font-size: 0.8rem; color: var(--graphite-ink); opacity: 0.7; }
.form__consent a { border-bottom: 1px solid var(--line-on-light); }

/* Form on dark backgrounds */
.section--dark .form__label,
.section--deep .form__label { color: var(--champagne-sand); }
.section--dark .form__input,
.section--dark .form__textarea,
.section--dark .form__select,
.section--deep .form__input,
.section--deep .form__textarea,
.section--deep .form__select {
  color: var(--ivory-stone);
  border-bottom-color: var(--line-on-dark);
}
.section--dark .form__input:focus,
.section--deep .form__input:focus { border-bottom-color: var(--champagne-sand); }

/* ------- Footer ------- */
.footer {
  background: var(--deep-forest);
  color: rgba(243, 238, 230, 0.7);
  padding: clamp(60px, 7vw, 96px) 0 32px;
  font-size: 0.88rem;
}
.footer a { color: rgba(243, 238, 230, 0.7); transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--champagne-sand); }

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-on-dark);
}
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

.footer__brand { max-width: 32ch; }
.footer__logo { height: 40px; margin-bottom: 24px; }
.footer__tag { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--ivory-stone); margin-bottom: 20px; }
.footer h4 {
  color: var(--champagne-sand);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.78rem;
  color: rgba(243, 238, 230, 0.5);
  gap: 20px;
  flex-wrap: wrap;
}
.footer__bottom a { color: rgba(243, 238, 230, 0.5); }
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }

/* ------- Inner page header (not hero) ------- */
.page-head {
  background: var(--access-green);
  color: var(--ivory-stone);
  padding: clamp(160px, 18vw, 220px) 0 clamp(80px, 9vw, 120px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.85  0 0 0 0 0.78  0 0 0 0 0.64  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: overlay;
}
.page-head__inner { max-width: 900px; }
.page-head__eyebrow {
  color: var(--champagne-sand);
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  display: inline-flex; gap: 14px; align-items: center;
  margin-bottom: 24px;
}
.page-head__eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--champagne-sand); display: block;
}
.page-head__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--ivory-stone);
  margin: 0 0 22px;
  font-weight: 400;
  line-height: 1.05;
}
.page-head__title em { color: var(--champagne-sand); font-style: italic; }
.page-head__sub {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: rgba(243, 238, 230, 0.82);
  max-width: 56ch;
  margin: 0;
}

/* Breadcrumbs */
.crumbs {
  display: flex;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 238, 230, 0.6);
  margin-bottom: 18px;
}
.crumbs a { color: rgba(243, 238, 230, 0.8); }
.crumbs a:hover { color: var(--champagne-sand); }
.crumbs__sep { color: rgba(243, 238, 230, 0.4); }

/* ------- Service / Category cards ------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }

.svc {
  padding: 40px 32px;
  background: var(--ivory-100);
  border: 1px solid var(--line-on-light);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  display: block;
}
.svc:hover { background: var(--ivory-200); transform: translateY(-3px); }
.svc__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mink-taupe);
  margin-bottom: 32px;
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
}
.svc__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--access-green);
  margin: 0 0 14px;
}
.svc__body {
  font-size: 0.95rem;
  color: var(--graphite-ink);
  opacity: 0.78;
  margin: 0 0 24px;
}
.svc__arrow {
  font-family: var(--font-serif);
  color: var(--access-green);
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease);
  display: inline-block;
}
.svc:hover .svc__arrow { transform: translateX(6px); }

/* ------- Figure / editorial image + caption ------- */
.figure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.figure--flip .figure__text { order: 2; }
@media (max-width: 900px) {
  .figure { grid-template-columns: 1fr; }
  .figure--flip .figure__text { order: 0; }
}
.figure__img {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #2a4a42 0%, #0B2520 100%);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.figure__img::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.85  0 0 0 0 0.78  0 0 0 0 0.64  0 0 0 0.1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.7;
  mix-blend-mode: overlay;
}
.figure__text { max-width: 50ch; }

/* ------- Stat strip ------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
}
.stats__item {
  padding: 40px 32px;
  border-right: 1px solid var(--line-on-dark);
}
.stats__item:last-child { border-right: 0; }
.stats__num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  color: var(--ivory-stone);
  margin: 0 0 8px;
  line-height: 1;
}
.stats__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne-sand);
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(odd) { border-right: 1px solid var(--line-on-dark); }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--line-on-dark); }
  .stats__item:nth-child(2) { border-right: 0; }
}

/* ------- Small "note" badges (e.g., Reelly-powered) ------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(216, 199, 163, 0.18);
  color: var(--champagne-sand);
  border: 1px solid rgba(216, 199, 163, 0.4);
  border-radius: 2px;
}
.badge--light { background: var(--ivory-200); color: var(--access-green); border-color: var(--line-on-light); }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ------- Utility ------- */
.divider {
  width: 40px; height: 1px;
  background: var(--champagne-sand);
  margin: 24px 0;
  display: block;
  border: 0;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
