@font-face {
  font-family: "Inter Display";
  src: url("assets/inter-display-semibold.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter Display";
  src: url("assets/inter-display-extrabold.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --base: #09172d;
  --sheet: #112744;
  --field: #0b1d36;
  --ink: #f4f8ff;
  --soft: #dce8f9;
  --muted: #aabed8;
  --glow: #8cecef;
  --coral: #ff8f6c;
  --coral-ink: #242033;
  --line: #92b9ee3c;
  --warm-line: #ffbb8e61;
  --max: 1352px;
  --radius: 23px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: "Inter Display", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { background: var(--base); }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 80% 4%, #112c51, transparent 57rem), var(--base);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; min-width: 0; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.24; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .52; }
::selection { background: #ff997c; color: #0b1a31; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 4px; }
:is(main, h1, h2, #in-person)[tabindex="-1"]:focus { outline: none; }

.frame { width: min(calc(100% - 104px), var(--max)); margin-inline: auto; }

.skip {
  position: fixed;
  inset: 10px auto auto 12px;
  z-index: 10;
  transform: translateY(-160%);
  border-radius: 9px;
  padding: 9px 16px;
  color: #10192d;
  background: var(--glow);
}

.skip:focus { transform: none; }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 4;
  background: #0a1b34e8;
  border-bottom: 1px solid #b7d4fb23;
  backdrop-filter: blur(18px);
}

.header-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 3.6vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 1.19rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand i { font-style: normal; color: var(--glow); }

.brand-mark {
  inline-size: 36px;
  block-size: 36px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 10px #66e2ff62);
}

.brand-mark span {
  width: 100%;
  height: 100%;
  background: linear-gradient(153deg, #d8ffff 15%, #61dcf4 51%, #478cdb 95%);
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 63%, 50% 100%, 38% 63%, 0 50%, 38% 36%);
}

.site-nav {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 3.1vw, 44px);
  justify-content: center;
  align-self: stretch;
}

.site-nav a {
  display: grid;
  place-items: center;
  position: relative;
  min-width: 0;
  color: var(--soft);
  white-space: nowrap;
  font-size: .94rem;
  transition: color 180ms var(--ease);
}

.site-nav a:hover, .site-nav a[aria-current] { color: var(--glow); }

.site-nav a[aria-current]::after {
  content: "";
  position: absolute;
  inset: auto 0 12px;
  height: 2px;
  border-radius: 5px;
  background: var(--glow);
  box-shadow: 0 0 10px #77e9f573;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
  text-align: center;
  font-size: .95rem;
  font-weight: 750;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.button:not(:disabled):hover { transform: translateY(-2px); }
.button:not(:disabled):active { transform: none; }

.button-primary {
  background: linear-gradient(114deg, #ffab84, #ff805c 78%);
  color: var(--coral-ink);
  box-shadow: inset 0 1px #ffdfc99e, 0 7px 27px #f37d5922;
}

.button-primary:hover { background: #ffac86; }
.button-outline { color: var(--ink); border-color: #a4caee85; background: #dceaff09; }
.button-outline:hover { border-color: var(--glow); background: #8cecef1d; }
.header-action { min-height: 42px; padding: 7px 18px; font-size: .88rem; }

.hero {
  isolation: isolate;
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse at 79% 40%, #2459978a, transparent 55%),
    radial-gradient(ellipse at 37% 110%, #214d90a3, transparent 57%),
    linear-gradient(146deg, #0a1a34, #09172d 70%);
}

.hero::after {
  content: "";
  pointer-events: none;
  z-index: -1;
  position: absolute;
  inset: auto -26% -342px -18%;
  block-size: 400px;
  background: #3968ab26;
  border-radius: 50%;
  border-top: 1px solid #6fb8f369;
  box-shadow: 0 -11px 55px #4a9ef576;
  transform: rotate(-3.8deg);
}

.hero-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
  gap: clamp(28px, 4vw, 66px);
  min-height: clamp(570px, 74vh, 744px);
  padding-block: clamp(46px, 7.5vh, 82px);
}

.hero-copy { position: relative; z-index: 1; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  padding: 5px 13px 5px 11px;
  border: 1px solid #9aeef06d;
  border-radius: 999px;
  background: #61b3e01a;
  color: #c6fbff;
  font-weight: 650;
  font-size: .9rem;
  letter-spacing: .085em;
}

.hero-tag span { color: var(--glow); }

.hero h1 {
  font-size: clamp(46px, 5.05vw, 82px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.18;
  text-shadow: 0 6px 38px #519eef2e;
}

.hero h1 span { display: block; white-space: nowrap; }

.hero-intro {
  margin-top: 24px;
  color: var(--soft);
  font-size: clamp(1.04rem, 1.4vw, 1.24rem);
  line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.hero-actions .button { min-height: 55px; padding-inline: 22px; }
.hero-note { margin-top: 17px; font-size: .85rem; color: var(--muted); }

.stage {
  position: relative;
  isolation: isolate;
  border-radius: clamp(18px, 2.3vw, 35px);
  overflow: hidden;
  aspect-ratio: 1.43;
  border: 1px solid #a2d5fb91;
  background: #112d58;
  box-shadow: 0 0 46px #6a97f341, 0 28px 70px #040d1e6e, inset 0 1px #d4ecfd81;
}

.stage::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(0deg, #07162d91, transparent 26%);
}

.stage-image { width: 100%; height: 100%; object-fit: cover; }

.stage-action {
  z-index: 1;
  position: absolute;
  inset: auto 16px 16px auto;
  background: #0d2348eb;
  color: var(--ink);
  border-color: #8cd2ff73;
  backdrop-filter: blur(12px);
}

.stage-action:hover { background: #1b3d70; }

.journey {
  background: linear-gradient(96deg, #0e213d, #10294a 55%, #0e1f3a);
  border-block: 1px solid var(--line);
}

.journey-list {
  list-style: none;
  padding: 18px 0;
  margin-block: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.journey-list li { display: grid; align-items: center; justify-items: center; }
.journey-list li + li { border-left: 1px solid var(--line); }

.journey-list :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 47px;
  padding: 2px 8px;
  border: 0;
  background: none;
  color: var(--soft);
  font-size: clamp(.87rem, 1.45vw, 1.06rem);
  font-weight: 650;
}

.journey-list :is(a, button):hover { color: var(--glow); }

.journey-icon {
  inline-size: 42px;
  block-size: 42px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  background: #619fea20;
  border: 1px solid #8cc3fe57;
  color: var(--glow);
  font-size: 1.38rem;
}

.icon-card::before {
  content: "";
  width: 15px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 3px;
  transform: rotate(-10deg);
  box-shadow: 4px 2px #406691;
}

.icon-people::before {
  content: "";
  position: absolute;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 8px 3px #81bce3, -8px 3px #81bce3;
}

.icon-people::after {
  content: "";
  position: absolute;
  top: 19px;
  width: 11px;
  height: 9px;
  border-radius: 7px 7px 2px 2px;
  background: currentColor;
  box-shadow: 8px 2px #81bce3, -8px 2px #81bce3;
}

.home-content { padding-block: 82px; }
.home-section, .experience { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 7vw, 96px); }
.home-section h2, .experience h2 { font-size: clamp(1.85rem, 3vw, 3rem); letter-spacing: -.035em; }
.home-section-copy p, .experience p { color: var(--muted); margin-top: 13px; max-width: 37ch; }
.home-section-copy .text-link { margin-top: 22px; }

.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--glow); font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.track-list { list-style: none; padding: 0; margin: 0; }

.track-list li {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  padding: 13px 0 16px;
}

.track-list li:first-child { padding-top: 0; }
.track-list strong { color: var(--glow); font-size: .89rem; white-space: nowrap; }
.track-list h3 { font-size: 1.07rem; }
.track-list p { color: var(--muted); margin-top: 4px; font-size: .91rem; }

.experience {
  margin-top: 78px;
  padding: clamp(25px, 4.5vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 100% 10%, #254775, transparent 67%), #102541;
  scroll-margin-top: 140px;
}

.experience .kicker { margin: 0 0 11px; }
.experience .button { margin-top: 20px; }

.kicker {
  color: var(--glow) !important;
  font-size: .81rem;
  font-weight: 750;
  letter-spacing: .08em;
}

.experience-details { display: grid; align-content: center; gap: 16px; }
.experience-details > div { border-left: 2px solid #86d8f09e; padding-left: 15px; }
.experience-details h3 { font-size: 1rem; }
.experience-details p { margin-top: 3px; font-size: .92rem; }

.inner-page { padding-block: clamp(39px, 6vw, 84px) 84px; min-height: 72vh; }

.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 28px;
}

.page-heading h1 { font-size: clamp(2rem, 4.15vw, 4rem); letter-spacing: -.04em; }
.page-heading p, .section-heading p { margin-top: 12px; color: var(--muted); max-width: 51ch; }
.section-heading { margin-bottom: 17px; }
.section-heading h2 { font-size: clamp(1.35rem, 2vw, 1.85rem); }
.section-heading p { margin-top: 5px; font-size: .93rem; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }

.filter {
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f2f8ff07;
  color: var(--soft);
  font-size: .88rem;
}

.filter:hover { border-color: #89c7eca6; }
.filter[aria-pressed="true"] { background: #7bdcff26; border-color: #90e7f5a0; color: #d7fbff; }

.feedback { margin: 11px 0; color: var(--muted); font-size: .9rem; }
.feedback:empty { display: none; }
.feedback[data-error] { color: #ffc2ab; }
.feedback button { margin-left: 9px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(13px, 2.1vw, 25px);
}

.sample-gallery { padding-top: 22px; }
.sample-gallery:not(:first-child) { margin-top: 24px; border-top: 1px solid var(--line); }

.glass, .gallery-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(148deg, #183254, #10243f);
  box-shadow: 0 16px 38px -24px #030b1bde, inset 0 1px #c2ddff17;
}

.gallery-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}

.gallery-card:hover { transform: translateY(-3px); border-color: #84ddeb80; }

.card-art {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 67% 52%, #3568a3, transparent 51%), #0b2350;
}

.card-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card-art[data-vessel="room"] img { object-position: center 48%; }
.card-art[data-vessel="bento"] img { object-position: center 51%; }

.art-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #a0edee;
  font-size: clamp(3rem, 7vw, 6rem);
  text-shadow: 0 0 45px #78d9ff7c;
  background: repeating-linear-gradient(143deg, transparent 0 38px, #7daef526 39px 40px);
}

.card-art[data-medium="letter"] { background: radial-gradient(ellipse at 66% 39%, #925247, #432749 65%, #172442); }
.card-art[data-medium="letter"] .art-glyph { color: #ffd3a4; }

.gallery-card-content { display: grid; gap: 8px; padding: 18px 18px 21px; }
.gallery-card-content p, .dialog-copy p, .booth-item p { color: var(--soft); overflow-wrap: anywhere; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--glow); font-size: .77rem; }
.gallery-card h3 { font-size: 1.2rem; overflow-wrap: anywhere; }
.gallery-card-content p { font-size: .92rem; }

.empty-state { grid-column: 1 / -1; padding: 24px 0; color: var(--muted); }
.empty-state h2 { margin-bottom: 7px; color: var(--ink); font-size: 1.16rem; }
.empty-state .text-link { margin-top: 9px; }
.wall-empty { display: flex; flex-wrap: wrap; gap: 6px 13px; align-items: baseline; padding: 14px 0 1px; }
.wall-empty h2 { margin: 0; font-size: 1rem; }
.wall-empty p { font-size: .9rem; }

.riddle-layout { display: grid; grid-template-columns: minmax(205px, .36fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); }
.riddle-index .filter-row { margin-bottom: 14px; }
.riddle-list { display: grid; gap: 8px; }

.riddle-tab {
  width: 100%;
  display: grid;
  justify-items: start;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #d3e6ff08;
  text-align: start;
  line-height: 1.4;
}

.riddle-tab small { color: var(--muted); }
.riddle-tab:hover, .riddle-tab[aria-pressed="true"] { border-color: #95e7f793; background: #64b1dc21; }
.riddle-detail, .riddle-result { padding: clamp(20px, 4vw, 38px); }
.riddle-detail { scroll-margin-top: 114px; }
.riddle-detail h2, .riddle-result h2 { margin: 7px 0 12px; font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
.riddle-detail p:not(.kicker), .riddle-result p:not(.kicker) { color: var(--soft); }
.answers { display: grid; gap: 8px; margin-top: 23px; }

.answer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  min-height: 47px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #95c8fc0d;
  border-radius: 11px;
  text-align: start;
}

.answer:hover, .answer[aria-pressed="true"] { border-color: #a0ebf9b0; background: #7ed6ec22; }
.answer span { color: var(--glow); }
.riddle-result { margin-top: 14px; border-color: var(--warm-line); background: linear-gradient(140deg, #2c344e, #142b47 76%); }
.riddle-result blockquote { margin: 17px 0; border-left: 3px solid var(--coral); padding-left: 13px; color: #ffceb3; overflow-wrap: anywhere; }

.track-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }

.track-tabs a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  min-height: 43px;
  background: #d3e6ff0a;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.track-tabs a:hover, .track-tabs a[aria-current] { border-color: #86e3ef9c; background: #73d8e92b; }
.track-tabs small { color: var(--glow); }

.join-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(14px, 3vw, 32px); align-items: start; }
.entry-form, .entry-preview { padding: clamp(16px, 3.3vw, 30px); }
.entry-form { display: grid; gap: 18px; }
.entry-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.entry-form legend { font-weight: 700; margin-bottom: 10px; }
.entry-form .button, .entry-preview .button { justify-self: start; }
.entry-preview { position: sticky; top: 100px; }

.vessel-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.vessel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0d213b;
  color: var(--ink);
  text-align: start;
  font-size: .91rem;
  line-height: 1.35;
}

.vessel[aria-pressed="true"], .vessel:hover { border-color: #8dedf7a4; background: #1a405c; }
.vessel img { flex: 0 0 60px; width: 60px; height: 47px; border-radius: 7px; object-fit: cover; }
.item-count { color: var(--glow); font-size: .82rem; margin-left: 7px; }
.field { display: grid; gap: 7px; font-weight: 700; }

.field :is(input, textarea, select) {
  min-height: 43px;
  border: 1px solid #a2c6fa55;
  border-radius: 10px;
  padding: 9px 12px;
  background: var(--field);
  color: var(--ink);
  width: 100%;
  font-weight: 400;
}

.field textarea { resize: vertical; }
.field :is(input, textarea)::placeholder { color: #90a6c6; }
.check-field { display: flex; align-items: start; gap: 9px; font-size: .93rem; color: var(--soft); }
.check-field input { margin: 4px 0 0; width: 17px; height: 17px; accent-color: #77d9e8; }
.form-footnote { margin: 13px 0 0; font-size: .86rem; color: var(--muted); }
.preview-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.preview-header h2, .entry-preview h2 { font-size: 1.22rem; }
.preview-header > span { color: var(--glow); font-size: .79rem; }

.card-preview { overflow: hidden; margin-bottom: 13px; border: 1px solid var(--line); border-radius: 13px; }
.preview-copy { padding: 13px 15px; }
.preview-copy h3 { margin-bottom: 6px; overflow-wrap: anywhere; }
.preview-copy p { color: var(--soft); overflow-wrap: anywhere; }

.selected-items { padding: 0; margin: 11px 0 0; list-style: none; display: flex; gap: 5px; flex-wrap: wrap; }
.selected-items li { font-size: .76rem; padding: 2px 7px; border: 1px solid #86c9f74a; color: var(--glow); border-radius: 20px; }
.curator-note p { color: var(--soft); margin-top: 11px; }
.curator-note .text-link { margin-top: 13px; }

.booth-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booth-item { display: flex; flex-direction: column; align-items: start; gap: 10px; padding: clamp(17px, 3vw, 27px); }
.booth-item h2 { font-size: 1.36rem; overflow-wrap: anywhere; }
.booth-item .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.booth-item .actions .button { min-height: 36px; font-size: .84rem; padding: 6px 12px; }
.status-badge { color: var(--glow); font-size: .84rem; }
.status-badge[data-status="changes"] { color: #ffd0ad; }
.status-badge[data-status="withdrawn"] { color: var(--muted); }
.review-note { border-left: 2px solid var(--coral); padding-left: 11px; }

.card-dialog {
  width: min(600px, calc(100vw - 26px));
  max-height: min(88dvh, 770px);
  padding: 0;
  color: var(--ink);
  overflow: auto;
}

.card-dialog::backdrop { background: #030b1bbf; backdrop-filter: blur(5px); }
body:has(.card-dialog[open]) { overflow: hidden; }

.dialog-close {
  position: absolute;
  z-index: 1;
  right: 12px;
  top: 12px;
  inline-size: 42px;
  block-size: 42px;
  padding: 0;
  border: 1px solid #a3caff7d;
  border-radius: 50%;
  background: #0a1933ed;
  color: var(--ink);
  font-size: 1.56rem;
}

.dialog-close:hover { background: #27466e; }
.dialog-copy { padding: clamp(18px, 4vw, 31px); }
.dialog-copy h2 { font-size: clamp(1.52rem, 3vw, 2.2rem); margin: 7px 42px 11px 0; overflow-wrap: anywhere; }
.dialog-copy h3 { font-size: 1rem; margin: 15px 0 5px; }
.dialog-copy .button, .dialog-copy .text-link { margin-top: 12px; }
.dialog-copy > p { white-space: pre-line; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); background: #09172d; }
.footer-row { display: flex; align-items: center; min-height: 79px; gap: 17px; }
.footer-row .brand { color: var(--soft); font-size: .97rem; gap: 9px; }
.footer-row .brand-mark { width: 23px; height: 23px; }
.footer-status { font-size: .81rem; }
.footer-row nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 15px; font-size: .88rem; }
.footer-row nav a:hover { color: var(--glow); }

@media (max-width: 1090px) {
  .frame { width: calc(100% - 64px); }
  .header-row { gap: 18px; }
  .site-nav { gap: 20px; }
  .hero-layout { min-height: 500px; }
  .hero h1 { font-size: clamp(39px, 5.15vw, 65px); }
  .hero-break { display: none; }
}

@media (max-width: 790px) {
  .frame { width: calc(100% - 36px); }
  .header-row { grid-template-columns: 1fr auto; gap: 0 9px; padding-top: 8px; }
  .site-nav { grid-area: 2 / 1 / 3 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
  .site-nav a { min-height: 44px; font-size: .87rem; }
  .site-nav a[aria-current]::after { inset: auto 12% 4px; }
  .brand { font-size: 1.03rem; gap: 8px; }
  .brand-mark { inline-size: 29px; block-size: 29px; }
  .header-action { font-size: .82rem; min-height: 38px; padding-inline: 13px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 27px; padding-block: 36px 23px; }
  .hero h1 { font-size: clamp(34px, 9.4vw, 67px); }
  .hero-tag { font-size: .84rem; margin-bottom: 17px; }
  .hero-intro { margin-top: 17px; max-width: 35ch; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .button { min-height: 46px; padding-inline: 15px; }
  .hero-note { margin-top: 10px; }
  .stage { aspect-ratio: 1.68; }
  .stage-action { min-height: 39px; padding: 5px 13px; inset: auto 10px 10px auto; font-size: .84rem; }
  .journey-list { padding-block: 10px; }
  .journey-list :is(a, button) { flex-direction: column; gap: 5px; font-size: .77rem; white-space: nowrap; min-height: 58px; padding: 0 4px; }
  .journey-icon { width: 32px; height: 32px; }
  .icon-people::before { top: 6px; }
  .icon-people::after { top: 15px; }
  .home-content { padding-block: 46px; }
  .home-section, .experience { grid-template-columns: 1fr; gap: 22px; }
  .experience { margin-top: 43px; }
  .experience h2 br, .home-section h2 br { display: none; }
  .inner-page { padding-block: 34px 50px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-heading { align-items: start; flex-direction: column; gap: 12px; }
  .riddle-layout, .join-layout { grid-template-columns: minmax(0, 1fr); }
  .riddle-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-preview { position: static; scroll-margin-top: 115px; }
}

@media (max-width: 495px) {
  .gallery-grid, .booth-list { grid-template-columns: minmax(0, 1fr); }
  .footer-row { padding-block: 15px; flex-wrap: wrap; }
  .footer-row nav { margin: 0; width: 100%; }
}

@media (max-width: 350px) {
  .frame { width: calc(100% - 26px); }
  .site-nav a, .journey-list :is(a, button) { font-size: .74rem; }
  .hero-actions { gap: 7px; }
  .hero-actions .button { padding-inline: 12px; font-size: .86rem; }
  .vessel img { flex-basis: 38px; width: 38px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
