:root {
  --ink: #142f32;
  --ink-soft: #29474a;
  --mint: #a9e9be;
  --mint-pale: #dbead9;
  --coral: #d87e78;
  --gold: #c7a653;
  --paper: #f7f5ed;
  --white: #ffffff;
  --black: #101515;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

button {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 40px;
  border-bottom: 1px solid #d8d8d3;
  background: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-size: 28px;
  line-height: 1;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: invert(1) contrast(1.18);
}

.desktop-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 44px;
  margin-right: 38px;
  font-size: 15px;
  font-weight: 800;
}

.desktop-nav a,
.site-footer a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.site-footer a:hover {
  color: var(--coral);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-button,
.menu-button {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cart-shape {
  position: absolute;
  top: 12px;
  left: 10px;
  width: 23px;
  height: 16px;
  border: 3px solid var(--black);
  border-top: 0;
  transform: skew(-8deg);
}

.cart-shape::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -6px;
  width: 8px;
  height: 8px;
  border-left: 3px solid var(--black);
  border-top: 3px solid var(--black);
}

.cart-shape::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--black);
  box-shadow: 14px 0 var(--black);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--white);
  background: var(--coral);
  font-size: 11px;
  font-weight: 900;
}

.menu-button {
  display: none;
}

.menu-button span {
  position: absolute;
  left: 7px;
  width: 30px;
  height: 3px;
  background: var(--black);
  transition: transform 220ms ease, opacity 220ms ease, top 220ms ease;
}

.menu-button span:nth-child(1) { top: 12px; }
.menu-button span:nth-child(2) { top: 21px; }
.menu-button span:nth-child(3) { top: 30px; }

.mobile-nav {
  display: none;
}

.jargo-hero {
  position: relative;
  min-height: calc(100svh - 138px);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-photo,
.hero-veil,
.hero-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: center 51%;
}

.hero-veil {
  background: rgba(9, 28, 29, 0.58);
}

.hero-frame {
  inset: 18px;
  width: auto;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.48);
  pointer-events: none;
}

.hero-frame::before,
.hero-frame::after {
  content: "♠";
  position: absolute;
  top: 14px;
  color: var(--mint);
  font-family: Georgia, serif;
  font-size: 22px;
}

.hero-frame::before { left: 18px; }
.hero-frame::after { right: 18px; }

.language-switch {
  position: absolute;
  z-index: 3;
  top: 30px;
  left: 40px;
  min-width: 46px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--mint);
  border-radius: 3px;
  color: var(--white);
  background: rgba(20, 47, 50, 0.82);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(180px, 1fr);
  align-items: end;
  gap: 80px;
  width: min(1360px, calc(100% - 96px));
  min-height: calc(100svh - 138px);
  margin: 0 auto;
  padding: 120px 0 88px;
}

.hero-copy {
  max-width: 760px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.38);
}

.eyebrow,
.section-kicker,
.section-number {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--mint);
  color: var(--mint);
}

.hero-copy h1 {
  max-width: 720px;
  margin: 20px 0 4px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 84px;
  line-height: 0.92;
  font-weight: 700;
}

.hero-chapter {
  margin: 14px 0 0;
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-style: italic;
}

.hero-lead {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 18px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}

.hero-actions > span {
  font-size: 11px;
  font-weight: 900;
}

.primary-link,
.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 56px;
  padding: 0 22px;
  border: 2px solid var(--mint);
  border-radius: 2px;
  color: var(--ink);
  background: var(--mint);
  font-weight: 900;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.add-button:disabled,
.add-button.is-unavailable {
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
}

.primary-link:hover,
.add-button:hover {
  color: var(--white);
  background: var(--ink);
  transform: translateY(-2px);
}

.hero-card-wrap {
  align-self: center;
  justify-self: end;
  width: 180px;
  transform: rotate(4deg);
  animation: card-float 5s ease-in-out infinite;
}

.hero-card {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 18px 22px 0 rgba(20, 47, 50, 0.62);
}

