/* ==========================================================================
   Verdandi Capital — styles
   Direction: monochrome, bold sans, glowing orb hero, soft grey sections
   ========================================================================== */

:root {
  --black: #000;
  --ink: #0b0b0c;
  --ink-2: #161618;
  --ink-3: #222226;
  --white: #fff;
  --grey: #f5f5f5;
  --grey-2: #ebebeb;
  --lavender: #e5e4fb;
  --indigo: #4a47d6;
  --green: #27a659;
  --text: #0b0b0c;
  --muted: #5f5f66;
  --muted-light: #a3a3ab;
  --line: rgba(0, 0, 0, 0.1);
  --line-dark: rgba(255, 255, 255, 0.14);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 12vw, 160px);
  --radius: 8px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grey);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--black); padding: 10px 16px; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

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

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.2; font-weight: 600; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.5; color: var(--muted); max-width: 40ch; letter-spacing: -0.01em; }
.on-dark .lede { color: #d6d6dc; }
.label { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.on-dark .label { color: var(--muted-light); }

/* hand-drawn scribble around a word */
.scribble { position: relative; display: inline-block; }
.scribble svg {
  position: absolute; left: -12%; top: -14%; width: 124%; height: 130%;
  overflow: visible; pointer-events: none;
}
.scribble path {
  fill: none; stroke: var(--indigo); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 900; stroke-dashoffset: 900;
  transition: stroke-dashoffset 1.6s var(--ease) .3s;
}
.is-visible .scribble path, .scribble.is-visible path { stroke-dashoffset: 0; }

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

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 48px; padding: 0 20px;
  font-size: 16px; font-weight: 500;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--grey-2); }

