/* ==========================================================================
   EMEM Communities — site styles
   Dark green + champagne gold. Serif headlines (sentence case), clean sans body.
   ========================================================================== */

:root {
  /* Colour */
  --bg: #0e110e;
  --bg-alt: #141914;
  --bg-deep: #0a0c0a;
  --ivory: #F5F6F4;
  --ivory-2: rgba(245, 246, 244, 0.76);
  --ivory-3: rgba(245, 246, 244, 0.56);
  --gold: #D3B754;
  --gold-soft: #E3CC7C;
  --line: rgba(211, 183, 84, 0.28);
  --line-strong: rgba(211, 183, 84, 0.6);
  --hair: rgba(245, 246, 244, 0.1);
  --error: #F2A796;

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 1024px) {
  :root { --header-h: 88px; }
}

/* ---------- Base ---------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-soft); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: -0.005em;
  text-wrap: balance;
  font-variant-numeric: lining-nums; /* Cormorant's default old-style digits read as "3o" */
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--bg); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Shared pieces ------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

h2 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.04;
}

/* Hairline gold divider under section headings */
.rule {
  display: block;
  width: 72px;
  height: 1px;
  margin: 1.4rem 0 1.6rem;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(211, 183, 84, 0.12) 100%);
}
.rule--center {
  width: 120px;
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section {
  position: relative;
  padding-block: clamp(80px, 11vw, 140px);
}
.section--base { background: var(--bg); }
.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid rgba(211, 183, 84, 0.08);
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .rule { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.85rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.3s var(--ease), transform 0.25s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover {
  background: var(--gold-soft);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -14px rgba(211, 183, 84, 0.55);
}
.btn-outline { border-color: var(--line-strong); color: var(--gold); background: transparent; }
.btn-outline:hover { border-color: var(--gold); background: rgba(211, 183, 84, 0.1); color: var(--gold-soft); }
.btn-sm { min-height: 44px; padding: 0.7rem 1.4rem; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; box-shadow: none; }

.btn-arrow { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Pill badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}
.badge--solid { background: var(--gold); color: var(--bg); }
.badge--solid::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bg);
}
.badge--outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: rgba(14, 17, 14, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* "Photo coming soon" placeholder */
.photo-ph {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(120% 100% at 25% 15%, #1f2a20 0%, #141a14 55%, #0f130f 100%);
}
.photo-ph::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 1px solid rgba(211, 183, 84, 0.2);
  border-radius: 8px;
}
.photo-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: repeating-linear-gradient(135deg, rgba(245, 246, 244, 0.022) 0 1px, transparent 1px 16px);
}
.photo-ph__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.2;
  color: rgba(245, 246, 244, 0.62);
  text-align: center;
}
.photo-ph__label svg { width: 30px; height: 30px; color: var(--gold); opacity: 0.8; }
.photo-ph .badge { position: absolute; top: 28px; left: 28px; z-index: 2; }

/* Ticked list */
.ticks {
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0 1.8rem;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--hair);
  list-style: none;
}
.ticks li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ivory);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.22em;
  width: 6px;
  height: 11px;
  border: solid var(--gold);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

/* ---------- Header -------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(14, 17, 14, 0.9);
  border-bottom: 1px solid rgba(211, 183, 84, 0.16);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
/* With JS, the header starts clear over the hero and turns solid once you scroll */
.js .site-header:not(.is-scrolled) {
  background: rgba(14, 17, 14, 0);
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.js body.menu-open .site-header { background: var(--bg); border-bottom-color: rgba(211, 183, 84, 0.16); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.brand { display: flex; flex-shrink: 0; align-items: center; }
.brand img { width: auto; height: 52px; }
@media (min-width: 1024px) { .brand img { height: 68px; } }

.primary-nav { display: none; }
.primary-nav ul { display: flex; gap: clamp(18px, 2.1vw, 34px); margin: 0; padding: 0; list-style: none; }
.primary-nav a {
  position: relative;
  padding-block: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ivory-2);
  white-space: nowrap;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.primary-nav a:hover, .primary-nav a.is-active, .primary-nav a[aria-current="page"] { color: var(--ivory); }
.primary-nav a:hover::after, .primary-nav a.is-active::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); }

.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ivory);
  white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; color: var(--gold); }
.header-phone:hover { color: var(--gold-soft); }

.header-cta { display: none; }

.menu-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (min-width: 350px) { .header-cta { display: inline-flex; } }

@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .header-phone { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  padding: 12px var(--gutter) 40px;
  overflow-y: auto;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease); }
