/**
 * KNOT STUDIO — Website-specific enhancements
 * Editorial / bold / architectural
 * ============================================================ */

/* ── MODE: BEIGE ─────────────────────────────────────────── */
body.mode-beige {
  background: var(--color-beige);
  color: var(--color-night);
}
body.mode-beige .nav {
  color: var(--color-night);
}
body.mode-beige .nav__link {
  color: rgba(14, 22, 32, 0.55);
}
body.mode-beige .nav__link:hover,
body.mode-beige .nav__link.is-active {
  color: var(--color-night);
}
body.mode-beige .nav.is-scrolled {
  background: rgba(243, 236, 224, 0.92);
  border-bottom-color: rgba(14, 22, 32, 0.08);
}
body.mode-beige .wordmark--nav { color: var(--color-night) !important; }
body.mode-beige .nav__toggle span { background: var(--color-night); }

body.mode-beige .section--dark {
  background: var(--color-beige);
  color: var(--color-night);
}
body.mode-beige .section--dark h1,
body.mode-beige .section--dark h2,
body.mode-beige .section--dark h3,
body.mode-beige .section--dark h4 { color: var(--color-night); }
body.mode-beige .section--dark p { color: var(--color-stone); }

body.mode-beige .footer {
  background: var(--color-night);
}

/* ── SITE TYPE TUNING ─────────────────────────────────── */
:root {
  --display-size: clamp(3.5rem, 11vw, 10rem);
  --display-lh: 0.92;
  --display-track: -0.04em;
  --display-weight: 500;
}
body.track-tight  { --display-track: -0.055em; --display-weight: 500; }
body.track-loose  { --display-track: -0.02em;  --display-weight: 400; }
body.track-heavy  { --display-track: -0.035em; --display-weight: 700; }

/* ── CUSTOM CURSOR ─────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-sky);
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 260ms var(--ease), height 260ms var(--ease),
              background 260ms var(--ease), opacity 200ms var(--ease);
  opacity: 0;
}
.cursor.is-active { opacity: 1; }
.cursor.is-hover {
  width: 64px;
  height: 64px;
  background: var(--color-sky);
  mix-blend-mode: difference;
}
.cursor__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-night);
  opacity: 0;
  transition: opacity 180ms var(--ease);
  white-space: nowrap;
}
.cursor.is-hover .cursor__label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ── PAGE ROUTING ──────────────────────────────────────── */
.page { display: none; }
.page.is-active {
  display: block;
  animation: pageIn 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .page.is-active { animation: none; }
}

/* ── INTRO / LOADER ────────────────────────────────────── */
.intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-night);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}
.intro.is-done {
  transform: translateY(-100%);
  transition: transform 900ms cubic-bezier(0.85, 0, 0.15, 1);
}
.intro__mark {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 14vw, 12rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-beige);
  display: flex;
  gap: 0.05em;
}
.intro__mark span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: introChar 700ms cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.intro__mark span:nth-child(1) { animation-delay: 0ms; }
.intro__mark span:nth-child(2) { animation-delay: 80ms; }
.intro__mark span:nth-child(3) { animation-delay: 160ms; }
.intro__mark span:nth-child(4) { animation-delay: 240ms; }
.intro__mark span:nth-child(5) { animation-delay: 320ms; color: var(--color-sky); }
@keyframes introChar {
  to { opacity: 1; transform: translateY(0); }
}
.intro__meta {
  position: absolute;
  bottom: var(--space-10);
  left: var(--page-padding-x);
  right: var(--page-padding-x);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.45);
}

/* ── REVEAL UTILITY ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* Reveal that doesn't fade/translate the element itself — used when children handle motion */
.reveal--nofade { opacity: 1; transform: none; transition: none; }

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

/* ── EDITORIAL NAV ─────────────────────────────────────── */
.nav {
  border-bottom: 1px solid transparent;
}
.nav__logo {
  gap: var(--space-4);
}
.nav__logo-k {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0;
  margin-left: -4px;
}
.nav__logo-k img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
}
body.mode-beige .nav__logo-k img {
  filter: invert(1) brightness(0.2);
}
.nav__meta {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.35);
  white-space: nowrap;
}
body.mode-beige .nav__meta { color: rgba(14, 22, 32, 0.45); }
.nav__links-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

/* ── HERO — EDITORIAL ──────────────────────────────────── */
.hero-v1 {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: calc(var(--space-20) + var(--space-16)) var(--page-padding-x) var(--space-10);
  position: relative;
  background: var(--color-night);
  color: var(--color-beige);
  overflow: hidden;
}
body.mode-beige .hero-v1 { background: var(--color-beige); color: var(--color-night); }

