/* A personal journal in black, white, and type. All artwork is CSS. */
:root {
  --paper: #f4f4f4;
  --white: #fff;
  --ink: #171717;
  --muted: #656565;
  --line: #cbcbcb;
  --header-height: 88px;
  --content-pad: clamp(24px, 4.8vw, 88px);
  --text-body: 1rem;
  --text-small: .8125rem;
  --text-caption: .6875rem;
  --en-font: Arial, Helvetica, sans-serif;
  --body-font: "Zen Kaku Gothic New", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.85;
  overflow-wrap: anywhere;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--white); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
p, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, h4 { font-weight: 900; }
ul { margin: 0; padding: 0; list-style: none; }
main { padding-top: var(--header-height); }
.container { width: min(calc(100% - 2 * var(--content-pad)), 1440px); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 150;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

/* Navigation */
.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-height);
  padding-inline: var(--content-pad);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: border-color .25s ease;
}
.site-header.is-scrolled { border-color: var(--ink); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 44px; }
.brand-name {
  font: 900 clamp(1.5rem, 2.2vw, 1.875rem)/1 var(--en-font);
  letter-spacing: -.055em;
  white-space: nowrap;
}
.site-navigation { flex: 0 1 auto; }
.nav-links { display: flex; align-items: center; gap: clamp(22px, 2.7vw, 46px); }
.nav-link { position: relative; display: flex; align-items: center; min-height: 44px; padding-block: 10px; }
.nav-link .en { font: 700 .75rem/1.2 var(--en-font); letter-spacing: .015em; }
.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:is(:hover, .is-active)::after { transform: scaleX(1); }
.nav-link .ja, .nav-social, .nav-caption, .header-year, .nav-toggle { display: none; }

/* The opening composition is built from live type and a concentric sculpture. */
.hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-height));
  padding: 22px var(--content-pad) 18px;
}
.hero-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  font: 700 .625rem/1.5 var(--en-font);
  letter-spacing: .06em;
}
.hero-topline > :last-child { margin-left: auto; text-align: right; }
.hero-main {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) minmax(210px, .31fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(48px, 5vw, 80px) 46px;
}
.hero-title-wrap { min-width: 0; }
.hero-kicker {
  margin-bottom: 24px;
  font-size: clamp(.8125rem, 1.15vw, 1rem);
  font-weight: 700;
  letter-spacing: .04em;
}
.hero-title { font-size: clamp(120px, 19.2vw, 288px); font-weight: 900; line-height: .99; letter-spacing: -.09em; }
.hero-title > span { display: block; width: max-content; max-width: 100%; white-space: nowrap; }
.hero-title > span + span { margin-top: .025em; }
.hero-aside { align-self: end; padding-bottom: 7px; }
.hero-note { font-size: clamp(1.25rem, 2vw, 1.875rem); font-weight: 900; line-height: 1.7; letter-spacing: -.045em; }
.hero-description { margin-top: 22px; color: var(--muted); font-size: var(--text-small); line-height: 2; }
.orbit-mark {
  position: relative;
  width: min(100%, 228px);
  aspect-ratio: 1;
  margin-top: 48px;
  margin-inline: auto;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse at center, transparent 0 8px, var(--ink) 8.5px 9.5px, transparent 10px 14px);
  transform: rotate(-24deg) scaleY(.85);
}
.orbit-mark::before, .orbit-mark::after { position: absolute; border: 1px solid var(--ink); border-radius: 50%; content: ""; }
.orbit-mark::before { inset: 16% -8%; background: var(--paper); transform: rotate(58deg); }
.orbit-mark::after { inset: -8% 30%; transform: rotate(12deg); }
.orbit-core { position: absolute; z-index: 1; inset: 26%; border-radius: 50%; background: var(--ink); }
.orbit-label {
  position: absolute;
  z-index: 2;
  top: calc(100% + 22px);
  left: 50%;
  width: max-content;
  font: 700 .5625rem/1.5 var(--en-font);
  letter-spacing: .09em;
  transform: translateX(-50%) rotate(24deg) scaleY(1.17);
}
.hero-baseline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}
.hero-roman { font: 900 clamp(1.5625rem, 3.5vw, 3.5rem)/1 var(--en-font); letter-spacing: -.06em; }
.scroll-cue { display: flex; align-items: center; gap: 22px; min-height: 44px; font: 700 .625rem/1.5 var(--en-font); letter-spacing: .025em; }
.scroll-cue > span:last-child { font-size: 1.375rem; transition: transform .25s ease; }
.scroll-cue:hover > span:last-child { transform: translateY(4px); }

