@import url("../fonts/fonts-local.css");

/* ==========================================================================
   Frameprints — design prototype
   Concept: a museum print room meets a framer's work order.
   Paper, ink, vermilion registration marks, measured rules.
   ========================================================================== */

:root {
  --paper: #f2ecdf;
  --paper-2: #e8decd;
  --paper-3: #ddd0bb;
  --white: #fbf8f1;
  --ink: #1c1a16;
  --ink-2: #3d382f;
  --ink-3: #6f6557;
  --red: #b4462c;
  --red-deep: #8d3321;
  --moss: #565f45;
  --sky: #a9bec2;
  --gold: #a9783f;
  --green: #4f6748;
  --rule: rgba(28, 26, 22, 0.16);
  --rule-2: rgba(28, 26, 22, 0.34);
  --rule-light: rgba(242, 236, 223, 0.18);
  --display: "Fraunces", "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --body: "Newsreader", "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1320px;
  --ease: cubic-bezier(0.22, 0.68, 0.22, 1);
  --shadow: 0 24px 60px rgba(28, 26, 22, 0.16), 0 3px 10px rgba(28, 26, 22, 0.08);
  --shadow-deep: 0 40px 90px rgba(28, 26, 22, 0.24), 0 6px 18px rgba(28, 26, 22, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

::selection {
  background: var(--red);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - (2 * var(--gutter)), var(--max));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.display {
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.h2 em {
  font-weight: 400;
  color: var(--red);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: none;
  background: var(--red);
}

.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--red);
}

.section-index::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: none;
  background: var(--red);
}

.micro {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ink-3);
}

html[data-lang="zh"] body {
  line-height: 1.72;
}

