﻿@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 640px;
  }

  .now-chip {
    right: 12%;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: auto;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .story,
  .story.reverse,
  .privacy-inner,
  .request-layout {
    grid-template-columns: 1fr;
  }

  .story.reverse .story-visual {
    order: 0;
  }

  .story-copy,
  .privacy-copy {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  :root {
    --page: min(100% - 28px, 680px);
  }

  body {
    font-size: 16px;
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 32px 20px;
    display: grid;
    align-content: start;
    gap: 0;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    min-height: 60px;
    padding: 16px 4px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 18px;
  }

  .nav-links .button {
    margin-top: 24px;
    justify-content: center;
  }

  .hero {
    padding: 56px 0 72px;
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(54px, 16vw, 78px);
  }

  .hero-lead {
    font-size: 19px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 590px;
  }

  .hero-orbit {
    width: 100%;
  }

  .now-chip {
    right: 0;
    bottom: 72px;
  }

  .principle {
    padding: 32px 28px;
  }

  .section,
  .cta {
    padding: 88px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .section-head h2,
  .story-copy h2,
  .privacy-copy h2,
  .cta-panel h2 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .timeline-demo {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
  }

  .timeline-demo::before {
    left: 51px;
  }

  .time-label {
    font-size: 12px;
  }

  .agenda-card {
    min-height: 142px;
    padding: 22px 20px;
    grid-template-columns: 1fr;
  }

  .agenda-card h3 {
    font-size: 21px;
  }

  .agenda-meta {
    grid-row: auto;
    grid-column: auto;
    justify-self: start;
  }

  .story {
    gap: 44px;
  }

  .story-visual {
    min-height: 620px;
  }

  .story-phone {
    height: 590px;
  }

  .scan-strip img {
    min-height: 300px;
    object-position: 20% center;
  }

  .privacy-inner {
    gap: 44px;
  }

  .cta-panel {
    min-height: 440px;
    padding: 44px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .page-hero {
    padding: 64px 0 40px;
  }

  .page-hero h1 {
    font-size: clamp(48px, 14vw, 70px);
  }

  .document,
  .request-layout {
    margin-bottom: 88px;
  }

  .document-top {
    grid-template-columns: 1fr;
  }

  .fact {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .document-body {
    padding: 32px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
