:root {
  --paper: #f4efe6;
  --sheet: #fbf8f3;
  --ink: #1c1915;
  --muted: #5c564c;
  --pine: #24362e;
  --brass: #c9a36a;
  --line: rgba(28, 25, 21, 0.72);
  --serif: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #ebe4d8;
  color: var(--ink);
}

body {
  font-family: var(--sans);
}

::selection { background: rgba(201, 163, 106, 0.35); }

:focus-visible {
  outline: 1px solid var(--pine);
  outline-offset: 3px;
}

.review {
  max-width: 40rem;
  padding: 36px clamp(18px, 4vw, 48px) 8px;
}

.review p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.35;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
}

.jump a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.jump a:hover,
.jump a:focus-visible { border-bottom-color: var(--brass); }

.caption {
  margin: 0;
  padding: 28px clamp(18px, 4vw, 48px) 10px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.still {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  display: flex;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 72px) 14px;
  border-bottom: 1px solid rgba(201, 163, 106, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.brand-mark line {
  stroke: var(--brass);
  stroke-width: 1.35;
  stroke-linecap: round;
}

.brand-mark .n-y { fill: #fedf00; }
.brand-mark .n-b { fill: #0018a8; }
.brand-mark .n-r { fill: #d52b1e; }

.still main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 22px;
  padding: 36px clamp(22px, 6vw, 88px) 56px;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  max-width: 28rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.4;
}

.sub {
  margin: 0;
  max-width: 32rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--muted);
}

.enter { margin: 8px 0 0; }

.enter a {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--brass);
  padding: 0 0 4px;
}

.sheet {
  position: relative;
  width: 210px;
  height: 272px;
  background: var(--sheet);
  border: 1px solid var(--line);
  box-shadow: 12px 16px 0 rgba(36, 54, 46, 0.06);
}

.sheet .rule {
  position: absolute;
  top: 36px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: var(--brass);
}

.seal {
  position: absolute;
  right: 26px;
  bottom: 32px;
  width: 78px;
  height: 78px;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.seal .brand-mark { width: 36px; height: 36px; }

.letter main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: center;
  text-align: left;
  gap: clamp(36px, 6vw, 88px);
  width: min(980px, 100%);
  margin-inline: auto;
}

.letter .copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.letter h1 { font-size: clamp(3rem, 5vw, 4.4rem); }

.across {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 56px);
  width: min(880px, 100%);
}

.who {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
}

.across .who:first-child { text-align: right; }
.across .who:last-child { text-align: left; }

.book {
  display: flex;
  width: min(520px, 92vw);
  height: 300px;
  filter: drop-shadow(12px 16px 0 rgba(36, 54, 46, 0.06));
}

.page {
  flex: 1;
  background: var(--sheet);
  border: 1px solid var(--line);
  position: relative;
}

.page + .page {
  border-left: 0;
  box-shadow: inset 14px 0 18px rgba(28, 25, 21, 0.05);
}

.sheet.loose {
  width: 148px;
  height: 196px;
  position: absolute;
  left: 50%;
  top: 42px;
  transform: translateX(-54%) rotate(-4deg);
}

.press {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.stamp { width: 84px; }

.handle {
  display: block;
  width: 14px;
  height: 46px;
  margin: 0 auto;
  background: var(--brass);
}

.neck {
  display: block;
  width: 28px;
  height: 8px;
  margin: 0 auto;
  background: var(--brass);
}

.foot {
  display: block;
  width: 74px;
  height: 74px;
  margin: 10px auto 0;
  border: 7px solid var(--brass);
  border-radius: 50%;
}

.room {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
}

.seat { width: 92px; }

.back {
  height: 108px;
  border: 1.25px solid var(--line);
  border-bottom: 0;
  position: relative;
}

.back::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 22px;
  border-top: 1.25px solid var(--line);
}

.legs {
  height: 28px;
  border-left: 1.25px solid var(--line);
  border-right: 1.25px solid var(--line);
}

.table {
  width: min(300px, 46vw);
  height: 28px;
  border-top: 1.25px solid var(--line);
  position: relative;
}

.sheet.card {
  width: 78px;
  height: 104px;
  position: absolute;
  left: 50%;
  bottom: calc(100% - 2px);
  z-index: 1;
  transform: translateX(-50%);
  box-shadow: 6px 8px 0 rgba(36, 54, 46, 0.06);
}

.sheet.card .rule { top: 16px; left: 12px; right: 12px; }

.level-sheet {
  width: min(560px, 88vw);
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vial {
  width: min(280px, 70%);
  height: 32px;
  border: 1.5px solid var(--brass);
  border-radius: 999px;
  display: grid;
  place-items: center;
  position: relative;
}

.vial::before,
.vial::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(201, 163, 106, 0.7);
}

.vial::before { left: 42%; }
.vial::after { right: 42%; }

.bubble {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--pine);
  border-radius: 50%;
  background: rgba(201, 163, 106, 0.35);
}

