/* SmartCluster — VARIANT 4: Editorial refined (v3 + dynamic motion) */

/* ============ RESET & TOKENS ============ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --bg: #faf5ee;
  --bg-2: #f3ece0;
  --ink: #1c1917;
  --ink-2: #44403c;
  --muted: #78716c;
  --rule: #e7e5e4;
  --rule-2: #d6d3d1;
  --amber: #d97706;
  --amber-d: #92400e;
  --amber-2: #b45309;
  --paper: #ffffff;

  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --body: 'Lora', Georgia, 'Times New Roman', serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: var(--ink); text-decoration: none; }
ul, ol { list-style: none; }

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

.serif-h { font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
.serif-h.huge { font-size: clamp(34px, 5.4vw, 68px); font-weight: 900; }
.serif-h.ital { font-style: italic; font-weight: 400; }

.kicker {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber);
  display: inline-block;
}

.mono { font-family: 'Inter', monospace; letter-spacing: 0.05em; font-weight: 700; }

/* ============ SCROLL PROGRESS BAR ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(28,25,23,0.06);
  z-index: 200;
  pointer-events: none;
}
.scroll-progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--amber), var(--amber-d));
  transition: width 80ms linear;
}

/* ============ MASTHEAD ============ */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 238, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.mast-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.mast-logo { display: flex; align-items: baseline; gap: 10px; }
.mast-logo .mono {
  font-size: 18px;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 4px 8px;
  border-radius: 2px;
}
.logo-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-2);
}

.mast-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-family: var(--ui);
  font-size: 13.5px;
  font-weight: 500;
}
.mast-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-2);
  transition: color .2s;
}
.mast-nav a:hover { color: var(--amber); }
.mast-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--amber);
  transition: right .25s ease;
}
.mast-nav a:hover::after { right: 0; }

.mast-right { display: flex; align-items: center; gap: 14px; }

.switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  padding: 5px 9px;
  border-radius: 2px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.switcher-label {
  text-transform: uppercase;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
}
.switcher-btn {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  font-weight: 600;
  font-size: 12px;
  color: var(--ink-2);
  transition: all .15s;
}
.switcher-btn:hover { border-color: var(--ink); color: var(--ink); }
.switcher-btn.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.lang-btn {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.lang-btn .on { color: var(--ink); font-weight: 700; }

.burger {
  display: none;
  width: 28px; height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  margin-left: auto;
  transition: transform .25s;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mast-strip {
  background: var(--ink);
  color: var(--bg);
  padding: 7px var(--pad);
  display: flex;
  justify-content: space-between;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mast-strip .strip-c { color: var(--amber); }

/* ============ TABLE OF CONTENTS (fixed left bottom) ============ */
.toc {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 80;
  background: rgba(250, 245, 238, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--rule-2);
  border-radius: 4px;
  padding: 14px 16px 12px;
  box-shadow: 0 10px 32px rgba(28,25,23,0.08);
  font-family: var(--ui);
  min-width: 168px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.toc.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.toc-title {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.toc-list { display: flex; flex-direction: column; gap: 2px; }
.toc-list a {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 12px;
  color: var(--muted);
  transition: color .2s;
  position: relative;
}
.toc-list a::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: var(--amber);
  transition: height .25s ease;
}
.toc-list a:hover { color: var(--ink); }
.toc-list a.active { color: var(--ink); font-weight: 600; }
.toc-list a.active::before { height: 18px; }
.toc-list a.active .toc-num { color: var(--amber); }
.toc-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--rule-2);
  transition: color .2s;
}
.toc-lbl {
  font-family: var(--ui);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

/* ============ HERO PHOTO SLIDER ============ */
.hero-mag {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1c1917;
}
.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.05);
  transform-origin: center center;
}
/* Ken Burns — slow scale on active slide */
.hero-slide.active .kenburns img {
  animation: kenBurns 9s ease-out forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.0); }
  to { transform: scale(1.08); }
}
.hero-grad {
  position: absolute; inset: 0;
  z-index: 3;
  background:
    linear-gradient(to top, rgba(28,25,23,.95) 0%, rgba(28,25,23,.55) 35%, rgba(28,25,23,.15) 65%, rgba(28,25,23,.45) 100%);
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 110px var(--pad) 110px;
}
.hero-text-inner {
  max-width: var(--max);
  margin: 0 auto;
  color: var(--bg);
}
.hero-text-inner .kicker {
  color: var(--amber);
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp .9s ease .15s forwards;
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(48px, 8.5vw, 130px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--bg);
  margin-bottom: 28px;
  max-width: 14ch;
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 1.1s ease .3s forwards;
}
.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
}
.hero-headline .dot { color: var(--amber); }

