:root {
  --cream: #f5ecd9;
  --cream-deep: #ead9bb;
  --paper: #fff9ec;
  --paper-warm: #fcf1dc;
  --ink: #2a1e15;
  --ink-soft: #5f4f41;
  --ink-mute: #a08b73;
  --coral: #d4673a;
  --coral-deep: #b84f24;
  --coral-soft: #f2ae8b;
  --coral-wash: #f8dcc8;
  --sage: #8ba17c;
  --sunset: #e8b174;
  --line: #dcc9a8;
  --line-soft: #e9dcc0;
  --shadow-sm: 0 2px 6px rgba(75, 46, 22, 0.06);
  --shadow: 0 10px 30px rgba(75, 46, 22, 0.10), 0 2px 6px rgba(75, 46, 22, 0.04);
  --shadow-lg: 0 24px 60px rgba(75, 46, 22, 0.14), 0 4px 12px rgba(75, 46, 22, 0.05);
  --radius: 14px;
  --radius-sm: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(232, 177, 116, 0.18), transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(212, 103, 58, 0.08), transparent 45%),
    radial-gradient(circle at 50% 95%, rgba(139, 161, 124, 0.1), transparent 40%);
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.6  0 0 0 0 0.45  0 0 0 0 0.3  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* floating decorations */
.float-deco {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  will-change: transform;
}
.float-deco.c1 { top: 12%; left: 4%; width: 64px; animation: drift1 16s ease-in-out infinite; }
.float-deco.c2 { top: 68%; right: 5%; width: 54px; animation: drift2 20s ease-in-out infinite; }
.float-deco.c3 { top: 36%; right: 8%; width: 42px; animation: drift3 22s ease-in-out infinite; }
.float-deco.c4 { top: 82%; left: 7%; width: 50px; animation: drift1 18s ease-in-out infinite reverse; }
@keyframes drift1 {
  0%, 100% { transform: translate(0,0) rotate(-6deg); }
  50% { transform: translate(18px,-22px) rotate(4deg); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0,0) rotate(4deg); }
  50% { transform: translate(-16px,-18px) rotate(-8deg); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(12px,14px) rotate(10deg); }
}

header, main, footer, section { position: relative; z-index: 3; }

a { color: var(--coral-deep); text-decoration-color: var(--coral-soft); text-underline-offset: 3px; }
a:hover { color: var(--coral); }

/* ========== NAV ========== */
header.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 236, 217, 0.85);
  backdrop-filter: saturate(1.3) blur(10px);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 28px;
}
.brand-mini {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-mini .cc { color: var(--coral-deep); }
.brand-mini .tilde { color: var(--ink-mute); margin: 0 2px; }
.brand-mini:hover .cc { color: var(--coral); }
.brand-mini .caret {
  display: inline-block;
  width: 6px;
  height: 14px;
  background: var(--coral);
  margin-left: 4px;
  border-radius: 1px;
  animation: blink 1.1s steps(2,end) infinite;
}

nav.links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}
nav.links a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.15s, color 0.15s;
}
nav.links a:hover { background: var(--paper); color: var(--ink); }
nav.links a.active { color: var(--ink); background: var(--paper); }
nav.links a.cta {
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  margin-left: 8px;
}
nav.links a.cta:hover { background: var(--coral-deep); color: white; }

/* hamburger (mobile only) */
.hamburger {
  display: none;
  width: 44px;
  height: 40px;
  padding: 4px 2px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  margin-left: auto;
  transition: background-color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.hamburger:hover, .hamburger:focus-visible { background: var(--paper); outline: none; }
.hamburger svg { width: 100%; height: 100%; overflow: hidden; display: block; }
/* outer <g> carries the drift; inner <path> carries the open-state transform */
.hamburger .drift { transform-box: view-box; }
.hamburger .d1 { animation: wave-drift 3.4s linear infinite; }
.hamburger .d2 { animation: wave-drift 4.2s linear infinite -1.1s; }
.hamburger .d3 { animation: wave-drift 3.8s linear infinite -2s; }
@keyframes wave-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-16px); }
}
.hamburger .wave {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: opacity 0.22s ease;
}
.hamburger .xicon {
  opacity: 0;
  transform: scale(0.5) rotate(-30deg);
  transform-origin: 20px 16px;
  transform-box: view-box;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(.3,1.4,.5,1);
}
.hamburger .xicon line {
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}
.hamburger[aria-expanded="true"] .drift { animation-play-state: paused; opacity: 0; }
.hamburger[aria-expanded="true"] .wave { opacity: 0; }
.hamburger[aria-expanded="true"] .xicon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

