/* =============================================================
   Meguro Partners — styles.css
   Editorial / institutional design system
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Ink & text */
  --ink:        #14181f;   /* primary text, near-black */
  --graphite:   #3b434e;   /* secondary body text */
  --stone:      #6f6a5f;   /* muted captions / metadata */
  --on-dark:    #ece8df;   /* text on dark panels */
  --on-dark-2:  #a6adb7;   /* secondary text on dark */

  /* Surfaces */
  --paper:      #f7f5f0;   /* primary parchment background */
  --paper-2:    #f1ede4;   /* alternate light panel */
  --ink-panel:  #14181f;   /* dark panel background */
  --ink-panel-2:#0f131a;

  /* Lines */
  --rule:       #ddd7ca;   /* hairline on paper */
  --rule-soft:  #e7e2d6;
  --rule-dark:  #2b323c;   /* hairline on ink */

  /* Accent */
  --oxblood:    #8a2a2a;   /* primary accent — lacquer red */
  --oxblood-dp: #6f2020;
  --brass:      #9c7b4d;   /* secondary, used sparingly */

  /* Type */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(24px, 5vw, 56px);
  --section-y: clamp(72px, 9.5vw, 132px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --rise: 14px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

::selection { background: rgba(138,42,42,0.16); }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 10px 16px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

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

.u-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Shared utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oxblood);
}
.eyebrow--muted { color: var(--stone); }
.eyebrow--ondark { color: var(--brass); }

.section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
  position: relative;
}

.section__head { margin-bottom: clamp(40px, 5vw, 64px); }
.section__index {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--stone);
  display: block;
  margin-bottom: 20px;
}
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.14;
  letter-spacing: -0.012em;
  max-width: 20ch;
  text-wrap: balance;
}
.section__title em { font-style: italic; color: var(--oxblood); }

/* =============================================================
   Header / navigation
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,245,240,0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--rule);
  background: rgba(247,245,240,0.92);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand__tile {
  width: 30px; height: 30px;
  background: var(--ink);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand__tile img { width: 58%; height: auto; display: block; }
.brand__tile--sm { width: 26px; height: 26px; border-radius: 3px; }
.brand__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: 0.005em;
  line-height: 1;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav__link {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--graphite);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--oxblood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__cta {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 10px 18px;
  transition: background 0.2s var(--ease);
}
.nav__cta:hover { background: var(--oxblood); }

/* Hamburger */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav__toggle span {
  position: relative;
  display: block;
  width: 24px; height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px; height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after  { top: 7px; }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink-panel);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  padding: 96px var(--gutter) 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0s linear 0.32s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.mobile-menu__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}
.mobile-menu__link {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  text-decoration: none;
  padding: 10px 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--rule-dark);
}
.mobile-menu__link .idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--brass);
}
.mobile-menu__foot {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--on-dark-2);
}
.mobile-menu__foot a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--rule-dark); padding-bottom: 2px; }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  padding-block: clamp(64px, 11vw, 150px) var(--section-y);
}
.hero__grid {
  display: block;
  max-width: 940px;
}
.hero__eyebrow { margin-bottom: clamp(28px, 4vw, 44px); }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 7vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 15ch;
}
.hero__title .line { display: block; }
.hero__title .line--2 {
  font-style: italic;
  color: var(--ink);
}
.hero__sub {
  margin-top: clamp(28px, 3.6vw, 40px);
  max-width: 56ch;
}
.hero__sub p {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.6;
  color: var(--graphite);
}
.hero__sub p + p { margin-top: 18px; }
.hero__actions {
  margin-top: clamp(34px, 4vw, 48px);
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
}

/* Meridian device (right rail) */
.hero__meridian {
  align-self: stretch;
  display: flex;
  gap: 18px;
  padding-top: 6px;
}
.hero__meridian .line {
  width: 1px;
  background: linear-gradient(var(--rule), transparent);
  min-height: 220px;
}
.hero__coords {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--stone);
  text-transform: uppercase;
}
.hero__coords b { display: block; color: var(--ink); font-weight: 500; letter-spacing: 0.16em; }
.hero__coords span + span { margin-top: 8px; }

/* Buttons */
.btn {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 14px 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ink);
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--oxblood); border-color: var(--oxblood); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform 0.22s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 1px;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.text-link .arrow { display: inline-block; transition: transform 0.22s var(--ease); }
.text-link:hover { color: var(--oxblood); border-color: var(--oxblood); }
.text-link:hover .arrow { transform: translateX(3px); }

/* =============================================================
   Focus
   ============================================================= */
