/* East Anglia Systema, v1
   Brand: parchment background, ink type, accent aged brass.
   Type: Source Serif 4 (display + body), Inter (UI), JetBrains Mono (meta).
*/

:root {
  --ink: #1a1a1a;
  --ink-soft: #2a2a2a;
  --paper: #f7f4ee;
  --paper-2: #ffffff;
  --paper-3: #efeadf;
  --rule: #d8d2c4;
  --rule-strong: #b8b0a0;
  --muted: #6b6256;
  --muted-2: #8a8275;
  --accent: #8a6a3a;
  --accent-deep: #6f5424;
  --oxblood: #8b1a1a;
  --oxblood-deep: #6e1414;
  --banner-h: 44px;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1180px;
  --content: 760px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  scroll-behavior: smooth;
}
html { background: var(--paper); }
body {
  background-color: var(--paper);
  background-image: url('/assets/paper_bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 120ms ease, color 120ms ease; }
a:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }

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

/* Announcement bar */
.announce {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 24px;
  text-align: center;
}
.announce a { color: var(--paper); border-bottom: 1px solid rgba(247,244,238,0.4); }
.announce a:hover { color: #fff; border-bottom-color: #fff; }
.announce .sep { margin: 0 10px; color: rgba(247,244,238,0.45); }

/* Masthead and nav */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247,244,238,0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

/* Brand banner sits between ticker and nav, scrolls away naturally */
.brand-banner {
  background: transparent;
  padding: 14px 0 10px 0;
}
.brand-banner-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.brand-banner-link { display: inline-block; border-bottom: none; }
.brand-banner-link:hover { border-bottom: none; }
.brand-banner img {
  max-width: 156px;
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 720px) {
  .brand-banner-inner { padding: 0 20px; }
  .brand-banner img { max-width: 130px; }
}

/* Nav-only header (no brand element inside) — give menu more room */
.site--nav-only .site-inner { justify-content: flex-end; }
.site--nav-only .nav-toggle { margin-right: auto; }
/* When the sticky ticker is present and not dismissed, drop the header below it */
body:has(.event-banner:not(.hidden)) header.site { top: var(--banner-h); }
.site-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  border-bottom: none;
}
.brand:hover { color: var(--ink); border-bottom: none; }
.brand img { width: 58px; height: 58px; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.brand .name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.005em;
  color: var(--ink);
  white-space: nowrap;
}
.brand .sub {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
  white-space: nowrap;
}

nav.primary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 15px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
}
nav.primary a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding: 4px 0;
  white-space: nowrap;
}
nav.primary a:hover, nav.primary a.active { color: var(--accent); border-bottom-color: var(--accent); }
nav.primary a.cta {
  background: var(--ink);
  color: var(--paper);
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  letter-spacing: 0.04em;
}
nav.primary a.cta:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--paper); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 900px) {
  nav.primary {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    display: none;
    z-index: 200;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  nav.primary.open { display: flex; }
  nav.primary a { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  nav.primary a:last-child { border-bottom: none; }
  nav.primary a.cta { text-align: center; margin-top: 10px; }
  .nav-toggle { display: inline-block; }
  .site-inner { padding: 14px 20px; }
}

/* Landscape phone: nav in 2 columns so all items fit without scrolling */
@media (max-width: 900px) and (max-height: 500px) {
  nav.primary {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
    overflow-y: visible;
    padding: 8px 20px 12px;
    gap: 0;
  }
  nav.primary a {
    width: 50%;
    padding: 7px 0;
    border-bottom: 1px solid var(--rule);
    box-sizing: border-box;
  }
  nav.primary a:nth-last-child(-n+2) { border-bottom: none; }
}

/* Page wrap and sections */
main { display: block; }
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.narrow { max-width: var(--content); margin-left: auto; margin-right: auto; }

@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  body { font-size: 17px; }
}

/* Section blocks */
section.block {
  padding: 72px 0;
  border-bottom: 1px solid var(--rule);
}
section.block:last-of-type { border-bottom: none; }
section.block.tight { padding: 48px 0; }
section.block.dark { background: var(--ink); color: var(--paper); border-bottom-color: var(--ink); }
section.block.dark a { color: var(--paper); border-bottom-color: rgba(247,244,238,0.4); }
section.block.cream { background: var(--paper-3); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 14px;
  display: block;
}
section.block.dark .eyebrow { color: var(--rule); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: inherit; }

h1.display {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 24px 0;
}
h1.page {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 0 0 18px 0;
}
h2 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.008em;
  margin: 0 0 20px 0;
}
h2.small { font-size: 28px; }
h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 12px 0;
}
h3.label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
}
h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 8px 0;
}

@media (max-width: 700px) {
  h1.display { font-size: 44px; }
  h1.page { font-size: 36px; }
  h2 { font-size: 28px; }
  section.block { padding: 56px 0; }
}

.lede {
  font-size: 22px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 28px 0;
  font-family: var(--serif);
}
@media (max-width: 700px) { .lede { font-size: 19px; } }

p { margin: 0 0 16px 0; }
ul, ol { margin: 0 0 20px 0; padding-left: 22px; }
li { margin-bottom: 8px; }

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 32px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 2px;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--paper); border-bottom-color: var(--accent-deep); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
section.block.dark .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
section.block.dark .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
section.block.dark .btn.ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
section.block.dark .btn.ghost:hover { background: var(--paper); color: var(--ink); }