html[data-lang="zh"] .hero h1,
html[data-lang="zh"] .page-head h1,
html[data-lang="zh"] .fit-head h1,
html[data-lang="zh"] .guide-head h1,
html[data-lang="zh"] .set-header h1,
html[data-lang="zh"] .style-intro h1 {
  font-size: clamp(48px, 6.8vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

html[data-lang="zh"] .hero h1 {
  font-size: clamp(48px, 7vw, 100px);
}

html[data-lang="zh"] .h2 {
  line-height: 1.1;
  letter-spacing: -0.02em;
}

html[data-lang="zh"] .feature-copy .h2 {
  font-size: clamp(40px, 4.8vw, 66px);
}

html[data-lang="zh"] .closing h2 {
  line-height: 1.05;
  letter-spacing: -0.02em;
}

html[data-lang="zh"] .eyebrow,
html[data-lang="zh"] .mono,
html[data-lang="zh"] .section-index {
  letter-spacing: 0.08em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--rule-2);
  padding-bottom: 4px;
  transition: color 0.25s, border-color 0.25s;
}

.text-link .arrow {
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.text-link:hover .arrow {
  transform: translateX(4px);
}

/* ------------------------------ buttons ------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.btn .arrow {
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 9px;
}

.btn-block {
  width: 100%;
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.38;
  pointer-events: none;
}

.on-dark .btn {
  border-color: rgba(242, 236, 223, 0.45);
  color: var(--paper);
}

.on-dark .btn:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.on-dark .btn-primary {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.on-dark .btn-primary:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}

.on-dark .text-link {
  border-color: rgba(242, 236, 223, 0.3);
}

.on-dark .text-link:hover {
  color: #dc8f74;
  border-color: #dc8f74;
}

/* ------------------------------ header ------------------------------ */

.announce {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.announce-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.announce p {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.announce .dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(180, 70, 44, 0.22);
}

.announce a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 236, 223, 0.4);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}

.announce a:hover {
  color: #dc8f74;
  border-color: #dc8f74;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 236, 223, 0.9);
  border-bottom: 1px solid var(--rule);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.3s;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(28, 26, 22, 0.06);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 27px;
  height: 27px;
  flex: none;
}

.brand-word {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand-word em {
  font-weight: 400;
  font-style: italic;
  color: var(--red);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.lang {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.lang button {
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  padding: 4px 0;
  color: var(--ink-3);
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
}

.lang a {
  display: inline-block;
  padding: 6px 4px;
  border-bottom: 1px solid transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.lang a.is-active { border-color: var(--ink); }
.lang a:hover { color: var(--ink); }

body[data-production="true"] .size-table th:nth-child(2),
body[data-production="true"] .size-table td:nth-child(2) { display: none; }

.legal-content {
  max-width: 860px;
  padding-top: clamp(64px, 10vw, 132px);
  padding-bottom: clamp(80px, 12vw, 160px);
}

.legal-content h1 { margin-bottom: 28px; }
.legal-content .lede { margin-bottom: 24px; }
.legal-content > p:not(.eyebrow):not(.micro) {
  max-width: 72ch;
  margin: 0 0 22px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}
.legal-content .micro { margin-top: 42px; }

.lang button:hover {
  color: var(--ink);
}

.lang button.is-active {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.menu-btn {
  display: none;
  border: 1px solid var(--rule-2);
  background: transparent;
  min-height: 40px;
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter) 40px;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule-2);
}

.mobile-nav-close {
  border: 1px solid var(--rule-2);
  background: transparent;
  min-height: 40px;
  padding: 0 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.mobile-nav-links a {
  font-family: var(--display);
  font-size: clamp(38px, 11vw, 64px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

.mobile-nav-links a:hover {
  color: var(--red);
}

.mobile-nav-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-2);
}

body.nav-open {
  overflow: hidden;
}

/* ------------------------------ hero ------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 82% 22%, rgba(169, 190, 194, 0.22), transparent 64%),
    radial-gradient(700px 500px at 12% 88%, rgba(86, 95, 69, 0.08), transparent 60%);
}

.hero .wrap {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
  padding-top: clamp(48px, 7vw, 92px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero h1 {
  margin: 26px 0 30px;
  font-family: var(--display);
  font-size: clamp(64px, 9.4vw, 136px);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: -0.06em;
}

.hero h1 em {
  font-weight: 400;
  font-style: italic;
  color: var(--red);
}

.hero .lede {
  max-width: 530px;
  color: var(--ink-2);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.hero .micro {
  margin-top: 20px;
}

.hero-ruler {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--gutter) * -0.55);
  width: 10px;
  border-left: 1px solid var(--rule);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 7px,
    var(--rule-2) 7px 8px
  );
  background-size: 6px 100%;
  background-repeat: no-repeat;
  opacity: 0.7;
}

.hero-ruler::after {
  content: "0 — 10 — 20";
  position: absolute;
  left: -3px;
  top: -26px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* wall composition */

.hero-visual {
  position: relative;
}

.wall {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.03;
  overflow: hidden;
  border: 1px solid var(--rule);
  background:
    radial-gradient(circle at 72% 18%, rgba(169, 190, 194, 0.3), transparent 55%),
    linear-gradient(158deg, #e9dfcf, #f1e9dc 46%, #e4d8c6);
  box-shadow: inset 0 0 90px rgba(28, 26, 22, 0.05);
}

.wall::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.wall-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.frame {
  position: absolute;
  z-index: 2;
  margin: 0;
  padding: 9px;
  background: #26231e;
  box-shadow: var(--shadow);
}

.frame .mat {
  width: 100%;
  height: 100%;
  padding: 5.5%;
  background: var(--white);
  overflow: hidden;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame figcaption {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.frame-a {
  left: 4%;
  top: 13%;
  width: 62%;
  aspect-ratio: 1.306;
}

.frame-b {
  right: 3%;
  top: 51%;
  width: 39%;
  aspect-ratio: 1.831;
}

.frame-b figcaption {
  left: auto;
  right: 0;
}

.empty-frame {
  position: absolute;
  z-index: 2;
  top: 8%;
  right: 7%;
  width: 29%;
  aspect-ratio: 8 / 10;
  padding: 8px;
  background: #26231e;
  box-shadow: var(--shadow);
}

.empty-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 6px;
  border: 1px dashed rgba(28, 26, 22, 0.38);
  background-color: #e9dfcd;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 9px, rgba(28, 26, 22, 0.08) 9px 10px),
    repeating-linear-gradient(-45deg, transparent 0 9px, rgba(28, 26, 22, 0.06) 9px 10px);
  text-align: center;
}

.empty-inner span {
  font-family: var(--mono);
  font-size: clamp(7px, 0.7vw, 9px);
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.empty-inner small {
  font-family: var(--mono);
  font-size: clamp(6px, 0.6vw, 8px);
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.measure {
  position: absolute;
  z-index: 3;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.measure-x {
  left: 4%;
  right: 4%;
  bottom: 10%;
  height: 1px;
  background: var(--rule-2);
}

.measure-x::before,
.measure-x::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 1px;
  height: 9px;
  background: var(--rule-2);
}

.measure-x::before {
  left: 0;
}

.measure-x::after {
  right: 0;
}

.measure-x span {
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  padding: 0 7px;
  background: #e9dfcf;
}

.stamp {
  position: absolute;
  z-index: 3;
  left: 5%;
  bottom: 3.5%;
  width: 54px;
  height: 54px;
  display: grid;
  place-content: center;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-9deg);
  opacity: 0.82;
}

/* quick fit slip */

.fit-slip {
  position: relative;
  z-index: 4;
  margin-bottom: clamp(48px, 7vw, 84px);
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 9px 9px 0 rgba(28, 26, 22, 0.055);
}

.slip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.slip-body {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto;
  align-items: stretch;
}

.slip-unit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  border-right: 1px solid var(--rule);
}

.slip-frame {
  display: grid;
  gap: 7px;
  padding: 13px 18px;
  border-right: 1px solid var(--rule);
}

.slip-frame-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.slip-frame-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.slip-preset {
  max-width: 76px;
  border: 0;
  border-bottom: 1px solid var(--rule-2);
  border-radius: 0;
  background: transparent;
  padding: 2px 0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.slip-dims {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--mono);
  font-size: 12px;
}

.slip-dims input {
  width: 64px;
  border: 0;
  border-bottom: 1px solid var(--rule-2);
  border-radius: 0;
  background: transparent;
  padding: 3px 0;
  font-family: var(--mono);
  font-size: 16px;
  text-align: center;
}

.slip-dims input:focus {
  outline: 0;
  border-bottom-color: var(--red);
}

.slip-unit-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.slip-submit {
  display: flex;
  align-items: center;
  padding: 14px 18px;
}

.slip-submit .btn {
  min-height: 46px;
  white-space: nowrap;
}

.slip-note {
  padding: 0 18px 12px;
  grid-column: 1 / -1;
  border-top: 1px solid var(--rule);
  padding-top: 9px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.seg {
  display: inline-flex;
  border: 1px solid var(--rule-2);
}

.seg button {
  min-width: 34px;
  min-height: 28px;
  border: 0;
  border-right: 1px solid var(--rule-2);
  background: transparent;
  padding: 0 8px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.seg button:last-child {
  border-right: 0;
}

.seg button.is-active {
  background: var(--ink);
  color: var(--paper);
}

/* ------------------------------ sections ------------------------------ */

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 128px);
}

.section + .section {
  border-top: 1px solid var(--rule);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.55fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head-copy .h2 {
  margin-top: 20px;
}

.section-intro {
  max-width: 540px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 18px;
}

.section-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--rule-2);
}

.steps li {
  position: relative;
  padding: 26px 30px 0 0;
  border-right: 1px solid var(--rule);
}

.steps li + li {
  padding-left: 30px;
}

.steps li:last-child {
  border-right: 0;
  padding-right: 0;
}

.step-no {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--red);
}

.steps h3 {
  margin: 48px 0 14px;
  font-family: var(--display);
  font-size: clamp(24px, 2.25vw, 32px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.steps p {
  max-width: 330px;
  color: var(--ink-2);
  font-size: 16px;
}

.step-note {
  display: inline-block;
  margin-top: 24px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* featured set — dark interlude */

.featured {
  background: var(--ink);
  color: var(--paper);
  border-top: 0;
}

.featured .section-index {
  color: #d98f73;
}

.featured .section-index::before {
  background: #d98f73;
}

.featured .h2 em {
  color: #d98f73;
}

.featured .section-intro {
  color: rgba(242, 236, 223, 0.7);
}

.featured .micro {
  color: rgba(242, 236, 223, 0.52);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 0.87fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.feature-stage {
  position: relative;
  min-height: 570px;
}

.feature-frame {
  position: absolute;
  margin: 0;
  padding: 10px;
  background: #0d0c0a;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.48);
}

.feature-frame .mat {
  padding: 4.5%;
  background: #f4eee3;
}

.feature-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-frame figcaption {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 236, 223, 0.55);
  white-space: nowrap;
}

.feature-frame-a {
  left: 0;
  top: 3%;
  width: 76%;
  aspect-ratio: 1.306;
}

.feature-frame-b {
  right: 0;
  bottom: 1%;
  width: 46%;
  aspect-ratio: 1.831;
}

.feature-frame-b figcaption {
  left: auto;
  right: 0;
}

.feature-plate {
  position: absolute;
  top: 0;
  right: 2%;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 236, 223, 0.45);
  writing-mode: vertical-rl;
}

.feature-stamp {
  position: absolute;
  left: 2%;
  bottom: 4%;
  width: 58px;
  height: 58px;
  display: grid;
  place-content: center;
  border: 1px solid #d98f73;
  border-radius: 50%;
  color: #d98f73;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.feature-copy {
  position: relative;
}

.feature-copy .eyebrow {
  margin-bottom: 18px;
  color: rgba(242, 236, 223, 0.55);
}

.feature-copy .eyebrow::before {
  background: #d98f73;
}

.feature-copy .h2 {
  font-size: clamp(46px, 5.6vw, 78px);
}

.feature-copy .h2 em {
  color: #d98f73;
}

.feature-desc {
  max-width: 440px;
  margin-top: 22px;
  color: rgba(242, 236, 223, 0.72);
  font-size: 18px;
}

.feature-specs {
  margin-top: 30px;
  border-top: 1px solid var(--rule-light);
}

.feature-spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-light);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.feature-spec span {
  color: rgba(242, 236, 223, 0.52);
}

.feature-spec b {
  font-weight: 500;
  color: var(--paper);
}

.feature-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid currentColor;
  padding: 5px 9px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.badge-red {
  color: var(--red);
}

.badge-muted {
  color: var(--ink-3);
}

.on-dark .badge {
  color: #d98f73;
}

/* manifest */

.included-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.included-copy .h2 {
  margin-top: 20px;
}

.included-copy p {
  max-width: 420px;
  margin-top: 22px;
  color: var(--ink-2);
}

.manifest {
  position: relative;
  padding: 26px;
  border: 1px dashed var(--rule-2);
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(28, 26, 22, 0.05);
  transform: rotate(-0.35deg);
}

.manifest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manifest ul {
  list-style: none;
}

.manifest li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.4;
}

.manifest li:last-child {
  border-bottom: 0;
}

.manifest li span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--red);
}

.manifest-stamp {
  position: absolute;
  right: 22px;
  bottom: -28px;
  width: 74px;
  height: 74px;
  display: grid;
  place-content: center;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: var(--paper);
  color: var(--red);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-11deg);
}

/* sources */

.source-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.source-copy .h2 {
  margin-top: 20px;
}

.source-copy p {
  max-width: 520px;
  margin-top: 22px;
  color: var(--ink-2);
}

.source-copy .text-link {
  margin-top: 28px;
}

.source-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule-2);
  border-left: 1px solid var(--rule-2);
}

