:root {
  color-scheme: light;

  --cream: #faf6ef;
  --cream-alt: #f2ebdc;
  --ink: #241f1a;
  --ink-soft: #55504a;
  --teal: #16585a;
  --teal-dark: #0e3f41;
  --coral: #e2673f;
  /* White text sits on --coral-strong and small coral text uses --coral-dark,
     so both are readable (WCAG AA, 4.5:1); --coral is for the logo and accents. */
  --coral-strong: #c14f2b;
  --coral-dark: #a8431f;
  --line: #e4dcc9;
  --white: #ffffff;

  --font-display: "Fraunces", serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

/* Paper texture: a faint grain over the whole page, like art paper. It sits
   above everything but never blocks clicks, and multiplies into the colours
   underneath so it reads as texture, not as a grey haze. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27300%27%20height%3D%27300%27%3E%3Cfilter%20id%3D%27g%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.9%27%20numOctaves%3D%273%27%20stitchTiles%3D%27stitch%27%2F%3E%3CfeColorMatrix%20type%3D%27saturate%27%20values%3D%270%27%2F%3E%3C%2Ffilter%3E%3Cfilter%20id%3D%27f%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.012%200.35%27%20numOctaves%3D%272%27%20seed%3D%277%27%20stitchTiles%3D%27stitch%27%2F%3E%3CfeColorMatrix%20type%3D%27saturate%27%20values%3D%270%27%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url(%23g)%27%20opacity%3D%270.55%27%2F%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url(%23f)%27%20opacity%3D%270.35%27%2F%3E%3C%2Fsvg%3E");
  background-size: 300px 300px;
  mix-blend-mode: multiply;
  opacity: 0.16;
}

img { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; margin-bottom: 0.4em; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--teal); text-decoration: none; }

ul, ol { margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--coral-strong);
  color: var(--white);
}
.btn-primary:hover { background: var(--coral-dark); }

.btn-ghost {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}
.btn-ghost:hover { background: var(--teal); color: var(--white); }

.btn-small { padding: 9px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.logo span { color: var(--coral); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a:not(.btn) {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:not(.btn):hover { color: var(--teal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
}

/* Hero */
.hero {
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--coral-dark);
  margin-bottom: 14px;
}
.lede {
  font-size: 1.1rem;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 16px;
}
.hero-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.hero-art {
  display: flex;
  justify-content: center;
}
.card-stack {
  position: relative;
  width: 220px;
  height: 260px;
}
.mini-card {
  position: absolute;
  width: 170px;
  height: 238px;
  border-radius: 10px;
  box-shadow: 0 18px 34px rgba(36, 31, 26, 0.18);
  border: 1px solid rgba(0,0,0,0.06);
}
.card-a {
  background: linear-gradient(145deg, var(--teal), var(--teal-dark));
  transform: rotate(-11deg) translate(0, 10px);
  z-index: 1;
}
.card-b {
  background: linear-gradient(145deg, #f4c26a, #e2673f);
  transform: rotate(4deg) translate(28px, -6px);
  z-index: 2;
}
.card-c {
  background: var(--white);
  border: 1px solid var(--line);
  transform: rotate(-2deg) translate(50px, 18px);
  z-index: 3;
}

/* Sections */
.section {
  padding: 76px 0;
}
.section-alt {
  background: var(--cream-alt);
}
.section-lede {
  max-width: 620px;
  font-size: 1.05rem;
}
.section-footnote {
  margin-top: 28px;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-soft);
  border-left: 3px solid var(--coral);
  padding-left: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.split-reverse { grid-template-columns: 0.85fr 1.15fr; }

.fact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fact-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--ink);
}
.fact-list strong { color: var(--teal-dark); }