.months {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px clamp(18px, 4vw, 56px);
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: var(--muted);
}

.months span { padding-bottom: 6px; }

.months .open {
  color: var(--ink);
  border-bottom: 2px solid var(--brass);
}

.word h1 {
  font-size: clamp(4.5rem, 12vw, 8rem);
  border-bottom: 2px solid var(--brass);
  padding-bottom: 8px;
  line-height: 0.95;
}

.tax-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.tax-house {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.36em;
  letter-spacing: -0.01em;
  line-height: 1;
}

.tax-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1em;
  letter-spacing: -0.04em;
  line-height: 0.86;
  margin-left: -0.06em;
}

.tax-word.is-brass { color: var(--brass); }

.tax-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  color: inherit;
  text-decoration: none;
}

.tax-rule {
  height: 2px;
  margin-top: 6px;
  background: var(--brass);
}

.mark-rule .site-header { border-bottom-color: transparent; }

.brand.with-word { gap: 14px; align-items: center; }
.brand .tax-word { font-size: 32px; font-weight: 400; }

.sheet.for-word {
  width: 280px;
  height: 340px;
}

.sheet.months-file {
  width: 250px;
  height: 320px;
}

.seal.wide {
  width: 176px;
  height: 88px;
  right: 22px;
  bottom: 28px;
  border-radius: 999px;
}

.seal.wide .tax-word { font-size: 26px; }
.seal.wide .tax-rule { height: 1.5px; margin-top: 4px; }

.seal.mini {
  position: static;
  width: 46px;
  height: 46px;
  border-width: 1.25px;
}

.mono {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 42px;
  line-height: 0.8;
  color: var(--ink);
}

.seal.mini .mono { font-size: 24px; }

.seal-tax {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
}

.seal.mini .seal-tax { font-size: 13px; }

.on-sheet {
  position: absolute;
  top: 56px;
  left: 28px;
  right: 100px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--muted);
}

.on-sheet .open {
  color: var(--ink);
  border-bottom: 2px solid var(--brass);
  padding-bottom: 2px;
}

.months.only {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  gap: 16px clamp(28px, 5vw, 64px);
}

.pair-wrap { width: min(520px, 100%); }

.pair {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 132px 1fr;
  align-items: end;
  justify-items: center;
}

.person {
  position: relative;
  z-index: 1;
  width: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.head {
  width: 28px;
  height: 28px;
  border: 1.25px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  position: relative;
  z-index: 1;
}

.torso {
  width: 70px;
  height: 78px;
  margin-top: -4px;
  border: 1.25px solid var(--line);
  border-radius: 34px 34px 4px 4px;
  background: var(--paper);
}

.officer .head { border-color: var(--pine); }

.officer .torso {
  background: var(--pine);
  border-color: var(--pine);
}

.counter-mid {
  position: relative;
  z-index: 3;
  width: 132px;
  height: 168px;
}

.desk-front {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 0;
  height: 36px;
  background: var(--paper);
  border-top: 1.25px solid var(--line);
  z-index: 2;
}

.counter-mid .sheet {
  position: absolute;
  left: 50%;
  bottom: 36px;
  width: 74px;
  height: 98px;
  transform: translateX(-50%);
  z-index: 3;
}

.pair-names {
  display: grid;
  grid-template-columns: 1fr 132px 1fr;
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.pair-names span:first-child,
.pair-names span:last-child { text-align: center; }

.pair-names span:last-child { color: var(--pine); }

.from-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(560px, 100%);
}

.seat-name {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--pine);
}