.mobile-menu ul { margin: 0; padding: 0; list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--hair); }
.mobile-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--ivory);
}
.mobile-menu li a::after {
  content: "";
  width: 9px;
  height: 9px;
  border: solid var(--gold);
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}
.mobile-menu li a.is-active { color: var(--gold); }
.mobile-menu__actions { display: grid; gap: 14px; margin-top: 32px; }
.mobile-menu__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--ivory);
  font-weight: 500;
}
.mobile-menu__phone svg { width: 18px; height: 18px; color: var(--gold); }
.mobile-menu__tagline {
  margin-top: auto;
  padding-top: 40px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ivory-3);
  text-align: center;
}
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(940px, 100svh);
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(48px, 9vh, 112px)) 0 clamp(80px, 12vh, 140px);
  overflow: hidden;
  background:
    radial-gradient(55% 65% at 80% 42%, rgba(211, 183, 84, 0.12), transparent 62%),
    radial-gradient(70% 80% at 0% 100%, rgba(52, 84, 58, 0.42), transparent 62%),
    radial-gradient(50% 50% at 18% 8%, rgba(36, 58, 40, 0.35), transparent 70%),
    linear-gradient(180deg, #0c0f0c 0%, #111611 58%, #0e110e 100%);
}
.hero-rings {
  position: absolute;
  top: 50%;
  right: -22%;
  width: min(1040px, 130vw);
  aspect-ratio: 1;
  color: var(--gold);
  pointer-events: none;
  transform: translateY(-50%);
  animation: breathe 9s ease-in-out infinite;
}
@media (max-width: 767px) {
  .hero-rings { top: 18%; right: -70%; opacity: 0.55; }
}
.hero-inner { position: relative; z-index: 1; }
.hero-inner > * { animation: rise 1.1s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: 0.1s; }
.hero-inner > :nth-child(3) { animation-delay: 0.22s; }
.hero-inner > :nth-child(4) { animation-delay: 0.32s; }
.hero-inner > :nth-child(5) { animation-delay: 0.42s; }

.hero h1 {
  font-size: clamp(3.6rem, 11vw, 8.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .rule { margin-block: 2rem 1.75rem; }
.hero-lead {
  max-width: 620px;
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.75;
  color: var(--ivory-2);
}
.hero-actions { margin-top: 2.2rem; }
.hero-call { margin-top: 1.4rem; font-size: 0.95rem; color: var(--ivory-3); }
.hero-call a {
  color: var(--ivory);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.hero-call a:hover { color: var(--gold-soft); border-color: var(--gold); }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 1px;
  height: 56px;
  overflow: hidden;
  background: rgba(211, 183, 84, 0.18);
}
.hero-scroll::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: drip 2.6s var(--ease) infinite;
}
@media (max-width: 767px) { .hero-scroll { display: none; } }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes breathe {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.035); }
}
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ---------- Housing types ------------------------------------------------- */