.source-fact {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-right: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
}

.source-fact .mono {
  color: var(--ink-3);
}

.source-fact b {
  font-family: var(--display);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

/* guides teaser */

.guide-list {
  border-top: 1px solid var(--rule-2);
}

.guide-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1.1fr) minmax(0, 1.2fr) 32px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition: padding-left 0.3s var(--ease), background 0.3s;
}

.guide-row:hover {
  padding-left: 14px;
  background: rgba(251, 248, 241, 0.36);
}

.guide-row .mono {
  color: var(--red);
}

.guide-row h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2.35vw, 32px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.guide-row p {
  color: var(--ink-3);
  font-size: 15px;
}

.guide-row .arrow {
  font-size: 20px;
  transition: transform 0.3s var(--ease);
}

.guide-row:hover .arrow {
  transform: translateX(6px);
}

/* closing */

.closing {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}

.closing::before,
.closing::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background-image: repeating-linear-gradient(90deg, var(--rule-2) 0 1px, transparent 1px 24px);
}

.closing::before {
  top: 0;
}

.closing::after {
  bottom: 0;
}

.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 40px;
  align-items: end;
  padding-block: clamp(72px, 9vw, 128px);
}

.closing h2 {
  margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.closing h2 em {
  font-weight: 400;
  color: var(--red);
}

.closing-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 6px;
}

/* ------------------------------ footer ------------------------------ */

.site-footer {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.6fr));
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule-light);
}

.footer-word {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.footer-word em {
  font-weight: 400;
  font-style: italic;
  color: #d98f73;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 18px;
  color: rgba(242, 236, 223, 0.64);
  font-size: 16px;
}

.footer-stamp {
  display: inline-block;
  margin-top: 22px;
  padding: 8px 10px;
  border: 1px solid rgba(242, 236, 223, 0.3);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(242, 236, 223, 0.6);
  transform: rotate(-2deg);
}

.footer-col h3 {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 236, 223, 0.45);
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: #d98f73;
}

.footer-ghost {
  padding-top: 24px;
  font-family: var(--display);
  font-size: clamp(78px, 16vw, 220px);
  font-weight: 500;
  line-height: 0.72;
  letter-spacing: -0.065em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 236, 223, 0.14);
  user-select: none;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--rule-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-transform: uppercase;
  color: rgba(242, 236, 223, 0.45);
}

.footer-base a {
  text-decoration: none;
}

.footer-base a:hover {
  color: var(--paper);
}

/* ------------------------------ catalogue ------------------------------ */

.page-head {
  padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--rule-2);
}

.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}

.page-head h1 {
  margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 116px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.page-head h1 em {
  font-weight: 400;
  color: var(--red);
}

.page-head .lede {
  max-width: 560px;
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 19px;
}

.page-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule-2);
  border-left: 1px solid var(--rule-2);
}

.page-stat {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-right: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
}

.page-stat b {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.page-stat span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.filter-label {
  margin-right: 8px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.filter-btn {
  border: 1px solid transparent;
  background: transparent;
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: border-color 0.2s, color 0.2s;
}

.filter-btn:hover {
  color: var(--ink);
}

.filter-btn.is-active {
  border-color: var(--ink);
  color: var(--ink);
}

.catalogue {
  padding: clamp(36px, 5vw, 64px) 0 0;
}

.catalogue-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--rule-2);
}