/* Hero */
.hero {
  padding: 96px 0 80px;
  position: relative;
}
.hero .eyebrow { margin-bottom: 18px; }
.hero-lockup {
  display: block;
  width: 100%;
  max-width: 1040px;
  height: auto;
  margin: 0 0 30px;
}
@media (max-width: 700px) { .hero-lockup { margin-bottom: 20px; } }
.hero h1 {
  max-width: 14ch;
}
.hero .sub {
  font-size: 22px;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 36px 0;
  line-height: 1.55;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 700px) { .hero { padding: 64px 0 56px; } }

/* Hero carousel */
.hero-carousel {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 780px;
  display: flex;
  align-items: stretch;
  background: var(--ink);
}
@media (max-width: 900px) { .hero-carousel { min-height: 640px; } }
@media (max-width: 700px) { .hero-carousel { min-height: 520px; } }

.hero-carousel .slides {
  position: relative;
  width: 100%;
}
.hero-carousel .slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms ease, visibility 0s linear 800ms;
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  background-color: var(--ink);
}
.hero-carousel .slide.wide-bg {
  background-size: cover;
  background-position: center 35%;
}
.hero-carousel .slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 800ms ease, visibility 0s linear 0s;
  z-index: 1;
}
.hero-carousel .brand-slide {
  background-color: var(--paper);
  background-image: url('/assets/paper_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-carousel .brand-slide-inner {
  padding: 40px 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-carousel .brand-slide .hero-lockup {
  max-width: 620px;
  margin: 0 auto 16px;
}
@media (max-width: 700px) { .hero-carousel .brand-slide .hero-lockup { max-width: 88vw; } }
.hero-carousel .brand-slide .display {
  max-width: 32ch;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 36px;
  line-height: 1.18;
}
@media (max-width: 700px) { .hero-carousel .brand-slide .display { font-size: 26px; } }
.hero-carousel .brand-slide .cta-row {
  justify-content: center;
}
.hero-carousel .photo-slide .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(15,12,10,0.78) 0%, rgba(15,12,10,0.55) 45%, rgba(15,12,10,0.15) 85%, rgba(15,12,10,0.05) 100%);
}
.hero-carousel .photo-slide .slide-content {
  position: relative;
  z-index: 2;
  color: var(--paper);
  padding: 96px 0 80px;
}
.hero-carousel .slide-title {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1.1;
  max-width: 18ch;
  margin: 0 0 22px 0;
  color: var(--paper);
}
@media (max-width: 900px) { .hero-carousel .slide-title { font-size: 44px; } }
@media (max-width: 700px) { .hero-carousel .slide-title { font-size: 34px; } }
.hero-carousel .slide-sub {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(247,244,238,0.92);
  max-width: 52ch;
  margin: 0 0 30px 0;
}
@media (max-width: 700px) { .hero-carousel .slide-sub { font-size: 17px; } }
.hero-carousel .eyebrow.light { color: rgba(247,244,238,0.85); }
.hero-carousel .btn.ghost.light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(247,244,238,0.7);
}
.hero-carousel .btn.ghost.light:hover { background: var(--paper); color: var(--ink); }

/* Hero nav arrows */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(247,244,238,0.5);
  background: rgba(15,12,10,0.35);
  color: var(--paper);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: background 160ms ease, border-color 160ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hero-nav:hover { background: rgba(15,12,10,0.6); border-color: var(--paper); }
.hero-nav.prev { left: 24px; }
.hero-nav.next { right: 24px; }
@media (max-width: 700px) {
  .hero-nav { width: 40px; height: 40px; font-size: 22px; }
  .hero-nav.prev { left: 10px; }
  .hero-nav.next { right: 10px; }
}

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
  background: rgba(15,12,10,0.45);
  padding: 9px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero-carousel .brand-slide-inner { padding-bottom: 80px; }
.hero-carousel .photo-slide .slide-content { padding-bottom: 70px; }
.hero-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(247,244,238,0.8);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.hero-dots .dot.is-active { background: var(--paper); }
.hero-dots .dot:hover { transform: scale(1.15); }

@media (prefers-reduced-motion: reduce) {
  .hero-carousel .slide { transition: none; }
}

/* Two and three column grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 28px 28px 26px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.card .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.card h3 { margin: 0 0 10px 0; }
.card p { margin: 0 0 14px 0; color: var(--ink-soft); }
.card .more {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: auto;
  border-bottom: 1px solid var(--accent);
  align-self: flex-start;
  padding-bottom: 1px;
}
.card .more:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }

.seminar-tile {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.seminar-tile .when {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.seminar-tile h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 8px 0;
}
.seminar-tile .where {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.seminar-tile p { color: var(--ink-soft); margin-bottom: 24px; }
.seminar-tile .actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }

/* Instructor tiles, private-tuition page */
.instructor-grid { gap: 28px; margin-top: 8px; }
.instructor-tile {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 36px 34px 30px 34px;
  display: flex;
  flex-direction: column;
}
.instructor-tile .instructor-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.instructor-tile h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 16px 0;
}
.instructor-tile p {
  color: var(--ink-soft);
  margin: 0 0 26px 0;
  line-height: 1.55;
}
.instructor-tile .instructor-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.instructor-tile .instructor-actions .btn {
  padding: 12px 22px;
}
.instructor-tile .instructor-profile-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}
.instructor-tile .instructor-profile-link:hover {
  border-bottom-color: var(--ink);
}