.hero-deck {
  font-family: var(--body);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  max-width: 56ch;
  color: rgba(250, 245, 238, 0.88);
  margin-bottom: 38px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s ease .55s forwards;
}

.hero-byline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: flex-start;
  max-width: 720px;
  padding-top: 26px;
  border-top: 1px solid rgba(250, 245, 238, 0.25);
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 1s ease .75s forwards;
}
.byline-quote {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.7;
  color: var(--amber);
  font-style: italic;
}
.byline-q {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--bg);
  line-height: 1.45;
  margin-bottom: 8px;
}
.byline-author {
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 245, 238, 0.65);
}
.byline-author span { color: var(--amber); margin-right: 2px; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: none; }
}

/* slider controls */
.hero-controls {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  color: var(--bg);
}
.hero-credit {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12.5px;
  color: rgba(250, 245, 238, 0.7);
  letter-spacing: 0.02em;
  text-align: right;
  max-width: 280px;
  transition: opacity .3s;
}
.hero-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(250, 245, 238, 0.35);
  border: 1px solid rgba(250, 245, 238, 0.2);
  padding: 0;
  transition: background .2s, transform .2s, width .25s;
}
.hero-dot:hover { background: rgba(250, 245, 238, 0.7); }
.hero-dot.active {
  background: var(--amber);
  border-color: var(--amber);
  width: 24px;
  border-radius: 4px;
}
.hero-arrows { display: flex; gap: 8px; }
.hero-arr {
  width: 38px; height: 38px;
  border: 1px solid rgba(250, 245, 238, 0.3);
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  color: var(--bg);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  transition: background .2s, transform .2s, border-color .2s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-arr:hover { background: var(--amber); border-color: var(--amber); transform: scale(1.06); }

/* ============ ANIMATED ORNAMENTAL DIVIDER ============ */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 36px 0;
  background: var(--bg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .8s ease, transform .8s ease;
}
.ornament.in { opacity: 1; transform: none; }
.ornament.dark { background: var(--ink); }
.ornament.dark .orn-dot { background: var(--amber); }
.ornament.dark .orn-rule { background: rgba(217, 119, 6, 0.4); }

.orn-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
}
.orn-rule {
  width: 60px;
  height: 1px;
  background: var(--ink-2);
  display: inline-block;
  margin: 0 12px;
}

/* ============ STATS EDITORIAL ============ */
.stats-mag {
  padding: 70px 0 70px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.stats-head {
  text-align: center;
  margin-bottom: 56px;
}
.stats-head .kicker { display: block; margin-bottom: 10px; }
.stats-head .serif-h { font-size: clamp(24px, 2.6vw, 34px); font-style: italic; font-weight: 400; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.stat-item {
  padding: 38px 28px;
  text-align: center;
  border-right: 1px solid var(--rule);
  transition: background .25s ease;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-2); }

.stat-big {
  display: block;
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.stat-big sup { font-size: 0.45em; color: var(--amber); vertical-align: super; font-weight: 400; }

.stat-rule {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--amber);
  margin: 18px auto;
  transition: width .35s ease;
}
.stat-item:hover .stat-rule { width: 70px; }
.stat-lbl {
  display: block;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.5;
}

/* ============ SECTION HEAD ============ */
.section-head {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
  position: relative;
}
.section-head .sec-num {
  display: block;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-head .kicker { display: block; margin-bottom: 14px; }
.section-head .serif-h { margin-bottom: 18px; }
.section-head .sec-desc {
  font-family: var(--body);
  font-size: 17px;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.6;
}
.section-head.light .sec-num,
.section-head.light .kicker { color: var(--amber); }

/* ============ FEATURES MASONRY ============ */
.features { padding: 90px 0; }
.masonry {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(80px, auto);
  gap: 36px 32px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .35s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(28,25,23,.10);
  border-color: var(--rule-2);
}
.card:hover::after { border-color: var(--amber); }

.card.big { grid-column: span 4; grid-row: span 2; }
.card.med { grid-column: span 2; }
.card.sm { grid-column: span 2; padding-top: 0; background: transparent; border: none; border-top: 1px solid var(--ink); }
.card.sm::after { display: none; }
.card.sm:hover { transform: none; box-shadow: none; }

.card-photo {
  display: block;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
}
.card.big .card-photo { aspect-ratio: 16/9; }
.card.med .card-photo { aspect-ratio: 4/3; }
.card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.card:hover .card-photo img { transform: scale(1.06); }

.card-body { padding: 26px 28px 28px; }
.card.sm .card-body { padding: 22px 0 0; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.cat { color: var(--amber-d); font-weight: 600; }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--rule-2); }

.card-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color .25s;
}
.card:hover .card-title { color: var(--amber-d); }
.card.big .big-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.card.sm .card-title { font-size: 18px; font-weight: 700; }

