/* ==========================================================================
   Emanuela Padellaro — site styles
   Editorial / curated direction: cream, ink & espresso grounds,
   restrained serif headings, typewriter labels, light body copy.
   Palette: ink #151414 · cream #FCFCEE · espresso #2C1107 · stone #DDD8CA · accent #891616
   Type: Times New Roman MT Condensed (headings; Cormorant Garamond fallback),
         Montserrat Light (body), Cutive Mono (labels & buttons)
   ========================================================================== */

/* Times New Roman MT Condensed is a licensed Monotype font. Drop the web
   files into /fonts with these names and they load automatically; until
   then a local install is used, or Cormorant Garamond as the fallback. */
@font-face {
  font-family: "TNR Condensed";
  src: local("Times New Roman MT Condensed"),
       local("TimesNewRomanMTCondensed"),
       url("../fonts/TimesNewRomanMTCondensed.woff2") format("woff2"),
       url("../fonts/TimesNewRomanMTCondensed.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TNR Condensed";
  src: local("Times New Roman MT Condensed Italic"),
       local("TimesNewRomanMTCondensed-Italic"),
       url("../fonts/TimesNewRomanMTCondensed-Italic.woff2") format("woff2"),
       url("../fonts/TimesNewRomanMTCondensed-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #151414;
  --cream: #fcfcee;
  --espresso: #2c1107;
  --stone: #ddd8ca;
  --accent: #891616;
  --latte: #f5ebe0;

  --ink-soft: rgba(21, 20, 20, 0.72);
  --cream-soft: rgba(252, 252, 238, 0.74);
  --line: rgba(21, 20, 20, 0.16);
  --line-light: rgba(252, 252, 238, 0.2);

  --serif: "TNR Condensed", "Times New Roman MT Condensed", "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cutive Mono", "Courier New", monospace;

  --container: 1200px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --section: clamp(96px, 11vw, 160px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 500; }

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(30px, 3.4vw, 46px); }
h2 { font-size: clamp(26px, 2.6vw, 36px); }
h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; }
h1 em, h2 em, h3 em { font-style: italic; }

p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

.label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.5;
  margin: 0 0 28px;
}

.lede {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.75;
}

.caps {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.6;
}

.italic {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 1.9vw, 26px);
  line-height: 1.4;
}

.muted { color: var(--ink-soft); }