.catalogue-wall {
  position: relative;
  min-height: 460px;
}

.catalogue-wall .feature-frame-a {
  width: 72%;
  top: 0;
}

.catalogue-wall .feature-frame-b {
  width: 46%;
  bottom: 0;
}

.catalogue-wall .feature-frame {
  box-shadow: 0 18px 44px rgba(28, 26, 22, 0.22);
}

.catalogue-wall .feature-frame figcaption {
  color: var(--ink-3);
}

.catalogue-copy .badge {
  margin-bottom: 20px;
}

.catalogue-copy h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.catalogue-copy h2 em {
  font-weight: 400;
  color: var(--red);
}

.catalogue-copy p {
  max-width: 430px;
  margin-top: 20px;
  color: var(--ink-2);
}

.catalogue-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.chip {
  border: 1px solid var(--rule-2);
  padding: 5px 9px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.catalogue-copy .btn {
  margin-top: 28px;
}

.published-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--rule-2);
}

.published-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule-2);
  background: rgba(251, 248, 241, 0.3);
}

.published-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 18%, rgba(255, 255, 255, 0.06), transparent 62%),
    #171512;
}

.published-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.2), transparent 46%);
  pointer-events: none;
}

.published-code {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  color: rgba(242, 236, 223, 0.5);
}

.published-frame {
  position: absolute;
  z-index: 2;
  margin: 0;
  border: 5px solid #0d0c0a;
  background: #0d0c0a;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.published-frame .mat {
  width: 100%;
  height: 100%;
  padding: 4%;
  background: #f4eee3;
}

.published-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.published-frame-a {
  left: 7%;
  top: 11%;
  width: 58%;
}

.published-frame-b {
  right: 6%;
  bottom: 13%;
  width: 38%;
}

.published-card:hover .published-frame-a,
.published-card:focus-within .published-frame-a {
  transform: translateY(-4px);
}

.published-card:hover .published-frame-b,
.published-card:focus-within .published-frame-b {
  transform: translateY(3px);
}

.published-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 2.4vw, 30px);
}

.published-copy .badge {
  margin-bottom: 14px;
}

.published-copy h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.published-copy h3 em {
  font-weight: 400;
  color: var(--red);
}

.published-copy p {
  max-width: 42ch;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 14.5px;
}

.published-copy .catalogue-specs {
  margin-top: 18px;
}

.published-copy .text-link {
  margin-top: 22px;
}

.featured-others {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 34px);
  align-items: center;
  margin-top: clamp(34px, 4vw, 54px);
  padding-top: 20px;
  border-top: 1px solid rgba(242, 236, 223, 0.18);
}

.featured-others-label {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(242, 236, 223, 0.48);
}

.featured-other {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 9px 0;
  color: var(--paper);
  transition: color 220ms ease;
}

.featured-other:hover,
.featured-other:focus-visible {
  color: var(--red-2, #d06a4e);
}

.featured-other-thumb {
  flex: none;
  width: 62px;
  aspect-ratio: 4 / 3;
  padding: 3px;
  border: 1px solid rgba(242, 236, 223, 0.22);
  background: #0d0c0a;
}

.featured-other-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-other-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.featured-other-copy b {
  overflow: hidden;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-other-copy span {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 236, 223, 0.48);
}

.featured-other .arrow {
  margin-left: auto;
  flex: none;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: clamp(40px, 5vw, 64px);
}

.studio-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--rule-2);
  background: rgba(251, 248, 241, 0.28);
  overflow: hidden;
}

.studio-card::before {
  content: "";
  position: absolute;
  inset: 20px 20px auto auto;
  width: 40%;
  aspect-ratio: 8 / 10;
  border: 6px solid var(--paper-3);
  background-image:
    repeating-linear-gradient(45deg, transparent 0 9px, rgba(28, 26, 22, 0.07) 9px 10px),
    repeating-linear-gradient(-45deg, transparent 0 9px, rgba(28, 26, 22, 0.05) 9px 10px);
  opacity: 0.85;
}

.studio-card .badge {
  align-self: flex-start;
  color: var(--ink-3);
}

.studio-card h3 {
  position: relative;
  margin-top: auto;
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.studio-card p {
  position: relative;
  max-width: 280px;
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 14px;
}

.studio-card .mono {
  position: relative;
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-size: 7px;
  color: var(--ink-3);
}

.catalogue-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--rule-2);
}

.catalogue-note p {
  max-width: 460px;
  color: var(--ink-2);
}

.catalogue-note .mono {
  color: var(--ink-3);
}

