/* ==========================================================================
   The Slip — Insurance Museum campaign site
   Plain CSS port of the site's design system (no frameworks).
   ========================================================================== */

:root {
  --radius: 0.375rem;
  --background: oklch(0.115 0 0);
  --foreground: oklch(0.98 0 0);
  --card: oklch(0.17 0 0);
  --card-foreground: oklch(0.98 0 0);
  --primary: oklch(0.79 0.185 116);
  --primary-foreground: oklch(0.115 0 0);
  --secondary: oklch(0.22 0 0);
  --secondary-foreground: oklch(0.98 0 0);
  --muted: oklch(0.19 0 0);
  --muted-foreground: oklch(0.69 0 0);
  --accent: oklch(0.23 0 0);
  --accent-foreground: oklch(0.98 0 0);
  --border: oklch(0.3 0 0);
  --input: oklch(0.3 0 0);
  --ring: var(--primary);
  --popover: var(--card);
  --popover-foreground: var(--foreground);
  --destructive: oklch(0.704 0.191 22.216);
  --hero-shade: oklch(0.08 0 0 / 24%);
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--primary); color: var(--primary-foreground); }

/* ---------- Utilities ---------- */
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.bg-muted { background: var(--muted); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.nowrap { white-space: nowrap; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-7 { margin-top: 28px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.pb-10 { padding-bottom: 40px; }
.pb-12 { padding-bottom: 48px; }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.shrink { flex-shrink: 0; }
.measure { max-width: 56rem; }
.text-sm { font-size: 14px; }

.page-width { max-width: 1280px; margin: 0 auto; padding-left: 64px; padding-right: 64px; }
.section { padding-top: 95px; padding-bottom: 95px; }
.section-tight-bottom { padding-bottom: 40px; }
.section-title { font-size: 44px; line-height: 1.16; font-weight: 500; margin-top: 20px; }
.sub-title { font-size: 44px; line-height: 1.16; font-weight: 500; }
.section-copy { font-size: 16px; line-height: 1.8; color: var(--muted-foreground); }
.body-copy { font-size: 16px; line-height: 1.75; }
.caption { font-size: 12px; color: var(--muted-foreground); margin-top: 12px; }
.caption-portrait { margin-top: 16px; }

.eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 25px; height: 2px; background: var(--primary); flex-shrink: 0; }

.icon { width: 18px; height: 18px; flex-shrink: 0; }
.icon-sm { width: 15px; height: 15px; }
.icon-xs { width: 11px; height: 11px; }
.icon-xl { width: 40px; height: 40px; }
.icon-inline { display: inline; vertical-align: -1px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--radius);
  font-weight: 600; font-size: 14px; border: 1px solid transparent;
  text-decoration: none; transition: background-color .2s ease;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); }
.btn-icon {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: none; border: 0; color: var(--foreground);
}
.btn-square {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius);
  background: var(--primary); color: var(--primary-foreground); border: 1px solid var(--primary);
  transition: background-color .2s ease;
}
.btn-square:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); }

@keyframes wiggle { 0%,100% { transform: rotate(0deg); } 18% { transform: rotate(-1.7deg); } 38% { transform: rotate(1.4deg); } 58% { transform: rotate(-0.9deg); } 78% { transform: rotate(0.5deg); } }
.btn-wiggle { transform-origin: 50% 50%; }
.btn-wiggle:hover { animation: wiggle .45s ease-in-out; }

