/* ==========================================================================
   AURORA — cinematic concept for NordLIS Powered by LabSolution
   Own scope only: all classes prefixed .au-*. Paired with /shared.css.
   ========================================================================== */

/* Fonts: "DejaVu Sans" (TTF) is declared globally in /shared.css.
   This sheet only consumes the family via --au-font below. */

/* ---------- Tokens ---------- */
:root {
  --au-navy: #10283F;
  --au-navy-deep: #0B1E31;
  --au-navy-ink: #0A1929;
  --au-teal: #087F75;
  --au-teal-bright: #39D5BF;
  --au-ice: #86D9EF;
  --au-violet: #8274C8;
  --au-snow: #F5F8FA;
  --au-slate: #526577;

  --au-font: "DejaVu Sans", Arial, sans-serif;

  --au-light-bg: var(--au-snow);
  --au-light-bg-alt: #FFFFFF;
  --au-light-bg-tint: #EDF4F6;
  --au-light-text: var(--au-navy);
  --au-light-muted: #3D5265;
  --au-hairline-light: rgba(16, 40, 63, 0.16);
  --au-hairline-dark: rgba(134, 217, 239, 0.22);

  --au-wrap: 1280px;
  --au-pad: clamp(20px, 5vw, 64px);
  --au-section-pad: clamp(96px, 11vw, 172px);
  --au-header-h: 92px;
  --au-switcher-space: 80px;

  --au-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--au-header-h) + 12px);
  overflow-x: clip; /* hard guard: no horizontal pan, ever */
}

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

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

::selection { background: var(--au-teal-bright); color: var(--au-navy); }

.au-wrap {
  max-width: var(--au-wrap);
  margin-inline: auto;
  padding-inline: var(--au-pad);
}

.au-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.au-skip {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--au-teal-bright);
  color: var(--au-navy);
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transform: translateY(-64px);
  transition: transform 0.25s var(--au-ease);
}
.au-skip:focus-visible { transform: translateY(0); outline: 2px solid var(--au-snow); outline-offset: 2px; }

:focus-visible {
  outline: 2px solid var(--au-teal-bright);
  outline-offset: 3px;
  border-radius: 2px;
}
.au-section--light :focus-visible,
.au-section--white :focus-visible,
.au-section--tint :focus-visible {
  outline-color: var(--au-teal);
}

/* ---------- Buttons ---------- */
.au-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font: 700 0.95rem/1.2 var(--au-font);
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s var(--au-ease), color 0.3s var(--au-ease),
              border-color 0.3s var(--au-ease), transform 0.3s var(--au-ease);
}
.au-btn--xl { padding: 18px 34px; font-size: 1.02rem; }

.au-btn--primary {
  background: var(--au-teal-bright);
  color: var(--au-navy);
}
.au-btn--primary:hover { background: var(--au-ice); transform: translateY(-2px); }

.au-btn--ghost {
  background: transparent;
  color: var(--au-snow);
  border-color: rgba(245, 248, 250, 0.45);
}
.au-btn--ghost:hover { border-color: var(--au-teal-bright); color: var(--au-teal-bright); transform: translateY(-2px); }

.au-btn:active { transform: translateY(0); }

/* ---------- Header / navigation ---------- */
.au-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.4s var(--au-ease), box-shadow 0.4s var(--au-ease);
}
.au-header.is-scrolled {
  background: rgba(11, 30, 49, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(134, 217, 239, 0.14);
}
.au-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 20px;
  min-height: var(--au-header-h);
}
.au-brand { display: inline-flex; flex-shrink: 0; }
.au-brand img { width: 224px; height: auto; } /* endorsed lockup ≥ 220px */

.au-nav { display: flex; align-items: center; }

.au-nav-panel { display: flex; align-items: center; gap: 28px; }

