/* Belmont Residence: design system
   Quiet luxury. Evergreen, cream, and clay. Cormorant Garamond display, Montserrat text. */

:root {
  --canvas: #faf7f2;
  --canvas-2: #f4efe6;
  --sand: #ece4d6;
  --paper: #fffdf9;
  --hairline: #e2d9ca;
  --hairline-strong: #cfc3ae;

  --ink: #1b2422;
  --body: #3a4542;
  --muted: #5f6a66;

  --evergreen: #2f5d50;
  --evergreen-deep: #1d3f36;
  --evergreen-night: #15302a;
  --evergreen-tint: #e3ece7;

  --clay: #b5673b;
  --clay-deep: #8f4c28;
  --clay-tint: #f5e6db;

  --on-dark: #f3efe7;
  --on-dark-soft: #b8c7c0;

  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --text: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 11vw, 150px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--evergreen); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--evergreen-deep); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
::selection { background: var(--clay-tint); color: var(--ink); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.2; }
h1 em, h2 em, .statement em { font-style: italic; color: var(--clay-deep); }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none;
}
.skip:focus { top: 16px; color: #fff; }

/* ---------- Type helpers ---------- */
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--text); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--clay-deep);
  margin-bottom: 26px;
}
.label::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.center .label::after, .label.both::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.lede { font-size: clamp(1.06rem, 1.4vw, 1.2rem); line-height: 1.8; color: var(--body); max-width: 60ch; }
.center .lede { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.statement {
  font-family: var(--display); font-weight: 400; color: var(--ink);
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.25; letter-spacing: -0.005em; text-wrap: balance;
}
.ornament { width: 44px; height: 44px; margin: 0 auto 32px; color: var(--clay); }

/* ---------- Status bar ---------- */
.status-bar { background: var(--evergreen-night); color: var(--on-dark-soft); font-size: 0.8rem; letter-spacing: 0.02em; }
.status-bar .wrap { display: flex; justify-content: center; align-items: center; gap: 12px; padding-top: 11px; padding-bottom: 11px; text-align: center; }
.status-bar p { margin: 0; }
.status-bar strong { color: var(--on-dark); font-weight: 600; }
.status-bar a { color: var(--on-dark); }
.dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #e2a57f; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; color: var(--evergreen); }
.brand-word { font-family: var(--display); font-size: 1.7rem; line-height: 1; letter-spacing: 0.02em; }
.brand-word small {
  display: block; margin-top: 6px; font-family: var(--text); font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted);
}
.site-nav { display: flex; align-items: center; gap: 40px; }
.site-nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  color: var(--body); text-decoration: none; font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 8px 0; position: relative;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--clay);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.site-nav ul a:hover { color: var(--ink); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav ul a[aria-current="page"] { color: var(--ink); }

.nav-toggle {
  display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 12px 0;
  font: 500 0.74rem/1 var(--text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); cursor: pointer;
  min-height: 44px;
}
.nav-toggle span { display: block; width: 22px; height: 1px; background: currentColor; box-shadow: 0 6px 0 currentColor; margin-top: -6px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  /* Absolute to the sticky header: backdrop-filter makes the header the containing block for fixed children. */
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99; background: var(--canvas);
    height: calc(100vh - 88px); height: calc(100dvh - 88px); border-top: 1px solid var(--hairline);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a {
    display: block; font-family: var(--display); font-size: 2rem; letter-spacing: 0; text-transform: none;
    padding: 16px 0; border-bottom: 1px solid var(--hairline); color: var(--ink);
  }
  .site-nav ul a::after { display: none; }
  .site-nav .btn { margin-top: 32px; justify-content: center; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 34px;
  font: 600 0.74rem/1 var(--text); letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
  color: var(--on-dark); background: var(--evergreen); border: 1px solid var(--evergreen);
  cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { background: var(--evergreen-deep); border-color: var(--evergreen-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--hairline-strong); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
.btn-light { background: var(--canvas); color: var(--evergreen-deep); border-color: var(--canvas); }
.btn-light:hover { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn-sm { min-height: 46px; padding: 0 24px; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none;
  font: 600 0.74rem/1 var(--text); letter-spacing: 0.22em; text-transform: uppercase;
  padding: 14px 0; border-bottom: 1px solid var(--hairline-strong); transition: gap 0.3s var(--ease), border-color 0.3s;
}
.link-arrow::after { content: "\2192"; font-size: 1rem; letter-spacing: 0; }
.link-arrow:hover { gap: 18px; color: var(--ink); border-color: var(--clay); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * 0.6) 0; }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--canvas-2); }
.bg-dark { background: var(--evergreen-deep); color: var(--on-dark-soft); }
.bg-dark h2, .bg-dark h3, .bg-dark .statement, .bg-dark strong { color: var(--on-dark); }
.bg-dark .label { color: #e2a57f; }
.bg-dark .lede { color: var(--on-dark-soft); }
.bg-dark a:not(.btn) { color: var(--on-dark); }
.rule { border: 0; border-top: 1px solid var(--hairline); margin: 0; }
.head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 80px); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.split-wide { grid-template-columns: 1.15fr 1fr; }
.split.top { align-items: start; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) {
  .split, .split-wide { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}

.cols { display: grid; gap: clamp(32px, 4vw, 56px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }

/* Numbered editorial items */
.feature { border-top: 1px solid var(--hairline-strong); padding-top: 28px; }
.feature .num { display: block; font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--clay); margin-bottom: 18px; }
.feature h3 { margin-bottom: 14px; }
.feature p { color: var(--body); margin: 0; }
.bg-dark .feature { border-color: rgba(243, 239, 231, 0.22); }

/* ---------- Imagery ---------- */
.frame {
  position: relative; overflow: hidden; background: var(--sand);
  aspect-ratio: 4 / 5;
}
.frame.arch { border-radius: 999px 999px 0 0; }
.frame.wide { aspect-ratio: 16 / 9; }
.frame.land { aspect-ratio: 4 / 3; }
.frame.square { aspect-ratio: 1; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.placeholder {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 70% 20%, rgba(255, 253, 249, 0.7), transparent 60%),
    linear-gradient(165deg, #e9dfcd 0%, #d6c7ad 48%, #b6b99f 100%);
}
.placeholder.t2 { background: radial-gradient(90% 70% at 25% 15%, rgba(255,253,249,0.65), transparent 60%), linear-gradient(190deg, #dfe5dc 0%, #bccabc 50%, #93a898 100%); }
.placeholder.t3 { background: radial-gradient(90% 70% at 50% 0%, rgba(255,253,249,0.7), transparent 60%), linear-gradient(175deg, #efe5d6 0%, #dcc6a8 55%, #c2a07e 100%); }
.frame figcaption, .frame .cap {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); white-space: nowrap;
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(27, 36, 34, 0.55);
}

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 110px) 0 var(--section); }
.hero .split { grid-template-columns: 1.2fr 1fr; }
.hero h1 { margin-bottom: 32px; }
.hero .lede { margin-bottom: 44px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hairline); }
.hero-meta div { font-size: 0.82rem; color: var(--muted); }
.hero-meta strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: var(--ink); line-height: 1.2; }
.hero-art { position: relative; max-width: 520px; justify-self: end; width: 100%; }
.hero-art .seal {
  position: absolute; left: -44px; bottom: 60px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--canvas); border: 1px solid var(--hairline-strong); display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-style: italic; font-size: 1.05rem; line-height: 1.25; color: var(--ink); padding: 18px;
}
@media (max-width: 900px) {
  .hero .split { grid-template-columns: 1fr; }
  .hero-art { justify-self: stretch; max-width: none; }
  .hero-art .seal { left: 16px; bottom: 16px; width: 116px; height: 116px; font-size: 0.95rem; }
}

.page-hero { padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 6vw, 90px); text-align: center; border-bottom: 1px solid var(--hairline); }
.page-hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); max-width: 16ch; margin-left: auto; margin-right: auto; }
.page-hero .lede { margin: 0 auto; }
.crumbs { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; }
.crumbs ol { list-style: none; display: flex; justify-content: center; gap: 10px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--hairline-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Lists ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--hairline); }
.list li:first-child { border-top: 1px solid var(--hairline); }
.list li::before { content: ""; position: absolute; left: 4px; top: 29px; width: 14px; height: 1px; background: var(--clay); }
.list.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.list.two li:nth-child(2) { border-top: 1px solid var(--hairline); }
@media (max-width: 640px) { .list.two { grid-template-columns: 1fr; } .list.two li:nth-child(2) { border-top: 0; } }
.bg-dark .list li { border-color: rgba(243, 239, 231, 0.16); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--hairline-strong); }
.steps li { counter-increment: s; padding: 36px 32px 0 0; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--hairline); }
.steps li::before { content: counter(s, upper-roman); display: block; font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--clay); margin-bottom: 18px; }
.steps h3 { font-size: 1.5rem; margin-bottom: 10px; }
.steps p { font-size: 0.94rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li { padding-bottom: 36px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--hairline); }
}