.scroll-mark {
  position: absolute;
  z-index: 3;
  right: 42px;
  bottom: 26px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
}

.scroll-mark span {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg) translate(-2px, -2px);
}

.section-inner {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
}

.invitation-section,
.contents-section {
  background: var(--paper);
}

.invitation-section {
  padding: 120px 0 130px;
}

.invitation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: 100px;
}

.section-number {
  color: var(--gold);
}

.section-kicker {
  margin-top: 8px;
  color: var(--coral);
}

.invitation-copy h2,
.street-copy h2,
.clue-copy h2,
.contents-copy h2,
.purchase-copy h2 {
  margin: 18px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1.02;
}

.invitation-copy > p:last-of-type,
.street-copy > p:last-of-type,
.clue-copy > p:last-of-type,
.contents-copy > p:last-of-type,
.purchase-copy > p:last-of-type {
  max-width: 700px;
  margin: 0;
  color: #4f5d5c;
  font-size: 18px;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 42px 0 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.case-facts div {
  padding: 18px 16px 18px 0;
}

.case-facts div + div {
  padding-left: 16px;
  border-left: 1px solid var(--ink);
}

.case-facts dt {
  color: var(--coral);
  font-size: 10px;
  font-weight: 900;
}

.case-facts dd {
  margin: 5px 0 0;
  font-size: 13px;
  font-weight: 800;
}

.letter-stage {
  min-height: 460px;
  text-align: center;
}

.letter-object {
  position: relative;
  width: min(100%, 500px);
  height: 390px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1200px;
}

.envelope-back,
.envelope-front,
.envelope-flap {
  position: absolute;
  left: 3%;
  bottom: 0;
  width: 94%;
  height: 68%;
}

.envelope-back {
  border: 2px solid var(--ink);
  background: #d7ac69;
  box-shadow: 18px 22px 0 rgba(20, 47, 50, 0.13);
}

.envelope-front {
  z-index: 4;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: #e7c080;
  clip-path: polygon(0 28%, 50% 72%, 100% 28%, 100% 100%, 0 100%);
}

.envelope-front::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(20, 47, 50, 0.4);
  transform: rotate(22deg) scale(1.3);
}

.envelope-flap {
  z-index: 5;
  height: 60%;
  border: 2px solid var(--ink);
  background: #efca8d;
  clip-path: polygon(0 0, 100% 0, 50% 75%);
  transform-origin: top;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.3, 1), z-index 0ms linear 350ms;
}

.letter-sheet {
  position: absolute;
  z-index: 3;
  left: 12%;
  bottom: 12%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 76%;
  height: 78%;
  padding: 42px 34px;
  border: 1px solid var(--gold);
  color: var(--ink);
  background: var(--paper);
  text-align: left;
  transition: transform 760ms cubic-bezier(0.18, 0.78, 0.25, 1), box-shadow 760ms ease;
}

.letter-sheet::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(199, 166, 83, 0.58);
  pointer-events: none;
}

.letter-sheet small {
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
}

.letter-sheet strong {
  max-width: 280px;
  margin-top: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.15;
}

.letter-sheet em {
  position: absolute;
  right: 30px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
}

.wax-seal {
  position: absolute;
  z-index: 6;
  left: calc(50% - 30px);
  bottom: 112px;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 3px double #efaaa5;
  border-radius: 50%;
  color: var(--paper);
  background: var(--coral);
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  transition: opacity 240ms ease, transform 240ms ease;
}

.letter-object.is-open .envelope-flap {
  z-index: 1;
  transform: rotateX(180deg);
}

.letter-object.is-open .letter-sheet {
  z-index: 7;
  transform: translateY(-118px) rotate(-1deg);
  box-shadow: 16px 20px 0 rgba(20, 47, 50, 0.12);
}

.letter-object.is-open .wax-seal {
  opacity: 0;
  transform: scale(0.65);
}

.letter-label {
  margin: 16px 0 0;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
}

.case-section {
  padding: 120px 0 124px;
  color: var(--white);
  background: var(--ink);
}