.hero-v1__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}
.hero-v1__coord {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.35);
  line-height: 1.8;
}
body.mode-beige .hero-v1__coord { color: rgba(14, 22, 32, 0.45); }
.hero-v1__coord b {
  display: block;
  color: var(--color-sky);
  font-weight: 600;
  margin-bottom: 2px;
}

.hero-v1__display {
  font-family: var(--font-heading);
  font-size: var(--display-size);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  line-height: var(--display-lh);
  color: var(--color-beige);
  margin: 0;
  text-wrap: balance;
}
body.mode-beige .hero-v1__display { color: var(--color-night); }
.hero-v1__display em {
  font-style: italic;
  font-weight: 400;
  font-family: var(--font-heading);
  color: var(--color-sky);
}
.hero-v1__display .thread {
  display: inline-block;
  position: relative;
}

/* Word-by-word reveal */
/* Entrance animations gate behind active page so they re-fire on SPA navigation */
.hero-v1__display--animated .hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  margin-right: 0.18em;
}
.page.is-active .hero-v1__display--animated .hw {
  animation: heroWordIn 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i) * 80ms + 200ms);
}
.hero-v1__display--animated .hw:last-child { margin-right: 0; }
@keyframes heroWordIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Subheading + CTA follow after the last word */
.hero-v1__bottom--animated {
  opacity: 0;
  transform: translateY(24px);
}
.page.is-active .hero-v1__bottom--animated {
  animation: heroTailIn 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1820ms;
}
@keyframes heroTailIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-v1__display .thread::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.12em;
  height: 0.06em;
  background: var(--color-sky);
  transform: scaleX(0);
  transform-origin: left;
}
.page.is-active .hero-v1__display .thread::after {
  animation: threadIn 1400ms 600ms cubic-bezier(0.85, 0, 0.15, 1) forwards;
}
@keyframes threadIn { to { transform: scaleX(1); } }

/* Reduced-motion / fallback: always show end-state */
@media (prefers-reduced-motion: reduce) {
  .hero-v1__display--animated .hw,
  .hero-v1__bottom--animated { opacity: 1; transform: none; animation: none; }
  .hero-v1__display .thread::after { transform: scaleX(1); animation: none; }
}

.hero-v1__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-12);
  align-items: end;
  margin-top: var(--space-16);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(243, 236, 224, 0.15);
}
body.mode-beige .hero-v1__bottom { border-top-color: rgba(14, 22, 32, 0.15); }
.hero-v1__desc {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  line-height: 1.6;
  color: rgba(243, 236, 224, 0.72);
  max-width: 42ch;
}
body.mode-beige .hero-v1__desc { color: var(--color-stone); }

.hero-v1__stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.5);
}
body.mode-beige .hero-v1__stats { color: rgba(14, 22, 32, 0.5); }
.hero-v1__stats li { display: flex; justify-content: space-between; gap: var(--space-4); }
.hero-v1__stats b { color: var(--color-sky); font-weight: 600; font-variant-numeric: tabular-nums; }

.hero-v1__cta {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-4);
}

@media (max-width: 900px) {
  .hero-v1__bottom { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero-v1__cta { justify-self: start; align-items: flex-start; }
}

/* ── HERO VARIANT 2 — FULL-BLEED TYPE ──────────────────── */
.hero-v2 {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  background: var(--color-night);
  overflow: hidden;
  padding: var(--space-16) var(--page-padding-x) var(--space-10);
}
body.mode-beige .hero-v2 { background: var(--color-beige); }
.hero-v2__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-v2__mega {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(10rem, 30vw, 34rem);
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: rgba(162, 192, 221, 0.08);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
body.mode-beige .hero-v2__mega { color: rgba(14, 22, 32, 0.08); }

.hero-v2__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: flex-end;
}
.hero-v2__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--color-beige);
  max-width: 14ch;
}
body.mode-beige .hero-v2__title { color: var(--color-night); }
.hero-v2__title em { color: var(--color-sky); font-style: italic; font-weight: 400; }

.hero-v2__aside {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: rgba(243, 236, 224, 0.55);
  max-width: 32ch;
  padding-left: var(--space-6);
  border-left: 1px solid rgba(243, 236, 224, 0.2);
}
body.mode-beige .hero-v2__aside {
  color: var(--color-stone);
  border-left-color: rgba(14, 22, 32, 0.2);
}