.steps-v { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps-v li { counter-increment: s; display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--hairline); }
.steps-v li:first-child { border-top: 1px solid var(--hairline-strong); }
.steps-v li::before { content: counter(s, upper-roman); font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--clay); line-height: 1.2; }
.steps-v h3 { margin-bottom: 8px; }
.steps-v p { margin: 0; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 22px 1fr; gap: 22px; padding-bottom: 30px; position: relative; }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 26px; bottom: 4px; width: 1px; background: var(--hairline-strong); }
.timeline li:last-child::after { display: none; }
.timeline .mk { width: 21px; height: 21px; border-radius: 50%; border: 1px solid var(--hairline-strong); background: var(--canvas); margin-top: 3px; }
.timeline .done .mk { background: var(--evergreen); border-color: var(--evergreen); }
.timeline .now .mk { background: var(--clay); border-color: var(--clay); box-shadow: 0 0 0 6px var(--clay-tint); }
.timeline strong { display: block; font-weight: 600; }
.timeline span { font-size: 0.92rem; color: var(--muted); }
.tag { display: inline-block; margin-left: 8px; padding: 2px 10px; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay-deep); background: var(--clay-tint); vertical-align: 2px; }

/* ---------- Promise / transparency ---------- */
.promise { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hairline-strong); }
.promise > div { padding: 44px 48px 0 0; }
.promise > div + div { padding-left: 48px; border-left: 1px solid var(--hairline); }
.promise h3 { font-size: 1.6rem; margin-bottom: 22px; }
@media (max-width: 800px) {
  .promise { grid-template-columns: 1fr; }
  .promise > div, .promise > div + div { padding: 36px 0 0; border-left: 0; }
}