.focus__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.focus__item {
  padding: 40px 36px 40px 0;
  border-bottom: 1px solid var(--rule);
}
.focus__item + .focus__item {
  padding-left: 36px;
  border-left: 1px solid var(--rule);
}
.focus__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--oxblood);
}
.focus__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.22;
  letter-spacing: -0.005em;
  margin: 20px 0 14px;
  max-width: 16ch;
}
.focus__desc {
  font-size: 0.97rem;
  line-height: 1.62;
  color: var(--graphite);
  max-width: 38ch;
}

/* =============================================================
   Approach
   ============================================================= */
.approach__body {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.approach__lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  line-height: 1.32;
  letter-spacing: -0.008em;
  color: var(--ink);
}
.approach__prose p {
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--graphite);
}
.approach__prose p + p { margin-top: 20px; }

/* =============================================================
   Corridor (dark panel)
   ============================================================= */
.corridor {
  background: var(--ink-panel);
  color: var(--on-dark);
  border-top: none;
}
.corridor .section__index { color: var(--on-dark-2); }
.corridor .eyebrow--ondark { color: var(--brass); }
.corridor .section__title { color: var(--on-dark); }
.corridor .approach__lead { color: var(--on-dark); }
.corridor .approach__prose p { color: var(--on-dark-2); }

.signature__corridor {
  margin-top: clamp(60px, 9vw, 112px);
  padding-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--rule-dark);
}
.corridor__head { margin-bottom: clamp(38px, 5vw, 60px); }
.corridor__head .section__index { margin-bottom: 16px; }
.corridor__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  max-width: 22ch;
}

.axis {
  margin-top: clamp(48px, 7vw, 92px);
  display: grid;
  grid-template-columns: 1fr minmax(180px, 1.4fr) 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.axis__node { max-width: 26ch; }
.axis__node--right { text-align: right; margin-left: auto; }
.axis__place {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  line-height: 1.1;
}
.axis__coord {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brass);
  margin-top: 8px;
}
.axis__desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--on-dark-2);
  margin-top: 14px;
}

/* Flow device (horizontal) */
.flow { display: flex; flex-direction: column; gap: 52px; padding-block: 18px; }
.flow__line {
  position: relative;
  height: 1px;
}
.flow__track {
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, #424a55, var(--brass) 55%, #424a55);
}
.js .flow__track { transform: scaleX(0); transition: transform 1.1s var(--ease); }
.flow__line--rtl .flow__track { transform-origin: right; background: linear-gradient(90deg, #424a55, var(--oxblood) 45%, #424a55); }
.flow__line--ltr .flow__track { transform-origin: left; }
.js .is-revealed .flow__track { transform: scaleX(1); }

.flow__dot {
  position: absolute;
  top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--on-dark);
}
.flow__line--ltr .flow__dot { left: -1px; }
.flow__line--ltr .flow__head { right: -1px; }
.flow__line--rtl .flow__dot { right: -1px; }
.flow__line--rtl .flow__head { left: -1px; }
.flow__head {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.js .flow__head { opacity: 0; transition: opacity 0.3s var(--ease) 0.9s; }
.js .is-revealed .flow__head { opacity: 1; }
.flow__line--ltr .flow__head { border-left: 9px solid var(--brass); }
.flow__line--rtl .flow__head { border-right: 9px solid var(--oxblood); }

.flow__label {
  position: absolute;
  top: -19px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  white-space: nowrap;
}
.flow__line--ltr .flow__label { left: 0; }
.flow__line--rtl .flow__label { right: 0; top: -19px; }

.corridor__foot {
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: 28px;
  border-top: 1px solid var(--rule-dark);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--on-dark-2);
  max-width: 70ch;
}
.corridor__foot strong { color: var(--on-dark); font-weight: 500; }

/* =============================================================
   Founder
   ============================================================= */
.founder__grid {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) 1.3fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.founder__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: -0.012em;
  line-height: 1.04;
}
.founder__name-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.founder__name-link:hover { border-bottom-color: var(--oxblood); }
.founder__role {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--oxblood);
  margin-top: 8px;
}
.founder__affil {
  list-style: none;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.founder__affil li {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--ink);
  padding: 8px 0;
}
.founder__affil li + li { border-top: 1px solid var(--rule-soft); }
.founder__bio p {
  font-size: 1.08rem;
  line-height: 1.74;
  color: var(--graphite);
  max-width: 60ch;
}
.founder__bio p + p { margin-top: 18px; }

/* =============================================================
   Research / The Meguro Brief
   ============================================================= */