/* ── HERO VARIANT 3 — SPLIT ARCHIVE ─────────────────────── */
.hero-v3 {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  background: var(--color-night);
  padding-top: calc(var(--space-20) + var(--space-8));
  overflow: hidden;
}
body.mode-beige .hero-v3 { background: var(--color-beige); }
.hero-v3__left {
  padding: var(--space-10) var(--space-10) var(--space-10) var(--page-padding-x);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-12);
  border-right: 1px solid rgba(243, 236, 224, 0.12);
}
body.mode-beige .hero-v3__left { border-right-color: rgba(14, 22, 32, 0.12); }
.hero-v3__index {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.4);
  display: flex;
  justify-content: space-between;
}
body.mode-beige .hero-v3__index { color: rgba(14, 22, 32, 0.5); }
.hero-v3__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--color-beige);
}
body.mode-beige .hero-v3__title { color: var(--color-night); }
.hero-v3__title em { color: var(--color-sky); font-style: italic; font-weight: 400; }

.hero-v3__right {
  padding: var(--space-10) var(--page-padding-x) var(--space-10) var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-10);
  background: rgba(162, 192, 221, 0.04);
}
body.mode-beige .hero-v3__right { background: rgba(14, 22, 32, 0.04); }
.hero-v3__lede {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: rgba(243, 236, 224, 0.88);
}
body.mode-beige .hero-v3__lede { color: var(--color-night); }
.hero-v3__dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: 0.75rem;
  border-top: 1px solid rgba(243, 236, 224, 0.15);
  padding-top: var(--space-6);
}
body.mode-beige .hero-v3__dl { border-top-color: rgba(14, 22, 32, 0.15); }
.hero-v3__dl dt {
  color: var(--color-sky);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.625rem;
  padding-top: 3px;
}
.hero-v3__dl dd {
  color: rgba(243, 236, 224, 0.8);
  font-size: var(--text-sm);
}
body.mode-beige .hero-v3__dl dd { color: var(--color-night); }

@media (max-width: 900px) {
  .hero-v3 { grid-template-columns: 1fr; }
  .hero-v3__left { border-right: none; border-bottom: 1px solid rgba(243, 236, 224, 0.12); }
}

/* ── TICKER — OVERRIDES FOR SIZE ───────────────────────── */
.ticker--xl {
  padding-block: var(--space-8);
  border-top: 1px solid rgba(243, 236, 224, 0.15);
  border-bottom: 1px solid rgba(243, 236, 224, 0.15);
  background: var(--color-night);
}
body.mode-beige .ticker--xl {
  background: var(--color-beige);
  border-color: rgba(14, 22, 32, 0.15);
}
.ticker--xl .ticker__track { gap: var(--space-16); animation-duration: 48s; }
.ticker--xl .ticker__item {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  color: rgba(243, 236, 224, 0.88);
}
body.mode-beige .ticker--xl .ticker__item { color: var(--color-night); }
.ticker--xl .ticker__item::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-sky);
  color: transparent;
  flex-shrink: 0;
}
.ticker--xl .ticker__item em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-sky);
}

/* ── BIG SECTION LABEL ─────────────────────────────────── */
.mega-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.4);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(243, 236, 224, 0.15);
  margin-bottom: var(--space-16);
}
body.mode-beige .mega-label {
  color: rgba(14, 22, 32, 0.5);
  border-bottom-color: rgba(14, 22, 32, 0.15);
}
.mega-label__num { color: var(--color-sky); }

/* ── SERVICES LIST — ENHANCED ──────────────────────────── */
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.services-list > li {
  border-top: 1px solid rgba(243, 236, 224, 0.15);
}
.services-list > li:last-child { border-bottom: 1px solid rgba(243, 236, 224, 0.15); }
body.mode-beige .services-list > li { border-top-color: rgba(14, 22, 32, 0.15); }
body.mode-beige .services-list > li:last-child { border-bottom-color: rgba(14, 22, 32, 0.15); }

.svc-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr auto;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  cursor: pointer;
  transition: padding 300ms var(--ease);
  position: relative;
}
.svc-row:hover { padding-left: var(--space-4); padding-right: var(--space-4); }

.svc-row__num {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-sky);
  font-variant-numeric: tabular-nums;
}
.svc-row__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
  letter-spacing: -0.02em;
  color: var(--color-beige);
  line-height: 1;
  transition: color 250ms var(--ease), transform 400ms var(--ease);
}
body.mode-beige .svc-row__title { color: var(--color-night); }
.svc-row:hover .svc-row__title { color: var(--color-sky); transform: translateX(8px); }

.svc-row__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: rgba(243, 236, 224, 0.55);
  max-width: 40ch;
}
body.mode-beige .svc-row__desc { color: var(--color-stone); }

