/* The Boltwood Project — one stylesheet for every page.
   The one motif is the rising sun from the logo: a half-disc. It masks photographs,
   shapes the buttons, marks list items and draws the horizon bands. */

:root {
  /* Palette from theboltwoodproject.org: violet, deep plum, lavender and sunshine yellow.
     The older token names (forest, river, sage...) are kept so every rule still applies. */
  --ground: #faf8fe;
  --paper: #ffffff;
  --ink: #292234;
  --ink-soft: #655d70;
  --forest: #6335ad;
  --forest-deep: #291644;
  --river: #291644;
  --sun: #ffe34f;
  --sun-soft: #fff3a6;
  --sky: #ece5f8;
  --sage: #fffbe6;
  --tone: #f2eef9;
  --danger: #b0233a;

  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.4vw, 4.25rem);
  --step-display: clamp(3.25rem, 1rem + 7.6vw, 8.5rem);

  --margin: clamp(16px, 3vw, 40px);
  --max: 1360px;
  --gap-section: clamp(96px, 12vw, 200px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --text-scale: 1;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: calc(100% * var(--text-scale)); scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--sun); }
p { margin: 0 0 1em; max-width: 64ch; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
h3 { letter-spacing: -0.02em; line-height: 1.1; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.forest :focus-visible, .river :focus-visible { outline-color: var(--sun); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--sun); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 500; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--margin) * 2); margin: 0 auto; padding: 0 var(--margin); }
.section { padding: var(--gap-section) 0; }
.section.tight { padding-top: 0; }
.forest { background: var(--forest); color: var(--ground); }
.river { background: var(--river); color: var(--ground); }
.sun-field { background: var(--sun); color: var(--ink); }
.sky-field { background: var(--sky); }
.sage-field { background: var(--sage); }
.tone-field { background: var(--tone); }
.lead { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.015em; max-width: 34ch; }
.head { font-size: var(--step-head); }
.display { font-size: var(--step-display); letter-spacing: -0.05em; line-height: 0.92; }
.small { font-size: var(--step-small); }
.muted { color: var(--ink-soft); }
.forest .muted, .river .muted { color: #ddd1ef; }

/* ---------- Buttons: the motif's round top, a full pill ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--ground);
  font: 500 var(--step-body)/1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--forest); color: var(--ground); text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn.sun { background: var(--sun); color: var(--ink); }
.btn.sun:hover { background: var(--sun-soft); }
.btn.light { background: var(--ground); color: var(--ink); }
.btn.light:hover { background: var(--sun); }
.btn.ghost { background: transparent; color: inherit; border: 2px solid currentColor; }
.btn.ghost:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: var(--step-small); }
.btn.danger { background: var(--danger); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.arrow-link { font-weight: 500; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.arrow-link::after { content: "→"; transition: transform .25s var(--ease-out); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- The motif ---------- */
.arch { border-radius: 999px 999px 0 0; overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
/* The group photo is always shown whole, at its own 16:9 shape, so nobody at the edges is cut off. */
.group-photo { aspect-ratio: 16 / 9 !important; border-radius: 28px; overflow: hidden; }
.group-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50% !important; }
.sun-dot { display: inline-block; width: 0.9em; height: 0.45em; border-radius: 0.45em 0.45em 0 0; background: var(--sun); flex: none; }
.sun-list { list-style: none; padding: 0; margin: 0; }
.sun-list li { display: flex; gap: 14px; align-items: baseline; margin-bottom: 0.7em; max-width: 60ch; }
.sun-list li::before { content: ""; width: 18px; height: 9px; border-radius: 9px 9px 0 0; background: var(--forest); flex: none; transform: translateY(-0.1em); }
.forest .sun-list li::before, .river .sun-list li::before { background: var(--sun); }
.sun-field .sun-list li::before { background: var(--ink); }

/* ---------- Header ---------- */
/* The header stays at the top while the page scrolls, so every page (and the dashboard) is one tap away. */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ground); transition: box-shadow .25s ease; }
.site-header.stuck { box-shadow: 0 1px 0 rgba(41, 34, 52, .08), 0 8px 24px rgba(41, 34, 52, .08); /* taste-skill-ignore: separates the pinned header from content */ }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; font-size: 1.1875rem; letter-spacing: -0.02em; white-space: nowrap; }
.wordmark img { width: auto; height: 64px; flex: none; margin: 6px 0; }
@media (max-width: 600px) { .wordmark img { height: 50px; } }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); }
.nav a { text-decoration: none; font-size: 1rem; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 0 20px; min-height: 42px; font-size: 1rem; }
.nav .btn::after { display: none; }
.menu-toggle { display: none; }
.header-on-dark { background: var(--forest); color: var(--ground); }
.header-on-dark .nav .btn { background: var(--sun); color: var(--ink); }

@media (max-width: 1180px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px;
    border: 0; border-radius: 999px; background: var(--ink); color: var(--ground);
    font: 500 1rem var(--font); cursor: pointer;
  }
  .header-on-dark .menu-toggle { background: var(--sun); color: var(--ink); }
  .nav { display: none; position: absolute; left: var(--margin); right: var(--margin); top: 72px; max-height: calc(100dvh - 88px); overflow-y: auto; overscroll-behavior: contain; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: var(--paper); color: var(--ink); border-radius: 20px; box-shadow: 0 18px 50px rgba(20, 40, 30, .22); /* taste-skill-ignore: floating menu */ }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.125rem; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { background: var(--tone); border-radius: 12px; }
  .nav .btn { margin-top: 8px; background: var(--sun); color: var(--ink); }
}

/* ---------- Home hero: the folder stack under a rising sun ---------- */
.hero { position: relative; background: var(--forest); color: var(--ground); overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; }
.hero-copy { position: relative; z-index: 2; text-align: center; padding: clamp(28px, 6vh, 72px) var(--margin) 0; }
.hero-copy h1 { font-size: clamp(3.1rem, 1rem + 7.4vw, 8.75rem); letter-spacing: -0.055em; line-height: 0.9; }
.hero-copy p { margin: 28px auto 0; max-width: 46ch; font-size: var(--step-lead); line-height: 1.35; color: #e6ece8; }
.hero-sun {
  position: absolute; z-index: 1; left: 50%; bottom: 0;
  width: min(94vw, 1180px); aspect-ratio: 1; border-radius: 50%; background: var(--sun);
  transform: translate(-50%, 58%);
  animation: sunrise 1.6s var(--ease-out) both .15s;
}
@keyframes sunrise { from { transform: translate(-50%, 78%); } to { transform: translate(-50%, 58%); } }

.folders { position: relative; z-index: 3; margin-top: auto; padding-top: clamp(40px, 7vh, 80px); }
.folder { position: relative; width: 88%; margin: 0 auto; border-radius: 0 0 0 0; }
.folder + .folder { margin-top: -6px; }
.folder > a, .folder > .folder-tab { display: block; text-decoration: none; }
.folder-tab {
  position: relative; width: max-content; min-width: 220px; padding: 14px 34px 10px; font-size: 1.125rem; font-weight: 500;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
  margin-left: var(--tab-x, 6%);
}
.folder-body { height: 26px; }
.folder:not(.front) > a { transition: transform .35s var(--ease-out); }
.folder:not(.front) > a:hover { transform: translateY(-8px); }
.folder:not(.front) > a:hover .folder-tab { text-decoration: underline; text-decoration-thickness: 2px; }
.f-sun .folder-tab, .f-sun .folder-body { background: var(--sun); color: var(--ink); }
.f-sky .folder-tab, .f-sky .folder-body { background: var(--sky); color: var(--ink); }
.f-sage .folder-tab, .f-sage .folder-body { background: var(--sage); color: var(--ink); }
.f-paper .folder-tab, .f-paper .folder-body { background: var(--paper); color: var(--ink); }
.folder.front .folder-tab, .folder.front .folder-body { background: var(--ground); color: var(--ink); }
.folder.front { width: 100%; }
.folder.front .folder-body { height: auto; padding: clamp(28px, 4vw, 48px) var(--margin) clamp(36px, 5vw, 56px); }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); max-width: var(--max); margin: 0 auto; }
.door {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 200px;
  padding: clamp(24px, 3vw, 40px); text-decoration: none; border-radius: 28px;
  transition: transform .35s var(--ease-out), background-color .25s ease;
}
.door:hover { transform: translateY(-4px); text-decoration: none; }
.door h2 { font-size: clamp(1.75rem, 1rem + 2.2vw, 3rem); }
.door p { margin: 0; max-width: 40ch; }
.door .arrow-link { font-size: var(--step-lead); }
.door.d-sun { background: var(--sun); }
.door.d-sun:hover { background: var(--sun-soft); }
.door.d-forest { background: var(--forest); color: var(--ground); }
.door.d-forest:hover { background: var(--forest-deep); }

