/* The Yellow Shoe Perspective — palette and type from the Brand Guide, section 7.
   Headlines use Inter at heavier weights (the Brand Guide fallback) until a Tusker Grotesk
   web license is confirmed (Open Items OI-009). */
:root {
  --charcoal: #34373C;   /* Charcoal: dark background for series graphics and the Yellow Shoe art */
  --charcoal-2: #3B3E44;
  --charcoal-3: #45484F;
  --line: rgba(245, 247, 250, 0.14);
  --yellow: #F7C948;     /* Signal Yellow: rules, fills, the shoe detail; never body text on light */
  --yellow-deep: #D9A92A;
  --lace: #E6E9EE;       /* Cloud-tinted secondary text on Charcoal */
  --denim: #102A43;      /* Deep Navy: used as a fill, never as text on Charcoal */
  --denim-2: #486581;    /* Slate */
  --paper: #FFFDF7;      /* Warm White */
  --ink: #102A43;        /* Deep Navy: text on light surfaces */
  --white: #FFFDF7;
  --muted: #C3C8CF;
  --teal: #1F8A8A;

  --f-display: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Source Serif 4", Georgia, serif;
  --f-mono: "Inter", "Helvetica Neue", Arial, sans-serif;

  --r: 14px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* subtle grain, fixed and non-interactive */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow.dark { color: var(--ink); }

/* Wordmark: the two lowercase i's carry the yellow */
.wordmark {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--white);
}
.wordmark { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; position: relative; padding-bottom: 6px; }
.wordmark::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 2px; background: var(--yellow); }

/* Buttons */
.btn {
  --bg: var(--yellow); --fg: var(--ink);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-display); font-weight: 600; font-size: 1rem;
  padding: 0.85em 1.35em;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--bg);
  transition: transform 0.25s var(--ease), background 0.2s, box-shadow 0.25s var(--ease);
  box-shadow: 0 4px 0 0 var(--yellow-deep);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 var(--yellow-deep); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 0 var(--yellow-deep); }
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-ghost { --bg: transparent; --fg: var(--white); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--lace); box-shadow: none; }
.btn-ghost:active { box-shadow: none; }
.btn-dark { --bg: var(--ink); --fg: var(--yellow); box-shadow: 0 4px 0 0 #0A1B2B; }
.btn-dark:hover { box-shadow: 0 6px 0 0 #0A1B2B; }
.btn-dark:active { box-shadow: 0 1px 0 0 #0A1B2B; }
.btn-sm { font-size: 0.9rem; padding: 0.55em 1.05em; box-shadow: 0 3px 0 0 var(--yellow-deep); }
.btn-lg { font-size: 1.15rem; padding: 1em 1.7em; }

.text-btn {
  background: none; border: 0; color: var(--lace);
  font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; padding: 6px 4px;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line);
}
.text-btn:hover { color: var(--yellow); text-decoration-color: currentColor; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; color: var(--white);
  border: 1.5px solid var(--line); cursor: pointer; font-size: 1rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.icon-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.icon-btn:active { transform: scale(0.94); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(52, 55, 60, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 30px); }
.nav > a:not(.btn) {
  font-family: var(--f-display); font-weight: 600; font-size: 0.98rem;
  text-decoration: none; color: var(--lace);
  position: relative;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--white); }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 110px) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -160px;
  background: radial-gradient(closest-side, rgba(247, 201, 72, 0.12), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; margin-bottom: 1.6rem; letter-spacing: -0.03em; }
.hero h1 span { display: block; }
.hero h1 .hl { color: var(--yellow); }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--lace); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

.hero-art { margin: 0; position: relative; }
.hero-art img {
  border-radius: 28px;
  aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: auto;
  transform: rotate(2.2deg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line);
  transition: transform 0.6s var(--ease);
}
.hero-art:hover img { transform: rotate(0deg) scale(1.01); }
.hero-art figcaption {
  position: absolute; left: -28px; bottom: 34px;
  background: var(--paper); color: var(--ink);
  font-size: 0.98rem; line-height: 1.35;
  padding: 14px 18px; border-radius: 12px; max-width: 250px;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5);
  transform: rotate(-2deg);
}
.hero-art figcaption .tag { display: block; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--denim-2); margin-bottom: 4px; }

