/* ALMA INFANTIA — marketing site
   Canon: Brand Spec v1.1 · canvas #F0EEE8 · Geist weight hierarchy */

:root {
  --canvas: #f0eee8;
  --canvas-deep: #e6e2d8;
  --ink: #151517;
  --grey: #5e5e61;
  --line: rgba(21, 21, 23, 0.15);
  --blue: #2fa8e1;
  --wine: #a6135c;
  --gilt: #b8963e;
  --gilt-ink: #1a1508;
  --on-ink: #f0eee8;
  /* Membership swatch kit — provisional until approved */
  --gallery-neon: #ff5a1f;
  --gallery-pass-bg: #151517;
  --tier-gilt-bg: #e8d9a8;
  --tier-gilt-fg: #1a1508;
  --tier-wine-bg: #f0d0dc;
  --tier-wine-fg: #6b0a3a;
  --tier-blue-bg: #cde8f5;
  --tier-blue-fg: #0a4a6e;
  --member-lavender: #d4b8f0;
  --member-orange: #ff5a1f;
  color-scheme: light;
}

html.night {
  --canvas: #151517;
  --canvas-deep: #0e0e10;
  --ink: #f0eee8;
  --grey: #a9a7a0;
  --line: rgba(240, 238, 232, 0.18);
  --on-ink: #151517;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Geist", system-ui, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  transition: background 0.25s ease, color 0.25s ease;
}

/* Atmosphere — layered plaster, not flat fill */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 12% -10%, rgba(255, 252, 245, 0.7), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, rgba(198, 190, 175, 0.28), transparent 50%),
    radial-gradient(70% 50% at 70% 100%, rgba(166, 19, 92, 0.04), transparent 55%),
    linear-gradient(180deg, var(--canvas) 0%, var(--canvas-deep) 100%);
  pointer-events: none;
}

html.night body::before {
  background:
    radial-gradient(100% 70% at 8% -5%, rgba(240, 238, 232, 0.06), transparent 50%),
    radial-gradient(80% 60% at 100% 10%, rgba(47, 168, 225, 0.05), transparent 45%),
    linear-gradient(180deg, #151517 0%, #0e0e10 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html.night body::after {
  opacity: 0.07;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.wrap-narrow {
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
}

/* —— Nav —— */
.site-nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 18px;
  animation: rise 0.7s ease both;
}

.wordmark {
  position: relative;
  display: inline-block;
  font-weight: 900;
  font-size: 21px;
  line-height: 0.95;
  letter-spacing: -0.8px;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-weight: 600;
  font-size: 13px;
  color: var(--grey);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-chip {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border: none;
}

.mode-btn {
  width: 34px;
  height: 34px;
  border: 3px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lang-label {
  display: inline-flex;
  align-items: center;
}

.lang-select {
  height: 34px;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 0 8px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap-wide {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* —— Full-bleed hero cycle (MoMA: image first, copy below) —— */
.home-open {
  display: flex;
  flex-direction: column;
}

.hero-bleed {
  position: relative;
  width: 100%;
  background: #0c0c0c;
  overflow: hidden;
}

.hero-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  max-height: 78vh;
}

/* Same crop you made — full picture, studio ratio */
.hero-bleed--compact .hero-track {
  aspect-ratio: 2.35 / 1;
  min-height: 0;
  max-height: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}

.hero-slide.is-on {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* Desktop: first screen ends at the welcome divider; hero scales up (no crop) */
@media (min-width: 860px) {
  .home-open {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden; /* page breaks here — founder is the next scroll */
  }

  .home-open > .wrap {
    flex: 0 0 auto;
  }

  .home-open .site-nav {
    padding-top: 18px;
    padding-bottom: 10px;
  }

  .hero-bleed--compact {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    place-items: center;
    background: #0c0c0c;
    container-type: size;
  }

  .hero-bleed--compact .hero-track {
    /* Largest 2.35:1 print that fits the leftover space — scale, never crop */
    aspect-ratio: 2.35 / 1;
    width: min(100cqw, calc(100cqh * 2.35));
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    background: #0c0c0c;
  }

  .hero-bleed--compact .hero-slide img {
    object-fit: contain; /* whole photo — scale, never trim */
  }

  .welcome-band {
    flex: 0 0 auto;
    padding-top: 22px;
  }

  .welcome-band .wrap {
    padding-bottom: 28px;
  }
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  background: rgba(240, 238, 232, 0.45);
  cursor: pointer;
}

.hero-dots button.is-on {
  background: #f0eee8;
}

.welcome-band {
  padding: 40px 0 0;
  border-bottom: none;
}

.welcome-band .wrap {
  padding-bottom: 48px;
  /* Match living-archive rule width (getty-inner) */
  width: min(1180px, calc(100% - 40px));
  border-bottom: 1px solid var(--ink);
}

.welcome-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 860px) {
  .welcome-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
    gap: 48px;
  }
}

.welcome-brand {
  margin-bottom: 18px;
  font-size: clamp(48px, 9vw, 88px);
}

.welcome-kicker {
  font-weight: 700;
  font-size: clamp(26px, 3.8vw, 40px);
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--ink);
}

.welcome-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.welcome-aside .hero-meta {
  margin-top: 0;
  margin-bottom: 8px;
  text-align: center;
}

.welcome-aside .cta-row {
  margin-top: 18px;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  /* Fixed width for every language — sized for the longest labels
     (NL “Het museum binnengaan” / “Van de oprichtster”). */
  width: 17rem;
  max-width: 100%;
  gap: 10px;
}

.welcome-aside .cta-row .btn-solid,
.welcome-aside .cta-row .btn-ghost {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: clamp(15px, 1.35vw, 17px);
  padding: 14px 20px;
  line-height: 1.25;
  white-space: nowrap;
}

/* Brand lockup — always caps, Geist 900 */
.brand-mark {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-style: normal;
}

.brand-mark--inline {
  letter-spacing: -0.03em;
}

.brand-mark--sub {
  font-size: 0.72em;
  letter-spacing: -0.02em;
}

/* Founder — copy + decorative art */
.founder-section {
  padding-top: 56px;
}

.founder-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .founder-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px 48px;
    align-items: start;
  }

  /* Let art share the story row so it sits with the body copy, not the headline */
  .founder-copy {
    display: contents;
  }

  .founder-section .section-eyebrow {
    grid-column: 1;
    grid-row: 1;
  }

  .founder-section .founder-copy > h2 {
    grid-column: 1;
    grid-row: 2;
  }

  .founder-story {
    grid-column: 1;
    grid-row: 3;
  }

  .founder-letter-link {
    grid-column: 1;
    grid-row: 4;
  }

  .founder-art {
    grid-column: 2;
    grid-row: 3 / 5;
    align-self: start;
    justify-self: end;
    max-width: none;
    width: min(100%, 560px);
  }
}