/* Seminar tiles, v2 — portrait + badge + featured emphasis */
.seminars-section { padding-top: 88px; padding-bottom: 88px; }
.seminars-section .lede { margin-bottom: 0; }
.seminar-grid { gap: 32px; align-items: stretch; }
.seminar-grid--single { display: grid; grid-template-columns: minmax(0, 560px); justify-content: center; }
.seminar-tile.future .seminar-portrait--typographic {
  background: linear-gradient(160deg, #2a2622 0%, #1c1916 60%, #14110f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8d9b8;
  padding: 28px;
}
.seminar-tile.future .seminar-portrait--typographic .typo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.seminar-tile.future .seminar-portrait--typographic .typo-eyebrow {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c8b48a;
}
.seminar-tile.future .seminar-portrait--typographic .typo-date {
  font-family: var(--serif, Georgia, serif);
  font-size: 44px;
  line-height: 1.05;
  font-weight: 500;
  color: #f3e6c5;
}
.seminar-tile.future .seminar-portrait--typographic .typo-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(232,217,184,0.45);
}
.seminar-tile.future .seminar-portrait--typographic .typo-place {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c8b48a;
}
@media (max-width: 720px) {
  .seminar-tile.future .seminar-portrait--typographic .typo-date { font-size: 34px; }
}
.seminar-tile { padding: 0; overflow: hidden; }
.seminar-tile .seminar-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-3);
  border-bottom: 1px solid var(--rule);
}
.seminar-tile .seminar-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.05) contrast(1.02);
}
.seminar-tile .seminar-portrait.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--paper-3), var(--paper-2));
}
.seminar-tile .placeholder-mark {
  font-family: var(--serif);
  font-size: 88px;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.18);
  font-weight: 400;
}
.seminar-tile .seminar-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #000;
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
  font-weight: 700;
}
.seminar-tile .seminar-badge.muted {
  background: rgba(0,0,0,0.62);
  font-weight: 500;
}
.seminar-tile .seminar-body { padding: 32px 32px 36px 32px; display: flex; flex-direction: column; flex: 1; }
.seminar-tile.featured {
  border: 2px solid #000;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  background: var(--paper);
}
.seminar-tile.featured .when { color: var(--accent); font-weight: 700; }
.seminar-tile.future { background: var(--paper-2); }
.seminar-tile.future h3 { color: var(--ink-soft); }
@media (max-width: 720px) {
  .seminar-tile .seminar-portrait { aspect-ratio: 3 / 2; }
  .seminar-tile .seminar-portrait img { object-position: center 20%; }
  .seminar-tile .seminar-body { padding: 24px 22px 26px 22px; }
  .seminars-section { padding-top: 56px; padding-bottom: 56px; }
}

/* Instructor card */
.person {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 28px;
  border-radius: 2px;
}
img.portrait, .portrait-img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
  background: var(--paper-3);
  margin-bottom: 18px;
  filter: grayscale(1) contrast(1.04);
}
.person .portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 18px;
  text-align: center;
  padding: 16px;
}
.person h3 { font-size: 22px; margin: 0 0 4px 0; }
.person .role {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}
.person p { font-size: 16px; color: var(--ink-soft); }

/* Audience segment row */
.segment {
  border-top: 1px solid var(--rule);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  align-items: start;
}
.segment:last-child { border-bottom: 1px solid var(--rule); }
.segment .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.segment h3 { margin: 0 0 8px 0; font-size: 24px; }
.segment p { margin: 0; color: var(--ink-soft); }
@media (max-width: 640px) {
  .segment { grid-template-columns: 1fr; gap: 4px; }
}

/* Schedule table */
table.schedule {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px 0;
  font-family: var(--sans);
  font-size: 15px;
}
table.schedule th, table.schedule td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
table.schedule th {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  border-bottom: 1px solid var(--ink);
}
table.schedule td .day {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
}
table.schedule td .time { color: var(--muted); font-family: var(--mono); font-size: 13px; }

/* Pricing tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0; }
@media (max-width: 800px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 28px 24px;
  border-radius: 2px;
}
.tier.featured { border-color: var(--ink); border-width: 1px; box-shadow: 0 0 0 1px var(--ink) inset; }
.tier .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.tier h3 { font-size: 22px; margin: 0 0 6px 0; }
.tier .price {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  margin: 14px 0 6px 0;
}
.tier .price .small { font-size: 16px; color: var(--muted); font-family: var(--sans); }
.tier ul { padding-left: 18px; font-size: 15px; }
.tier li { margin-bottom: 6px; }

/* FAQ */
details.faq {
  border-top: 1px solid var(--rule);
  padding: 18px 0;
}
details.faq:last-child { border-bottom: 1px solid var(--rule); }
details.faq summary {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 22px;
  color: var(--muted);
  font-weight: 300;
  transition: transform 200ms ease;
}
details.faq[open] summary::after { content: ""; transform: rotate(45deg); }
details.faq .answer { padding-top: 14px; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
details.faq .answer p:last-child { margin-bottom: 0; }

/* Forms */
form.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 540px;
}
form.stack .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { form.stack .row { grid-template-columns: 1fr; } }
label.field { display: flex; flex-direction: column; gap: 6px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink); }
input, select, textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 2px;
  width: 100%;
  outline: none;
  transition: border-color 120ms ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