.case-heading {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.case-heading h2 {
  max-width: 870px;
  margin: 0;
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1.05;
}

.case-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-step {
  position: relative;
  min-width: 0;
  padding: 56px 36px 12px 0;
}

.case-step + .case-step {
  padding-left: 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.case-step > span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 22px;
}

.case-step h3 {
  margin: 28px 0 12px;
  font-size: 25px;
}

.case-step p {
  margin: 0;
  color: #cbd7d3;
}

.step-visual {
  display: grid;
  place-items: center;
  width: 100%;
  height: 210px;
  margin-top: 24px;
}

.step-visual img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 1px solid rgba(169, 233, 190, 0.72);
}

.step-card img {
  width: 118px;
  height: 162px;
  object-fit: cover;
  object-position: top;
  transform: rotate(5deg);
  box-shadow: 12px 14px 0 var(--coral);
}

.step-envelope i {
  position: relative;
  display: block;
  width: 190px;
  height: 122px;
  border: 2px solid var(--gold);
  background: #e9c37f;
  transform: rotate(-4deg);
}

.step-envelope i::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid var(--ink);
  clip-path: polygon(0 0, 50% 60%, 100% 0, 100% 100%, 0 100%);
}

.step-envelope i::after {
  content: "J";
  position: absolute;
  left: calc(50% - 24px);
  top: calc(50% - 24px);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--coral);
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

.street-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  min-height: 800px;
  background: var(--white);
}

.street-media {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: var(--white);
}

.street-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.street-media p {
  position: absolute;
  left: 34px;
  bottom: 28px;
  max-width: 330px;
  margin: 0;
  padding: 14px 18px;
  color: var(--white);
  background: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.street-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px max(48px, calc((100vw - 1240px) / 2));
  background: var(--mint-pale);
}

.observation-list {
  margin-top: 44px;
  border-top: 2px solid var(--ink);
}

.observation-list div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid rgba(20, 47, 50, 0.36);
}

.observation-list b {
  color: var(--coral);
  font-family: Georgia, serif;
}

.observation-list span {
  font-weight: 800;
}

.clue-section {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  color: var(--white);
  background: var(--coral);
}

.clue-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(45deg, transparent 47%, var(--ink) 48%, var(--ink) 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, var(--ink) 48%, var(--ink) 52%, transparent 53%);
  background-size: 86px 86px;
}

.clue-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.72fr);
  align-items: center;
  gap: 100px;
}

.clue-copy .section-number,
.clue-copy .section-kicker {
  color: var(--ink);
}

.clue-copy h2 {
  max-width: 720px;
  font-size: 58px;
}

.clue-copy > p:last-of-type {
  color: var(--white);
}

.clue-collage {
  position: relative;
  min-height: 600px;
}

.clue-main {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 40px;
  width: 310px;
  border: 1px solid var(--gold);
  box-shadow: 24px 28px 0 var(--ink);
  transform: rotate(4deg);
}

.clue-building {
  position: absolute;
  right: 0;
  bottom: 14px;
  width: 230px;
  border: 10px solid var(--paper);
  box-shadow: 14px 16px 0 rgba(20, 47, 50, 0.35);
  transform: rotate(-7deg);
}

.clue-index {
  position: absolute;
  left: 0;
  bottom: 46px;
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.contents-section {
  padding: 130px 0;
}

.contents-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.78fr);
  align-items: center;
  gap: 100px;
}

.contents-list {
  margin: 46px 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.contents-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  min-height: 60px;
  border-bottom: 1px solid rgba(20, 47, 50, 0.28);
}

.contents-list span {
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 14px;
}

.contents-list strong {
  font-size: 15px;
}

.contents-image {
  position: relative;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--gold);
  background: var(--white);
  transform: rotate(1deg);
}

.contents-image::before,
.contents-image::after {
  content: "♠";
  position: absolute;
  z-index: 2;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 24px;
}