.founder-created {
  margin-top: 18px;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.6;
  color: var(--ink);
  max-width: 52ch;
}

.founder-created .brand-mark--inline {
  font-weight: 900;
}

.founder-letter-link {
  margin-top: 28px;
}

.founder-letter-link a {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Full warm letter — continuous prose + chromatic brand marks */
.letter-page {
  padding: 48px 0 80px;
}

.letter-wrap {
  max-width: 62ch;
}

.letter-wrap > p {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 18px;
}

.letter-section-break {
  border-top: 1px solid var(--grey);
  padding-top: 12px;
  margin: 32px 0 12px;
}

.letter-section-break h2 {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.2px;
  text-transform: none;
  margin: 0;
  color: var(--ink);
}

.letter-greeting {
  font-weight: 900 !important;
  font-size: 30px !important;
  letter-spacing: -0.6px !important;
  margin: 0 0 28px !important;
  color: var(--ink) !important;
}

.letter-created {
  font-weight: 400 !important;
  font-size: 17px !important;
}

.letter-standout,
.letter-pull-quote {
  font-weight: 300 !important;
  font-size: 22px !important;
  line-height: 1.3 !important;
  letter-spacing: -0.2px;
  margin: 28px 0 !important;
  padding: 0 16px;
  color: var(--ink) !important;
}

.letter-signoff {
  margin-top: 44px;
}

.letter-never-stop {
  font-weight: 700 !important;
  font-size: 18px !important;
  margin-bottom: 14px !important;
}

.letter-closing {
  font-weight: 300 !important;
  font-style: italic;
  font-size: 16px !important;
  color: var(--grey) !important;
  margin: 0 0 4px !important;
}

.letter-sign-name {
  font-weight: 900 !important;
  font-size: 22px !important;
  margin: 0 0 6px !important;
}

.letter-sign-role {
  font-family: "Geist Mono", ui-monospace, monospace !important;
  font-size: 10px !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey) !important;
  margin-bottom: 2.5em !important;
}

.letter-back {
  margin-top: 36px;
}

.letter-back a {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--grey);
}

/* Chromatic emphasis from founders-letter mock */
.lift {
  font-weight: 700;
}

.definition {
  font-style: italic;
}

.c-red {
  font-weight: 700;
  color: #c8493c;
}

.c-orange {
  font-weight: 700;
  color: #d97f35;
}

.c-yellow {
  font-weight: 700;
  color: #bf9a2e;
}

.c-green {
  font-weight: 700;
  color: #4c9a5b;
}

.c-blue {
  font-weight: 700;
  color: #3b7fc4;
}

.c-purple {
  font-weight: 700;
  color: #7c5cc7;
}

