/* ==========================================================================
   The Pain Sings a Song — Shalanda Shaw
   Single responsive stylesheet (replaces the separate desktop + mobile builds)
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Typography helpers
   4.  Layout helpers
   5.  Buttons & links
   6.  Header / navigation
   7.  Hero
   8.  Content blocks
   9.  Cards & lists
   10. Forms
   11. Footer & sticky buy bar
   12. Utilities
   13. Print
   ========================================================================== */

/* ---------- 1. Design tokens ---------------------------------------------- */
:root {
  --ink:        #16130F;
  --ink-deep:   #0F0D0A;
  --ink-soft:   #221D18;
  --cream:      #FAF1EB;
  --blush:      #F2E4E2;
  --clay:       #C98B7A;
  --clay-light: #E0A995;
  --gold:       #E8C87E;
  --lilac:      #B9A8D6;
  --body:       #3C352E;
  --body-dark:  #BDB4AA;
  --muted:      #8A8177;
  --muted-dark: #9A9188;
  --line:       #DCC8C4;
  --line-dark:  rgba(246, 242, 237, 0.14);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --gutter:  clamp(20px, 5vw, 32px);
  --section: clamp(56px, 9vw, 120px);
  --wide:    1180px;
  --mid:     900px;
  --narrow:  760px;
}

/* ---------- 2. Reset & base ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.2em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--clay); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--clay-light); }

::selection { background: var(--clay); color: var(--ink); }

/* Visible focus for keyboard users on every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 14px 22px;
  background: var(--clay);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; color: var(--ink); }

/* ---------- 3. Typography helpers ----------------------------------------- */
.kicker {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}
.kicker--clay { color: var(--clay); }
.kicker--lilac { color: var(--lilac); letter-spacing: 0.24em; }

.display   { font-size: clamp(46px, 9vw, 104px); line-height: 0.96; }
.display-2 { font-size: clamp(40px, 6.4vw, 80px);  line-height: 1.02; }
.h2        { font-size: clamp(32px, 4.2vw, 54px);  line-height: 1.15; }
.h3        { font-size: clamp(26px, 3.2vw, 42px);  line-height: 1.2; font-weight: 400; }

.lede {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 32px;
}
.lede--italic { font-style: italic; color: #E6D8D2; }

.quote {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 300;
  line-height: 1.32;
  margin: 0;
}

.note { margin: 0; font-size: 15px; line-height: 1.8; color: var(--muted); }

.byline {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 30px;
}

.music-note {
  font-size: 22px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 24px;
}

.poem {
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 24px);
  line-height: 1.85;
  white-space: pre-line;
  margin: 0 0 24px;
}

/* ---------- 4. Layout helpers --------------------------------------------- */
.section { padding: var(--section) var(--gutter); }
.section--tight { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }

.bg-cream { background: var(--cream); color: var(--ink); }
.bg-blush { background: var(--blush); color: var(--ink); }
.bg-ink   { background: var(--ink);   color: var(--cream); }

.bg-ink .kicker  { color: var(--clay); }
.bg-ink p        { color: var(--body-dark); }
.bg-ink .lede    { color: #E6D8D2; }
.bg-ink .quote   { color: var(--cream); }
.bg-ink .note    { color: var(--muted-dark); }

.wrap        { max-width: var(--wide);   margin: 0 auto; width: 100%; }
.wrap--mid   { max-width: var(--mid);    margin: 0 auto; width: 100%; }
.wrap--narrow{ max-width: var(--narrow); margin: 0 auto; width: 100%; }

.center { text-align: center; }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}
.split--center { align-items: center; }
.split--end    { align-items: end; }

@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--narrow-first  { grid-template-columns: 0.85fr 1.15fr; }
  .split--narrow-second { grid-template-columns: 1.15fr 0.85fr; }
}

