/* ============================================================
   MARC PALACIOS — Fable design system
   Shared across every page: tokens, nav, hero, footer,
   editorial primitives and the interaction layer's styles.
   Page-specific styles live inline on each page.
   ============================================================ */

:root {
  --ink: #101214;
  --paper: #ffffff;        /* pure white */
  --paper-deep: #f4f5f6;   /* subtle cool grey for alternating sections */
  --night: #0e1114;
  --hairline: rgba(16,18,20,0.14);
  --hairline-soft: rgba(16,18,20,0.08);
  --muted: rgba(16,18,20,0.68);
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Lato', 'Helvetica Neue', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--paper); }

img { display: block; width: 100%; height: 100%; object-fit: cover; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* ---------- grain: barely there ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  z-index: 900;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-2%,1%); }
  40% { transform: translate(1%,-2%); }
  60% { transform: translate(-1%,2%); }
  80% { transform: translate(2%,-1%); }
}

/* ---------- custom cursor (desktop only) ---------- */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed; top: 0; left: 0;
    width: 36px; height: 36px;
    margin: -18px 0 0 -18px;
    border: 1px solid rgba(16,18,20,0.35);
    border-radius: 50%;
    z-index: 2200;
    pointer-events: none;
    transition: width 0.45s var(--ease), height 0.45s var(--ease),
                margin 0.45s var(--ease), border-color 0.35s,
                background 0.35s, opacity 0.3s;
  }
  .cursor-dot {
    display: block;
    position: fixed; top: 0; left: 0;
    width: 4px; height: 4px;
    margin: -2px 0 0 -2px;
    background: var(--ink);
    border-radius: 50%;
    z-index: 2201;
    pointer-events: none;
  }
  .cursor.is-link {
    width: 72px; height: 72px;
    margin: -36px 0 0 -36px;
    border-color: rgba(16,18,20,0.6);
  }
  .cursor.is-view {
    width: 96px; height: 96px;
    margin: -48px 0 0 -48px;
    background: var(--ink);
    border-color: var(--ink);
  }
  .cursor.is-view::after {
    content: 'View';
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--display); font-style: italic;
    font-size: 15px; color: var(--paper);
  }
  .cursor.on-dark { border-color: rgba(246,244,239,0.5); }
  .cursor.is-view.on-dark { background: var(--paper); border-color: var(--paper); }
  .cursor.is-view.on-dark::after { color: var(--ink); }
  .cursor-dot.on-dark { background: var(--paper); }
  body.hide-native, body.hide-native a, body.hide-native button { cursor: none; }
}

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 950;
  pointer-events: none;
}