.far-officer { transform: scale(0.82); transform-origin: bottom center; }

.plane {
  width: min(480px, 92vw);
  height: 168px;
  margin-top: 8px;
  position: relative;
  background: linear-gradient(180deg, rgba(36, 54, 46, 0.05), rgba(36, 54, 46, 0) 70%);
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
  border-top: 1.25px solid var(--line);
}

.sheet.flat {
  position: absolute;
  width: 118px;
  height: 76px;
  left: 50%;
  top: 34px;
  transform: translateX(-50%);
}

.sheet.flat .rule { top: 16px; left: 14px; right: 14px; }

.depth {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(440px, 100%);
}

.far-block,
.near-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.depth .back { height: 72px; }
.depth .legs { height: 16px; }

.far-block { transform: scale(0.78); transform-origin: center bottom; }
.far-block .seat-name { margin: 0; }

.near-block {
  transform: scale(1.05);
  transform-origin: center top;
  margin-top: 14px;
}

.near-block .seat-name { margin: 0; color: var(--ink); }

.depth-desk {
  position: relative;
  width: min(280px, 72vw);
  height: 18px;
  margin-top: 72px;
  border-top: 1.25px solid var(--line);
}

.depth-desk .standing {
  position: absolute;
  width: 64px;
  height: 64px;
  left: 50%;
  bottom: 17px;
  transform: translateX(-50%);
  box-shadow: 6px 8px 0 rgba(36, 54, 46, 0.06);
}

.depth-desk .standing .rule { top: 14px; left: 12px; right: 12px; }

.sell { align-items: center; }

.sell main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: min(760px, 100%);
  gap: 14px;
  padding: 20px clamp(22px, 5vw, 48px) 28px;
}

.poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 40rem;
}

.sell .poster .tax-word { font-size: 56px; }

.poster .live-mark {
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.poster .live-mark.is-held { cursor: grabbing; }

.poster .live-mark .glyph {
  display: inline-block;
  transform-origin: 50% 100%;
}

.letter-rule {
  display: block;
  width: 52px;
  height: 1px;
  margin: 12px auto 14px;
  background: var(--brass);
}

.volume .logo-mark {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 50%;
  width: 38px;
  height: 38px;
  margin-left: -19px;
  overflow: visible;
}

.volume .logo-mark .n-y,
.volume .logo-mark .n-b,
.volume .logo-mark .n-r {
  transform-box: fill-box;
  transform-origin: center;
  animation: tax-node 3.6s ease-in-out infinite;
}

.volume .logo-mark .n-b { animation-delay: -2.4s; }
.volume .logo-mark .n-r { animation-delay: -1.2s; }

@keyframes tax-node {
  0%, 18%, 100% { transform: scale(1); }
  8% { transform: scale(1.22); }
}

@media (prefers-reduced-motion: reduce) {
  .volume .logo-mark .n-y,
  .volume .logo-mark .n-b,
  .volume .logo-mark .n-r { animation: none; }
}

.sell h1 {
  font-size: clamp(3.2rem, 5.6vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.sell .lead {
  max-width: 28rem;
  margin-top: 12px;
  text-align: center;
  font-size: 1.28rem;
}

.sell .enter { margin-top: 14px; }

.volume {
  position: relative;
  width: min(400px, 88vw);
  height: min(460px, 56dvh);
  flex: none;
  margin-top: 6px;
  transform: rotate(-1.2deg);
  filter: drop-shadow(16px 26px 22px rgba(36, 54, 46, 0.18));
  text-align: left;
}

.spine {
  position: absolute;
  top: 0;
  bottom: 18px;
  left: 0;
  width: 26px;
  background: linear-gradient(90deg, #17241e 0%, var(--pine) 42%, #3d564a 78%, #1b2b24 100%);
}

.spine::before,
.spine::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  height: 5px;
  background: var(--brass);
}

.spine::before { top: 10px; }
.spine::after { bottom: 10px; }

.leaf {
  position: absolute;
  top: 0;
  left: 26px;
  right: 18px;
  bottom: 18px;
  background:
    linear-gradient(180deg, #fffdf9 0%, var(--sheet) 18%, #f6f1e8 100%);
  border: 1px solid var(--line);
  box-shadow:
    7px 7px 0 #efe6d8,
    8px 8px 0 rgba(28, 25, 21, 0.28),
    13px 13px 0 #e3d9c8,
    14px 14px 0 rgba(28, 25, 21, 0.22);
}

.leaf::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 14px;
  background: linear-gradient(90deg, rgba(36, 54, 46, 0.16), rgba(36, 54, 46, 0) 80%);
}

.leaf::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  right: 0;
  width: 2px;
  background: linear-gradient(#e6d3a4, var(--brass) 40%, #8d7040);
}

.leaf .rule {
  position: absolute;
  top: 28px;
  left: 36px;
  width: 64px;
  right: auto;
  height: 1px;
  background: var(--brass);
}

.contents {
  list-style: none;
  margin: 0;
  padding: 40px 28px 96px 34px;
}

.volume .contents { padding-top: 58px; }

.contents li + li { margin-top: 12px; }

.contents h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.contents p {
  margin: 7px 0 0;
  max-width: 14rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--muted);
}

.volume .seal.wide {
  width: 148px;
  height: 68px;
  right: 18px;
  bottom: 16px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
}

.volume .seal.wide:hover { background: rgba(201, 163, 106, 0.16); }

.clocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
  width: min(920px, 100%);
  text-align: left;
}

.clocks h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  border-bottom: 2px solid var(--brass);
  padding-bottom: 8px;
}