/* On small screens let a block be reordered without touching the markup order */
@media (max-width: 859px) {
  .split > .order-first { order: -1; }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px 20px;
  margin-bottom: clamp(30px, 5vw, 60px);
}

/* ---------- 5. Buttons & links -------------------------------------------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 4vw, 44px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--clay    { background: var(--clay); color: var(--ink); }
.btn--clay:hover { background: var(--clay-light); color: var(--ink); }

.btn--ink     { background: var(--ink); color: var(--cream); }
.btn--ink:hover  { background: #3C352E; color: var(--cream); }

.btn--outline { border-color: rgba(246, 242, 237, 0.4); color: var(--cream); }
.btn--outline:hover { border-color: var(--cream); background: rgba(246, 242, 237, 0.08); color: var(--cream); }

.btn--outline-dark { border-color: var(--line); color: var(--ink); }
.btn--outline-dark:hover { border-color: var(--ink); background: rgba(22, 19, 15, 0.05); color: var(--ink); }

.btn--block { width: 100%; }
@media (min-width: 600px) { .btn--block { width: auto; } }

.link-underline {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--clay);
}
.link-underline:hover { color: var(--clay); }
.bg-ink .link-underline { color: var(--cream); }

/* ---------- 6. Header / navigation ---------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(22, 19, 15, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
}

.site-header__bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; flex-direction: column; gap: 2px; min-height: 44px; justify-content: center; }
.brand__name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.2;
}
.brand__role {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.brand:hover .brand__name { color: var(--clay-light); }

.nav-toggle {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(250, 241, 235, 0.28);
  cursor: pointer;
  padding: 0;
}
.nav-toggle__bar { display: block; width: 20px; height: 1px; background: var(--cream); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav { border-top: 1px solid rgba(250, 241, 235, 0.14); }
.site-nav[hidden] { display: none; }
.site-nav__list { list-style: none; margin: 0; padding: 8px 0 16px; }

.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 var(--gutter);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E8E0D8;
}
.site-nav__link:hover { color: var(--cream); background: rgba(250, 241, 235, 0.05); }
.site-nav__link[aria-current="page"] { color: var(--cream); }
.site-nav__link[aria-current="page"]::after { content: ""; width: 22px; height: 1px; background: var(--clay); }

.site-nav__cta { margin: 14px var(--gutter) 0; }

/* Desktop navigation */
@media (min-width: 900px) {
  /* Brand and navigation sit on one line. The header stays full-bleed for the
     sticky background; the padding formula centres the content to 1240px. */
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 48px);
    padding: 14px max(var(--gutter), calc((100% - 1240px) / 2));
  }
  .site-header__bar { flex: 0 0 auto; max-width: none; margin: 0; padding: 0; }
  .site-nav { flex: 0 1 auto; }

  .brand__name { font-size: 22px; }
  .nav-toggle { display: none; }

  .site-nav { border-top: 0; }
  .site-nav[hidden] { display: block; }
  .site-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
    padding: 0;
  }
  .site-nav__link {
    min-height: 44px;
    padding: 0;
    font-size: 12.5px;
    color: #CFC7BE;
    white-space: nowrap;
    position: relative;
  }
  .site-nav__link:hover { background: none; }
  .site-nav__link[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    width: auto;
    height: 1px;
    background: var(--clay);
  }
  .site-nav__cta { display: none; }
}

/* ---------- 7. Hero -------------------------------------------------------- */
.hero { background: var(--ink); color: var(--cream); display: grid; grid-template-columns: 1fr; overflow: hidden; }

/* On phones the portrait leads, matching the original mobile layout. */
.hero__media { position: relative; order: -1; }
.hero__media img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 12%; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 19, 15, 0) 55%, rgba(22, 19, 15, 0.85) 100%);
}

.hero__body { padding: 32px var(--gutter) clamp(40px, 8vw, 56px); }
.hero__title { font-size: clamp(44px, 12vw, 62px); line-height: 0.96; margin: 0; }
.hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 3.4vw, 26px);
  line-height: 1.5;
  color: #E6D8D2;
  margin: 20px 0 0;
  max-width: 520px;
}