.svc-row__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(243, 236, 224, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(243, 236, 224, 0.7);
  transition: all 300ms var(--ease);
  font-size: 16px;
}
body.mode-beige .svc-row__arrow { border-color: rgba(14, 22, 32, 0.25); color: var(--color-night); }
.svc-row:hover .svc-row__arrow {
  background: var(--color-sky);
  border-color: var(--color-sky);
  color: var(--color-night);
  transform: rotate(-45deg);
}

@media (max-width: 800px) {
  .svc-row { grid-template-columns: 40px 1fr auto; }
  .svc-row__desc { display: none; }
}

/* ── WORK GRID — ENHANCED ──────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-8) var(--space-6);
}
.work-card { grid-column: span 6; }
.work-card--wide { grid-column: span 12; }
.work-card--tall { grid-column: span 4; }
.work-card--third { grid-column: span 4; }
.work-card--half { grid-column: span 6; }

@media (max-width: 900px) {
  .work-card,
  .work-card--wide,
  .work-card--tall,
  .work-card--third,
  .work-card--half { grid-column: span 12; }
}

.work-card {
  display: block;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.work-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #1a2434;
  border-radius: 4px;
}
.work-card--wide .work-card__media { aspect-ratio: 21 / 9; }
.work-card--tall .work-card__media { aspect-ratio: 3 / 4; }
.work-card__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 30% 40%, rgba(162, 192, 221, 0.22), transparent 60%),
    linear-gradient(135deg, #1e2938 0%, #0e1620 100%);
  transition: transform 800ms var(--ease);
}
.work-card:hover .work-card__media::before {
  transform: scale(1.03);
}
.work-card__grain {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(243, 236, 224, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 70% 65%, rgba(162, 192, 221, 0.08) 0%, transparent 40%);
  mix-blend-mode: screen;
  opacity: 0.8;
}
.work-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -0.04em;
  color: rgba(243, 236, 224, 0.15);
  text-align: center;
  padding: var(--space-8);
  line-height: 0.95;
}
.work-card__badge {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.75);
  background: rgba(14, 22, 32, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(243, 236, 224, 0.2);
}
.work-card__year {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(243, 236, 224, 0.6);
  font-variant-numeric: tabular-nums;
}
.work-card__body {
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-6);
}
.work-card__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  letter-spacing: -0.015em;
  color: var(--color-beige);
  line-height: 1.2;
  transition: color 250ms var(--ease);
}
body.mode-beige .work-card__title { color: var(--color-night); }
.work-card:hover .work-card__title { color: var(--color-sky); }
.work-card__tags {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.5);
  text-align: right;
  flex-shrink: 0;
}
body.mode-beige .work-card__tags { color: rgba(14, 22, 32, 0.5); }

/* Card variant: Minimal list */
body[data-cards="minimal"] .work-card__media {
  aspect-ratio: auto;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid rgba(243, 236, 224, 0.15);
  padding: var(--space-8) 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
body[data-cards="minimal"] .work-card__media::before,
body[data-cards="minimal"] .work-card__grain,
body[data-cards="minimal"] .work-card__badge,
body[data-cards="minimal"] .work-card__year { display: none; }
body[data-cards="minimal"] .work-card__placeholder {
  position: static;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-beige);
  padding: 0;
  justify-content: flex-start;
  align-items: baseline;
}
body[data-cards="minimal"].mode-beige .work-card__placeholder { color: var(--color-night); }
body[data-cards="minimal"] .work-card__body { display: none; }
body[data-cards="minimal"] .work-card { grid-column: span 12 !important; }

/* Card variant: Polaroid */
body[data-cards="polaroid"] .work-card__media {
  border: 1px solid rgba(243, 236, 224, 0.15);
  padding: 14px;
  background: rgba(243, 236, 224, 0.02);
  aspect-ratio: auto;
}
body[data-cards="polaroid"] .work-card__media::before {
  position: static;
  display: block;
  aspect-ratio: 4 / 3;
}
body[data-cards="polaroid"] .work-card__grain { inset: 14px; }
body[data-cards="polaroid"] .work-card__badge,
body[data-cards="polaroid"] .work-card__year { top: calc(var(--space-5) + 14px); }
body[data-cards="polaroid"] .work-card__badge { left: calc(var(--space-5) + 14px); }
body[data-cards="polaroid"] .work-card__year { right: calc(var(--space-5) + 14px); }

/* Card variant: Editorial (default, explicit) */