/* News strip */
.pickup {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 24px var(--content-pad);
  background: var(--ink);
  color: var(--paper);
}
.pickup-label { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 44px; border-right: 1px solid #555; }
.pickup-label > :first-child { font: 700 1rem/1.3 var(--en-font); letter-spacing: -.03em; }
.pickup-label > :last-child { color: #bdbdbd; font-size: .625rem; }
.pickup-article { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 12px 20px; min-height: 44px; }
.pickup-article time { font: .6875rem/1.5 var(--en-font); white-space: nowrap; }
.pickup-category { padding: 3px 6px; border: 1px solid #777; font: .5625rem/1.4 var(--en-font); letter-spacing: .04em; }
.pickup-title { font-size: var(--text-small); line-height: 1.7; }
.link-arrow { font-size: 1.5rem; font-weight: 400; transition: transform .25s ease; }
.pickup-article:hover .link-arrow { transform: translate(3px, -3px); }
.pickup-article:hover .pickup-title { text-decoration: underline; text-underline-offset: 5px; }

/* Section headings and profile */
.section { position: relative; padding-block: clamp(88px, 9vw, 152px); }
.section.alt { background: var(--white); }
.section-header { display: flex; align-items: baseline; gap: 24px; margin-bottom: clamp(48px, 6vw, 90px); }
.section-num { align-self: flex-start; padding-top: 9px; font: 700 1.0rem/1.5 var(--en-font); }
.section-num::before { content: "("; }
.section-num::after { content: ")"; }
.section-header h2 { display: flex; flex-direction: column; min-width: 0; }
.section-en { font: 900 clamp(3rem, 7.2vw, 7.5rem)/.94 var(--en-font); letter-spacing: -.075em; }
.section-ja { margin-top: 17px; font-size: 1.5rem; font-weight: 700; line-height: 1.7; letter-spacing: .08em; }
.section-rule { flex: 1; min-width: 24px; height: 1px; margin-left: 20px; background: currentColor; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.profile-card { min-width: 0; padding-top: 4px; }
.profile-name { display: flex; flex-direction: column; font-size: clamp(1.75rem, 2.7vw, 2.5rem); line-height: 1.5; letter-spacing: -.055em; }
.profile-name small { margin-top: 6px; font: 700 .625rem/1.5 var(--en-font); letter-spacing: .09em; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 30px; margin-top: 38px; }
.info-block { padding-top: 15px; border-top: 1px solid var(--line); }
.info-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 13px; font: 700 .8125rem/1.6 var(--en-font); }
.info-label .ja { color: var(--muted); font: 500 .625rem/1.8 var(--body-font); }
.info-block p:not(.info-label) { font-size: .9375rem; }

/* Career: open columns and fine rules keep long entries readable. */
.section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px clamp(40px, 7vw, 112px); }
.panel { display: flex; min-width: 0; flex-direction: column; gap: 30px; padding-top: 22px; border-top: 1px solid var(--ink); }
.span-full { grid-column: 1 / -1; }
.panel-title, .group-title { display: flex; align-items: center; gap: 12px; }
.panel-title h3, .group-title h3 { font-size: 1.3125rem; line-height: 1.6; letter-spacing: -.035em; }
.marker { display: inline-block; flex: 0 0 auto; width: 6px; height: 6px; background: currentColor; }
.timeline { display: flex; flex-direction: column; gap: 24px; padding-left: 20px; border-left: 1px solid var(--line); }
.timeline > div { position: relative; }
.timeline > div::before { position: absolute; top: 9px; left: -23px; width: 5px; height: 5px; background: currentColor; content: ""; }
.timeline-date { margin-bottom: 5px; color: var(--muted); font-size: var(--text-small); line-height: 1.8; }
.timeline-text { font-size: var(--text-body); }
.subgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 7vw, 112px); }
.sub-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 24px; font: 700 1.0625rem/1.6 var(--en-font); letter-spacing: -.025em; }
.sub-title .ja { color: var(--muted); font: 500 var(--text-small)/1.6 var(--body-font); }
.stack { display: flex; flex-direction: column; gap: 26px; font-size: var(--text-body); }
.stack.small { gap: 22px; }
.row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.row .timeline-date { flex-shrink: 0; margin-bottom: 0; }
.accent-link { text-decoration: underline; text-decoration-color: #999; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .2s ease; }
.accent-link:hover { text-decoration-color: currentColor; }
.accent-link[href^="http"]::after { display: inline; margin-left: .35em; font-family: var(--en-font); font-size: .85em; content: "↗"; }
.link-with-dot { display: flex; align-items: baseline; gap: 9px; }
.link-with-dot .marker { align-self: flex-start; margin-top: 11px; }

/* Selected activities use an inverted palette and a typographic book cover. */
#activities { --muted: #b6b6b6; --line: #505050; background: var(--ink); color: var(--paper); }
#activities ::selection, footer ::selection { background: var(--paper); color: var(--ink); }
.activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 38px clamp(40px, 7vw, 112px); }
.activity-card { min-width: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.activity-card .num { display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px; font: 700 1rem/1.6 var(--en-font); letter-spacing: .03em; }
.activity-card .num > span { font-size: 1rem; }
.activity-card h3 { margin-bottom: 16px; font-size: 1.5rem; line-height: 1.6; letter-spacing: -.04em; }
.activity-card > p:not(.num), .activity-card > a { font-size: var(--text-body); }
.activity-featured { grid-row: span 2; }
.vxy-art {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1.15;
  margin-bottom: 32px;
  padding: clamp(20px, 2.5vw, 38px);
  background: var(--paper);
  color: var(--ink);
}
.vxy-art > span:first-child { padding-bottom: 15px; border-bottom: 1px solid var(--ink); font: 700 .625rem/1.5 var(--en-font); letter-spacing: .025em; }
.vxy-art strong { display: block; margin: 36px 0 24px -.055em; font: 900 clamp(60px, 13vw, 210px)/.75 var(--en-font); font-size: 48cqw; letter-spacing: -.095em; white-space: nowrap; overflow-wrap: normal; }
.vxy-art strong span { display: block; margin-top: 24px; margin-left: .6em; font: 700 .625rem/1.6 var(--en-font); letter-spacing: .04em; }

/* Links */
#links { background: var(--paper); }
.links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; }
.link-group { min-width: 0; padding-top: 20px; border-top: 1px solid var(--ink); }
.link-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.link-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; min-height: 44px; padding-block: 9px; border-bottom: 1px solid var(--line); font-size: .875rem; line-height: 1.7; transition: border-color .25s ease; }
.link-list a[href^="http"]::after { flex: 0 0 auto; font: 1rem/1 var(--en-font); content: "↗"; transition: transform .25s ease; }
.link-list a:hover { border-color: var(--ink); }
.link-list a:hover::after { transform: translate(2px, -2px); }
.link-note { margin-top: 6px; color: var(--muted); font-size: .75rem; line-height: 1.8; }
.link-list a.link-note { margin-top: 0; font-size: .8125rem; }

