/* ============================================================
   SHINNAN Inc. — 辰南株式会社
   Brutalist design system — mono + PS1 warm gray
   ============================================================ */

:root {
  /* Color */
  --ink: #0e0e0f;
  --graphite: #1a1a1b;
  --white: #ffffff;
  --ps-gray: #c6c2b8;      /* PS1 warm light gray — used as type on dark sections */
  --surface: #e2e0dc;      /* page/hero background: PS1 gray lightened halfway to white */
  --concrete: #e8e6e0;     /* lighter warm gray */
  --gray-mid: #8e8b83;
  --gray-dim: #6a6862;
  --accent: #e5352b;       /* red — used only in tiny doses */
  --line: rgba(14, 14, 15, 0.16);
  --line-strong: rgba(14, 14, 15, 0.9);
  --line-inv: rgba(255, 255, 255, 0.16);
  --line-inv-strong: rgba(255, 255, 255, 0.85);

  /* Type */
  --font-display: "Archivo", "Zen Kaku Gothic New", "Noto Sans SC", sans-serif;
  --font-body: "Archivo", "Zen Kaku Gothic New", "Noto Sans SC", sans-serif;

  /* Scale */
  --text-hero: clamp(2.9rem, 9vw, 8.4rem);
  --text-h2: clamp(2rem, 5vw, 4.4rem);
  --text-h3: clamp(1.3rem, 2.2vw, 1.9rem);
  --text-lead: clamp(1.05rem, 1.5vw, 1.28rem);
  --text-body: clamp(0.95rem, 1.1vw, 1.02rem);
  --text-small: 0.76rem;

  /* Layout */
  --gutter: clamp(1.15rem, 4.5vw, 4.5rem);
  --section-pad: clamp(5.5rem, 13vh, 10rem);
  --header-h: 4.5rem;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.85s;
}

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

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

body {
  /* Belt and braces with the WeChat bridge call in main.js: in-app browsers
     inflate text by setting this on the body, which the layout can't absorb. */
  -webkit-text-size-adjust: 100% !important;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink);
  background: var(--surface);
  overflow-x: clip;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* ---------- Utilities ---------- */
