/* Tus Musas — site styles.
   Design tokens live at the top: change a colour or font here and every page follows. */

@font-face { font-family: "Cinzel"; src: url("/fonts/cinzel-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-italic-latin.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/fonts/jost-latin.woff2") format("woff2"); font-weight: 300 500; font-display: swap; }

:root {
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-literary: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;

  --radius: 24px;
  --radius-sm: 14px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 24px);
  --section: clamp(64px, 9vw, 104px);

  /* day */
  --bg: #FCF6F1;
  --band: #F6ECEC;
  --card: #FFFFFF;
  --ink: #3E1650;
  --muted: #5E4A66;
  --gold: #C9A25A;
  --gold-text: #8A6424;
  --line: #E7D9CC;
  --btn-bg: #3E1650;
  --btn-ink: #FCF6F1;
  --mauve: #A27B9E;
  --plum-block: #3E1650;
  --plum-ink: #FCF6F1;
  --plum-muted: #E4D3EA;
  --plum-line: #6E3F86;
  --star: #C9A25A;
  --gold-bright: #D4A852;
  --gold-metal: linear-gradient(135deg, #9E7424 0%, #C9973F 22%, #E6C47A 46%, #F3DCA2 52%, #D4A852 64%, #A87A2A 100%);
  --halo: radial-gradient(circle, #F6E7D2 0%, rgba(252, 246, 241, 0) 70%);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #1B0F22;
  --band: #221329;
  --card: #2A1733;
  --ink: #F4EAF6;
  --muted: #CDB9D6;
  --gold: #D4A852;
  --gold-text: #D9AE57;
  --line: #4A3352;
  --btn-bg: var(--gold-metal);
  --btn-ink: #1B0F22;
  --mauve: #2A1733;
  --plum-block: #2A1733;
  --plum-ink: #F4EAF6;
  --plum-muted: #CDB9D6;
  --plum-line: #4A3352;
  --star: #D4A852;
  --halo: radial-gradient(circle, rgba(212, 168, 82, .2) 0%, rgba(27, 15, 34, 0) 70%);
  color-scheme: dark;
}

/* no-JS fallback follows the OS */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #1B0F22; --band: #221329; --card: #2A1733; --ink: #F4EAF6; --muted: #CDB9D6;
    --gold: #D4A852; --gold-text: #D9AE57; --line: #4A3352; --btn-bg: var(--gold-metal); --btn-ink: #1B0F22;
    --plum-block: #2A1733; --plum-line: #4A3352; color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  transition: background-color .5s ease, color .5s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: .02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: .03em; }
h1 em, h2 em { font-family: var(--font-literary); font-style: italic; font-weight: 500; color: var(--gold-text); letter-spacing: 0; }
p { margin: 0; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
main, .site-header, .site-footer, .newsletter { position: relative; z-index: 1; }

.eyebrow { font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.lede { font-family: var(--font-literary); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.45rem); line-height: 1.5; color: var(--muted); }
.muted { color: var(--muted); }
.sparkle { fill: var(--gold); flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  font: 500 .85rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .3s ease, background-color .3s ease;
}
.btn--primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn--primary:hover { color: var(--btn-ink); transform: translateY(-1px); box-shadow: 0 8px 28px -10px var(--gold); }
.btn--ghost { border-color: var(--gold); color: var(--ink); }
.btn--ghost:hover { color: var(--ink); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.btn--gold { background: var(--gold-metal); color: #1B0F22; }
.btn--gold:hover { color: #1B0F22; box-shadow: 0 0 24px -4px var(--gold-bright); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: .78rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.actions--center { justify-content: center; margin-top: 28px; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand__emblem { height: 44px; width: auto; }
:root[data-theme="dark"] .brand__emblem, :root[data-theme="dark"] .hero__emblem { filter: brightness(1.35) saturate(1.1); }
.brand__name { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .14em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-nav ul a { text-decoration: none; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; padding: 12px 0; display: inline-block; border-bottom: 1px solid transparent; }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--gold); }
.site-nav__actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold);
  background: transparent; color: var(--gold); cursor: pointer; display: grid; place-items: center; padding: 0;
}
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.theme-toggle:hover { box-shadow: 0 0 18px -4px var(--gold); }
.lang-switch {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-text);
  display: grid; place-items: center; font-size: .74rem; letter-spacing: .14em; text-decoration: none;
}
.lang-switch:hover { box-shadow: 0 0 18px -4px var(--gold); }
:root[data-theme="dark"] .icon-moon, :root:not([data-theme="dark"]) .icon-sun { display: none; }
.menu-toggle { display: none; }

@media (max-width: 920px) {
  .menu-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line);
    border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
  }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
    display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s;
  }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -6px; } .menu-toggle__bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-header__inner { flex-wrap: wrap; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 8px 0 24px; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav__actions { justify-content: space-between; }
}
@media (max-width: 420px) { .brand__name { font-size: 1.1rem; } .brand__emblem { height: 36px; } }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 var(--section); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__art { flex: 1 1 360px; min-width: 0; position: relative; display: grid; place-items: center; min-height: 380px; }
.hero__halo { position: absolute; width: min(460px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--halo); }
/* the stage is exactly the emblem's box, so the fairies are sized and placed relative to the muses */
.hero__stage { position: relative; width: min(440px, 76%); margin-top: 12%; }
.hero__emblem { position: relative; display: block; width: 100%; height: auto; animation: rise 1.4s ease both; }
.motto { display: flex; align-items: center; gap: 12px; font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-text); }