@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .hero__body {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(56px, 9vw, 110px) var(--gutter);
    max-width: 720px;
    margin-left: auto;
    width: 100%;
  }
  .hero__title { font-size: clamp(50px, 6.6vw, 104px); line-height: 0.94; }
  .hero__media { order: 0; grid-column: 2; grid-row: 1; min-height: clamp(420px, 58vw, 760px); }
  .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: 50% 22%; }
  .hero__media::after {
    background: linear-gradient(90deg, rgba(22, 19, 15, 0.94) 0%, rgba(22, 19, 15, 0.34) 26%, rgba(22, 19, 15, 0) 55%);
  }
  .hero__sub { margin-top: 30px; }
}

/* Simple page header (About, Events, Blog, Contact) */
.page-head { background: var(--ink); color: var(--cream); padding: clamp(44px, 8vw, 110px) var(--gutter) clamp(40px, 7vw, 100px); }
.page-head__title { margin: 0; }

/* ---------- 8. Content blocks --------------------------------------------- */
.content-note { background: var(--ink-soft); color: #CFC7BE; padding: 22px var(--gutter); }
.content-note__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.7;
}
.content-note__label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay);
  flex: 0 0 auto;
}
.content-note p { margin: 0; max-width: 760px; color: inherit; }
.content-note strong { color: var(--cream); font-weight: 500; }

@media (min-width: 900px) {
  .content-note__inner { justify-content: center; text-align: center; }
}

.pull-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.pull-list p { margin: 0; font-size: 16px; line-height: 1.8; color: var(--body); }
.pull-list strong { font-weight: 500; }

.figure-frame { box-shadow: 0 26px 60px rgba(22, 19, 15, 0.3); }

.portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
  background: #fff;
}
@media (min-width: 860px) {
  .portrait { aspect-ratio: auto; height: clamp(340px, 50vw, 560px); }
}

.cover-shot { width: 74%; max-width: 300px; margin: 0 auto 30px; box-shadow: 0 18px 40px rgba(22, 19, 15, 0.3); }
@media (min-width: 860px) { .cover-shot { width: 100%; max-width: none; margin: 0; box-shadow: 0 30px 70px rgba(22, 19, 15, 0.32); } }

.panel { background: var(--blush); padding: clamp(30px, 5vw, 44px) clamp(24px, 4vw, 38px); }
.panel--outline { background: transparent; border: 1px solid var(--line); }
.bg-ink .panel--outline { border-color: rgba(246, 242, 237, 0.2); }
.panel h3 { margin: 0 0 16px; font-size: clamp(24px, 2.6vw, 28px); font-weight: 400; }
.panel + .panel { margin-top: 24px; }

.empty-state {
  border-top: 1px solid var(--line);
  padding: clamp(50px, 8vw, 110px) 20px 20px;
  text-align: center;
}
.empty-state__title { font-size: clamp(36px, 5vw, 60px); line-height: 1.1; margin: 0 0 18px; }
.empty-state p { max-width: 460px; margin: 0 auto; color: var(--body); }