/* ---------- Day schedule ---------- */
.day { list-style: none; margin: 0; padding: 0; }
.day li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.day li:first-child { border-top: 1px solid var(--hairline-strong); }
.day time { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--clay-deep); }
.day strong { display: block; }
.day span { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 520px) { .day li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Note ---------- */
.note { border-left: 2px solid var(--clay); background: var(--paper); padding: 22px 26px; font-size: 0.94rem; }
.note p:last-child { margin: 0; }
.panel { background: var(--paper); border: 1px solid var(--hairline); padding: clamp(28px, 4vw, 52px); }

/* ---------- Areas ---------- */
.areas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0; list-style: none; margin: 0 auto; padding: 0; max-width: 900px; }
.areas li { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--ink); padding: 0 22px; position: relative; }
.areas li + li::before { content: ""; position: absolute; left: -3px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-nav { position: sticky; top: 120px; }
.faq-nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline-strong); }
.faq-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--hairline); text-decoration: none; color: var(--body); font-size: 0.9rem; }
.faq-nav a:hover { color: var(--ink); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-nav { position: static; } }
.faq-group + .faq-group { margin-top: 72px; }
.faq-group h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 20px; }
details { border-bottom: 1px solid var(--hairline); }
.faq-group details:first-of-type { border-top: 1px solid var(--hairline-strong); }
summary {
  list-style: none; cursor: pointer; position: relative; padding: 24px 56px 24px 0;
  font-family: var(--display); font-size: 1.4rem; line-height: 1.3; color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::before, summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1px; background: var(--clay);
  transition: transform 0.3s var(--ease);
}
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0deg); }
.answer { padding: 0 56px 26px 0; }
.answer p:last-child { margin: 0; }