/* fairies: three cut-outs from the client's artwork; each drifts on its own path,
   bobs gently and leaves a little twinkling stardust */
.fairy { position: absolute; z-index: 2; pointer-events: none; }
/* each fairy = still body + wing layer(s) that beat from the shoulder (--pivot) */
.fairy__inner { position: relative; transform-origin: 50% 35%; animation: hover 3.4s ease-in-out infinite alternate; filter: saturate(1.15) brightness(.9); }
.fairy__inner img { display: block; width: 100%; height: auto; }
.fairy__inner .fairy__wing { position: absolute; inset: 0; transform-origin: var(--pivot); animation: flap var(--beat, .18s) ease-in-out infinite alternate; }
.fairy::after {
  content: ""; position: absolute; left: 30%; bottom: -6%; width: 45%; aspect-ratio: 3 / 4; opacity: .7;
  background: radial-gradient(circle, var(--gold) 0 1.4px, transparent 2px) 0 0 / 13px 15px,
              radial-gradient(circle, var(--gold) 0 1px, transparent 1.6px) 6px 7px / 13px 15px;
  -webkit-mask: linear-gradient(to bottom, #000, transparent); mask: linear-gradient(to bottom, #000, transparent);
  animation: twinkle 2.2s ease-in-out infinite;
}
.fairy--left { width: 10%; left: -12%; top: 24%; animation: fly-a 15s ease-in-out infinite; --pivot: 62% 35%; --beat: .17s; }
.fairy--center { width: 9%; left: 45.5%; top: -27%; animation: fly-b 12s ease-in-out -3s infinite; }
.fairy--center .fairy__inner { animation-duration: 2.8s; }
.fairy--center .fairy__wing--l { --pivot: 42% 32%; --beat: .19s; }
.fairy--center .fairy__wing--r { --pivot: 60% 29%; --beat: .19s; --skew: 4deg; }
.fairy--right { width: 9.5%; right: -11%; top: 28%; animation: fly-c 17s ease-in-out -6s infinite; }
.fairy--right { --pivot: 31% 31%; --beat: .2s; --skew: 4deg; }
.fairy--right .fairy__inner { animation-duration: 3.9s; animation-delay: -1s; }
:root[data-theme="dark"] .fairy__inner { filter: brightness(1.15) drop-shadow(0 0 6px rgba(212, 168, 82, .55)); animation-name: hover, glow; animation-duration: 3.4s, 4.5s; animation-direction: alternate; animation-iteration-count: infinite; }

@keyframes flap { from { transform: scaleX(1) skewY(0deg); } to { transform: scaleX(.42) skewY(var(--skew, -4deg)); } }
@keyframes hover { from { transform: translateY(0) rotate(-1.5deg) scale(1); } to { transform: translateY(-9px) rotate(1.5deg) scale(1.025); } }
@keyframes glow { from { filter: brightness(1.05) drop-shadow(0 0 3px rgba(212, 168, 82, .35)); } to { filter: brightness(1.25) drop-shadow(0 0 10px rgba(212, 168, 82, .75)); } }
@keyframes fly-a { 0%, 100% { transform: translate(0, 0) rotate(-3deg); } 30% { transform: translate(18px, -14px) rotate(2deg); } 65% { transform: translate(-8px, 16px) rotate(-1deg); } }
@keyframes fly-b { 0%, 100% { transform: translate(0, 0) rotate(2deg); } 50% { transform: translate(-22px, 12px) rotate(-3deg); } }
@keyframes fly-c { 0%, 100% { transform: translate(0, 0) rotate(3deg); } 35% { transform: translate(-16px, -18px) rotate(-2deg); } 70% { transform: translate(10px, -6px) rotate(1deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }
.tw { animation: twinkle 2.8s ease-in-out infinite; }
.tw--d2 { animation-delay: 1.3s; }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .7) 0; }
.section--flush-top { padding-top: 0; }
.section--band { background: var(--band); transition: background-color .5s ease; }
.section--plum { background: var(--plum-block); color: var(--plum-ink); }
.section--plum .lede, .section--plum .card p, .section--plum .feature p { color: var(--plum-muted); }
.section--plum .feature { border-left-color: color-mix(in srgb, var(--gold-bright) 40%, transparent); }
.section--plum .eyebrow { color: var(--gold-bright); }
.section--plum .sparkle { fill: var(--gold-bright); }
.section--night { background: #1B0F22; color: #F4EAF6; }
.section--night .eyebrow { color: var(--gold-bright); }
.section--night .lede { color: #CDB9D6; }

.heading { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; max-width: 720px; }
.heading--center { align-items: center; text-align: center; margin-inline: auto; }
.split-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.split-heading .heading { margin-bottom: 0; }
.split-heading > .lede { max-width: 28em; }
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.page-hero .heading { margin-bottom: 24px; }
.page-hero--404 { min-height: 60vh; display: grid; align-items: center; }

.divider { display: flex; align-items: center; gap: 14px; max-width: 360px; margin: 0 auto; }
.divider span { height: 1px; flex: 1; background: color-mix(in srgb, var(--gold) 60%, transparent); }

.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 64px); align-items: center; }
.split--end { align-items: flex-end; }
.split--start { align-items: flex-start; }
.split > * { flex: 1 1 400px; min-width: 0; }
.split__text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.split__text .heading { margin-bottom: 4px; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(40px, 6vw, 64px); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid--services { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 12px;
  transition: background-color .5s ease, border-color .5s ease, transform .3s ease, box-shadow .3s ease;
}
.card p:not(.eyebrow) { color: var(--muted); } /* eyebrows keep their gold, as everywhere else */
/* open columns for statements that aren't links: boxes are kept for clickable cards only */
.features { gap: 40px 0; }
.feature { display: flex; flex-direction: column; gap: 12px; padding: 4px 28px; border-left: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.feature p { color: var(--muted); }
@media (max-width: 600px) { .feature { padding: 0 0 0 20px; } }
.card--outline { background: transparent; border-color: var(--plum-line); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--ink) 60%, transparent); border-color: var(--gold); }

/* Clickable cards: a gentle 3D tilt toward the pointer, a gold light that follows it and a glass
   sheen sliding across. site.js sets --rx/--ry (tilt), --mx/--my (light) and --sx (sheen). */
a.card { position: relative; overflow: hidden; isolation: isolate; }
a.card.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); transition: transform .35s cubic-bezier(.2, .8, .2, 1), background-color .5s ease, border-color .3s ease, box-shadow .3s ease; }
a.card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  opacity: 0; transition: opacity .35s ease;
  background:
    radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--gold) var(--glow, 30%), transparent), transparent 60%),
    linear-gradient(115deg, transparent 38%, var(--sheen, rgba(201, 162, 90, .22)) 50%, transparent 62%);
  background-size: 100% 100%, 300% 100%;
  background-position: 0 0, var(--sx, 100%) 0;
}
a.card:hover::after { opacity: 1; }
[data-theme="dark"] a.card { --sheen: rgba(255, 236, 196, .12); --glow: 24%; }
a.card--cta, [data-theme="dark"] a.card--cta { --sheen: rgba(255, 255, 255, .5); --glow: 0%; }
.card--service { min-height: 240px; }
.card--service p { flex-grow: 1; }
.card__num { font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1; }
.card__more { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
a.card--cta, .card--cta { background: var(--btn-bg); color: var(--btn-ink); border-color: transparent; justify-content: center; min-height: 240px; }
.card--cta .card__more { color: inherit; }
a.card--cta:hover { color: var(--btn-ink); }
.card__big { font-family: var(--font-literary); font-style: italic; font-size: 1.6rem; line-height: 1.3; }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.steps li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.steps p { color: var(--muted); max-width: 22em; }
.medallion {
  width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--gold);
  outline: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); outline-offset: 5px;
  display: grid; place-items: center; margin: 6px 0 4px;
  font-family: var(--font-display); font-size: 1.55rem; color: var(--gold-text);
}