.brief__panel {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: clamp(30px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.brief__masthead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.brief__masthead em { font-style: italic; color: var(--oxblood); }
.brief__sub { display: block; margin-top: 8px; color: var(--stone); font-size: 0.92em; }
.brief__kicker {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--stone);
  margin-bottom: 16px;
}
.brief__copy p {
  font-size: 1.0rem;
  line-height: 1.66;
  color: var(--graphite);
  margin-bottom: 24px;
}

/* =============================================================
   Contact
   ============================================================= */
.contact__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  max-width: 20ch;
  text-wrap: balance;
}
.contact__title em { font-style: italic; color: var(--oxblood); }
.contact__sub {
  margin-top: 18px;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.5;
  color: var(--graphite);
  max-width: 46ch;
}
.contact__links {
  margin-top: clamp(34px, 4vw, 48px);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
/* =============================================================
   Footer
   ============================================================= */
.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 48px 56px;
}
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.footer__brand img { width: 22px; height: auto; }
.footer__brand span {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
}
.footer__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--stone);
  text-align: right;
  line-height: 1.7;
}
.footer__meta a { color: var(--graphite); text-decoration: none; }
.footer__meta a:hover { color: var(--oxblood); }

/* =============================================================
   Entrance animation
   ============================================================= */
/* Reveal hidden state applies only when JS is active (.js on <html>);
   without JS, all content is visible by default. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(var(--rise));
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
/* Fallback: if the page is in a non-painting context (rAF never fires),
   show everything instantly so content is never stranded hidden. */
.reveal-fallback [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.reveal-fallback .flow__track { transform: none !important; }
.reveal-fallback .flow__head { opacity: 1 !important; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 980px) {
  .approach__body { grid-template-columns: 1fr; gap: 28px; }
  .founder__grid { grid-template-columns: 1fr; gap: 32px; }
  .brief__panel { grid-template-columns: 1fr; }
  .hero__meridian { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }

  .focus__list { grid-template-columns: 1fr; }
  .focus__item { padding: 30px 0; }
  .focus__item + .focus__item { padding-left: 0; border-left: none; }
  .focus__name { max-width: none; }

  /* Keep the U.S.–Japan corridor horizontal on mobile. */
  .axis {
    grid-template-columns: minmax(0, 1fr) minmax(72px, 22vw) minmax(0, 1fr);
    gap: clamp(8px, 3vw, 14px);
    align-items: center;
    justify-items: stretch;
    margin-top: 42px;
  }
  .axis__node {
    max-width: none;
    min-width: 0;
  }
  .axis__node--right {
    text-align: right;
    margin-left: 0;
  }
  .axis__place {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
    overflow-wrap: anywhere;
  }
  .axis__desc {
    margin-top: 9px;
    font-size: clamp(0.72rem, 2.9vw, 0.82rem);
    line-height: 1.4;
  }

  .flow {
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 14px 0;
  }
  .flow__line {
    width: 100%;
    height: 1px;
  }
  .flow__track {
    width: 100%;
    height: 1px;
  }
  .flow__line--ltr .flow__track {
    transform-origin: left;
    background: linear-gradient(90deg, #424a55, var(--brass) 55%, #424a55);
  }
  .flow__line--rtl .flow__track {
    transform-origin: right;
    background: linear-gradient(90deg, #424a55, var(--oxblood) 45%, #424a55);
  }
  .js .flow__track { transform: scaleX(0); }
  .js .is-revealed .flow__track { transform: scaleX(1); }

  .flow__dot {
    top: 50%;
    left: auto !important;
    right: auto !important;
    transform: translateY(-50%);
  }
  .flow__line--ltr .flow__dot { left: -1px !important; }
  .flow__line--rtl .flow__dot { right: -1px !important; bottom: auto; }

  .flow__head {
    top: 50%;
    left: auto;
    right: auto;
    transform: translateY(-50%);
    border-top: 4px solid transparent !important;
    border-bottom: 4px solid transparent !important;
  }
  .flow__line--ltr .flow__head {
    right: -1px;
    bottom: auto;
    border-left: 7px solid var(--brass) !important;
    border-right: none !important;
  }
  .flow__line--rtl .flow__head {
    left: -1px;
    border-right: 7px solid var(--oxblood) !important;
    border-left: none !important;
  }

  .flow__label {
    top: -16px;
    left: 0 !important;
    right: auto !important;
    transform: none;
    writing-mode: horizontal-tb;
    font-size: 7px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .flow__line--rtl .flow__label {
    left: auto !important;
    right: 0 !important;
    writing-mode: horizontal-tb;
  }

  .footer__row { flex-direction: column; align-items: flex-start; }
  .footer__meta { text-align: left; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .flow__track { transform: none !important; }
  .flow__head { opacity: 1 !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-menu, .nav__toggle { display: none; }
  body { background: #fff; }
  .corridor { background: #fff; color: #000; }
}