/* ── ABOUT ─────────────────────────────────────────────── */
.about-hero {
  padding: calc(var(--space-20) + var(--space-16)) var(--page-padding-x) var(--space-16);
  background: var(--color-night);
  border-bottom: 1px solid rgba(243, 236, 224, 0.15);
}
body.mode-beige .about-hero {
  background: var(--color-beige);
  border-bottom-color: rgba(14, 22, 32, 0.15);
}
.about-hero__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-beige);
  max-width: 18ch;
  margin-bottom: var(--space-8);
}
body.mode-beige .about-hero__title { color: var(--color-night); }
.about-hero__title em { color: var(--color-sky); font-style: italic; font-weight: 400; }
.about-hero__lede {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.4;
  color: rgba(243, 236, 224, 0.75);
  max-width: 56ch;
}
body.mode-beige .about-hero__lede { color: var(--color-stone); }

.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12) var(--space-10);
  padding-top: var(--space-16);
}
@media (max-width: 900px) { .founders { grid-template-columns: 1fr; } }
.founder__photo {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(400px 200px at 60% 40%, rgba(162, 192, 221, 0.25), transparent 65%),
    linear-gradient(160deg, #1e2938 0%, #0e1620 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-6);
  border-radius: 2px;
}
.founder__photo::after {
  content: attr(data-initial);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(5rem, 10vw, 9rem);
  color: rgba(243, 236, 224, 0.1);
  letter-spacing: -0.04em;
}
.founder__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 25%, rgba(243, 236, 224, 0.08) 0%, transparent 40%);
  mix-blend-mode: screen;
}
.founder__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: var(--space-3);
}
.founder__name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--color-beige);
  margin-bottom: var(--space-2);
}
body.mode-beige .founder__name { color: var(--color-night); }
.founder__role {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(243, 236, 224, 0.6);
  margin-bottom: var(--space-5);
}
body.mode-beige .founder__role { color: var(--color-stone); }
.founder__bio {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: rgba(243, 236, 224, 0.72);
  max-width: 52ch;
}
body.mode-beige .founder__bio { color: var(--color-stone); }
.founder__contact {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(243, 236, 224, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
}
body.mode-beige .founder__contact { border-top-color: rgba(14, 22, 32, 0.12); }
.founder__contact a { color: var(--color-sky); }
.founder__contact a:hover { text-decoration: underline; }

/* ── VALUES STRIP ──────────────────────────────────────── */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(243, 236, 224, 0.15);
  border-bottom: 1px solid rgba(243, 236, 224, 0.15);
}
body.mode-beige .values {
  border-color: rgba(14, 22, 32, 0.15);
}
.value {
  padding: var(--space-10) var(--space-6);
  border-right: 1px solid rgba(243, 236, 224, 0.15);
}
body.mode-beige .value { border-right-color: rgba(14, 22, 32, 0.15); }
.value:last-child { border-right: none; }
.value__num {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-sky);
  margin-bottom: var(--space-5);
}
.value__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  letter-spacing: -0.015em;
  color: var(--color-beige);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}
body.mode-beige .value__title { color: var(--color-night); }
.value__body {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(243, 236, 224, 0.6);
}
body.mode-beige .value__body { color: var(--color-stone); }
@media (max-width: 800px) {
  .values { grid-template-columns: 1fr; }
  .value { border-right: none; border-bottom: 1px solid rgba(243, 236, 224, 0.15); }
  body.mode-beige .value { border-bottom-color: rgba(14, 22, 32, 0.15); }
  .value:last-child { border-bottom: none; }
}

/* ── PROCESS NUMBERED ──────────────────────────────────── */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process { grid-template-columns: 1fr; } }
.process__item {
  position: relative;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(243, 236, 224, 0.2);
}
body.mode-beige .process__item { border-top-color: rgba(14, 22, 32, 0.2); }
.process__num {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  letter-spacing: -0.03em;
  color: var(--color-sky);
  line-height: 0.9;
  margin-bottom: var(--space-5);
}
.process__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-h5);
  color: var(--color-beige);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}
body.mode-beige .process__title { color: var(--color-night); }
.process__body {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(243, 236, 224, 0.6);
}
body.mode-beige .process__body { color: var(--color-stone); }

