/* ==========================================================================
   Lucy Antrobus — Human Alchemy Lab
   Design system: editorial luxury × bold energy
   ========================================================================== */

:root {
  /* Palette */
  --ink: #0e0e10;
  --ink-2: #1a1a1f;
  --ink-3: #2a2a31;
  --ivory: #f6f1ea;
  --ivory-2: #ede5da;
  --paper: #fbf8f4;
  --violet: #5b2eff;
  --violet-soft: #9a82ff;
  --copper: #c8794a;
  --copper-soft: #e0a27c;
  --muted: #6b6760;
  --muted-dark: #a7a29a;
  --line: rgba(14, 14, 16, 0.12);
  --line-dark: rgba(246, 241, 234, 0.14);

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-hero: clamp(3rem, 8.2vw, 7.4rem);
  --fs-h1: clamp(2.6rem, 6vw, 5.2rem);
  --fs-h2: clamp(2rem, 4.2vw, 3.6rem);
  --fs-h3: clamp(1.35rem, 2vw, 1.75rem);
  --fs-lead: clamp(1.15rem, 1.6vw, 1.4rem);

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5rem, 11vw, 9.5rem);
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

::selection { background: var(--violet); color: #fff; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--ivory); padding: .7rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.display { font-size: var(--fs-hero); font-weight: 350; letter-spacing: -0.035em; line-height: .95; }
.h1 { font-size: var(--fs-h1); font-weight: 350; }
.h2 { font-size: var(--fs-h2); font-weight: 350; line-height: 1.05; }
.h3 { font-size: var(--fs-h3); font-weight: 450; line-height: 1.2; letter-spacing: -0.01em; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 300; }
.accent { color: var(--violet); }
.on-dark .accent, .hero .accent, .page-hero .accent { color: var(--violet-soft); }
.copper { color: var(--copper); }

.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 38em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.6rem;
}
.eyebrow::before { content: ""; width: 1.8rem; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--muted-dark); }

.muted { color: var(--muted); }
.on-dark .muted { color: var(--muted-dark); }