.card-deck {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 14px;
}
.card.big .card-deck { font-size: 18px; }

.card-dropcap {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 18px;
}
.dropcap {
  float: left;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.85;
  font-weight: 900;
  color: var(--amber);
  padding: 6px 10px 0 0;
  margin-top: 4px;
  transition: color .4s ease;
}
.card:hover .dropcap, .proj-card:hover .dropcap { color: var(--ink); }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-d);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--amber);
  transition: color .2s, gap .2s;
}
.read-more:hover { color: var(--ink); gap: 10px; }

.archive-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 50px;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color .2s, border-color .2s, gap .2s;
}
.archive-link:hover { color: var(--amber); border-color: var(--amber); gap: 18px; }

/* ============ PULL QUOTE SPLIT (with parallax photo) ============ */
.pq-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  align-items: stretch;
}
.pqs-photo {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}
.pqs-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.92) saturate(1.05);
  will-change: transform;
}
.pqs-text {
  padding: 100px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

/* ============ PULL QUOTE classic ============ */
.pullquote {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.pullquote.alt {
  background: var(--ink);
  border-color: var(--ink);
}
.pullquote.alt .pq-text { color: var(--bg); }
.pullquote.alt .pq-mark { color: var(--amber); }
.pullquote.alt .pq-author { color: var(--amber); }
.pullquote.alt .pq-author .ul::after { background: var(--amber); }
.pullquote.alt .pq-role { color: rgba(250, 245, 238, 0.55); }

.pq-mark {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 140px;
  line-height: 0.5;
  color: var(--amber);
  margin-bottom: 20px;
}
.pq-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 22ch;
  margin: 0 auto 32px;
}
.pq-split .pq-text { margin: 0 0 32px; }
.pq-split .pq-mark { font-size: 100px; margin-bottom: 12px; }

.pq-cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.pq-split .pq-cite { align-items: flex-start; }

.pq-author {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber-d);
}
/* gold underline expand on hover */
.pq-author .ul {
  position: relative;
  display: inline-block;
}
.pq-author .ul::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.pq-split:hover .pq-author .ul::after,
.pullquote:hover .pq-author .ul::after { transform: scaleX(1); }

.pq-role {
  font-family: var(--body);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}

/* ============ GROUPS ============ */
.groups-mag { padding: 100px 0; background: var(--bg); }
.groups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 64px;
  border-top: 1px solid var(--ink);
}
.grp {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: baseline;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  transition: background .25s, padding-left .25s;
  position: relative;
}
.grp::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: var(--amber);
  transition: transform .3s ease;
  transform-origin: center;
}
.grp:hover { background: var(--bg-2); padding-left: 16px; }
.grp:hover::before { transform: translateY(-50%) scaleY(1); }
.grp:hover .grp-num { color: var(--amber); }

.grp-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  font-style: italic;
  color: var(--rule-2);
  line-height: 1;
  transition: color .25s;
}
.grp-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 6px;
}
.grp-sub {
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
  grid-column: 2;
}

/* ============ CONFERENCIE CAROUSEL ============ */
.conf-mag {
  padding: 100px 0 80px;
  background: var(--ink);
  color: var(--bg);
  position: relative;
}
.conf-mag .section-head .serif-h { color: var(--bg); }
.conf-mag .section-head .sec-desc { color: rgba(250, 245, 238, 0.7); }
.conf-mag .archive-link {
  color: var(--bg);
  border-color: var(--bg);
}
.conf-mag .archive-link:hover { color: var(--amber); border-color: var(--amber); }

.carousel-wrap {
  position: relative;
  margin: 20px 0 40px;
}
.carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad);
  padding: 10px var(--pad) 30px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }

