/* Bash Allen – Alexander
   Layout: the pitch deck's charcoal grid ground, pale cards, gold serif
   headlines, and a few loose aqua, pink and gold shapes at the edges. */

:root {
  --ink: #0d1b1e;     /* ground, and text on pale or colored fills */
  --panel: #11282c;   /* alternate dark band */
  --pale: #e2e8ea;    /* text on ink, card fill */
  --card: #ffffff;    /* form controls */
  --slate: #41565b;   /* secondary text on pale */
  --mute: #8a9a9c;    /* secondary text on ink */
  --gold: #c2a95a;
  --aqua: #94d6d8;
  --pink: #e79fb5;
  --line: rgba(226, 232, 234, 0.06);
  --font-display: "DM Serif Display", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  color: var(--pale);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; text-wrap: balance; overflow-wrap: break-word; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.1; color: var(--gold); }
h3 { font-size: 1.15rem; font-weight: 900; line-height: 1.25; }
p, ul, ol { margin: 0; }
a { color: inherit; }
svg { display: block; }

:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
.card :focus-visible, .band--gold :focus-visible, .door :focus-visible { outline-color: var(--ink); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 10; background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; font-weight: 900; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Structure ---------- */

.wrap { width: min(100% - (2 * var(--gutter)), 72rem); margin-inline: auto; }
.band { padding-block: clamp(3.25rem, 8vw, 6rem); }
.band--panel { background: var(--panel); }
.band--gold { background: var(--gold); color: var(--ink); }
.band--gold h2 { color: var(--ink); }

.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.stack { display: grid; gap: 1.1rem; align-content: start; }
.head { display: grid; gap: 0.8rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: 44rem; }

.kicker { font-weight: 900; font-size: 0.82rem; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.18em; color: var(--aqua); }
.band--gold .kicker { color: var(--ink); }
.big { font-size: clamp(1.15rem, 2.1vw, 1.35rem); line-height: 1.5; }
.soft { color: var(--mute); }

/* ---------- Header ---------- */

.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1.5rem; padding-block: 1.25rem; position: relative; z-index: 2; }
.brand { text-decoration: none; font-weight: 900; font-size: 0.95rem; line-height: 1.2; letter-spacing: 0.16em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; font-weight: 900; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.site-nav a { text-decoration: none; padding-block: 0.35rem; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; padding-block: clamp(2rem, 6vw, 4.5rem) clamp(5.5rem, 12vw, 8rem); max-width: 46rem; }

.pill { display: inline-block; background: var(--pink); color: var(--ink); border-radius: 999px; padding: 0.4rem 0.9rem; font-weight: 900; font-size: 0.78rem; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; }

.wordmark { margin-top: 1.4rem; font-family: var(--font-body); font-weight: 300; font-size: clamp(2.3rem, 9vw, 5.75rem); line-height: 1.02; letter-spacing: 0.03em; text-transform: uppercase; color: var(--aqua); }
.wordmark span { display: block; }
.tagline { margin-top: 1.1rem; font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 3.2vw, 2rem); line-height: 1.25; color: var(--gold); max-width: 32rem; }
.lede { margin-top: 1.25rem; max-width: 36rem; font-size: clamp(1.1rem, 1.9vw, 1.25rem); line-height: 1.55; }

.page-title { margin-top: 1.3rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: 1.05; color: var(--pale); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1rem; margin-top: 2rem; }

.shape { position: absolute; z-index: 0; pointer-events: none; }
.shape--blob { color: var(--aqua); width: 250px; right: -125px; top: 76px; }
.shape--squiggle { color: var(--pink); width: 210px; right: 13%; top: 46%; }
.shape--ring { color: var(--gold); width: 230px; right: 24%; bottom: -130px; }
.shape--squiggle path { fill: none; stroke: currentColor; stroke-width: 14; stroke-linecap: round; }
.shape--ring circle { fill: none; stroke: currentColor; stroke-width: 26; }

/* ---------- Buttons ---------- */

.btn {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 900; font-size: 0.9rem; line-height: 1.1;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  padding: 1rem 1.5rem; border: 2px solid var(--gold); border-radius: 999px;
  background: var(--gold); color: var(--ink); cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--aqua); border-color: var(--aqua); }
.btn--line { background: transparent; border-color: var(--pale); color: var(--pale); }
.btn--line:hover { background: var(--pale); border-color: var(--pale); color: var(--ink); }
.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--pale); }
.btn--ink:hover { background: var(--panel); border-color: var(--panel); color: var(--aqua); }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* ---------- Cards ---------- */

.card { background: var(--pale); color: var(--ink); border-radius: 14px; padding: 1.4rem 1.5rem; }
.card p { color: var(--slate); }
.card h3 + p { margin-top: 0.4rem; }