/* Placeholder marker for content still to be confirmed */
.tk {
  background: rgba(200, 121, 74, .18);
  border-bottom: 1px dashed var(--copper);
  padding: 0 .2em;
  font-style: normal;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--ivory);
  display: inline-flex; align-items: center; gap: .65rem;
  padding: 1rem 1.55rem;
  font: 600 .95rem/1 var(--sans); letter-spacing: .01em;
  color: var(--fg); background: var(--bg);
  border: 1px solid var(--bg); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--violet { --bg: var(--violet); --fg: #fff; }
.btn--violet:hover { --bg: #4a1ff0; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.on-dark .btn--ghost { --fg: var(--ivory); border-color: var(--line-dark); }
.on-dark .btn--ghost:hover { border-color: var(--ivory); }
.btn--light { --bg: var(--ivory); --fg: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow .arrow { transition: transform .35s var(--ease); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s, border-color .35s, color .35s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-header.is-scrolled {
  background: rgba(251, 248, 244, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
body.header-dark .site-header:not(.is-scrolled) { color: var(--ivory); }

.brand { display: flex; align-items: baseline; gap: .6rem; text-decoration: none; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -0.02em; }
.brand__tag {
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; opacity: .6;
  display: none;
}
@media (min-width: 1100px) { .brand__tag { display: inline; } }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  text-decoration: none; font-size: .92rem; font-weight: 500; position: relative; padding: .3rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: .75rem 1.2rem; font-size: .88rem; }
body.header-dark .site-header:not(.is-scrolled) .nav .btn { --bg: var(--ivory); --fg: var(--ink); }

.nav-toggle {
  display: none; background: none; border: 0; color: inherit; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; margin-right: -10px;
}
.nav-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; height: calc(100dvh - 76px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2rem;
    padding: 2rem var(--gutter);
    background: var(--ink); color: var(--ivory);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  }
  .nav__links { flex-direction: column; gap: .4rem; }
  .nav__links a { font-family: var(--serif); font-size: 2.2rem; letter-spacing: -0.02em; }
  .nav .btn { --bg: var(--violet); --fg: #fff; border-color: var(--violet); padding: 1rem 1.5rem; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  body.nav-open .site-header { background: var(--ink); color: var(--ivory); border-color: var(--line-dark); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.on-dark { background: var(--ink); color: var(--ivory); }
.on-ivory { background: var(--ivory); }
.on-violet { background: var(--violet); color: #fff; }
.on-violet .eyebrow, .on-violet .muted { color: rgba(255,255,255,.72); }

.section-head { display: grid; gap: 1.5rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 4rem; }
  .section-head--split .lead { justify-self: end; }
}

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.on-dark .rule { border-color: var(--line-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: 120px; padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--ink); color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; z-index: -1; border-radius: 50%; opacity: .55;
  pointer-events: none;
}
.hero__glow--a { width: 52vw; height: 52vw; right: -12vw; top: -14vw; background: radial-gradient(circle, var(--violet) 0%, transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.hero__glow--b { width: 38vw; height: 38vw; left: -10vw; bottom: -18vw; background: radial-gradient(circle, var(--copper) 0%, transparent 65%); opacity: .35; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-4vw, 3vw) scale(1.08); } }

.hero__molecule { position: absolute; z-index: -1; right: 4%; top: 18%; width: min(46vw, 620px); opacity: .22; }
.hero__molecule circle, .hero__molecule line { stroke: var(--ivory); fill: none; stroke-width: 1; }
.hero__molecule circle.filled { fill: var(--ivory); stroke: none; }
.hero__molecule { animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__grid { display: grid; gap: 3rem; align-items: end; width: 100%; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.45fr .75fr; gap: 4rem; } }

.hero__title { margin-bottom: 2rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }

.hero__sub { color: rgba(246, 241, 234, .78); margin-bottom: 2.2rem; }
.hero .fade-in { opacity: 0; animation: fade 1s .55s var(--ease) forwards; }
@keyframes fade { to { opacity: 1; } }

.hero__portrait { position: relative; }
.hero__portrait .photo { aspect-ratio: 4 / 5; }
.hero__badge {
  position: absolute; left: -1.2rem; bottom: 1.6rem;
  background: var(--ivory); color: var(--ink);
  padding: .9rem 1.1rem; border-radius: var(--radius);
  font-size: .78rem; line-height: 1.35; max-width: 15rem;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
}
.hero__badge strong { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  width: 1px; height: 46px; background: linear-gradient(var(--ivory), transparent); opacity: .5;
}

/* Page hero (interior pages) */
.page-hero {
  background: var(--ink); color: var(--ivory);
  padding-top: calc(76px + clamp(4rem, 10vw, 8rem));
  padding-bottom: clamp(4rem, 8vw, 7rem);
  position: relative; overflow: hidden; isolation: isolate;
}
.page-hero .lead { color: rgba(246, 241, 234, .78); margin-top: 1.8rem; }
.page-hero .hero__glow--a { width: 40vw; height: 40vw; top: -20vw; }

/* ---------- Photo placeholders ---------- */
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(91, 46, 255, .45), transparent 60%),
    radial-gradient(90% 80% at 10% 100%, rgba(200, 121, 74, .5), transparent 60%),
    var(--ink-3);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo--video::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14,14,16,.25), rgba(14,14,16,.75)); }
.photo--video > div { position: relative; z-index: 2; }

/* Captioned photo gallery */
.gallery { display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.gallery figure { margin: 0; }
.gallery .photo { aspect-ratio: 4 / 3; }
.gallery figcaption { margin-top: .9rem; font-size: .85rem; line-height: 1.45; color: var(--muted); }
.gallery figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.on-dark .gallery figcaption { color: var(--muted-dark); }
.on-dark .gallery figcaption strong { color: var(--ivory); }

.quote__meta { display: inline-block; margin-top: .5rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-soft); }
.photo__label {
  position: absolute; inset: auto 1rem 1rem 1rem;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(246, 241, 234, .7);
  border-top: 1px solid rgba(246, 241, 234, .25); padding-top: .7rem;
}

/* ---------- Logo marquee ---------- */
.logos { padding-block: 2.6rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.logos__inner { display: flex; align-items: center; gap: 2.5rem; }
.logos__label { flex: none; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); max-width: 9rem; line-height: 1.4; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 4rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-word {
  font-family: var(--serif); font-size: 1.55rem; letter-spacing: -0.01em; white-space: nowrap;
  color: var(--ink); opacity: .72; display: flex; align-items: center; gap: .55rem;
}
.logo-word small { font-family: var(--sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
@media (max-width: 700px) {
  .logos__inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .marquee { width: 100%; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 2.2rem 1.5rem 2.2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .stat { border-bottom: 0; } .stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); } }
.stat__num { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; font-weight: 350; }
.stat__num sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; color: var(--violet); }
.stat__label { margin-top: .8rem; font-size: .92rem; color: var(--muted); max-width: 14em; line-height: 1.45; }
.on-dark .stats, .on-dark .stat { border-color: var(--line-dark); }

/* ---------- Reaction (problem -> outcome) ---------- */
.reaction { display: grid; gap: 2rem; align-items: stretch; }
@media (min-width: 900px) { .reaction { grid-template-columns: 1fr auto 1fr; gap: 2.5rem; } }
.reaction__side { padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius); }
.reaction__side--before { background: var(--ink-2); }
.reaction__side--after { background: var(--violet); color: #fff; }
.reaction__side h3 { margin-bottom: 1.6rem; }
.reaction__side ul { list-style: none; margin: 0; padding: 0; }
.reaction__side li { padding: .85rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.reaction__arrow { display: grid; place-items: center; text-align: center; gap: .6rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.reaction__arrow svg { width: 88px; }
@media (max-width: 899px) { .reaction__arrow svg { transform: rotate(90deg); width: 56px; } }

/* ---------- Elements (method) ---------- */
.elements { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 640px) { .elements { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .elements { grid-template-columns: repeat(5, 1fr); } }
.element {
  background: var(--paper); padding: 1.6rem 1.5rem 2rem; position: relative;
  transition: background .35s, color .35s;
}
.on-ivory .element { background: var(--ivory); }
.element:hover { background: var(--ink); color: var(--ivory); }
.element__num { font-size: .72rem; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; }
.element:hover .element__num { color: var(--muted-dark); }
.element__sym { font-family: var(--serif); font-size: 3.6rem; line-height: 1; margin: 1.4rem 0 .4rem; letter-spacing: -0.03em; }
.element__sym span { color: var(--violet); }
.element:hover .element__sym span { color: var(--violet-soft); }
.element__name { font-weight: 600; margin-bottom: .6rem; }
.element p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.55; }
.element:hover p { color: var(--muted-dark); }

/* ---------- Offer cards ---------- */
.offers { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .offers { grid-template-columns: repeat(6, 1fr); } }
.offer {
  position: relative; display: flex; flex-direction: column;
  padding: 2rem; min-height: 19rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; background: var(--paper);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
}
.offer:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 30px 60px -40px rgba(14,14,16,.45); }
@media (min-width: 900px) {
  .offer { grid-column: span 2; }
  .offer--feature { grid-column: span 4; grid-row: span 2; }
}
.offer__kicker { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: auto; padding-bottom: 2rem; }
.offer h3 { margin-bottom: .8rem; }
.offer p { color: var(--muted); margin-bottom: 1.4rem; font-size: .98rem; }
.offer .link-arrow { margin-top: auto; align-self: flex-start; }
.offer--feature {
  background: var(--ink); color: var(--ivory); border-color: var(--ink); overflow: hidden; isolation: isolate;
  padding: clamp(2rem, 4vw, 3.2rem);
}
.offer--feature::before {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 80%; aspect-ratio: 1; z-index: -1;
  background: radial-gradient(circle, rgba(91,46,255,.7), transparent 65%);
  transition: transform .8s var(--ease);
}
.offer--feature:hover::before { transform: scale(1.15) translate(-5%, -5%); }
.offer--feature .offer__kicker, .offer--feature p { color: var(--muted-dark); }
.offer--feature h3 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.02; }
.offer--feature .tag {
  display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--violet); color: #fff; padding: .35rem .7rem; border-radius: 999px; margin-left: .6rem;
}
.offer-formats { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.offer-formats span { font-size: .8rem; border: 1px solid var(--line-dark); padding: .35rem .8rem; border-radius: 999px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  padding: 2.2rem; border: 1px solid var(--line-dark); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 2rem; margin: 0;
}
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; letter-spacing: -0.01em; }
.quote blockquote::before { content: "“"; display: block; font-size: 3.5rem; line-height: .6; color: var(--violet-soft); margin-bottom: .6rem; }
.quote figcaption { margin-top: auto; font-size: .88rem; }
.quote figcaption strong { display: block; font-weight: 600; }
.quote figcaption span { color: var(--muted-dark); }

.pullquote { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 300; max-width: 18em; margin: 0; }
.pullquote cite { display: block; margin-top: 1.8rem; font: 500 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; font-style: normal; opacity: .7; }

/* ---------- Words cloud ---------- */
.words { display: flex; flex-wrap: wrap; gap: .6rem; }
.words span {
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.5rem); font-style: italic;
  padding: .45rem 1.1rem; border: 1px solid var(--line-dark); border-radius: 999px;
}

/* ---------- Split / media ---------- */
.split { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.2fr .8fr; }
  .split--reverse > :first-child { order: 2; }
}
.split .photo { aspect-ratio: 4 / 5; }
.photo--landscape { aspect-ratio: 3 / 2 !important; }

