:root {
  --paper: #f3efe6;
  --sheet: #faf8f3;
  --ink: #161513;
  --muted: #6b655c;
  --signal: #e44500;
  --line: #d4cdc0;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --rail: 228px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
.shell, .stage, .stage-copy, .readout, .readout div, .desk, .side, .band { min-width: 0; }
img { max-width: 100%; height: auto; display: block; }
figure, .stage, .stage figure, .plate, .plate img { min-width: 0; max-width: 100%; }
.stage { grid-template-columns: minmax(0, 1fr); }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase; line-height: 0.9; margin: 0; overflow-wrap: anywhere; }
p { margin: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus {
  left: 12px;
  z-index: 40;
  background: var(--signal);
  color: white;
  padding: 8px 12px;
}

.rail {
  background: var(--ink);
  color: var(--paper);
}
.mark {
  text-decoration: none;
  color: var(--paper);
  line-height: 0.82;
}
.mark b,
.mark span {
  display: block;
  font-family: var(--cond);
  font-weight: 700;
  text-transform: uppercase;
}
.mark b { font-size: 38px; letter-spacing: 0.02em; }
.mark span {
  margin-top: 4px;
  font-size: 15px;
  letter-spacing: 0.34em;
  color: var(--signal);
}
.rail nav a {
  display: block;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.16);
  color: rgba(243, 239, 230, 0.72);
}
.rail nav a:hover,
.rail nav a:focus-visible { color: white; }
.rail nav a.on { color: var(--signal); }
.rail-foot {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.55);
}
.rail-foot a {
  display: block;
  margin-top: 6px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--cond);
  font-size: 26px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(243, 239, 230, 0.35);
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--paper);
  content: "";
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.filetag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 14px;
}
.lede { max-width: 38rem; color: #2c2926; font-size: 18px; }

.stage {
  display: grid;
  border-bottom: 1px solid var(--line);
}
.stage-copy { padding: 36px 28px 28px; }
.stage h1 {
  font-size: clamp(46px, 12vw, 108px);
  max-width: 100%;
  overflow-wrap: anywhere;
}
.stage .lede { margin-top: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stage figure { margin: 0; min-height: 320px; background: #cfc6b8; }
.stage figure img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

.readout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}
.readout div { padding: 16px 20px 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.readout dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.readout dd {
  margin: 6px 0 0;
  font-family: var(--cond);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  overflow-wrap: break-word;
}
.readout a { text-decoration: none; }

.band { padding: 28px; border-bottom: 1px solid var(--line); }
.band h2 { font-size: clamp(40px, 6vw, 64px); max-width: 16ch; }
.band .lede { margin-top: 12px; }

.order { list-style: none; margin: 0; padding: 0; }
.order li {
  display: grid;
  gap: 8px 18px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}
.order .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--signal);
}
.order h3 { font-size: 34px; }
.order p { margin-top: 8px; max-width: 46rem; color: #322e2a; }
.order .price {
  font-family: var(--cond);
  font-size: 28px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  border-bottom: 1px solid var(--line);
}
.steps article { padding: 22px 28px; border-bottom: 1px solid var(--line); }
.steps em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--signal);
}
.steps h3 { font-size: 30px; margin-top: 8px; }
.steps p { margin-top: 8px; }

.places {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}
.places li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 7px 10px;
}

.callout {
  display: grid;
  gap: 16px;
  padding: 32px 28px;
  background: var(--ink);
  color: var(--paper);
}
.callout h2 { font-size: clamp(42px, 7vw, 72px); }
.callout p { color: rgba(243, 239, 230, 0.78); max-width: 36rem; }