@media (max-width: 760px) {
  .hero-copy { padding-top: 48px; }
  .hero-copy h1 { font-size: 15vw; }
  .hero-copy p { font-size: 1.0625rem; }
  .folder { width: 100%; }
  .folder-tab { min-width: 0; padding: 10px 22px 8px; font-size: 0.9375rem; }
  .folder-body { height: 20px; }
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 0; }
  .hero-sun { width: 150vw; transform: translate(-50%, 62%); animation: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 120px) 0 0; }
.page-hero .grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero h1 { font-size: var(--step-display); letter-spacing: -0.05em; line-height: 0.92; }
.page-hero .intro { margin-top: 32px; font-size: var(--step-lead); line-height: 1.35; max-width: 36ch; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.page-hero .arch { aspect-ratio: 4 / 4.4; width: 100%; }
.page-hero .arch img { animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateY(-1.5%); } }
.page-hero .horizon { height: clamp(40px, 6vw, 88px); }
@media (max-width: 860px) {
  .page-hero .grid { grid-template-columns: 1fr; }
  .page-hero .arch { aspect-ratio: 1 / 0.82; max-width: 520px; }
}

/* ---------- Two-column layouts ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.split > .left { grid-column: 1 / span 5; }
.split > .right { grid-column: 7 / span 6; }
.split > .left-wide { grid-column: 1 / span 7; }
.split > .right-narrow { grid-column: 9 / span 4; }
@media (max-width: 860px) {
  .split > * { grid-column: 1 / -1 !important; }
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.section-head h2 { font-size: var(--step-head); max-width: 16ch; }
.section-head p { margin: 0; max-width: 44ch; }

/* ---------- About panel (home) ---------- */
.inset-panel { margin: 0 clamp(10px, 1.4vw, 20px); border-radius: 0; background: var(--river); color: var(--ground); overflow: hidden; position: relative; }
.inset-panel .inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px) 0; min-height: 100svh; }
.inset-panel h2 { font-size: clamp(2.5rem, 1rem + 3.6vw, 4.25rem); max-width: 16ch; }
.inset-panel .portrait { margin-top: clamp(40px, 6vw, 80px); width: min(100%, 640px); aspect-ratio: 1.6 / 1; align-self: end; }
.inset-panel .portrait img { object-position: 50% 30%; }
.inset-panel .blocks { padding-top: 8px; display: flex; flex-direction: column; gap: 48px; padding-bottom: clamp(40px, 5vw, 72px); }
.inset-panel h3 { font-size: 1.5rem; margin-bottom: 14px; }
.inset-panel p { color: #ece5f8; }
.inset-panel .left { display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 860px) {
  .inset-panel .inner { grid-template-columns: 1fr; min-height: 0; }
  .inset-panel .portrait { order: 3; margin: 0 auto; width: 92%; }
  .inset-panel .left { display: contents; }
}

/* ---------- Week dial (the live thing) ---------- */
.week { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.dial { position: relative; width: 100%; max-width: 640px; }
.dial svg { width: 100%; height: auto; overflow: visible; display: block; }
.dial .day-btn {
  position: absolute; transform: translate(-50%, -50%); min-width: 54px; min-height: 54px; padding: 0 10px;
  border-radius: 999px; border: 0; background: var(--paper); color: var(--ink); font: 500 1rem var(--font); cursor: pointer;
  transition: background-color .2s ease, transform .3s var(--ease-out);
}
.dial .day-btn:hover { transform: translate(-50%, -50%) scale(1.06); }
.dial .day-btn[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.dial .day-btn.empty { color: var(--ink-soft); }
.dial-sun { transition: cx .7s var(--ease-out), cy .7s var(--ease-out); }
.dial-caption { text-align: center; margin-top: 8px; font-size: var(--step-lead); }
.today-list { list-style: none; margin: 0; padding: 0; }
.today-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 4px 14px; align-items: baseline; padding: 18px 0; }
.today-list .mark { width: 26px; height: 13px; border-radius: 13px 13px 0 0; background: var(--sun); align-self: center; }
.today-list .name { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; }
.today-list .when { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.today-list .desc { grid-column: 2 / -1; color: var(--ink-soft); font-size: 1.0625rem; max-width: 52ch; }
.today-list .seminar .mark { background: var(--forest); }
@media (max-width: 860px) { .week { grid-template-columns: 1fr; } }

/* ---------- Many-into-one diagram ---------- */
.flow svg { width: 100%; height: auto; display: block; margin: clamp(32px, 4vw, 56px) 0 28px; }
.flow .flow-v { display: none; }
.flow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.flow-steps h3 { font-size: 1.5rem; margin-bottom: 10px; }
.flow-steps p { margin: 0; }
@media (max-width: 760px) {
  .flow .flow-h { display: none; }
  .flow .flow-body { display: grid; grid-template-columns: 44% 1fr; gap: 20px; align-items: stretch; }
  .flow .flow-v { display: block; margin: 0; }
  .flow-steps { grid-template-columns: 1fr; align-content: space-between; }
}

/* ---------- Horizon band (separates the halves of the page) ---------- */
.horizon-band { position: relative; background: var(--sun); color: var(--ink); overflow: hidden; }
.horizon-band::before { content: ""; position: absolute; left: 50%; top: 0; width: 140vw; aspect-ratio: 1; border-radius: 50%; background: var(--ground); transform: translate(-50%, -93%); }
.section:has(+ .horizon-band) { padding-bottom: clamp(48px, 5vw, 80px); }
.horizon-band .wrap { position: relative; padding-top: clamp(130px, 14vw, 210px); padding-bottom: clamp(80px, 10vw, 140px); }
.horizon-band blockquote { margin: 0; max-width: 26ch; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
.horizon-band cite { display: block; margin-top: 20px; font-style: normal; font-size: 1rem; }
.horizon-band .split { align-items: end; }

/* ---------- Gallery frame (home) ---------- */
.frame-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.frame { position: relative; width: min(100%, 520px); aspect-ratio: 4 / 4.6; justify-self: center; cursor: pointer; background: var(--tone); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.frame img.on { opacity: 1; }
.frame-caption { text-align: center; margin-top: 16px; font-size: var(--step-small); min-height: 1.5em; }
@media (max-width: 860px) { .frame-wrap { grid-template-columns: 1fr; } .frame { width: 76vw; } }

/* ---------- Coupon contact form ---------- */
.coupon {
  --notch: 28px;
  position: relative; display: grid; grid-template-columns: 46fr 54fr; background: var(--forest); color: var(--ground);
  border-radius: 28px; min-height: 420px;
  -webkit-mask: radial-gradient(circle var(--notch) at 46% 0, #0000 98%, #000) top / 100% 51% no-repeat, /* taste-skill-ignore: mask cut-out, not a visible gradient */
                radial-gradient(circle var(--notch) at 46% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: mask cut-out, not a visible gradient */
          mask: radial-gradient(circle var(--notch) at 46% 0, #0000 98%, #000) top / 100% 51% no-repeat, /* taste-skill-ignore: mask cut-out, not a visible gradient */
                radial-gradient(circle var(--notch) at 46% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: mask cut-out, not a visible gradient */
}
.coupon .stub { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; border-right: 5px dotted var(--ground); }
.coupon .stub h2 { font-size: clamp(2rem, 1rem + 2.6vw, 3.25rem); max-width: 12ch; }
.coupon .stub p { margin: 0; color: #e6dcf5; }
.coupon form { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 10px; }
.coupon input, .coupon select, .coupon textarea {
  width: 100%; min-height: 54px; padding: 14px 18px; border: 0; border-radius: 14px;
  background: #3d2864; color: var(--ground); font: 400 1rem var(--font);
}
.coupon textarea { min-height: 104px; resize: vertical; }
.coupon ::placeholder { color: #c9bde0; opacity: 1; }
.coupon select { appearance: none; background-image: none; }
.coupon button[type="submit"] { min-height: 56px; border-radius: 999px; background: var(--sun); color: var(--ink); border: 0; font: 500 1.0625rem var(--font); cursor: pointer; transition: transform .25s var(--ease-out), background-color .2s; }
.coupon button[type="submit"]:hover { background: var(--sun-soft); }
.coupon button[type="submit"]:active { transform: scale(.98); }
.coupon .fine { font-size: var(--step-small); color: #d6cbe9; margin: 6px 0 0; }
.hp { display: none !important; }
@media (max-width: 860px) {
  .coupon { grid-template-columns: 1fr;
    -webkit-mask: radial-gradient(circle var(--notch) at 0 var(--cut, 38%), #0000 98%, #000) left / 51% 100% no-repeat, /* taste-skill-ignore: mask cut-out, not a visible gradient */
                  radial-gradient(circle var(--notch) at 100% var(--cut, 38%), #0000 98%, #000) right / 51% 100% no-repeat; /* taste-skill-ignore: mask cut-out, not a visible gradient */
            mask: radial-gradient(circle var(--notch) at 0 var(--cut, 38%), #0000 98%, #000) left / 51% 100% no-repeat, /* taste-skill-ignore: mask cut-out, not a visible gradient */
                  radial-gradient(circle var(--notch) at 100% var(--cut, 38%), #0000 98%, #000) right / 51% 100% no-repeat; } /* taste-skill-ignore: mask cut-out, not a visible gradient */
  .coupon .stub { border-right: 0; border-bottom: 5px dotted var(--ground); }
}

/* ---------- Footer: the sun, built large ---------- */
.site-footer { background: var(--forest-deep); color: var(--ground); padding-top: clamp(64px, 8vw, 120px); overflow: hidden; }
.footer-logo { display: block; width: min(340px, 72%); height: auto; margin: 0 auto clamp(40px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; padding: 56px 0 40px; }
.footer-grid .links { grid-column: 1 / span 8; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-grid .contact { grid-column: 9 / span 4; }
.footer-grid h2 { font-size: 1.125rem; letter-spacing: -0.01em; margin-bottom: 14px; color: var(--sun); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; font-size: 0.9375rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid p { font-size: 0.9375rem; color: #ded3ef; }
.footer-last { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 0 40px; font-size: 0.875rem; color: #c9bde0; }
.footer-last p { margin: 0; max-width: 72ch; }
.credits { font-size: 0.875rem; color: #b2a5c9; padding-bottom: 32px; max-width: 80ch; }
.credits a { color: inherit; }
@media (max-width: 860px) {
  .footer-grid .links { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .footer-grid .contact { grid-column: 1 / -1; }
}

/* ---------- Generic content blocks ---------- */
.prose h2 { font-size: var(--step-head); margin-bottom: 28px; max-width: 18ch; }
.prose h3 { font-size: 1.5rem; margin: 40px 0 12px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.fact .big { font-size: clamp(3rem, 1.4rem + 4.6vw, 6rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; display: block; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.fact p { margin: 0; max-width: 30ch; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

.timeline-list { list-style: none; padding: 0; margin: 0; }
.timeline-list > li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 28px 0; }
.timeline-list > li + li { background: none; }
.timeline-list .when { font-size: clamp(1.75rem, 1rem + 2vw, 2.75rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.timeline-list h3 { font-size: 1.5rem; margin-bottom: 8px; }
.timeline-list p { margin: 0; }
@media (max-width: 640px) { .timeline-list > li { grid-template-columns: 1fr; gap: 8px; } }

.qa { max-width: 860px; }
.qa details { background: var(--paper); border-radius: 20px; margin-bottom: 10px; }
.qa summary { cursor: pointer; padding: 22px 26px; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: transform .3s var(--ease-out); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa .answer { padding: 0 26px 24px; }
.qa .answer p:last-child { margin-bottom: 0; }

/* Index with preview (story page) */
.index-preview { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.index-rows { list-style: none; margin: 0; padding: 0; }
.index-rows li { padding: 26px 0; transition: opacity .24s ease; }
.index-rows.dim li { opacity: .38; }
.index-rows.dim li.active { opacity: 1; }
.index-rows .when { font-size: clamp(2.5rem, 1rem + 4vw, 4.75rem); font-weight: 500; letter-spacing: -0.05em; line-height: 0.95; display: block; }
.index-rows h3 { font-size: 1.5rem; margin: 12px 0 8px; }
.index-rows p { margin: 0; }
.index-rows .inline-img { display: none; margin-top: 18px; aspect-ratio: 16 / 10; }
.preview-frame { position: sticky; top: 100px; aspect-ratio: 4 / 4.6; background: var(--tone); }
.preview-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .24s ease; }
.preview-frame img.on { opacity: 1; }
.preview-caption { margin-top: 14px; font-size: var(--step-small); }
@media (max-width: 860px), (hover: none) {
  .index-preview { grid-template-columns: 1fr; }
  .preview-col { display: none; }
  .index-rows .inline-img { display: block; }
  .index-rows.dim li { opacity: 1; }
}

/* Sites menu list */
.site-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--tone); color: var(--ink); font: 500 1rem var(--font); cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s var(--ease-out); }
.chip:hover { background: var(--sun-soft); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
#site-groups { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.day-group { margin-bottom: 96px; }
.day-group.wide { grid-column: 1 / -1; }
.day-group.narrow .site-menu { grid-template-columns: 1fr; }
@media (max-width: 860px) { #site-groups { grid-template-columns: 1fr; } }
.day-group > header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 36px; }
.day-group h2 { font-size: clamp(2rem, 1rem + 2.6vw, 3.25rem); }
.site-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; list-style: none; margin: 0; padding: 0; }
.site-item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; }
.site-item .badge { width: 64px; height: 32px; border-radius: 32px 32px 0 0; background: var(--sun); margin-top: 6px; }
.site-item:nth-child(3n+2) .badge { background: var(--sky); }
.site-item:nth-child(3n+3) .badge { background: var(--sage); }
.site-item .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; align-items: baseline; }
.site-item .top h3 { flex: 1 1 12ch; }
.site-item h3 { font-size: 1.375rem; }
.site-item .time { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.site-item .town { font-size: var(--step-small); color: var(--ink-soft); margin: 4px 0 8px; }
.site-item p.blurb { margin: 0; max-width: 46ch; }
@media (max-width: 860px) { .site-menu { grid-template-columns: 1fr; } .site-item { grid-template-columns: 52px 1fr; } .site-item .badge { width: 52px; height: 26px; } }

/* Calendar */
.cal-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.cal-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.cal-top h2 { font-size: clamp(2rem, 1rem + 2.4vw, 3.25rem); }
.cal-nav { display: flex; gap: 8px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--tone); color: var(--ink); font: 500 1.25rem var(--font); cursor: pointer; transition: background-color .2s, transform .2s var(--ease-out); }
.icon-btn:hover { background: var(--sun); }
.icon-btn:active { transform: scale(.94); }
.icon-btn:disabled { opacity: .35; cursor: default; background: var(--tone); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid .dow { text-align: center; font-size: var(--step-small); color: var(--ink-soft); padding: 6px 0; }
.cal-day { position: relative; aspect-ratio: 1 / 0.92; border: 0; border-radius: 16px; background: var(--paper); color: var(--ink); font: 500 1.0625rem var(--font); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; transition: background-color .2s, transform .2s var(--ease-out); padding: 4px; }
.cal-day:hover { background: var(--sun-soft); }
.cal-day.blank { background: transparent; cursor: default; }
.cal-day.out { color: #a8a0b3; background: transparent; }
.cal-day.today { outline: 2px solid var(--ink); outline-offset: -2px; }
.cal-day[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.cal-day .dots { display: flex; gap: 3px; height: 7px; }
.cal-day .dots i { width: 14px; height: 7px; border-radius: 7px 7px 0 0; background: var(--sun); }
.cal-day .dots i.sem { background: var(--forest); }
.cal-day[aria-pressed="true"] .dots i.sem { background: var(--sun-soft); }
.cal-day .dots i.evt { background: var(--river); }
.agenda h2 { font-size: clamp(1.75rem, 1rem + 1.8vw, 2.5rem); margin-bottom: 8px; }
.agenda-list { list-style: none; padding: 0; margin: 24px 0 0; }
.agenda-list li { background: var(--paper); border-radius: 20px; padding: 18px 22px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
.agenda-list li.seminar { background: var(--forest); color: var(--ground); }
.agenda-list li.event { background: var(--sky); }
.agenda-list li.cancelled { background: var(--tone); color: var(--ink-soft); }
.agenda-list li.cancelled .t { text-decoration: line-through; }
.agenda-list .t { font-weight: 500; font-size: 1.1875rem; letter-spacing: -0.015em; }
.agenda-list .w { font-variant-numeric: tabular-nums; white-space: nowrap; }
.agenda-list .n { grid-column: 1 / -1; font-size: 1rem; }
.agenda-list .edit-row { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.btn-icon { display: inline-flex; margin-left: -4px; }
.cal-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .cal-choices { grid-template-columns: 1fr; } }
.cal-filter { display: flex; gap: 10px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.cal-filter label { font-weight: 500; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: var(--step-small); color: var(--ink-soft); }
.legend span { display: inline-flex; gap: 8px; align-items: center; }
.legend i { width: 18px; height: 9px; border-radius: 9px 9px 0 0; background: var(--sun); display: inline-block; }
.legend i.sem { background: var(--forest); }
.legend i.evt { background: var(--river); }
@media (max-width: 960px) { .cal-layout { grid-template-columns: 1fr; } .cal-day { border-radius: 10px; font-size: 0.9375rem; } .cal-day .dots i { width: 8px; height: 4px; } }

/* Gallery page */
.gallery-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.gallery-grid { columns: 3 300px; column-gap: clamp(12px, 1.6vw, 24px); }
.g-item { break-inside: avoid; margin: 0 0 clamp(12px, 1.6vw, 24px); position: relative; }
.g-item button.open { display: block; width: 100%; padding: 0; border: 0; background: var(--tone); cursor: zoom-in; overflow: hidden; }
.g-item img { width: 100%; height: auto; transition: transform .6s var(--ease-out); }
.g-item button.open:hover img { transform: scale(1.03); }
.g-item button.open { border-radius: 20px; } /* no arch here: it would clip people at the edges of group photos */
.g-item figcaption { padding: 10px 2px 0; font-size: 0.9375rem; display: flex; justify-content: space-between; gap: 12px; }
.g-item figcaption .site { color: var(--ink-soft); white-space: nowrap; }
.g-item .del { position: absolute; top: 10px; right: 10px; }
.empty-state { padding: 48px; background: var(--paper); border-radius: 28px; text-align: center; }
.empty-state p { margin: 0 auto; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(24, 12, 40, .94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--ground); }
.lightbox img { max-height: 80vh; width: auto; object-fit: contain; }
.lightbox .close { position: absolute; top: 16px; right: 16px; }
.lightbox .prev, .lightbox .next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .prev { left: 16px; } .lightbox .next { right: 16px; }

/* Dialogs and forms (editor) */
dialog.editor { border: 0; border-radius: 28px; padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; background: var(--ground); color: var(--ink); box-shadow: 0 30px 80px rgba(30, 14, 52, .35); /* taste-skill-ignore: dialog floats */ }
dialog.editor::backdrop { background: rgba(24, 12, 40, .55); }
dialog.editor form { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
dialog.editor h2 { font-size: 2rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 500; font-size: 1rem; }
.field input, .field select, .field textarea {
  min-height: 50px; padding: 12px 16px; border: 2px solid #d8d0e6; border-radius: 14px; background: var(--paper);
  color: var(--ink); font: 400 1rem var(--font);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field .hint { font-size: 0.875rem; color: var(--ink-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--forest); flex: none; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }
.form-error { color: var(--danger); font-weight: 500; margin: 0; }
.form-ok { color: var(--forest); font-weight: 500; margin: 0; }

/* Auth / dashboard */
.auth-shell { min-height: calc(100svh - 76px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { position: relative; background: var(--forest); overflow: hidden; display: flex; align-items: flex-end; padding: var(--margin); color: var(--ground); }
.auth-art .sun { position: absolute; left: 50%; bottom: -1px; width: 90%; aspect-ratio: 2 / 1; background: var(--sun); border-radius: 999px 999px 0 0; transform: translateX(-50%); }
.auth-art p { position: relative; z-index: 1; font-size: var(--step-lead); max-width: 22ch; margin: 0 0 18vh; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 48px var(--margin); }
.auth-card { width: min(440px, 100%); display: flex; flex-direction: column; gap: 16px; }
.auth-card h1 { font-size: clamp(2.5rem, 1.6rem + 2.6vw, 3.75rem); }
.demo-note { background: var(--sun-soft); border-radius: 20px; padding: 18px 20px; font-size: 0.9375rem; }
.demo-note p { margin: 0 0 6px; }
.demo-pick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pw-wrap { position: relative; }
.pw-wrap input { width: 100%; padding-right: 76px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--tone); color: var(--ink); font: 500 0.875rem var(--font); cursor: pointer; }
.pw-toggle:hover { background: var(--sun-soft); }
.auth-help { font-size: 0.9375rem; color: var(--ink-soft); margin: 4px 0 0; }
.demo-note code { font-family: var(--font); font-weight: 500; background: rgba(255,255,255,.6); padding: 1px 6px; border-radius: 6px; }
@media (max-width: 860px) { .auth-shell { grid-template-columns: 1fr; } .auth-art { min-height: 220px; } .auth-art p { margin-bottom: 70px; } }

.dash-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0 40px; }
.dash-panel { display: none; }
.dash-panel.on { display: block; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.card-quiet { background: var(--paper); border-radius: 28px; padding: clamp(24px, 3vw, 36px); }
.card-quiet h2 { font-size: 1.75rem; margin-bottom: 16px; }
.card-quiet form { display: flex; flex-direction: column; gap: 14px; }
.table-wrap { overflow-x: auto; }
table.plain { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
table.plain th, table.plain td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #e6e0ef; vertical-align: middle; }
table.plain th { font-weight: 500; color: var(--ink-soft); }
table.plain select { min-height: 40px; border-radius: 10px; border: 2px solid #d8d0e6; padding: 0 10px; font: 400 0.9375rem var(--font); background: var(--paper); }
.mode-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--sun-soft); font-size: 0.875rem; font-weight: 500; }
.mode-pill.live { background: var(--sage); }
@media (max-width: 860px) { .dash-grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* Text-size control (participants page) */
.size-toggle { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.size-toggle span { font-weight: 500; margin-right: 6px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: var(--ground); padding: 14px 22px; border-radius: 999px; z-index: 200; transition: transform .4s var(--ease-out); font-weight: 500; }
.toast.show { transform: translate(-50%, 0); }
.toast { display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px); }
.toast-action { border: 0; background: var(--sun); color: var(--ink); font: 500 0.9375rem var(--font); border-radius: 999px; padding: 6px 14px; margin: -4px -10px -4px 0; cursor: pointer; }
.toast-action:hover { background: var(--sun-soft); }

/* ---------- Motion: entrances ---------- */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
.js .rise.in { opacity: 1; transform: none; }
.js .open-up { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
.js .open-up.in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .rise { opacity: 1; transform: none; }
  .js .open-up { clip-path: none; }
  .hero-sun { animation: none; }
}

/* ---------- Additions: steps, week strip, path, people ---------- */
.join-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.join-steps li { counter-increment: step; display: grid; grid-template-columns: 72px 1fr; gap: 4px 20px; padding: 0 0 36px; }
.join-steps li::before { content: counter(step); grid-row: span 2; width: 64px; height: 32px; border-radius: 32px 32px 0 0; background: var(--sun); display: flex; align-items: flex-end; justify-content: center; font-weight: 500; font-size: 1.125rem; padding-bottom: 2px; }
.join-steps h3 { font-size: 1.5rem; }
.join-steps p { margin: 6px 0 0; }

.week-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.week-strip > div { background: var(--paper); border-radius: 160px 160px 0 0; padding: 56px 20px 28px; min-height: 280px; }
.week-strip h3 { font-size: 1.5rem; text-align: center; margin-bottom: 18px; }
.week-strip ul { list-style: none; margin: 0; padding: 0; }
.week-strip li { display: flex; flex-direction: column; padding: 10px 0; }
.week-strip li a { font-weight: 500; text-decoration: none; }
.week-strip li a:hover { text-decoration: underline; }
.week-strip li span { font-size: 0.9375rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .week-strip { grid-template-columns: 1fr 1fr; } .week-strip > div { min-height: 0; } }
@media (max-width: 560px) { .week-strip { grid-template-columns: 1fr; } .week-strip > div { border-radius: 28px; padding-top: 28px; } }

.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); align-items: end; }
.path li { background: var(--tone); padding: clamp(24px, 2.6vw, 36px); border-radius: 0; }
.path li:nth-child(1) { min-height: 260px; background: var(--sun-soft); }
.path li:nth-child(2) { min-height: 330px; background: var(--sun); }
.path li:nth-child(3) { min-height: 400px; background: var(--sage); }
.path li:nth-child(4) { min-height: 470px; background: var(--sky); }
.path li { border-radius: 999px 999px 0 0 / 120px 120px 0 0; padding-top: 72px; }
.path h3 { font-size: 1.625rem; margin-bottom: 12px; }
.path p { margin: 0; }
@media (max-width: 960px) { .path { grid-template-columns: 1fr 1fr; } .path li { min-height: 0 !important; } }
@media (max-width: 560px) { .path { grid-template-columns: 1fr; } }

.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.people h3 { font-size: 1.5rem; margin-bottom: 6px; }
.people p { margin: 0; color: #e6dcf5; }

/* flow diagram: suns arrive one after another */
.js .flow svg.rise { opacity: 1; transform: none; }
.js .flow svg.rise path { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .flow svg.rise.in path { opacity: 1; transform: none; }
.valley-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 28px); }
.valley-row figure { margin: 0; }
.valley-row .arch { aspect-ratio: 3 / 4; }
.valley-row figcaption { margin-top: 12px; font-weight: 500; }
@media (max-width: 760px) { .valley-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Voices: short quotes from students and community members ---------- */
.voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.voices figure { margin: 0; background: var(--paper); border-radius: 28px; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.voices figure:nth-child(1) { background: var(--sun); }
.voices figure:nth-child(4) { background: var(--forest); color: var(--ground); }
.voices blockquote { margin: 0; font-size: clamp(1.375rem, 1rem + 1.2vw, 2rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
.voices figcaption { font-size: var(--step-small); color: var(--ink-soft); }
.voices figure:nth-child(1) figcaption { color: var(--ink); }
.voices figure:nth-child(4) figcaption { color: #ddd1ef; }
@media (max-width: 760px) { .voices { grid-template-columns: 1fr; } }

/* ---------- Press list ---------- */
.press { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.press li { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid #e6e0ef; }
.press .when { font-weight: 500; color: var(--forest); }
.press a { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.015em; text-decoration: none; }
.press a:hover { text-decoration: underline; text-decoration-color: var(--sun); }
.press .src { font-size: var(--step-small); color: var(--ink-soft); text-align: right; }
@media (max-width: 760px) { .press li { grid-template-columns: 1fr; gap: 6px; } .press .src { text-align: left; } }

/* ---------- Statement band: one pull-quote, then the numbers ---------- */
.statement .pull-quote { margin: 0 auto; max-width: 980px; text-align: center; }
.statement .pull-quote::before { content: "“"; display: block; font-size: clamp(5rem, 3rem + 6vw, 9rem); line-height: 0.9; height: 0.5em; color: var(--forest); font-family: Georgia, "Times New Roman", serif; }
.statement blockquote { margin: 0 auto; max-width: 24ch; font-size: clamp(1.875rem, 1rem + 2.8vw, 3.5rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 500; text-wrap: balance; }
.statement figcaption { margin-top: 28px; font-size: var(--step-small); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.statement figcaption span { font-size: 1.0625rem; font-weight: 500; display: flex; align-items: center; gap: 14px; }
.statement figcaption span::before, .statement figcaption span::after { content: ""; width: 36px; height: 2px; background: var(--ink); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); margin: clamp(64px, 8vw, 112px) 0 0; }
.stat-row > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.stat-row dt { font-size: var(--step-small); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-row dd { margin: 0; max-width: 24ch; }
.stat-row .num { font-size: clamp(2.75rem, 1.4rem + 3.6vw, 5rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; margin: 14px 0 10px; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-row { grid-template-columns: 1fr; } }

/* ---------- Value cards ---------- */
.value-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.value-cards li { background: var(--paper); border-radius: 28px; padding: clamp(28px, 3vw, 44px); min-height: 280px; display: flex; flex-direction: column; }
.value-cards .n { font-weight: 500; color: var(--forest); font-variant-numeric: tabular-nums; }
.value-cards h3 { font-size: clamp(1.75rem, 1rem + 1.8vw, 2.5rem); letter-spacing: -0.035em; margin: clamp(48px, 7vw, 96px) 0 12px; }
.value-cards p { margin: 0; }
@media (max-width: 860px) { .value-cards { grid-template-columns: 1fr; } .value-cards li { min-height: 0; } }

/* ---------- Numbered outcomes ---------- */
.outcomes { list-style: none; margin: 0; padding: 0; counter-reset: outcome; border-top: 2px solid var(--ink); }
.outcomes li { counter-increment: outcome; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid #e6e0ef; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.015em; }
.outcomes li::before { content: counter(outcome, decimal-leading-zero); font-size: var(--step-small); font-weight: 500; color: var(--forest); letter-spacing: 0; padding-top: 0.45em; }

/* ---------- Activity tiles (participants) ---------- */
.activity-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.activity-tiles li { background: var(--tone); border-radius: 24px; padding: 24px; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.015em; font-weight: 500; }
.activity-tiles li::before { content: ""; width: 28px; height: 14px; border-radius: 14px 14px 0 0; background: var(--forest); }
.activity-tiles li:nth-child(4n+1) { background: var(--sun); }
.activity-tiles li:nth-child(4n+1)::before { background: var(--ink); }
@media (max-width: 480px) { .activity-tiles { grid-template-columns: 1fr; } .activity-tiles li { min-height: 0; } }

/* ---------- Ruled list ---------- */
.ruled-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ruled-list li { padding: 16px 0; border-bottom: 1px solid #e6e0ef; font-weight: 500; }

/* ---------- Small shared pieces ---------- */
.eyebrow { font-size: var(--step-small); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--forest); margin: 0 0 10px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.text-btn { border: 0; background: none; padding: 4px 0; font: 500 0.9375rem var(--font); color: var(--forest); cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: transparent; transition: text-decoration-color .2s ease; }
.text-btn:hover { text-decoration-color: currentColor; }
.notice { background: var(--sun-soft); border-radius: 16px; padding: 14px 18px; margin: 0 0 24px; max-width: none; font-size: 0.9375rem; }

/* ---------- Portraits ---------- */
.portrait-frame { position: relative; aspect-ratio: 4 / 5; width: 100%; border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--tone); display: grid; place-items: center; }
.portrait-frame img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 25%; }
.portrait-frame.director { background: var(--forest); }
.portrait-frame.coordinator { background: var(--sun); }
.portrait-frame.supervisor { background: var(--sky); }
.portrait-frame .monogram { font-size: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); font-weight: 500; letter-spacing: -0.04em; color: var(--forest); position: relative; z-index: 1; margin-top: 18%; }
.portrait-frame.director .monogram { color: var(--sun); }
.silhouette, .silhouette svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.silhouette svg { fill: rgba(255, 255, 255, .7); }
.silhouette .sun { fill: rgba(255, 255, 255, .35); }
.portrait-frame.director .silhouette svg { fill: rgba(255, 255, 255, .22); }
.portrait-frame.director .silhouette .sun { fill: var(--sun); opacity: .9; }
.portrait-frame.coordinator .silhouette .sun { fill: #fff3a6; }
.portrait-frame.supervisor .silhouette svg { fill: #fff; }
.portrait-frame.supervisor .silhouette .sun { fill: var(--sun); opacity: .55; }
.tone-field .portrait-frame.supervisor .silhouette svg { fill: #e3d9f3; }
.portrait-frame.small { width: 52px; flex: none; border-radius: 999px 999px 10px 10px; }
.portrait-frame.small .monogram { font-size: 1rem; margin-top: 14%; letter-spacing: 0; }
.portrait-frame.small::after { display: none; }

/* ---------- Leadership page ---------- */
.lead-hero { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 5vw, 80px); align-items: end; padding-bottom: clamp(48px, 7vw, 110px); }
.lead-count { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.lead-count > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(41, 34, 52, .2); }
.lead-count dt { font-weight: 500; }
.lead-count dd { margin: 0; font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3.5rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .lead-hero { grid-template-columns: 1fr; } }
.lead-toolbar { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--sun-soft); border-radius: 20px; padding: 16px 20px; }
.lead-toolbar p { margin: 0; font-weight: 500; }

.director { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.director .eyebrow { margin-bottom: 14px; }
.director h3 { font-size: var(--step-head); letter-spacing: -0.045em; line-height: 0.98; }
.director .leader-meta { font-size: var(--step-lead); margin: 16px 0 0; color: var(--ink-soft); max-width: 34ch; }
.director-bio { margin: 28px 0 0; max-width: 54ch; font-size: 1.125rem; }
.director-contact { margin: 20px 0 0; font-size: var(--step-small); color: var(--ink-soft); }
@media (max-width: 760px) { .director { grid-template-columns: 1fr; } .director .leader-photo { max-width: 300px; } }

.leader-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 48px) clamp(16px, 2vw, 28px); }
.leader-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .leader-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .leader-grid, .leader-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .leader-grid, .leader-grid.three { grid-template-columns: 1fr; } }
.leader-photo { position: relative; }
.leader-edit { position: absolute; right: 12px; bottom: 12px; z-index: 2; box-shadow: 0 4px 16px rgba(30, 14, 52, .18); /* taste-skill-ignore: floats on a photo */ }
.leader-body { padding-top: 18px; }
.leader-site { display: inline-block; font-size: var(--step-small); font-weight: 500; color: var(--forest); text-decoration: none; margin-bottom: 6px; }
a.leader-site:hover { text-decoration: underline; }
.leader-card h3 { font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem); letter-spacing: -0.025em; }
.leader-meta { margin: 6px 0 0; color: var(--ink-soft); font-size: 0.9375rem; }
.leader-when { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid rgba(41, 34, 52, .14); font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.tone-field .leader-grid .portrait-frame.supervisor { background: var(--paper); }
.leader-grid.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1240px) { .leader-grid.five { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1000px) { .leader-grid.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .leader-grid.five { grid-template-columns: repeat(2, 1fr); } }
/* Co-coordinators: horizontal cards so three portraits do not dominate the page */
.leader-grid.three .leader-card { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: center; background: var(--paper); border-radius: 28px; padding: 16px 22px 16px 16px; }
.leader-grid.three .leader-body { padding-top: 0; }
.leader-grid.three .leader-edit { right: 6px; bottom: 6px; padding: 0 12px; min-height: 34px; }
@media (max-width: 1100px) { .leader-grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .leader-grid.three { grid-template-columns: 1fr; } }

/* ---------- Leader editor dialog ---------- */
.photo-edit { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid #e6e0ef; }
.photo-edit .portrait-frame .monogram { font-size: 2rem; }
.photo-edit-actions .hint { margin: 10px 0 0; font-size: 0.875rem; color: var(--ink-soft); }
label.btn { cursor: pointer; }

/* ---------- Dashboard ---------- */
.dash-body { background: var(--tone); }
.dash-body .site-header { background: var(--paper); border-bottom: 1px solid #e6e0ef; }
.dash { padding: clamp(20px, 3vw, 40px) 0 80px; }
.dash-shell > * { min-width: 0; }
.dash-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: clamp(20px, 2.5vw, 40px); align-items: start; }
.dash-side { position: sticky; top: 96px; background: var(--paper); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.dash-me { display: flex; gap: 12px; align-items: center; padding: 6px 6px 18px; border-bottom: 1px solid #e6e0ef; }
.dash-me p { margin: 0; }
.dash-me-name { font-weight: 500; line-height: 1.2; }
.dash-me-role { font-size: 0.875rem; color: var(--ink-soft); }
.dash-avatar { width: 44px; height: 44px; flex: none; border-radius: 999px 999px 12px 12px; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-weight: 500; font-size: 0.9375rem; }
.dash-avatar.small { width: 36px; height: 36px; font-size: 0.8125rem; background: var(--sky); }
.dash-nav { display: flex; flex-direction: column; gap: 4px; }
.dash-nav button { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border: 0; border-radius: 14px; background: transparent; color: var(--ink); font: 500 1rem var(--font); text-align: left; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.dash-nav button svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dash-nav button:hover { background: var(--tone); }
.dash-nav button[aria-selected="true"] { background: var(--forest); color: #fff; }
.dash-nav button[hidden] { display: none; }
.dash-side-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 6px 4px; border-top: 1px solid #e6e0ef; }
.dash-link { border: 0; background: none; padding: 4px 0; font: 400 0.9375rem var(--font); color: var(--ink-soft); cursor: pointer; text-decoration: none; }
.dash-link:hover { color: var(--ink); text-decoration: underline; }

.dash-main { min-width: 0; }
.dash-panel:focus { outline: none; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.panel-head h1 { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); letter-spacing: -0.04em; }
.panel-head .muted { margin: 10px 0 0; max-width: 60ch; }
.panel-head .eyebrow { margin-bottom: 8px; }
.panel-foot { margin-top: 24px; }

.dash-card { background: var(--paper); border-radius: 24px; padding: clamp(20px, 2.4vw, 32px); }
.dash-card.flush { padding: 8px 0; }
.dash-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.dash-card-head h2 { font-size: 1.375rem; letter-spacing: -0.02em; }
.dash-two { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; align-items: start; }
.dash-two.wide-left { grid-template-columns: 1.2fr 0.8fr; }
@media (max-width: 1100px) { .dash-two, .dash-two.wide-left { grid-template-columns: 1fr; } }

.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
@media (max-width: 1100px) { .dash-stats { grid-template-columns: repeat(2, 1fr); } }
.stat-card { text-align: left; border: 0; background: var(--paper); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; color: var(--ink); font: inherit; transition: transform .2s var(--ease-out), box-shadow .2s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(30, 14, 52, .08); /* taste-skill-ignore: hover lift */ }
.stat-card .label { font-size: 0.875rem; color: var(--ink-soft); }
.stat-card .value { font-size: clamp(1.5rem, 1.1rem + 1vw, 2.125rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-card .sub { font-size: 0.875rem; color: var(--forest); font-weight: 500; }

.date-block { width: 54px; flex: none; border-radius: 14px; background: var(--tone); display: flex; flex-direction: column; align-items: center; padding: 7px 0 8px; line-height: 1; }
.date-block .m { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--forest); }
.date-block .d { font-size: 1.375rem; font-weight: 500; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kind-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; background: var(--tone); color: var(--ink); white-space: nowrap; vertical-align: middle; margin-left: 8px; }
.kind-pill.event { background: var(--sky); }
.kind-pill.seminar { background: var(--forest); color: #fff; }
.kind-pill.cancelled { background: #fbe3e7; color: var(--danger); }
.kind-pill.site { background: var(--sun-soft); }
.kind-pill.placeholder { background: var(--sun-soft); }

.up-list, .event-rows, .person-rows { list-style: none; margin: 0; padding: 0; }
.up-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid #efeaf6; }
.up-list li:first-child { border-top: 0; padding-top: 0; }
.up-list li.empty { display: block; color: var(--ink-soft); }
.up-list .t, .event-rows .t, .person-rows .t { margin: 0; font-weight: 500; }
.up-list .n, .event-rows .n, .person-rows .n { margin: 2px 0 0; font-size: 0.875rem; color: var(--ink-soft); }
.up-list li.cancelled .t, .event-rows li.cancelled .t { text-decoration: line-through; text-decoration-color: rgba(176, 35, 58, .5); }

.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .quick { grid-template-columns: 1fr; } }
.quick-btn { text-align: left; border: 2px solid #ebe5f4; background: var(--paper); border-radius: 16px; padding: 14px 16px; cursor: pointer; font: inherit; color: var(--ink); display: flex; flex-direction: column; gap: 2px; transition: border-color .2s ease, background-color .2s ease; }
.quick-btn:hover { border-color: var(--forest); background: #fbf9ff; }
.quick-btn .t { font-weight: 500; }
.quick-btn .d { font-size: 0.8125rem; color: var(--ink-soft); }
.dash-tips { margin-top: 22px; padding-top: 18px; border-top: 1px solid #efeaf6; }
.dash-tips h3 { font-size: 1rem; letter-spacing: 0; margin-bottom: 8px; }
.dash-tips ul { margin: 0; padding-left: 18px; font-size: 0.875rem; color: var(--ink-soft); display: grid; gap: 6px; }

.form-stack { display: flex; flex-direction: column; gap: 16px; }
.field-row.three { grid-template-columns: 1.3fr 1fr 1fr; }
@media (max-width: 600px) { .field-row.three { grid-template-columns: 1fr 1fr; } .field-row.three > :first-child { grid-column: 1 / -1; } }
.form-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid #efeaf6; }
.save-state { margin-right: auto; font-size: 0.875rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; }
.save-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5bb98b; }
.save-state.dirty { color: var(--ink); font-weight: 500; }
.save-state.dirty::before { background: #e8a33a; }
.btn[disabled] { opacity: .45; }
.preview-col .eyebrow { margin-bottom: 12px; }
.site-preview { background: var(--paper); border-radius: 24px; padding: 24px; }
.preview-day { margin: 0 0 6px; font-size: var(--step-small); font-weight: 500; color: var(--forest); }
.preview-col .hint { font-size: 0.875rem; color: var(--ink-soft); margin-top: 10px; }

.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.seg { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; border-radius: 999px; min-height: 38px; padding: 0 16px; font: 500 0.9375rem var(--font); color: var(--ink-soft); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filter-site select { min-height: 46px; border-radius: 999px; border: 0; background: var(--paper); padding: 0 18px; font: 500 0.9375rem var(--font); color: var(--ink); }

.month { margin-bottom: 28px; }
.month > h2 { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px 4px; }
.event-rows, .person-rows { background: var(--paper); border-radius: 24px; padding: 6px 20px; }
.event-rows li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid #efeaf6; }
.event-rows li:first-child, .person-rows li:first-child { border-top: 0; }
.event-rows .note { margin: 6px 0 0; font-size: 0.875rem; max-width: 60ch; }
.event-rows .kind-pill { margin-left: 0; }
@media (max-width: 640px) { .event-rows li { grid-template-columns: auto 1fr; } .event-rows .kind-pill, .event-rows .acts { grid-column: 2; justify-self: start; } }
.person-rows li { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid #efeaf6; }
@media (max-width: 560px) { .person-rows li { grid-template-columns: auto 1fr; } .person-rows .btn { grid-column: 2; justify-self: start; } }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.photo-grid > .empty-state { grid-column: 1 / -1; }
.photo-tile { margin: 0; background: var(--paper); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.photo-tile .img { aspect-ratio: 4 / 3; background: var(--tone); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile figcaption { padding: 12px 14px 4px; display: flex; flex-direction: column; gap: 2px; }
.photo-tile figcaption .t { font-weight: 500; font-size: 0.9375rem; }
.photo-tile figcaption .n { font-size: 0.8125rem; color: var(--ink-soft); }
.photo-tile > .btn, .photo-tile > .hint { margin: 8px 14px 14px; align-self: flex-start; font-size: 0.8125rem; color: var(--ink-soft); }
.photo-tile > .btn { color: var(--ink); }

.empty-state .t { font-weight: 500; font-size: 1.125rem; margin-bottom: 6px; }
.empty-state .btn { margin-top: 16px; }

.dash-table th { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 14px 24px; }
.dash-table td { padding: 12px 24px; }
.dash-table tr:last-child td { border-bottom: 0; }
.dash-table select { min-height: 42px; min-width: 160px; }
.acct-person { display: flex; gap: 12px; align-items: center; }
.acct-person p { margin: 0; }
.acct-person .t { font-weight: 500; }
.acct-person .n { font-size: 0.8125rem; color: var(--ink-soft); }

/* Announcements */
.announce-list { display: grid; gap: 10px; margin-bottom: 20px; }
.announce-list:empty { display: none; }
.announce { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; background: var(--forest); color: #fff; border-radius: 20px; padding: 16px 18px; }
.announce-icon { width: 40px; height: 40px; border-radius: 999px 999px 10px 10px; background: var(--sun); display: grid; place-items: center; }
.announce-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.announce .msg { margin: 0; font-weight: 500; white-space: pre-line; }
.announce .by { margin: 4px 0 0; font-size: 0.8125rem; color: #ddd1ef; }
.announce .acts { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.announce .text-btn { color: #fff; font-size: 0.8125rem; }
@media (max-width: 600px) { .announce { grid-template-columns: auto 1fr; } .announce .acts { grid-column: 2; flex-direction: row; align-items: center; gap: 14px; } }

/* Needs attention */
.attention { margin-bottom: 20px; }
.attention-list { list-style: none; margin: 0; padding: 0; }
.attention-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid #efeaf6; }
.attention-list li:first-child { border-top: 0; padding-top: 0; }
.attention-list li p { margin: 0; font-size: 0.9375rem; }
.attention-list .dot { width: 16px; height: 8px; border-radius: 8px 8px 0 0; background: #e8a33a; }
.attention-list li.done { display: block; color: var(--ink-soft); }
@media (max-width: 600px) { .attention-list li { grid-template-columns: auto 1fr; } .attention-list li .btn { grid-column: 2; justify-self: start; } }

/* Last edited by */
.edited-by { margin: 0; font-size: 0.8125rem; color: var(--ink-soft); }
.event-rows .edited-by { margin-top: 4px; }

/* Photo tiles with actions, and the approval queue */
.tile-acts { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 14px 14px; }
.tile-acts .hint { font-size: 0.8125rem; color: var(--ink-soft); }
#pending-photos .photo-grid { margin-bottom: 8px; }
#pending-photos .notice { margin-bottom: 14px; }

/* Break-week dialog */
.site-checks { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.site-checks legend { font-weight: 500; font-size: 1rem; margin-bottom: 8px; display: flex; gap: 12px; align-items: baseline; }
@media (max-width: 520px) { .site-checks { grid-template-columns: 1fr; } }
.break-summary { margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--tone); font-size: 0.9375rem; }

/* ---------- Easter eggs ---------- */
/* Sunset mode: seven clicks on the logo. Same tokens, evening colors. */
:root.sunset {
  --ground: #fff4ec;
  --paper: #fffaf6;
  --ink: #2d1626;
  --ink-soft: #6e4f5f;
  --forest: #b4462a;
  --forest-deep: #3b1530;
  --river: #3b1530;
  --sun: #ff9a3c;
  --sun-soft: #ffd2a8;
  --sky: #fde1d3;
  --sage: #fff3e6;
  --tone: #fbe9df;
}
:root.sunset body { transition: background-color .6s ease; }
:root.sunset .wordmark img { filter: hue-rotate(-25deg) saturate(1.2); }

/* Sunrise: the Konami code. */
.egg-sunrise { position: fixed; inset: 0; z-index: 300; pointer-events: none; display: grid; place-items: end center; overflow: hidden;
  background: linear-gradient(to top, rgba(255, 227, 79, .28), rgba(99, 53, 173, 0) 60%); animation: egg-fade .6s ease both; }
.egg-sun { position: absolute; left: 50%; bottom: 0; width: min(70vw, 560px); aspect-ratio: 2 / 1; margin-left: calc(min(70vw, 560px) / -2);
  border-radius: 999px 999px 0 0; background: radial-gradient(circle at 50% 100%, #fff8cf 0%, #ffe34f 70%);
  box-shadow: 0 0 120px 40px rgba(255, 227, 79, .45); /* taste-skill-ignore: the sun glows */
  transform: translateY(100%); animation: egg-rise 1.8s cubic-bezier(.16, 1, .3, 1) .1s forwards; }
.egg-msg { position: relative; margin: 0 0 calc(min(70vw, 560px) / 2 + 28px); text-align: center; color: var(--ink); max-width: 32ch; padding: 0 16px;
  opacity: 0; animation: egg-fade .8s ease 1.2s forwards; }
.egg-msg span { display: block; font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.egg-msg small { display: block; margin-top: 10px; font-size: 1rem; color: var(--ink-soft); }
.egg-sunrise.leaving { animation: egg-out .8s ease forwards; }
.egg-sunrise.still .egg-sun { transform: none; animation: none; }
.egg-sunrise.still .egg-msg { opacity: 1; animation: none; }
@keyframes egg-rise { to { transform: translateY(0); } }
@keyframes egg-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes egg-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .egg-sunrise, .egg-sunrise.leaving { animation: none; } .egg-sunrise.leaving { opacity: 0; } }

/* Owner tools */
.paused-banner { background: var(--sun-soft); border-radius: 16px; padding: 14px 18px; margin: 0 0 20px; max-width: none; font-weight: 500; }
.owner-block { margin-top: 28px; }
.owner-h { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.owner-block > .muted { margin: 0 0 14px; }
.owner-block .dash-stats { margin-bottom: 14px; }
.stat-card.static { cursor: default; }
.stat-card.static:hover { transform: none; box-shadow: none; }
.switch { display: inline-flex; align-items: center; gap: 12px; border: 0; background: none; padding: 6px 0; font: 500 1rem var(--font); color: var(--ink); cursor: pointer; margin-top: 8px; }
.switch .knob { width: 48px; height: 28px; border-radius: 999px; background: #d8d1e3; position: relative; flex: none; transition: background-color .2s ease; }
.switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease-out); }
.switch[aria-checked="true"] .knob { background: var(--danger); }
.switch[aria-checked="true"] .knob::after { transform: translateX(20px); }
.alert-list { list-style: none; margin: 0; padding: 0; }
.alert-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid #efeaf6; }
.alert-list li:first-child { border-top: 0; padding-top: 0; }
.alert-list li.empty { display: block; color: var(--ink-soft); font-size: 0.9375rem; }
.alert-list .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--danger); margin-top: 7px; }
.alert-list li.seen .dot { background: #d8d1e3; }
.alert-list .t { margin: 0; font-weight: 500; font-size: 0.9375rem; }
.alert-list .n { margin: 2px 0 0; font-size: 0.8125rem; color: var(--ink-soft); }
#notes { min-height: 160px; }
.activity-list li:has(> .btn, > .kind-pill) { grid-template-columns: 76px 1fr auto; }
.activity-list li > .btn, .activity-list li > .kind-pill { align-self: center; margin-left: 0; }
@media (max-width: 600px) { .activity-list li:has(> .btn, > .kind-pill) { grid-template-columns: 64px 1fr; } .activity-list li > .btn, .activity-list li > .kind-pill { grid-column: 2; justify-self: start; } }

/* Activity log */
.activity-day { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin: 24px 0 10px 4px; }
.activity-day:first-child { margin-top: 0; }
.activity-list { list-style: none; margin: 0; background: var(--paper); border-radius: 24px; padding: 6px 20px; }
.activity-list li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid #efeaf6; align-items: baseline; }
.activity-list li:first-child { border-top: 0; }
.activity-list .when { font-size: 0.8125rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.activity-list p { margin: 0; font-size: 0.9375rem; overflow-wrap: anywhere; }
.activity-list strong { font-weight: 500; }

@media (max-width: 900px) {
  .dash-shell { grid-template-columns: minmax(0, 1fr); }
  .dash-side { position: static; padding: 14px; }
  .dash-me { padding-bottom: 12px; }
  .dash-side-foot { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding-top: 12px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }

  /* On phones the sections become a tab bar along the bottom of the screen, in thumb reach. */
  .dash-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    flex-direction: row; gap: 0; overflow-x: auto; scrollbar-width: none;
    background: var(--paper); border-top: 1px solid #e6e0ef;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-nav button { flex: 1 0 64px; flex-direction: column; justify-content: center; gap: 3px; min-height: 54px; padding: 4px 6px; border-radius: 12px; font-size: 0.6875rem; text-align: center; white-space: nowrap; }
  .dash-nav button[aria-selected="true"] { background: var(--tone); color: var(--forest); }
  .dash { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .dash-body .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