/* Model cards */
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}
.model-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.model-tag {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.model-tag-alt { background: var(--coral-strong); }
.model-tag-credits { background: var(--teal-dark); }

.credits-box {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.credits-box h3 { margin-top: 14px; }
.credits-box p { margin-bottom: 0; }
.model-card ul {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.model-card li {
  padding-left: 22px;
  position: relative;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.model-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Trust grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 32px;
}
.trust-card p { font-size: 0.9rem; margin-bottom: 0; }

[hidden] { display: none !important; }

/* Callout */
.callout-card {
  background: var(--teal-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  align-self: center;
}
.callout-card p { color: rgba(255,255,255,0.85); }
.callout-card .waitlist-form { margin-top: 20px; }
.callout-card .consent-check { color: rgba(255,255,255,0.85); }
.callout-card .waitlist-success p, .callout-card .waitlist-success h3 { color: var(--ink); }
.callout-kicker {
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
}


/* Waitlist */
.section-waitlist { padding-bottom: 96px; }
.waitlist-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
}
.waitlist-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}
.form-row input, .form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--cream);
}
.form-row input:focus, .form-row select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
.form-row select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-role {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0;
}
.form-role legend {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0 4px;
}
.form-role label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  padding: 6px 0;
}
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.consent-check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
  margin: 0;
}
.waitlist-success {
  margin-top: 24px;
  padding: 20px;
  background: var(--cream-alt);
  border-radius: 10px;
}
.waitlist-success h3 { margin-bottom: 6px; }
.waitlist-success p { margin-bottom: 0; }

/* Footer */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}
.logo-footer { color: var(--white); }
.logo-footer span { color: #f4c26a; }
.footer-tag {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-top: 10px;
  max-width: 320px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.footer-links a, .footer-placeholder {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  margin-bottom: 8px;
}
.footer-placeholder { color: rgba(255,255,255,0.45); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom p { margin: 0; color: inherit; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .waitlist-box { padding: 28px; }
}

/* Legal pages (privacy.html) */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.6rem); }
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.6em; }
.legal section { scroll-margin-top: 90px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal strong { color: var(--ink); }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: 0.45em; }
.legal a { color: var(--teal); }
.legal-meta { font-size: 0.9rem; }
.legal-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
}
.legal-summary h2 { margin-top: 0; font-size: 1.2rem; }
.legal-toc h2 { font-size: 1.1rem; margin-top: 0; }
.legal-toc ol { padding-left: 1.9em; margin: 0; }
.legal-contact {
  background: var(--cream-alt);
  border-radius: 10px;
  padding: 14px 18px;
}
.legal-table-wrap { overflow-x: auto; margin: 16px 0; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
}
.legal-table th, .legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.legal-table th { background: var(--cream-alt); color: var(--ink); }
.tbd {
  background: #fff0c2;
  color: var(--ink);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
}
.footer-inline-link { color: rgba(255,255,255,0.85); margin-left: 8px; }
@media (max-width: 640px) {
  .site-nav.site-nav-static { display: flex; position: static; padding: 0; background: none; border: 0; box-shadow: none; }
  .legal-toc ol { columns: 1; }
  .legal-summary { padding: 20px; }
}
.consent-check a { color: var(--teal); }
.callout-card .consent-check a { color: var(--white); }

/* FAQ page: questions that open on click */
.faq-note { background: var(--cream-alt); border-radius: var(--radius); padding: 12px 16px; font-size: 0.95rem; }
.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 12px 32px 12px 0; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; font-weight: 400; color: var(--teal);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--teal); }
.faq-item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.faq-item > p:last-child, .faq-item > ul:last-child, .faq-item > ol:last-child, .faq-item > .legal-table-wrap:last-child { margin-bottom: 14px; }


/* Waitlist: the "I am an ACEO artist" tickbox stands out from the consent line */
.artist-check {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 10px 12px;
}
.artist-check:has(input:checked) { border-color: var(--teal); background: #eef5f4; }

/* Artist details page */
.artist-form { margin-top: 28px; max-width: 560px; }
.artist-form .form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.artist-form label { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.artist-form .optional { font-weight: 400; color: var(--ink-soft); }
.artist-form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--white); resize: vertical;
}
.artist-form .form-note { text-align: left; margin: 0; }

/* "To the artists": the story and sign-up steps beside the pay rates */
.artist-split { margin-top: 8px; grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
.artist-steps-title { margin-top: 28px; }
.artist-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.artist-steps li { counter-increment: step; position: relative; padding-left: 44px; color: var(--ink-soft); }
.artist-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: var(--white); font-weight: 700; font-size: 0.9rem;
}
.artist-steps a { color: var(--teal); font-weight: 600; }
.rates-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.rates-card h3 { margin-bottom: 6px; }
.rates-card > p { color: var(--ink-soft); }
.rates-card .fact-list { margin: 16px 0; }
.rates-note { font-size: 0.9rem; margin-bottom: 0; }
@media (max-width: 860px) {
  .artist-split { grid-template-columns: 1fr; }
  .rates-card { padding: 22px; }
}