.c-rainbow {
  font-weight: 700;
  background: linear-gradient(
    90deg,
    #c8493c,
    #d97f35,
    #bf9a2e,
    #4c9a5b,
    #3b7fc4,
    #7c5cc7
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.night .c-red,
html.night .c-orange,
html.night .c-yellow,
html.night .c-green,
html.night .c-blue,
html.night .c-purple {
  filter: brightness(1.15);
}

.founder-created .brand-mark {
  display: inline;
  font-size: inherit;
}

.founder-art {
  margin: 0;
  max-width: 440px;
}

@media (min-width: 900px) {
  .founder-art {
    /* After margin: 0 above — match .section .lede so image top hits the first line of copy */
    margin-top: 14px;
  }
}

.founder-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #e4e0d6;
}

.site-placard {
  margin-top: 14px;
  max-width: none;
}

.site-placard .placard-artist {
  font-size: 14px;
}

.site-placard .placard-title {
  font-size: 14px;
  margin-top: 3px !important;
}

.site-placard .placard-medium {
  font-size: 12px;
  margin-top: 3px !important;
}

.site-placard--on-gilt {
  color: var(--gilt-ink);
}

.site-placard--on-gilt .placard-medium {
  color: rgba(28, 24, 18, 0.72);
}

html.night .site-placard--on-gilt .placard-medium {
  color: rgba(240, 238, 232, 0.7);
}

.founder-grid {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* Inset color bands — content width like MoMA, not full-bleed */
.getty-band {
  width: min(1080px, calc(100% - 40px));
  margin: 40px auto 0;
  padding: 36px 28px 40px;
  box-sizing: border-box;
}

.getty-band.gilt {
  background: var(--gilt);
  color: var(--gilt-ink);
}

.getty-title {
  font-weight: 900;
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: -0.9px;
  line-height: 1.05;
  padding: 0 0 22px;
  max-width: 16ch;
}

.getty-split {
  display: grid;
  gap: 28px;
  margin-top: 0;
  align-items: start;
}

@media (min-width: 860px) {
  .getty-split {
    grid-template-columns: minmax(0, 640px) 1fr;
    gap: 48px;
  }
}

.getty-media {
  position: relative;
  margin: 0;
  width: min(100%, 640px);
}

.getty-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  background: rgba(0, 0, 0, 0.12);
}

.getty-lockup {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: #f0eee8;
  line-height: 0.95;
  font-size: clamp(18px, 2.5vw, 26px);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.getty-copy p {
  font-size: 16px;
  line-height: 1.55;
  max-width: 40ch;
  margin: 0 0 16px;
}

.getty-cta {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--gilt-ink);
}

/* Separated color boxes (space between gilt / wine) */
.color-box--spaced {
  margin-top: 48px;
}

.color-box--spaced + .color-box--spaced,
.section + .color-box--spaced {
  margin-top: 48px;
}

.getty-band + .section {
  margin-top: 8px;
}

/* Walk the wings — show each crop as framed, no forced re-crop */
.wings-art {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin: 36px 0 28px;
  align-items: end;
}

@media (min-width: 720px) {
  .wings-art {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.wings-art figure {
  margin: 0;
}

.wings-art img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  background: #e4e0d6;
}

/* —— MoMA-style color boxes —— */
.color-bars {
  display: flex;
  flex-direction: column;
}

.color-box {
  width: min(1080px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
  padding: 36px 28px;
  box-sizing: border-box;
}

.color-box.gilt {
  background: var(--gilt);
  color: var(--gilt-ink);
}

.color-box.wine {
  background: var(--wine);
  color: #f0eee8;
}

.color-box.ink {
  background: var(--ink);
  color: #f0eee8;
}

.color-box-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 800px) {
  .color-box-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: start;
  }
}

.color-box-grid--with-art {
  gap: 28px;
}

@media (min-width: 800px) {
  .color-box-grid--with-art {
    grid-template-columns: minmax(0, 420px) 1fr;
    gap: 48px;
    align-items: center;
  }

  .color-box-grid--art-end {
    grid-template-columns: 1fr minmax(0, 420px);
  }
}

.color-box-art {
  margin: 0;
  max-width: 420px;
}

.color-box-art img {
  width: 100%;
  height: auto;
  display: block;
  background: rgba(0, 0, 0, 0.18);
}

.site-placard--on-wine {
  color: #f0eee8;
}

.site-placard--on-wine .placard-medium,
.site-placard--on-wine .placard-accession {
  color: rgba(240, 238, 232, 0.72);
}

.color-box-title {
  font-weight: 900;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.9px;
  line-height: 1.05;
  max-width: 14ch;
}

.color-box-body p {
  font-size: 16px;
  line-height: 1.55;
  max-width: 42ch;
  opacity: 0.95;
}

.color-box-body a {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.color-box.gilt a {
  color: var(--gilt-ink);
}

.color-box.wine a {
  color: #f0eee8;
}

.color-box.ink a {
  color: #f0eee8;
}

/* —— Art wall (hung works) —— */
.art-wall {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 28px;
  margin-top: 40px;
}

@media (min-width: 700px) {
  .art-wall {
    grid-template-columns: 1fr 1fr;
  }
}

.art-plate img {
  width: 100%;
  height: auto;
  display: block;
  background: #ddd9cf;
}

.plate-acc {
  margin-top: 14px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--grey);
}

.plate-title {
  margin-top: 6px;
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.plate-meta {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink);
}

.plate-coll {
  margin-top: 6px;
  font-size: 13px;
  color: var(--grey);
}

/* —— SFMOMA editorial pairs —— */
.editorial {
  padding: 24px 0 72px;
}

.editorial-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 800px) {
  .editorial-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

.editorial-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 18px;
}

.editorial-card h3 {
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.5px;
  margin: 6px 0 10px;
}

.editorial-card p {
  color: var(--grey);
  font-size: 16px;
  line-height: 1.55;
  max-width: 40ch;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— Hero (legacy text-only; kept for doc pages) —— */
.hero {
  padding: 48px 0 64px;
  animation: rise 0.85s 0.08s ease both;
}

.hero-brand {
  position: relative;
  display: inline-block;
  font-weight: 900;
  font-size: clamp(56px, 12vw, 104px);
  line-height: 0.95;
  letter-spacing: -1.6px;
  color: var(--ink);
  margin-bottom: 28px;
}

/* Chromatic / slice glitch — Geist stays; no alternate typeface */
[data-glitch].glitching {
  animation: alma-glitch 450ms steps(2, jump-none) both;
  text-shadow:
    -2px 0 var(--blue),
    2px 0 var(--wine);
}

[data-glitch].glitching.glitch-stutter {
  animation-duration: 220ms;
}

@keyframes alma-glitch {
  0% {
    transform: translate(0);
    clip-path: inset(0 0 0 0);
  }
  15% {
    transform: translate(-3px, 1px);
    clip-path: inset(12% 0 58% 0);
  }
  30% {
    transform: translate(3px, -1px);
    clip-path: inset(48% 0 18% 0);
  }
  45% {
    transform: translate(-2px, 0);
    clip-path: inset(0 0 0 0);
  }
  60% {
    transform: translate(2px, 1px);
    clip-path: inset(28% 0 42% 0);
  }
  75% {
    transform: translate(-1px, -1px);
  }
  100% {
    transform: translate(0);
    clip-path: inset(0 0 0 0);
    text-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-glitch].glitching {
    animation: none;
    text-shadow: -1px 0 var(--blue), 1px 0 var(--wine);
  }
}

.hero-line {
  font-weight: 300;
  font-size: clamp(22px, 3.4vw, 32px);
  letter-spacing: -0.4px;
  line-height: 1.25;
  color: var(--ink);
  max-width: 18ch;
}

.hero-sub {
  margin-top: 16px;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--grey);
  max-width: 38ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn-solid {
  display: inline-block;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 22px;
  border: 3px solid var(--ink);
  transition: transform 0.2s ease, background 0.15s ease;
}

.btn-solid:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 22px;
  border: 3px solid var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--on-ink);
}

