@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Patrick+Hand&display=swap');

:root {
  --bg: #F7F5F0;
  --bg-soft: #ECEAE3;
  --ink: #15130F;
  --ink-soft: #494640;
  --ink-muted: #8A867E;
  --rule: #15130F;
  --rule-soft: #DDD9CF;
  --accent: #C44A2A;
  --accent-hover: #AC3F22;
  --photo-bg: #ECEAE3;
  --photo-ink: #8A867E;
  --card-fill: #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); color-scheme: light; }

/* ========== SCROLL REVEAL ==========
   Subtle fade-up on enter. Applied via JS to chosen elements; honours
   prefers-reduced-motion (skipped entirely if the user opted out). */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-stagger, 0) * 80ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ========== TYPOGRAPHY ========== */

h1, h2, h3 {
  margin: 0;
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 400;
  letter-spacing: -0.01em;
}

em { color: inherit; font-weight: inherit; }

p { margin: 0; }
p + p { margin-top: 1.1em; }

.section-num { display: none; }

/* ========== LAYOUT ========== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 56px 0;
}

@media (min-width: 768px) {
  section { padding: 80px 0; }
}

@media (min-width: 1024px) {
  section { padding: 112px 0; }
}

/* ========== STICKY BAR ========== */

.sticky-bar {
  position: fixed;
  top: 16px;
  left: 50%;
  width: calc(100% - 32px);
  max-width: 1180px;
  background: rgba(247, 245, 240, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  box-shadow: 0 4px 24px rgba(21, 19, 15, 0.06);
  z-index: 100;
  transform: translateX(-50%) translateY(calc(-100% - 24px));
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 280ms ease;
}

.sticky-bar.visible {
  transform: translateX(-50%) translateY(0);
  box-shadow: 0 8px 32px rgba(21, 19, 15, 0.08);
}

.sticky-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.sticky-logo {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  justify-self: start;
  transition: color 150ms ease;
  white-space: nowrap;
}

.sticky-logo:hover { color: var(--accent); }

.sticky-logo em { font-style: italic; color: var(--accent); }

.sticky-logo-img {
  display: block;
  height: 34px;
  width: auto;
  -webkit-user-drag: none;
  user-select: none;
}

.sticky-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: center;
}

.sticky-nav a {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 150ms ease;
}

.sticky-nav a:hover { color: var(--accent); }

.sticky-bar-inner > .sticky-cta {
  justify-self: end;
}

.btn.btn-sm {
  padding: 7px 18px;
  font-size: 16px;
}

/* Contents icon button (mobile only) — outlined hamburger */
.contents-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease;
  justify-self: end;
}
.contents-toggle:hover { border-color: var(--ink-muted); }
.contents-toggle:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(196, 74, 42, 0.32);
}
.contents-toggle .contents-icon {
  width: 18px;
  height: 18px;
  display: block;
}
.contents-icon__bars,
.contents-icon__close {
  transition: opacity 160ms ease;
}
.contents-icon__close { opacity: 0; }
.contents-toggle[aria-expanded="true"] .contents-icon__bars { opacity: 0; }
.contents-toggle[aria-expanded="true"] .contents-icon__close { opacity: 1; }

@media (max-width: 1023px) {
  .sticky-nav { display: none; }
  .sticky-bar-inner {
    grid-template-columns: 1fr auto;
  }
}

/* MOBILE — two floating bars (top: logo + contents icon, bottom: apply CTA) */
@media (max-width: 767px) {
  .sticky-bar-inner {
    padding: 12px 12px;
    gap: 12px;
    grid-template-columns: 1fr auto;
  }
  .sticky-logo { font-size: 18px; }
  .sticky-logo-img { height: 32px; }

  .contents-toggle { display: inline-flex; }
  .sticky-bar-inner > .sticky-cta { display: none; }
}

/* ========== TOC SHEET (mobile only) ========== */