/* ---------- Events list ---------- */
.events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.on-ivory .events, .events--light { border-color: var(--line); }
.event {
  display: grid; grid-template-columns: 5rem 1fr auto; gap: 1.5rem; align-items: baseline;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line-dark);
  transition: padding .35s var(--ease);
}
.events--light .event { border-color: var(--line); }
.event:hover { padding-left: .8rem; }
.event__year { font-size: .85rem; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.events--light .event__year { color: var(--muted); }
.event__name { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -0.015em; }
.event__type { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); text-align: right; }
.events--light .event__type { color: var(--muted); }
@media (max-width: 640px) {
  .event { grid-template-columns: 1fr; gap: .3rem; }
  .event__type { text-align: left; }
}

/* ---------- Lists & detail blocks ---------- */
.feature-list { display: grid; gap: 0; }
@media (min-width: 800px) { .feature-list { grid-template-columns: repeat(3, 1fr); column-gap: 2.5rem; } }
.feature { padding: 2rem 0; border-top: 1px solid var(--line); }
.on-dark .feature { border-color: var(--line-dark); }
.feature__num { font-size: .78rem; font-weight: 600; color: var(--violet); margin-bottom: 1.2rem; }
.on-dark .feature__num { color: var(--violet-soft); }
.feature h3 { margin-bottom: .7rem; }
.feature p { color: var(--muted); margin: 0; }
.on-dark .feature p { color: var(--muted-dark); }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: .75rem 0 .75rem 2rem; border-bottom: 1px solid var(--line); }
.on-dark .check-list li { border-color: var(--line-dark); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1.25rem; width: .9rem; height: .9rem;
  border: 1.5px solid var(--violet); border-radius: 50%;
}
.check-list li::after {
  content: ""; position: absolute; left: .3rem; top: 1.55rem; width: .3rem; height: .3rem; border-radius: 50%; background: var(--violet);
}