/* challenge doors */
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.section--night .facts { color: var(--gold-bright); }
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.door {
  position: relative; aspect-ratio: 3 / 4; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--gold) 70%, transparent);
  background: var(--mauve); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.door::before { content: ""; position: absolute; inset: 6px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .35); pointer-events: none; }
.door:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -20px var(--gold); }
.door--open { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 0 22px -8px var(--gold); }
.door--open::before { border-color: color-mix(in srgb, var(--gold) 70%, transparent); }
.door__spark { position: absolute; top: 12px; right: 12px; }
.door--open .door__spark { fill: currentColor; opacity: .85; }
.door__n { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.8rem); }
.door__label { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; }
.doors--night .door { background: #2A1733; color: var(--gold-bright); border-color: var(--gold-bright); }
.doors--night .door::before { border-color: rgba(212, 168, 82, .35); }

/* founders */
.photo-frame { position: relative; width: 100%; aspect-ratio: 4 / 5; }
.photo-frame::before {
  content: ""; position: absolute; inset: 0; border: 1px solid var(--gold); border-radius: 28px;
  transform: translate(-14px, 14px); transition: transform .5s ease;
}
.photo-frame img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 28px; background: #fff;
  box-shadow: 0 22px 40px -30px rgba(27, 15, 34, .7);
}
.photo-frame__spark { position: absolute; z-index: 2; top: -10px; left: -10px; }
figure:hover .photo-frame::before, .founder:hover .photo-frame::before { transform: translate(-8px, 8px); }
.founders-mini figure:nth-child(2) .photo-frame::before, .founder:nth-child(2) .photo-frame::before { transform: translate(14px, 14px); }
.founders-mini figure:nth-child(2) .photo-frame__spark, .founder:nth-child(2) .photo-frame__spark { left: auto; right: -10px; }
.founders-mini figure:nth-child(2):hover .photo-frame::before, .founder:nth-child(2):hover .photo-frame::before { transform: translate(8px, 8px); }
.photo-frame--lg { max-width: 400px; align-self: center; }
.founders-mini { display: flex; gap: 36px; justify-content: center; }
.founders-mini figure { margin: 0; flex: 1 1 0; max-width: 250px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.founders-mini figcaption { font-family: var(--font-display); letter-spacing: .08em; }
.founder { display: flex; flex-direction: column; gap: 16px; }
.founder > p:not(.eyebrow) { color: var(--muted); }
.pull { margin: 0; font-family: var(--font-literary); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--ink); }