.hero-meta {
  margin-top: 18px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--grey);
}

.rule {
  height: 2px;
  background: var(--ink);
  border: 0;
  margin: 0;
}

.rule-soft {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* —— Sections —— */
.section {
  padding: 72px 0;
  animation: rise 0.8s ease both;
}

.section-eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 14px;
}

.section h2 {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.8px;
  line-height: 1.1;
  color: var(--ink);
  max-width: 18ch;
}

.section .lede {
  margin-top: 14px;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--grey);
  max-width: 52ch;
}

.pull {
  margin-top: 36px;
  font-weight: 300;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.6px;
  line-height: 1.2;
  color: var(--ink);
  max-width: 16ch;
}

.prose p {
  margin-bottom: 16px;
  color: var(--ink);
  max-width: 58ch;
}

.prose p:last-child {
  margin-bottom: 0;
}

.definition {
  font-style: italic;
}

.lift {
  font-weight: 700;
}

/* Split about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (min-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }
}

.about-block h3 {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.about-block p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

.about-block p + p {
  margin-top: 14px;
}

.about-block .stanza {
  margin-top: 14px;
  line-height: 1.55;
}

.about-block .stanza-lead {
  font-weight: 700;
  margin-bottom: 10px;
}

.about-block .brand-mark--inline {
  font-weight: 900;
}

/* Stack ALMA / INFANTIA definitions with no gap so columns balance */
.about-block .etymology-line {
  margin: 0;
}

.about-block .etymology-def {
  font-style: italic;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.about-block .etymology-def + .etymology-line {
  margin-top: 0;
}

.about-block .etymology-def + .stanza,
.about-block .etymology-def + .about-verse {
  margin-top: 14px !important;
}

.about-block .about-verse {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
  max-width: 100%;
  white-space: normal;
}

.about-block .definition {
  font-style: italic;
}

/* Promise strip */
.promise {
  padding: 56px 0;
}

.promise-inner {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 40px 0;
}

.promise h2 {
  font-weight: 900;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -1px;
  line-height: 1.05;
  max-width: 14ch;
}

.promise p {
  margin-top: 16px;
  max-width: 46ch;
  color: var(--grey);
}

/* Preview band */
.preview-band {
  padding: 80px 0;
  text-align: left;
}

.preview-band h2 {
  font-weight: 900;
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: -1.2px;
  line-height: 0.98;
  max-width: 14ch;
}

.preview-band h2 .brand-mark {
  letter-spacing: -0.04em;
}

.preview-band .whisper {
  margin-top: 10px;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.preview-band .lede {
  margin-top: 16px;
}

/* Doc pages */
.doc-hero {
  padding: 36px 0 28px;
  animation: rise 0.7s ease both;
}

.doc-hero h1 {
  font-weight: 900;
  font-size: clamp(36px, 6vw, 52px);
  letter-spacing: -1px;
  line-height: 1.05;
}

.doc-hero .lede {
  margin-top: 14px;
  color: var(--grey);
  max-width: 48ch;
}

.doc-updated {
  margin-top: 18px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--grey);
}

.doc-body {
  padding: 36px 0 80px;
  animation: rise 0.8s 0.05s ease both;
}

.doc-body h2 {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.3px;
  margin: 36px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.doc-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.doc-body p,
.doc-body li {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  max-width: 58ch;
}

.doc-body p + p {
  margin-top: 14px;
}

.doc-body ul {
  margin: 12px 0 0 1.1em;
}

.doc-body li + li {
  margin-top: 8px;
}

.support-contact {
  margin-top: 28px;
  padding: 28px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.support-contact h2 {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 8px;
}

.support-contact p {
  color: var(--grey);
  margin-bottom: 18px;
  max-width: 42ch;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.faq details:first-child {
  border-top: none;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-weight: 400;
  color: var(--grey);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin-top: 10px;
  color: var(--grey);
  font-size: 15px;
}

/* Membership — editorial museum guide (MoMA / SFMOMA spacing) */
.membership-page .doc-hero .membership-kicker {
  margin: 16px 0 0;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--grey);
  max-width: 42ch;
}

.membership-page .doc-hero h1 {
  margin-bottom: 0;
}

.membership-page .doc-hero .lede {
  margin-top: 16px;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.5;
}

.membership-page .doc-hero .lede + .membership-notify-form,
.membership-page .doc-hero .lede + .membership-notify-success {
  margin-top: 20px;
}

.membership-notify-cta {
  margin-top: 20px;
}

.membership-notify-form {
  margin-top: 20px;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.membership-notify-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.membership-notify-label {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--grey);
}

.membership-notify-field input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  padding: 0 14px;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 17px;
}

.membership-notify-field input[type="email"]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.membership-notify-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.membership-notify-fine {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--grey);
}

.membership-notify-fine a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.membership-notify-success {
  margin-top: 16px;
  padding: 14px 16px;
  border: 3px solid var(--ink);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.45;
  max-width: 36rem;
}

/* Swatch kit — provisional color study */
.membership-swatch {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 3%, var(--canvas));
}

.membership-swatch-title {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.membership-swatch-lede {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey);
  max-width: 52ch;
}

.membership-swatch-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .membership-swatch-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