@media (prefers-reduced-motion: reduce) {
  .hamburger .drift { animation: none !important; }
}

@media (max-width: 720px) {
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .nav-inner { padding: 12px 18px; gap: 10px; position: relative; }

  nav.links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    padding: 10px 16px 16px;
    gap: 2px;
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    margin-left: 0;
  }
  header.nav[data-menu="open"] nav.links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  nav.links a {
    padding: 12px 14px;
    font-size: 15.5px;
    border-radius: 10px;
  }
  nav.links a.cta {
    margin: 8px 0 0;
    text-align: center;
    padding: 14px;
  }
}

/* ========== SHARED ========== */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
section { padding: 72px 0; }
@media (max-width: 720px) { section { padding: 48px 0; } .wrap { padding: 0 18px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--coral-deep);
  text-transform: lowercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--coral);
}

h2.sechead {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}
h2.sechead .accent {
  position: relative;
  white-space: nowrap;
}
h2.sechead .accent svg {
  position: absolute;
  left: -4%;
  bottom: -0.15em;
  width: 108%;
  height: 0.35em;
  pointer-events: none;
  overflow: visible;
}
h2.sechead .accent svg path {
  stroke: var(--coral);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}
h2.sechead.revealed .accent svg path {
  animation: drawLine 1.1s cubic-bezier(.65,.05,.36,1) forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.sectag { color: var(--ink-soft); font-size: 16px; max-width: 680px; margin-bottom: 36px; }

@keyframes blink { 50% { opacity: 0; } }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  box-shadow: var(--shadow-sm);
}
.btn .arr { transition: transform 0.2s ease; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn.primary:hover { background: var(--coral-deep); border-color: var(--coral-deep); color: white; }
.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn.ghost:hover { border-color: var(--ink); }

/* ========== HERO ========== */
.hero { padding: 64px 0 80px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-title {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 10px 0 24px;
  color: var(--ink);
}
.hero-title .claude { color: var(--coral-deep); }
.hero-title .wl { display: inline-block; position: relative; }
.hero-title .wl-underline {
  position: absolute;
  left: -2%;
  bottom: -0.05em;
  width: 104%;
  height: 0.3em;
  pointer-events: none;
  overflow: visible;
}
.hero-title .wl-underline path {
  stroke: var(--coral);
  stroke-width: 4.5;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: drawLine 1.4s cubic-bezier(.65,.05,.36,1) 1.6s forwards;
}
.hero-title .cursor {
  display: inline-block;
  width: 0.5em;
  height: 0.9em;
  background: var(--coral);
  vertical-align: -0.05em;
  margin-left: 4px;
  animation: blink 1.1s steps(2,end) infinite;
  border-radius: 2px;
}

.hero-lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-lede .hl { color: var(--coral-deep); font-weight: 600; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-soft);
}
.hero-meta b { color: var(--ink); font-weight: 600; }
.hero-meta .dot { color: var(--coral); }

/* ========== HERO COLLAGE ========== */
.collage {
  position: relative;
  height: 460px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
@media (max-width: 960px) { .collage { height: 380px; } }
@media (max-width: 560px) { .collage { height: 320px; max-width: 360px; } }
.photo {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--paper);
  border: 4px solid var(--paper);
  transition: transform 0.5s cubic-bezier(.2,.9,.25,1.1);
}
.photo img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%);
}
.photo img[src*="m2-a"] { filter: grayscale(100%) brightness(1.15) contrast(1.05); }
.photo::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  font-family: 'Caveat', cursive;
  font-size: 16px;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  font-weight: 600;
}
.photo.p1 { top: 0; left: 0; width: 62%; height: 58%; transform: rotate(-3deg); z-index: 2; }
.photo.p2 { top: 14%; right: 0; width: 46%; height: 45%; transform: rotate(4deg); z-index: 1; }
.photo.p3 { bottom: 0; left: 12%; width: 58%; height: 52%; transform: rotate(2deg); z-index: 3; }
.photo.p4 { bottom: 8%; right: 2%; width: 40%; height: 40%; transform: rotate(-5deg); z-index: 2; }
.photo.p1:hover { transform: rotate(-1deg) translateY(-4px) scale(1.02); z-index: 5; }
.photo.p2:hover { transform: rotate(2deg) translateY(-4px) scale(1.02); z-index: 5; }
.photo.p3:hover { transform: rotate(0deg) translateY(-4px) scale(1.02); z-index: 5; }
.photo.p4:hover { transform: rotate(-2deg) translateY(-4px) scale(1.02); z-index: 5; }
.photo::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 70px;
  height: 22px;
  background: rgba(232, 177, 116, 0.55);
  border-left: 1px dashed rgba(184, 79, 36, 0.25);
  border-right: 1px dashed rgba(184, 79, 36, 0.25);
  box-shadow: 0 2px 4px rgba(75, 46, 22, 0.12);
  z-index: 5;
}