.conf-slide {
  flex: 0 0 600px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.slide-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #2a2522;
  border: 1px solid rgba(250, 245, 238, 0.08);
}
.slide-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.92) saturate(1.05);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s;
}
.conf-slide:hover .slide-photo img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}

/* photo caption overlay on hover */
.slide-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(28,25,23,0.92) 0%, rgba(28,25,23,0.6) 70%, transparent 100%);
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 245, 238, 0.92);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.conf-slide:hover .slide-caption {
  opacity: 1;
  transform: none;
}
.slide-caption .cap-yr { color: var(--amber); }
.slide-caption .cap-loc { color: var(--bg); }
.slide-caption .cap-att { color: rgba(250, 245, 238, 0.75); font-style: italic; font-family: var(--serif); text-transform: none; letter-spacing: 0.02em; font-size: 13px; font-weight: 400; margin-left: auto; }

.slide-meta { padding: 22px 4px 0; }
.slide-meta .yr {
  display: block;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.slide-meta .serif-h {
  font-size: 26px;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 8px;
}
.slide-meta .slide-loc {
  font-family: var(--body);
  font-style: italic;
  font-size: 14px;
  color: rgba(250, 245, 238, 0.6);
}

.car-btn {
  position: absolute;
  top: calc(50% - 60px);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  z-index: 5;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: transform .2s, background .2s;
}
.car-btn:hover { background: var(--amber); color: var(--bg); transform: scale(1.06); }
.car-btn.prev { left: 24px; }
.car-btn.next { right: 24px; }
.car-btn span { line-height: 1; margin-top: -2px; }

.car-progress {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 2px;
  background: rgba(250, 245, 238, 0.12);
  position: relative;
}
.car-bar {
  position: absolute;
  left: var(--pad); top: 0;
  height: 100%;
  width: 20%;
  background: var(--amber);
  transition: left .3s ease, width .3s ease;
}

/* ============ PROJEKTY ============ */
.proj-mag { padding: 100px 0; background: var(--bg); }
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.proj-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0 0 32px;
  transition: transform .35s, box-shadow .35s, border-color .35s;
  position: relative;
}
.proj-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(28,25,23,.10); border-color: var(--amber); }

.proj-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--rule);
}
.proj-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .6s;
  will-change: transform;
}
.proj-card:hover .proj-img img { transform: scale(1.04); }

.proj-tag {
  display: inline-block;
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-d);
  background: rgba(217, 119, 6, 0.08);
  padding: 5px 10px;
  border: 1px solid rgba(217, 119, 6, 0.25);
  margin: 24px 28px 14px;
  align-self: flex-start;
}
.proj-card .serif-h {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 28px 14px;
}
.proj-body {
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 28px 22px;
}
.proj-body .dropcap {
  font-size: 56px;
  padding: 4px 8px 0 0;
}
.proj-link {
  margin: 0 28px;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber-d);
  border-bottom: 1px solid var(--amber);
  padding-bottom: 2px;
  align-self: flex-start;
}
.proj-link:hover { color: var(--ink); }
.proj-link.muted {
  color: var(--muted);
  border-color: var(--rule-2);
  pointer-events: none;
}

/* ============ MEMBERS COLUMNS ============ */
.members-mag { padding: 100px 0; background: var(--bg-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.mem-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 40px;
}
.mem-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.mem-head .serif-h { font-size: 28px; }
.mem-num {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--amber);
  background: rgba(217, 119, 6, 0.1);
  padding: 3px 8px;
  border-radius: 2px;
}
.mem-list { font-family: var(--body); font-size: 15px; color: var(--ink-2); }
.mem-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--rule-2);
  transition: padding-left .25s, color .2s;
  position: relative;
}
.mem-list li:last-child { border-bottom: none; }
.mem-list li::before {
  content: '›';
  position: absolute;
  left: -4px;
  color: var(--amber);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s, transform .25s;
}
.mem-list li:hover { padding-left: 14px; color: var(--amber-d); }
.mem-list li:hover::before { opacity: 1; transform: translateX(0); }