.housing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.housing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.housing-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 34px 60px -34px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(211, 183, 84, 0.06);
}
.housing-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
}
.housing-card h3 { margin-bottom: 0.75rem; font-size: clamp(1.9rem, 2.6vw, 2.3rem); line-height: 1.1; }
.housing-card__body > p { color: var(--ivory-2); }
.housing-card .btn { margin-top: auto; }
.housing-card--soon .photo-ph { background: radial-gradient(120% 100% at 25% 15%, #1b211b 0%, #121612 55%, #0e110e 100%); }

@media (min-width: 720px) and (max-width: 1023px) {
  .housing-card { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .housing-card .photo-ph { height: 100%; min-height: 300px; aspect-ratio: auto; }
}
@media (min-width: 1024px) {
  .housing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Description grows so the three tick lists line up across the row */
  .housing-card__body > p { flex-grow: 1; }
  .housing-card .btn { margin-top: 0; }
}

/* ---------- First homes opening soon -------------------------------------- */

.coming-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}
.coming-copy > p { max-width: 560px; font-size: 1.075rem; color: var(--ivory-2); }
.coming-copy .coming-lead {
  margin-top: 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.4;
  color: var(--ivory);
}
.coming-copy .btn { margin-top: 1.4rem; }
.coming-visual { position: relative; padding: 0 18px 18px 0; }
.coming-visual__frame {
  position: absolute;
  inset: 18px 0 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.coming-visual .photo-ph {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.85);
}
@media (min-width: 900px) {
  .coming-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .coming-visual { padding: 0 26px 26px 0; }
  .coming-visual__frame { inset: 26px 0 0 26px; }
  .coming-visual .photo-ph { aspect-ratio: 4 / 5; }
}

/* ---------- Our story ----------------------------------------------------- */

.story {
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(50% 60% at 50% 40%, rgba(211, 183, 84, 0.07), transparent 70%),
    var(--bg-alt);
}
.story-inner { max-width: 780px; margin-inline: auto; }
.story-def {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.8rem;
  margin-bottom: 1.8rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--ivory-3);
}
.story-def__word { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.02em; color: var(--gold); }
.story-def__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0.6; transform: translateY(-3px); }
.story-quote {
  font-size: clamp(2.9rem, 7.4vw, 5.75rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
}
.story-quote .q { color: var(--gold); }
.story-body p { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.85; color: var(--ivory-2); }
.story-body p + p { margin-top: 1.2em; }
.story-body .story-close { color: var(--ivory); }
.story-close em { font-family: var(--serif); font-size: 1.35em; line-height: 1; color: var(--gold); }

.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 2.4rem auto 2.2rem; }
.ornament::before, .ornament::after { content: ""; width: 64px; height: 1px; }
.ornament::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament span { width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* ---------- How it works -------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 4vw, 52px) clamp(24px, 3vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { position: relative; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px var(--bg);
}
.step__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: lining-nums;
}
.step h3 { margin-bottom: 0.5rem; font-size: 1.7rem; line-height: 1.15; }
.step p { color: var(--ivory-2); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- The EMEM standard -------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 clamp(32px, 5vw, 80px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pillar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  padding: clamp(26px, 3vw, 38px) 0;
  border-top: 1px solid var(--hair);
}
.pillar__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  background: radial-gradient(circle at 30% 25%, rgba(211, 183, 84, 0.12), transparent 70%);
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar h3 { margin: 0.15rem 0 0.45rem; font-size: 1.65rem; line-height: 1.15; }
.pillar p { color: var(--ivory-2); }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ----------------------------------------------------------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); }
.faq-call { margin-top: 1.6rem; color: var(--ivory-3); }
.faq-call a { color: var(--ivory); border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.faq-call a:hover { color: var(--gold-soft); }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); }
  .faq-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q { margin: 0; font-size: inherit; }
.acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: none;
  color: var(--ivory);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.acc-btn__text {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.25;
  transition: color 0.2s;
}
.acc-btn:hover .acc-btn__text { color: var(--gold-soft); }
.acc-icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 0.3s, border-color 0.3s;
}
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease);
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-icon { border-color: var(--gold); background: rgba(211, 183, 84, 0.1); }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.js .acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.4s var(--ease), visibility 0s linear 0.4s;
}
.js .acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.4s var(--ease), visibility 0s;
}
.acc-panel__inner { min-height: 0; overflow: hidden; }
.acc-panel__inner p { max-width: 640px; margin: 0; padding: 0 0 26px; color: var(--ivory-2); }
@media (min-width: 640px) { .acc-panel__inner p { padding-right: 56px; } }

/* ---------- Request info + form ------------------------------------------ */

.request {
  background:
    radial-gradient(45% 55% at 85% 20%, rgba(211, 183, 84, 0.08), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, rgba(52, 84, 58, 0.3), transparent 65%),
    var(--bg-alt);
}
.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 84px);
}
@media (min-width: 1024px) {
  .request-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .request-copy { position: sticky; top: calc(var(--header-h) + 32px); }
}
.request-copy h2 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.08; }
.h-line { display: block; } /* second sentence of a heading always starts its own line */
.request-copy > p { max-width: 520px; font-size: 1.05rem; color: var(--ivory-2); }

.contact-lines { display: grid; gap: 0.9rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.contact-lines li { display: flex; align-items: center; gap: 0.85rem; color: var(--ivory-2); }
.contact-lines a { color: var(--ivory); overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--gold-soft); }
.contact-lines__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
}
.contact-lines__icon svg { width: 17px; height: 17px; }

.form-card {
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, #171d17 0%, #111511 100%);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.9);
}
.form-card__title { margin-bottom: 0.4rem; font-size: clamp(1.7rem, 3vw, 2.1rem); line-height: 1.15; }
.form-card__sub { margin-bottom: 1.6rem; color: var(--ivory-3); font-size: 0.95rem; }

.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 18px; }
@media (min-width: 560px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field-label, .field legend {
  display: block;
  margin-bottom: 0.5rem;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ivory);
}
.field .opt { font-weight: 400; color: var(--ivory-3); }
.req { color: var(--gold); }