/* ── CONTACT / CTA BLOCK ───────────────────────────────── */
.cta-block {
  padding: clamp(var(--space-16), 12vw, var(--space-32)) var(--page-padding-x);
  background: var(--color-sky);
  color: var(--color-night);
  position: relative;
  overflow: hidden;
}
.cta-block__eyebrow {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(14, 22, 32, 0.6);
  margin-bottom: var(--space-8);
}
.cta-block__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 9rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--color-night);
  max-width: 13ch;
  margin-bottom: var(--space-10);
}
.cta-block__title em { font-style: italic; font-weight: 400; }
.cta-block__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-8);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(14, 22, 32, 0.2);
  flex-wrap: wrap;
}
.cta-block__note {
  font-family: var(--font-body);
  font-size: var(--text-base);
  max-width: 44ch;
  color: rgba(14, 22, 32, 0.72);
}
.cta-block__big {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: right;
}
.cta-block__big a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  letter-spacing: -0.015em;
  color: var(--color-night);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 250ms var(--ease);
}
.cta-block__big a:hover { border-bottom-color: var(--color-night); }

/* ── PAGE HEADER (internal pages) ──────────────────────── */
.page-head {
  padding: calc(var(--space-20) + var(--space-16)) var(--page-padding-x) var(--space-20);
  background: var(--color-night);
  border-bottom: 1px solid rgba(243, 236, 224, 0.15);
}
body.mode-beige .page-head {
  background: var(--color-beige);
  border-bottom-color: rgba(14, 22, 32, 0.15);
}
.page-head__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.4);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(243, 236, 224, 0.12);
}
body.mode-beige .page-head__meta {
  color: rgba(14, 22, 32, 0.55);
  border-bottom-color: rgba(14, 22, 32, 0.12);
}
.page-head__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 8rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--color-beige);
  margin-bottom: var(--space-8);
}
body.mode-beige .page-head__title { color: var(--color-night); }
.page-head__title em { color: var(--color-sky); font-style: italic; font-weight: 400; }
.page-head__lede {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.5;
  color: rgba(243, 236, 224, 0.75);
  max-width: 54ch;
}
body.mode-beige .page-head__lede { color: var(--color-stone); }

/* ── SERVICE DETAILS ───────────────────────────────────── */
.service-detail-list { margin-top: var(--space-8); }
.service-detail-list > div {
  display: grid;
  grid-template-columns: 60px 1fr 1.3fr;
  gap: var(--space-10);
  padding: var(--space-10) 0;
  border-top: 1px solid rgba(243, 236, 224, 0.15);
}
.service-detail-list > div:last-child { border-bottom: 1px solid rgba(243, 236, 224, 0.15); }
body.mode-beige .service-detail-list > div { border-top-color: rgba(14, 22, 32, 0.15); }
body.mode-beige .service-detail-list > div:last-child { border-bottom-color: rgba(14, 22, 32, 0.15); }

.sd__num {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-sky);
}
.sd__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--color-beige);
  line-height: 1.05;
}
body.mode-beige .sd__title { color: var(--color-night); }
.sd__title em { color: var(--color-sky); font-style: italic; font-weight: 400; }
.sd__body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: rgba(243, 236, 224, 0.72);
}
body.mode-beige .sd__body { color: var(--color-stone); }
.sd__list {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-6);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(243, 236, 224, 0.6);
}
body.mode-beige .sd__list { color: var(--color-stone); }
.sd__list li::before {
  content: '— ';
  color: var(--color-sky);
}

@media (max-width: 800px) {
  .service-detail-list > div { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* ── CONTACT PAGE FORM ─────────────────────────────────── */
.contact-grid {
  display: block;
  padding: var(--space-20) var(--page-padding-x);
  background: var(--color-night);
}
body.mode-beige .contact-grid { background: var(--color-beige); }
.contact-grid .contact-form { max-width: var(--container-max); margin-inline: auto; }

.contact-sidebar__row {
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(243, 236, 224, 0.15);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-6);
}
body.mode-beige .contact-sidebar__row { border-top-color: rgba(14, 22, 32, 0.15); }
.contact-sidebar__row:last-of-type { border-bottom: 1px solid rgba(243, 236, 224, 0.15); }
body.mode-beige .contact-sidebar__row:last-of-type { border-bottom-color: rgba(14, 22, 32, 0.15); }
.contact-sidebar__label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sky);
  padding-top: 5px;
}
.contact-sidebar__value {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--text-h5);
  letter-spacing: -0.01em;
  color: var(--color-beige);
  line-height: 1.3;
}
body.mode-beige .contact-sidebar__value { color: var(--color-night); }
.contact-sidebar__value a:hover { color: var(--color-sky); }
.contact-sidebar__value span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(243, 236, 224, 0.55);
  margin-top: 2px;
}
body.mode-beige .contact-sidebar__value span { color: var(--color-stone); }