/* ---------- preloader (index only) ---------- */
.loader {
  position: fixed; inset: 0;
  z-index: 2000;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 54px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: flex;
  overflow: hidden;
}
.loader-name span {
  display: inline-block;
  transform: translateY(115%);
  white-space: pre;
}
.loader-tag {
  position: absolute;
  bottom: 44px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  white-space: nowrap;
}
.loader-count {
  position: absolute;
  bottom: 38px; right: 48px;
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.loader-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
html:not(.js) .loader { display: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: calc(env(safe-area-inset-top, 0px) + 22px) 48px 18px;
  color: var(--ink);
  transition: transform 0.6s var(--ease), background 0.45s ease,
              color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
  border-bottom: 1px solid transparent;
}
.nav--overlay:not(.is-scrolled) { color: var(--paper); }
.nav.is-scrolled {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline-soft);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav a { color: inherit; text-decoration: none; }
.nav-logo {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.nav-links > li > a { position: relative; padding-bottom: 4px; }
.nav-links > li > a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { transform: scaleX(1); transform-origin: left; }

/* work dropdown */
.nav-item--work { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding-top: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.nav-item--work:hover .nav-dropdown,
.nav-item--work:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-inner {
  min-width: 260px;
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  box-shadow: 0 26px 60px rgba(16,18,20,0.14);
  padding: 8px 0;
}
.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 26px;
  text-decoration: none;
  color: var(--ink) !important;
  transition: background 0.2s;
}
a.nav-dropdown-item:hover { background: rgba(16,18,20,0.045); }
.nav-dropdown-title {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.nav-dropdown-meta {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

/* language switcher */
.lang-switcher { display: flex; align-items: center; gap: 12px; }
.lang-btn {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.4;
  transition: opacity 0.25s;
}
.lang-btn.active { opacity: 1; }
.lang-btn:hover { opacity: 0.75; }

/* burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  color: inherit; /* buttons don't inherit color by default — iOS paints them blue */
  -webkit-appearance: none;
  appearance: none;
}
.nav-burger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: currentColor;
}

/* mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.nav-drawer.open { opacity: 1; pointer-events: auto; }
.nav-drawer-close {
  position: absolute;
  top: max(28px, calc(env(safe-area-inset-top, 0px) + 16px));
  right: max(28px, calc(env(safe-area-inset-right, 0px) + 16px));
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
}
.nav-drawer-close::before,
.nav-drawer-close::after {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1.5px;
  background: var(--ink);
}
.nav-drawer-close::before { transform: rotate(45deg); }
.nav-drawer-close::after  { transform: rotate(-45deg); }
.nav-drawer-inner { text-align: center; padding: 0 24px; }
.nav-drawer-brand {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 52px;
}
.nav-drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 52px;
}
.nav-drawer-list a {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.nav-drawer-group { display: flex; flex-direction: column; gap: 16px; }
.nav-drawer-group-label {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-drawer-contact {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.lang-switcher--drawer {
  position: absolute;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 40px);
  left: 0; right: 0;
  justify-content: center;
  color: var(--ink);
}

/* ---------- shared layout primitives ---------- */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 48px; }

.label {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.label i {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.05em;
  font-style: italic;
}

.frame { overflow: hidden; position: relative; }
.frame > img {
  transform: scale(1.14);
  will-change: transform;
}
/* frames whose inner image parallaxes on scroll */
.frame--parallax > img {
  position: absolute;
  left: 0; top: -7%;
  width: 100%; height: 114%;
  transform: none;
  will-change: transform;
  backface-visibility: hidden;
}

.figcap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
}
.hero--short { height: 82svh; min-height: 520px; }
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-media img { transform: scale(1.12); will-change: transform; backface-visibility: hidden; }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,10,12,0.36) 0%, rgba(8,10,12,0.10) 45%, rgba(8,10,12,0.58) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 48px calc(env(safe-area-inset-bottom, 0px) + 52px);
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(54px, 10.5vw, 170px);
  line-height: 0.92;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.28em;
}
.hero-title .word { display: flex; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .char { display: inline-block; }
.hero-tag {
  font-size: clamp(13px, 1.3vw, 17px);
  letter-spacing: 0.52em;
  text-transform: uppercase;
  margin-top: 30px;
}
.hero-under {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(246,244,239,0.28);
}
.hero-sub {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.4;
  max-width: 520px;
}
.hero-aside {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: right;
  line-height: 2.1;
  white-space: nowrap;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-meta span strong {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-top: 6px;
}
.hero-scrollcue {
  position: absolute;
  top: 50%; right: 48px;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 10.5px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scrollcue::after {
  content: '';
  width: 1px; height: 64px;
  background: currentColor;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%     { transform: scaleY(0); transform-origin: top; }
  46%    { transform: scaleY(1); transform-origin: top; }
  54%    { transform: scaleY(1); transform-origin: bottom; }
  100%   { transform: scaleY(0); transform-origin: bottom; }
}
/* hero entrance handled by JS; hide until then */
html.js .hero-eyebrow,
html.js .hero-tag,
html.js .hero-under > *,
html.js .hero-scrollcue { opacity: 0; }
html.js .hero-title .char { transform: translateY(112%); }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 72px;
  padding-right: 72px;
  animation: marquee 46s linear infinite;
}
.marquee span {
  font-size: 11px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee i {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.08em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- spec numbers ---------- */
.specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border-top: 1px solid var(--hairline);
}
.spec {
  padding: 44px 36px 48px 0;
  border-right: 1px solid var(--hairline-soft);
}
.spec:last-child { border-right: none; }
.spec + .spec { padding-left: 36px; }
.spec-num {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 4.4vw, 72px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.spec-num sup {
  font-size: 0.38em;
  font-style: italic;
  letter-spacing: 0.05em;
  vertical-align: super;
}
.spec-label {
  margin-top: 18px;
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- tenet rows (numbered list) ---------- */
.tenet {
  display: grid;
  grid-template-columns: 90px minmax(0,5fr) minmax(0,6fr);
  gap: clamp(24px, 4vw, 72px);
  padding: clamp(40px, 6vh, 64px) 0;
  border-top: 1px solid var(--hairline-soft);
  align-items: baseline;
}
.tenet:last-of-type { border-bottom: 1px solid var(--hairline-soft); }
.tenet-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
}
.tenet-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: 0.02em;
}
.tenet-title em { font-style: italic; }
.tenet-sub {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: 0;
  text-transform: none;
}
.tenet-text {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 54ch;
}

/* ---------- inline text link ---------- */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  transition: gap 0.4s var(--ease), opacity 0.3s;
  background: none;
  cursor: pointer;
  font-family: var(--body);
}
.tlink:hover { gap: 22px; }
.tlink::after { content: '→'; font-size: 13px; }
.tlink--back::after { content: none; }
.tlink--back::before { content: '←'; font-size: 13px; }

/* ---------- solid button ---------- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  padding: 20px 52px;
  cursor: pointer;
  transition: background 0.35s, color 0.35s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn:disabled { opacity: 0.45; cursor: default; }

/* ---------- horizon (full-bleed quote) ---------- */
.horizon {
  position: relative;
  height: 88svh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--paper);
}
.horizon-media { position: absolute; inset: -12% 0; }
.horizon-media img { will-change: transform; }
.horizon-media::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(8,10,12,0.44);
}
.horizon blockquote {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(26px, 3.6vw, 56px);
  line-height: 1.3;
  max-width: 22ch;
  padding: 0 32px;
}
.horizon cite {
  display: block;
  margin-top: 34px;
  font-family: var(--body);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ---------- footer ---------- */
.footer { padding: clamp(120px, 15vh, 200px) 0 56px; }
.footer .label { margin-bottom: 64px; }
.footer-cta {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(42px, 7vw, 118px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  text-decoration: none;
  color: var(--ink);
  display: inline-block;
  max-width: 16ch;
}
.footer-cta em { font-style: italic; }
.footer-cta .cta-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  white-space: nowrap;
}
.footer-cta .cta-arrow {
  display: inline-block;
  font-size: 0.52em;
  transition: transform 0.6s var(--ease);
}
.footer-cta:hover .cta-arrow { transform: translateX(0.5em); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 40px;
  margin-top: clamp(70px, 9vh, 120px);
  padding-top: 44px;
  border-top: 1px solid var(--hairline);
}
.footer-col .col-label {
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col a, .footer-col span {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.3s;
}
.footer-col a:hover { opacity: 0.5; }
.footer-clock { font-variant-numeric: tabular-nums; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 72px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- reveal primitives (JS drives these) ---------- */
html.js [data-rise] { opacity: 0; transform: translateY(38px); }
html.js [data-fade] { opacity: 0; }
html.js .frame[data-unveil] { clip-path: inset(0 0 100% 0); }

/* graceful fallback when GSAP fails: JS removes html.js and all is visible */

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .wrap { padding: 0 24px; }
  .nav { padding: calc(env(safe-area-inset-top, 0px) + 18px) 24px 14px; }
  .nav-links, .nav .lang-switcher { display: none; }
  .nav-burger { display: flex; }

  /* mobile scroll performance: no animated grain, no backdrop blur */
  .grain { animation: none; }
  .nav.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255,255,255,0.97);
  }

  .hero-inner { padding: 0 24px calc(env(safe-area-inset-bottom, 0px) + 40px); }
  .hero-scrollcue { display: none; }
  .hero-under { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-aside { text-align: left; }

  .specs { grid-template-columns: repeat(2, 1fr); }
  .spec { border-right: none; border-bottom: 1px solid var(--hairline-soft); padding: 32px 0; }
  .spec + .spec { padding-left: 0; }
  .spec:nth-child(odd) { border-right: 1px solid var(--hairline-soft); padding-right: 24px; }
  .spec:nth-child(even) { padding-left: 24px; }
  .spec:nth-last-child(-n+2) { border-bottom: none; }

  .tenet { grid-template-columns: 48px 1fr; }
  .tenet-text { grid-column: 2; margin-top: 14px; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .hero { min-height: 520px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .hero-scrollcue::after { animation: none; }
  .marquee-track { animation-duration: 140s; }
  html.js [data-rise], html.js [data-fade] { opacity: 1; transform: none; }
  html.js .frame[data-unveil] { clip-path: none; }
  html.js .hero-eyebrow, html.js .hero-tag, html.js .hero-under > *, html.js .hero-scrollcue { opacity: 1; }
  html.js .hero-title .char { transform: none; }
  .frame > img, .hero-media img { transform: none; }
}