.input {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(245, 246, 244, 0.15);
  border-radius: 10px;
  background: rgba(10, 12, 10, 0.7);
  color: var(--ivory);
  font: inherit;
  font-size: 1rem; /* 16px keeps iOS from zooming in */
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.input::placeholder { color: rgba(245, 246, 244, 0.34); }
.input:hover { border-color: rgba(245, 246, 244, 0.28); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(211, 183, 84, 0.18); }
.input:-webkit-autofill {
  -webkit-text-fill-color: var(--ivory);
  caret-color: var(--ivory);
  box-shadow: 0 0 0 1000px #111511 inset;
}
select.input {
  padding-right: 2.75rem;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D3B754' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
select.input:invalid, select.input.is-placeholder { color: rgba(245, 246, 244, 0.5); }
select.input option { background: #141914; color: var(--ivory); }
textarea.input { min-height: 124px; resize: vertical; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(245, 246, 244, 0.16);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ivory-2);
  white-space: nowrap;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.choice span::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color 0.2s, border-color 0.2s;
}
.choice:hover span { border-color: rgba(245, 246, 244, 0.3); }
.choice input:checked + span { border-color: var(--gold); background: rgba(211, 183, 84, 0.1); color: var(--ivory); }
.choice input:checked + span::before { border-color: var(--gold); background: var(--gold); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.field-error {
  display: none;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--error);
}
.field-error::before {
  content: "!";
  display: grid;
  flex: none;
  place-items: center;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
}
.field.has-error .field-error { display: flex; }
.field.has-error .input { border-color: var(--error); }
.field.has-error .input:focus { box-shadow: 0 0 0 3px rgba(242, 167, 150, 0.2); }

.form-status { margin: 18px 0 0; font-size: 0.9rem; color: var(--error); }
.form-status:empty { display: none; }
.form-submit { margin-top: 24px; }
.form-note { margin: 14px 0 0; font-size: 0.8rem; color: var(--ivory-3); text-align: center; }

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(14, 17, 14, 0.3);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Honeypot (bots fill it, people never see it) */
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }

/* Success state */
.form-success { padding: clamp(8px, 3vw, 24px) 0; text-align: center; }
.form-success:focus { outline: none; }
.success-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(211, 183, 84, 0.08);
}
.success-mark svg { width: 28px; height: 28px; }
.success-mark path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.7s 0.15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { margin-bottom: 0.6rem; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.1; }
.form-success p { max-width: 440px; margin-inline: auto; color: var(--ivory-2); }
.form-success .success-call a { color: var(--ivory); border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.preview-note {
  max-width: 460px;
  margin: 1.6rem auto 0;
  padding: 0.9rem 1.1rem;
  border: 1px dashed rgba(211, 183, 84, 0.5);
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ivory-2);
  text-align: left;
}
.preview-note strong { color: var(--gold); }
.nowrap { white-space: nowrap; }
/* Once the thank-you shows, the card's intro has done its job */
.form-card:has(.form-success:not([hidden])) :is(.form-card__title, .form-card__sub) { display: none; }
.success-reset {
  margin-top: 1.6rem;
  padding: 0.4rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  color: var(--gold);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.success-reset:hover { color: var(--gold-soft); }

/* ---------- Contact page -------------------------------------------------- */

.page-hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(48px, 8vw, 104px)) 0 clamp(80px, 10vw, 128px);
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 85% 18%, rgba(211, 183, 84, 0.1), transparent 65%),
    radial-gradient(70% 80% at 0% 100%, rgba(52, 84, 58, 0.38), transparent 62%),
    linear-gradient(180deg, #0c0f0c 0%, #111611 60%, #0e110e 100%);
}
.page-hero h1 { font-size: clamp(3.2rem, 8vw, 6rem); font-weight: 400; line-height: 0.95; letter-spacing: -0.015em; }
.page-hero .rule { margin-block: 1.8rem 1.6rem; }
.page-hero .contact-intro { max-width: 520px; font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--ivory-2); }

/* ---------- Footer -------------------------------------------------------- */

.site-footer {
  padding: clamp(56px, 8vw, 96px) 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); }
}
.footer-brand img { width: auto; height: 84px; }
.footer-tagline {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.65rem;
  line-height: 1.2;
  color: var(--ivory);
}
.footer-h {
  margin-bottom: 1.1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.footer-list { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.footer-list li { color: var(--ivory-2); }
.footer-list a { color: var(--ivory-2); overflow-wrap: anywhere; }
.footer-list a:hover { color: var(--ivory); }
.footer-base {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  font-size: 0.85rem;
  color: var(--ivory-3);
}

/* ---------- Scroll reveal (only when JS is on) ---------------------------- */

.js .reveal {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.9s var(--ease), translate 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; translate: none; }

/* ---------- 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;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; translate: none; }
}