.au-nav-list {
  display: flex;
  gap: 22px;
  margin: 0; padding: 0;
  list-style: none;
}
.au-nav-link {
  position: relative;
  color: rgba(245, 248, 250, 0.82);
  font-size: 12px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s var(--au-ease);
}
.au-nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--au-teal-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--au-ease);
}
.au-nav-link:hover, .au-nav-link:focus-visible { color: var(--au-snow); }
.au-nav-link:hover::after, .au-nav-link:focus-visible::after { transform: scaleX(1); }

.au-nav-cta { padding: 11px 20px; font-size: 12px; letter-spacing: 0.04em; white-space: nowrap; }

.au-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid rgba(245, 248, 250, 0.4);
  border-radius: 6px;
  color: var(--au-snow);
  padding: 10px 14px;
  font: 700 0.85rem/1 var(--au-font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.au-nav-toggle-box { display: inline-flex; flex-direction: column; gap: 4px; }
.au-nav-toggle-box i {
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s var(--au-ease), opacity 0.3s var(--au-ease);
}
.au-header.is-open .au-nav-toggle-box i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.au-header.is-open .au-nav-toggle-box i:nth-child(2) { opacity: 0; }
.au-header.is-open .au-nav-toggle-box i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Shared section furniture ---------- */
.au-section { position: relative; padding-block: var(--au-section-pad); }
.au-section--light { background: var(--au-light-bg); color: var(--au-light-text); }
.au-section--white { background: var(--au-light-bg-alt); color: var(--au-light-text); }
.au-section--tint  { background: var(--au-light-bg-tint); color: var(--au-light-text); }
.au-section--dark  {
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(8, 127, 117, 0.28), transparent 62%),
    radial-gradient(900px 480px at -10% 110%, rgba(130, 116, 200, 0.16), transparent 60%),
    var(--au-navy);
  color: var(--au-snow);
}

.au-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--au-teal);
}
.au-kicker::before {
  content: "";
  width: 44px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.au-kicker--light { color: var(--au-teal-bright); }

.au-h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.au-h3 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.au-lead {
  margin: 0 0 1.2em;
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.5;
  font-weight: 700;
  color: inherit;
}
.au-section--dark .au-lead { color: var(--au-snow); }
.au-section--light .au-lead, .au-section--white .au-lead, .au-section--tint .au-lead { color: var(--au-light-text); }

.au-chapter p { color: var(--au-light-muted); }
.au-section--dark.au-chapter p { color: rgba(245, 248, 250, 0.92); }

/* Chapter layout */
.au-chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.au-chapter-head { position: relative; min-width: 0; }
.au-chapter-head--wide { max-width: 62rem; }
.au-chapter-body { padding-top: 14px; min-width: 0; }

.au-chapter-num {
  position: absolute;
  top: -0.62em;
  left: 0;
  z-index: 0;
  font-size: clamp(6.5rem, 13vw, 12rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(16, 40, 63, 0.18);
  pointer-events: none;
  user-select: none;
}
.au-section--dark .au-chapter-num { -webkit-text-stroke: 1px rgba(134, 217, 239, 0.22); }
.au-chapter-head > * { position: relative; z-index: 1; }
.au-chapter-num + .au-kicker { margin-top: clamp(48px, 7vw, 96px); }

.au-chapter-intro { max-width: 56ch; }

/* Pull quote */
.au-pullquote {
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--au-hairline-light);
}
.au-pullquote p {
  margin: 0 0 12px;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.45;
  font-weight: 700;
  color: var(--au-teal);
}
.au-pullquote figcaption {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--au-slate);
}

/* ---------- Hero ---------- */
.au-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--au-navy-ink);
}
.au-hero-stage { position: absolute; inset: 0; }
.au-hero-media {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: 62% 38%;
  transform-origin: 62% 40%;
  animation: au-drift 56s var(--au-ease) infinite alternate;
  will-change: transform;
}
.au-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(78deg, rgba(10, 25, 41, 0.7) 0%, rgba(10, 25, 41, 0.34) 40%, rgba(10, 25, 41, 0) 64%),
    linear-gradient(180deg, rgba(10, 25, 41, 0.5) 0%, rgba(10, 25, 41, 0) 26%, rgba(10, 25, 41, 0) 74%, rgba(10, 25, 41, 0.55) 100%);
}