@media (min-width: 900px) {
  .justify p { text-align: justify; hyphens: auto; }
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.section { padding: var(--section) 0; }

.s-ink      { background: var(--ink); color: var(--cream); }
.s-espresso { background: var(--espresso); color: var(--stone); }
.s-stone    { background: var(--latte); color: var(--espresso); }
.s-ink .muted, .s-espresso .muted { color: var(--cream-soft); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}
.split--top { align-items: start; }
.split--5-7 { grid-template-columns: 5fr 7fr; }
.split--7-5 { grid-template-columns: 7fr 5fr; }
.sticky { position: sticky; top: 120px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 17px 34px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.s-ink .btn:hover, .s-espresso .btn:hover, .btn--light:hover {
  background: var(--cream); border-color: var(--cream); color: var(--ink);
}
.btn--solid { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.s-ink .btn--solid { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.s-ink .btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--cream); }

.text-link {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity 0.4s;
}
.text-link:hover { opacity: 0.6; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.center .actions, .hero .actions { justify-content: center; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  color: var(--cream);
  border-bottom: 1px solid var(--line-light);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
}
.site-header.is-scrolled { background: var(--accent); border-color: transparent; }

.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 78px;
}

.logo {
  font-family: var(--serif);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  white-space: nowrap;
  justify-self: center;
}

.nav { display: flex; gap: 36px; }
.nav--right { justify-content: flex-end; }
.nav a {
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  justify-self: end;
  background: none;
  border: 0;
  color: inherit;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.menu a { font-family: var(--serif); font-size: 30px; }
.menu a em { font-style: italic; }
.menu .label { margin: 32px 0 0; opacity: 0.6; }
.nav-open .menu { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }

/* ---------- Image placeholders ---------- */
/* Swap a placeholder for a photo by putting <img src="images/..." alt="..."> inside the .ph div. */

.ph {
  position: relative;
  width: 100%;
  background: var(--stone);
  overflow: hidden;
}
.ph span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(44, 17, 7, 0.5);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-ink .ph, .s-espresso .ph { background: #2a2827; }
.s-ink .ph span, .s-espresso .ph span { color: rgba(252, 252, 238, 0.4); }
.s-stone .ph { background: #e8dccd; }

.r-portrait { aspect-ratio: 4 / 5; }
.r-tall     { aspect-ratio: 3 / 4; }
.r-arch     { aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; }
.r-square   { aspect-ratio: 1 / 1; }
.r-land     { aspect-ratio: 3 / 2; }
.r-wide     { aspect-ratio: 21 / 9; }

/* ---------- Hero ---------- */

.hero {
  padding: calc(78px + clamp(80px, 11vw, 150px)) 0 0;
  text-align: center;
}
.hero .label { opacity: 0.8; }
.hero h1 { max-width: 760px; margin: 0 auto; }
.hero .lede { max-width: 600px; margin: 32px auto 0; color: var(--cream-soft); }

.strip {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: clamp(10px, 1.4vw, 18px);
  align-items: end;
  position: relative;
  z-index: 2;
  margin-top: clamp(72px, 9vw, 120px);
  margin-bottom: calc(-1 * clamp(40px, 6vw, 90px));
}
.strip .ph:nth-child(1), .strip .ph:nth-child(3) { aspect-ratio: 4 / 5; }
.strip .ph:nth-child(2) { aspect-ratio: 4 / 4.2; }
.after-strip { padding-top: calc(var(--section) + clamp(40px, 6vw, 90px)); }

/* Full-bleed image hero */
.hero--image {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 78px 0 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(21, 20, 20, 0.38);
}
.hero--image .container { position: relative; z-index: 1; }
.hero--image h1 { max-width: 820px; text-shadow: 0 1px 24px rgba(21, 20, 20, 0.25); }

/* ---------- Banner (statement band) ---------- */

.banner { padding: clamp(80px, 10vw, 140px) 0; text-align: center; }
.banner .italic { text-transform: lowercase; margin: 0 0 14px; }
.banner .caps { margin: 0; }

.statement {
  max-width: 880px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.45;
  text-align: center;
}
.statement em { font-style: italic; }

/* ---------- Lists ---------- */

.rows { list-style: none; margin: 40px 0; padding: 0; counter-reset: row; }
.rows li {
  counter-increment: row;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows li::before {
  content: counter(row, lower-roman) ".";
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding-top: 4px;
  opacity: 0.6;
}
.s-ink .rows li, .s-espresso .rows li { border-color: var(--line-light); }

.dash-list { list-style: none; margin: 0 0 32px; padding: 0; }
.dash-list li { position: relative; padding: 10px 0 10px 32px; }
.dash-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 23px;
  width: 16px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.list-title {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 20px;
  letter-spacing: 0.01em;
  margin: 40px 0 12px;
}

.quote {
  margin: 48px 0;
  padding: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.4;
}

.closing {
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.4;
  margin-top: 40px;
}

.callout {
  border-left: 1px solid var(--accent);
  padding: 4px 0 4px 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
}

/* ---------- Outcomes grid ---------- */

.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 56px;
}
.outcome {
  padding: clamp(32px, 3.5vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.6s var(--ease);
}
.outcome:hover { background: var(--stone); }
.outcome .label { margin-bottom: 48px; opacity: 0.6; }
.outcome h3 { margin-bottom: 14px; }
.outcome p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Programme phases ---------- */

.phase {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(40px, 7vw, 110px);
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
}
.phase-aside .label { margin-bottom: 8px; }
.phase-aside .caps { display: block; margin-bottom: 36px; }
.phase h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 32px; }

.meta-pill {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 28px;
}

/* ---------- Investment ---------- */

.price {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  margin: 8px 0 12px;
}
.price-note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; opacity: 0.6; }
.invest-desc { max-width: 560px; margin: 40px auto 0; color: var(--cream-soft); }
.small { font-size: 13px; margin-top: 28px; opacity: 0.6; }

/* ---------- About ---------- */

.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  margin-top: 40px;
}

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--cream); padding-top: clamp(80px, 9vw, 120px); }

.footer-cta { text-align: center; padding-bottom: clamp(72px, 9vw, 110px); border-bottom: 1px solid var(--line-light); }
.footer-cta .italic { margin: 0 0 32px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0;
}
.footer-grid .logo { display: inline-block; margin-bottom: 18px; }
.footer-grid p { color: var(--cream-soft); font-size: 13px; max-width: 320px; }
.footer-grid .label { margin-bottom: 20px; opacity: 0.55; font-size: 11px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; transition: opacity 0.4s; }
.footer-links a:hover { opacity: 0.55; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.6;
}

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .outcomes { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .site-header .container { grid-template-columns: 1fr auto; height: 64px; }
  .logo { justify-self: start; font-size: 13px; letter-spacing: 0.26em; }
  .nav { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .hero { padding-top: calc(64px + 72px); }

  .split, .split--5-7, .split--7-5, .phase { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .phase-aside .ph { max-width: 360px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip .ph:nth-child(3) { display: none; }
  .outcomes { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- About (home) ---------- */

.about-text { max-width: 520px; }
.about-text h2 { margin-bottom: 36px; }
.about-text p { margin: 0 0 1.4em; }
@media (max-width: 820px) {
  .about .split { gap: 48px; }
}
.about-grid { grid-template-columns: 7fr 5fr; gap: clamp(48px, 7vw, 110px); }
.r-about { aspect-ratio: 2 / 3; }
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- Offerings (home) ---------- */

.offerings-head { margin-bottom: clamp(56px, 7vw, 88px); }
.offerings-kicker { margin: 0 0 22px; color: var(--ink-soft); }

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 32px);
  max-width: 1040px;
  margin: 0 auto;
}
.offer {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  padding: clamp(36px, 4.4vw, 60px);
  border: 1px solid var(--line);
}
.offer-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 22px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.offer h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 14px; }
.offer-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.offer-foot { margin-top: auto; padding-top: 40px; }
.offer--soon { background: var(--cream); }
.offer--soon h3, .offer--soon > p { color: var(--ink-soft); }
.offer-soon {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.offer-soon::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.btn.offer-soon { cursor: default; opacity: 0.6; }
.btn.offer-soon::before { content: none; }
.btn.offer-soon:hover { background: transparent; border-color: currentColor; color: inherit; }

@media (max-width: 820px) {
  .offer-grid { grid-template-columns: 1fr; }
}
.offerings h3, .offerings .caps, .offer-meta { font-variant-numeric: lining-nums; }
.site-footer .container > .footer-grid:first-child { padding-top: 0; }

/* Footer: just the bottom line, in Times New Roman */
.site-footer { padding-top: 0; }
.footer-cta { padding-top: clamp(80px, 9vw, 120px); }
.footer-bottom {
  font-family: "Times New Roman", Times, serif;
  text-transform: lowercase;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 28px 0;
}
.site-footer .container > .footer-bottom:first-child { border-top: 0; }
.footer-cta + .footer-bottom { border-top: 0; }

/* ---------- Cream (white) sections: all text in solid black ---------- */

.section:not(.s-ink):not(.s-espresso):not(.s-stone) { color: #000; }
.section:not(.s-ink):not(.s-espresso):not(.s-stone) :is(h1, h2, h3, h4, p, li, span, em, .label, .muted, .lede, .statement, .text-link) {
  color: #000;
  opacity: 1;
}
.section:not(.s-ink):not(.s-espresso):not(.s-stone) .rows li::before { opacity: 1; }

/* Philosophy section (1:1 page): larger portrait */
.philosophy-split { grid-template-columns: 7fr 5fr; }
.philosophy-photo { aspect-ratio: 2 / 3; }
@media (max-width: 820px) { .philosophy-split { grid-template-columns: 1fr; } }

/* Full-width image with statement on top (1:1 page) */
.image-statement { min-height: 85vh; min-height: 85svh; padding: 0; }
.image-statement .statement { max-width: 760px; margin: 0 auto; text-shadow: 0 1px 24px rgba(21, 20, 20, 0.3); }

/* About: Substack line */
.about-text .about-substack { margin-top: 40px; font-size: 14px; }
.about-substack a { border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: opacity 0.4s; }
.about-substack a:hover { opacity: 0.6; }

/* ---------- Application form ---------- */

.apply-hero { padding-bottom: clamp(80px, 10vw, 130px); }
.apply-form fieldset { border: 0; margin: 0 0 56px; padding: 0; }
.apply-form legend { padding: 0; margin-bottom: 24px; }
.apply-form .field { display: block; margin-bottom: 28px; }
.apply-form .field > span { display: block; margin-bottom: 10px; }
.apply-form input[type=text],
.apply-form input[type=email],
.apply-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: #000;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0;
  resize: vertical;
}
.apply-form textarea { border: 1px solid var(--line); padding: 14px 16px; }
.apply-form input:focus,
.apply-form textarea:focus { outline: none; border-color: var(--accent); }
.apply-form .check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.apply-form .check:last-of-type { border-bottom: 1px solid var(--line); }
.apply-form .check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); }
.apply-form.was-validated :invalid { border-color: var(--accent); }
.apply-form .actions { justify-content: center; }
.form-error { color: var(--accent) !important; text-align: center; font-size: 14px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(21, 20, 20, 0.55);
  animation: modal-in 0.3s ease;
}
.modal[hidden] { display: none; }
.modal-card {
  background: var(--cream);
  color: #000;
  max-width: 520px;
  width: 100%;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px);
  text-align: center;
}
.modal-card h2 { margin-bottom: 20px; }
.modal-card .actions { justify-content: center; }
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
