/* =====================================================================
   FOLLOW YOUR ART — single-page
   Warm cream paper, ink text. Kathy's red is the highlight.
   Quiet pastels per section. No boxes.
   Display:  Fraunces (variable, WONK + SOFT axes).
   Body:     Newsreader (optical sizing).
   Mono:     DM Mono (labels & marginalia).
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,400;0,500;1,400&family=Fraunces:ital,opsz,wght,SOFT,WONK@0,9..144,300..900,0..100,0..1;1,9..144,300..900,0..100,0..1&family=Newsreader:ital,opsz,wght@0,6..72,300..800;1,6..72,300..800&display=swap');

:root {
  --paper:        #f4ecdc;
  --paper-2:      #ece2cc;
  --ink:          #211b16;
  --ink-2:        #5a4e44;

  --red:          #d63a26;     /* Kathy's red — the only saturated accent */
  --red-d:        #a82c1d;

  /* per-section pastel tones — used very sparingly, just in the kicker rule */
  --past-butter:  #e3c971;
  --past-blue:    #9fbcc6;
  --past-sage:    #9eb893;
  --past-rose:    #d8a89e;

  --rule:         rgba(33,27,22,0.18);
  --rule-soft:    rgba(33,27,22,0.08);

  --display:      'Fraunces', 'Iowan Old Style', 'Times New Roman', serif;
  --body:         'Newsreader', Georgia, serif;
  --mono:         'DM Mono', 'IBM Plex Mono', ui-monospace, monospace;

  --max:          1100px;
  --reader:       640px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.6;
  font-variation-settings: 'opsz' 19;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* very faint paper grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence baseFrequency='0.92' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(214,58,38,0.4);
  transition: color .15s, text-decoration-color .15s;
}
a:hover { color: var(--red-d); text-decoration-color: var(--red-d); }
::selection { background: var(--red); color: var(--paper); }

/* =====================================================================
   TOP STRIP — just the wordmark, no nav
   ===================================================================== */
.strip {
  padding: 1rem clamp(1.2rem, 3vw, 2rem);
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.wordmark { color: var(--ink); display: inline-flex; align-items: baseline; gap: 0.55rem; flex-wrap: wrap; }
.wordmark .mani {
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 0;
  color: var(--red);
  letter-spacing: 0;
  transform: translateY(2px);
}
.wordmark strong { font-weight: 500; letter-spacing: 0.22em; }
.wordmark .dot { color: var(--red); padding: 0 0.25rem; }

/* =====================================================================
   PAGE
   ===================================================================== */
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 3vw, 2rem) 3rem;
  position: relative;
  z-index: 1;
}

/* small mono captions / meta */
.meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.meta .dot { color: var(--red); padding: 0 0.5rem; }

/* kicker — coloured rule + label, pastel rule per programme */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--red);
}
.programme[data-tone="butter"] .kicker::before { background: var(--past-butter); }
.programme[data-tone="blue"]   .kicker::before { background: var(--past-blue); }
.programme[data-tone="sage"]   .kicker::before { background: var(--past-sage); }
.programme[data-tone="rose"]   .kicker::before { background: var(--past-rose); }

/* horizontal hairline — section divider */
.rule {
  border: 0;
  height: 1px;
  margin: clamp(2rem, 4vw, 3rem) 0;
  background: var(--rule);
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { padding-block: clamp(1rem, 3vw, 2rem); }
.hero-title {
  font-family: var(--display);
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'WONK' 1, 'wght' 800;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 1.4rem;
}
.hero-title em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1, 'wght' 500;
  color: var(--ink-2);
  display: inline-block;
  transform: rotate(-3deg);
}
.hero-title .hl { color: var(--red); }

.lede {
  font-family: var(--body);
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  max-width: 50ch;
  font-variation-settings: 'opsz' 28;
  margin-top: 1.4rem;
}
.lede em { font-style: italic; color: var(--ink-2); }

/* =====================================================================
   PROGRAMME SECTIONS — no boxes, hairlines and air
   ===================================================================== */