.contact-form h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--color-beige);
  margin-bottom: var(--space-8);
  max-width: 20ch;
}
body.mode-beige .contact-form h3 { color: var(--color-night); }

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.contact-form label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sky);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(243, 236, 224, 0.3);
  padding: var(--space-3) 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--text-h6);
  color: var(--color-beige);
  letter-spacing: -0.005em;
  transition: border-color 250ms var(--ease);
}
body.mode-beige .contact-form input,
body.mode-beige .contact-form textarea,
body.mode-beige .contact-form select {
  color: var(--color-night);
  border-bottom-color: rgba(14, 22, 32, 0.3);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-bottom-color: var(--color-sky);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(243, 236, 224, 0.25);
}
body.mode-beige .contact-form input::placeholder,
body.mode-beige .contact-form textarea::placeholder {
  color: rgba(14, 22, 32, 0.35);
}
.contact-form textarea { min-height: 120px; resize: vertical; }

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 600px) { .contact-form__row { grid-template-columns: 1fr; } }

.contact-form__submit {
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.btn-big {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-sky);
  color: var(--color-night);
  padding: var(--space-5) var(--space-8);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 300ms var(--ease), background 250ms var(--ease);
}
.btn-big:hover { transform: translateX(4px); background: #b5cee5; }
.btn-big::after {
  content: '↗';
  font-size: 1rem;
  transition: transform 300ms var(--ease);
}
.btn-big:hover::after { transform: translate(2px, -2px); }

/* ── CASE STUDY PAGE ───────────────────────────────────── */
.case-cover {
  aspect-ratio: 21 / 9;
  background:
    radial-gradient(800px 400px at 30% 50%, rgba(162, 192, 221, 0.25), transparent 60%),
    linear-gradient(135deg, #1e2938 0%, #0e1620 100%);
  position: relative;
  overflow: hidden;
  margin: var(--space-16) var(--page-padding-x) var(--space-20);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-cover::after {
  content: attr(data-name);
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(3rem, 10vw, 9rem);
  color: rgba(243, 236, 224, 0.15);
  letter-spacing: -0.04em;
}
.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-10);
  padding: var(--space-10) var(--page-padding-x);
  border-top: 1px solid rgba(243, 236, 224, 0.15);
  border-bottom: 1px solid rgba(243, 236, 224, 0.15);
}
body.mode-beige .case-meta {
  border-color: rgba(14, 22, 32, 0.15);
}
@media (max-width: 700px) { .case-meta { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } }
.case-meta__label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: var(--space-2);
}
.case-meta__val {
  font-family: var(--font-heading);
  font-size: var(--text-h6);
  color: var(--color-beige);
  font-weight: 400;
}
body.mode-beige .case-meta__val { color: var(--color-night); }

.case-body {
  padding: var(--space-20) var(--page-padding-x);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-16);
}
@media (max-width: 900px) { .case-body { grid-template-columns: 1fr; gap: var(--space-6); } }
.case-body h4 {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sky);
}
.case-body p {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-beige);
}
body.mode-beige .case-body p { color: var(--color-night); }
.case-body p + p { margin-top: var(--space-5); }

.case-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  padding: var(--space-16) var(--page-padding-x);
  border-top: 1px solid rgba(243, 236, 224, 0.15);
}
body.mode-beige .case-results { border-top-color: rgba(14, 22, 32, 0.15); }
@media (max-width: 700px) { .case-results { grid-template-columns: repeat(2, 1fr); } }
.case-result__num {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: var(--color-sky);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-3);
}
.case-result__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.55);
}
body.mode-beige .case-result__label { color: var(--color-stone); }

/* ── TWEAKS PANEL ──────────────────────────────────────── */
.tweaks {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  background: rgba(14, 22, 32, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(243, 236, 224, 0.15);
  border-radius: 8px;
  padding: 20px;
  width: 280px;
  font-family: var(--font-body);
  color: var(--color-beige);
  display: none;
  transform: translateY(12px);
  opacity: 0;
  transition: opacity 250ms ease, transform 250ms ease;
}
.tweaks.is-on {
  display: block;
  transform: none;
  opacity: 1;
}
.tweaks__title {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sky);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(243, 236, 224, 0.15);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
}
.tweaks__group { margin-bottom: 16px; }
.tweaks__group:last-child { margin-bottom: 0; }
.tweaks__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.55);
  margin-bottom: 8px;
  display: block;
}
.tweaks__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.tweaks__pill {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(243, 236, 224, 0.05);
  border: 1px solid rgba(243, 236, 224, 0.12);
  color: rgba(243, 236, 224, 0.65);
  cursor: pointer;
  transition: all 180ms ease;
}
.tweaks__pill:hover { color: var(--color-beige); }
.tweaks__pill.is-on {
  background: var(--color-sky);
  color: var(--color-night);
  border-color: var(--color-sky);
}