/* ---------- Article (guide) ---------- */
.article { max-width: 720px; margin: 0 auto; font-size: 1.04rem; }
.article h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-top: 2.2em; }
.article h3 { margin-top: 1.6em; }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: 0.6em; }
.article li::marker { color: var(--clay); }
.toc { border-top: 1px solid var(--hairline-strong); border-bottom: 1px solid var(--hairline); padding: 28px 0; margin: 0 0 48px; }
.toc p { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.compare { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 0.94rem; }
.compare caption { text-align: left; font-size: 0.85rem; color: var(--muted); padding-bottom: 12px; caption-side: bottom; padding-top: 12px; }
.compare th, .compare td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.compare thead th { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay-deep); border-bottom: 1px solid var(--hairline-strong); }
.table-scroll { overflow-x: auto; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label, legend { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.hint { display: block; margin-top: 4px; font-size: 0.8rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.req { color: var(--clay-deep); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: 400 1rem/1.5 var(--text); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--hairline-strong); border-radius: 0;
  padding: 12px 0; transition: border-color 0.3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f4c28' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; background-size: 18px; padding-right: 28px; cursor: pointer;
}
textarea { min-height: 120px; resize: vertical; border: 1px solid var(--hairline-strong); padding: 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--evergreen); box-shadow: 0 1px 0 0 var(--evergreen); }
textarea:focus { box-shadow: 0 0 0 1px var(--evergreen); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #a2412a; }
.field-error { display: block; margin-top: 8px; font-size: 0.82rem; color: #a2412a; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; margin: 0; text-transform: none; letter-spacing: 0; font-weight: 400; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: block; height: 100%; border: 1px solid var(--hairline-strong); padding: 16px 18px; font-size: 0.95rem; color: var(--ink); transition: border-color 0.2s, background 0.2s; }
.choice span small { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.choice input:checked + span { border-color: var(--evergreen); background: var(--evergreen-tint); box-shadow: inset 0 0 0 1px var(--evergreen); }
.choice input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 3px; }
.consent { display: flex; gap: 14px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 0.88rem; font-weight: 400; color: var(--body); }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--evergreen); }
.form-status { margin: 18px 0 0; font-size: 0.92rem; }
.form-status.err { color: #a2412a; }
.hidden { display: none !important; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.success { text-align: center; padding: 40px 0; }
.success:focus { outline: none; }

.contact-list { list-style: none; margin: 0 0 40px; padding: 0; }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.contact-list li:first-child { border-top: 1px solid var(--hairline-strong); }
.contact-list .k { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: 4px; }
.contact-list .v { font-family: var(--display); font-size: 1.45rem; color: var(--ink); text-decoration: none; }

.crisis { border: 1px solid var(--hairline-strong); padding: 22px 24px; font-size: 0.9rem; }
.crisis strong { display: block; margin-bottom: 4px; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .statement { max-width: 18ch; margin: 0 auto 22px; font-size: clamp(2.4rem, 5vw, 4rem); }
.cta p { max-width: 54ch; margin: 0 auto 40px; }
.cta .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--evergreen-night); color: var(--on-dark-soft); font-size: 0.9rem; padding: clamp(72px, 9vw, 120px) 0 36px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(243, 239, 231, 0.14); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .brand { color: var(--on-dark); margin-bottom: 22px; }
.site-footer .brand svg { color: #e2a57f; }
.site-footer .brand-word small { color: var(--on-dark-soft); }
.footer-line { font-family: var(--display); font-size: 1.45rem; line-height: 1.35; color: var(--on-dark); max-width: 22ch; }
.site-footer h2 { font-family: var(--text); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: #e2a57f; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-crisis strong { display: block; color: var(--on-dark); margin-bottom: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; padding-top: 30px; font-size: 0.8rem; }
.footer-bottom p { margin: 0; max-width: 78ch; }

/* ---------- Placeholder marker (remove class once filled in) ---------- */
.ph { background: #fff1bf; box-shadow: 0 0 0 2px #fff1bf; color: #4a3b00 !important; }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .status-bar, .site-header, .site-footer, .btn { display: none !important; }
  body { background: #fff; }
}

/* ---------- Utilities (no inline styles: keeps the CSP strict) ---------- */
.more { margin-top: clamp(32px, 4vw, 48px); margin-bottom: 0; }
.space-top { margin-top: 32px; }
.nav-toggle b { font-weight: 500; }
.bg-dark h2 em, .bg-dark .statement em { color: #e8b590; }
.aside-title { font-size: clamp(1.7rem, 2.4vw, 2.1rem); margin-bottom: 28px; }
.center-row { justify-content: center; }
.success h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(16px, 2vw, 28px); }
.gallery .frame { aspect-ratio: auto; height: clamp(360px, 44vw, 600px); }
.gallery-note { margin-top: 18px; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .frame { height: auto; aspect-ratio: 4 / 3; }
}
.split-form { grid-template-columns: 1.35fr 1fr; }
@media (max-width: 900px) { .split-form { grid-template-columns: 1fr; } }
.steps-v li > div { min-width: 0; }
.article h2:first-of-type { margin-top: 0; }
.compare th[scope="row"] { font-weight: 600; color: var(--ink); }

/* ---------- Hero wordmark: the name leads, the promise follows ---------- */
.hero h1.wordmark {
  font-size: clamp(4rem, 9.5vw, 8.2rem); font-weight: 400; line-height: 0.92; letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.wordmark em { display: block; font-style: italic; color: var(--clay-deep); padding-left: 0.42em; }
.tagline {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--display); font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.3; color: var(--ink);
  margin: 0 0 26px;
}
.tagline::before { content: ""; width: 44px; height: 1px; background: var(--clay); flex: none; }
@media (max-width: 520px) { .wordmark em { padding-left: 0.3em; } }

/* ======================================================================
   Motion + components (adapted from 21st.dev Wizard Steps and FAQ Accordion,
   rebuilt as plain CSS/JS so the strict CSP stays intact)
   ====================================================================== */
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Scroll text reveal: words rise from behind a mask ---------- */
.wsplit .w {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: 0 0.08em 0.14em 0; margin: 0 -0.08em -0.14em 0;
}
.wsplit .wi {
  display: inline-block; transform: translateY(112%);
  transition: transform 1.05s cubic-bezier(0.19, 1, 0.22, 1);
}
.wsplit.in .wi { transform: none; }
/* FAQ headline variant: blur-in word by word */
.blur-words.wsplit .w { overflow: visible; }
.blur-words.wsplit .wi { transform: translateY(12px); opacity: 0; filter: blur(6px); transition: transform 0.55s ease, opacity 0.55s ease, filter 0.55s ease; }
.blur-words.wsplit.in .wi { transform: none; opacity: 1; filter: none; }

/* ---------- Hero arch: photo uncovers from the ground up ---------- */
.js .frame.arch { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s cubic-bezier(0.77, 0, 0.18, 1) 0.15s; }
.js .frame.arch.in { clip-path: inset(0 0 0 0); }
.js .frame.arch .placeholder, .js .frame.arch img { transform: scale(1.12); transition: transform 2.2s cubic-bezier(0.19, 1, 0.22, 1) 0.15s; }
.js .frame.arch.in .placeholder, .js .frame.arch.in img { transform: none; }
.js .hero-art .seal { opacity: 0; transform: scale(0.9); transition: opacity 0.9s var(--ease) 1.2s, transform 0.9s var(--ease) 1.2s; }
.js .frame.arch.in + .seal { opacity: 1; transform: none; }

/* ---------- FAQ: smooth single-open accordion ---------- */
.answer { overflow: hidden; }
summary { transition: color 0.25s var(--ease); }
summary:hover { color: var(--evergreen); }
.js details summary::after { transform: rotate(90deg); }
.js details.is-open summary::after { transform: rotate(0deg); }

/* ---------- Interest form wizard ---------- */
.page-hero-slim { border-bottom: 0; padding-bottom: 24px; }
.wizard-wrap { max-width: 640px; }
.wizard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.wizard-count { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--clay-deep); }
.wizard-title { font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--ink); }

.wizard-rail { list-style: none; display: flex; align-items: center; margin: 0 0 44px; padding: 0; }
.wizard-rail li { display: flex; align-items: center; gap: 12px; flex: 1; }
.wizard-rail li:last-child { flex: none; }
.rail-step { background: none; border: 0; padding: 2px; border-radius: 50%; cursor: pointer; }
.rail-step:disabled { cursor: default; }
.tile {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--hairline-strong); background: var(--canvas); color: var(--muted);
  font-family: var(--display); font-size: 1.15rem; transform: scale(0.88);
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.5, 1), background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.tile > * { grid-area: 1 / 1; }
.tile svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(0.5); transition: opacity 0.25s, transform 0.35s var(--ease); }
.here .tile { transform: scale(1); border-color: var(--ink); color: var(--ink); box-shadow: 0 0 0 6px var(--evergreen-tint); }
.done .tile { transform: scale(0.94); background: var(--evergreen); border-color: var(--evergreen); color: #fff; }
.done .tile .n { opacity: 0; }
.done .tile svg { opacity: 1; transform: none; }
.rail-bar { position: relative; flex: 1; height: 1px; background: var(--hairline-strong); overflow: hidden; }
.rail-bar span { position: absolute; inset: 0; background: var(--evergreen); transform: scaleX(0); transform-origin: left; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); }
.done .rail-bar span { transform: scaleX(1); }

.wizard-viewport { position: relative; outline: none; }
.wizard-panel { border: 0; margin: 0; padding: 0; min-width: 0; }
.wizard-panel.leaving { position: absolute; top: 0; left: 0; right: 0; pointer-events: none; }
.wizard .step-q {
  font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 400; line-height: 1.15;
  letter-spacing: -0.005em; text-transform: none; color: var(--ink); padding: 0; margin: 0 0 28px;
}
.wizard .choices { grid-template-columns: 1fr; gap: 12px; }
.wizard .choice span { position: relative; padding: 20px 60px 20px 24px; background: var(--paper); transition: border-color 0.25s, background 0.25s, box-shadow 0.25s; }
.wizard .choice span:hover { border-color: var(--ink); }
.wizard .choice b { display: block; font-weight: 500; font-size: 1.02rem; color: var(--ink); }
.wizard .choice span::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%; border: 1px solid var(--hairline-strong); background: var(--paper); transition: border 0.25s var(--ease);
}
.wizard .choice input:checked + span::after { border: 6px solid var(--evergreen); }
.wizard .fields { display: grid; gap: 28px; }
.wizard textarea { min-height: 140px; background: var(--paper); }
.wizard textarea::placeholder { color: var(--muted); }
.wizard .hint { margin-top: 8px; }

.wizard-actions { display: flex; align-items: center; justify-content: flex-end; gap: 24px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--hairline); }
.back-link {
  margin-right: auto; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  font: 600 0.74rem/1 var(--text); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  transition: color 0.25s;
}
.back-link::before { content: "\2190"; margin-right: 12px; letter-spacing: 0; }
.back-link:hover { color: var(--ink); }
.wizard-foot { text-align: center; margin: 40px 0 0; }
.wizard-foot + .wizard-foot { margin-top: 8px; }