.membership-swatch-chip {
  margin: 0;
  padding: 20px 16px 18px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  border: 2px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.membership-swatch-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.membership-swatch-use {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  opacity: 0.85;
}

.membership-swatch-hex {
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.75;
  margin-top: 6px;
}

.membership-swatch-chip--neon {
  background: var(--gallery-pass-bg);
  color: var(--gallery-neon);
  border-color: transparent;
}

.membership-swatch-chip--gilt {
  background: var(--tier-gilt-bg);
  color: var(--tier-gilt-fg);
}

.membership-swatch-chip--wine {
  background: var(--tier-wine-bg);
  color: var(--tier-wine-fg);
}

.membership-swatch-chip--blue {
  background: var(--tier-blue-bg);
  color: var(--tier-blue-fg);
}

.membership-page .membership-body {
  padding-top: 8px;
  padding-bottom: 72px;
}

.membership-page .membership-page-title,
.membership-page .membership-section > h2,
.membership-page .membership-founding > h2,
.membership-page .membership-pass-copy > h2,
.membership-page .membership-aside h2,
.membership-page .membership-gift-copy h2,
.membership-page .membership-shop h2 {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 36px);
  letter-spacing: -0.7px;
  line-height: 1.1;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  max-width: none;
}

/* Section breathing room; dense paragraphs inside */
.membership-section,
.membership-pass,
.membership-founding,
.membership-aside,
.membership-gift,
.membership-shop {
  margin-top: 80px;
  padding-top: 0;
}

.membership-pass--band {
  margin-top: 56px;
  padding: 36px 28px 40px;
  background: var(--gallery-pass-bg);
  color: var(--gallery-neon);
  box-sizing: border-box;
}

.membership-pass--band .section-eyebrow,
.membership-pass--band .membership-pass-eyebrow {
  color: color-mix(in srgb, var(--gallery-neon) 75%, #fff);
}

.membership-pass--band .membership-page-title,
.membership-pass--band .membership-pass-kicker,
.membership-pass--band .membership-pass-copy > p,
.membership-pass--band .membership-pass-label,
.membership-pass--band .membership-pass-note,
.membership-pass--band .membership-pass-conclude,
.membership-pass--band .membership-pass-features li {
  color: var(--gallery-neon);
  max-width: none;
}

.membership-pass--band .membership-pass-features li::before {
  color: var(--gallery-neon);
}

.membership-pass--band strong {
  color: #fff;
}

.membership-pass--band .membership-pass-cta.btn-solid {
  background: var(--gallery-neon);
  color: var(--gallery-pass-bg);
  border-color: var(--gallery-neon);
}

.membership-pass--band .membership-pass-cta.btn-solid:hover {
  filter: brightness(1.08);
}

.membership-pass-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .membership-pass-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
  }
}

.membership-pass-media {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .membership-pass-media {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .membership-pass-media {
    grid-template-columns: 1fr;
  }
}

.membership-card-mock {
  margin: 0;
  aspect-ratio: 1.65 / 1;
  padding: 18px 18px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  box-sizing: border-box;
  border: 0;
  position: relative;
  overflow: hidden;
}

.membership-card-mock img {
  grid-column: 2;
  grid-row: 1 / 3;
  width: min(42%, 108px);
  height: auto;
  justify-self: end;
  align-self: center;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

.membership-card-brand {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-weight: 800;
  font-size: clamp(11px, 1.6vw, 14px);
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
  max-width: 12ch;
}

.membership-card-role {
  grid-column: 1;
  grid-row: 3;
  margin: 0;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.membership-card-mock--orange {
  background: var(--member-orange);
}

.membership-card-mock--lavender {
  background: var(--member-lavender);
}

.membership-pass-kicker,
.membership-gift-lede,
.membership-shop-lede {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.5;
  margin: 0 0 14px;
  color: var(--grey);
  max-width: 52ch;
}

.membership-pass-label,
.membership-gift-label,
.membership-shop-label {
  margin: 18px 0 0;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
}

.membership-pass-features {
  margin: 20px 0 14px;
  padding: 0;
  list-style: none;
  max-width: 52ch;
}

.membership-pass-features li {
  position: relative;
  padding: 3px 0 3px 1.1em;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
}

.membership-pass-features li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--ink);
}

.membership-pass-copy > p,
.membership-section > p,
.membership-founding > p,
.membership-aside > p,
.membership-gift-copy > p,
.membership-shop > p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey);
  max-width: 58ch;
  margin: 0 0 14px;
}

.membership-pass-copy > p + p,
.membership-section > p + p,
.membership-founding > p + p,
.membership-gift-copy > p + p,
.membership-shop > p + p {
  margin-top: 0;
  margin-bottom: 14px;
}

.membership-pass-note {
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
}

.membership-pass-conclude {
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  max-width: 58ch;
  color: var(--grey);
  font-size: 16px;
  line-height: 1.5;
}

.membership-intro {
  font-size: 16px;
  line-height: 1.5;
  max-width: 58ch;
  margin: 0 0 14px;
  color: var(--grey);
}

.membership-intro + .membership-intro {
  margin-top: 0;
}

.membership-section-intro {
  display: grid;
  gap: 24px;
  align-items: start;
  margin-bottom: 8px;
}

@media (min-width: 900px) {
  .membership-section-intro {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 36px;
  }
}

.membership-section-art {
  margin: 0;
}

.membership-section-art img {
  display: block;
  width: 100%;
  height: auto;
  background: color-mix(in srgb, var(--ink) 6%, var(--canvas));
}

/* SFMOMA-style stacked tier rows */
.membership-tier-list {
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.membership-tier-row {
  margin: 0;
  padding: 22px 22px 20px;
  border: 0;
}

.membership-tier-row--gilt {
  background: var(--tier-gilt-bg);
  color: var(--tier-gilt-fg);
}

.membership-tier-row--wine {
  background: var(--tier-wine-bg);
  color: var(--tier-wine-fg);
}

.membership-tier-row--blue {
  background: var(--tier-blue-bg);
  color: var(--tier-blue-fg);
}

.membership-tier-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin: 0 0 16px;
}

.membership-tier-row h3 {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.5px;
  margin: 0;
  line-height: 1.1;
  color: inherit;
}