.reveal { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 0.12s + 0.1s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Section heads */
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 820px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
.section-head h2 em { font-style: normal; color: var(--yellow); }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.section-head.split > p { margin: 0; max-width: 30em; justify-self: end; }


/* Manifesto: long-form reading surface (Warm White, Source Serif 4) */
.manifesto { background: var(--paper); color: var(--ink); padding: clamp(64px, 9vw, 120px) 0; }
.manifesto .eyebrow { color: var(--ink); }
.manifesto .eyebrow::before { background: var(--yellow); height: 3px; }
.manifesto-grid { display: grid; grid-template-columns: 0.62fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.manifesto-head { position: sticky; top: 110px; }
.manifesto-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
.manifesto-sub { font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; color: #486581; margin-top: 0.8rem; }
.manifesto-body { font-family: var(--f-serif); font-size: clamp(1.12rem, 1.4vw, 1.28rem); line-height: 1.7; max-width: 36em; }
.manifesto-body p { margin: 0 0 1.1em; }
.m-lead { font-family: var(--f-display); font-weight: 700; font-size: 1.15em; letter-spacing: -0.01em; }
.m-pull { font-size: 1.3em; line-height: 1.45; padding: 0.2em 0 0.2em 1em; border-left: 3px solid var(--yellow); margin: 1.4em 0 !important; }
.m-list { margin: 0 0 1.2em; padding: 0; list-style: none; display: grid; gap: 0.7em; }
.m-list li { padding-left: 1.4em; position: relative; }
.m-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.7em; height: 2px; background: var(--yellow); }
.m-close { font-family: var(--f-display); font-weight: 800; font-size: 1.35em; letter-spacing: -0.02em; line-height: 1.3; padding-top: 1em; border-top: 2px solid var(--yellow); margin-top: 1.6em !important; }

/* Themes */
.themes { padding: clamp(64px, 9vw, 120px) 0; background: var(--charcoal-2); border-block: 1px solid var(--line); }
.theme-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: t; }
.theme-list li { counter-increment: t; border-top: 2px solid var(--line); padding-top: 18px; }
.theme-list li::before { content: counter(t, decimal-leading-zero); display: block; font-size: 0.75rem; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.8rem; }
.theme-list li.theme-feature { border-top-color: var(--yellow); }
.theme-list h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.6rem; }
.theme-list p { color: var(--lace); font-size: 1rem; margin: 0; }