.contents-image::before { top: 22px; left: 24px; }
.contents-image::after { right: 24px; bottom: 42px; transform: rotate(180deg); }

.contents-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.contents-image figcaption {
  padding: 12px 4px 2px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.purchase-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  color: var(--white);
  background: var(--ink);
}

.purchase-image {
  min-height: 780px;
  overflow: hidden;
  background: #102729;
}

.purchase-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #142f32;
}

.purchase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px max(60px, calc((100vw - 1240px) / 2));
}

.purchase-copy h2 {
  max-width: 720px;
  color: var(--mint);
}

.purchase-copy > p:last-of-type {
  color: #cbd7d3;
}

.edition-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.edition-switch label {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 106px;
  padding: 16px 18px;
  cursor: pointer;
}

.edition-switch label + label {
  border-left: 1px solid rgba(255, 255, 255, 0.55);
}

.edition-switch label:has(input:checked) {
  color: var(--ink);
  background: var(--mint);
}

.edition-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.edition-switch span {
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
}

.edition-switch strong {
  margin-top: 4px;
  font-size: 16px;
}

.edition-switch small {
  margin-top: 5px;
  color: inherit;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
}

.edition-switch label.is-disabled {
  color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.025);
  cursor: not-allowed;
}

.edition-switch label.is-disabled span {
  color: rgba(216, 126, 120, 0.52);
}

.add-button {
  width: 100%;
  margin-top: 18px;
  border-color: var(--coral);
  color: var(--white);
  background: var(--coral);
  cursor: pointer;
}

.purchase-note {
  margin-top: 18px !important;
  font-size: 10px !important;
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px 80px;
  padding: 72px max(40px, calc((100vw - 1240px) / 2));
  color: var(--white);
  background: var(--black);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 72px;
}

.footer-brand strong {
  font-size: 30px;
}

.footer-brand p {
  margin: 3px 0 0;
  color: #b8c2c0;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  align-content: center;
  font-weight: 800;
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #3a4141;
  color: #929c9b;
  font-size: 12px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100vw - 48px));
  padding: 16px 20px;
  color: var(--ink);
  background: var(--mint);
  font-weight: 900;
  box-shadow: 10px 12px 0 rgba(20, 47, 50, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.72, 0.28, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes card-float {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-14px); }
}