.membership-tier-price-line {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  color: inherit;
  opacity: 0.9;
}

.membership-tier-price-line span + span {
  font-weight: 500;
  opacity: 0.75;
  margin-left: 0.35em;
}

.membership-tier-lede {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 8px;
  color: inherit;
  max-width: 58ch;
}

.membership-tier-sub {
  font-size: 15px;
  font-style: italic;
  line-height: 1.45;
  margin: 0;
  color: inherit;
  opacity: 0.88;
  max-width: 58ch;
}

.membership-tier-features {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  max-width: 52ch;
}

.membership-tier-features li {
  position: relative;
  padding: 2px 0 2px 1em;
  font-size: 15px;
  line-height: 1.4;
  color: inherit;
}

.membership-tier-features li::before {
  content: "·";
  position: absolute;
  left: 0;
}

.membership-subhead {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  margin: 28px 0 16px;
  color: inherit;
}

.membership-founding--gilt {
  padding: 36px 28px 40px;
  background: var(--gilt);
  color: var(--gilt-ink);
  box-sizing: border-box;
}

.membership-founding--gilt > h2,
.membership-founding--gilt > p,
.membership-founding--gilt .membership-pass-label,
.membership-founding--gilt .membership-pass-features li,
.membership-founding--gilt .membership-subhead {
  color: var(--gilt-ink);
}

.membership-founding--gilt .membership-pass-features li::before {
  color: var(--gilt-ink);
}

.membership-founding--gilt .membership-founding-counter {
  color: color-mix(in srgb, var(--gilt-ink) 70%, transparent);
}

.membership-founding--gilt .membership-rate-table-wrap {
  border-color: var(--gilt-ink);
  background: color-mix(in srgb, #fff 35%, transparent);
}

.membership-founding--gilt .membership-rate-table th,
.membership-founding--gilt .membership-rate-table td {
  color: var(--gilt-ink);
  border-bottom-color: color-mix(in srgb, var(--gilt-ink) 22%, transparent);
}

.membership-founding--gilt .membership-rate-table thead th {
  background: color-mix(in srgb, var(--gilt-ink) 8%, transparent);
  color: color-mix(in srgb, var(--gilt-ink) 75%, transparent);
}

.membership-founding-counter {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 14px;
  max-width: none;
}

.membership-rate-table-wrap {
  overflow-x: auto;
  margin: 12px 0 0;
  border: 2px solid var(--ink);
  max-width: 40rem;
}

.membership-rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.membership-rate-table th,
.membership-rate-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  color: var(--ink);
}

.membership-rate-table thead th {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 500;
  background: color-mix(in srgb, var(--ink) 5%, var(--canvas));
  color: var(--grey);
}

.membership-rate-table tbody th {
  font-weight: 700;
}

.membership-rate-table td {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.membership-rate-table tbody tr:last-child th,
.membership-rate-table tbody tr:last-child td {
  border-bottom: 0;
}

.membership-aside,
.membership-gift,
.membership-shop {
  padding-top: 0;
  border-top: 0;
}

.membership-gift--split {
  margin-top: 88px;
}

.membership-gift-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 900px) {
  .membership-gift-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 40px;
  }
}

.membership-gift-art {
  margin: 0;
}

.membership-gift-art img {
  display: block;
  width: 100%;
  height: auto;
  background: color-mix(in srgb, var(--ink) 6%, var(--canvas));
}

.membership-gift-quote {
  margin: 16px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--ink);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
  max-width: 40rem;
}

.membership-gift-quote p {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  max-width: none;
}

.membership-gift-quote p + p {
  margin-top: 6px;
}

.membership-gift-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 20px 0 14px;
  padding: 0;
  list-style: none;
}

.membership-gift-terms li {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

.membership-shop-list {
  margin: 20px 0 14px;
  padding: 0;
  list-style: none;
  columns: 1;
  max-width: 48rem;
}

@media (min-width: 700px) {
  .membership-shop-list {
    columns: 2;
    column-gap: 40px;
  }
}

.membership-shop-list li {
  break-inside: avoid;
  padding: 2px 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
}

.membership-shop-note {
  color: var(--grey);
  font-size: 16px;
  line-height: 1.5;
  max-width: 58ch;
}

.membership-back {
  margin-top: 72px;
  font-size: 15px;
  color: var(--grey);
}

.membership-back a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html.night .membership-pass--band {
  background: #0a0a0c;
}

html.night .membership-tier-row--gilt,
html.night .membership-tier-row--wine,
html.night .membership-tier-row--blue,
html.night .membership-swatch-chip--gilt,
html.night .membership-swatch-chip--wine,
html.night .membership-swatch-chip--blue {
  /* keep pastel washes readable on night canvas */
  filter: none;
}

html.night .membership-founding--gilt {
  background: var(--gilt);
  color: var(--gilt-ink);
}

/* Preview empty / locked state */
.museum-gate {
  padding: 64px 0 96px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: rise 0.8s ease both;
}

.museum-gate .lockup {
  font-weight: 900;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.8px;
  line-height: 1.05;
}

.museum-gate .lockup span {
  display: block;
  font-weight: 300;
  font-size: 0.72em;
  margin-top: 4px;
}

.museum-gate .status {
  margin-top: 20px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--grey);
}

.museum-gate p {
  margin-top: 16px;
  max-width: 42ch;
  color: var(--grey);
}

.museum-hint {
  margin-top: 28px !important;
  font-size: 13px !important;
  max-width: 48ch !important;
}

/* Museum curator shell */
.museum-shell {
  padding-bottom: 64px;
}

.museum-busy {
  position: fixed;
  inset: auto 16px 16px auto;
  z-index: 80;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--canvas);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.museum-topbar {
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  padding: 10px 0 14px;
  margin-bottom: 10px;
}

.museum-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: end;
  justify-content: space-between;
}