.toc-sheet {
  display: none;
  position: fixed;
  top: calc(16px + 56px + 8px); /* sticky-bar offset + bar height + gap */
  left: 16px;
  right: 16px;
  max-width: 1180px;
  margin: 0 auto;
  z-index: 99;
  background: rgba(247, 245, 240, 0.96);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(21, 19, 15, 0.12);
  padding: 8px 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1), transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toc-sheet[hidden] { display: none; }

@media (max-width: 767px) {
  .toc-sheet:not([hidden]) { display: block; }
}

.toc-sheet.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  border-bottom: 1px solid var(--rule-soft);
}
.toc-list li:last-child { border-bottom: 0; }

.toc-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 18px;
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}
.toc-list a:hover { background: rgba(196, 74, 42, 0.06); color: var(--accent); }

/* ========== BOTTOM FLOATING BAR (mobile only) ========== */

.bottombar {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 50%;
  width: calc(100% - 32px);
  max-width: 1180px;
  background: rgba(247, 245, 240, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  box-shadow: 0 4px 24px rgba(21, 19, 15, 0.06);
  z-index: 100;
  transform: translateX(-50%) translateY(calc(100% + 24px));
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 280ms ease, opacity 220ms ease;
  opacity: 1;
}

.bottombar.visible {
  transform: translateX(-50%) translateY(0);
  box-shadow: 0 -8px 32px rgba(21, 19, 15, 0.08);
}

.bottombar.is-near-apply {
  opacity: 0;
  pointer-events: none;
}

.bottombar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
}

@media (max-width: 767px) {
  .bottombar { display: block; }
}

/* ========== MASTHEAD ========== */

.masthead {
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  background: var(--bg);
}

.masthead-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 24px;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.masthead-inner > div:nth-child(2) { font-weight: 500; }

@media (min-width: 768px) {
  .masthead-inner {
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    padding: 16px 32px;
  }
  .masthead-inner > div:first-child { text-align: left; }
  .masthead-inner > div:last-child { text-align: right; }
}

/* ========== HERO ========== */

.hero {
  padding: 0;
  border-bottom: 1px solid var(--rule-soft);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
}

@media (min-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr 1fr;
    height: min(880px, calc(100vh - 60px));
    overflow: hidden;
  }
  .hero-split > * { min-height: 0; }
}

.hero-text {
  padding: 56px 24px 64px;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-text { padding: 80px 48px; }
}

@media (min-width: 1024px) {
  .hero-text {
    padding: 96px 64px;
    border-right: 1px solid var(--rule-soft);
    justify-content: center;
  }
}