.rates-list { list-style: none; padding: 0; margin: 18px 0; }
.rates-list li {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft);
}
.rates-list li:last-child { border-bottom: none; }
.rates-list strong { color: var(--ink); text-align: right; }
.rates-list .rates-head { padding-top: 0; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }
.rates-list .rates-head span:last-child { text-align: right; }
.rate-tier {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream-alt); color: var(--teal-dark); font-weight: 700; font-size: 0.9rem;
}
.credits-box p + p { margin-top: 12px; }
.credits-box a { color: var(--teal); font-weight: 600; }

/* ── One content width on every page ─────────────────────────────
   Every section fills the same container; wide text is split into
   columns instead of being squeezed into a narrower block. */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 32px; }
.why-col { border-top: 3px solid var(--coral); padding-top: 18px; }
.why-col h3 { font-size: 1.15rem; margin-bottom: 10px; }
.why-col p { color: var(--ink-soft); margin: 0; line-height: 1.7; }

.waitlist-intro h2 { margin-top: 0; }
.waitlist-intro p { color: var(--ink-soft); }
.waitlist-form-col .waitlist-form { margin-top: 0; }

.doc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; margin-top: 32px; }
.doc-toc { position: sticky; top: 96px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.doc-toc .legal-toc h2 { margin-top: 0; }
.doc-toc li { margin-bottom: 0.35em; font-size: 0.92rem; }
.doc-body > :first-child, .doc-body > section:first-child h2 { margin-top: 0; }

.artist-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.artist-layout .artist-form { margin-top: 0; max-width: none; }

@media (max-width: 860px) {
  .why-grid, .waitlist-box, .doc-layout, .artist-layout { grid-template-columns: 1fr; }
  .waitlist-box { padding: 28px; gap: 24px; }
  .doc-toc { position: static; }
}
.artist-layout > div:last-child { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }

.artist-form input[type="file"] { font: inherit; padding: 10px; border: 1px dashed var(--line); border-radius: 10px; background: var(--cream); }
.photo-previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-previews:empty { display: none; }
.photo-previews img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.photo-previews .photo-error { grid-column: 1 / -1; color: var(--coral-dark); font-size: 0.9rem; margin: 0; }

/* ── Refresh (October 2026): the app's bolder look ─────────────────────── */

/* Hero: a deep teal band with a dot texture and soft coral and gold glows. */
.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 10%, rgba(226, 103, 63, 0.38), transparent 42%),
    radial-gradient(circle at 25% 110%, rgba(233, 180, 76, 0.22), transparent 45%),
    linear-gradient(140deg, var(--teal-dark), var(--teal) 55%, #1f6f63);
  padding: 84px 0 96px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.2px);
  background-size: 18px 18px;
  pointer-events: none;
}
.hero .container { position: relative; }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.3rem); }
.hero .lede { color: rgba(255, 255, 255, 0.84); }
.hero .eyebrow { color: #f9cdb9; letter-spacing: 0.16em; }
.hero .hero-note { color: rgba(255, 255, 255, 0.72); }
.hero .btn-primary { box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.6); }
.hero .btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--teal-dark); }

/* The hero's fanned cards: small illustrations in card frames, floating gently.
   --s sizes the whole fan (half as big again on desktop, below); every length is
   drawn at that size, never zoomed, so the cards stay sharp. */
.card-stack { --s: 1; width: calc(370px * var(--s)); height: calc(320px * var(--s)); flex-shrink: 0; }
/* On a phone the stack is wider than the screen: keep its column the screen's width and let the
   stack overflow evenly on both sides (it's scaled down to fit below), never pushed off-centre. */
.hero-art { min-width: 0; }
.mini-card {
  width: calc(168px * var(--s));
  height: calc(235px * var(--s));
  padding: calc(7px * var(--s));
  background: var(--cream);
  border: none;
  border-radius: 12px;
  box-shadow: 0 26px 44px -16px rgba(0, 0, 0, 0.6);
  animation: card-float 7s ease-in-out infinite;
  /* One steady layer per floating card, so scrolling past never redraws what's inside it. */
  will-change: transform;
}
.mini-card svg { display: block; width: 100%; height: 100%; border-radius: 7px; }
.card-a { --tilt: -13deg; left: 0; top: calc(44px * var(--s)); animation-delay: 0s; }
.card-b { --tilt: 2deg; left: calc(101px * var(--s)); top: 0; z-index: 3; animation-delay: -2.3s; }
.card-c { --tilt: 13deg; left: calc(202px * var(--s)); top: calc(52px * var(--s)); z-index: 2; animation-delay: -4.6s; background: var(--cream); border: none; }
.card-a, .card-b, .card-c { transform: rotate(var(--tilt)); }
@keyframes card-float {
  0%, 100% { transform: translateY(0) rotate(var(--tilt)); }
  50% { transform: translateY(-10px) rotate(var(--tilt)); }
}