.link-small { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; }
.link-underline { text-decoration: underline; text-underline-offset: 4px; }
.link-underline:hover { color: var(--primary); }
.link-primary { color: var(--primary); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  height: 96px; border-bottom: 1px solid var(--border); background: var(--background);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-link { display: inline-flex; }
.brand-logo { height: 80px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; color: var(--muted-foreground); }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu {
  position: absolute; top: 82px; left: 0; right: 0;
  background: var(--background); border-bottom: 1px solid var(--border);
  padding: 24px; z-index: 30; display: flex; flex-direction: column; gap: 24px;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  min-height: 690px; height: min(760px, calc(100svh - 88px));
  position: relative; overflow: hidden; display: flex; align-items: flex-start;
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 59%; will-change: transform; }
.hero::after { content: ''; position: absolute; inset: 0; background: var(--hero-shade); }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 76px; }
.hero-eyebrow { font-size: 13px; }
.hero h1 { font-size: 82px; line-height: 1.06; font-weight: 500; margin: 28px 0 20px; }
.hero h1 em { font-weight: 450; }
.hero-subtitle { font-size: 29px; font-weight: 450; }
.underline-primary { text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 8px; }
.hero-description { margin-top: 24px; max-width: 465px; font-size: 16px; line-height: 1.7; color: var(--foreground); }
.hero-actions { margin-top: 30px; display: flex; align-items: center; gap: 25px; }
.hero-bottom {
  position: absolute; z-index: 2; bottom: 26px; left: 0; right: 0;
  display: flex; justify-content: space-between; font-size: 13px; color: var(--foreground);
}

/* ---------- Reveal animations ---------- */
.reveal { animation: reveal .7s ease-out both; }
@keyframes reveal { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.scroll-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease-out, transform .8s ease-out; }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Doorway ---------- */
.split-end { display: flex; flex-direction: column; gap: 24px; }
.doorway-lede { font-size: 18px; line-height: 1.7; }
.lede-narrow { max-width: 24rem; }
.museum-frame { overflow: hidden; height: 460px; border-radius: 4px; }
.museum-image { width: 100%; height: 100%; object-fit: cover; will-change: transform; }

/* ---------- Lime bands ---------- */
.purpose-band { background: var(--primary); color: var(--primary-foreground); }
.purpose-band .eyebrow::before { background: currentColor; }
.purpose-band .section-copy { color: color-mix(in oklab, var(--primary-foreground) 76%, transparent); }
.purpose-band .text-muted { color: color-mix(in oklab, var(--primary-foreground) 76%, transparent); }
.purpose-band .text-primary { color: var(--primary-foreground); }
.purpose-band .quote-mark { filter: brightness(0) opacity(.8); }

.purpose-item { border-top: 1px solid var(--border); padding-top: 28px; }
.purpose-band .purpose-item { border-top-color: color-mix(in oklab, var(--primary-foreground) 22%, transparent); }
.purpose-item h3 { font-size: 30px; line-height: 1.28; margin: 20px 0 14px; font-weight: 500; }
.purpose-item p { font-size: 18px; line-height: 1.75; }
.purpose-band .purpose-item { opacity: 0; transform: translateY(26px); transition: opacity .8s ease-out, transform .8s ease-out; }
.purpose-band.is-visible .purpose-item { opacity: 1; transform: translateY(0); }
.purpose-band .purpose-item:nth-child(1) { transition-delay: 0s; }
.purpose-band .purpose-item:nth-child(2) { transition-delay: .18s; }
.purpose-band .purpose-item:nth-child(3) { transition-delay: .36s; }