.note {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* Quote */
blockquote.pull {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.4;
  margin: 36px 0;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-style: normal;
}
blockquote.pull .by {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}

/* Metadata bar */
.meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 18px 0 28px 0;
  padding: 20px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 700px) { .meta-row { grid-template-columns: repeat(2, 1fr); } }
.meta-row .item .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.meta-row .item .v {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
}

/* Logo strip */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 14px 0 0;
}
@media (max-width: 700px) { .logo-strip { grid-template-columns: repeat(2, 1fr); } }
.logo-strip .item {
  border: 1px solid var(--rule);
  padding: 18px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Map placeholder */
.map-placeholder {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

/* Footer */
footer.site {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 32px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
}
footer.site a { color: var(--paper); border-bottom: 1px solid rgba(247,244,238,0.3); }
footer.site a:hover { color: #fff; border-bottom-color: #fff; }
footer.site .cols {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) {
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  footer.site .cols { grid-template-columns: 1fr; }
}
footer.site h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rule);
  margin: 0 0 14px 0;
}
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 8px; }
footer.site .brand-block { display: flex; gap: 18px; align-items: flex-start; }
footer.site .brand-block img { width: 72px; height: 72px; filter: invert(1) brightness(1.4); }
footer.site .brand-block .name { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
footer.site .brand-block .sub { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rule); margin-top: 4px; }
footer.site form.newsletter { display: flex; gap: 8px; margin-top: 12px; }
footer.site form.newsletter input { background: rgba(247,244,238,0.08); border-color: rgba(247,244,238,0.25); color: var(--paper); flex: 1; }
footer.site form.newsletter input::placeholder { color: rgba(247,244,238,0.55); }
footer.site form.newsletter button { background: var(--paper); color: var(--ink); border: 1px solid var(--paper); padding: 12px 18px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; border-radius: 2px; }
footer.site form.newsletter button:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }

.colophon {
  max-width: var(--maxw);
  margin: 48px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(247,244,238,0.18);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(247,244,238,0.65);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.trading-entity {
  max-width: var(--maxw);
  margin: 8px auto 0;
  padding: 0 32px 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(247,244,238,0.45);
}

/* Long-form prose helpers */
.prose p, .prose ul, .prose ol { max-width: 64ch; }
.prose h2 { margin-top: 48px; }
.prose h3 { margin-top: 36px; }
.prose h3.label { margin-top: 32px; margin-bottom: 8px; }

/* Utility */
.center { text-align: center; }
.text-muted { color: var(--muted); }
.text-mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; }
.spacer-sm { height: 24px; }
.spacer { height: 48px; }
.spacer-lg { height: 72px; }
.divider { border-top: 1px solid var(--rule); margin: 32px 0; }
.tag-pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid var(--rule);
  padding: 4px 9px;
  border-radius: 2px;
  margin-right: 6px;
}
.tag-pill.accent { color: var(--accent); border-color: var(--accent); }

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

/* v1.1, event banner above masthead */
.event-banner {
  background: var(--oxblood);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  height: var(--banner-h);
  display: flex;
  align-items: center;
  gap: 0;
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: hidden;
}
.event-banner .ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
}
.event-banner .ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  animation: eas-ticker 34s linear infinite;
}
.event-banner .ti {
  padding: 0 38px;
  display: inline-flex;
  align-items: center;
}
.event-banner .ti .sep { opacity: 0.55; margin: 0 2px; }
.event-banner:hover .ticker-track { animation-play-state: paused; }
@keyframes eas-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.event-banner .ticker-countdown {
  flex: none;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: #000;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.25);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  gap: 3px;
}
.event-banner .ticker-cta {
  flex: none;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 22px;
  background: #000;
  color: #fff;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.25);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.event-banner .ticker-cta:hover { background: #1a1a1a; color: #fff; border-bottom: none; }
.event-banner .dismiss {
  flex: none;
  align-self: stretch;
  background: var(--oxblood-deep);
  border: none;
  border-left: 1px solid rgba(255,255,255,0.18);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 14px;
  opacity: 0.85;
}
.event-banner .dismiss:hover { opacity: 1; color: #fff; }
.event-banner.hidden { display: none; }
@media (prefers-reduced-motion: reduce) {
  .event-banner .ticker-track { animation: none; }
}
@media (max-width: 700px) {
  .event-banner { font-size: 10.5px; letter-spacing: 0.1em; }
  .event-banner .ti { padding: 0 24px; }
  .event-banner .ticker-cta { padding: 0 12px; letter-spacing: 0.08em; }
}

/* v1.1, header right cluster: phone + trial CTA */
nav.primary .tel {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.04em;
  border-bottom: none;
  padding: 4px 0 4px 18px;
  margin-left: 4px;
  border-left: 1px solid var(--rule);
  white-space: nowrap;
}
nav.primary .tel:hover { color: var(--oxblood); border-bottom: none; }
nav.primary a.trial-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
}
nav.primary a.trial-cta:hover { background: var(--oxblood); border-color: var(--oxblood); color: var(--paper); }

/* cart icon in nav */
nav.primary a.cart-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: none;
  padding: 6px 2px;
}
nav.primary a.cart-cta:hover { color: var(--oxblood); border-bottom: none; }
nav.primary a.cart-cta svg { flex-shrink: 0; }

/* v1.2 — social icons in header */
nav.primary a.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--ink);
  border-bottom: none;
  padding: 0;
  margin-left: 2px;
  transition: color 160ms ease, transform 160ms ease;
}
nav.primary a.social:hover { color: var(--oxblood); transform: translateY(-1px); border-bottom: none; }