.cards { list-style: none; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
.cards--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cards .card { display: grid; gap: 0.2rem; align-content: start; }
.num { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-bottom: 0.7rem; border: 2px solid var(--gold); border-radius: 50%; font-weight: 900; font-size: 1rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }

.facts { list-style: none; padding: 0; display: grid; gap: 0; }
.facts li { padding-block: 1rem; border-top: 1px solid rgba(226, 232, 234, 0.18); }
.facts li:last-child { border-bottom: 1px solid rgba(226, 232, 234, 0.18); }
.facts strong { display: block; color: var(--aqua); font-weight: 900; }
.facts span { color: var(--mute); }

.steps { list-style: none; padding: 0; display: grid; gap: 1.5rem clamp(1.5rem, 4vw, 3rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { border-top: 3px solid var(--gold); padding-top: 1rem; display: grid; gap: 0.35rem; align-content: start; }
.steps .when { font-weight: 900; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.steps h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.steps p { color: var(--mute); }
.status { margin-top: 2rem; }

.doors { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.door { display: grid; gap: 0.7rem; align-content: start; justify-items: start; border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.5rem); color: var(--ink); text-decoration: none; }
.door--aqua { background: var(--aqua); }
.door--pink { background: var(--pink); }
.door h2 { color: var(--ink); font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.door .go { margin-top: 0.4rem; font-weight: 900; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 2px solid var(--ink); }
.door:hover .go { border-bottom-width: 4px; }

.path { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.75rem; }
.path li { border: 2px solid var(--aqua); color: var(--aqua); border-radius: 999px; padding: 0.4rem 0.95rem; font-weight: 900; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.path .to { border: 0; padding: 0; color: var(--mute); }

/* ---------- Forms ---------- */

.form-card { padding: clamp(1.4rem, 4vw, 2.25rem); }
.form-card h2 { color: var(--ink); font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin-bottom: 1.25rem; }
.form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
fieldset.field { display: block; border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 0.6rem; }

label, legend { font-weight: 900; font-size: 0.8rem; line-height: 1.3; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.optional { font-weight: 400; font-style: italic; font-size: 0.9rem; letter-spacing: 0; text-transform: none; color: var(--slate); }

input[type="text"], input[type="email"], select, textarea {
  -webkit-appearance: none; appearance: none; width: 100%;
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.4;
  color: var(--ink); background-color: var(--card);
  border: 1.5px solid var(--slate); border-radius: 10px; padding: 0.8rem 0.9rem;
}
textarea { resize: vertical; min-height: 8rem; }
select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230d1b1e' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.95rem center;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.choices { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.choice { position: relative; cursor: pointer; font-weight: 400; font-size: 1rem; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: block; padding: 0.55rem 1rem; background: var(--card); border: 1.5px solid var(--slate); border-radius: 999px; transition: background-color 0.15s, color 0.15s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--pale); }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; }
.form-note { color: var(--slate); font-size: 0.95rem; }
.form-status { background: var(--card); color: var(--ink); border-left: 4px solid var(--pink); padding: 0.9rem 1.1rem; }
.sent { display: grid; gap: 0.9rem; justify-items: start; }
.sent:focus { outline: none; }

.waitlist { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.8rem; max-width: 34rem; margin-top: 1.5rem; }
.waitlist label { position: absolute; left: -9999px; }
.waitlist .form-status, .waitlist .form-note { grid-column: 1 / -1; }
.band--gold .form-note { color: var(--ink); }
.band--gold .sent { margin-top: 1.5rem; }

/* ---------- Footer and plain pages ---------- */

.site-footer { border-top: 1px solid rgba(226, 232, 234, 0.16); padding-block: 2.5rem 3rem; color: var(--mute); font-size: 0.98rem; line-height: 1.55; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1.5rem 3rem; }
.footer-brand { color: var(--pale); font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.4rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; color: var(--pale); font-weight: 900; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-nav a { text-decoration: none; border-bottom: 2px solid transparent; }
.footer-nav a:hover { border-bottom-color: var(--gold); }
.fine { margin-top: 1.75rem; max-width: 58rem; font-size: 0.88rem; }
.nowrap { white-space: nowrap; }

.plain { display: grid; gap: 1.2rem; justify-items: start; align-content: center; min-height: 80vh; padding-block: 3rem; }

/* ---------- Narrow screens ---------- */

@media (max-width: 1000px) {
  .cards--five { grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
}
@media (max-width: 860px) {
  .split, .steps, .doors { grid-template-columns: minmax(0, 1fr); }
  .shape--ring { display: none; }
  .shape--squiggle { width: 150px; right: -34px; top: auto; bottom: 8px; }
}
@media (max-width: 620px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .shape--blob { width: 170px; right: -84px; top: -76px; }
  .waitlist { grid-template-columns: minmax(0, 1fr); }
  .brand { font-size: 0.86rem; letter-spacing: 0.13em; }
  .site-nav { gap: 1.1rem; font-size: 0.8rem; }
}
/* ---------- Motion ---------- */

.stitch { width: min(100%, 22rem); height: 12px; margin-top: 1.1rem; }
.stitch path { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2.6 2.4; }

.card, .door, .steps li { transition: transform 0.2s; }
.cards .card:hover, .steps li:hover { transform: translateY(-4px); }
.door:hover { transform: translateY(-4px) rotate(-0.4deg); }

html .will-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
html .will-reveal.is-in { opacity: 1; transform: none; }

@keyframes drift { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(-14px, 12px) rotate(8deg); } }
@keyframes wiggle { from { transform: rotate(-5deg) translateY(0); } to { transform: rotate(6deg) translateY(-8px); } }
@keyframes sew { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: no-preference) {
  .shape--blob { animation: drift 9s ease-in-out infinite alternate; }
  .shape--squiggle { animation: wiggle 5s ease-in-out infinite alternate; }
  .shape--ring { animation: drift 11s ease-in-out infinite alternate-reverse; }
  .stitch { animation: sew 1.8s cubic-bezier(0.3, 0.6, 0.2, 1) 0.3s both; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