/* ── SMALL DETAILS ─────────────────────────────────────── */
.badge-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sky);
}
.badge-dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-sky);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ── FOOTER ADDITIONS ──────────────────────────────────── */
.footer-mega {
  background: var(--color-night);
  padding: var(--space-20) var(--page-padding-x) var(--space-12);
  border-top: 1px solid rgba(243, 236, 224, 0.15);
}
.footer-mega__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(243, 236, 224, 0.12);
}
@media (max-width: 900px) { .footer-mega__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-mega__top { grid-template-columns: 1fr; } }

.footer-mega__tag {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--color-beige);
  margin-bottom: var(--space-6);
}
.footer-mega__tag em { color: var(--color-sky); font-style: italic; font-weight: 400; }
.footer-mega__col-title {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: var(--space-5);
}
.footer-mega__links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-mega__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(243, 236, 224, 0.6);
  text-decoration: none;
  transition: color 180ms ease;
}
.footer-mega__link:hover { color: var(--color-sky); }

.footer-mega__bottom {
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.3);
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-mega__giant {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(5rem, 22vw, 22rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--color-beige);
  white-space: nowrap;
  overflow: hidden;
  margin-top: var(--space-10);
  border-top: 1px solid rgba(243, 236, 224, 0.12);
  padding-top: var(--space-6);
  text-align: center;
}
.footer-mega__giant em {
  color: var(--color-sky);
  font-style: italic;
  font-weight: 300;
}


/* ── COMPACT CTA BLOCK ─────────────────────────────────── */
.cta-block--compact {
  padding: clamp(var(--space-10), 6vw, var(--space-16)) var(--page-padding-x);
}
.cta-block--compact .cta-block__title {
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 0.96;
  max-width: 18ch;
  margin-bottom: var(--space-6);
}
.cta-block--compact .cta-block__row {
  padding-top: var(--space-6);
  align-items: center;
}
.cta-block--compact .cta-block__big a {
  font-size: clamp(1.125rem, 2vw, 1.75rem);
}

/* ── MANIFESTO SECTION (new layout-driven header) ──────── */
.manifesto-section {
  position: relative;
}
.manifesto-head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 236, 224, 0.55);
  margin-bottom: var(--space-12);
}
body.mode-beige .manifesto-head { color: rgba(14, 22, 32, 0.55); }
.manifesto-head__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px 6px 10px;
  border: 1px solid rgba(243, 236, 224, 0.25);
  border-radius: 999px;
  color: var(--color-beige);
}
body.mode-beige .manifesto-head__tag {
  border-color: rgba(14, 22, 32, 0.25);
  color: var(--color-night);
}
.manifesto-head__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-sky);
  box-shadow: 0 0 0 4px rgba(127, 175, 199, 0.15);
  animation: manifesto-pulse 2.4s var(--ease) infinite;
}
@keyframes manifesto-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(127, 175, 199, 0.15); }
  50%      { box-shadow: 0 0 0 8px rgba(127, 175, 199, 0.0); }
}
.manifesto-head__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(243, 236, 224, 0.3), rgba(243, 236, 224, 0));
}
body.mode-beige .manifesto-head__rule {
  background: linear-gradient(to right, rgba(14, 22, 32, 0.3), rgba(14, 22, 32, 0));
}
.manifesto-head__year {
  color: rgba(243, 236, 224, 0.4);
}
body.mode-beige .manifesto-head__year { color: rgba(14, 22, 32, 0.45); }

.manifesto-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 5.5rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--color-beige);
  max-width: 22ch;
  margin-bottom: var(--space-10);
  text-wrap: balance;
  display: flex;
  flex-wrap: wrap;
  gap: 0.22em 0.32em;
}
body.mode-beige .manifesto-title { color: var(--color-night); }
.manifesto-title .mfw {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
}
.manifesto-title.is-in .mfw {
  animation: mfw-rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: calc(var(--i) * 90ms);
}
@media (prefers-reduced-motion: reduce) {
  .manifesto-title .mfw { opacity: 1; transform: none; animation: none; }
}
.manifesto-title .mfw--accent em {
  color: var(--color-sky);
  font-style: italic;
  font-weight: 400;
}
@keyframes mfw-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ── FOOTER SOCIAL (icon treatment) ─────────────────────── */
.footer__social-link {
  color: var(--color-beige);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.footer__social-link svg {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}
.footer__social-link:hover svg { color: var(--color-sky); }