.wrap {
  max-width: 92rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.en-caption {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.dot-accent { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(2.2rem);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-line {
  display: block;
  overflow: hidden;
}

.reveal-line > span {
  display: block;
  transform: translateY(108%);
  transition: transform 1s var(--ease-out);
}

.is-in .reveal-line > span,
.reveal-line.is-in > span {
  transform: none;
}

[data-stagger] > *:nth-child(2) { transition-delay: 0.08s; }
[data-stagger] > *:nth-child(3) { transition-delay: 0.16s; }
[data-stagger] > *:nth-child(4) { transition-delay: 0.24s; }
[data-stagger] > *:nth-child(5) { transition-delay: 0.32s; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-inline: var(--gutter);
  background: var(--white);
  border-bottom: 1.5px solid var(--line-strong);
  transition: box-shadow 0.35s ease, transform 0.5s var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(14, 14, 15, 0.08);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 102;
}

/* Supplied lockup: gray plaque with white knockout letters. Reads on both the
   white header bar and the ink mobile menu overlay, so no variant swap. */
.brand-logo {
  height: 2.5rem;
  width: auto;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text .kanji {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.16em;
}

.brand-text .latin {
  font-family: var(--font-display);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gray-dim);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.2rem);
}

.main-nav a {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding-block: 0.3rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang-switch a,
.lang-switch span.current {
  padding: 0.28rem 0.44rem;
}

.lang-switch span.current {
  background: var(--ink);
  color: var(--ps-gray);
}

.lang-switch a {
  color: var(--gray-dim);
  transition: color 0.3s ease;
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch .sep {
  color: var(--line);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  z-index: 102;
  background: none;
  border: 0;
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  position: relative;
  color: inherit;
}

.nav-toggle span {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  height: 2.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 1rem; }
.nav-toggle span:nth-child(2) { top: 1.55rem; }

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(0.27rem) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-0.28rem) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  /* Starts below the header so the white bar carrying the logo stays visible. */
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 101;
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    background: var(--ink);
    color: var(--ps-gray);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
  }

  body.nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  .main-nav a {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .main-nav a::after { background: var(--accent); }

  .main-nav .lang-switch {
    margin-top: 1.4rem;
    font-size: 0.95rem;
  }

  .main-nav .lang-switch span.current {
    background: var(--ps-gray);
    color: var(--ink);
  }

  .main-nav .lang-switch a { color: var(--gray-mid); }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 2rem) var(--gutter) clamp(2.2rem, 5vh, 3.5rem);
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1.5px solid var(--line-strong);
}

.hero-bg-kanji {
  position: absolute;
  top: 50%;
  right: clamp(-4rem, -2vw, 0rem);
  transform: translateY(-52%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(16rem, 46vw, 44rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(14, 14, 15, 0.045);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.hero-vertical {
  position: absolute;
  top: calc(var(--header-h) + 3rem);
  right: var(--gutter);
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  letter-spacing: 0.3em;
  color: var(--gray-dim);
}

/* Each phrase gets its own column, read right to left. Keeps the line short
   enough to clear the hero on short viewports. */
.hero-vertical span { display: block; }
.hero-vertical span + span { margin-block-start: 1.5rem; }

.hero-eyebrow {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-bottom: clamp(1.4rem, 3vh, 2.2rem);
}

.hero-eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-hero);
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

/* Mobile stacks one word per line; from the desktop breakpoint up, the first
   two words share a line again. */
@media (min-width: 901px) {
  .hero-title .reveal-line:nth-child(1),
  .hero-title .reveal-line:nth-child(2) {
    display: inline-block;
    vertical-align: top;
  }
}

.hero-title .accent {
  color: var(--accent);
}

.hero-title .outline {
  color: transparent;
  /* Relative to the font size: a fixed px stroke reads far heavier at the
     smaller mobile type size than it does on desktop. */
  -webkit-text-stroke: 0.015em var(--ink);
}

.hero-sub {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.4rem 3rem;
  margin-top: clamp(1.8rem, 4.5vh, 3rem);
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--line-strong);
}

.hero-copy {
  font-size: var(--text-lead);
  font-weight: 400;
  line-height: 1.95;
  max-width: 34em;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-dim);
  text-align: right;
}

.hero-meta .dot {
  color: var(--accent);
}

.hero-scroll {
  position: absolute;
  /* Sits in the outer margin so it never collides with the hero title. */
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-dim);
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  content: "";
  width: 1.5px;
  height: 3.4rem;
  background: var(--ink);
  animation: scrollPulse 2.2s var(--ease-out) infinite;
  transform-origin: top;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 900px) {
  /* Title stacks one word per line. Sized against the width actually left over
     once the vertical slogan strip (~4rem) is reserved, so the longest word
     ("Travel.", ~4.5x the font size) always clears it. */
  :root { --text-hero: min(4.4rem, calc((100vw - 6.4rem) / 4.5)); }

  .hero-scroll { display: none; }

  /* Kept to a single line — sits above the vertical slogan, not beside it. */
  .hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.16em; }

  .hero-vertical {
    /* Top aligned with the cap of "WE" rather than the eyebrow. */
    top: calc(var(--header-h) + 5.3rem);
    right: 1.5rem;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
  }
  .hero-vertical span + span { margin-block-start: 0.7rem; }

  .hero-bg-kanji { right: -3rem; font-size: 19rem; opacity: 0.7; }
  .hero-meta { text-align: left; }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  background: var(--ink);
  color: var(--ps-gray);
  overflow: hidden;
  padding-block: 1.05rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  animation: marquee 32s linear infinite;
}

.marquee-track > span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.marquee-track .m-dot {
  color: var(--accent);
  font-size: 0.7em;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   Section shared
   ============================================================ */
.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: clamp(3rem, 7vh, 5.5rem);
}

.section-num {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  padding-top: 0.6em;
  flex: none;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-h2);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.section-title-en {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-h2);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.section-title .sub,
.section-title-en .sub {
  display: block;
  font-size: 0.26em;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-top: 1.1em;
}