/* ============ NEWSLETTER CTA ============ */
.news-cta {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid var(--rule);
}
.news-cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 50px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.news-cta-l .kicker { display: block; margin-bottom: 16px; }
.news-cta-l .serif-h em { font-style: italic; font-weight: 400; color: var(--amber); }
.news-cta-r p {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink-2);
  margin-bottom: 20px;
  line-height: 1.6;
}
.nl-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  border: 1.5px solid var(--ink);
  margin-bottom: 12px;
  background: var(--paper);
  transition: border-color .2s, box-shadow .25s;
}
.nl-form:focus-within { border-color: var(--amber); box-shadow: 0 4px 16px rgba(217,119,6,0.12); }
.nl-form input {
  border: none;
  padding: 16px 18px;
  font-family: var(--body);
  font-size: 16px;
  background: transparent;
  outline: none;
  color: var(--ink);
}
.nl-form input::placeholder { color: var(--muted); }
.nl-form button {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 16px 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s;
}
.nl-form button:hover { background: var(--amber-d); }
.nl-fine {
  display: block;
  font-family: var(--ui);
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
}

/* ============ FOOTER MASTHEAD ============ */
.ftr-mag {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0 30px;
}
.ftr-top { text-align: center; margin-bottom: 60px; padding-bottom: 50px; border-bottom: 1px solid rgba(250, 245, 238, 0.12); }
.ftr-mast {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ftr-mark {
  display: inline-block;
  border: 1.5px solid var(--bg);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 22px;
  margin-bottom: 8px;
}
.ftr-tag {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--bg);
  margin-bottom: 4px;
}
.ftr-strap {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber);
}

.ftr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(250, 245, 238, 0.12);
}
.ftr-col { display: flex; flex-direction: column; gap: 10px; }
.ftr-h {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 8px;
}
.ftr-col a, .ftr-col span {
  font-family: var(--body);
  font-size: 14.5px;
  color: rgba(250, 245, 238, 0.78);
  line-height: 1.5;
}
.ftr-col a { transition: color .15s; }
.ftr-col a:hover { color: var(--amber); }
.ftr-col a.cur { color: var(--amber); font-weight: 600; }