.btn, .btn-line {
  display: inline-block;
  text-decoration: none;
  font-family: var(--cond);
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 16px;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--signal);
  color: white;
}
.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.callout .btn-line { color: var(--paper); border-color: rgba(243, 239, 230, 0.5); }
.btn:hover, .btn:focus-visible { background: #c43b00; }
.btn-line:hover, .btn-line:focus-visible { background: var(--ink); color: var(--paper); }
.callout .btn-line:hover { background: var(--paper); color: var(--ink); }

.sheet-head { padding: 36px 28px 8px; }
.sheet-head h1 { font-size: clamp(56px, 10vw, 96px); max-width: 12ch; }
.note {
  margin: 8px 28px 0;
  padding-bottom: 22px;
  max-width: 42rem;
  color: #322e2a;
  border-bottom: 1px solid var(--line);
}

table.sheet {
  width: 100%;
  border-collapse: collapse;
}
.sheet th, .sheet td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.sheet th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.sheet td:first-child { font-family: var(--cond); font-size: 26px; text-transform: uppercase; letter-spacing: 0.02em; }
.sheet td:nth-child(2) {
  font-family: var(--cond);
  font-size: 26px;
  white-space: nowrap;
}
.fine { padding: 22px 28px 36px; color: var(--muted); font-size: 15px; max-width: 46rem; }

.plate { border-bottom: 1px solid var(--line); background: var(--sheet); }
.plate img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.plate div { padding: 22px 28px 28px; }
.plate h2 { font-size: 40px; }
.plate p { margin-top: 8px; max-width: 36rem; }

.desk { display: grid; }
.job { padding: 8px 28px 36px; }
.job label {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.job input, .job select, .job textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
}
.job textarea { min-height: 110px; resize: vertical; }
.job button { margin-top: 22px; }
.hp { position: absolute; left: -9999px; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--paper);
}
.form-success.show { display: block; }
.side { border-top: 1px solid var(--line); }
.side iframe { width: 100%; height: 240px; border: 0; display: block; }
.side .meta { padding: 20px 28px 32px; }
.side h2 { font-size: 36px; }
.side p { margin-top: 8px; }
.side a { color: var(--signal); }

.end {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 18px 28px 28px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.end a { color: var(--ink); text-decoration: none; }
.policy { padding: 8px 28px 48px; max-width: 44rem; }
.policy h2 { font-size: 32px; margin-top: 28px; }
.policy p, .policy li { margin-top: 8px; }
.policy ul { margin: 0; padding-left: 18px; }
.miss { padding: 18vh 28px 20vh; }
.miss h1 { font-size: clamp(80px, 18vw, 180px); }
.miss p { margin: 12px 0 20px; }

@media (max-width: 979px) {
  .rail {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
  }
  .mark b { font-size: 30px; }
  .rail nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ink);
    padding: 4px 16px 12px;
  }
  .rail nav.open { display: block; }
  .rail-foot { display: none; }
}

@media (min-width: 720px) {
  .readout { grid-template-columns: repeat(4, 1fr); }
  .readout div { border-bottom: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps article:nth-child(odd) { border-right: 1px solid var(--line); }
  .order li { grid-template-columns: 64px 1fr auto; align-items: start; }
  .order .num { padding-top: 8px; }
  .order .price { padding-top: 4px; }
  .plate {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr;
    align-items: stretch;
  }
  .plate:nth-child(even) { grid-template-columns: 0.8fr 1.35fr; }
  .plate:nth-child(even) img { order: 2; }
  .plate img { aspect-ratio: auto; height: 100%; min-height: 420px; }
  .plate div { display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; }
  .desk { grid-template-columns: 1.15fr 0.85fr; }
  .side { border-top: 0; border-left: 1px solid var(--line); }
  .side iframe { height: 280px; }
}

@media (min-width: 980px) {
  .rail {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail);
    display: flex;
    flex-direction: column;
    padding: 28px 22px 22px;
    z-index: 10;
  }
  .shell, .stage, .stage-copy, .readout, .readout div, .desk, .side { min-width: 0; }
  .shell { margin-left: var(--rail); }
  .rail nav { display: flex; flex-direction: column; margin-top: 40px; }
  .nav-toggle { display: none; }
  .rail-foot { display: block; margin-top: auto; }
  .stage {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: 1fr auto;
    min-height: 100vh;
  }
  .stage-copy {
    padding: 48px 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .stage figure { grid-column: 2; grid-row: 1; min-height: 0; }
  .stage figure img { position: absolute; inset: 0; min-height: 0; }
  .stage figure { position: relative; }
  .readout { grid-column: 1 / -1; }
  .band, .callout, .sheet-head, .note, .fine, .job, .side .meta, .end, .policy, .miss { padding-left: 40px; padding-right: 40px; }
  .order li, .steps article { padding-left: 40px; padding-right: 40px; }
  .sheet th, .sheet td { padding-left: 40px; padding-right: 28px; }
}

@media (max-width: 719px) {
  .stage h1 { font-size: 52px; }
  .sheet td:first-child, .sheet td:nth-child(2) { font-size: 22px; }
  .sheet td:nth-child(2) { white-space: normal; }
  .lede { font-size: 16px; }
}

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