/* ------------------------------ set detail ------------------------------ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 30px 0 22px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--red);
}

.set-header {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule-2);
}

.set-header h1 {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(50px, 7.6vw, 108px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.set-header h1 em {
  font-weight: 400;
  color: var(--red);
}

.set-header .lede {
  max-width: 600px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 19px;
}

.set-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  text-align: right;
}

.set-meta .mono {
  color: var(--ink-3);
}

.set-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  padding-top: 38px;
}

.preview-panel {
  min-width: 0;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toolbar-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.segmented {
  display: inline-flex;
  border: 1px solid var(--rule-2);
}

.segmented :is(button, a) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  min-width: 62px;
  min-height: 34px;
  border: 0;
  border-right: 1px solid var(--rule-2);
  background: transparent;
  padding: 0 11px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.segmented :is(button, a):last-child {
  border-right: 0;
}

.segmented :is(button, a):hover {
  background: var(--paper-2);
}

.segmented :is(button, a).is-active,
.segmented a[aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
}

.segmented a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  z-index: 1;
}

.segmented button .mode-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: 1px;
}

.segmented button.is-active .mode-dot {
  background: #d98f73;
}

.opening-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  cursor: pointer;
}

.opening-toggle input {
  accent-color: var(--red);
  width: 13px;
  height: 13px;
}

.preview-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(26px, 4vw, 56px);
  border: 1px solid var(--rule);
  background:
    radial-gradient(700px 480px at 50% 20%, rgba(169, 190, 194, 0.16), transparent 65%),
    linear-gradient(160deg, #e8decd, #f0e8db 55%, #e3d7c5);
}

.preview-stage::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 54%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule), transparent);
}

.preview-frame {
  position: relative;
  width: min(100%, 600px);
  aspect-ratio: var(--paper-w, 1.25) / var(--paper-h, 1);
  padding: 11px;
  background: #26231e;
  box-shadow: var(--shadow-deep);
  transition: width 0.4s var(--ease);
}

.preview-paper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--white);
}

.preview-art {
  position: absolute;
  top: var(--inset-y, 15.6%);
  right: var(--inset-x, 12.5%);
  bottom: var(--inset-y, 15.6%);
  left: var(--inset-x, 12.5%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: top 0.45s var(--ease), right 0.45s var(--ease), bottom 0.45s var(--ease), left 0.45s var(--ease);
}

.preview-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s;
}

.preview-paper.is-crop .preview-art {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.preview-paper.is-crop .preview-art img {
  object-fit: cover;
}

.opening-line {
  position: absolute;
  top: var(--open-y, 3.1%);
  right: var(--open-x, 2.5%);
  bottom: var(--open-y, 3.1%);
  left: var(--open-x, 2.5%);
  z-index: 3;
  border: 1px dashed rgba(180, 70, 44, 0.62);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.25s;
}

.opening-line.is-hidden {
  opacity: 0;
}

.preview-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--ink-3);
}

.preview-caption .ppi-badge {
  flex: none;
}

.ppi-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--rule-2);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.ppi-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
}

.ppi-badge.is-good::before {
  background: var(--gold);
}

.ppi-badge.is-no::before {
  background: var(--red);
}

.preview-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.thumb {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--rule);
  background: transparent;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}

.thumb:hover {
  background: rgba(251, 248, 241, 0.4);
}

.thumb.is-active {
  border-color: var(--ink);
  background: var(--white);
}

.thumb img {
  width: 54px;
  height: 42px;
  object-fit: cover;
}

.thumb b {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
}

.thumb span {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.thumb .thumb-ppi {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
}

.preview-note {
  display: flex;
  gap: 9px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}

.preview-note::before {
  content: "i";
  flex: none;
  width: 15px;
  height: 15px;
  display: grid;
  place-content: center;
  border: 1px solid var(--rule-2);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
}

/* order panel */

.order-panel {
  position: sticky;
  top: 100px;
  border: 1px solid var(--ink);
  border-top: 4px solid var(--red);
  background: var(--white);
  padding: 20px;
}

.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.order-title {
  margin: 16px 0 4px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.order-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  color: var(--red);
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.order-price small {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.order-specs {
  margin-top: 18px;
  border-top: 1px solid var(--rule-2);
}

.order-spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.order-spec span {
  color: var(--ink-3);
}

.order-spec b {
  font-weight: 500;
  text-align: right;
}

.ppi-ledger {
  margin-top: 18px;
}

.ppi-ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.ppi-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--rule);
}

.ppi-work {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.ppi-value {
  font-family: var(--mono);
  font-size: 12px;
  text-align: right;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
}

.status-good {
  color: var(--gold);
}

.status-good::before {
  background: var(--gold);
}

.status-no {
  color: var(--red);
}

.status-no::before {
  background: var(--red);
}

.warning {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--red);
  background: rgba(180, 70, 44, 0.055);
  font-size: 13px;
  line-height: 1.45;
}

.warning b {
  font-weight: 600;
}

.warning button {
  margin-top: 10px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--red);
  background: transparent;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.warning button:hover {
  background: var(--red);
  color: var(--paper);
}

.order-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.order-fine {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--ink-3);
}

.order-included {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--rule-2);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-2);
}

.order-included b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* set story */

.set-story {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--rule-2);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.story-grid > div > .h2 {
  margin-top: 18px;
  font-size: clamp(36px, 4.4vw, 58px);
}

.story-copy p {
  max-width: 480px;
  margin-top: 20px;
  color: var(--ink-2);
}

.story-copy .text-link {
  margin-top: 24px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.work-card {
  border-top: 1px solid var(--rule-2);
  padding-top: 12px;
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-2);
}

.work-card .work-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.work-card h3 {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.work-card .artist {
  margin-top: 5px;
  font-size: 14px;
  font-style: italic;
  color: var(--ink-3);
}

.work-card .work-spec {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
  line-height: 1.8;
  text-transform: uppercase;
  color: var(--ink-3);
}

.work-card button {
  margin-top: 12px;
  border: 0;
  border-bottom: 1px solid var(--rule-2);
  background: transparent;
  padding: 0 0 3px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-card button:hover {
  color: var(--red);
  border-color: var(--red);
}

/* size table */

.size-ledger {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--rule-2);
}

.table-wrap {
  margin-top: 24px;
  overflow-x: auto;
}

.size-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.size-table th,
.size-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  white-space: nowrap;
}

.size-table th {
  border-top: 1px solid var(--rule-2);
  font-weight: 400;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.size-table td:first-child {
  font-size: 11px;
  color: var(--ink);
}

.size-table .cell-pair {
  display: flex;
  gap: 8px;
  align-items: center;
}

.size-table .cell-pair b {
  font-weight: 500;
}

.size-table .cell-pair .ledger-low {
  color: var(--red);
}

.size-table small {
  font-size: 7px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.table-footnote {
  margin-top: 12px;
  max-width: 700px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* print notes */

.print-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--rule-2);
}

.print-note {
  padding: 22px 24px 0 0;
  border-right: 1px solid var(--rule);
}

.print-note + .print-note {
  padding-left: 24px;
}

.print-note:last-child {
  border-right: 0;
  padding-right: 0;
}

.print-note .mono {
  color: var(--red);
}

.print-note h3 {
  margin: 36px 0 10px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.print-note p {
  color: var(--ink-2);
  font-size: 15px;
}

/* source + in studio */

.set-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(36px, 6vw, 80px);
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--rule-2);
}

.set-sources p {
  max-width: 560px;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 15px;
}

.set-sources .source-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.set-sources .source-links a {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 5px;
  max-width: 480px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.set-sources .source-links a:hover {
  color: var(--red);
  border-color: var(--red);
}

.related-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule-2);
}

.related-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}

.related-item b {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.related-item span {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
}

.related-item:hover b {
  color: var(--red);
}

/* dialog */

dialog.record-dialog {
  width: min(680px, calc(100vw - 40px));
  max-height: calc(100vh - 60px);
  overflow: auto;
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-deep);
}