/* Input-style CTA (field + square arrow button) */
.field-cta {
  display: inline-flex; align-items: stretch; height: 54px;
  border: 1px solid rgba(255,255,255,.85); border-radius: var(--radius); overflow: hidden;
  background: var(--black); color: var(--white);
  max-width: 100%;
  transition: border-color .25s;
}
.field-cta span { display: flex; align-items: center; padding: 0 20px; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field-cta i { display: grid; place-items: center; width: 54px; flex: none; background: var(--white); color: var(--black); transition: background .25s; }
.field-cta i svg { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.field-cta:hover i svg { transform: translateX(3px); }
.field-cta.is-light { background: var(--white); color: var(--black); border-color: var(--black); }
.field-cta.is-light i { background: var(--black); color: var(--white); }

/* ---------- Announcement + header ---------- */

.announce {
  display: block; background: var(--black); color: var(--white);
  text-align: center; padding: 11px 16px;
  font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 480px) { .announce { font-size: 11.5px; letter-spacing: .04em; } }
.announce:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 50; color: var(--white); background: var(--black); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: rgba(0,0,0,.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .3s;
}
.site-header.is-scrolled::before { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; transition: height .3s var(--ease); }
.is-scrolled .header-inner { height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 24px; letter-spacing: -0.04em; }
.brand-mark { width: 26px; height: 26px; }
.brand-word { white-space: nowrap; }
.brand-accent { color: #a8a6ff; } /* violet on black header */
.site-footer .brand-accent { color: var(--indigo); } /* deeper violet on white footer */

.nav { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.7); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 40px;
    padding: 100px var(--gutter) 48px; background: var(--black);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; gap: 14px; }
  .nav-links a { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; color: var(--white); }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero with orb ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--black); color: var(--white);
  min-height: calc(100svh - 132px);
  display: grid; place-items: center; text-align: center;
  padding: 60px 0 140px;
}
.orb {
  position: absolute; z-index: -1; left: 50%; top: 50%;
  width: min(120vw, 1080px); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -48%);
  background:
    radial-gradient(circle at 50% 8%, rgba(255,255,255,.22), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,.35), transparent 22%),
    radial-gradient(circle at 50% 45%, rgba(40,40,44,.9) 0%, rgba(10,10,12,.95) 55%, rgba(30,30,34,.9) 78%, rgba(120,120,128,.55) 96%);
  box-shadow:
    inset 0 0 2px 1px rgba(255,255,255,.9),
    inset 0 0 18px rgba(255,255,255,.45),
    inset 0 0 60px rgba(255,255,255,.22),
    inset 0 0 140px rgba(255,255,255,.08),
    0 0 60px rgba(255,255,255,.18),
    0 0 220px rgba(255,255,255,.06);
  animation: breathe 9s ease-in-out infinite alternate;
}
.orb::before, .orb::after {
  /* rim glints */
  content: ""; position: absolute; border-radius: 50%; filter: blur(14px);
  background: rgba(255,255,255,.75);
}
.orb::before { width: 26%; height: 3%; left: 37%; bottom: 1%; }
.orb::after { width: 3%; height: 22%; left: 2.5%; top: 40%; opacity: .55; }
.orb-threads { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; opacity: .55; }
.orb-threads path { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 3.5s var(--ease) .4s forwards; }
.orb-threads path:nth-child(2) { stroke: rgba(196,194,255,.5); animation-delay: .7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes breathe { from { transform: translate(-50%, -48%) scale(1); } to { transform: translate(-50%, -48%) scale(1.035); } }

.hero h1 { font-size: clamp(3.25rem, 9vw, 7rem); max-width: 11ch; margin-inline: auto; }
.hero .lede { margin: 24px auto 0; color: var(--white); max-width: 30ch; }
.hero-cta { margin-top: 44px; display: grid; justify-items: center; gap: 18px; }
.backers { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.avatars { display: flex; }
.avatars span {
  width: 30px; height: 30px; border-radius: 50%; margin-left: -8px;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0;
  background: var(--ink-3); color: var(--white); border: 2px solid var(--black);
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: var(--indigo); }
.avatars span:nth-child(3) { background: #f1f1f1; color: var(--black); }
.avatars span:nth-child(4) { background: #6b6b74; }

.curve { position: absolute; left: -10%; right: -10%; bottom: -1px; height: clamp(40px, 7vw, 90px); background: var(--grey); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }

.page-hero { min-height: 0; padding: 120px 0 170px; }
.page-hero .orb { width: min(110vw, 900px); }
.page-hero h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); max-width: 14ch; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); position: relative; }
.on-dark { background: var(--black); color: var(--white); }
.on-white { background: var(--white); }
.section-head { display: grid; gap: 24px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head.center { text-align: center; justify-items: center; }
.section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 24px 64px; }
@media (max-width: 820px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Floating cards collage ---------- */

.collage { position: relative; height: 640px; max-width: 1040px; margin-inline: auto; }
.collage-core {
  /* centred without transform so the .reveal transform can't fight it */
  position: absolute; inset: 0; margin: auto; height: max-content;
  width: 300px; border-radius: 36px; padding: 28px 22px;
  background: var(--lavender); border: 8px solid var(--white);
  box-shadow: 0 30px 80px rgba(0,0,0,.12);
  display: grid; gap: 10px;
}
.core-top { text-align: center; padding: 8px 0 18px; }
.core-top b { display: block; font-size: 44px; letter-spacing: -0.04em; color: #2b2a6e; line-height: 1; }
.core-top small { color: #4a4a7c; font-size: 14px; }
.core-row {
  display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px;
  background: #24235e; color: var(--white); font-size: 12.5px;
}
.core-row em { font-style: normal; margin-left: auto; opacity: .6; font-size: 11px; }

.note {
  position: absolute; display: flex; align-items: center; gap: 12px;
  width: 270px; padding: 12px 14px; border-radius: 14px;
  background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.08), 0 1px 0 rgba(0,0,0,.04);
  font-size: 13px; line-height: 1.35;
  will-change: transform;
}
.note .ico { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 700; color: var(--white); background: var(--black); font-size: 14px; }
.note b { display: block; font-weight: 600; font-size: 13.5px; }
.note span { color: var(--muted); }
.note time { margin-left: auto; align-self: flex-start; color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.note.is-wide { width: 300px; flex-direction: column; align-items: stretch; text-align: center; gap: 6px; padding: 16px; }
.note.is-wide a { color: var(--indigo); font-weight: 600; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.note .act { display: flex; gap: 6px; margin-left: auto; }
.note .act i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--white); font-style: normal; font-size: 12px; }
.note .act i:first-child { background: #e5484d; }
.note .act i:last-child { background: var(--green); }

.n1 { left: 0; top: 40px; }
.n2 { left: 58%; top: 0; }
.n3 { left: 8%; top: 250px; }
.n4 { right: 0; top: 190px; }
.n5 { left: 2%; bottom: 60px; }
.n6 { right: 2%; bottom: 20px; }
.n7 { left: 26%; bottom: -10px; }

@media (max-width: 900px) {
  .collage { height: auto; display: grid; gap: 12px; justify-items: center; }
  .collage-core { position: relative; inset: auto; margin: 0 0 12px; }
  .note { position: relative; inset: auto; width: 100%; max-width: 360px; transform: none !important; }
  .note.is-wide { width: 100%; max-width: 360px; }
  .n5, .n6, .n7 { display: none; }
}

/* ---------- Mission + process board ---------- */

.mission h2 { font-size: clamp(2.75rem, 6vw, 4.5rem); }
.mission .lede { margin-top: 28px; max-width: 46ch; color: var(--text); }

.board-wrap { margin-top: clamp(48px, 6vw, 80px); background: var(--lavender); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 32px); }
.board { background: var(--ink); color: var(--white); border-radius: 18px; padding: clamp(14px, 2.4vw, 28px); display: grid; gap: 12px; }
.week { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.week-tag { border: 1px solid var(--line-dark); border-radius: 14px; display: grid; place-content: center; text-align: center; padding: 16px 8px; }
.week-tag b { font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; }
.week-tag span { font-size: 13px; color: var(--muted-light); }
.week-rows { display: grid; gap: 10px; }
.task {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line-dark); border-radius: 12px; padding: 14px 16px; font-size: 15px;
  opacity: .35; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.task svg { width: 18px; height: 18px; color: #a8a6ff; flex: none; }
.task .done { margin-left: auto; display: grid; justify-items: center; color: var(--green); font-size: 12px; }
.task .done svg { color: var(--green); }
.board.is-visible .task { opacity: 1; transform: none; }
.board.is-visible .week:nth-child(2) .task { transition-delay: .25s; }
.board.is-visible .week:nth-child(3) .task { transition-delay: .5s; }
@media (max-width: 600px) {
  .week { grid-template-columns: 1fr; }
  .week-tag { grid-auto-flow: column; gap: 10px; place-content: start; align-items: baseline; padding: 10px 14px; }
  .week-tag b { font-size: 18px; }
}

/* ---------- Pillars / focus cards ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px 36px;
  display: grid; align-content: start; gap: 14px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.06); }
.card .num { font-size: 14px; font-weight: 600; color: var(--indigo); }
.card h3 { margin-top: 40px; }
.card p { color: var(--muted); font-size: 16px; }
.on-dark .card { background: var(--ink-2); }
.on-dark .card p { color: var(--muted-light); }
.on-dark .card .num { color: #a8a6ff; }
@media (max-width: 960px) { .cards, .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards, .cards.four { grid-template-columns: 1fr; } }

.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; }
.term { background: var(--white); border-radius: var(--radius-lg); padding: 28px; }
.term dt { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 36px; }
.term dd { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.term dd small { display: block; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-top: 10px; line-height: 1.45; }
@media (max-width: 960px) { .terms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .terms { grid-template-columns: 1fr; } }

/* ---------- Portfolio ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); background: var(--white); transition: all .25s var(--ease); }
.chip:hover { color: var(--text); border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }

.company {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 18px; min-height: 280px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.company:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.07); }
.company.is-hidden { display: none; }
.company.is-featured { background: var(--black); color: var(--white); }
.company.is-featured p, .company.is-featured .company-stage, .company.is-featured .company-meta { color: var(--muted-light); }
.company.is-featured .company-logo { background: var(--white); color: var(--black); }
.company.is-featured .company-meta { border-color: var(--line-dark); }
.company-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.company-logo { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--black); color: var(--white); font-weight: 700; font-size: 20px; }
.company-stage { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.company h3 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; }
.company p { color: var(--muted); font-size: 15.5px; flex: 1; }
.company-meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

.portfolio-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.portfolio-foot p { color: var(--muted); font-size: 15px; max-width: 52ch; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.text-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

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

.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.story-body { display: grid; gap: 22px; font-size: 18px; }
.story-body p:first-child { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; letter-spacing: -0.015em; }
.story-aside { position: sticky; top: 110px; display: grid; gap: 24px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story-aside { position: static; } }

.norn-figure { background: var(--white); border-radius: var(--radius-lg); padding: 28px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
.norn-figure div { display: grid; gap: 6px; justify-items: center; padding: 12px 4px; border-radius: 14px; }
.norn-figure .is-present { background: var(--lavender); }
.norn-figure .rune { font-size: 30px; line-height: 1; font-family: "Segoe UI Historic", "Noto Sans Runic", serif; }
.norn-figure .is-present .rune { color: var(--indigo); }
.norn-figure b { font-size: 17px; letter-spacing: -0.02em; }
.norn-figure small { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.person { background: var(--white); border-radius: var(--radius-lg); padding: 12px 12px 24px; display: grid; gap: 16px; }
.portrait { aspect-ratio: 1; border-radius: 16px; background: radial-gradient(circle at 50% 30%, #3a3a40, var(--black) 70%); display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 30px rgba(255,255,255,.12); }
.portrait span { font-size: 64px; font-weight: 700; letter-spacing: -0.05em; color: var(--white); }
.person > div, .person > p, .person > a { padding-inline: 12px; }
.person h3 { font-size: 1.3rem; }
.person .role { font-size: 13px; color: var(--indigo); font-weight: 500; margin-top: 4px; }
.person p { color: var(--muted); font-size: 15px; }
.person .social { font-size: 14px; font-weight: 500; color: var(--muted); }
.person .social:hover { color: var(--text); }

/* ---------- Quote ---------- */

.quote { max-width: 960px; margin-inline: auto; text-align: center; }
.quote blockquote { margin: 0; font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.quote blockquote span { color: var(--muted-light); }
.quote figcaption { margin-top: 32px; font-size: 14px; color: var(--muted-light); }

/* ---------- Final CTA ---------- */

.final { text-align: center; }
.final h2 { max-width: 14ch; margin-inline: auto; }
.final .lede { margin: 24px auto 40px; }

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

.site-footer { background: var(--grey); padding: 0 0 48px; }
.footer-inner { border-top: 1px solid rgba(0,0,0,.4); padding-top: 40px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px 48px; }
.footer-address { font-style: normal; display: grid; gap: 10px; align-content: start; font-size: 15px; line-height: 1.55; }
.footer-address a { font-weight: 500; width: fit-content; border-bottom: 1px solid currentColor; }
.footer-address a:hover { color: var(--indigo); }
.site-footer .brand { color: var(--black); }
.site-footer p { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 32ch; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; list-style: none; margin: 0; padding: 0; align-content: start; }
.footer-links a { font-size: 15px; color: var(--text); }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); padding-top: 24px; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-inner > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }

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

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.no-js .reveal, .no-js .task { opacity: 1; transform: none; }

.rise { opacity: 0; transform: translateY(28px); animation: rise 1.1s var(--ease) forwards; }
.rise.d1 { animation-delay: .12s; }
.rise.d2 { animation-delay: .24s; }
.rise.d3 { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .rise, .task { opacity: 1; transform: none; }
  .orb-threads path, .scribble path { stroke-dashoffset: 0; }
  .note { transform: none !important; }
}