.programme { padding: clamp(1.4rem, 3vw, 2.4rem) 0; }
.programme h2 {
  font-family: var(--display);
  font-variation-settings: 'opsz' 96, 'SOFT' 30, 'WONK' 1, 'wght' 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.programme .tag {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: 'opsz' 36, 'SOFT' 80, 'wght' 400;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.3;
  color: var(--ink-2);
  margin-top: 0.7rem;
  max-width: 44ch;
}

.programme-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}
@media (min-width: 820px) {
  .programme-body {
    grid-template-columns: minmax(0, var(--reader)) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
  }
  .programme-body.single { grid-template-columns: minmax(0, var(--reader)); }
}

.prose p {
  margin-bottom: 1.1rem;
  font-variation-settings: 'opsz' 24;
}
.prose p.first::first-letter {
  font-family: var(--display);
  font-variation-settings: 'opsz' 144, 'WONK' 1, 'wght' 700;
  font-size: 3.4em;
  line-height: 0.85;
  float: left;
  margin: 0.04em 0.1em 0 -2px;
  color: var(--red);
}

.prose h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin: 2rem 0 0.7rem;
}

/* house rules — 2-column on wider screens */
.rules {
  list-style: none;
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.4rem 1.6rem;
}
.rules li {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.rules li::before {
  content: '☞';
  color: var(--red);
  font-size: 1rem;
  line-height: 1;
}
.rules li:last-child { border-bottom: 0; }
.rules strong { color: var(--ink); font-weight: 700; }

/* pull quote */
.pullquote {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: 'opsz' 60, 'SOFT' 60, 'wght' 400;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.25;
  color: var(--ink);
  border-left: 1px solid var(--red);
  padding: 0.3rem 0 0.3rem 1.4rem;
  margin: 1.8rem 0;
  max-width: 36ch;
}

/* =====================================================================
   PARTICULARS — no box, just a label and a mono dl
   ===================================================================== */
.particulars {
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
}
@media (min-width: 820px) {
  .particulars { border-top: 0; padding-top: 0.3rem; }
}
.particulars h3 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.particulars dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1.2rem;
  row-gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.45;
}
.particulars dt {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  font-weight: 500;
}
.particulars dd { color: var(--ink); }
.particulars dd em { font-style: italic; color: var(--ink-2); }

/* contact-section "panel" — a floating quote, not a particulars */
.particulars.panel { padding-top: 0.3rem; }
.particulars.panel .big-quote {
  font-family: var(--display);
  font-variation-settings: 'opsz' 96, 'SOFT' 70, 'WONK' 1;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.particulars.panel .big-quote em { color: var(--red); font-style: italic; }
.particulars.panel .by {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 1.2rem;
  display: block;
}

/* =====================================================================
   FORM — borderless, hairline underlines only
   ===================================================================== */
form { display: flex; flex-direction: column; gap: 0.3rem; }
label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 1.2rem;
}
input[type="text"], input[type="email"], textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 0.6rem 0;
  font: inherit;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  font-variation-settings: 'opsz' 22;
  resize: vertical;
  transition: border-color .15s;
}
textarea { min-height: 130px; }
input:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}
::placeholder { color: var(--ink-2); opacity: 0.55; }

.hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* flash messages — coloured rule + tinted text, no box */
.flash {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 0.7rem 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  margin-bottom: 1.4rem;
}
.flash.ok    { color: var(--red-d); }
.flash.error { color: var(--red); }

/* button — editorial text + hairline */
.btn {
  display: inline-block;
  background: transparent;
  color: var(--red);
  border: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.55rem 0 0.45rem;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  margin-top: 1.6rem;
  align-self: flex-start;
  transition: color .15s, letter-spacing .15s;
}
.btn::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--red);
  transition: background .15s;
}
.btn:hover { color: var(--ink); letter-spacing: 0.26em; }
.btn:hover::after { background: var(--ink); }
.btn:active { transform: translateY(1px); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.foot {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding: 1.4rem clamp(1.2rem, 3vw, 2rem) 2.5rem;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.foot .corner { color: var(--red); }

/* =====================================================================
   STAGGERED PAGE-LOAD ANIMATION
   ===================================================================== */
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.rise { animation: rise 0.7s cubic-bezier(0.18, 0.7, 0.2, 1) both; }
.r-1  { animation-delay: 0.05s; }
.r-2  { animation-delay: 0.15s; }
.r-3  { animation-delay: 0.25s; }
.r-4  { animation-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 640px) {
  .hero-title em { transform: rotate(-2deg); }
}