.au-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(110px, 16vh, 180px);
  padding-top: var(--au-header-h);
  animation: au-rise 1.4s var(--au-ease) both;
}

.au-hero-title {
  margin: 0 0 30px;
  font-size: clamp(3.4rem, 9vw, 8.6rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--au-snow);
  text-shadow: 0 2px 34px rgba(10, 25, 41, 0.5);
  text-wrap: balance;
}
.au-hero-line { display: block; }
.au-hero-dot { color: var(--au-teal-bright); }

.au-hero-sub {
  margin: 0 0 44px;
  max-width: 44ch;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.55;
  color: rgba(245, 248, 250, 0.88);
}

.au-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Scroll cue */
.au-scrollcue {
  position: absolute;
  right: clamp(24px, 4vw, 56px);
  bottom: 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: rgba(245, 248, 250, 0.75);
  transition: color 0.3s var(--au-ease);
}
.au-scrollcue:hover, .au-scrollcue:focus-visible { color: var(--au-teal-bright); }
.au-scrollcue-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.au-scrollcue-line {
  width: 1px; height: 64px;
  background: rgba(245, 248, 250, 0.35);
  overflow: hidden;
  position: relative;
}
.au-scrollcue-line::after {
  content: "";
  position: absolute;
  left: 0; top: -50%;
  width: 100%; height: 50%;
  background: var(--au-teal-bright);
  animation: au-cue 2.6s var(--au-ease) infinite;
}

/* ---------- Story beat (dark ribbon interlude) ---------- */
.au-beat {
  position: relative;
  overflow: hidden;
  background: var(--au-navy-ink);
  padding-block: clamp(140px, 20vh, 240px);
}
.au-beat-ribbon { position: absolute; inset: 0; }
.au-beat-ribbon svg { width: 100%; height: 100%; }
.au-beat-ribbon g { animation: au-sway 26s ease-in-out infinite alternate; will-change: transform; }

.au-beat-content { position: relative; z-index: 2; }
.au-beat-title {
  margin: 0 0 26px;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--au-snow);
  text-wrap: balance;
}
.au-beat-note {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(134, 217, 239, 0.85);
}

/* ---------- Journey (Chapter 02) ---------- */
.au-journey-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 6vw, 84px);
  border-top: 1px solid var(--au-hairline-light);
}

.au-journey-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 20px 26px 0;
  background: none;
  border: 0;
  border-right: 1px solid var(--au-hairline-light);
  text-align: left;
  cursor: pointer;
  color: var(--au-slate);
  transition: color 0.3s var(--au-ease), background-color 0.3s var(--au-ease);
}
.au-journey-tab:last-child { border-right: 0; }
.au-journey-tab::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%; height: 2px;
  background: var(--au-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--au-ease);
}
.au-journey-tab:hover { color: var(--au-navy); background: rgba(8, 127, 117, 0.05); }
.au-journey-tab[aria-selected="true"] { color: var(--au-navy); }
.au-journey-tab[aria-selected="true"]::before { transform: scaleX(1); }

.au-journey-tab-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--au-teal);
}
.au-journey-tab-title {
  font-size: clamp(0.98rem, 1.4vw, 1.15rem);
  font-weight: 700;
  line-height: 1.25;
}

.au-journey-progress {
  height: 2px;
  background: rgba(8, 127, 117, 0.15);
  overflow: hidden;
}
.au-journey-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--au-teal);
}

.au-journey-panels { position: relative; margin-top: clamp(40px, 5vw, 72px); }

