/* Chestnut Bell — draft marketing site
   Fraunces + Source Sans 3 (SIL OFL). Warm chestnut / brass palette.
   No third-party analytics or tracking in this draft. */

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1c1410;
  --ink-soft: #3a2c24;
  --chestnut: #5c2e1a;
  --chestnut-deep: #2a1610;
  --brass: #c4a056;
  --brass-light: #e2c889;
  --brass-dark: #8a6d32;
  --cream: #f4ebe0;
  --paper: #faf6f0;
  --rust: #8f3d28;
  --muted: #6b5a4e;
  --line: #e4d5c4;
  --card: #fffaf4;
  --shadow: 0 18px 40px -24px rgba(42, 22, 16, 0.45);
  --max: 1120px;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Palatino Linotype", Palatino, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--chestnut); text-underline-offset: 0.18em; }
a:hover { color: var(--rust); }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--chestnut-deep); margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--chestnut-deep);
  color: var(--cream);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--chestnut-deep);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
}
.brand img { width: 36px; height: 36px; }
.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--chestnut); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font: 600 0.95rem/1 var(--sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--chestnut);
  color: var(--paper);
}
.btn-primary:hover { background: var(--rust); color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--chestnut-deep);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brass-dark); color: var(--chestnut); }
.btn[aria-disabled="true"], .btn:disabled {
  background: var(--line);
  color: var(--muted);
  border-color: var(--line);
  cursor: not-allowed;
  pointer-events: none;
}
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.88rem; }

/* .nav a is more specific than .btn-primary, so it was painting
   dark ink (and on hover, chestnut) on the chestnut button —
   the CTA label looked blank. */
.nav a.btn-primary {
  color: var(--paper);
}
.nav a.btn-primary:hover {
  background: var(--rust);
  color: var(--paper);
}

/* Hero */
.hero {
  padding: 4.2rem 0 3.4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 28rem;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--brass) 28%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: var(--brass);
}
.lede {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.3rem; }
.fine {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Illustrative roundtable (not a product screenshot) */
.roundtable {
  background: var(--chestnut-deep);
  border-radius: 1.4rem;
  padding: 1.6rem 1.4rem 1.4rem;
  color: var(--cream);
  box-shadow: var(--shadow);
  position: relative;
}
.roundtable figcaption {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 1rem;
  font-weight: 600;
}
.table-ring {
  width: 100%;
  aspect-ratio: 1.15 / 1;
}
.seat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.8rem;
  margin-top: 1rem;
  font-size: 0.88rem;
}
.seat-list span { color: var(--brass-light); }
.seat-list b { font-weight: 600; color: var(--paper); }

/* Sections */
section { padding: 3.4rem 0; }
.section-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 0.45rem;
}
.section-intro { max-width: 38rem; color: var(--ink-soft); margin-bottom: 2rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.4rem 1.3rem 1.2rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--ink-soft); }

/* Roll Call */
.rollcall {
  background: var(--chestnut-deep);
  color: var(--cream);
  padding: 4rem 0;
}
.rollcall h2, .rollcall .section-kicker { color: var(--brass-light); }
.rollcall h2 { color: var(--paper); }
.rollcall-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
.rollcall p { color: color-mix(in srgb, var(--cream) 86%, var(--brass)); }
.story-note {
  background: color-mix(in srgb, var(--paper) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--brass) 35%, transparent);
  border-radius: 1rem;
  padding: 1.4rem 1.4rem 1.15rem;
}
.story-note h3 { color: var(--brass-light); font-size: 1.05rem; margin-bottom: 0.6rem; }
.story-note p:last-child { margin: 0; }

/* Download / access */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.6rem 1.5rem 1.4rem;
}
.panel h3 { font-size: 1.35rem; }
.status-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--brass) 22%, var(--cream));
  color: var(--chestnut-deep);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

form {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}
label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); display: grid; gap: 0.3rem; }
input, select, textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--paper);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  border-color: var(--brass-dark);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0.2rem 0 0; }
.form-success {
  display: none;
  margin-top: 0.8rem;
  padding: 0.7rem 0.8rem;
  background: color-mix(in srgb, #2f6b3a 12%, var(--cream));
  border-radius: 0.5rem;
  color: #21482a;
  font-size: 0.92rem;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  max-width: 820px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.6rem 1.5rem;
}
.price-card.featured {
  border-color: var(--brass);
  background: linear-gradient(180deg, color-mix(in srgb, var(--brass-light) 22%, var(--card)), var(--card) 40%);
}
.amount {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--chestnut-deep);
  margin: 0.3rem 0 0.6rem;
}
.amount span { font-size: 1rem; font-family: var(--sans); font-weight: 500; color: var(--muted); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.2rem;
}
.studio-mark {
  background: var(--chestnut-deep);
  color: var(--cream);
  border-radius: 1.1rem;
  padding: 1.6rem;
}
.studio-mark p { color: color-mix(in srgb, var(--cream) 88%, var(--brass)); }
.studio-mark h3 { color: var(--brass-light); }

/* Footer / inner pages */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.footer-nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-nav a { color: var(--ink-soft); text-decoration: none; }
.footer-nav a:hover { color: var(--chestnut); }

.page-header { padding: 3rem 0 0.5rem; }
.prose { max-width: 42rem; padding-bottom: 3.5rem; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.15rem; }
.prose li { margin-bottom: 0.45rem; }
.draft-banner {
  background: color-mix(in srgb, var(--brass) 18%, var(--cream));
  border-left: 3px solid var(--brass-dark);
  padding: 0.8rem 1rem;
  margin: 0 0 1.5rem;
  border-radius: 0 0.4rem 0.4rem 0;
}

@media (max-width: 860px) {
  .hero-grid, .rollcall-grid, .split, .about-grid, .pricing, .cards {
    grid-template-columns: 1fr;
  }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.2rem;
    gap: 0.85rem;
  }
  .nav.open { display: flex; }
  .hero { padding-top: 2.4rem; }
  .site-header { position: relative; }
}