/* ============================================================
   About
   ============================================================ */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.about-statement {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.7vw, 2.3rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.about-statement em {
  font-style: normal;
  color: var(--accent);
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  color: var(--gray-dim);
  padding-top: 0.6rem;
  font-weight: 400;
}

.about-values {
  margin-top: clamp(3.5rem, 8vh, 6rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--line-strong);
}

.value-item {
  padding: clamp(1.6rem, 2.5vw, 2.4rem);
  border-right: 1.5px solid var(--line-strong);
}

.value-item:last-child {
  border-right: 0;
}

.value-item .num {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.value-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-block: 0.7rem 0.5rem;
}

.value-item .v-en {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-mid);
  display: block;
  margin-bottom: 1rem;
}

.value-item p {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray-dim);
  line-height: 1.95;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .value-item {
    border-right: 0;
    border-bottom: 1.5px solid var(--line-strong);
  }
  .value-item:last-child { border-bottom: 0; }
}

/* ============================================================
   Services
   ============================================================ */
.services {
  background: var(--ink);
  color: var(--ps-gray);
}

.services .section-num { color: var(--accent); }
.services .section-title-en { color: var(--white); }

.services-intro {
  max-width: 42em;
  color: var(--gray-mid);
  margin-top: -2rem;
  margin-bottom: clamp(3rem, 7vh, 5rem);
  font-weight: 400;
}

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.8rem, 6vh, 4.5rem);
  border-top: 1.5px solid var(--line-inv-strong);
  align-items: start;
}

.service-block:last-child {
  border-bottom: 1.5px solid var(--line-inv-strong);
}

.service-index {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
}

.service-index .idx {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ps-gray);
  line-height: 1;
}

.service-index .service-en {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.service-main h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.9vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 1.4rem;
  color: var(--white);
}

.service-main > p {
  color: var(--gray-mid);
  max-width: 38em;
  margin-bottom: 2rem;
  font-weight: 400;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line-inv);
  border-left: 1px solid var(--line-inv);
}

.service-tags li {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-right: 1px solid var(--line-inv);
  border-bottom: 1px solid var(--line-inv);
  padding: 0.7rem 1.1rem;
  color: var(--ps-gray);
  transition: background 0.3s ease, color 0.3s ease;
}

.service-tags li:hover {
  background: var(--ps-gray);
  color: var(--ink);
}

@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ============================================================
   Company
   ============================================================ */
.company {
  background: var(--concrete);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}

.company-aside {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.company-aside .kanji-large {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 5.6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.06em;
}

.company-aside p {
  color: var(--gray-dim);
  font-size: 0.9rem;
  font-weight: 400;
  max-width: 24em;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  text-align: left;
  padding: 1.3rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-weight: 400;
}

.company-table tr:first-child th,
.company-table tr:first-child td {
  border-top: 1.5px solid var(--line-strong);
}

.company-table th {
  width: 10em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.company-table .placeholder {
  color: var(--gray-dim);
  background: rgba(14, 14, 15, 0.07);
  border: 1px dashed var(--line);
  padding: 0.1rem 0.6rem;
  font-size: 0.86em;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .company-grid { grid-template-columns: 1fr; }
  .company-table th { width: 8em; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--ps-gray);
  padding-bottom: 0;
}

.contact-inner {
  padding-bottom: var(--section-pad);
}

.contact-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 7.2vw, 6.4rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
  color: var(--white);
}

.contact-title .outline {
  color: transparent;
  -webkit-text-stroke: 0.015em var(--ps-gray);
}

.contact-lead {
  color: var(--gray-mid);
  max-width: 36em;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
  font-weight: 400;
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  padding-bottom: 0.5rem;
  border-bottom: 2.5px solid var(--accent);
  color: var(--white);
  transition: color 0.3s ease;
}

.contact-mail:hover {
  color: var(--accent);
}

.contact-mail .arrow {
  font-size: 0.7em;
  transition: transform 0.35s var(--ease-out);
}

.contact-mail:hover .arrow {
  transform: translate(0.3rem, -0.3rem);
}

.contact-note {
  margin-top: 1.4rem;
  font-size: 0.82rem;
  color: var(--gray-mid);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-inv);
  padding-block: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  color: var(--gray-mid);
  font-size: 0.76rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ps-gray);
}

.footer-brand .kanji {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.footer-brand .latin {
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.footer-langs {
  display: flex;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.footer-langs a:hover { color: var(--accent); }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .reveal-line > span {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .marquee-track { animation: none; }
  .hero-scroll::after { animation: none; transform: none; }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
