/* Aura of Grace — warm palette from the AoG brand sheet. */
:root {
  --graphite: #1a161a;
  --graphite-2: #221d1f;
  --umber: #2b2118;
  --sand: #ecddc6;
  --sand-muted: #b4a189;
  --sand-quiet: #8f7f6c;
  --spice: #d98a4b;
  --ivory: #f2ece2;
  --ivory-2: #e9e0d2;
  --burnt: #a8501f;
  --ink: #2b2118;
  --ink-muted: #6e5d4b;
  --line-dark: #3a3230;
  --line-light: #d9ccb8;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: "Sora", "Inter", system-ui, sans-serif;

  --measure: 34rem;
  --wide: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

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

body {
  margin: 0;
  background: var(--graphite);
  color: var(--sand);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--spice); }

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

.skip {
  position: absolute; left: -999px; top: 0.5rem; z-index: 10;
  background: var(--sand); color: var(--ink); padding: 0.5rem 0.9rem; border-radius: 4px;
}
.skip:focus { left: 0.5rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }

/* Header */
.site-header { border-bottom: 1px solid var(--line-dark); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 4.5rem;
}
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.brand svg { width: 2rem; height: 2rem; }
.brand-name {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand);
}
.nav { display: flex; gap: clamp(1rem, 3vw, 2.25rem); font-family: var(--label); font-size: 0.875rem; }
.nav a { text-decoration: none; color: var(--sand-muted); padding: 0.4rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--sand); }
.nav a[aria-current="page"] { border-bottom: 1px solid var(--spice); }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.75rem, 7vw, 5.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.6rem; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--sand); max-width: var(--measure); }
.muted { color: var(--sand-muted); }
.label { font-family: var(--label); font-size: 0.8125rem; color: var(--sand-muted); letter-spacing: 0.01em; }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 3rem; font-size: 2rem; }
.prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.4rem; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.5rem; border-radius: 999px;
  font-family: var(--label); font-size: 0.9rem; font-weight: 500;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button-primary { background: var(--sand); color: var(--ink); }
.button-primary:hover { background: var(--ivory); color: var(--ink); }
.button-quiet { border-color: var(--line-dark); color: var(--sand); }
.button-quiet:hover { border-color: var(--sand-muted); color: var(--sand); }

/* Hero */
.hero { padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(4rem, 9vw, 7rem); overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: clamp(2rem, 6vw, 5rem);
}
.hero-text > * + * { margin-top: 1.5rem; }
.hero-mark { justify-self: center; width: min(100%, 30rem); }
.hero-mark svg { width: 100%; height: auto; overflow: visible; }

.mark-line { fill: none; stroke: var(--sand); stroke-linecap: round; stroke-linejoin: round; }
.mark-spark { fill: var(--spice); }

.draw .mark-ring { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards; }
.draw .mark-a { stroke-dasharray: 170; stroke-dashoffset: 170; animation: draw 1.2s cubic-bezier(0.65, 0, 0.35, 1) 1.2s forwards; }
.draw .mark-spark { opacity: 0; transform-origin: 108.86px 42.21px; transform: scale(0.4) rotate(-30deg); animation: spark 0.7s ease-out 2.2s forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spark { to { opacity: 1; transform: scale(1) rotate(0); } }

@media (prefers-reduced-motion: reduce) {
  .draw .mark-ring, .draw .mark-a { animation: none; stroke-dashoffset: 0; }
  .draw .mark-spark { animation: none; opacity: 1; transform: none; }
  .button { transition: none; }
}

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-light { background: var(--ivory); color: var(--ink); }
.section-light .muted, .section-light .label { color: var(--ink-muted); }
.section-light a:hover { color: var(--burnt); }
.section-umber { background: var(--umber); }
.section-head { display: grid; gap: 1rem; max-width: 40rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }

/* Category rows */
.rows { border-top: 1px solid var(--line-light); }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 1.5rem 3rem; align-items: baseline;
  padding-block: 1.75rem; border-bottom: 1px solid var(--line-light);
}
.row h3 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.row p { max-width: 32rem; }
.status {
  font-family: var(--label); font-size: 0.78rem; color: var(--burnt);
  border: 1px solid currentColor; border-radius: 999px; padding: 0.2rem 0.7rem; white-space: nowrap;
}

/* Steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.steps li { border-top: 1px solid var(--line-dark); padding-top: 1.5rem; }
.step-n { font-family: var(--serif); font-size: 2.75rem; color: var(--spice); line-height: 1; display: block; margin-bottom: 1rem; }
.steps h3 { margin-bottom: 0.75rem; }
.steps p { color: var(--sand-muted); }

/* Statement */
.statement { font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.18; max-width: 52rem; }
.statement-by { margin-top: 2rem; }

/* Waitlist band */
.band .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; }
.band h2 { max-width: 30rem; }

/* Tissue pattern: the small mark repeated, as on the brand sheet's tissue paper. */
.tissue {
  background-color: var(--ivory);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg transform='translate(36 36) scale(0.2)' fill='none' stroke='%23e4dacb' stroke-width='5'%3E%3Cpath d='M99.83 26.57 A52 52 0 1 0 112 60 L47.76 60'/%3E%3Cpath d='M31.4 102.8 L60 28 L88.6 102.8'/%3E%3C/g%3E%3C/svg%3E");
}

/* Waitlist form */
.form-shell {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.form-card { background: var(--ivory); color: var(--ink); border: 1px solid var(--line-light); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.75rem); }
.field { display: grid; gap: 0.45rem; }
.field + .field, .field + fieldset, fieldset + .field, fieldset + fieldset { margin-top: 1.4rem; }
.field label, legend { font-family: var(--label); font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.optional { font-weight: 400; color: var(--ink-muted); }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fbf8f3; border: 1px solid var(--line-light); border-radius: 10px;
  padding: 0.75rem 0.9rem; min-height: 3rem;
}
textarea { min-height: 7rem; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--burnt); outline-offset: 1px; border-color: var(--burnt); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { margin-bottom: 0.6rem; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: 0.5rem 0.95rem; border: 1px solid var(--line-light); border-radius: 999px;
  font-size: 0.9rem; background: #fbf8f3; color: var(--ink); transition: background-color 120ms ease, border-color 120ms ease;
}
.choice input:checked + span { background: var(--umber); border-color: var(--umber); color: var(--sand); }
.choice input:focus-visible + span { outline: 2px solid var(--burnt); outline-offset: 2px; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; margin-top: 1.6rem; font-size: 0.92rem; color: var(--ink); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--umber); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-actions .button-primary { background: var(--umber); color: var(--sand); }
.form-actions .button-primary:hover { background: var(--graphite); color: var(--sand); }
.form-actions .button[disabled] { opacity: 0.6; cursor: progress; }
.form-note { font-size: 0.85rem; color: var(--ink-muted); }
.form-status { margin-top: 1.25rem; font-size: 0.95rem; }
.form-status[data-state="error"] { color: var(--burnt); }
.thanks { display: grid; gap: 1rem; }
.thanks h2 { font-size: 2.25rem; }

/* Contact list */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.contact-list dt, .contact-list .label { margin-bottom: 0.2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-dark); padding-block: 3rem; font-size: 0.92rem; color: var(--sand-muted); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.site-footer nav { display: grid; gap: 0.5rem; align-content: start; font-family: var(--label); font-size: 0.875rem; }
.site-footer nav a { text-decoration: none; }
.site-footer .fine { grid-column: 1 / -1; padding-top: 1.75rem; border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: var(--sand-quiet); }

/* Page heads */
.page-head { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 3.5rem); }
.page-head h1 { max-width: 46rem; }
.page-head .lede { margin-top: 1.5rem; }

/* Founder */
.founder { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.75rem; align-items: center; margin-top: 2rem; }
.monogram {
  width: 5.5rem; height: 5.5rem; border-radius: 50%; border: 1px solid var(--line-light);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.9rem; color: var(--ink);
}

.two-col { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); }
.facts { display: grid; gap: 1.5rem; margin: 0; }
.facts div { border-top: 1px solid var(--line-light); padding-top: 1rem; }
.facts dt { font-family: var(--label); font-size: 0.85rem; color: var(--ink-muted); }
.facts dd { margin: 0.3rem 0 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; }

/* Responsive */
@media (max-width: 860px) {
  .hero .wrap, .form-shell, .two-col { grid-template-columns: 1fr; }
  .hero-mark { order: -1; width: min(70%, 18rem); justify-self: start; }
  .row { grid-template-columns: 1fr; gap: 0.6rem; }
  .row .status { justify-self: start; }
  .steps { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .brand-name { font-size: 0.85rem; letter-spacing: 0.16em; }
  .nav { gap: 0.9rem; font-size: 0.8rem; }
  .site-header .wrap { flex-wrap: wrap; padding-block: 0.75rem; }
}