/* ---------- Grids ---------- */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 36px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 48px; }
.grid-vision { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.grid-howard { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 56px 96px; }
  .split-end { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .grid-vision { grid-template-columns: 1.25fr 1fr; gap: 64px; }
  .grid-howard { grid-template-columns: 1fr 1.1fr; gap: 64px; }
}

/* ---------- Carousel ---------- */
.carousel-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel-item { flex: 0 0 82%; scroll-snap-align: start; }
.carousel-item img { pointer-events: none; }
.carousel-item figcaption { padding-top: 20px; }
.carousel-item h3 { font-size: 18px; font-weight: 500; }
.carousel-item figcaption p { font-size: 14px; color: var(--muted-foreground); margin-top: 4px; }
@media (min-width: 640px) { .carousel-item { flex-basis: calc(50% - 12px); } }
@media (min-width: 1024px) { .carousel-item { flex-basis: calc(33.333% - 16px); } }
.story-image { width: 100%; aspect-ratio: 1.48; object-fit: cover; user-select: none; }
.carousel-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 32px; border-top: 1px solid var(--border); padding-top: 20px;
}
.carousel-counter { font-size: 12px; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.carousel-buttons { display: flex; gap: 12px; }

/* ---------- Vision / CV ---------- */
.quote-img { width: 48px; height: 36px; object-fit: contain; margin-bottom: 20px; }
.quote-text { font-size: 30px; line-height: 1.5; font-weight: 450; }
.attribution { font-size: 14px; font-weight: 500; margin-top: 24px; }
.cv-block { border-top: 1px solid var(--primary); margin-top: 32px; padding-top: 28px; }
.cv-title { font-size: 18px; font-weight: 500; margin-bottom: 36px; }
.cv-list { margin: 0; }
.cv-item { border-top: 1px solid var(--border); padding: 12px 0; }
.cv-item:first-child { border-top: 0; padding-top: 0; }
.cv-item dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-foreground); }
.cv-item dd { margin: 3px 0 0; font-size: 14px; line-height: 1.45; }
.portrait-parallax-frame { overflow: hidden; height: clamp(420px, 52vw, 700px); border: 1px solid var(--border); border-radius: 4px; }
.portrait-parallax-img { width: 100%; height: 100%; object-fit: cover; object-position: 36% center; will-change: transform; }
.portrait-howard { object-position: 30% center; }
.portrait-figure { margin: 0; }

/* ---------- The Slip / sector words ---------- */
.target-row { display: flex; align-items: baseline; gap: 16px; margin-top: 32px; }
.target-figure { font-size: 60px; font-weight: 700; line-height: 1; }
.target-label { font-size: 14px; font-weight: 700; }
.sector-words { display: flex; flex-wrap: wrap; align-content: center; gap: 16px; font-size: 18px; }
.sector-word { position: relative; display: inline-block; }
.sector-word-ghost { visibility: hidden; font-weight: 600; white-space: nowrap; }
.sector-word-live {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  color: var(--primary-foreground); opacity: .7; font-weight: 400;
  transition: opacity .85s ease, font-weight .85s ease;
}
.sector-word-live.lit { opacity: 1; font-weight: 600; }
.sector-note { color: var(--primary-foreground); font-weight: 500; font-size: 14px; width: 100%; margin-top: 16px; }

/* ---------- Founder levels ---------- */
.founder-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 48px; }
.founder-item { border: 1px solid var(--border); background: var(--card); border-radius: 4px; padding: 24px 18px; transition: border-color .2s, transform .2s; }
.founder-item:hover { border-color: var(--primary); transform: translateY(-4px); }
.founder-badge { height: 152px; width: 100%; object-fit: contain; object-position: left center; margin: 0 0 25px; }
.founder-item h3 { font-size: 12px; font-weight: 500; text-transform: uppercase; }
.founder-price { font-size: 27px; font-weight: 600; margin: 9px 0 4px; }
.founder-note { font-size: 14px; line-height: 1.4; }
.founder-needed { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 13px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.founder-needed b { font-size: 26px; font-weight: 600; color: var(--primary); line-height: 1; }
.founder-needed span { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-foreground); }
.founder-btn { width: 100%; margin-top: 24px; font-size: 12px; justify-content: flex-start; padding-left: 8px; margin-left: -8px; }

.mixes { display: grid; gap: 12px; margin-top: 22px; }
.mix-intro { font-size: 14px; color: var(--foreground); }
.mix-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; border: 2px solid var(--primary); border-radius: 4px; padding: 14px 16px; background: var(--card); }
.mix-row .mix-label { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-foreground); flex-basis: 100%; }
.mix-row .mix-part { font-size: 16px; font-weight: 500; }
.mix-row .mix-equals { margin-left: auto; font-size: 18px; font-weight: 600; color: var(--primary); }

.recognition { border-top: 1px solid var(--primary); margin-top: 48px; padding-top: 32px; }
.check-line { display: flex; gap: 12px; }
.check-icon { color: var(--primary); flex-shrink: 0; margin-top: 4px; }