.clocks p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.35;
}

.bands {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(640px, 100%);
  display: flex;
  flex-direction: column;
}

.bands li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(201, 163, 106, 0.9);
  padding: 14px 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.bands li span:last-child {
  color: var(--muted);
  font-size: 0.72em;
  text-align: right;
}

.also {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.names {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.01em;
}

body[data-shot] .review,
body[data-shot] .caption,
body[data-shot] .still { display: none; }

body[data-shot="1"] #s1,
body[data-shot="2"] #s2,
body[data-shot="3"] #s3,
body[data-shot="4"] #s4,
body[data-shot="5"] #s5,
body[data-shot="6"] #s6,
body[data-shot="7"] #s7,
body[data-shot="8"] #s8,
body[data-shot="9"] #s9,
body[data-shot="10"] #s10,
body[data-shot="11"] #s11,
body[data-shot="12"] #s12,
body[data-shot="13"] #s13,
body[data-shot="14"] #s14,
body[data-shot="15"] #s15,
body[data-shot="16"] #s16,
body[data-shot="17"] #s17,
body[data-shot="18"] #s18,
body[data-shot="19"] #s19,
body[data-shot="20"] #s20,
body[data-shot="21"] #s21,
body[data-shot="22"] #s22,
body[data-shot="23"] #s23,
body[data-shot="24"] #s24,
body[data-shot="a"] #ma,
body[data-shot="b"] #mb,
body[data-shot="c"] #mc,
body[data-shot="d"] #md,
body[data-shot="e"] #me,
body[data-shot="f"] #mf { display: flex; }

@media (max-width: 720px) {
  .letter main,
  .across { grid-template-columns: 1fr; text-align: center; }
  .letter .copy,
  .letter main { align-items: center; text-align: center; }
  .across .who,
  .across .who:first-child,
  .across .who:last-child { text-align: center; }
  .book { height: 240px; }
  .room,
  .pair-wrap,
  .from-you,
  .depth { transform: scale(0.86); }
  .months.only { font-size: 2.1rem; }
  .sell main { gap: 12px; padding: 22px 18px 28px; }
  .sell .poster .tax-word { font-size: 46px; }
  .sell h1 { font-size: 2.7rem; }
  .sell .lead { margin-top: 10px; }
  .volume {
    width: min(340px, 92vw);
    height: 430px;
    transform: none;
    filter: drop-shadow(8px 14px 12px rgba(36, 54, 46, 0.16));
  }
  .contents { padding: 46px 24px 108px 28px; }
  .contents h2 { font-size: 1.85rem; }
  .contents li + li { margin-top: 18px; }
  .clocks { grid-template-columns: 1fr; }
  .bands li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .bands li span:last-child { text-align: left; }
  .sheet.for-word { width: 230px; height: 300px; }
  .seal.wide { width: 150px; height: 76px; right: 14px; bottom: 20px; }
  .seal.wide .tax-word { font-size: 20px; }
}