/* A full-width type signature closes the page. */
footer { padding-block: clamp(64px, 7vw, 112px) 22px; background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; flex-direction: column; }
.footer-wordmark { align-self: flex-start; max-width: 100%; margin-block: 0 30px; font: 900 clamp(35px, 11.45vw, 182px)/.85 var(--en-font); letter-spacing: -.072em; white-space: nowrap; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 22px; border-top: 1px solid #606060; }
.footer-copyright { color: #b6b6b6; font-size: .625rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 26px; font: 700 .625rem/1.5 var(--en-font); }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.to-top { display: flex; align-items: center; gap: 16px; min-height: 44px; font: 700 .625rem/1.5 var(--en-font); }
.to-top > span { font-size: 1.25rem; }
.reveal-ready[data-reveal] { transition: opacity .65s ease, transform .65s ease; transition-delay: var(--delay, 0s); }
.reveal-ready[data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(18px); }

/* Compact desktop and tablet */
@media (max-width: 1100px) {
  .hero-main { grid-template-columns: minmax(0, 1fr) 210px; gap: 30px; }
  .hero-title { font-size: 18.4vw; }
  .hero-note { font-size: 1.375rem; }
  .orbit-mark { width: 175px; margin-top: 40px; }
  .pickup { grid-template-columns: 120px minmax(0, 1fr); gap: 24px; }
  .pickup-article { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 16px; }
  .pickup-category { justify-self: start; }
  .pickup-title { grid-column: 1 / 3; }
  .pickup-article .link-arrow { grid-column: 3; grid-row: 1 / 3; }
  .links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Navigation remains visible if JavaScript is unavailable. */
@media (max-width: 900px) {
  :root { --header-height: 76px; --content-pad: 32px; }
  main { padding-top: 0; }
  .site-header { position: relative; flex-wrap: wrap; gap: 16px; height: auto; min-height: var(--header-height); padding-block: 18px; }
  .brand-name { font-size: 1.375rem; }
  .site-navigation { width: 100%; }
  .nav-links { flex-wrap: wrap; gap: 6px 26px; }
  .js main { padding-top: var(--header-height); }
  .js .site-header { position: fixed; height: var(--header-height); padding-block: 0; }
  .js .nav-toggle {
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 54px;
    height: 60px;
    padding: 8px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav-toggle-lines { position: relative; width: 28px; height: 10px; }
  .nav-toggle-lines::before, .nav-toggle-lines::after { position: absolute; left: 0; width: 28px; height: 1px; background: var(--ink); content: ""; transition: transform .25s ease, top .25s ease; }
  .nav-toggle-lines::before { top: 0; }
  .nav-toggle-lines::after { top: 8px; }
  .nav-toggle-text { font: 700 .5625rem/1 var(--en-font); letter-spacing: .04em; }
  .js .site-navigation {
    position: fixed;
    inset: var(--header-height) 0 0;
    overflow-y: auto;
    padding: 34px var(--content-pad) 40px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }
  .js .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-link { justify-content: space-between; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
  .js .nav-link .en { font-size: clamp(2rem, 6.5vw, 3.5rem); font-weight: 900; letter-spacing: -.06em; }
  .js .nav-link .ja { display: block; font-size: .6875rem; font-weight: 700; text-align: right; }
  .js .nav-link::after { bottom: -1px; }
  .js .nav-social { display: flex; align-items: center; gap: 24px; margin-top: 24px; font: 700 .9375rem/1.5 var(--en-font); }
  .nav-social a { display: grid; min-width: 44px; min-height: 44px; place-items: center; }
  .nav-social > span { width: 1px; height: 14px; background: var(--line); }
  .js .nav-caption { display: block; margin-top: 18px; color: var(--muted); font: 700 .625rem/1.5 var(--en-font); letter-spacing: .025em; }
  .menu-open { overflow: hidden; }
  .menu-open .site-navigation { opacity: 1; visibility: visible; }
  .menu-open .nav-toggle-lines::before { top: 4px; transform: rotate(45deg); }
  .menu-open .nav-toggle-lines::after { top: 4px; transform: rotate(-45deg); }
  .hero-main { grid-template-columns: minmax(0, 1fr) 180px; gap: 26px; padding-block: 64px 48px; }
  .hero-title { font-size: 18.2vw; }
  .hero-note { font-size: 1.1875rem; }
  .hero-description { font-size: .75rem; }
  .orbit-mark { width: 150px; }
  .section-header { gap: 18px; }
  .section-en { font-size: 8.5vw; }
  .section-grid, .subgrid, .activity-grid { column-gap: 36px; }
  .info-grid { gap: 22px 18px; }
  .info-label { flex-direction: column; gap: 0; }
  .activity-card h3 { font-size: 1.25rem; }
  .footer-wordmark { font-size: 11vw; }
  .footer-bottom { gap: 8px 24px; }
}

/* Small screens keep the same hierarchy without clipping the Japanese title. */
@media (max-width: 700px) {
  :root { --content-pad: 24px; --text-body: .9375rem; }
  .hero { padding-top: 18px; }
  .hero-topline { gap: 12px; font-size: .5rem; letter-spacing: .025em; }
  .hero-main { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 42px; padding-block: 48px 30px; }
  .hero-kicker { margin-bottom: 22px; font-size: .75rem; letter-spacing: .025em; }
  .hero-title { font-size: clamp(88px, 29.2vw, 200px); line-height: 1; letter-spacing: -.09em; }
  .hero-title > span + span { margin-top: 0; }
  .hero-aside { display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: center; gap: 12px 24px; padding-bottom: 0; }
  .hero-note { align-self: end; font-size: 1.0625rem; line-height: 1.65; }
  .hero-description { grid-column: 1; align-self: start; margin-top: 0; font-size: .6875rem; line-height: 1.85; }
  .orbit-mark {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 108px;
    margin: 0 auto 16px;
    background: repeating-radial-gradient(ellipse at center, transparent 0 4px, var(--ink) 4.5px 5px, transparent 5.5px 8px);
  }
  .orbit-label { top: calc(100% + 18px); font-size: .4375rem; }
  .hero-baseline { gap: 16px; margin-top: 12px; padding-top: 12px; }
  .hero-roman { font-size: clamp(1.375rem, 5.3vw, 2rem); }
  .scroll-cue { gap: 8px; font-size: .4375rem; letter-spacing: 0; white-space: nowrap; }
  .scroll-cue > span:last-child { font-size: 1.125rem; }
  .pickup { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 23px; }
  .pickup-label { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 13px; min-height: 0; border: 0; }
  .pickup-label > :first-child { font-size: .875rem; }
  .pickup-article { gap: 8px 14px; padding-top: 16px; border-top: 1px solid #555; }
  .pickup-title { font-size: .75rem; }
  .section { padding-block: 76px; }
  .section-header { gap: 13px; margin-bottom: 42px; }
  .section-num { padding-top: 3px; font-size: .5625rem; }
  .section-en { font-size: clamp(2.75rem, 10.8vw, 4.5rem); }
  .section-ja { margin-top: 12px; font-size: .6875rem; }
  .section-rule { margin-left: 2px; }
  .profile-grid, .section-grid, .subgrid, .activity-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-name { font-size: 1.8125rem; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; margin-top: 28px; }
  .info-block:last-child { grid-column: 1 / -1; }
  .info-label { flex-direction: row; gap: 4px 10px; }
  .section-grid, .subgrid, .activity-grid { gap: 42px; }
  .span-full { grid-column: auto; }
  .panel { gap: 25px; padding-top: 20px; }
  .panel-title h3, .group-title h3 { font-size: 1.25rem; }
  .activity-featured { grid-row: auto; }
  .activity-card .num { margin-bottom: 23px; }
  .activity-card h3 { font-size: 1.375rem; }
  .vxy-art { max-width: 500px; padding: 25px; aspect-ratio: 1.12; }
  .links-grid { gap: 38px 26px; }
  .footer-wordmark { margin-block: 0 26px; font-size: 10.6vw; }
  .footer-bottom { justify-content: space-between; gap: 10px 16px; padding-top: 16px; }
  .footer-nav { order: -1; flex-basis: 100%; justify-content: space-between; gap: 6px 16px; }
}

@media (max-width: 480px) {
  .links-grid { grid-template-columns: minmax(0, 1fr); }
  .link-list { gap: 12px; margin-top: 18px; }
}

@media (max-width: 360px) {
  :root { --content-pad: 20px; }
  .hero-title { font-size: 28.8vw; }
  .hero-aside { grid-template-columns: minmax(0, 1fr) 95px; column-gap: 14px; }
  .orbit-mark { width: 90px; }
  .hero-roman { font-size: 1.1875rem; }
  .scroll-cue { gap: 5px; font-size: .4rem; }
  .info-grid { column-gap: 16px; }
  .info-label { flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready[data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}

@media print {
  .site-header, .skip-link, .scroll-cue, .orbit-mark, .to-top { display: none !important; }
  main, .js main { padding-top: 0; }
  .hero { min-height: auto; }
  .hero-main { padding-block: 32px; }
  .section { padding-block: 36px; }
  #activities, .pickup, footer { --line: #aaa; --muted: #555; background: white; color: black; }
  .reveal-ready[data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}