.au-journey-panel {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.au-journey-panel[hidden] { display: none; }
.au-journey-panel.au-is-entering {
  animation: au-panel 0.7s var(--au-ease) both;
}

.au-journey-lead { color: var(--au-light-muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }

.au-notes {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.au-notes li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--au-hairline-light);
  font-weight: 700;
  color: var(--au-light-text);
}
.au-notes li::before {
  content: "";
  flex: 0 0 auto;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--au-teal-bright), var(--au-ice));
  transform: translateY(1px);
}

.au-journey-art {
  color: var(--au-teal);
  background:
    radial-gradient(340px 240px at 60% 40%, rgba(57, 213, 191, 0.14), transparent 70%),
    var(--au-snow);
  border: 1px solid var(--au-hairline-light);
  border-radius: 12px;
  padding: clamp(28px, 4vw, 56px);
}
.au-journey-art svg { width: min(100%, 300px); margin-inline: auto; }

.au-journey-status { margin-top: 18px; }

/* ---------- Integration (Chapter 03, dark) ---------- */
.au-schematic {
  margin: clamp(36px, 5vw, 56px) 0 0;
}
.au-schematic svg { width: 100%; height: auto; }
.au-schematic figcaption {
  margin-top: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(134, 217, 239, 0.7);
}
.au-schematic-flow { animation: au-flow 9s linear infinite; }
.au-schematic-flow--late { animation-delay: -4.5s; }

.au-checklist {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.au-checklist li {
  padding: 16px 0;
  border-top: 1px solid var(--au-hairline-dark);
  font-weight: 700;
  color: var(--au-snow);
}
.au-checklist li:last-child { border-bottom: 1px solid var(--au-hairline-dark); }
.au-checklist span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.au-checklist span::before {
  content: "";
  width: 12px; height: 12px;
  border: 2px solid var(--au-teal-bright);
  border-radius: 3px;
  background:
    linear-gradient(rgba(11, 30, 49, 0) 0 0),
    var(--au-navy);
}

/* ---------- Implementation (Chapter 04) ---------- */
.au-scope {
  margin: clamp(48px, 6vw, 84px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.au-scope-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--au-hairline-light);
}
.au-scope-row:last-child { border-bottom: 1px solid var(--au-hairline-light); }
.au-scope-num {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--au-teal);
}
.au-scope-term {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.au-scope-desc { margin: 0; color: var(--au-light-muted); }

/* ---------- Epilogue (name story) ---------- */
.au-epilogue .au-chapter-num { -webkit-text-stroke: 1px rgba(8, 127, 117, 0.35); }

.au-nameword {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 34px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--au-navy);
}
.au-nameword-base { letter-spacing: -0.02em; }
.au-nameword-old {
  position: relative;
  font-size: 0.42em;
  color: var(--au-slate);
  transform: translateY(-0.35em);
  text-decoration: line-through;
  text-decoration-color: rgba(82, 101, 119, 0.7);
  text-decoration-thickness: 2px;
  opacity: 0.75;
}
.au-nameword-old::after {
  content: "→";
  position: absolute;
  right: -1.35em;
  top: 0.2em;
  font-size: 1.1em;
  text-decoration: none;
  color: var(--au-teal);
}
.au-nameword-new {
  position: relative;
  color: var(--au-teal);
  margin-left: 0.55em;
}
.au-nameword-new::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.12em;
  width: 100%; height: 0.09em;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--au-teal-bright), var(--au-ice), var(--au-violet));
  background-size: 200% 100%;
  animation: au-shimmer 7s ease-in-out infinite alternate;
}

/* ---------- Closing CTA ---------- */
.au-closing {
  position: relative;
  overflow: hidden;
  background: var(--au-navy-ink);
  padding-block: clamp(130px, 18vh, 220px);
}
.au-closing-stage { position: absolute; inset: 0; }
.au-closing-media {
  position: absolute;
  inset: -4%;
  width: 108%; height: 108%;
  object-fit: cover;
  object-position: 30% 72%;
  transform: scaleX(-1);
  animation: au-drift-slow 72s var(--au-ease) infinite alternate;
  will-change: transform;
}
.au-closing-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(10, 25, 41, 0.55) 0%, rgba(10, 25, 41, 0.1) 40%, rgba(10, 25, 41, 0.35) 100%);
}
.au-closing-content { position: relative; z-index: 2; }
.au-closing-title {
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--au-snow);
  text-wrap: balance;
}
.au-closing-sub {
  margin: 0 0 44px;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(245, 248, 250, 0.9);
}