dialog.record-dialog::backdrop {
  background: rgba(28, 26, 22, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule-2);
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.record-head button {
  border: 1px solid var(--rule-2);
  background: transparent;
  min-height: 30px;
  padding: 0 10px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.record-body {
  padding: 22px;
}

.record-body h2 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.record-body .record-artist {
  margin-top: 6px;
  font-size: 15px;
  font-style: italic;
  color: var(--ink-3);
}

.record-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.record-table th,
.record-table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.record-table th {
  width: 34%;
  font-weight: 400;
  color: var(--ink-3);
}

.record-table td {
  word-break: break-word;
}

.record-body .text-link {
  margin-top: 18px;
}

.record-note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--rule-2);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(520px, calc(100vw - 40px));
  padding: 13px 18px;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
}

/* ------------------------------ fit studio ------------------------------ */

.fit-head {
  padding: clamp(40px, 6vw, 76px) 0 34px;
  border-bottom: 1px solid var(--rule-2);
}

.fit-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}

.fit-head h1 {
  margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(52px, 7.6vw, 108px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.fit-head h1 em {
  font-weight: 400;
  color: var(--red);
}

.fit-head .lede {
  max-width: 620px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 19px;
}

.fit-head-note {
  padding: 18px;
  border-left: 1px solid var(--rule-2);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

.fit-head-note b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
  padding-top: 36px;
  padding-bottom: clamp(64px, 8vw, 100px);
}

.work-order {
  border: 1px solid var(--ink);
  border-top: 4px solid var(--red);
  background: var(--white);
}

.work-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.work-order-body {
  padding: 16px;
}

.work-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.unit-toggle {
  display: inline-flex;
  border: 1px solid var(--rule-2);
}

.unit-toggle button {
  min-width: 38px;
  min-height: 28px;
  border: 0;
  border-right: 1px solid var(--rule-2);
  background: transparent;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.unit-toggle button:last-child {
  border-right: 0;
}

.unit-toggle button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.order-table {
  border-top: 1px solid var(--rule-2);
}

.order-head-row,
.order-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1fr) 74px;
  gap: 9px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}

.order-head-row {
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-3);
}

.frame-tag {
  width: 27px;
  height: 27px;
  display: grid;
  place-content: center;
  border: 1px solid var(--rule-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
}

.dim-inputs {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 11px;
}

.dim-label {
  display: none;
}

.dim-inputs input {
  width: 55px;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  padding: 3px 1px;
  font-family: var(--mono);
  font-size: 13px;
  text-align: center;
}

.dim-inputs input:focus {
  outline: 0;
  border-bottom-color: var(--red);
}

.preset-select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  padding: 4px 0;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.order-row .remove-frame {
  grid-column: 4;
  margin-top: 6px;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: left;
}

.order-row .remove-frame:hover {
  color: var(--red);
}

.order-row .remove-frame:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.order-row-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-help {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}

.order-help b {
  color: var(--ink-2);
  font-weight: 500;
}

.order-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.order-buttons .btn {
  min-height: 44px;
  padding-inline: 16px;
}

.order-buttons .btn-ghost {
  border-color: var(--rule-2);
  color: var(--ink-3);
}

.order-buttons .btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.local-note {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--rule-2);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* report */

.report {
  min-width: 0;
}

.report-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-2);
}

.report-head h2 {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.report-head h2 em {
  font-weight: 400;
  color: var(--red);
}

.report-count {
  flex: none;
  text-align: right;
}

.report-count b {
  display: block;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.report-count span {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.report-wall {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  min-height: 320px;
  margin-top: 20px;
  padding: 44px 24px 36px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background:
    radial-gradient(600px 360px at 50% 14%, rgba(169, 190, 194, 0.18), transparent 65%),
    linear-gradient(160deg, #e8decd, #f0e8db 54%, #e3d7c5);
}

.report-wall::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 31%;
  height: 1px;
  background: var(--rule-2);
}

.mini-frame {
  position: relative;
  flex: none;
  padding: 5px;
  background: #26231e;
  box-shadow: 0 16px 34px rgba(28, 26, 22, 0.22);
}

.mini-mat {
  width: 100%;
  height: 100%;
  background: var(--white);
}

.mini-mat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-frame.is-mat .mini-mat {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-frame.is-mat .mini-mat img {
  width: var(--mini-art-w, 76%);
  height: var(--mini-art-h, 76%);
  object-fit: contain;
}

.mini-frame.is-empty .mini-mat {
  display: grid;
  place-content: center;
  border: 1px dashed rgba(28, 26, 22, 0.35);
  background-image:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(28, 26, 22, 0.07) 8px 9px),
    repeating-linear-gradient(-45deg, transparent 0 8px, rgba(28, 26, 22, 0.05) 8px 9px);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.mini-tag {
  position: absolute;
  top: -21px;
  left: 0;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.mini-state {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-3);
}

.report-results {
  margin-top: 24px;
}

.match-list {
  border-top: 1px solid var(--rule-2);
}

.match-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.match-tag {
  width: 26px;
  height: 26px;
  display: grid;
  place-content: center;
  border: 1px solid var(--rule-2);
  font-family: var(--mono);
  font-size: 10px;
}

.match-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.match-spec {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--ink-3);
}

.match-state {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.match-state a {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--rule-2);
  padding-bottom: 3px;
}

.match-state a:hover {
  color: var(--red);
  border-color: var(--red);
}

.no-match {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 32px;
  border: 1px dashed var(--rule-2);
  text-align: center;
}

.no-match h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.no-match p {
  max-width: 420px;
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 15px;
}

.report-why {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 2px solid var(--red);
  background: var(--paper-2);
}

.report-why h3 {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.report-why p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
}

.report-why .calc {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 8px;
  background: var(--white);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  color: var(--ink-2);
}

.report-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.report-actions .btn {
  min-height: 46px;
}

/* measurement section */

.measure-section {
  padding-block: clamp(56px, 7vw, 92px);
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}

.measure-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.measure-copy .h2 {
  margin-top: 18px;
  font-size: clamp(36px, 4.6vw, 60px);
}

.measure-copy p {
  max-width: 480px;
  margin-top: 20px;
  color: var(--ink-2);
}

.measure-copy .micro {
  margin-top: 22px;
  color: var(--ink-3);
}

.diagram-card {
  border: 1px solid var(--rule-2);
  background: var(--white);
  padding: clamp(18px, 3vw, 30px);
}

.diagram-card svg {
  width: 100%;
  height: auto;
}

.diagram-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ------------------------------ guides ------------------------------ */

.guide-head {
  padding: clamp(40px, 6vw, 76px) 0 34px;
  border-bottom: 1px solid var(--rule-2);
}

.guide-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}

.guide-head h1 {
  margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(52px, 7.6vw, 112px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.guide-head h1 em {
  font-weight: 400;
  color: var(--red);
}

.guide-head .lede {
  max-width: 620px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 19px;
}

.guide-head-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
}

.guide-head-meta .mono {
  color: var(--ink-3);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
  padding-top: 42px;
  padding-bottom: clamp(64px, 8vw, 100px);
}

.article-body {
  min-width: 0;
}

.article-body .lead {
  max-width: 700px;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--ink-2);
}

.article-body h2 {
  max-width: 720px;
  margin-top: clamp(44px, 6vw, 72px);
  font-family: var(--display);
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  scroll-margin-top: 110px;
}

.article-body h2 em {
  font-weight: 400;
  color: var(--red);
}

.article-body h3 {
  margin-top: 30px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.article-body p {
  max-width: 700px;
  margin-top: 18px;
  color: var(--ink-2);
}

.article-body ul,
.article-body ol {
  max-width: 700px;
  margin-top: 18px;
  padding-left: 22px;
  color: var(--ink-2);
}

.article-body li {
  margin-top: 8px;
}

.pullquote {
  max-width: 760px;
  margin: clamp(36px, 4vw, 52px) 0;
  padding-left: 26px;
  border-left: 2px solid var(--red);
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.pullquote em {
  color: var(--red);
}

.article-figure {
  margin-top: 28px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--rule-2);
  background: var(--white);
}

.article-figure figcaption {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ink-3);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}

.compare-card {
  padding: 18px;
  border: 1px solid var(--rule-2);
  background: var(--white);
}

.compare-card .mono {
  color: var(--red);
}

.compare-card h3 {
  margin-top: 16px;
}

.compare-card p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-3);
}