/* ---------- 9. Cards & lists ---------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(26px, 3.4vw, 42px) clamp(0px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
}
.card__num { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--lilac); }
.card__title { font-family: var(--serif); font-size: clamp(28px, 3vw, 34px); font-weight: 300; line-height: 1.15; }
.card__body { font-size: 15px; line-height: 1.8; color: var(--body); margin: 0; }
.card__meta { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--muted); margin-top: auto; padding-top: 6px; }

.bg-ink .card { border-color: var(--line-dark); }
.bg-ink .card__body { color: var(--muted-dark); }
.bg-ink .card__meta { color: var(--muted-dark); }

@media (min-width: 640px) {
  .card { padding-left: clamp(20px, 2.4vw, 30px); padding-right: clamp(20px, 2.4vw, 30px); border-left: 1px solid var(--line); }
  .bg-ink .card { border-left-color: var(--line-dark); }
  .card-grid > .card:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
}
@media (min-width: 1000px) {
  .card-grid--4 > .card:nth-child(2n + 1) { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 30px); }
  .card-grid--4 > .card:nth-child(4n + 1) { border-left: 0; padding-left: 0; }
  .bg-ink .card-grid--4 > .card:nth-child(2n + 1) { border-left-color: var(--line-dark); }
  .card-grid--3 > .card:nth-child(2n + 1) { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 30px); }
  .card-grid--3 > .card:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
  .bg-ink .card-grid--3 > .card:nth-child(2n + 1) { border-left-color: var(--line-dark); }
}

/* Stacked definition rows (talks, credentials) */
.stack-list { display: flex; flex-direction: column; }
.stack-list__item { padding: 22px 0; border-top: 1px solid var(--line); }
.stack-list__item:first-child { border-top: 0; padding-top: 0; }
.stack-list__title { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 26px); font-weight: 400; margin: 0 0 8px; }
.stack-list__body { font-size: 15px; line-height: 1.8; color: var(--body); margin: 0; }

.cred-list { display: flex; flex-direction: column; }
.cred-list__item { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line); }
.cred-list__item:first-child { border-top: 0; }
.cred-list__label { font-family: var(--serif); font-size: 15px; letter-spacing: 0.06em; color: var(--clay); }
.cred-list__body { font-size: 16px; line-height: 1.7; color: var(--body); }
@media (min-width: 600px) {
  .cred-list__item { flex-direction: row; gap: 24px; align-items: baseline; }
  .cred-list__label { min-width: 88px; flex: 0 0 auto; }
}

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(32px, 5vw, 52px); padding: 0; list-style: none; }
.tag { padding: 10px 18px; border: 1px solid var(--line); font-size: 13px; letter-spacing: 0.08em; color: var(--body); }

.meta-row { display: flex; flex-wrap: wrap; gap: 10px 36px; font-size: 14px; line-height: 1.7; color: var(--muted-dark); }

/* ---------- 10. Forms ------------------------------------------------------ */
.form { display: flex; flex-direction: column; gap: 24px; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 10px; }
.field__label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #6E665E; }

.field input,
.field select,
.field textarea {
  padding: 15px 16px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--sans);
  font-size: 16px; /* 16px prevents iOS zoom-on-focus */
  font-weight: 300;
  color: var(--ink);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233C352E' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--clay); outline: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

/* Honeypot — hidden from people, catches bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error { color: #A33B2B; font-size: 14px; margin: -8px 0 0; }

.form-status {
  border-left: 3px solid #A33B2B;
  background: rgba(163, 59, 43, 0.06);
  padding: 16px 20px;
  margin-bottom: 26px;
  font-size: 15px;
  line-height: 1.7;
  color: #3C352E;
}
.form-status[hidden] { display: none; }

.signup { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.signup input[type="email"] {
  flex: 1 1 260px;
  max-width: 340px;
  padding: 16px 18px;
  background: transparent;
  border: 1px solid rgba(246, 242, 237, 0.3);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  border-radius: 0;
}
.signup input[type="email"]::placeholder { color: #7C736A; }
.signup input[type="email"]:focus { border-color: var(--clay); outline: none; }

/* ---------- 11. Footer & sticky buy bar ----------------------------------- */
.site-footer {
  background: var(--ink-deep);
  color: var(--muted-dark);
  padding: clamp(44px, 8vw, 80px) var(--gutter) 40px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 64px);
  padding-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid rgba(246, 242, 237, 0.12);
}
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.site-footer__brand {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
}
.site-footer p { font-size: 15px; line-height: 1.9; margin: 0; max-width: 380px; }
.site-footer__heading {
  display: block;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6E665E;
  margin-bottom: 16px;
}
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__links a { font-size: 15px; color: var(--muted-dark); }
.site-footer__links a:hover { color: var(--cream); }
.site-footer__support { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.7; }
.site-footer__support a { color: var(--muted-dark); border-bottom: 1px solid rgba(246, 242, 237, 0.2); }
.site-footer__support a:hover { color: var(--cream); }

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 13px;
  line-height: 1.7;
}

.buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(22, 19, 15, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(250, 241, 235, 0.14);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
}
.buy-bar__text { flex: 1 1 auto; min-width: 0; }
.buy-bar__title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--cream);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.buy-bar__sub { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #6B625A; }
.buy-bar .btn { flex: 0 0 auto; min-height: 44px; padding: 12px 22px; font-size: 12px; }

body { padding-bottom: 72px; }

@media (min-width: 900px) {
  .buy-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- 11b. Classes used by the dashboard's generated pages ---------- */
/* These replace the inline styles the first hand-built pages used, so the
   editor can produce the same layouts without writing any CSS. */

.measure    { max-width: 640px; margin-left: auto; margin-right: auto; }
.measure-sm { max-width: 520px; margin-left: auto; margin-right: auto; }
.center .measure,
.center .measure-sm { margin-top: 22px; }

.btn-row--center { justify-content: center; }

.hero__title--small { font-size: clamp(40px, 9vw, 72px); line-height: 1.05; }
@media (min-width: 900px) { .hero__title--small { font-size: clamp(40px, 5.4vw, 72px); } }

.quote--medium { font-size: clamp(24px, 3.4vw, 38px); line-height: 1.5; }

.page-head__lede { margin-top: 26px; max-width: 620px; }
.page-head__note { max-width: 320px; margin: 0; }

.lede--dim { color: #E6D8D2; }

.section-head__solo { margin-bottom: clamp(30px, 5vw, 56px); }
.h2--sm { font-size: clamp(28px, 4vw, 46px); }

.note--spaced { margin-top: 22px; }
.note--small { margin-top: 20px; font-size: 13px; }

.panel__quote { margin: 0; color: var(--cream); }
.bg-blush .panel__quote, .bg-cream .panel__quote { color: var(--ink); }
.panel__body { margin-bottom: 26px; }

.speaking__intro { margin-bottom: 32px; }

.form__submit { align-self: flex-start; }

.card__link {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--clay);
  align-self: flex-start;
}

.events__past-heading { margin: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 34px); }

.message-section { min-height: 62vh; display: flex; align-items: center; }

.empty-state__title { font-family: var(--serif); font-weight: 300; }

/* Blog post pages */
.post__date { margin: 18px 0 0; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
.post__figure img { width: 100%; height: auto; max-height: 60vh; object-fit: cover; display: block; }

.prose { font-size: 17px; line-height: 1.9; }
.prose > p { margin: 0 0 1.4em; }
.prose .prose-h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1.25; margin: 2em 0 0.6em; }
.prose .prose-h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 26px); margin: 1.8em 0 0.5em; }
.prose .prose-list { margin: 0 0 1.4em; padding-left: 1.2em; }
.prose .prose-list li { margin-bottom: 0.5em; }
.prose .prose-quote {
  margin: 1.8em 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 26px);
  font-style: italic;
  line-height: 1.6;
}
.prose .poem { margin: 1.6em 0; }
.prose a { border-bottom: 1px solid var(--line); }
.prose a:hover { border-color: var(--clay); }

/* ---------- 12. Utilities -------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- 13. Print ------------------------------------------------------ */
@media print {
  .site-header, .buy-bar, .site-nav, .skip-link, .btn-row, .signup { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; font-size: 12pt; }
  .bg-ink, .bg-blush { background: #fff !important; color: #000 !important; }
  .bg-ink p, .bg-ink .note { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  .section { padding: 18pt 0; }
}