/* ---------- Footer ---------- */
.au-footer {
  background: var(--au-navy-deep);
  color: rgba(245, 248, 250, 0.8);
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: calc(40px + var(--au-switcher-space)); /* reserved: concept switcher */
}
.au-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: clamp(40px, 6vw, 80px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(134, 217, 239, 0.16);
}
.au-footer-logo { width: 224px; height: auto; margin-bottom: 20px; }
.au-footer-tag {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--au-teal-bright);
}
.au-footer-heading {
  margin: 4px 0 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(134, 217, 239, 0.8);
}
.au-footer-nav ul { margin: 0; padding: 0; list-style: none; }
.au-footer-nav li + li { margin-top: 10px; }
.au-footer-nav a {
  color: rgba(245, 248, 250, 0.82);
  text-decoration: none;
  transition: color 0.3s var(--au-ease);
}
.au-footer-nav a:hover, .au-footer-nav a:focus-visible { color: var(--au-teal-bright); }

.au-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 40px;
  padding-top: 28px;
}
.au-footer-legal p {
  margin: 0;
  max-width: 62ch;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(245, 248, 250, 0.62);
}

/* ---------- Motion pause control ---------- */
.au-motion {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid rgba(134, 217, 239, 0.35);
  border-radius: 999px;
  background: rgba(11, 30, 49, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--au-snow);
  font: 700 0.78rem/1 var(--au-font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.3s var(--au-ease), color 0.3s var(--au-ease);
}
.au-motion:hover { border-color: var(--au-teal-bright); color: var(--au-teal-bright); }
.au-motion[aria-pressed="true"] { border-color: var(--au-teal-bright); color: var(--au-teal-bright); }
.au-motion-icon { width: 12px; height: 12px; }
.au-motion-icon--play { display: none; }
.au-motion[aria-pressed="true"] .au-motion-icon--pause { display: none; }
.au-motion[aria-pressed="true"] .au-motion-icon--play { display: block; }

/* ---------- Chapter dots wayfinding ---------- */
.au-dots {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-50%);
}
.au-dots a {
  position: relative;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(134, 217, 239, 0.6);
  background: transparent;
  transition: background-color 0.3s var(--au-ease), transform 0.3s var(--au-ease),
              border-color 0.3s var(--au-ease);
}
.au-dots a:hover { transform: scale(1.35); border-color: var(--au-teal-bright); }
.au-dots a.is-active {
  background: var(--au-teal-bright);
  border-color: var(--au-teal-bright);
  transform: scale(1.35);
}

/* ---------- Paused motion ---------- */
html.au-paused .au-hero-media,
html.au-paused .au-closing-media,
html.au-paused .au-beat-ribbon g,
html.au-paused .au-schematic-flow,
html.au-paused .au-scrollcue-line::after,
html.au-paused .au-nameword-new::after,
html.au-paused .au-hero-content,
html.au-paused .au-journey-panel.au-is-entering {
  animation-play-state: paused !important;
}