.hero-text-inner {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0 auto 32px;
  max-width: 24ch;
  font-size: clamp(44px, 5.8vw, 84px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero h1 em {
  font-style: italic;
  font-weight: inherit;
  color: var(--accent);
  display: inline-block;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: text-bottom;
  line-height: 1.25;
  padding-block: 0 0.05em;
  max-width: 0;
  animation: hero-type 5s steps(11, end) 0.6s infinite;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0.08em;
  width: 0.03em;
  height: 0.95em;
  background: var(--accent);
  animation: hero-blink 0.85s step-end infinite;
}

@keyframes hero-type {
  0%, 5%   { max-width: 0; }
  45%, 70% { max-width: 11ch; }
  95%, 100%{ max-width: 0; }
}

@keyframes hero-blink {
  from, to { opacity: 1; }
  50%      { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 em {
    max-width: none;
    animation: none;
  }
  .hero h1 em::after { display: none; }
}

.hero-sub {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink);
  max-width: 32ch;
  margin: 0 auto 20px;
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
}

.hero-sub-2 {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 36px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 28px;
  margin-bottom: 28px;
}

/* ========== HERO COVER ========== */

.hero-cover {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--photo-bg);
  border-top: 1px solid var(--rule-soft);
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero-cover {
    border-top: 0;
    min-height: 0;
    height: 100%;
  }
}

.hero-cover-img {
  flex: 1 1 0;
  border: 0;
  min-height: 0;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--photo-bg);
  color: var(--photo-ink);
  position: relative;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .hero-cover-img { min-height: 420px; }
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  border-radius: 2px;
  border: 1px solid var(--accent);
  transition: background 200ms ease, border-color 200ms ease, transform 150ms ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn:active { transform: translateY(1px); }

/* ========== PHOTO PLACEHOLDERS ========== */

.photo {
  background: var(--photo-bg);
  color: var(--photo-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-portrait { min-height: 420px; aspect-ratio: 3 / 4; }
.photo-square { min-height: 320px; aspect-ratio: 1 / 1; }

/* ========== DAY 0 / DAY 1 SPLIT ========== */

#program {
  padding-bottom: 64px;
}

@media (min-width: 1024px) {
  #program { padding-bottom: 88px; }
}

.day-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0 auto 40px;
  max-width: 760px;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}

@media (min-width: 768px) {
  .day-split {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
}

.day-card {
  padding: 36px 32px;
  text-align: center;
  border-bottom: 1px solid var(--rule-soft);
}

@media (min-width: 768px) {
  .day-card {
    border-bottom: 0;
    padding: 44px 32px;
  }
}

.day-meta {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
  opacity: 0;
  animation: day-fade-up 600ms cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.day-card:last-child .day-meta { animation-delay: 1.0s; }

.day-num {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(96px, 12vw, 152px);
  line-height: 0.9;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  opacity: 0;
  transform: translateY(16px);
  animation: day-fade-up 700ms cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.day-card:last-child .day-num {
  animation-delay: 1.2s;
}

.day-num-accent { color: var(--accent); }
.day-num em { font-style: italic; }

.day-text {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.4;
  color: var(--ink);
  max-width: 28ch;
  margin: 0 auto;
  opacity: 0;
  animation: day-fade-up 600ms cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

.day-card:last-child .day-text { animation-delay: 1.4s; }

.day-divider {
  display: none;
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  color: var(--accent);
  text-align: center;
  padding: 0 8px;
}

@media (min-width: 768px) {
  .day-divider {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.day-arrow {
  font-size: 32px;
  font-style: italic;
  line-height: 1;
  display: inline-block;
  opacity: 0;
  animation: day-fade-up 500ms ease-out 0.85s forwards;
}

.program-summary {
  max-width: 60ch;
  margin: 0 auto;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  text-align: center;
  color: var(--ink-soft);
  opacity: 0;
  animation: day-fade-up 700ms cubic-bezier(0.22, 1, 0.36, 1) 1.6s forwards;
}

.program-summary em {
  font-style: italic;
  color: var(--accent);
}

@keyframes day-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}


@media (prefers-reduced-motion: reduce) {
  .day-meta,
  .day-num,
  .day-text,
  .day-arrow,
  .program-summary {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ========== SHIFT HIGHLIGHT (sec-title em) ========== */

.shift {
  font-style: italic;
  color: var(--accent);
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.shift::before {
  content: "";
  position: absolute;
  inset: 12% -0.12em 10% -0.12em;
  background: rgba(196, 74, 42, 0.09);
  z-index: -1;
  border-radius: 2px;
  clip-path: inset(0 100% 0 0);
  animation: shift-highlight 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.5s forwards;
}

@keyframes shift-highlight {
  to { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  .shift::before {
    animation: none;
    clip-path: inset(0 0 0 0);
  }
}

/* ========== MANIFESTO SECTION ========== */

.manifesto {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.bet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  margin: 0 auto 96px;
  overflow: hidden;
}

@media (min-width: 600px) {
  .bet-grid { grid-template-columns: 1fr 1fr; }
}

.bet-card {
  background: var(--card-fill);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  transition: background 200ms ease;
}

.bet-card:hover { background: var(--bg); }

.bet-card-num {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.015em;
}

.bet-card-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 36ch;
}

.manifesto-mark {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  color: var(--accent);
  font-size: 18px;
  margin: 24px 0;
  line-height: 1;
}

.manifesto-pullquote {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  color: var(--ink);
  margin: 12px 0 20px;
  letter-spacing: -0.02em;
}

.manifesto-pullquote em {
  font-style: italic;
  color: var(--accent);
}

.manifesto-foot {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 auto;
  max-width: 52ch;
  line-height: 1.6;
}

/* ========== SCATTERED PHOTOS ========== */

.scattered { position: relative; overflow-x: clip; }

.scatter {
  position: absolute;
  width: 220px;
  z-index: 0;
  pointer-events: none;
}

.scatter .photo {
  min-height: 0;
  padding: 20px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.scatter .photo-caption {
  max-width: none;
}

.scatter-left {
  bottom: 0;
  left: 4%;
  transform: rotate(-7deg);
}

.scatter-right {
  bottom: 0;
  right: 4%;
  transform: rotate(6deg);
}

.scattered .container {
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .scattered {
    padding-top: 160px;
    padding-bottom: 160px;
  }

  .manifesto-section {
    padding-top: 64px;
    padding-bottom: 80px;
  }
}

@media (max-width: 1023px) {
  .scatter { display: none; }
}

@media (min-width: 1400px) {
  .scatter { width: 260px; }
}

.photo-caption {
  max-width: 36ch;
  white-space: normal;
}

/* ========== NUMBERED SECTION HEADER ========== */

.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
  padding-top: 32px;
}

.sec-head .sec-title {
  max-width: 22ch;
  margin: 0 auto;
}

.sec-head .sec-title-wide {
  max-width: none;
}

/* ========== BODY PROSE ========== */

.prose {
  max-width: 65ch;
  margin: 0 auto;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
}

.prose p + p { margin-top: 1.2em; }

.prose-tight { margin-top: 24px; }
.prose-spaced { margin-top: 28px; }

.label-aux {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.prose-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.prose-grid > div:first-child {
  width: 100%;
  max-width: 480px;
}

/* ========== CATEGORY CARDS ========== */

.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule-soft);
  border-left: 1px solid var(--rule-soft);
  border-right: 1px solid var(--rule-soft);
}

@media (min-width: 768px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

.cat-card {
  background: var(--card-fill);
  padding: 32px 28px 32px;
  border-bottom: 1px solid var(--rule-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

/* ========== CATEGORY IMAGE REEL ========== */

.reel {
  margin-top: auto;
  padding-top: 11px;
  height: 132px;
  overflow: hidden;
  position: relative;
  margin-left: -28px;
  margin-right: -28px;
  margin-bottom: 0;
  display: flex;
  align-items: flex-end;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.cat-desc { margin-bottom: 0; }
.cat-card { padding: 24px 28px 16px; }

.reel-track {
  display: flex;
  width: max-content;
  animation: reel-scroll 50s linear infinite;
  padding: 18px 0 0;
}

.reel-img {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  margin-right: 10px;
  background: var(--photo-bg);
  overflow: hidden;
  border-radius: 2px;
  transform-origin: center bottom;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), z-index 0s 280ms;
  cursor: pointer;
  position: relative;
}

.reel-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-img:hover {
  transform: scale(1.5);
  color: var(--ink);
  border-color: var(--ink);
  z-index: 5;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), color 280ms ease, border-color 280ms ease;
}

.reel:hover .reel-track {
  animation-play-state: paused;
}

@keyframes reel-scroll {
  to { transform: translateX(-480px); }
}

/* stagger each reel so they don't all sync */
.reel[data-reel="0"] .reel-track { animation-delay: 0s; }
.reel[data-reel="1"] .reel-track { animation-delay: -5s; }
.reel[data-reel="2"] .reel-track { animation-delay: -11s; }
.reel[data-reel="3"] .reel-track { animation-delay: -17s; }
.reel[data-reel="4"] .reel-track { animation-delay: -22s; }
.reel[data-reel="5"] .reel-track { animation-delay: -27s; }

@media (prefers-reduced-motion: reduce) {
  .reel-track { animation: none; }
}

@media (min-width: 768px) {
  .cat-card:nth-child(odd) { border-right: 1px solid var(--rule-soft); }
}

@media (min-width: 1024px) {
  .cat-card { border-right: 1px solid var(--rule-soft); }
  .cat-card:nth-child(3n) { border-right: 0; }
  .cat-card:nth-child(odd):nth-child(-n+3) { border-right: 1px solid var(--rule-soft); }
}

.cat-num {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-size: 22px;
  display: block;
  margin-bottom: 16px;
}

.cat-title {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--ink);
}

.cat-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.cat-foot {
  margin: 32px auto 0;
  font-style: italic;
  color: var(--ink-soft);
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-size: 18px;
  max-width: 65ch;
}

/* ========== PROGRESSION STEPPER ========== */

.step-track {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  max-width: 720px;
}

/* Per-step connecting segments — line stops at each marker */
.step:not(:last-child)::before,
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 27px;
  width: 2px;
  top: 60px;
  bottom: -44px;
  z-index: 0;
}
.step:not(:last-child)::before { background: var(--rule-soft); }
.step:not(:last-child)::after {
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 500ms cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: var(--step-delay, 0s);
}
.step-track.is-active .step:not(:last-child)::after {
  transform: scaleY(1);
}

.step {
  position: relative;
  z-index: 1;
  text-align: left;
  padding-left: 80px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--step-delay, 0s);
}

.step-track.is-active .step {
  opacity: 1;
  transform: translateY(0);
}

.step-track.is-active .step:nth-child(1) { --step-delay: 0.30s; }
.step-track.is-active .step:nth-child(2) { --step-delay: 0.65s; }
.step-track.is-active .step:nth-child(3) { --step-delay: 1.00s; }
.step-track.is-active .step:nth-child(4) { --step-delay: 1.35s; }

.step-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  background: var(--bg);
  border: 1.5px solid var(--rule-soft);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 380ms ease, transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--step-delay, 0s);
}

.step-track.is-active .step-marker {
  border-color: var(--accent);
  transform: scale(1.04);
}

.step-num {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-muted);
  transition: color 380ms ease;
  transition-delay: var(--step-delay, 0s);
}

.step-track.is-active .step-num { color: var(--accent); }

.step-meta {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.step-title {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px;
}

.step-body {
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 15px;
  margin: 0;
  max-width: 56ch;
}

@media (prefers-reduced-motion: reduce) {
  .step,
  .step-marker,
  .step-num,
  .step::after {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }
  .step-marker { border-color: var(--accent); }
  .step-num { color: var(--accent); }
}

/* ========== TESTIMONIAL ========== */

.testimonial {
  background: var(--bg-soft);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}

.testimonial-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (min-width: 1024px) {
  .testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: center;
    justify-items: start;
    max-width: 880px;
    margin: 0 auto;
  }
}

.testimony-frame {
  position: relative;
  width: 100%;
  max-width: 240px;
  margin: 0;
  background: #fff;
  padding: 6px;
  border: 1px solid rgba(40, 28, 12, 0.12);
  box-shadow:
    0 3px 10px rgba(40, 28, 12, 0.06),
    0 12px 30px rgba(40, 28, 12, 0.08);
}

.testimony-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.testimony-text {
  max-width: 36ch;
}

.quote {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
  max-width: 32ch;
  margin: 0 auto;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.quote::before { content: '"'; color: var(--accent); margin-right: 4px; }
.quote::after { content: '"'; color: var(--accent); }

.quote-attr {
  margin-top: 24px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ========== NIK BIO ========== */

/* ========== FOUNDER LETTER ========== */

#nik {
  padding-bottom: 96px;
}

@media (min-width: 768px) { #nik { padding-bottom: 144px; } }
@media (min-width: 1024px) { #nik { padding-bottom: 192px; } }

.letter-paper {
  position: relative;
  isolation: isolate;
  max-width: 720px;
  margin: 16px auto 0;
  padding: 64px 64px 52px;
  text-align: left;
  transform: rotate(-3deg) translateY(40px) scale(0.94);
  opacity: 0;
  transform-origin: top center;
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.letter-paper::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  background-color: rgba(244, 240, 229, 0.02);
  background-image:
    /* aged blotches — barely there */
    radial-gradient(ellipse 22% 16% at 22% 26%, rgba(95, 75, 40, 0.025), transparent 70%),
    radial-gradient(ellipse 26% 18% at 76% 40%, rgba(95, 75, 40, 0.025), transparent 70%),
    radial-gradient(ellipse 18% 14% at 44% 64%, rgba(95, 75, 40, 0.02), transparent 70%),
    radial-gradient(ellipse 24% 16% at 64% 84%, rgba(95, 75, 40, 0.02), transparent 70%),
    /* corner darkening — soft */
    radial-gradient(ellipse at 0% 0%, rgba(95, 75, 40, 0.08), transparent 38%),
    radial-gradient(ellipse at 100% 0%, rgba(95, 75, 40, 0.08), transparent 38%),
    radial-gradient(ellipse at 0% 100%, rgba(95, 75, 40, 0.08), transparent 38%),
    radial-gradient(ellipse at 100% 100%, rgba(95, 75, 40, 0.08), transparent 38%),
    /* fiber strands — whisper */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.40 0 0 0 0 0.30 0 0 0 0 0.18 0 0 0 0.10 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  background-blend-mode: normal, normal, normal, normal, normal, normal, normal, normal, multiply;
  background-size:
    100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%, 100% 100%,
    400px 400px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.025' numOctaves='2' seed='8'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='4'/%3E%3C/filter%3E%3Crect x='3' y='3' width='94' height='94' fill='black' filter='url(%23r)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.025' numOctaves='2' seed='8'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='4'/%3E%3C/filter%3E%3Crect x='3' y='3' width='94' height='94' fill='black' filter='url(%23r)'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  filter:
    drop-shadow(0 1px 2px rgba(40, 28, 12, 0.04))
    drop-shadow(0 10px 22px rgba(40, 28, 12, 0.06))
    drop-shadow(0 22px 44px rgba(40, 28, 12, 0.04));
}

.letter-paper.is-open {
  opacity: 1;
  transform: rotate(-0.4deg) translateY(0) scale(1);
}

@media (max-width: 600px) {
  .letter-paper {
    padding: 56px 28px 40px;
  }
  .letter-paper.is-open {
    transform: rotate(-0.3deg) translateY(0) scale(1);
  }
}

.letter-polaroid {
  position: absolute;
  top: -56px;
  right: 28px;
  width: 120px;
  background: #fff;
  padding: 8px 8px 38px;
  margin: 0;
  box-shadow:
    0 1px 2px rgba(21, 19, 15, 0.06),
    0 8px 18px rgba(21, 19, 15, 0.18);
  transform: rotate(18deg) translateY(-40px) scale(0.6);
  opacity: 0;
  z-index: 2;
  transition:
    opacity 500ms cubic-bezier(0.16, 1, 0.3, 1) 700ms,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1) 700ms;
}

.letter-paper.is-open .letter-polaroid {
  opacity: 1;
  transform: rotate(5deg) translateY(0) scale(1);
}

.letter-polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.letter-polaroid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  font-family: 'Patrick Hand', 'Comic Sans MS', cursive;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
  color: var(--ink);
  line-height: 1;
}

@media (max-width: 600px) {
  .letter-polaroid {
    width: 96px;
    right: 20px;
    top: -44px;
    padding: 6px 6px 30px;
  }
  .letter-polaroid figcaption { font-size: 15px; bottom: 6px; }
}

.letter-opener {
  font-family: 'Patrick Hand', 'Comic Sans MS', cursive;
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.005em;
}

.letter-body p {
  font-family: 'Patrick Hand', 'Comic Sans MS', cursive;
  font-weight: 500;
  font-size: clamp(20px, 1.85vw, 24px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0;
}

.letter-body p + p { margin-top: 16px; }

.letter-sign {
  font-family: 'Patrick Hand', 'Comic Sans MS', cursive;
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 42px);
  color: var(--accent);
  margin: 32px 0 0;
  line-height: 1;
  letter-spacing: -0.005em;
}

.letter-signoff {
  font-family: 'Patrick Hand', 'Comic Sans MS', cursive;
  font-weight: 500;
  font-size: clamp(20px, 1.85vw, 24px);
  color: var(--ink-soft);
  margin: 8px 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .letter-paper {
    opacity: 1;
    transform: rotate(-0.4deg);
    transition: none;
  }
  .letter-polaroid {
    opacity: 1;
    transform: rotate(5deg);
    transition: none;
  }
}

/* ========== WHAT YOU GET ========== */

.list-checks {
  display: flex;
  flex-direction: column;
  max-width: 60ch;
  margin: 24px auto 0;
  border: 1px solid var(--rule-soft);
  background: var(--card-fill);
}

.list-checks li {
  list-style: none;
  padding: 28px 32px;
  border-bottom: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 40px;
  row-gap: 10px;
  align-items: center;
  text-align: left;
  color: var(--ink);
}

.list-checks li:last-child { border-bottom: 0; }

.check-body { display: contents; }

.list-checks .check-title {
  grid-column: 1;
  grid-row: 1;
}

.list-checks .check-icon {
  grid-column: 2;
  grid-row: 1;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 28px;
}

.list-checks .check-desc {
  grid-column: 1;
  grid-row: 2;
}

.list-checks .check-icon svg,
.list-checks .check-icon lottie-player {
  width: 28px;
  height: 28px;
  display: block;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.list-checks li:hover .check-icon svg,
.list-checks li:hover .check-icon lottie-player {
  transform: scale(1.15);
}

.check-icon--lottie {
  width: 28px;
  height: 28px;
}

.check-title {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}

.check-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

ul { padding: 0; margin: 0; }

/* ========== PROMISE / COMMITMENT ========== */

.promise {
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.promise .sec-head .sec-title {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.1;
  margin: 0 auto 32px;
  max-width: none;
  text-wrap: balance;
}

.promise h2 em {
  font-style: italic;
  color: inherit;
  font-weight: inherit;
}

.promise .prose { color: rgba(247, 245, 240, 0.78); max-width: 60ch; margin: 0 auto; }

.promise-personal {
  max-width: 56ch;
  margin: 48px auto 0;
  padding-top: 40px;
  border-top: 1px solid rgba(247, 245, 240, 0.18);
  text-align: center;
}

.promise-personal-body {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: normal;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.45;
  color: rgba(247, 245, 240, 0.9);
  margin: 0;
  letter-spacing: -0.005em;
}

.promise-personal-body::before {
  content: '“';
  color: #F5A56F;
  margin-right: 6px;
  font-style: normal;
}

.promise-personal-body::after {
  content: '”';
  color: #F5A56F;
  margin-left: 4px;
  font-style: normal;
}

.promise-personal-sign {
  margin-top: 20px;
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: #F5A56F;
}

/* Calendar tear-off — date stamp anchor for the 1 August deadline */
.promise-stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px 32px 18px;
  margin: 0 auto 16px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  position: relative;
  transform: rotate(-1.6deg);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
  min-width: 140px;
}

/* Perforation hint at top — dotted line like a tear-off stub */
.promise-stamp-perf {
  position: absolute;
  top: 8px;
  left: 14px;
  right: 14px;
  height: 1px;
  background-image: linear-gradient(to right, var(--ink-muted) 50%, transparent 50%);
  background-size: 5px 1px;
  background-repeat: repeat-x;
  opacity: 0.45;
}

.promise-stamp-month {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}

.promise-stamp-num {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-size: clamp(72px, 8vw, 108px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.promise-stamp-day {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

@media (max-width: 600px) {
  .promise-stamp {
    padding: 18px 26px 16px;
    min-width: 124px;
    margin-bottom: 28px;
  }
  .promise-stamp-num { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .promise-stamp { transform: none; }
}

/* ========== WHAT THIS ISN'T ========== */

.isnt-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 60ch;
  margin: 0 auto;
}

.isnt-list p {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
}

.isnt-list p strong {
  color: var(--ink);
  font-weight: 600;
}

/* ========== FAQ ========== */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    column-gap: 64px;
  }
}

.faq-item {
  padding: 0;
  border-bottom: 1px solid var(--rule-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.faq-q {
  display: flex;
  gap: 16px;
  align-items: baseline;
  text-align: left;
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  transition: color 150ms ease, padding 200ms ease;
}

.faq-item[open] .faq-q { padding-bottom: 8px; }

.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ''; }

.faq-q:hover { color: var(--accent); }
.faq-q:hover .num { color: var(--ink); }

.faq-q .num { display: none; }

.faq-q-text { flex: 1; }

.faq-icon {
  color: var(--accent);
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  margin-left: 16px;
  flex-shrink: 0;
  transition: transform 200ms ease;
  display: inline-block;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  color: var(--ink-soft);
  line-height: 1.6;
  text-align: left;
  padding: 0 0 24px;
  font-size: 16px;
  margin: 0;
}

/* ========== FINAL PITCH ========== */

.final {
  text-align: center;
}

.final-body {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.35;
  color: var(--ink);
  max-width: 22ch;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

.final-sign {
  margin-top: 28px;
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  font-weight: 500;
}

/* ========== APPLY FORM ========== */

.apply {
  border-top: 1px solid var(--rule-soft);
  background: var(--bg-soft);
  padding: 104px 0;
}

@media (min-width: 768px) {
  .apply { padding: 120px 0; }
}

.apply .sec-head {
  margin-bottom: 56px;
  padding-top: 0;
  gap: 20px;
}

.apply h2 {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(36px, 4.8vw, 56px);
  margin-bottom: 20px;
}

.apply-sub {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: none;
  margin: 0 auto 48px;
  line-height: 1.55;
}

.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 10px; }

.field label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.field input,
.field textarea {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  resize: vertical;
}

.field textarea { min-height: 96px; padding-top: 12px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-muted); }

.field input:hover,
.field textarea:hover {
  border-color: var(--ink-muted);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(196, 74, 42, 0.32);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(196, 74, 42, 0.42);
}

.field-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0 0;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  margin-top: 20px;
}

.form-actions .btn {
  justify-content: center;
}

@media (min-width: 768px) {
  .form-actions {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }
  .form-actions .btn {
    width: auto;
    justify-content: flex-start;
  }
}

.field-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid var(--ink-muted);
  background: var(--bg);
  margin: 2px 0 0 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  border-radius: 2px;
}

.field-check input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.field-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.field-check label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  cursor: pointer;
}

.form-foot {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.55;
  flex: 1;
}

.form-foot a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== FOOTER ========== */

.footer {
  border-top: 1px solid var(--rule-soft);
  padding: 96px 0 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.footer-tagline {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 auto 40px;
  max-width: 24ch;
}

.footer-tagline em {
  font-style: italic;
  color: var(--accent);
}

.footer-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin-bottom: 96px;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.footer-pill:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0 24px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    text-align: left;
  }
}

.footer-copy { color: var(--ink-muted); }

.footer-meta {
  color: var(--ink-muted);
  opacity: 0.75;
}

.footer-watermark {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(180px, 38vw, 560px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
  margin-bottom: -0.18em;
  padding-top: 8px;
  pointer-events: none;
  user-select: none;
}