.ftr-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-family: var(--ui);
  font-size: 12px;
  color: rgba(250, 245, 238, 0.5);
}
.ftr-built em {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(250, 245, 238, 0.75);
}

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
/* staggered children */
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
.reveal.delay-5 { transition-delay: .40s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .mast-nav { gap: 18px; font-size: 12.5px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .mem-columns { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .ftr-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .toc { display: none; }
  .pq-split { grid-template-columns: 1fr; }
  .pqs-photo { min-height: 320px; }
  .pqs-text { padding: 70px var(--pad); }
}

@media (max-width: 880px) {
  .mast-strip { display: none; }
  .mast-nav { display: none; }
  .switcher { padding: 4px 7px; }
  .switcher-btn { width: 20px; height: 20px; font-size: 11px; }
  .burger { display: flex; }
  .mast-inner { grid-template-columns: auto 1fr; gap: 12px; }

  .hero-mag { min-height: 82vh; }
  .hero-text { padding: 80px var(--pad) 80px; }
  .hero-headline { font-size: clamp(40px, 11vw, 72px); }
  .hero-controls { bottom: 14px; right: 14px; gap: 8px; }
  .hero-credit { display: none; }
  .hero-arr { width: 32px; height: 32px; font-size: 18px; }

  .stats-mag { padding: 60px 0 50px; }
  .stats-head { margin-bottom: 36px; }
  .stat-item { padding: 28px 16px; }
  .stat-big { font-size: clamp(48px, 11vw, 64px); }

  .features { padding: 70px 0; }
  .masonry { grid-template-columns: 1fr; gap: 28px; }
  .card.big, .card.med, .card.sm { grid-column: 1; grid-row: auto; }
  .card.big .big-title { font-size: 26px; }
  .dropcap { font-size: 52px; }

  .pullquote { padding: 70px 0; }
  .pq-mark { font-size: 100px; }

  .groups-mag { padding: 70px 0; }
  .groups-grid { grid-template-columns: 1fr; }
  .grp { grid-template-columns: 48px 1fr; gap: 14px; padding: 22px 0; }
  .grp:hover { padding-left: 10px; }
  .grp-num { font-size: 28px; }
  .grp-name { font-size: 19px; }
  .grp-sub { grid-column: 2; }

  .conf-mag { padding: 70px 0 60px; }
  .conf-slide { flex: 0 0 78vw; }
  .car-btn { width: 42px; height: 42px; font-size: 22px; }
  .car-btn.prev { left: 10px; }
  .car-btn.next { right: 10px; }
  /* always show caption on touch */
  .slide-caption { opacity: 1; transform: none; padding: 12px 14px; font-size: 10px; }
  .slide-caption .cap-att { font-size: 11.5px; }

  .proj-mag { padding: 70px 0; }
  .proj-grid { grid-template-columns: 1fr; gap: 28px; }

  .members-mag { padding: 70px 0; }
  .mem-columns { grid-template-columns: 1fr; row-gap: 32px; }

  .news-cta { padding: 70px 0; }
  .news-cta-grid { grid-template-columns: 1fr; gap: 30px; padding: 36px 0; }

  .ftr-mag { padding: 60px 0 24px; }
  .ftr-grid { grid-template-columns: 1fr; row-gap: 30px; }
  .ftr-base { flex-direction: column; gap: 10px; text-align: center; }

  /* DISABLE parallax + Ken Burns on mobile (perf + UX) */
  .parallax-img img,
  .parallax-img,
  .pqs-photo img { transform: none !important; }
  .hero-slide.active .kenburns img { animation: none; transform: scale(1.02); }

  .ornament { padding: 24px 0; }
}

@media (max-width: 480px) {
  .switcher-label { display: none; }
  .lang-btn { font-size: 11px; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .stat-item:last-child { border-bottom: none; }
  .pq-text { font-size: clamp(22px, 6vw, 30px); }
  .hero-dots { display: none; }
}

/* ============ A11Y ============ */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-slide.active .kenburns img { animation: none; }
  .parallax-img img { transform: none !important; }
}

/* ================================================================
   ============ BOOST: DYNAMIC MOTION ADDITIONS (v4) ==============
   ================================================================ */

/* -------- (1) Magnetic CTA — base transition for smooth pulling -------- */
[data-magnetic] {
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}

/* -------- (2) Split text reveal -------- */
.section-title { overflow: hidden; }
.boost-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: transform, opacity;
}
.boost-word.boost-word-space { width: 0.28em; }
.section-title.boost-revealed .boost-word {
  opacity: 1;
  transform: none;
}

/* -------- (3) Horizontal scroll section (sticky pin) -------- */
.boost-hscroll-wrap {
  /* dynamic height set by JS on desktop; on mobile stays auto */
  position: relative;
}
@media (min-width: 881px) {
  .boost-hscroll-wrap.is-hscroll-active {
    height: var(--boost-hscroll-h, auto);
  }
  .boost-hscroll-wrap.is-hscroll-active .car-btn { display: none; }
  .boost-hscroll-wrap.is-hscroll-active .car-progress { display: none; }
  .boost-hscroll-wrap.is-hscroll-active .boost-hscroll-track {
    position: sticky;
    top: 80px;
    height: calc(100vh - 120px);
    max-height: 760px;
    overflow: visible;
    align-items: center;
    padding: 10px var(--pad);
    will-change: transform;
    scroll-snap-type: none !important;
    overflow-x: visible !important;
  }
  /* clip area: outer wrap clips overflow horizontally */
  .boost-hscroll-wrap.is-hscroll-active {
    overflow-x: clip;
  }
  .boost-hscroll-wrap.is-hscroll-active .conf-slide {
    flex: 0 0 600px;
    height: 100%;
    max-height: 680px;
    scroll-snap-align: none;
  }
  .boost-hscroll-wrap.is-hscroll-active .slide-photo {
    height: 60%;
    max-height: 460px;
    aspect-ratio: auto;
  }
  /* sticky horizontal progress bar above the pinned viewport */
  .boost-hscroll-rail {
    position: sticky;
    top: 64px;
    z-index: 6;
    height: 3px;
    background: rgba(250,245,238,0.1);
    margin: 0 var(--pad);
  }
  .boost-hscroll-rail-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--amber), var(--amber-2));
    transition: width 80ms linear;
  }
  .boost-hscroll-hint-fixed {
    position: sticky;
    top: 76px;
    z-index: 6;
    margin: 0 var(--pad);
    text-align: right;
    font-family: var(--ui);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    color: var(--amber);
    text-transform: uppercase;
    opacity: 0.7;
    pointer-events: none;
    transform: translateY(-22px);
  }
}

/* -------- (4) Mouse-follow gradient blob (spotlight in hero) -------- */
.boost-spotlight {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 40%),
    rgba(217, 119, 6, 0.28) 0%,
    rgba(217, 119, 6, 0.10) 28%,
    rgba(217, 119, 6, 0.00) 60%
  );
  opacity: 0;
  transition: opacity .6s ease;
  mix-blend-mode: screen;
}
.boost-spotlight.is-on { opacity: 1; }