/* ========== WHAT-IS-IT CARDS ========== */
.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .what-grid { grid-template-columns: 1fr; } }
.what-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.what-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.what-card .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coral-wash);
  border-radius: 12px;
  margin-bottom: 16px;
  color: var(--coral-deep);
}
.what-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.what-card p { color: var(--ink-soft); font-size: 15px; }

/* ========== NEXT EVENT ========== */
.next-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) { .next-card { padding: 24px; } }
.next-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 880px) { .next-row { grid-template-columns: 1fr; gap: 24px; } }
.date-block {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.date-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 76px;
  background: var(--cream-deep);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  flex-shrink: 0;
}
.date-chip .m { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--coral-deep); font-weight: 700; }
.date-chip .d { font-size: 30px; font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.date-chip .y { font-size: 11px; color: var(--ink-mute); margin-top: 2px; }
.date-meta { color: var(--ink-soft); font-size: 14px; }
.date-meta .day { color: var(--ink); font-weight: 600; display: block; font-size: 16px; }

.next-title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 16px 0 10px; }
.next-theme {
  color: var(--coral-deep);
  font-family: 'Caveat', cursive;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}
.next-body { color: var(--ink-soft); margin-bottom: 18px; font-size: 15px; }
.next-body p + p { margin-top: 10px; }

.agenda-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin: 24px 0 10px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.agenda-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 5px 0;
  color: var(--ink-soft);
  font-size: 14px;
}
.agenda-row time { color: var(--coral-deep); font-weight: 600; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.agenda-row .note { color: var(--ink-mute); font-size: 13px; }

.venue-box {
  margin-top: 20px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: flex-start;
}
.venue-box .pin {
  width: 38px; height: 38px;
  background: var(--coral-wash);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral-deep);
  flex-shrink: 0;
}
.venue-box .vname { font-weight: 700; color: var(--ink); font-size: 15px; }
.venue-box .vaddr { color: var(--ink-soft); font-size: 13px; margin-top: 1px; }
.venue-box a { font-size: 13px; }

.luma-wrap {
  background: var(--paper-warm);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 8px;
  position: sticky;
  top: 90px;
}
.luma-wrap iframe {
  width: 100%;
  height: 720px;
  border: none;
  border-radius: 8px;
  background: transparent;
  display: block;
}
@media (max-width: 880px) {
  .luma-wrap { position: static; }
  .luma-wrap iframe { height: 680px; }
}

/* ========== PAST EVENTS ========== */
.past-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 960px) { .past-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .past-grid { grid-template-columns: 1fr; } }
.past-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.past-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.past-card .cover {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--coral-wash), var(--sunset));
  position: relative;
  overflow: hidden;
}
.past-card .cover img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.5s ease, filter 0.4s ease;
}
.past-card:hover .cover img { transform: scale(1.04); }
/* m2-a is underexposed — lift it a touch so it reads at a glance */
.past-card .cover img[src*="m2-a"],
.gallery .g-item img[src*="m2-a"] {
  filter: grayscale(100%) brightness(1.15) contrast(1.05);
}
.past-card .cover .chip {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.past-card .cover .attend {
  position: absolute; bottom: 12px; right: 12px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}
.past-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.past-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.past-card .theme { color: var(--coral-deep); font-family: 'Caveat', cursive; font-size: 18px; margin-bottom: 12px; }
.past-card p { color: var(--ink-soft); font-size: 14px; flex: 1; }
.past-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--coral-deep);
  text-decoration: none;
}
.past-card .more:hover { color: var(--coral); }

/* ========== QUOTES ========== */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.quote::before {
  content: '\201C';
  position: absolute;
  top: 2px;
  left: 16px;
  font-size: 72px;
  color: var(--coral-soft);
  font-family: Georgia, serif;
  line-height: 1;
}
.quote blockquote {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.quote .who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.quote .avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral-soft), var(--sunset));
  color: var(--coral-deep);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.quote .name { color: var(--ink); font-weight: 600; }
