/* Luxe Glide: quiet luxury, coastal. Mobile-first; no framework. */

:root {
  /* Palette */
  --paper: #FDFBF7;        /* page background, warm white */
  --sand: #F4EEE4;         /* alternate section background */
  --sand-deep: #E6DCCB;    /* borders, placeholders */
  --navy: #1B2A3A;         /* primary text, buttons */
  --navy-soft: #24374B;    /* dark section background */
  --ink-soft: #4A5563;     /* secondary text */
  --sea-glass: #A9C8C0;    /* decorative accent on dark backgrounds */
  --sea-glass-deep: #2F5F58; /* links and accents on light backgrounds */
  --line: #DCD3C4;
  --focus: #2F5F58;
  --white: #FFFFFF;

  /* Type */
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing */
  --gutter: 1.25rem;
  --section-y: 4.5rem;
  --radius: 4px;
  --max: 72rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.005em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.5rem, 9vw, 4.25rem); }
h2 { font-size: clamp(2rem, 6vw, 2.875rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; }

p { margin: 0 0 1rem; }

a { color: var(--sea-glass-deep); text-underline-offset: 0.2em; }
a:hover { color: var(--navy); }

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap.narrow { max-width: 46rem; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 247, 0.94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(253, 251, 247, 0.85); backdrop-filter: blur(8px); }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-decoration: none;
}
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}
.site-nav a:hover { text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  padding: 0.85rem 1.5rem;
  font: inherit;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--navy-soft); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--sand); color: var(--navy); }
.btn-small { padding: 0.5rem 0.9rem; font-size: 0.875rem; white-space: nowrap; }
.btn-block { display: block; width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.7; cursor: not-allowed; }

/* Hero */
.hero { padding: 3rem 0 var(--section-y); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.lede { font-size: 1.125rem; max-width: 36rem; }
.lede-small { color: var(--ink-soft); max-width: 36rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.hero-media { margin: 0; justify-self: center; width: 100%; max-width: 20rem; }
.disclosure-caption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  text-align: center;
}

/* Video frames and CSS-only placeholders */
.video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-deep);
}
.ratio-vertical { aspect-ratio: 9 / 16; }
.ratio-horizontal { aspect-ratio: 16 / 9; }

.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem;
  /* Sky, horizon line, water, sand: a quiet coastal abstraction. */
  background:
    linear-gradient(180deg,
      #EAF0EE 0%,
      #DCE7E3 46%,
      #C7DAD4 46.4%,
      #B5CEC7 62%,
      #E9E0D1 62.4%,
      #E2D6C3 100%);
}
.placeholder-label {
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
  background: rgba(253, 251, 247, 0.8);
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}
.video-frame.is-missing .hero-video { display: none; }

/* Sections */
.section { padding: var(--section-y) 0; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: var(--paper); }
.section-navy h2 { color: var(--paper); }
.section-navy a { color: var(--sea-glass); }
.section-navy a:hover { color: var(--paper); }
.section-navy :focus-visible { outline-color: var(--sea-glass); }
.section-intro { color: var(--ink-soft); max-width: 40rem; margin-bottom: 2.5rem; }
.section-navy .section-intro { color: var(--sand-deep); }
.small-note { font-size: 0.875rem; color: var(--ink-soft); margin-top: 1.5rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.step { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--sea-glass-deep);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.step p { color: var(--ink-soft); margin: 0; }

/* Gallery */
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: 1rem;
}
.gallery-wide { grid-column: 1 / -1; }
.gallery-caption { font-size: 0.875rem; color: var(--ink-soft); margin: 0.6rem 0 0; }

/* Pricing */
.tiers { display: grid; gap: 1.25rem; }
.tier {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}
.price {
  font-family: var(--serif);
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  overflow-wrap: anywhere;
}
.tier-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  flex-grow: 1;
}
.tier-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--sand);
  font-size: 0.9375rem;
}
.tier-list li:last-child { border-bottom: 0; }
.pricing-notes {
  margin-top: 2rem;
  max-width: 46rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.pay-note { color: var(--navy); }

/* Stats */
.stats { display: grid; gap: 1.25rem; }
.stat {
  margin: 0;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(169, 200, 192, 0.45);
  border-radius: var(--radius);
}
.stat-text {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.stat figcaption { font-size: 0.875rem; }

/* Disclosure */
.disclosure-quote {
  margin: 0 0 1.75rem;
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-left: 3px solid var(--sea-glass-deep);
}
.disclosure-quote p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.25;
  margin: 0;
}
.promise-list { padding-left: 1.1rem; margin: 0; }
.promise-list li { margin-bottom: 0.85rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1.1rem 2rem 1.1rem 0;
  font-family: var(--serif);
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 1rem;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--sea-glass-deep);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); padding-bottom: 0.5rem; }

/* Form */
.intake { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.req { font-weight: 400; color: var(--ink-soft); font-size: 0.8125rem; }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #8A8F96;
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  min-height: 2.9rem;
}
.field textarea { resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 1px; }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 0.75rem; }
.field-check input { width: 1.25rem; height: 1.25rem; margin: 0.2rem 0 0; accent-color: var(--navy); }
.field-check label { font-weight: 400; }
.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.privacy-note {
  font-size: 0.875rem;
  color: var(--ink-soft);
  background: var(--sand);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  margin: 0;
}
.intake .btn { justify-self: start; }
.form-status { margin: 0; font-size: 0.9375rem; }
.form-status:empty { display: none; }

/* Footer */
.site-footer {
  background: var(--sand);
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.5rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.footer-grid { display: grid; gap: 1.75rem; }
.wordmark-footer { margin-bottom: 0.4rem; }
.footer-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer address { font-style: normal; overflow-wrap: anywhere; }
.site-footer a { overflow-wrap: anywhere; }
.footer-disclosure { font-size: 0.875rem; }
.footer-legal p { font-size: 0.875rem; }

/* Tablet and up */
@media (min-width: 48rem) {
  :root { --gutter: 2rem; --section-y: 6rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .gallery { grid-template-columns: 1fr 2fr 1fr; align-items: end; }
  .gallery-wide { grid-column: auto; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}

/* Desktop */
@media (min-width: 64rem) {
  .site-nav { display: block; }
  .hero { padding-top: 5rem; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 4rem; }
  .hero-media { max-width: 22rem; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
}

/* 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;
  }
}

/* ---------- For agents: compact price table (added 2026-10-25) ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.agent-prices {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 1rem;
  font-size: 0.95rem;
}
.agent-prices th,
.agent-prices td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.5rem 0.75rem 0;
  border-bottom: 1px solid rgba(27, 42, 58, 0.12);
}
.agent-prices thead th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.agent-prices tbody th { font-weight: 600; white-space: nowrap; }
.agent-prices td:nth-child(2) { white-space: nowrap; }
@media (max-width: 30rem) {
  .agent-prices thead { display: none; }
  .agent-prices tr { display: block; padding: 0.75rem 0; border-bottom: 1px solid rgba(27, 42, 58, 0.12); }
  .agent-prices th, .agent-prices td { display: block; border: 0; padding: 0.1rem 0; }
}