/* ---------- Testimonials ---------- */
.testimonial { border: 2px solid var(--primary); border-radius: 4px; padding: 30px 30px 26px; }
.testimonial-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.testimonial-brand { display: flex; align-items: center; gap: 20px; min-width: 0; }
.testimonial-badge { height: 104px; width: auto; flex-shrink: 0; }
.testimonial-logo { display: flex; align-items: center; height: 96px; padding: 8px 18px; border-radius: var(--radius); background: var(--card); }
.testimonial-logo img { max-height: 76px; max-width: 240px; object-fit: contain; }
.testimonial-logo-lg { height: 118px; }
.testimonial-logo-lg img { max-height: 101px; max-width: 320px; }
.testimonial-logo-md { height: 108px; }
.testimonial-logo-md img { max-height: 92px; max-width: 290px; }
.testimonial-name { font-size: 30px; font-weight: 600; line-height: 1.2; }
.testimonial-tier { color: var(--primary); font-size: 10px; text-transform: uppercase; }
.testimonial blockquote { font-size: 20px; line-height: 1.65; margin: 28px 0; }
.testimonial-person { font-size: 14px; font-weight: 500; }
.testimonial-role { font-size: 12px; color: var(--muted-foreground); margin-top: 4px; }

/* ---------- Journey ---------- */
.timeline-stat { font-size: 51px; color: var(--primary); margin-bottom: 20px; font-weight: 700; }
.timeline-step { border-top: 3px solid var(--primary); padding-top: 25px; }
.timeline-step h3 { font-size: 21px; font-weight: 500; margin-bottom: 20px; }
.timeline-time { color: var(--primary); font-size: 12px; margin-top: 28px; }
.foundations { border-top: 1px solid var(--border); padding-top: 32px; margin-top: 56px; }

/* ---------- Howard ---------- */
.howard-attribution { margin-top: 32px; display: flex; align-items: center; gap: 16px; }
.attribution-rule { width: 40px; height: 1px; background: var(--primary); flex-shrink: 0; }
.attribution-name { font-size: 16px; font-weight: 500; }
.attribution-role { font-size: 14px; font-weight: 500; color: var(--muted-foreground); margin-top: 4px; }
.purpose-band .attribution-role { color: color-mix(in oklab, var(--primary-foreground) 76%, transparent); }