.quote .role { color: var(--ink-mute); }

/* ========== GALLERY ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery .g-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  transform: rotate(var(--r, 0deg));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery .g-item:nth-child(1) { --r: -1.5deg; }
.gallery .g-item:nth-child(2) { --r: 1deg; }
.gallery .g-item:nth-child(3) { --r: -0.8deg; }
.gallery .g-item:nth-child(4) { --r: 1.5deg; }
.gallery .g-item:hover { transform: rotate(0deg) translateY(-3px) scale(1.02); box-shadow: var(--shadow); z-index: 2; }
.gallery .g-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

/* ========== FORMS ========== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 880px) { .form-grid { grid-template-columns: 1fr; } }
.form-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.form-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.form-card .intro {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.form-card .intro strong { color: var(--ink); }
form .field { margin-bottom: 16px; }
form label {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
form label .opt { color: var(--ink-mute); font-weight: 400; font-size: 12px; }
form input, form textarea, form select {
  width: 100%;
  padding: 11px 14px;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
form input::placeholder, form textarea::placeholder { color: var(--ink-mute); }
form input:focus, form textarea:focus, form select:focus {
  outline: none;
  background: white;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(212, 103, 58, 0.15);
}
form textarea { resize: vertical; min-height: 80px; font-family: inherit; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s;
  margin-top: 6px;
}
form button[type="submit"]:hover { background: var(--coral-deep); transform: translateY(-1px); }
form button[type="submit"]:disabled { opacity: 0.6; cursor: wait; transform: none; }
form .note { color: var(--ink-mute); font-size: 12px; margin-top: 10px; }
form label .req { color: var(--coral-deep); font-weight: 700; }

/* radio / checkbox groups */
.opt-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.opt-group label.opt-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 6px 4px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0;
  transition: background-color 0.12s;
}
.opt-group label.opt-row:hover { background: rgba(212,103,58,0.06); }
.opt-group label.opt-row input[type="radio"],
.opt-group label.opt-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0 0;
  padding: 0;
  accent-color: var(--coral);
  flex-shrink: 0;
  cursor: pointer;
}
.opt-group label.opt-row span { line-height: 1.4; }
.opt-group label.opt-row:has(input:checked) {
  color: var(--coral-deep);
  font-weight: 500;
}
.form-success {
  background: rgba(139,161,124,0.15);
  border: 1px solid var(--sage);
  border-radius: 12px;
  padding: 20px 22px;
  color: var(--ink);
  text-align: center;
}
.form-success h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.form-success p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* Google Form embed */
.gform-wrap {
  margin: 0 -8px;
}
.gform-wrap iframe {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: var(--paper-warm);
}
.gform-fallback {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--ink-mute);
  text-align: center;
}

/* ========== ABOUT / STATS ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }
.about-body p { color: var(--ink-soft); font-size: 16px; margin-bottom: 12px; }
.about-body p strong { color: var(--ink); }
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stat {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px;
  font-weight: 800;
  color: var(--coral-deep);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat .lbl { color: var(--ink-soft); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; font-weight: 500; }

/* ========== PAGE HERO (non-home pages) ========== */
.page-hero {
  padding: 64px 0 32px;
  position: relative;
}
.page-hero h1 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 6px 0 18px;
}
.page-hero h1 .hl { color: var(--coral-deep); }
.page-hero .lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 26px;
  line-height: 1.55;
}

/* ========== BULLETS / PERKS ========== */
.perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.perk {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.perk .picon {
  width: 36px; height: 36px;
  background: var(--coral-wash);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral-deep);
  margin-bottom: 12px;
}
.perk h4 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.perk p { color: var(--ink-soft); font-size: 13.5px; }

/* single form centered */
.form-single {
  max-width: 620px;
  margin: 0 auto;
}

/* ========== FOOTER ========== */
footer.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 36px 0 28px;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
}
.foot-row .brand-mini { font-size: 14px; }
.foot-row .spacer { flex: 1; }
.foot-row .made { color: var(--ink-mute); font-family: 'Caveat', cursive; font-size: 15px; }
.foot-row a { color: var(--ink-soft); text-decoration: none; }
.foot-row a:hover { color: var(--coral-deep); }

/* ========== REVEAL ANIMATIONS ========== */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.25,1);
}
html.js .reveal.in { opacity: 1; transform: translateY(0); }
html.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.8,.25,1);
}
html.js .reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 50;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast .ok { color: var(--sage); margin-right: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .float-deco { display: none; }
}