/* Key facts under the hero. */
.facts-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.facts-inner div { display: flex; flex-direction: column; gap: 2px; }
.facts-inner strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--teal); line-height: 1.1; }
.facts-inner span { font-size: 0.88rem; color: var(--ink-soft); }

/* Section labels: a coral dash and small capitals above each heading. */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-dark);
}
.section-eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--coral); }

/* Cards that lift a little on hover. */
.trust-card, .model-card, .rates-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.trust-card:hover, .model-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -24px rgba(22, 88, 90, 0.55);
  border-color: rgba(22, 88, 90, 0.35);
}
.trust-card { border-top: 3px solid var(--teal); }

/* Buttons press in slightly. */
.btn:active { transform: scale(0.97); }
.btn-primary { box-shadow: 0 8px 18px -10px rgba(193, 79, 43, 0.9); }

/* For ATC groups. */
.groups-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px 48px;
  align-items: start;
  border: 1px dashed rgba(22, 88, 90, 0.35);
  border-radius: 24px;
  padding: 40px;
  background: radial-gradient(ellipse at 0% 0%, rgba(226, 103, 63, 0.08), transparent 60%), var(--white);
}
.groups-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.groups-list li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.groups-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--coral);
  font-size: 1.1rem;
}
.groups-list strong { color: var(--ink); }
.groups-cta { grid-column: 1 / -1; margin: 6px 0 0; font-weight: 600; }
.groups-cta a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }

/* The waitlist: an invite note, real error messages. */
.invite-note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(22, 88, 90, 0.08);
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 500;
}
.submit-error { color: var(--coral-dark); font-weight: 600; }
.waitlist-success:focus { outline: none; }

/* Content rises into place as the page loads (off for reduced motion). */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy, .hero-art, .facts-inner > div { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.hero-art { animation-delay: 0.12s; }
.facts-inner > div:nth-child(2) { animation-delay: 0.08s; }
.facts-inner > div:nth-child(3) { animation-delay: 0.16s; }
.facts-inner > div:nth-child(4) { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .mini-card, .hero-copy, .hero-art, .facts-inner > div { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 860px) {
  .facts-inner { grid-template-columns: repeat(2, 1fr); }
  .groups-band { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 64px; }
  .card-stack { transform: scale(0.82); transform-origin: center top; height: 270px; }
}

/* Launch day (November 1, 2026): the landing server marks pages <html data-launched>
   from then on (app/live/landing-server.mjs), swapping the waitlist for "The Hub is open". */
html[data-launched] .prelaunch-only { display: none !important; }
html:not([data-launched]) .launched-only { display: none !important; }
.launch-actions { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.launch-artist-link { text-align: center; font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }


/* "Add to your calendar" on the waitlist's thank-you screens. */
.calendar-add { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.calendar-add p { margin: 0 0 10px; font-size: 0.92rem; }
.calendar-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* Display cards (admin/display-cards) in the hero, drawn like the Hub's 3D cards:
   the photo at its own size, moved onto the card by one transform. */
.mini-card.display-card { width: auto; height: auto; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.dc-frame { position: relative; overflow: hidden; background: var(--cream-alt); box-shadow: 0 26px 44px -16px rgba(0, 0, 0, 0.6); }
.dc-frame img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; user-select: none; }

/* Desktop: the hero's cards half as big again (a little less on narrow desktops, to leave the headline room). */
@media (min-width: 1100px) {
  .card-stack { --s: 1.5; }
  .hero-inner { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 861px) and (max-width: 1099px) {
  .card-stack { --s: 1.2; }
}

/* Phones and tablets: no paper grain. A fixed, blended layer over the whole page makes mobile
   browsers redraw everything under it (the floating cards most of all) on every scroll frame,
   which shows as flicker; on a small screen the grain is barely visible anyway. */
@media (max-width: 860px), (hover: none) {
  body::before { display: none; }
}