@media (max-width: 1050px) {
  .site-header {
    padding: 0 24px;
  }

  .desktop-nav {
    gap: 24px;
    margin-right: 22px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 42px;
  }

  .hero-copy h1 {
    font-size: 68px;
  }

  .invitation-layout,
  .clue-layout,
  .contents-layout {
    gap: 58px;
  }

  .invitation-copy h2,
  .street-copy h2,
  .clue-copy h2,
  .contents-copy h2,
  .purchase-copy h2,
  .case-heading h2 {
    font-size: 44px;
  }

  .street-copy,
  .purchase-copy {
    padding-right: 42px;
    padding-left: 42px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
  }

  .brand {
    font-size: 24px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 14px 20px 24px;
    border-top: 1px solid #ddd;
    background: var(--white);
    box-shadow: 0 20px 30px rgba(20, 47, 50, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .mobile-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid #e7e7e2;
    font-weight: 900;
  }

  .site-header.is-open .mobile-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header.is-open .menu-button span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .site-header.is-open .menu-button span:nth-child(2) { opacity: 0; }
  .site-header.is-open .menu-button span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

  .jargo-hero,
  .hero-inner {
    min-height: calc(100svh - 122px);
  }

  .hero-photo {
    object-position: 36% center;
  }

  .hero-veil {
    background: rgba(9, 28, 29, 0.68);
  }

  .hero-frame {
    inset: 10px;
  }

  .language-switch {
    top: 22px;
    left: 22px;
  }

  .hero-inner {
    display: block;
    width: calc(100% - 44px);
    padding: 104px 0 64px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(100svh - 290px);
  }

  .hero-copy h1 {
    max-width: 560px;
    font-size: 58px;
  }

  .hero-card-wrap {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .section-inner {
    width: calc(100% - 44px);
  }

  .invitation-layout,
  .contents-layout,
  .clue-layout,
  .street-section,
  .purchase-section {
    grid-template-columns: 1fr;
  }

  .invitation-section,
  .case-section,
  .contents-section,
  .clue-section {
    padding: 88px 0;
  }

  .letter-stage {
    margin-top: 26px;
  }

  .case-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-steps {
    grid-template-columns: 1fr;
  }

  .case-step,
  .case-step + .case-step {
    display: grid;
    grid-template-columns: 54px 170px minmax(0, 1fr);
    align-items: center;
    column-gap: 20px;
    padding: 32px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .case-step .step-visual {
    grid-row: 1 / span 2;
    grid-column: 2;
    height: 160px;
    margin: 0;
  }

  .case-step > span {
    grid-row: 1 / span 2;
    align-self: start;
  }

  .case-step h3,
  .case-step p {
    grid-column: 3;
  }

  .case-step h3 {
    align-self: end;
    margin: 0 0 8px;
  }

  .case-step p {
    align-self: start;
  }

  .street-media {
    min-height: 660px;
  }

  .street-copy,
  .purchase-copy {
    padding: 80px 36px;
  }

  .clue-copy h2 {
    max-width: 620px;
  }

  .clue-collage {
    width: min(500px, 100%);
    margin: 0 auto;
  }

  .contents-image {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .purchase-image {
    min-height: 640px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    max-width: 620px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .cart-button,
  .menu-button {
    width: 40px;
    height: 40px;
  }

  .header-tools {
    gap: 4px;
  }

  .jargo-hero,
  .hero-inner {
    min-height: calc(100svh - 116px);
  }

  .hero-photo {
    object-position: 32% center;
  }

  .hero-inner {
    width: calc(100% - 36px);
    padding-top: 86px;
  }

  .hero-copy {
    min-height: calc(100svh - 268px);
  }

  .hero-copy h1 {
    margin-top: 16px;
    font-size: 46px;
  }

  .hero-chapter {
    font-size: 22px;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 15px;
  }

  .primary-link {
    width: 100%;
  }

  .section-inner {
    width: calc(100% - 36px);
  }

  .invitation-copy h2,
  .street-copy h2,
  .clue-copy h2,
  .contents-copy h2,
  .purchase-copy h2,
  .case-heading h2 {
    font-size: 38px;
  }

  .case-facts {
    grid-template-columns: 1fr;
  }

  .case-facts div,
  .case-facts div + div {
    padding: 13px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(20, 47, 50, 0.25);
  }

  .letter-stage {
    min-height: 360px;
  }

  .letter-object {
    height: 320px;
  }

  .letter-sheet {
    padding: 34px 26px;
  }

  .letter-sheet strong {
    font-size: 22px;
  }

  .wax-seal {
    bottom: 90px;
  }

  .letter-object.is-open .letter-sheet {
    transform: translateY(-88px) rotate(-1deg);
  }

  .case-step,
  .case-step + .case-step {
    display: block;
  }

  .case-step .step-visual {
    height: 180px;
    margin: 20px 0;
  }

  .case-step h3 {
    margin: 20px 0 8px;
  }

  .street-media {
    min-height: 520px;
  }

  .street-copy,
  .purchase-copy {
    padding: 70px 20px;
  }

  .clue-collage {
    min-height: 500px;
  }

  .clue-main {
    left: 18px;
    width: 240px;
  }

  .clue-building {
    width: 170px;
  }

  .clue-index {
    width: 86px;
    height: 86px;
    font-size: 16px;
  }

  .edition-switch {
    grid-template-columns: 1fr;
  }

  .edition-switch label {
    min-height: 76px;
  }

  .edition-switch label + label {
    border-top: 1px solid rgba(255, 255, 255, 0.55);
    border-left: 0;
  }

  .purchase-image {
    min-height: 500px;
  }

  .site-footer {
    gap: 42px;
    padding: 58px 20px;
  }

  .site-footer nav {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