.formats { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .formats { grid-template-columns: repeat(3, 1fr); } }
.format { padding: 2.2rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.format--hl { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.format__dur { font-family: var(--serif); font-size: 3rem; line-height: 1; letter-spacing: -0.03em; margin-bottom: .3rem; }
.format__name { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.format--hl .format__name { color: var(--muted-dark); }
.format p { color: var(--muted); }
.format--hl p { color: var(--muted-dark); }
.format ul { margin: auto 0 0; padding: 1.2rem 0 0; list-style: none; border-top: 1px solid var(--line); font-size: .92rem; }
.format--hl ul { border-color: var(--line-dark); }
.format ul li { padding: .3rem 0; }
.format ul li::before { content: "→ "; color: var(--violet); }
.format--hl ul li::before { color: var(--violet-soft); }

.agenda { list-style: none; margin: 0; padding: 0; counter-reset: ag; }
.agenda li { display: grid; grid-template-columns: 6rem 1fr; gap: 1.5rem; padding: 1.4rem 0; border-top: 1px solid var(--line-dark); }
.agenda__time { font-size: .85rem; color: var(--muted-dark); font-variant-numeric: tabular-nums; padding-top: .3rem; }
.agenda h4 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: .3rem; }
.agenda p { margin: 0; color: var(--muted-dark); font-size: .95rem; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.5rem 3rem 1.5rem 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.8rem; transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); max-width: 44em; padding-bottom: 1.5rem; margin: 0; }

.topics { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .topics { grid-template-columns: repeat(3, 1fr); } }
.topic { padding: 2.2rem; border: 1px solid var(--line-dark); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 22rem; }
.topic__num { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--violet-soft); margin-bottom: auto; padding-bottom: 3rem; }
.topic h3 { margin-bottom: 1rem; }
.topic p { color: var(--muted-dark); margin: 0; }