/* v1.1, modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--paper);
  max-width: 480px;
  width: 100%;
  border-radius: 2px;
  padding: 36px 32px 32px;
  position: relative;
  border: 1px solid var(--rule);
  max-height: 90vh;
  overflow-y: auto;
}
.modal .close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
  padding: 4px 8px;
}
.modal .close:hover { color: var(--ink); }
.modal h3 { font-size: 26px; margin: 0 0 8px 0; }
.modal .lede { font-size: 16px; margin: 0 0 22px 0; color: var(--muted); }
.modal form.stack { max-width: 100%; }
.modal .confirmation { display: none; }
.modal.submitted form.stack { display: none; }
.modal.submitted .confirmation { display: block; }
.modal-overlay.submitted .modal form.stack { display: none; }
.modal-overlay.submitted .modal .confirmation { display: block; }

/* v1.1, footer newsletter row */
footer.site .newsletter-block {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(247,244,238,0.18);
  margin-top: 18px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 700px) {
  footer.site .newsletter-block { grid-template-columns: 1fr; }
}
footer.site .newsletter-block .copy { font-size: 14px; color: rgba(247,244,238,0.78); max-width: 44ch; }
footer.site .newsletter-block .copy h4 { color: var(--paper); font-size: 16px; margin: 0 0 6px 0; text-transform: none; letter-spacing: 0; font-family: var(--serif); font-weight: 400; }
footer.site form.footer-newsletter { display: flex; gap: 8px; }
footer.site form.footer-newsletter input {
  background: rgba(247,244,238,0.08);
  border: 1px solid rgba(247,244,238,0.25);
  color: var(--paper);
  flex: 1;
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 2px;
}
footer.site form.footer-newsletter input::placeholder { color: rgba(247,244,238,0.55); }
footer.site form.footer-newsletter button {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
  padding: 12px 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
}
footer.site form.footer-newsletter button:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }

/* v1.2, social row in footer (type-only, no icons) */
footer.site .social-row {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(247,244,238,0.18);
  border-bottom: 1px solid rgba(247,244,238,0.18);
  margin-top: 18px;
  padding: 18px 0;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(247,244,238,0.65);
  text-align: center;
  line-height: 1.6;
}
footer.site .social-row a {
  color: rgba(247,244,238,0.78);
  border-bottom: none;
  padding: 2px 4px;
  transition: color 120ms ease;
}
footer.site .social-row a:hover {
  color: #fff;
  border-bottom: none;
}
footer.site .social-row .sep {
  color: rgba(247,244,238,0.35);
  margin: 0 4px;
}

/* v1.2, visual placeholder system */
.visual-slot {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
}
section.block.cream .visual-slot { background: var(--paper); }
.visual-slot::before {
  content: attr(data-slot-label);
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.visual-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, transparent 49.5%, var(--rule) 49.5%, var(--rule) 50.5%, transparent 50.5%);
  opacity: 0.45;
  pointer-events: none;
}
.visual-portrait-large { aspect-ratio: 4 / 5; max-width: 480px; }
.visual-portrait-small { aspect-ratio: 4 / 5; max-width: 240px; }
.visual-action-wide { aspect-ratio: 16 / 9; }
.visual-action-square { aspect-ratio: 1 / 1; }
.visual-detail-small { aspect-ratio: 1 / 1; max-width: 200px; }
.visual-video-embed { aspect-ratio: 16 / 9; }
.visual-still { aspect-ratio: 4 / 3; }
.visual-hero-banner { aspect-ratio: 21 / 9; }

/* v1.4, real photo figure styles. Photos render at NATIVE aspect ratio. */
/* No forced cropping. Layout adapts to whatever the photo's native size is. */
.audience-photo, .detail-square, .action-wide, .inline-portrait {
  margin: 0;
  display: block;
}
.audience-photo img,
.detail-square img,
.action-wide img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
}
.audience-photo figcaption, .detail-square figcaption {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-align: center;
}
/* Audience grid: stack at top so mixed-height images line up at the top, not stretch */
.audience-grid, .audience-visual-row { align-items: start; }
.audience-grid .audience-photo, .audience-visual-row .audience-photo { align-self: start; }
.inline-portrait img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
}

/* v1.2, Onishi urgency tactics */
.deadline-line {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  margin: 0 0 18px 0;
}

.postmark-band {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  margin: 24px 0 18px 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Three-tier always-visible, current ink, future ghost */
.tier-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0; align-items: stretch; }
@media (max-width: 800px) { .tier-row { grid-template-columns: 1fr; } }
.tier-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 28px 24px 26px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.tier-card .tier-name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--muted);
}
.tier-card .tier-price {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  margin: 4px 0 6px 0;
}
.tier-card .tier-price .small {
  font-size: 14px;
  color: var(--muted);
  font-family: var(--sans);
  letter-spacing: 0.04em;
  display: block;
  margin-top: 6px;
}
.tier-card .tier-when {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.tier-card ul {
  font-family: var(--sans);
  font-size: 14.5px;
  padding-left: 18px;
  margin: 0 0 18px 0;
}
.tier-card ul li { margin-bottom: 6px; }
.tier-card .availability {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
}
.tier-card .tier-register {
  margin-top: auto;
  display: inline-block;
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 2px;
  border: 1px solid var(--ink);
}
.tier-card.current {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.tier-card.current .tier-name { color: rgba(247,244,238,0.7); }
.tier-card.current .tier-when { color: rgba(247,244,238,0.7); }
.tier-card.current .tier-price .small { color: rgba(247,244,238,0.7); }
.tier-card.current .availability { color: rgba(247,244,238,0.55); border-top-color: rgba(247,244,238,0.2); }
.tier-card.current .tier-register {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.tier-card.current .tier-register:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); border-bottom-color: var(--accent); }
.tier-card.ghost {
  background: var(--paper);
  color: var(--muted);
  border-color: var(--rule-strong);
}
.tier-card.ghost .tier-name { color: var(--muted-2); }
.tier-card.ghost .tier-price { color: var(--muted); }
.tier-card.ghost .tier-when { color: var(--muted-2); }
.tier-card.ghost ul { color: var(--muted); }
.tier-card.ghost .tier-register {
  background: transparent;
  color: var(--muted);
  border-color: var(--rule-strong);
}
.tier-card.ghost .tier-register:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); border-bottom-color: var(--ink); }