/* ---------- In progress ---------- */
.progress-item { padding: 25px 0; border-top: 1px solid var(--border); }
.progress-item h3 { font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.progress-logo { height: 64px; width: auto; margin-bottom: 16px; border-radius: var(--radius); background: var(--card); padding: 4px; object-fit: contain; }

/* ---------- Closing ---------- */
.closing { padding: 80px 0; background: var(--primary); color: var(--primary-foreground); }
.closing-inner { display: flex; flex-direction: column; gap: 32px; }
.closing h2 { font-size: 58px; font-weight: 500; line-height: 1.15; }
.closing-eyebrow { font-size: 12px; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.closing .closing-button { background: var(--background); color: var(--foreground); }
.closing-note { font-size: 12px; margin-top: 16px; }
@media (min-width: 768px) { .closing-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Footer ---------- */
.site-footer { padding-top: 56px; padding-bottom: 96px; color: var(--foreground); }
.footer-top { display: flex; flex-direction: column; gap: 32px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-link { display: flex; align-items: center; gap: 8px; }
.footer-link:hover { color: var(--primary); }
.social-row { display: flex; align-items: center; gap: 8px; padding-top: 12px; }
.social-icon {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid color-mix(in oklch, var(--foreground) 30%, transparent);
  border-radius: 999px; color: var(--foreground);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.social-icon:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.social-icon .icon-x { width: 13px; height: 13px; }
.footer-legal {
  border-top: 1px solid var(--border); margin-top: 40px; padding-top: 28px;
  font-size: 11px; line-height: 2; display: grid; gap: 24px;
}
.footer-legal-right { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 768px) {
  .footer-top { flex-direction: row; justify-content: space-between; }
  .footer-legal { grid-template-columns: 1fr 1fr; }
  .footer-legal-right { text-align: right; align-items: flex-end; }
}

/* ---------- Dialog ---------- */
.dialog-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: oklch(0 0 0 / 80%);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.dialog-overlay[hidden] { display: none; }
.dialog {
  position: relative; background: var(--card); color: var(--card-foreground);
  border: 1px solid var(--border); border-radius: 8px;
  width: 100%; max-width: 512px; max-height: 90vh; overflow-y: auto; padding: 28px;
}
.dialog-close {
  position: absolute; top: 16px; right: 16px; background: none; border: 0;
  color: var(--muted-foreground); padding: 4px; border-radius: 4px;
}
.dialog-close:hover { color: var(--foreground); }
.dialog-title { font-size: 24px; font-weight: 500; }
.dialog-title em { font-weight: 700; }
.dialog-description { font-size: 14px; color: var(--muted-foreground); line-height: 1.6; margin-top: 8px; }
.dialog form { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-foreground); }
.label-optional { text-transform: none; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%; margin-top: 6px; padding: 9px 12px;
  background: var(--background); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--foreground); font: inherit; font-size: 14px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--ring); outline-offset: 1px;
}
.form-field textarea { resize: vertical; }
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted-foreground) 50%), linear-gradient(135deg, var(--muted-foreground) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field-error { font-size: 12px; color: var(--destructive); margin-top: 6px; }
.terms-row { display: flex; align-items: flex-start; gap: 12px; }
.terms-row input[type="checkbox"] { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--primary); flex-shrink: 0; }
.terms-label { font-size: 12px; line-height: 1.6; color: var(--muted-foreground); text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; }
.terms-label a { text-decoration: underline; text-underline-offset: 4px; color: var(--foreground); }
.btn-submit { width: 100%; margin-top: 4px; }
.dialog-thanks { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 8px; }
.dialog-thanks[hidden] { display: none; }
.icon-check-circle { width: 44px; height: 44px; color: var(--primary); }
.dialog-thanks-title { font-size: 24px; font-weight: 500; margin-top: 24px; }
.dialog-thanks-title:focus { outline: none; }
.dialog-thanks-text { font-size: 16px; color: var(--muted-foreground); margin-top: 12px; max-width: 24rem; line-height: 1.6; }
.dialog-thanks .btn { margin-top: 32px; }