.quote blockquote { margin: 0; font-family: var(--font-literary); font-style: italic; font-size: 1.3rem; line-height: 1.45; }
.quote figcaption { display: flex; flex-direction: column; gap: 4px; }
.quote figcaption span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }

.cta-band { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }

/* service detail */
.crumbs { font-size: .85rem; color: var(--muted); }
/* small links get a 44px touch area without moving the layout */
.crumbs a, .site-footer__legal a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.summary { flex: 0 1 360px; }
.summary dl { margin: 0 0 8px; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; }
.share { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.share__label { margin: 0 0 8px; font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.share__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.share__list a, .share__copy { display: inline-flex; align-items: center; min-height: 44px; font: inherit; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.share__list a:hover, .share__copy:hover { color: var(--ink); }
.share__list .sparkle { fill: var(--gold); display: block; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; }
.ticks .sparkle { transform: translateY(2px); }

/* forms */
.form { gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px; min-height: 52px; width: 100%;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--muted); min-height: 44px; padding-top: 8px; cursor: pointer; }
.check input { width: 20px; min-height: 20px; height: 20px; margin-top: 4px; accent-color: var(--ink); flex: none; }
.form-status { font-size: .95rem; min-height: 1.4em; }
.form-status.is-ok { color: var(--gold-text); }
.form-status.is-error { color: #B3261E; }
:root[data-theme="dark"] .form-status.is-error { color: #FFB4AB; }
.big-link { font-family: var(--font-literary); font-size: 1.5rem; word-break: break-all; }

/* newsletter */
.newsletter { padding: 0 0 var(--section); }
.newsletter__card {
  position: relative; overflow: hidden; max-width: 1000px; margin: 0 auto; text-align: center;
  background: var(--plum-block); color: var(--plum-ink); border-radius: 32px; padding: clamp(44px, 7vw, 72px) clamp(20px, 5vw, 48px);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.newsletter__card .eyebrow { color: var(--gold-bright); }
.newsletter__card .lede { color: var(--plum-muted); max-width: 30em; }
.newsletter__card .sparkle { fill: var(--gold-bright); position: absolute; }
.newsletter__s1 { left: 7%; top: 18%; }
.newsletter__s2 { right: 9%; bottom: 20%; }
.form-inline { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; width: 100%; max-width: 540px; margin-top: 8px; }
.form-inline input[type="email"] { flex: 1 1 240px; width: auto; border-radius: 999px; background: transparent; color: inherit; border-color: var(--gold-bright); }
.form-inline input::placeholder { color: color-mix(in srgb, var(--plum-ink) 60%, transparent); }
.form-note { width: 100%; font-size: .82rem; color: var(--plum-muted); }
.newsletter .form-status { width: 100%; }
.newsletter .form-status.is-ok { color: var(--gold-bright); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 36px; }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand p { font-family: var(--font-literary); font-style: italic; font-size: 1.2rem; color: var(--muted); max-width: 24em; }
.logo { width: 200px; height: auto; }
:root[data-theme="dark"] .logo--light, :root:not([data-theme="dark"]) .logo--dark { display: none; }
.site-footer .eyebrow { margin-bottom: 12px; }
.plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plain--row { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }
.site-footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .85rem; color: var(--muted); }

.site-footer__legal .credit { color: var(--ink); font-weight: 500; text-decoration: none; }
.site-footer__legal .credit:hover { color: var(--gold-text); }

/* legal prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; }

/* ---------- magic layers ---------- */
.sky, .dust { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sky { z-index: 0; }
.dust { z-index: 50; }

/* scroll reveal: only when JS is on, and never for reduced motion */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .founders-mini { gap: 24px; }
  .hero__art { min-height: 300px; }
  .hero__stage { width: 70%; }
}
