/* © 2026 House Left LLC. pageantia.com — light and air (Brenda: "Pageants are not black background people.
   They are all light and air."; "clean", "very current", "don't go so elegant"). One typeface (Jost), near-black
   ink on white and ivory, and no solid buttons: every button is a FRAME (her rule on arriveeapp.com). */

@font-face { font-family: 'Jost'; font-weight: 300; font-style: normal; font-display: swap; src: url('/fonts/jost-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/jost-latin-400-normal.woff2') format('woff2'); }
/* Cormorant Garamond (SIL Open Font License) -- for the hero heading only (Brenda, 2026-11-03: "a better font for only these words") */
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: italic; font-display: swap; src: url('/fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/jost-latin-500-normal.woff2') format('woff2'); }

:root {
  --white: #ffffff;
  --ivory: #faf8f4;
  --ink: #161616;
  --ink-2: #4a4a4a;
  --ink-3: #7a7a7a;
  --line: #e7e3dc;
  --wash: rgba(22, 22, 22, 0.04);
  --gold: #a8843a;           /* hairlines and small marks only, never a fill */
  /* BLUSH (Brenda, 2026-11-03: "do you think a more pink look would be better?" -- a soft blush accent, the page stays white) */
  --rose: #a8505f;           /* small text and marks: eyebrows, numbers, ticks (readable on white) */
  --blush: #e3aab3;          /* button frames and hairline accents */
  --blush-wash: #fcf2f3;     /* section tints and hover washes */
  --wrap: 1120px;
  --r: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 300;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rose); }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 300; }
h3 { font-size: 1.08rem; font-weight: 500; letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.soft { color: var(--ink-3); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem; font-weight: 500; color: var(--rose); margin: 0 0 1rem; }
.sub { color: var(--ink-2); }

/* THE HOUSE LEFT BAR */
.parent-bar { background: #f6dde1; border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-2); }
.parent-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.parent-in a { text-decoration: none; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 0.92rem; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }

/* BUTTONS ARE FRAMES — no solid fills anywhere. The main action is an ink frame; the second a hairline. */
.btn {
  display: inline-block; font: inherit; font-weight: 400; font-size: 0.95rem; letter-spacing: 0.04em;
  padding: 0.8em 1.6em; border-radius: 999px; text-decoration: none; cursor: pointer;
  background: transparent; color: var(--ink); border: 1.5px solid var(--rose);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover, .btn:focus-visible { background: var(--blush-wash); color: var(--ink); }
.btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.btn-main { border-color: var(--rose); }
.btn-line { border: 1px solid var(--blush); color: var(--ink-2); }
.btn-line:hover { border-color: var(--rose); color: var(--ink); }
.btn-sm { padding: 0.5em 1.15em; font-size: 0.85rem; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2rem; }

/* HERO */
/* The page starts on a blush band (Brenda, 2026-11-03: "maybe start off with the blush band?") */
.hero { padding: clamp(28px, 5vw, 56px) 0 clamp(56px, 8vw, 100px); background: linear-gradient(180deg, var(--blush-wash), #f9e6e9 70%, var(--white)); text-align: center; }
.hero-in { max-width: 1000px; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-2); max-width: 720px; margin: 1.4rem auto 0; }
.hero .ctas { justify-content: center; }
.hero h1 { font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; font-weight: 500; font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: 0; line-height: 1.08; }
.hero h1 .soft { font-style: italic; color: var(--rose); }
/* THE CROWN (Brenda, 2026-11-03: "can we have the crown image?") -- framed on the white page, never a dark full-bleed band */
.hero-pic { margin: 0 auto clamp(40px, 6vw, 72px); }
.hero-pic img { display: block; width: 100%; height: auto; border-radius: var(--r); box-shadow: 0 18px 50px rgba(168, 80, 95, 0.12); }

/* STATS */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.stats-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.stats p { margin: 0; display: flex; gap: 14px; align-items: baseline; }
.stats strong { font-size: 2.2rem; font-weight: 300; color: var(--rose); line-height: 1; }
.stats span { color: var(--ink-2); font-size: 0.95rem; }

/* SECTIONS */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-tint { background: var(--blush-wash); }
.two { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }

/* THE JOURNEY: numbered steps */
.steps { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 20px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; color: var(--rose); font-size: 0.8rem; letter-spacing: 0.18em; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 0.97rem; margin: 0; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 2.2rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.sec-tint .card { background: var(--white); }
.card p { color: var(--ink-2); font-size: 0.96rem; margin: 0; }

/* TICK LISTS */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.ticks li:first-child { border-top: 1px solid var(--line); }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 1.45em; width: 10px; height: 5px; border-left: 1.5px solid var(--rose); border-bottom: 1.5px solid var(--rose); transform: rotate(-45deg); }

/* THE FORM */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 0.85rem; color: var(--ink-2); letter-spacing: 0.02em; }
.form input, .form textarea {
  font: inherit; font-weight: 300; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form .send { margin: 4px 0 0; }
.hidden-field { position: absolute; left: -9999px; }

/* FOOTER */
footer { border-top: 1px solid var(--line); background: var(--white); padding: 44px 0 56px; font-size: 0.86rem; color: var(--ink-3); }
.foot { display: grid; gap: 8px; justify-items: center; text-align: center; }
.foot-logo { width: 170px; margin-bottom: 10px; }

/* SIMPLE PAGES (thank you, not found) */
.page { text-align: center; padding: 90px 24px 110px; max-width: 640px; }
.page .logo { width: min(320px, 100%); margin: 0 auto 36px; }
.page .ctas { justify-content: center; }

/* ENTRANCES (site.js adds .js) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* THE ASSISTANT — a frame button bottom right, a light panel */
.chat-open {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; font: inherit; font-size: 0.9rem; font-weight: 400; letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.96); color: var(--ink); border: 1.5px solid var(--rose); border-radius: 999px; padding: 0.7em 1.3em; cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
.chat-open:hover, .chat-open:focus-visible { background: var(--blush-wash); }
.chat-box {
  position: fixed; right: 20px; bottom: 20px; z-index: 41; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 40px));
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 60px rgba(0, 0, 0, 0.14);
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-box[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-title { font-weight: 500; }
.chat-close { font: inherit; font-size: 1.4rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink-2); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; }
.chat-msg { padding: 10px 13px; border-radius: 14px; font-size: 0.93rem; line-height: 1.5; max-width: 88%; word-wrap: break-word; }
.chat-bot { background: var(--ivory); justify-self: start; }
.chat-me { border: 1px solid var(--line); justify-self: end; }
.chat-wait { color: var(--ink-3); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-input { flex: 1; font: inherit; font-weight: 300; font-size: 0.93rem; resize: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.chat-input:focus { outline: none; border-color: var(--ink); }
.chat-send { font: inherit; font-size: 0.88rem; background: transparent; color: var(--ink); border: 1.5px solid var(--rose); border-radius: 999px; padding: 0 1em; cursor: pointer; }
.chat-send:disabled { opacity: 0.4; cursor: default; }
.chat-note { margin: 0; padding: 0 14px 12px; font-size: 0.72rem; color: var(--ink-3); }

/* PHONE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-in .btn { margin-left: auto; }
  .steps, .cards-3 { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .stats-in, .steps, .cards-3, .form .row { grid-template-columns: 1fr; }
  .stats-in { gap: 18px; }
  .parent-note { display: none; }
  .nav-logo img { height: 28px; }
}