/* ---------- Keyframes ---------- */
@keyframes au-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.07) translate3d(-1.8%, 1.4%, 0); }
}
@keyframes au-drift-slow {
  from { transform: scaleX(-1) scale(1) translate3d(0, 0, 0); }
  to   { transform: scaleX(-1) scale(1.06) translate3d(1.6%, -1.2%, 0); }
}
@keyframes au-rise {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes au-cue {
  0%   { top: -50%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}
@keyframes au-sway {
  from { transform: translate3d(-24px, 6px, 0); }
  to   { transform: translate3d(24px, -8px, 0); }
}
@keyframes au-flow {
  to { stroke-dashoffset: -64; }
}
@keyframes au-panel {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes au-shimmer {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  /* Nav row gets tight here; the CTA lives on until the panel takes over. */
  .au-header .au-nav-cta { display: none; }
}

@media (max-width: 1100px) {
  .au-chapter-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .au-chapter-body { padding-top: 0; max-width: 62ch; }
}

@media (max-width: 1024px) {
  :root { --au-header-h: 76px; }

  .au-nav-toggle { display: inline-flex; }

  .au-nav-panel {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: calc(var(--au-header-h) + 24px) var(--au-pad) 140px;
    background:
      radial-gradient(720px 420px at 85% 0%, rgba(8, 127, 117, 0.3), transparent 60%),
      rgba(10, 25, 41, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--au-ease), visibility 0.35s var(--au-ease);
  }
  .au-header.is-open .au-nav-panel { opacity: 1; visibility: visible; }

  .au-nav-list { flex-direction: column; gap: 6px; }
  .au-nav-link {
    display: inline-block;
    padding: 10px 0;
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: normal;
    color: var(--au-snow);
  }
  .au-nav-link::after { height: 2px; }
  .au-header .au-nav-cta { display: inline-flex; margin-top: 8px; }
}

@media (max-width: 900px) {
  .au-journey-tabs { grid-template-columns: repeat(2, 1fr); }
  .au-journey-tab:nth-child(2) { border-right: 0; }
  .au-journey-tab:nth-child(-n+2) { border-bottom: 1px solid var(--au-hairline-light); }
  .au-journey-panel { grid-template-columns: 1fr; gap: 32px; }
  .au-journey-art { order: -1; padding: 24px; }
  .au-journey-art svg { width: min(100%, 220px); }

  .au-scope-row { grid-template-columns: 64px 1fr; }
  .au-scope-desc { grid-column: 2; }

  .au-footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .au-dots { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .au-brand img { width: 220px; }
  .au-header-inner { gap: 14px; }
  .au-nav-toggle { padding: 10px 12px; }
  .au-nav-toggle-label { display: none; }
  .au-kicker { font-size: 0.72rem; letter-spacing: 0.2em; }
  .au-kicker::before { width: 28px; }
  .au-hero-title { font-size: clamp(2.5rem, 11vw, 3.4rem); letter-spacing: -0.02em; }
  .au-hero-actions { flex-direction: column; align-items: stretch; }
  .au-btn { width: 100%; }
  .au-btn--xl { padding: 16px 24px; }
  .au-journey-tabs { grid-template-columns: 1fr; }
  .au-journey-tab { border-right: 0; border-bottom: 1px solid var(--au-hairline-light); padding: 18px 0; }
  .au-journey-tab:last-child { border-bottom: 0; }
  .au-scope-row { grid-template-columns: 48px 1fr; padding: 20px 0; }
  .au-scrollcue { display: none; }
  .au-motion { padding: 11px 13px; }
  .au-motion-label { display: none; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .au-hero-media,
  .au-closing-media,
  .au-beat-ribbon g,
  .au-schematic-flow,
  .au-scrollcue-line::after,
  .au-nameword-new::after,
  .au-hero-content,
  .au-journey-panel.au-is-entering {
    animation: none !important;
  }
  .au-btn, .au-nav-link::after, .au-skip, .au-dots a { transition: none; }
}

@media(max-width:520px){.au-motion{bottom:76px;min-width:44px;min-height:44px;justify-content:center}}

/* Main website: no concept-navigation space is needed. */
.au-main { --au-switcher-space: 0px; }
.au-main .au-motion { bottom: 20px; }
.au-main .au-footer-nav button { font: inherit; color: inherit; border: 0; padding: 0; background: none; cursor: pointer; text-align: left; }
.au-main .au-footer-nav button:hover { color: var(--au-teal-bright); }