.museum-title {
  font-weight: 900;
  font-size: clamp(18px, 2.6vw, 26px);
  letter-spacing: -0.55px;
  line-height: 1.1;
  margin: 4px 0 0;
}

.museum-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.museum-text-size {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 3px solid var(--ink);
  background: var(--canvas);
}

.museum-text-size-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.museum-text-size-btn + .museum-text-size-btn {
  border-left: 3px solid var(--ink);
}

.museum-text-size-btn:hover:not(:disabled),
.museum-text-size-btn:focus-visible:not(:disabled) {
  background: color-mix(in srgb, var(--ink) 8%, var(--canvas));
}

.museum-text-size-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.museum-text-size-a {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.museum-text-size-a--sm {
  font-size: 12px;
}

.museum-text-size-a--lg {
  font-size: 18px;
}

/* Museum reading scale — baby A / big A (default → large → extra large) */
:root {
  --museum-type-scale: 1;
}

html[data-museum-text="lg"] {
  --museum-type-scale: 1.28;
}

html[data-museum-text="xl"] {
  --museum-type-scale: 1.55;
}

.museum-wall-view {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 28px;
}

.museum-wall-view--app {
  gap: 0;
}

.museum-retro-stamp {
  padding: 8px 0 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  margin-bottom: 4px;
}

.museum-stamp {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--grey);
  margin: 0 0 6px;
}

.museum-stamp-title {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}

.museum-stamp-meta {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--grey);
  margin: 0;
  text-transform: uppercase;
}

.museum-artist-section {
  padding: 18px 0 8px;
}

.museum-artist-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
}

.museum-artist-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.museum-artist-name {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 900;
  font-size: calc(22px * var(--museum-type-scale));
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.museum-artist-name:hover,
.museum-artist-name:focus-visible {
  color: var(--visit, #2fa8e1);
}

.museum-artist-meta {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: calc(12px * var(--museum-type-scale));
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--grey);
  margin: 6px 0 0;
}

.museum-artist-intro {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 400;
  font-size: calc(15px * var(--museum-type-scale));
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: var(--grey);
  margin: 8px 0 0;
  max-width: min(62ch, 100%);
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.exhibit-intro {
  font-family: "Geist", system-ui, sans-serif;
  font-size: calc(16px * var(--museum-type-scale));
  line-height: 1.55;
  max-width: min(54ch, 100%);
  margin: 0 0 20px;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.museum-artist-count {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--grey);
  margin: 0;
  text-align: right;
  flex-shrink: 0;
  text-transform: uppercase;
}

.museum-wing-empty {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--grey);
}

.museum-wing-lane {
  /* Artwork bleeds toward the screen edge; titles stay in .wrap above */
  --wing-gap: 12px;
  --wing-visible: 3.25;
  --wing-inline-pad: 12px;
  --wing-size: calc(
    (100vw - (2 * var(--wing-inline-pad)) - ((var(--wing-visible) - 1) * var(--wing-gap))) /
      var(--wing-visible)
  );
  display: flex;
  flex-wrap: nowrap;
  gap: var(--wing-gap);
  overflow-x: auto;
  padding: 16px var(--wing-inline-pad) 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

@media (min-width: 700px) {
  .museum-wing-lane {
    --wing-visible: 5;
    --wing-gap: 14px;
    --wing-inline-pad: 16px;
  }
}

@media (min-width: 1000px) {
  .museum-wing-lane {
    --wing-visible: 8;
    --wing-gap: 16px;
    --wing-inline-pad: 20px;
  }
}

.wing-thumb {
  flex: 0 0 auto;
  width: var(--wing-size);
}

.wing-thumb-hit {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-family: "Geist", system-ui, sans-serif;
}

.wing-thumb-frame {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  background: color-mix(in srgb, var(--grey) 13%, var(--canvas));
  overflow: hidden;
}

.wing-thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wing-thumb-title {
  display: block;
  margin-top: 8px;
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 600;
  font-size: calc(clamp(12px, 1.05vw, 14px) * var(--museum-type-scale));
  line-height: 1.25;
  color: var(--ink);
}

.wing-thumb-meta {
  display: block;
  margin-top: 3px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: calc(8.5px * var(--museum-type-scale));
  letter-spacing: 0.8px;
  color: var(--grey);
  text-transform: uppercase;
}

.wing-thumb-edit {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.museum-gallery--app {
  padding-bottom: 56px;
}

.exhibit-head {
  padding-top: 4px;
}

.exhibit-eyebrow {
  margin: 18px 0 8px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 1.8px;
  color: var(--grey);
  text-transform: uppercase;
}

.exhibit-title {
  font-weight: 900;
  font-size: clamp(24px, 3.5vw, 32px);
  letter-spacing: -0.6px;
  line-height: 1.1;
  margin: 0 0 10px;
}

.exhibit-meta-line {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--grey);
  text-transform: uppercase;
  margin: 0 0 18px;
}

.exhibit-meta-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0 0 20px;
  padding: 14px 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

@media (min-width: 700px) {
  .exhibit-meta-block {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.exhibit-meta-block dt {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 1px;
  color: var(--grey);
  text-transform: uppercase;
  margin: 0 0 3px;
}

.exhibit-meta-block dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.exhibit-controls {
  margin: 8px 0 18px;
}

.exhibit-curate-actions {
  margin: 0 0 18px;
}

.exhibit-mode-toggle {
  display: inline-flex;
  border: 3px solid var(--ink);
}

.exhibit-mode-btn {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.exhibit-mode-btn + .exhibit-mode-btn {
  border-left: 3px solid var(--ink);
}

.exhibit-mode-btn.is-on {
  background: var(--ink);
  color: var(--canvas);
}

.exhibit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px 16px 28px;
}

@media (min-width: 900px) {
  .exhibit-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 16px 20px 36px;
  }
}

.exhibit-grid-cell {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: #e4e0d6;
  cursor: pointer;
  overflow: hidden;
}

.exhibit-grid-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.exhibit-grid-index {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--canvas);
  background: rgba(21, 21, 23, 0.55);
  padding: 3px 6px;
}

.exhibit-gallery-stage {
  display: flex;
  flex-direction: column;
  width: 100%;
  /* Reserve space under topbar so each slide can fill the screen */
  min-height: calc(100dvh - 5.5rem);
}

.exhibit-gallery-track {
  display: flex;
  flex: 1 1 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0;
}

.exhibit-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 8px 16px 4px;
  min-height: calc(100dvh - 9.5rem);
}

.exhibit-slide-stack {
  --gallery-chrome: 9.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(100%, calc(100vw - 2rem), calc(100dvh - var(--gallery-chrome)));
  max-width: 100%;
}

.exhibit-slide-frame {
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 1;
  max-height: calc(100dvh - var(--gallery-chrome));
  border: 3px solid var(--ink);
  background: #e4e0d6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 1 auto;
}

.exhibit-slide-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.exhibit-slide .museum-placard {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  margin: 12px 0 0;
}

.exhibit-slide .plate-edit {
  align-self: flex-start;
}

.exhibit-gallery-footer {
  flex: 0 0 auto;
  margin: 8px 0 0;
  padding: 10px 16px 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--grey);
  text-transform: uppercase;
  text-align: center;
}