.compare-visual {
  position: relative;
  aspect-ratio: 10 / 8;
  margin-top: 16px;
  border: 1px solid var(--rule);
  background: #26231e;
  padding: 6px;
}

.compare-visual .paper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--white);
}

.compare-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-visual.is-mat .paper {
  padding: 12%;
}

.compare-visual.is-mat img {
  object-fit: contain;
}

.checklist {
  max-width: 700px;
  list-style: none;
  margin-top: 22px;
  border-top: 1px solid var(--rule-2);
}

.checklist li {
  position: relative;
  margin: 0;
  padding: 14px 0 14px 40px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}

.checklist li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--red);
}

.checklist {
  counter-reset: item;
}

.sidebar {
  position: sticky;
  top: 104px;
}

.side-block {
  padding: 16px 0 20px;
  border-top: 1px solid var(--rule-2);
}

.side-block h3 {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.toc {
  margin-top: 12px;
}

.toc a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.toc a:hover {
  color: var(--red);
}

.converter {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.converter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.converter-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--rule-2);
  border-radius: 0;
  background: transparent;
  padding: 6px 2px;
  font-family: var(--mono);
  font-size: 20px;
  text-align: right;
}

.converter-row input:focus {
  outline: 0;
  border-bottom-color: var(--red);
}

.converter-row span {
  flex: none;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.converter-note {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.05em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--ink-3);
}

.side-note {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}

.guide-rows {
  margin-top: 22px;
  border-top: 1px solid var(--rule-2);
}

.guide-rows a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}

.guide-rows a span:first-child {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--red);
}

.guide-rows a b {
  flex: 1;
  font-weight: 400;
}

.guide-rows a:hover b {
  color: var(--red);
}

/* ------------------------------ styleguide ------------------------------ */

.style-page {
  background: var(--paper);
}

.style-header {
  border-bottom: 1px solid var(--rule-2);
}

.style-header .header-inner {
  height: 72px;
}

.style-main {
  padding-bottom: clamp(64px, 8vw, 100px);
}

.style-intro {
  padding: clamp(40px, 6vw, 72px) 0 34px;
  border-bottom: 1px solid var(--rule-2);
}

