/* ============================================================
   LBW APPLICATION FUNNEL - STYLES
   Tim's funnel spec: plain white page, near-black Abyss text,
   thin brand strip on top, gold for accents and buttons only.
   Mobile first; most Meta traffic is phones.
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-bec94a4daf.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/playfair-fdd6c39166.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --abyss: #0a1628;
  --gold: #c9a96e;
  --sand: #d4c5a9;
  --cream: #f5f0e8;
  --muted: #4a5466;
  --line: #d9d2c4;
  --tint: #faf6ee;
  --error: #b42318;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--abyss);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p, li { text-wrap: pretty; }
legend, label { text-wrap: balance; }

a { color: var(--abyss); text-underline-offset: 3px; }

/* ---------- brand frame ---------- */
.brand-strip { display: flex; height: 6px; }
.brand-strip span:nth-child(1) { flex: 6; background: var(--abyss); }
.brand-strip span:nth-child(2) { flex: 2.5; background: var(--gold); }
.brand-strip span:nth-child(3) { flex: 1.5; background: var(--sand); }

.site-mark {
  text-align: center;
  padding: 1.1rem 1rem 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.75rem 1rem 3rem;
}
.wrap--wide { max-width: 820px; }

.footer-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0 1rem 2rem;
  margin: 0;
}

/* ---------- hero ---------- */
.hero { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--abyss);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.2rem;
  margin: 0 0 0.9rem;
  text-wrap: balance;
}

/* The placeholder H1 is 4 words; it must sit on one line at every width
   (a 2-line wrap of 4 words always leaves a 2-word tail). Its natural
   width is about 12.8em, so 7vw fits a 390px phone and 2.8rem fits desktop. */
.hero h1 {
  font-size: clamp(1.4rem, 7vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.sub {
  max-width: 36ch;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--muted);
  text-wrap: balance;
}

.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 1.25rem;
  border: 0;
}

/* Application page: one plain instruction bar under the headline, no video
   (Ryan's reference 2026-09-12). Cream panel, navy text, gold edge. */
.steps-bar {
  max-width: 34ch;
  margin: 0 auto 1.75rem;
  padding: 0.8rem 1.1rem;
  background: var(--cream);
  border: 1px solid rgba(201, 169, 110, 0.55);
  border-radius: 4px;
  color: var(--abyss);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.5;
  text-wrap: balance;
}

/* Placeholder until Ryan films the videos. Swap the div for an embed. */
.video-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 1.5rem 0 0;
  border-radius: 12px;
  background: var(--abyss);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  overflow: hidden;
}
.video-slot .play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  position: relative;
}
.video-slot .play::after {
  content: '';
  position: absolute;
  left: 26px;
  top: 20px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent var(--gold);
}
.video-slot .video-label {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-wrap: balance;
  padding: 0 1rem;
  text-align: center;
}

/* ---------- application form ---------- */
.form-card {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 14px;
  padding: 1.5rem 1.15rem 1.25rem;
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.06);
}

.form-card > h2 {
  font-size: 1.6rem;
  text-align: center;
}
.form-intro {
  text-align: center;
  color: var(--muted);
  margin: 0.35rem 0 0.5rem;
  text-wrap: balance;
}

.form-step {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.5rem 0 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 0.75rem; }

.field label,
.q legend {
  display: block;
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.45;
  margin-bottom: 0.45rem;
}
.optional { font-weight: 400; color: var(--muted); }

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 16px; /* 16px stops iOS Safari from zooming into the field */
  color: var(--abyss);
  background: #fff;
  border: 1px solid #b9b1a2;
  border-radius: 8px;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: #7a8190; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--abyss);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.5);
}

.q { border: 0; padding: 0; margin: 0 0 1.35rem; min-width: 0; }
.q legend { padding: 0; width: 100%; }

.opts { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
.opts--pair { grid-template-columns: 1fr 1fr; }

.opt {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid #b9b1a2;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.97rem;
  line-height: 1.35;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.opt input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--abyss);
}
.opt:hover { border-color: var(--abyss); }
.opt:has(input:checked) {
  border-color: var(--abyss);
  background: var(--tint);
  box-shadow: inset 0 0 0 1px var(--abyss);
}
.opt:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.5); }

.has-error input,
.has-error textarea,
.has-error .opt { border-color: var(--error); }

.err {
  color: var(--error);
  font-size: 0.875rem;
  margin: 0.4rem 0 0;
}

/* Honeypot: off-screen, not display:none, so naive bots still fill it. */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  color: var(--error);
  font-weight: 600;
  text-align: center;
  margin: 0.5rem 0 0.75rem;
}

.submit,
.btn {
  display: block;
  width: 100%;
  min-height: 54px;
  margin-top: 0.5rem;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--abyss);
  background: var(--gold);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  transition: background-color 0.15s ease;
}
.submit:hover,
.btn:hover { background: var(--sand); }
.submit:focus-visible,
.btn:focus-visible { outline: 3px solid var(--abyss); outline-offset: 2px; }
.submit:disabled { opacity: 0.7; cursor: wait; }

.field--consent { margin: 1.25rem 0 1rem; }
.consent-label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  cursor: pointer;
}
/* Undo the text-field styling (.field input) so the native checkbox shows. */
.field--consent .consent-label input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: auto;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0.15rem 0 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  accent-color: var(--abyss);
}
.field--consent.has-error .consent-text { color: var(--error); }
.consent-text {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
}
.consent-text a { color: var(--abyss); text-decoration: underline; text-underline-offset: 2px; }

.fine {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
  text-wrap: balance;
}

/* ---------- booking + follow-up pages ---------- */
.cal-wrap { margin-top: 1.75rem; }

.panel {
  margin-top: 2rem;
  text-align: left;
}
.panel h2 {
  font-size: 1.45rem;
  text-align: center;
  margin-bottom: 1rem;
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0.9rem 1rem 0.9rem 3.1rem;
  border-left: 3px solid var(--gold);
  background: var(--tint);
  border-radius: 0 10px 10px 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 0.9rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--abyss);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5rem;
  text-align: center;
}

.copy {
  max-width: 34rem;
  margin: 0 auto;
}
.copy p { margin: 0 0 1rem; }

.btn { max-width: 22rem; margin: 1.5rem auto 0; }

@media (min-width: 480px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .opts { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .wrap { padding-top: 2.5rem; }
  .form-card { padding: 2rem 2rem 1.5rem; }
}