/* No-JS fallback: show every step at once as a normal form */
.wizard:not(.is-wizard) .wizard-head,
.wizard:not(.is-wizard) .wizard-rail,
.wizard:not(.is-wizard) [data-next],
.wizard:not(.is-wizard) [data-back] { display: none !important; }
.wizard:not(.is-wizard) .wizard-panel + .wizard-panel { margin-top: 48px; }

/* ======================================================================
   Illustration system (no photography yet): line art that draws itself,
   warm glows, a parallax landscape, and a scroll-driven daylight band.
   ====================================================================== */

/* ---------- Scroll progress hairline under the header ---------- */
.scroll-line { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-line span {
  display: block; height: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--clay) 0%, #e9a36f 50%, var(--evergreen) 100%);
}

/* ---------- Ambient warm glow behind the home hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; filter: blur(60px);
}
.hero::before { width: 640px; height: 640px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(242, 178, 127, 0.22) 0%, rgba(242, 178, 127, 0.08) 45%, transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.hero::after { width: 520px; height: 520px; left: -200px; bottom: -220px; background: radial-gradient(circle, rgba(47, 93, 80, 0.12), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }

/* ---------- Hero landscape inside the arch ---------- */
.scene { background: #f4d6bd; }
.landscape { position: absolute; inset: 0; width: 100%; height: 100%; }
.landscape .layer { transform-box: view-box; will-change: transform; }
.js .landscape .layer { opacity: 0; translate: 0 36px; transition: opacity 1.4s var(--ease), translate 1.6s cubic-bezier(0.19, 1, 0.22, 1); }
.js .landscape .layer:nth-child(3) { transition-delay: 0.35s; }
.js .landscape .layer:nth-child(4) { transition-delay: 0.55s; }
.js .landscape .layer:nth-child(5) { transition-delay: 0.7s; }
.js .landscape .layer:nth-child(6) { transition-delay: 0.85s; }
.js .landscape .layer:nth-child(7) { transition-delay: 1s; }
.js .landscape .sun { translate: 0 70px; transition-delay: 0.2s; transition-duration: 1.4s, 2.6s; }
.js .scene.in .layer { opacity: 1; translate: 0 0; }
.window-glow { animation: flicker 6s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 50% { opacity: 0.72; } }
.scene-cap {
  position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; z-index: 2;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(243, 239, 231, 0.85);
}

/* ---------- Line illustrations that draw on scroll ---------- */
.illus { margin: 0; position: relative; }
.illus svg { width: 100%; height: auto; overflow: visible; }
.illus .draw { stroke-dasharray: var(--len, 0); stroke-dashoffset: var(--len, 0); transition: stroke-dashoffset 2.4s cubic-bezier(0.65, 0, 0.35, 1); }
.illus.in .draw { stroke-dashoffset: 0; }
.illus .glow { opacity: 0; transition: opacity 1.6s var(--ease); }
.illus.in .glow { opacity: 1; }
.illus .halo { opacity: 0; transform: scale(0.8); transform-origin: center; transform-box: fill-box; transition: opacity 2s var(--ease) 0.3s, transform 2.4s var(--ease) 0.3s; }
.illus.in .halo { opacity: 1; transform: none; }
.illus figcaption {
  margin-top: 22px; text-align: center; font-family: var(--display); font-style: italic;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem); color: var(--ink);
}
.illus-panel { background: var(--paper); border: 1px solid var(--hairline); padding: clamp(28px, 4vw, 56px); }
.bg-paper .illus-panel { background: var(--canvas); }