.museum-placard {
  margin-top: 12px;
  max-width: 36ch;
}

.museum-placard p {
  margin: 0;
}

.placard-artist {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.1px;
}

.placard-title {
  font-weight: 500;
  font-style: italic;
  font-size: 15px;
  letter-spacing: -0.2px;
  line-height: 1.25;
  margin-top: 4px !important;
}

.museum-placard--classic .placard-title {
  font-weight: 400;
  font-size: 14px;
}

.museum-placard--minimal .placard-title {
  font-size: 14px;
}

.placard-medium,
.placard-catalog,
.placard-accession {
  margin-top: 4px !important;
  font-size: 12px;
  color: var(--grey);
}

.placard-catalog,
.placard-accession {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.museum-placard--classic .placard-accession,
.museum-placard--minimal .placard-accession {
  font-size: 9px;
  letter-spacing: 1px;
}

.plate-edit {
  margin-top: 10px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: none;
  border: 0;
  padding: 0;
  color: var(--grey);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.museum-admin {
  padding-bottom: 64px;
}

.museum-admin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.museum-admin-row input,
.museum-field input,
.museum-field select,
.museum-modal-actions select {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  background: var(--canvas);
  color: var(--ink);
  min-width: 200px;
}

.museum-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.museum-coll-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.museum-coll-row,
.museum-coll-list > li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

.museum-coll-row {
  transition: background 0.12s ease, opacity 0.12s ease;
}

.museum-coll-row.is-dragging {
  opacity: 0.45;
}

.museum-coll-row.is-drop-target {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.museum-coll-handle {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--grey);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 14px;
  letter-spacing: -2px;
  line-height: 1;
  padding: 8px 6px;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.museum-coll-handle:active {
  cursor: grabbing;
}

.museum-coll-main {
  flex: 1 1 auto;
  min-width: 0;
}

.museum-coll-row span {
  display: block;
  font-size: 13px;
  color: var(--grey);
  font-weight: 400;
}

.museum-coll-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.museum-work-edit {
  display: grid;
  gap: 28px;
  margin-top: 24px;
}

@media (min-width: 800px) {
  .museum-work-edit {
    grid-template-columns: minmax(0, 360px) 1fr;
    align-items: start;
  }
}

.museum-work-preview img {
  width: 100%;
  height: auto;
  display: block;
  background: #e4e0d6;
}

.museum-modal[hidden] {
  display: none !important;
}

.museum-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(21, 21, 23, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.museum-modal-panel {
  background: var(--canvas);
  color: var(--ink);
  width: min(720px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 24px;
}

.museum-crop-stage {
  margin: 16px 0;
  max-height: 50vh;
  background: #111;
}

.museum-crop-stage img {
  display: block;
  max-width: 100%;
}

.museum-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
}

.museum-shell.is-frozen .museum-topbar .section-eyebrow {
  color: var(--wine, #a6135c);
}

/* Footer */
.site-footer {
  border-top: 2px solid var(--ink);
  padding: 36px 0 56px;
  margin-top: 24px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 900;
  font-size: 18px;
  line-height: 0.95;
  letter-spacing: -0.6px;
}

.footer-logo {
  width: 64px;
  height: 64px;
  display: block;
  flex-shrink: 0;
}

.footer-brand-type {
  display: block;
  line-height: 0.95;
  letter-spacing: -0.6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links a {
  font-weight: 600;
  font-size: 13px;
  color: var(--grey);
}

.footer-links a:hover {
  color: var(--ink);
}

.colophon {
  margin-top: 28px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--grey);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .wrap,
  .wrap-narrow {
    width: calc(100% - 32px);
  }

  .site-nav {
    padding-top: 20px;
  }

  .hero {
    padding-top: 28px;
  }

  .section {
    padding: 56px 0;
  }

  /* Match night-mode control: square 34×34 language chip in the nav */
  .lang-select {
    width: 34px;
    min-width: 34px;
    padding: 0;
    text-align: center;
    text-align-last: center;
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .lang-label {
    flex-shrink: 0;
  }
}

/* Mobile homepage: whale fin immediately after the intro / Enter the museum */
@media (max-width: 899px) {
  .founder-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .founder-copy {
    order: 2;
  }

  .founder-art {
    order: 1;
    max-width: none;
    width: 100%;
  }

  .founder-section {
    padding-top: 40px;
  }
}