/* -------- (5) Marquee quote ticker -------- */
.boost-marquee {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  border-top: 1px solid rgba(217,119,6,0.25);
  border-bottom: 1px solid rgba(217,119,6,0.25);
  padding: 14px 0;
  position: relative;
}
.boost-marquee::before,
.boost-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.boost-marquee::before { left: 0; background: linear-gradient(to right, var(--ink), transparent); }
.boost-marquee::after { right: 0; background: linear-gradient(to left, var(--ink), transparent); }

.boost-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  animation: boostMarquee 38s linear infinite;
  will-change: transform;
  padding-left: 56px;
}
.boost-marquee:hover .boost-marquee-track { animation-play-state: paused; }
.boost-marquee-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.boost-marquee-dot {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
}
@keyframes boostMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -------- (6) Member list hover photo preview -------- */
.boost-mem-preview {
  position: fixed;
  z-index: 95;
  width: 84px; height: 84px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 0 12px 30px rgba(28,25,23,0.18);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 30px;
  color: var(--amber-d);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -120%) scale(0.85);
  transition: opacity .18s ease, transform .25s cubic-bezier(.2,.7,.2,1);
  letter-spacing: -0.02em;
  border-radius: 4px;
}
.boost-mem-preview.is-show {
  opacity: 1;
  transform: translate(-50%, -120%) scale(1);
}
.boost-mem-preview::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 10px; height: 10px;
  background: var(--paper);
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateX(-50%) rotate(45deg);
}
[data-mem-preview] { cursor: default; }

/* -------- (7) Scroll-triggered SVG path drawing -------- */
.boost-svg-underline {
  display: block;
  width: clamp(180px, 32vw, 360px);
  height: 22px;
  margin: -6px auto 18px;
}
.boost-svg-underline path[data-draw] {
  transition: stroke-dashoffset 1.8s cubic-bezier(.2,.7,.2,1);
}

/* -------- (8) Hero subtitle typewriter cursor -------- */
[data-typewriter] { min-height: 1.55em; }
[data-typewriter].boost-typing::after,
[data-typewriter].boost-typed::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--amber);
  margin-left: 3px;
  vertical-align: -0.12em;
  animation: boostBlink 1s steps(1) infinite;
}
[data-typewriter].boost-typed.boost-cursor-off::after { display: none; }
@keyframes boostBlink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* -------- (9) Animated number flow (slot machine) — runs via JS -------- */
[data-slot].boost-slotting {
  color: var(--amber);
  transition: color .25s ease;
}

/* -------- (10) Custom cursor / hover spotlight -------- */
.boost-cursor {
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 78px; height: 78px;
  background: var(--amber);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  transition: opacity .22s ease, transform .28s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 8px 22px rgba(217,119,6,0.35);
  text-align: center;
  line-height: 1.1;
  padding: 0 8px;
  mix-blend-mode: normal;
}
.boost-cursor.is-show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
[data-spotlight] { cursor: none; }
[data-spotlight] * { cursor: none; }

/* -------- BONUS: scroll-driven sticky horizontal headline (subtle) -------- */
.boost-h-headline {
  position: sticky;
  top: 70px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 4vw, 56px);
  color: var(--amber);
  white-space: nowrap;
  will-change: transform;
  pointer-events: none;
}

/* -------- Mobile: disable heavy effects (perf + UX) -------- */
@media (max-width: 880px) {
  .boost-spotlight { display: none; }
  .boost-cursor { display: none; }
  [data-spotlight], [data-spotlight] * { cursor: default; }
  [data-magnetic] { transform: none !important; transition: none !important; }
  /* keep marquee but slower */
  .boost-marquee-track { animation-duration: 28s; }
  .boost-marquee-item { font-size: 14px; gap: 10px; }
  /* mobile fallback: keep existing carousel behaviour (no sticky pin) */
}

/* -------- Reduced motion: kill heavy boosts -------- */
@media (prefers-reduced-motion: reduce) {
  .boost-spotlight { display: none; }
  .boost-cursor { display: none; }
  [data-magnetic] { transform: none !important; transition: none !important; }
  .boost-marquee-track { animation: none; }
  .section-title.boost-revealed .boost-word { transition: none; }
  .boost-svg-underline path[data-draw] { transition: none; stroke-dashoffset: 0; }
}