/* ---------- Night scene: staff awake all night ---------- */
.night { background: linear-gradient(180deg, #102722 0%, #1d3f36 70%, #2a5044 100%); padding: 0; overflow: hidden; border: 0; }
.night figcaption { color: var(--on-dark); margin: 0; padding: 0 0 30px; }
.twinkle { animation: twinkle 4s ease-in-out infinite; }
.twinkle:nth-of-type(2n) { animation-delay: 1.3s; animation-duration: 5s; }
.twinkle:nth-of-type(3n) { animation-delay: 2.1s; animation-duration: 3.5s; }
@keyframes twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.illus.in .lamp { animation: lamp 5s ease-in-out 4.5s infinite; }
@keyframes lamp { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }

/* ---------- Daylight band: dawn to dusk as you scroll ---------- */
.daylight { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 170px) 0; isolation: isolate; }
.daylight .sky { position: absolute; inset: 0; z-index: -2; transition: opacity 0.2s linear; }
.sky-dawn { background: linear-gradient(180deg, #f8efe4 0%, #f6dcc6 55%, #f1c6a3 100%); }
.sky-day { background: linear-gradient(180deg, #f3ead9 0%, #efd7ae 55%, #e9bd84 100%); opacity: 0; }
.sky-dusk { background: linear-gradient(180deg, #2a4a41 0%, #7a6a58 55%, #d38f63 100%); opacity: 0; }
.sun-arc { position: absolute; left: 0; right: 0; top: 18px; width: 100%; height: 42%; z-index: -1; overflow: visible; }
.daylight .head { position: relative; }
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 860px) { .moments { grid-template-columns: 1fr; } }
.moment { background: rgba(255, 253, 249, 0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: clamp(28px, 3vw, 40px); border: 1px solid rgba(207, 195, 174, 0.7); }
.moment time { display: block; font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--clay-deep); margin-bottom: 10px; }
.moment h3 { font-size: 1.7rem; margin-bottom: 10px; }
.moment p { margin: 0; color: var(--body); }
.daylight.is-dusk .head h2, .daylight.is-dusk .head .label { color: var(--on-dark); }
.daylight .head h2, .daylight .head .label { transition: color 0.6s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .window-glow, .twinkle, .illus.in .lamp { animation: none; }
  .illus .draw { stroke-dasharray: none; stroke-dashoffset: 0; }
  .illus .glow, .illus .halo, .js .landscape .layer { opacity: 1; transform: none; translate: none; }
}

/* Hero stats: always one row of three, sized down on phones */
.hero-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 44px; }
@media (max-width: 560px) {
  .hero-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; }
  .hero-meta strong { font-size: 1.25rem; }
  .hero-meta div { font-size: 0.76rem; line-height: 1.45; }
}