/* Radio-as-card pattern for ticket tier selection on register pages */
.tier-card { cursor: pointer; position: relative; transition: border-color 120ms ease, box-shadow 120ms ease; }
.tier-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.tier-card:hover { border-color: var(--ink); }
.tier-card:has(input[type="radio"]:checked) {
  border-color: var(--oxblood);
  box-shadow: 0 0 0 2px var(--oxblood) inset;
}
.tier-card:has(input[type="radio"]:checked) .tier-name { color: var(--oxblood); }
.tier-card:has(input[type="radio"]:checked) .availability { color: var(--oxblood); }

/* Pre-launch notice ribbon for "tickets on sale soon" state */
.launch-notice {
  background: var(--oxblood);
  color: var(--paper);
  padding: 18px 22px;
  margin: 0 0 28px;
  border-left: 4px solid var(--oxblood-deep);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.launch-notice .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  display: block;
  margin-bottom: 4px;
}
.launch-notice .text {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  flex: 1;
  min-width: 280px;
}
.launch-notice .text strong { font-weight: 600; }

/* Calendar add-to buttons */
.cal-block {
  margin: 32px 0;
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
}
.cal-block h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 6px;
}
.cal-block p {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 16px;
}
.cal-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cal-btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 2px;
}
.cal-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); border-bottom: 1px solid var(--ink); }

/* Inline interest confirmation message */
.interest-confirm {
  display: none;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  padding: 22px 24px;
  margin-top: 18px;
}
.interest-confirm.shown { display: block; }
.interest-confirm h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 6px; }
.interest-confirm p { font-family: var(--serif); font-size: 15.5px; line-height: 1.55; margin: 0 0 10px; }

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 20px;
  z-index: 60;
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  border-top: 1px solid var(--rule-strong);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.18);
}
.cookie-banner.shown { display: flex; }
.cookie-banner .text { flex: 1; min-width: 260px; }
.cookie-banner .text a { color: var(--paper); border-bottom: 1px solid rgba(247,244,238,0.45); }
.cookie-banner .text a:hover { border-bottom-color: #fff; }
.cookie-banner .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .actions button {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--paper);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  border-radius: 2px;
}
.cookie-banner .actions button:hover { background: rgba(247,244,238,0.08); }
.cookie-banner .actions button.primary {
  background: var(--paper);
  color: var(--ink);
}
.cookie-banner .actions button.primary:hover {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
@media (max-width: 600px) {
  .cookie-banner { padding: 12px 14px; font-size: 13px; }
  .cookie-banner .actions button { padding: 8px 12px; font-size: 11px; }
}

/* v1.2, responsive collapses for new visual grids */
@media (max-width: 900px) {
  .audience-visual-row { grid-template-columns: repeat(3, 1fr) !important; }
  /* Override inline grid-column positions that target columns 2/4 of the 6-col desktop grid */
  .audience-visual-row .audience-photo { grid-column: auto !important; }
}
@media (max-width: 600px) {
  .audience-visual-row { grid-template-columns: repeat(2, 1fr) !important; }
  .audience-visual-row .audience-photo { grid-column: auto !important; }
}

/* v1.1, Other Schools page */
.school-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}
@media (max-width: 700px) { .school-list { grid-template-columns: 1fr; } }
.school-card {
  border: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 20px 22px;
  border-radius: 2px;
}
.school-card .name { font-family: var(--serif); font-size: 19px; color: var(--ink); margin: 0 0 4px 0; }
.school-card .city {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.school-card .who { font-size: 14px; color: var(--ink-soft); margin: 0 0 10px 0; font-family: var(--sans); }
.school-card a.visit {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.school-card a.visit:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }
.school-hq {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  padding: 28px 30px;
  border-radius: 2px;
  margin: 18px 0;
}
.school-hq h3 { margin: 0 0 6px 0; }
.school-hq .role {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}

/* v1.1, Founders page bio block */
.founder-bio {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: start;
  margin: 32px 0;
}
@media (max-width: 760px) { .founder-bio { grid-template-columns: 1fr; } }
.founder-bio .portrait-block {
  aspect-ratio: 4 / 5;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 22px;
}
.founder-bio h2 { margin-top: 0; }
.founder-bio .role {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

/* v1.1, lineage callout on About */
.lineage-callout {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: var(--paper-3);
  margin: 18px 0 32px 0;
  max-width: 64ch;
}
@media (max-width: 700px) { .lineage-callout { font-size: 19px; padding: 20px 22px; } }

/* v1.1, repeated CTA blocks on Onishi */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: 28px 32px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.cta-band .copy { font-family: var(--serif); font-size: 22px; line-height: 1.3; max-width: 32ch; }
.cta-band .copy small {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.7);
  margin-top: 6px;
}
.cta-band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-band .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }

/* v1.1, embedded map iframe */
.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule);
  border-radius: 2px;
  display: block;
}
.location-block {
  border-top: 1px solid var(--rule);
  padding: 28px 0;
}
.location-block:last-child { border-bottom: 1px solid var(--rule); }
.location-block h3 { margin: 0 0 6px 0; }
.location-block .addr {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}

/* v1.1, registration form layout */
.reg-section {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  margin-top: 28px;
}
.reg-section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.tier-radio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 12px 0;
}
@media (max-width: 700px) { .tier-radio-grid { grid-template-columns: 1fr; } }
.tier-radio {
  border: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 18px 18px 16px;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
}
.tier-radio:hover { border-color: var(--ink); }
.tier-radio input { display: none; }
.tier-radio.selected { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.tier-radio .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.tier-radio .label-name { font-family: var(--serif); font-size: 18px; line-height: 1.2; margin-bottom: 6px; }
.tier-radio .price { font-family: var(--serif); font-size: 26px; line-height: 1; margin-bottom: 4px; }
.tier-radio .meta { font-family: var(--sans); font-size: 12px; color: var(--muted); }


/* Responsive YouTube/Vimeo embed */
.video-embed { margin: 0; }
.video-embed .video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid var(--rule-strong);
  overflow: hidden;
  border-radius: 2px;
}
.video-embed .video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-embed figcaption {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 10px;
}

/* ============================================================
   Brand slide v2 (first carousel slide):
   warrior + EAS roundel + East Anglia Systema title image,
   alpha-vignette fades into the page paper, plus CTA buttons.
   ============================================================ */
.hero-carousel .brand-slide-v2 {
  background-color: var(--paper) !important;
  background-image: url('/assets/paper_bg.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: absolute;
  inset: 0;
}
.hero-carousel .brand-slide-v2-inner {
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 16px 120px 16px;
  margin: 0 auto;
  box-sizing: border-box;
}
.hero-carousel .brand-slide-v2 .brand-warrior--full {
  max-height: 500px;
  max-width: min(1100px, 96%);
  width: auto;
  margin: 0 auto 36px auto;
}
@media (max-width: 900px) {
  .hero-carousel .brand-slide-v2 .brand-warrior--full { max-height: 380px; margin-bottom: 28px; }
}
@media (max-width: 700px) {
  .hero-carousel .brand-slide-v2 .brand-warrior--full { max-height: 280px; margin-bottom: 22px; }
  .hero-carousel .brand-slide-v2-inner { padding-bottom: 90px; }
}
.brand-slide-v2 .brand-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Accent button variants (oxblood red) used on brand slide CTAs */
.btn.btn--accent {
  background: var(--oxblood);
  border-color: var(--oxblood);
  color: var(--paper);
}
.btn.btn--accent:hover {
  background: var(--oxblood-deep);
  border-color: var(--oxblood-deep);
  color: var(--paper);
}
.btn.btn--accent.ghost {
  background: transparent;
  color: var(--oxblood);
  border-color: var(--oxblood);
}
.btn.btn--accent.ghost:hover {
  background: var(--oxblood);
  color: var(--paper);
  border-color: var(--oxblood);
}

/* Inline article figures (photos placed into page flow) */
.page-figure { margin: 0; }
.page-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
@media (max-width: 700px) {
  .page-figure.portrait {
    height: 360px;
    overflow: hidden;
    border-radius: 4px;
  }
  .page-figure.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
  }
}

/* Responsive YouTube/Vimeo embed */
.video-embed {
  position: relative;
  width: 100%;
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
}
.video-embed--16x9 { aspect-ratio: 16 / 9; }
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ── Ticket section ─────────────────────────────────────────────────────── */

.ticket-group {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.ticket-group:first-of-type { border-top: none; padding-top: 0; margin-top: 24px; }

.ticket-group-header { margin-bottom: 24px; }
.ticket-group-header h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 6px 0; }
.ticket-group-header p { font-family: var(--sans); font-size: 15px; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }

/* Card grid — max 3 columns, cards don't stretch beyond 340px */
.ticket-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 556px;
}

/* Individual card */
.ticket-card {
  background: var(--surface, #fff);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}
.ticket-card:hover {
  border-color: var(--fg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.ticket-card.has-qty {
  border-color: var(--accent, #5a3e2b);
  box-shadow: 0 0 0 2px rgba(90,62,43,0.12);
}

.ticket-card-inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  box-sizing: border-box;
}

/* Badge */
.ticket-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--rule);
  color: var(--muted);
  align-self: flex-start;
}
.ticket-badge.saving {
  background: #7c1f1f;
  color: #fff;
}

/* Label and note */
.ticket-label {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
}
.ticket-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Price */
.ticket-price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1;
  margin-top: 4px;
}
.ticket-price-sub {
  font-size: 0.75rem;
  font-family: var(--mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  vertical-align: middle;
}

/* Price ladder (Standard / Late prices shown below EB price) */
.ticket-price-ladder {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Qty control */
.ticket-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}
.ticket-qty-row label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}
.qty-btn {
  background: none;
  border: none;
  width: 34px;
  height: 34px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.1s;
}
.qty-btn:hover { background: var(--rule); }
.qty-val {
  font-family: var(--mono);
  font-size: 0.9rem;
  min-width: 28px;
  text-align: center;
  color: var(--fg);
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  line-height: 34px;
}

/* Bundle hint */
.ticket-bundle-hint {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 4px;
}
.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--fg);
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
}