/* ---------- Terms page ---------- */
.terms-header { padding-top: 32px; padding-bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--border); }
.terms-hero { padding-top: 64px; padding-bottom: 40px; }
.terms-wrap { max-width: 940px; }
.terms-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.terms-action-link { font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.terms-action-link:hover { color: var(--primary); }
.terms-toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 22px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.terms-toc a { font-size: 13px; color: var(--muted-foreground); }
.terms-toc a:hover { color: var(--primary); }
.terms-body { padding-bottom: 80px; }
.terms-section { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 32px 0; border-top: 1px solid var(--border); scroll-margin-top: 30px; }
.terms-section:first-child { border-top: 0; padding-top: 0; }
.terms-num { font-size: 13px; font-weight: 700; color: var(--primary); }
.terms-section-head h2 { font-size: 26px; line-height: 1.2; font-weight: 500; margin-top: 6px; }
.terms-section-body { display: grid; gap: 16px; }
.terms-clause { display: grid; grid-template-columns: 42px 1fr; gap: 0 12px; }
.terms-ref { font-size: 12px; line-height: 1.8; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.terms-clause b { font-weight: 600; color: var(--foreground); }
.terms-bullets { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.terms-bullets li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.75; color: var(--muted-foreground); }
.terms-bullets li::before { content: ''; position: absolute; left: 0; top: 12px; width: 9px; height: 2px; background: var(--primary); }
.terms-contact { background: var(--primary); color: var(--primary-foreground); padding: 62px 0; scroll-margin-top: 30px; }
.terms-contact .section-copy { color: color-mix(in oklab, var(--primary-foreground) 78%, transparent); }
.terms-contact .eyebrow::before { background: var(--primary-foreground); }
.terms-sign-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; font-weight: 600; }
.terms-footer { padding-bottom: 32px; }
@media (min-width: 900px) {
  .terms-section { grid-template-columns: 250px 1fr; gap: 0 40px; padding: 40px 0; }
  .terms-section:first-child { padding-top: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .page-width { padding-left: 30px; padding-right: 30px; }
  .hero h1 { font-size: 65px; }
  .founder-grid { grid-template-columns: repeat(3, 1fr); }
  .section-title { font-size: 37px; }
  .sub-title { font-size: 37px; }
}
@media (max-width: 767px) {
  .main-nav { display: none; }
  .btn-icon { display: inline-flex; }
}
@media (max-width: 639px) {
  .header-sign { display: none; }
}
@media (max-width: 600px) {
  .page-width { padding-left: 22px; padding-right: 22px; }
  .site-header { height: 82px; }
  .mobile-menu { top: 82px; }
  .brand-logo { height: 58px; }
  .hero { min-height: 620px; height: calc(100svh - 120px); max-height: 750px; }
  .hero-inner { padding-top: 58px; }
  .hero-image { object-position: 40% center; }
  .hero h1 { font-size: 51px; margin-top: 26px; }
  .hero-subtitle { font-size: 23px; }
  .hero-description { font-size: 15px; max-width: 330px; }
  .hero-actions { gap: 18px; flex-wrap: wrap; }
  .hero-bottom { font-size: 12px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .purpose-item h3 { font-size: 24px; }
  .purpose-item p { font-size: 16px; }
  .section-title { font-size: 34px; }
  .sub-title { font-size: 34px; }
  .museum-frame { height: 300px; }
  .founder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .founder-grid .founder-item:last-child { grid-column: 1 / -1; }
  .founder-item { padding: 20px 13px; }
  .founder-btn { padding-left: 8px; padding-right: 8px; font-size: 10px; gap: 5px; }
  .founder-price { font-size: 23px; }
  .founder-note { font-size: 12px; }
  .founder-needed span { font-size: 11px; }
  .founder-badge { height: 130px; }
  .quote-text { font-size: 24px; }
  .testimonial { padding: 22px 18px 20px; }
  .testimonial blockquote { font-size: 18px; margin: 22px 0; }
  .testimonial-badge { height: 80px; }
  .testimonial-logo { height: 70px; padding: 6px 12px; }
  .testimonial-logo img { max-height: 54px; max-width: 150px; }
  .testimonial-name { font-size: 24px; }
  .testimonial-tier { display: none; }
  .testimonial-head { flex-wrap: wrap; row-gap: 10px; }
  .portrait-parallax-frame { height: 430px; }
  .portrait-parallax-img { object-position: 33% center; }
  .closing h2 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scroll-reveal { opacity: 1; transform: none; }
  .purpose-band .purpose-item { opacity: 1; transform: none; }
}
.mobile-menu[hidden] { display: none; }

/* ---------- Contact Form 7 in the dialog ---------- */
.dialog .wpcf7 form { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.dialog .wpcf7 form > p { margin: 0; }
.dialog .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.dialog .wpcf7-not-valid-tip { font-size: 12px; color: var(--destructive); margin-top: 6px; }
.dialog .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.dialog .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; line-height: 1.6; color: var(--muted-foreground); text-transform: none; letter-spacing: 0; cursor: pointer; }
.dialog .wpcf7-acceptance input[type="checkbox"] { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--primary); flex-shrink: 0; }
.dialog .wpcf7-acceptance a { text-decoration: underline; text-underline-offset: 4px; color: var(--foreground); }
.dialog .wpcf7-submit { width: 100%; margin-top: 4px; cursor: pointer; }
.dialog .wpcf7-spinner { display: block; margin: 8px auto 0; }
.dialog .wpcf7-response-output { font-size: 13px; margin: 0 !important; padding: 10px 12px !important; border-radius: 4px; }
.dialog .wpcf7 form.sent .wpcf7-response-output { display: none; }