.style-intro h1 {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.style-intro h1 em {
  font-weight: 400;
  color: var(--red);
}

.style-intro .lede {
  max-width: 620px;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 18px;
}

.style-section {
  padding-block: clamp(44px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
}

.style-section > .section-index {
  margin-bottom: 22px;
}

.style-section h2 {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.style-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.swatch {
  border: 1px solid var(--rule);
}

.swatch-color {
  height: 92px;
}

.swatch-info {
  padding: 10px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ink-3);
}

.type-spec {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.type-spec:first-child {
  border-top: 1px solid var(--rule);
}

.type-spec .mono {
  color: var(--ink-3);
}

.type-spec .display-sample {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.type-spec .body-sample {
  font-size: 18px;
}

.type-spec .mono-sample {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.component-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.page-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.page-map a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 110px;
  padding: 14px;
  border: 1px solid var(--rule-2);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.page-map a:hover {
  border-color: var(--ink);
  background: var(--white);
}

.page-map a b {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.page-map a span {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ink-3);
}

.note-block {
  margin-top: 20px;
  padding: 16px;
  border-left: 2px solid var(--red);
  background: var(--paper-2);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.ledger-demo {
  max-width: 520px;
  margin-top: 22px;
  border: 1px solid var(--ink);
  border-top: 3px solid var(--red);
  background: var(--white);
  padding: 18px;
}

/* ------------------------------ reveal / motion ------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------ responsive ------------------------------ */

@media (max-width: 1120px) {
  .nav {
    gap: 20px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero h1 {
    font-size: clamp(62px, 9vw, 108px);
  }

  .feature-stage {
    min-height: 480px;
  }

  .set-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.8fr);
  }

  .preview-stage {
    min-height: 520px;
  }

  .fit-layout {
    grid-template-columns: minmax(0, 410px) minmax(0, 1fr);
  }
}

@media (max-width: 940px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-grid,
  .feature-grid,
  .included-grid,
  .source-grid,
  .section-head,
  .page-head-grid,
  .set-header,
  .fit-head-grid,
  .guide-head-grid,
  .story-grid,
  .set-bottom,
  .catalogue-feature,
  .catalogue-note,
  .measure-grid,
  .article-layout,
  .style-grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 44px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    max-width: 620px;
  }

  .hero-ruler {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li,
  .steps li + li {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .steps li:last-child {
    border-bottom: 0;
  }

  .steps h3 {
    margin-top: 26px;
  }

  .feature-stage {
    min-height: 540px;
    max-width: 620px;
  }

  .set-meta,
  .guide-head-meta {
    align-items: flex-start;
    text-align: left;
  }

  .set-layout {
    grid-template-columns: 1fr;
  }

  .order-panel {
    position: static;
  }

  .preview-stage {
    min-height: 560px;
  }

  .fit-layout {
    grid-template-columns: 1fr;
  }

  .fit-head-note {
    border-left: 0;
    border-top: 1px solid var(--rule-2);
    padding-left: 0;
  }

  .report-wall {
    min-height: 300px;
  }

  .sidebar {
    position: static;
  }

  .studio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .print-notes {
    grid-template-columns: 1fr;
  }

  .print-note,
  .print-note + .print-note {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .print-note:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .closing-inner {
    grid-template-columns: 1fr;
  }

  .page-map {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 660px) {
  body {
    font-size: 17px;
  }

  .announce p {
    font-size: 8px;
  }

  .announce a {
    display: none;
  }

  .header-inner {
    height: 64px;
    gap: 16px;
  }

  .brand-word {
    font-size: 20px;
  }

  .brand-mark {
    width: 23px;
    height: 23px;
  }

  .lang {
    display: none;
  }

  .mobile-nav-foot .lang {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .hero .lede {
    font-size: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .wall {
    aspect-ratio: 1 / 1.12;
  }

  .frame-a {
    width: 66%;
  }

  .frame-b {
    top: 54%;
  }

  .empty-frame {
    width: 31%;
  }

  .stamp {
    width: 44px;
    height: 44px;
    font-size: 5.5px;
  }

  .fit-slip {
    box-shadow: 5px 5px 0 rgba(28, 26, 22, 0.055);
  }

  .slip-body {
    grid-template-columns: 1fr 1fr;
  }

  .slip-unit {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 10px 14px;
  }

  .slip-frame {
    padding: 11px 14px;
  }

  .slip-frame:nth-of-type(2n) {
    border-right: 0;
  }

  .slip-frame:last-of-type {
    grid-column: 1 / -1;
    border-right: 0;
    border-top: 1px solid var(--rule);
  }

  .slip-submit {
    grid-column: 1 / -1;
    border-top: 1px solid var(--rule);
    padding: 12px 14px;
  }

  .slip-submit .btn {
    width: 100%;
  }

  .announce {
    font-size: 7px;
    letter-spacing: 0.06em;
  }

  .announce-inner {
    min-height: 32px;
    gap: 12px;
    padding-block: 5px;
  }

  .announce a {
    display: none;
  }

  .slip-head {
    font-size: 7px;
  }

  .section-head,
  .hero-grid,
  .feature-grid,
  .included-grid,
  .source-grid,
  .set-layout,
  .fit-layout,
  .article-layout {
    gap: 28px;
  }

  .steps h3 {
    margin-top: 20px;
  }

  .feature-stage {
    min-height: 420px;
  }

  .feature-frame-a {
    width: 78%;
  }

  .feature-frame-b {
    width: 50%;
  }

  .feature-copy .h2 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .manifest {
    padding: 18px;
  }

  .manifest li {
    grid-template-columns: 26px 1fr;
    font-size: 14px;
  }

  .manifest-stamp {
    width: 62px;
    height: 62px;
    font-size: 6px;
    right: 14px;
    bottom: -24px;
  }

  .source-facts {
    grid-template-columns: 1fr;
  }

  .source-fact {
    min-height: 112px;
  }

  .guide-row {
    grid-template-columns: 34px 1fr 24px;
    gap: 12px;
    padding: 18px 0;
  }

  .guide-row p {
    display: none;
  }

  .guide-row .arrow {
    grid-column: 3;
  }

  .closing h2 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-base {
    flex-direction: column;
    gap: 8px;
  }

  .page-head h1,
  .guide-head h1,
  .fit-head h1,
  .set-header h1 {
    font-size: clamp(46px, 14vw, 70px);
  }

  .studio-grid {
    grid-template-columns: 1fr;
  }

  .published-grid {
    grid-template-columns: 1fr;
  }

  .featured-others {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .featured-other {
    padding: 12px 0;
    border-bottom: 1px solid rgba(242, 236, 223, 0.14);
  }

  .featured-other:last-child {
    border-bottom: 0;
  }

  .studio-card {
    min-height: 300px;
  }

  .preview-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .preview-stage {
    min-height: 380px;
    padding: 20px 14px;
  }

  .preview-caption {
    flex-direction: column;
    gap: 8px;
  }

  .preview-thumbs {
    grid-template-columns: 1fr;
  }

  .set-header {
    padding-bottom: 22px;
  }

  .set-meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-grid {
    gap: 30px;
  }

  .print-note h3 {
    margin-top: 22px;
  }

  .order-panel {
    padding: 15px;
  }

  .order-head-row {
    display: none;
  }

  .order-row {
    grid-template-columns: 32px 1fr;
    gap: 7px 10px;
    padding: 13px 0;
  }

  .order-row .dim-inputs {
    grid-column: 2;
    flex-wrap: wrap;
    row-gap: 2px;
  }

  .order-row .dim-label {
    display: block;
    flex: 0 0 100%;
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--ink-3);
  }

  .order-row .order-row-actions {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .order-row .remove-frame {
    margin-top: 0;
  }

  .dim-inputs input {
    width: 68px;
  }

  .report-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .report-count {
    text-align: left;
  }

  .report-wall {
    gap: 18px;
    min-height: 220px;
    padding: 34px 12px 30px;
  }

  .match-row {
    grid-template-columns: 28px 1fr;
  }

  .match-state {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .swatches {
    grid-template-columns: 1fr 1fr;
  }

  .type-spec {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page-map {
    grid-template-columns: 1fr;
  }

  .footer-ghost {
    font-size: clamp(64px, 20vw, 120px);
  }

  .article-body h2 {
    margin-top: 38px;
  }

  .diagram-caption {
    flex-direction: column;
    gap: 4px;
  }
}