/* Waffles on Wednesday */
.waffles { padding: clamp(64px, 9vw, 120px) 0 0; }
.waffles-grid { display: grid; grid-template-columns: 1.618fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.waffles-main h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.2rem; }
.where { color: var(--lace); font-size: 1rem; padding: 14px 18px; border-left: 3px solid var(--yellow); background: var(--charcoal-2); border-radius: 0 12px 12px 0; margin-bottom: 1.4rem; }
.where strong { color: var(--white); }
.where a { color: var(--yellow); text-underline-offset: 3px; }
.waffles-lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--white); }
.waffles-main p:not(.eyebrow):not(.waffles-lede) { color: var(--lace); max-width: 36em; }
.waffles-side { display: grid; gap: 18px; }
.waffles-side .note { background: var(--denim); border-radius: 20px; padding: 26px 28px; border-top: 3px solid var(--yellow); }
.waffles-side .note h3 { font-size: 1.15rem; margin-bottom: 0.8rem; color: var(--white); }
.waffles-side .note ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.waffles-side .note li { color: var(--lace); font-size: 1rem; padding-left: 1.2em; position: relative; }
.waffles-side .note li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.6em; height: 2px; background: var(--yellow); }
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1.618 / 1; background: var(--charcoal-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.fine-note { font-size: 0.9rem; color: var(--muted); margin: 0; }

.cal-intro { display: grid; gap: 14px; justify-self: end; max-width: 32em; }
.cal-intro p { margin: 0; }
.subscribe { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.subscribe .btn-sm { box-shadow: none; }
.substack-sub { font-size: 1rem; max-width: 34em; margin: 1rem 0 0; }

/* Calendar */
.calendar-section { padding: clamp(64px, 9vw, 120px) 0; }
.cal-layout { display: grid; grid-template-columns: 1.618fr 1fr; gap: 28px; align-items: start; }
.cal-layout > * { min-width: 0; }
.cal-card {
  background: var(--paper); color: var(--ink);
  border-radius: 22px; padding: clamp(16px, 2.5vw, 28px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.cal-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.cal-toolbar h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; flex: 1; text-align: center; }
.cal-card .icon-btn { color: var(--ink); border-color: rgba(16, 42, 67, 0.18); }
.cal-card .icon-btn:hover { border-color: var(--ink); background: var(--yellow); color: var(--ink); }
.cal-card .text-btn { color: var(--denim); text-decoration-color: rgba(16, 42, 67, 0.3); }
.cal-card .text-btn:hover { color: var(--ink); }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day { min-width: 0; }
.cal-weekdays span { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #486581; text-align: center; padding-bottom: 8px; }
.day {
  aspect-ratio: 1 / 0.92; min-height: 54px;
  border-radius: 12px; border: 1.5px solid transparent;
  background: #EEF1F5;
  font-family: var(--f-display); font-weight: 600; font-size: 0.98rem; color: var(--ink);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  padding: 8px 9px; cursor: pointer; text-align: left;
  transition: transform 0.18s var(--ease), border-color 0.18s, background 0.18s;
}
.day:hover { border-color: var(--ink); transform: translateY(-1px); }
.day.out { background: transparent; color: #9AA5B1; cursor: default; }
.day.out:hover { border-color: transparent; transform: none; }
.day.past { color: #616E7C; }
.day.today { border-color: var(--denim); }
.day.today .num { background: var(--denim); color: var(--white); border-radius: 6px; padding: 0 6px; margin-left: -4px; }
.day.has { background: var(--ink); color: var(--white); }
.day.has.past { background: #5C6068; color: #E6E9EE; }
.day.has:hover { border-color: var(--yellow); }
.day.selected { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(247, 201, 72, 0.45); }
.dots { display: flex; gap: 4px; flex-wrap: wrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.dot.alt { background: var(--lace); }
.day-label { font-family: var(--f-mono); font-size: 0.6rem; font-weight: 400; letter-spacing: 0.04em; line-height: 1.15; color: var(--yellow); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.agenda { background: var(--charcoal-2); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 2.5vw, 28px); }
.agenda-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.agenda-head h3 { font-size: 1.4rem; font-weight: 700; }
.agenda-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-height: 620px; overflow-y: auto; }
.ev {
  display: grid; grid-template-columns: 62px 1fr; gap: 16px;
  padding: 16px; border-radius: 16px;
  background: var(--charcoal); border: 1px solid var(--line);
  animation: rise 0.5s var(--ease) both;
}
.ev-date { text-align: center; border-right: 1px solid var(--line); padding-right: 14px; }
.ev-date .m { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); }
.ev-date .d { font-family: var(--f-display); font-weight: 800; font-size: 2rem; line-height: 1; }
.ev-date .w { font-family: var(--f-mono); font-size: 0.68rem; color: var(--muted); text-transform: uppercase; }
.ev-series { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lace); opacity: 0.8; margin-bottom: 2px; }
.ev h4 { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; margin: 0 0 4px; line-height: 1.2; }
.ev-meta { font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 8px; }
.ev-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ev p { font-size: 0.98rem; color: var(--lace); margin: 0 0 10px; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ev-actions a, .ev-actions button { font-size: 0.74rem; padding: 2px 0; }
.ev-actions a { color: var(--yellow); font-family: var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; text-underline-offset: 4px; }

.empty { text-align: center; padding: 36px 16px; border: 1.5px dashed var(--line); border-radius: 16px; color: var(--muted); }
.empty strong { display: block; font-family: var(--f-display); color: var(--white); font-size: 1.15rem; margin-bottom: 6px; }
.empty a { color: var(--yellow); }

/* Substack */
.substack { background: var(--yellow); color: var(--ink); padding: clamp(56px, 8vw, 100px) 0; position: relative; overflow: hidden; }
.substack-inner { display: grid; grid-template-columns: 1.4fr auto; gap: 32px 48px; align-items: center; position: relative; }
.substack h2 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 800; margin-bottom: 1rem; }
.substack-copy { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 30em; margin: 0; }
.substack-url {
  grid-column: 1 / -1;
  font-size: clamp(0.8rem, 1.5vw, 1rem); letter-spacing: 0.06em;
  border-top: 2px solid rgba(16, 42, 67, 0.85); padding-top: 14px; margin-top: 12px;
  display: flex; justify-content: space-between;
}
.substack-url::after { content: "Every Monday"; text-transform: uppercase; }

/* About */
.about { padding: clamp(64px, 9vw, 120px) 0; }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); }
.about-main h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; margin-bottom: 1.4rem; }
.about-main p { color: var(--lace); max-width: 36em; }
.founder { display: flex; align-items: center; gap: 16px; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.founder-mark { width: 54px; height: 54px; border-radius: 50%; background: var(--denim); color: var(--yellow); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; flex-shrink: 0; border: 2px solid var(--yellow); }
.founder-name { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; margin: 0; }
.founder-role { margin: 0; font-size: 0.98rem; color: var(--muted) !important; }
.about-side { display: grid; gap: 20px; align-content: start; }
.shoes-note { background: var(--denim); border-radius: 20px; padding: 26px 28px; position: relative; overflow: hidden; }
.shoes-note { border-top: 3px solid var(--yellow); }
.shoes-note h3 { font-size: 1.35rem; margin-bottom: 0.7rem; color: var(--yellow); }
.shoes-note p { margin: 0; color: var(--white); position: relative; z-index: 1; max-width: 22em; }
.principles { border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px; }
.principles h3 { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.principles ol { margin: 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 10px; }
.principles li { counter-increment: p; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; display: flex; gap: 14px; align-items: baseline; }
.principles li::before { content: counter(p, decimal-leading-zero); font-family: var(--f-mono); font-size: 0.75rem; color: var(--yellow); font-weight: 400; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; background: #2E3035; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.tagline { color: var(--lace); margin: 0.5rem 0 0; font-size: 1.05rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { font-family: var(--f-display); font-weight: 600; text-decoration: none; color: var(--lace); font-size: 0.98rem; }
.footer-nav a:hover { color: var(--yellow); }
.fine { grid-column: 1 / -1; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; margin: 16px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: 12px;
  font-family: var(--f-display); font-weight: 600; font-size: 0.95rem;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease); z-index: 120;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 960px) {
  .cal-layout { grid-template-columns: 1fr; }
  .agenda-list { max-height: none; }
  .theme-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 440px; margin: 8px auto 0; }
  .hero-art figcaption { left: -8px; }
  .section-head.split { grid-template-columns: 1fr; }
  .section-head.split > p, .cal-intro { justify-self: start; }
  .substack-inner { grid-template-columns: 1fr; }
  .substack-inner .btn { justify-self: start; }
  .about-grid { grid-template-columns: 1fr; }
  .manifesto-grid, .waffles-grid { grid-template-columns: 1fr; }
  .manifesto-head { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav > a:not(.btn) { display: none; }
  .wordmark { font-size: 0.98rem; }
  .hero-actions .btn { white-space: normal; }
  .theme-list { grid-template-columns: 1fr; }
  .day { min-height: 42px; padding: 5px 6px; border-radius: 9px; font-size: 0.85rem; }
  .day-label { display: none; }
  .cal-weekdays, .cal-grid { gap: 4px; }
  .substack-url::after { content: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