.ventures { display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .ventures { grid-template-columns: 1fr 1fr; } }
.venture { padding: 2.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); text-decoration: none; display: block; transition: border-color .3s, transform .4s var(--ease); }
.venture:hover { border-color: var(--ink); transform: translateY(-3px); }
.venture__kicker { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); margin-bottom: 1rem; }
.venture p { color: var(--muted); margin: .7rem 0 0; }

.media-list { display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .media-list { grid-template-columns: 1fr 1fr; } }
.media-card { display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--paper); transition: border-color .3s, transform .4s var(--ease); }
.media-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.media-card__type { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); margin-bottom: 1.4rem; }
.media-card h3 { margin-bottom: .7rem; }
.media-card p { color: var(--muted); }
.media-card .link-arrow { margin-top: auto; align-self: flex-start; }

.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; text-align: center;
}
.video-frame .play {
  width: 88px; height: 88px; border-radius: 50%; background: var(--ivory); color: var(--ink);
  display: grid; place-items: center; margin: 0 auto 1rem;
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: left; }
.cta-band .display { font-size: clamp(2.8rem, 7vw, 6.2rem); max-width: 12em; margin-bottom: 2.2rem; }
.cta-band::after {
  content: ""; position: absolute; z-index: -1; right: -15%; top: -40%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 60%);
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.4rem; }
@media (min-width: 700px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .95rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(91, 46, 255, .15);
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; font-weight: 500; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; cursor: pointer; font-size: .9rem; transition: all .2s;
}
.chips input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.form__note { font-size: .82rem; color: var(--muted); }
.hidden { display: none !important; }

.contact-aside { display: grid; gap: 2rem; align-content: start; }
.contact-aside h3 { margin-bottom: .5rem; }
.contact-aside a { text-decoration: none; border-bottom: 1px solid var(--line-dark); }

.prose { max-width: 44rem; }
.prose h2 { font-family: var(--serif); font-size: 1.7rem; margin: 2.5rem 0 1rem; letter-spacing: -0.01em; }
.prose ul { padding-left: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--ivory); padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: 2rem; }
.footer__top { display: grid; gap: 3rem; padding-bottom: 4rem; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand .brand__name { font-size: 2.2rem; }
.footer__brand p { color: var(--muted-dark); margin-top: 1rem; max-width: 22rem; }
.footer__col h4 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 1.2rem; font-weight: 600; font-family: var(--sans); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__col a { text-decoration: none; opacity: .9; }
.footer__col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer__big {
  font-family: var(--serif); font-weight: 300; letter-spacing: -0.04em; line-height: .85;
  font-size: clamp(3rem, 11.2vw, 11rem); white-space: nowrap;
  border-top: 1px solid var(--line-dark); padding-top: 2rem; margin-bottom: 1.5rem;
  background: linear-gradient(180deg, var(--ivory) 30%, rgba(246,241,234,.15));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; color: var(--muted-dark); }
.footer__bottom a { text-decoration: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4.5rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 2rem; }
.maxw-s { max-width: 34rem; } .maxw-m { max-width: 46rem; }
.center { text-align: center; margin-inline: auto; }

/* Four-up formats */
@media (min-width: 700px) { .formats--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .formats--4 { grid-template-columns: repeat(4, 1fr); } .formats--4 .format { padding: 1.8rem; } .formats--4 .format__dur { font-size: 2.5rem; } }

/* Venture cards with photos */
.venture { overflow: hidden; }
.venture .photo { aspect-ratio: 16 / 10; margin: -2.2rem -2.2rem 1.6rem; border-radius: var(--radius) var(--radius) 0 0; }