/* Checkout panel */
.ticket-checkout {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--surface, #fff);
  max-width: 480px;
}
.ticket-checkout h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin: 0 0 14px 0;
}
.ticket-summary-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ticket-summary-lines li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--fg);
}
.ticket-summary-total {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticket-tier-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #7c1f1f;
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
}

/* Gift toggle */
.gift-toggle {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}
.gift-toggle label { cursor: pointer; display: flex; align-items: center; gap: 8px; }
.gift-fields {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gift-fields input {
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  width: 100%;
  box-sizing: border-box;
}

/* Error */
/* Consent checkboxes */
.checkout-consents {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}
.consent-row input[type=checkbox] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--fg);
  cursor: pointer;
}
.consent-row .consent-icon {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  display: inline-block;
}
.consent-row a { color: var(--accent); text-underline-offset: 2px; }
.consent-required span { color: var(--ink); }

.checkout-error {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #7c1f1f;
  line-height: 1.4;
}

/* Checkout button */
.btn-checkout {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--fg);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-checkout:hover { opacity: 0.85; }
.btn-checkout:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Ticket type blocks (3-tier) ────────────────────────────────────────── */

.ticket-type-block {
  margin-bottom: 20px;
}
.ticket-type-info {
  margin-bottom: 10px;
}
.ticket-type-info h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 2px 0;
  color: var(--fg);
}
.ticket-type-info p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

/* Three tier cards side by side, each a proper card — no table lines */
.ticket-tiers-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: stretch;
}
.ticket-all-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 833px;
  align-items: stretch;
}
.tier-row-label {
  grid-column: 1 / -1;
  padding: 8px 0 2px;
}
.tier-row-label:first-child {
  padding-top: 0;
}
.tier-row-label h4 {
  margin: 0 0 2px;
}
.tier-row-label p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.tier-card {
  background: var(--surface, #fff);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: flex-start;
}
.tier-card.tier-future {
  opacity: 0.6;
  background: #f0eeea;
}
.tier-name {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 500;
}
.tier-until {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 2px;
}
.tier-price {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1;
  margin: 4px 0;
}
.tier-saving {
  font-size: 0.7rem;
  color: var(--muted);
  font-style: italic;
}
.tier-card .qty-control {
  margin-top: 10px;
  align-self: flex-start;
  width: auto;
}
.tier-card .ticket-badge {
  font-size: 0.6rem;
  padding: 2px 6px;
  margin-bottom: 4px;
  align-self: flex-start;
}

/* ── Ticket section mobile ───────────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Friday night 2-up cards: stack to 1 col */
  .ticket-cards {
    grid-template-columns: 1fr;
  }
  /* Tier cards: stack to 1 col, full width */
  .ticket-tiers-row,
  .ticket-all-tiers {
    grid-template-columns: 1fr;
  }
  /* Tier row labels don't need grid-column span in 1-col layout */
  .tier-row-label {
    grid-column: auto;
  }
  .ticket-group {
    padding: 0;
  }
  .tier-card {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    flex-wrap: wrap;
  }
  .tier-card .tier-name,
  .tier-card .tier-until,
  .tier-card .tier-saving {
    font-size: 0.7rem;
  }
  .tier-card .ticket-badge {
    order: -1;
    flex: 0 0 100%;
  }
  .tier-card .tier-price {
    font-size: 1.3rem;
    margin: 0;
  }
  .tier-card .qty-control {
    margin-top: 0;
    margin-left: auto;
  }
}

/* Landscape phone / small tablet: 2 cols for Friday, 3 for tiers */
@media (min-width: 601px) and (max-width: 800px) {
  .ticket-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .ticket-tiers-row,
  .ticket-all-tiers {
    grid-template-columns: repeat(3, 1fr);
  }
  .tier-card {
    padding: 12px;
  }
  .tier-price {
    font-size: 1.3rem;
  }
}


/* ── Early bird countdown banner ─────────────────────────────────────────── */

.eb-countdown-banner {
  background: #7c1f1f;
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.eb-countdown-text {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.eb-countdown-text strong {
  font-size: 1.15rem;
}
.eb-countdown-sub {
  font-family: var(--sans);
  font-size: 0.75rem;
  opacity: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Post-purchase form ──────────────────────────────────────────────────── */

.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--fg); margin-bottom: 5px; }
.form-row input, .form-row select {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--rule); border-radius: 6px;
  font-size: 0.95rem; font-family: var(--sans);
  background: var(--surface); color: var(--fg);
  outline: none;
}
.form-row input:focus, .form-row select:focus { border-color: var(--ink); }
.form-fieldset {
  border: 1px solid var(--rule); border-radius: 8px;
  padding: 16px 18px; margin-bottom: 18px;
}
.form-fieldset legend {
  font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted); padding: 0 6px;
}
.legend-note { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
.check-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.88rem; color: var(--fg); line-height: 1.4; }
.check-row input[type="checkbox"] { margin-top: 2px; flex: none; width: 16px; height: 16px; }
.form-note { font-size: 0.78rem; color: var(--muted); margin: 16px 0 20px; }
.req { color: var(--oxblood); }
