@font-face {
  font-family: Inter;
  src: url("fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f7f6ee;
  --ink: #20241e;
  --muted: #595d52;
  --rule: #c7c9b9;
  --chalk: #f5f5e9;
  --citron: #e8eea6;
  --rose: #edb7a7;
  --brand-blue: #2449ef;
  --display: "STIX Two Text", "Baskerville", Georgia, "Times New Roman", serif;
  --sans: Inter, Arial, sans-serif;
  --rail: 5.6rem;
  --gutter: clamp(1.5rem, 4.3vw, 5.5rem);
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.52 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
a, button { touch-action: manipulation; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h1, h2 { text-wrap: balance; }
button, input, textarea { border-radius: 0; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2c56e9; outline-offset: 4px; }
main:focus, h2[tabindex="-1"]:focus { outline: 0; }
.skip-link { position: fixed; z-index: 2000; top: .6rem; left: .6rem; transform: translateY(-160%); background: var(--chalk); color: var(--ink); padding: .6rem 1rem; }
.skip-link:focus { transform: none; }
.spine {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--ink);
  color: var(--chalk);
  overflow-y: auto;
}
.spine a:focus-visible, .spine button:focus-visible, .index-buy button:focus-visible, .kit-picker a:focus-visible { outline-color: var(--citron); outline-offset: -4px; }
.spine-brand { display: flex; align-items: center; gap: clamp(1.35rem, 4vh, 3rem); flex-direction: column; padding-top: 1.25rem; }
.brand-tile { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; background: var(--chalk); }
.brand-tile img { width: 2.1rem; height: 2.1rem; }
.brand-word { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1.26rem; line-height: 1; letter-spacing: .13em; font-weight: 740; }
.spine-tools { display: grid; margin: auto .46rem .65rem; }
.spine-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .33rem;
  border: 0;
  border-top: 1px solid #555a50;
  background: transparent;
  color: var(--chalk);
  min-height: 4.75rem;
  padding: .68rem .12rem;
  text-align: center;
  font-weight: 500;
  font-size: .79rem;
  white-space: nowrap;
}
.spine-link:hover, .spine-link[aria-current] { color: var(--citron); }
.spine-link svg { width: 1.3rem; height: 1.3rem; }
.bag-symbol { position: relative; display: inline-flex; }
.bag-count { position: absolute; left: calc(100% - .16rem); top: -.32rem; line-height: 1; font-size: .68rem; color: var(--ink); background: var(--citron); min-width: 1.05rem; min-height: 1.05rem; border-radius: 50%; display: grid; place-items: center; padding-inline: .14rem; font-weight: 650; }
.page-frame { margin-left: var(--rail); min-height: 100svh; display: flex; flex-direction: column; }
.page-frame main { flex: 1; min-width: 0; }
.action, .text-action, .poster-link { font-family: var(--sans); font-weight: 600; }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .53rem;
  min-height: 3rem;
  padding: .78rem 1.25rem;
  background: transparent;
  border: 1px solid currentColor;
  font-size: .95rem;
  line-height: 1.15;
  transition: background .16s, color .16s, border-color .16s;
}
.action-ink { border-color: var(--ink); background: var(--ink); color: var(--chalk); }
.action-ink:hover { background: #424a3a; color: white; }
.action-light { border-color: var(--chalk); background: var(--chalk); color: var(--ink); }
.action-light:hover { background: var(--citron); border-color: var(--citron); color: var(--ink); }
.action-outline { color: var(--ink); }
.action-outline:hover { background: #eaeade; }
.text-action, .poster-link {
  display: inline-block;
  width: fit-content;
  padding: .3rem 0;
  font-size: .95rem;
  line-height: 1.3;
  border: 0;
  border-bottom: 1.5px solid currentColor;
  background: transparent;
}
.text-action:hover, .poster-link:hover { border-bottom-width: 3px; padding-bottom: calc(.3rem - 1.5px); }
.folio-label, .poster-top, .selector-label {
  font-family: var(--sans);
  font-weight: 620;
  font-size: .79rem;
  line-height: 1.3;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* The showroom is a single poster with its kit selector at the edge of the page. */
.showroom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "poster poster" "picker buy";
  min-height: 100vh;
  min-height: max(100svh, min(47vw, 72rem), 38rem);
  background: var(--ink);
}
.poster-space { grid-area: poster; display: grid; min-width: 0; }
.poster {
  grid-area: 1 / 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #d6d58e;
  color: #1a2018;
  padding: clamp(1.6rem, 4.1vw, 4.5rem) var(--gutter);
}
.poster-hair { background: var(--rose); }
.poster-picture { position: absolute; z-index: -1; inset: 0; }
.poster-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.poster-top { display: flex; align-items: center; gap: 1rem; }
.poster-top::after { content: ""; width: clamp(2.8rem, 6vw, 7.3rem); border-top: 1px solid currentColor; opacity: .6; }
.poster-type { position: relative; margin-block: auto; padding-block: 1.6rem 2.6rem; width: min(44%, 36rem); }
.poster-type h2 { font-family: var(--display); font-weight: 400; line-height: .85; letter-spacing: -.073em; }
.poster-type h2 span { display: block; font-size: clamp(3.5rem, 6.85vw, 8.25rem); white-space: nowrap; }
.poster-type h2 em { display: block; width: fit-content; padding: .025em .07em .045em 0; font-size: clamp(6.8rem, 13.25vw, 15rem); line-height: .9; letter-spacing: -.082em; font-weight: 400; }
.poster-type p { margin: clamp(1.15rem, 2.1vw, 2.4rem) 0 1.1rem; max-width: 25ch; font-size: clamp(1rem, 1.32vw, 1.28rem); line-height: 1.4; letter-spacing: -.025em; }
.poster-link { font-size: .97rem; }
.kit-picker, .index-buy { background: var(--ink); color: var(--chalk); }
.kit-picker { grid-area: picker; display: flex; gap: clamp(.75rem, 2.5vw, 3rem); align-items: center; padding: 1.25rem .75rem 1.25rem var(--gutter); }
.selector-label { color: #d2d4c8; font-size: .76rem; white-space: nowrap; }
.kit-options { display: flex; flex-wrap: nowrap; gap: .55rem; }
.edition-choice {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  color: #eeefe4;
  min-width: 8.4rem;
  padding: .43rem .75rem .43rem .45rem;
  border: 1px solid #686e60;
  font-size: .97rem;
  line-height: 1.1;
  font-weight: 550;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.edition-choice img { width: 2.8rem; height: 2.8rem; object-fit: cover; }
.edition-choice:hover { background: #34392f; color: white; }
.edition-choice[aria-selected="true"] { background: var(--citron); color: var(--ink); border-color: var(--citron); }
.edition-choice[data-edition="hair"][aria-selected="true"] { background: var(--rose); border-color: var(--rose); }
.index-buy { grid-area: buy; display: flex; align-items: center; justify-content: end; gap: 1.1rem; padding: 1.25rem var(--gutter) 1.25rem .75rem; }
.index-buy > span { color: #dadcd0; font-size: .85rem; }
.index-buy .action { min-height: 3.1rem; }
@media (prefers-reduced-motion: no-preference) {
  .showroom[data-switched] .poster:not([hidden]) .poster-type { animation: reveal-type .3s ease-out; }
  @keyframes reveal-type { from { opacity: .35; transform: translateY(.35rem); } to { opacity: 1; transform: none; } }
}

/* Science feature */
.science-feature { background: #f5f1e8; }
.science-feature:focus { outline: 0; }
.science-spread, .formula-comparison { max-width: 102rem; margin-inline: auto; padding-inline: var(--gutter); }
.science-spread {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  grid-template-areas: "heading plate" "notes plate";
  grid-template-rows: auto 1fr;
  gap: clamp(1.7rem, 3vw, 3.5rem) clamp(2.4rem, 6.2vw, 7.5rem);
  padding-block: clamp(3rem, 5.5vw, 6.3rem);
}
.science-heading { grid-area: heading; align-self: end; }
.science-heading h2 {
  font: 400 clamp(2.15rem, 3.8vw, 4.25rem)/1.06 var(--display);
  letter-spacing: -.055em;
}
.science-heading em {
  display: block;
  margin-top: .065em;
  color: #783d22;
  font-size: clamp(4rem, 7.35vw, 8rem);
  line-height: .95;
  letter-spacing: -.07em;
}
.science-notes { grid-area: notes; max-width: 48ch; }
.science-notes > div + div { margin-top: clamp(1.25rem, 2vw, 2.2rem); }
.science-notes h3 { margin-bottom: .47rem; font-size: clamp(1.05rem, 1.36vw, 1.38rem); font-weight: 620; letter-spacing: -.035em; }
.science-notes p, .formula-comparison p { color: #494b41; font-size: clamp(.99rem, 1.15vw, 1.13rem); line-height: 1.58; }
.science-plate { grid-area: plate; align-self: center; }
.science-plate img { width: 100%; height: auto; aspect-ratio: 1.12; object-fit: cover; }
.science-plate figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem .8rem;
  padding: .6rem 0 .55rem;
  border-bottom: 1px solid #bdb8a9;
  color: #54574b;
  font-size: .79rem;
}
.formula-comparison {
  display: grid;
  grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr);
  gap: clamp(2.2rem,6vw,8rem);
  padding-bottom: clamp(3.3rem, 6.5vw, 7rem);
}
.formula-intro, .formula-list { border-top: 1px solid #797c6f; }
.formula-intro { padding-top: 1.25rem; }
.formula-intro h3 { font: 400 clamp(2.2rem, 3.5vw, 4.2rem)/1.03 var(--display); letter-spacing: -.06em; }
.formula-intro p { margin-top: .9rem; max-width: 34ch; }
.formula-list > div {
  display: grid;
  grid-template-columns: minmax(8.2rem, .73fr) minmax(0, 1.27fr);
  gap: clamp(1.25rem, 2vw, 2.5rem);
  padding: 1.15rem 0 1.3rem;
  border-bottom: 1px solid #bdb8a9;
}
.formula-list dt { font: 400 clamp(1.45rem, 2.05vw, 2.35rem)/1.12 var(--display); letter-spacing: -.05em; }
.formula-list dt em { white-space: nowrap; }
.formula-link { display: inline-flex; gap: .47rem; align-items: baseline; margin-top: .55rem; font-size: .92rem; font-weight: 600; text-decoration: underline; text-underline-offset: .25rem; }
.formula-link:hover { color: #783d22; }
.formula-link span { text-decoration: none; }
@media (max-width: 790px) {
  .science-spread { grid-template-columns: minmax(0,1fr); grid-template-areas: "heading" "notes" "plate"; gap: 1.6rem; }
  .science-notes { max-width: 60ch; }
  .science-plate img { aspect-ratio: 1.32; }
  .formula-comparison { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  .formula-intro { border: 0; padding: 0; }
  .formula-intro p { max-width: 50ch; }
}
@media (max-width: 530px) {
  .science-spread { padding-block: 2.7rem; }
  .science-plate img { aspect-ratio: 1.05; }
  .formula-list > div { grid-template-columns: minmax(0,1fr); gap: .55rem; }
}

/* Shared paper pages */
.paper-head { padding: 1.8rem var(--gutter) clamp(2.1rem, 4vw, 3.9rem); }
.paper-head nav { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; color: var(--muted); font-size: .87rem; }
.paper-head nav a { border-bottom: 1px solid #9fA493; }
.paper-head nav a:hover { color: var(--ink); border-color: currentColor; }
.dossier-title, .guide-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.75rem; margin-top: clamp(2.05rem, 4.5vw, 4.85rem); }
.paper-head h1, .kit-notes h2, .guide-intro h2, .contact-details h2, .empty-desk h2, .request-receipt h2, .sheet-head h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.066em; line-height: .97; }
.paper-head h1 { font-size: clamp(3.3rem, 6.9vw, 7.2rem); }
.paper-head h1 em, .kit-notes h2 em, .guide-intro h2 em, .contact-details h2 em, .empty-desk h2 em, .request-receipt h2 em, .sheet-head h2 em, .next-kit a em { font-weight: 400; }
.folio-label { color: var(--muted); margin-bottom: .78rem; }
.head-description, .guide-heading > p { max-width: 25rem; margin-bottom: .2rem; color: var(--muted); font-size: 1.035rem; }
.head-description { max-width: 20rem; }
.colophon { display: flex; gap: 1.15rem; align-items: center; flex-wrap: wrap; padding: 1rem var(--gutter); font-size: .82rem; color: var(--muted); border-top: 1px solid var(--rule); }
.colophon > :first-child { margin-right: auto; }
.colophon a { text-decoration: underline; text-underline-offset: .2rem; }

/* Product folio */
.purchase-band { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .82rem var(--gutter); border-block: 1px solid var(--ink); }
.price-note { color: var(--muted); font-size: .93rem; }
.buy-form { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.buy-form label { font-size: .9rem; font-weight: 600; }
.quantity-pick { display: inline-flex; align-items: stretch; height: 2.85rem; border: 1px solid #9da393; }
.quantity-pick button { display: grid; place-items: center; background: transparent; border: 0; width: 2.35rem; padding: 0; }
.quantity-pick button:disabled { opacity: .35; }
.quantity-pick button:hover:enabled { background: #e2e5d6; }
.quantity-pick input { width: 2.45rem; padding: 0; background: transparent; border: 0; text-align: center; color: var(--ink); font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.quantity-pick input::-webkit-inner-spin-button, .quantity-pick input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.dossier-spread { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 6rem); padding: clamp(1.8rem, 4vw, 4rem) var(--gutter); align-items: start; }
.product-gallery { min-width: 0; }
.gallery-frame { display: grid; background: #dce8f5; border: 1px solid rgb(32 36 30 / .1); }
.gallery-hair { background: #eadcf2; }
.gallery-frame img { grid-area: 1 / 1; width: 100%; height: auto; aspect-ratio: 1.1; object-fit: cover; }
.product-gallery figcaption { display: flex; align-items: center; justify-content: space-between; gap: .5rem; border-bottom: 1px solid var(--rule); padding: .58rem 0; }
.product-gallery figcaption > span { color: var(--muted); font-size: .78rem; }
.view-switch { display: inline-flex; align-items: center; gap: .4rem; }
.view-switch button { white-space: nowrap; border: 1px solid transparent; background: transparent; padding: .36rem .55rem; color: var(--muted); font-size: .86rem; }
.view-switch button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.kit-notes { margin-top: clamp(.15rem, 2.2vw, 2.15rem); }
.kit-notes h2, .guide-intro h2, .contact-details h2 { font-size: clamp(2.8rem, 4.8vw, 5rem); }
.kit-notes > p:not(.folio-label), .guide-intro p:not(.folio-label) { margin-top: 1.28rem; color: var(--muted); max-width: 43ch; }
.ingredient-list { margin: 1.7rem 0 1.3rem; border-top: 1px solid var(--rule); }
.ingredient-list > div { display: grid; grid-template-columns: minmax(3rem, .25fr) 1fr; gap: 1rem; border-bottom: 1px solid var(--rule); padding: .8rem 0; }
.ingredient-list dt { font-size: .92rem; font-weight: 650; }
.ingredient-list dd { color: var(--muted); font-size: .95rem; }
.next-kit { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.45rem var(--gutter); background: #e8e9db; border-top: 1px solid var(--rule); }
.next-kit span { color: var(--muted); font-size: .87rem; }
.next-kit a { font: 400 clamp(1.65rem, 3.1vw, 3.2rem)/1 var(--display); letter-spacing: -.045em; border-bottom: 1px solid transparent; }
.next-kit a:hover { border-color: currentColor; }

/* The reader's guide */
.guide-tabs { display: flex; flex-wrap: wrap; gap: .7rem 2.4rem; padding: .95rem var(--gutter); border-block: 1px solid var(--ink); }
.guide-tabs a { font-size: .91rem; font-weight: 600; }
.guide-tabs a:hover { text-decoration: underline; text-underline-offset: .24rem; }
.guide-spread { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(2rem, 5vw, 6rem); padding: clamp(2.8rem, 6vw, 6rem) var(--gutter); }
.guide-spread + .guide-spread { border-top: 1px solid var(--rule); }
.compare-table, .order-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: .85rem .6rem; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; }
.compare-table th:first-child { padding-left: 0; }
.compare-table tbody th { width: 21%; font-size: .88rem; font-weight: 650; }
.compare-table thead th { border-bottom-color: var(--ink); font-weight: 630; }
.compare-table thead a { text-decoration: underline; text-underline-offset: .21rem; }
.compare-table td { width: 39.5%; color: var(--muted); font-size: .94rem; }
.table-note { color: var(--muted); margin-top: 1rem; font-size: .87rem; }
.order-guide { background: #eeeee2; }
.order-steps { margin: 0; padding-left: 1.35rem; }
.order-steps li { padding: 0 0 1.15rem .45rem; border-bottom: 1px solid var(--rule); }
.order-steps li + li { padding-top: 1.15rem; }
.order-steps li::marker { font-family: var(--display); font-size: 1.12rem; font-style: italic; }
.order-steps h3 { font-size: 1.12rem; font-weight: 620; margin-bottom: .25rem; }
.order-steps p { color: var(--muted); }
.contact-block { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--ink); color: var(--chalk); }
.contact-details { padding: clamp(2.5rem,5vw,5rem) var(--gutter); align-self: center; }
.contact-details .folio-label { color: #dbdfcb; }
.contact-address { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin: 1.3rem 0 .25rem; }
.contact-address .email-text { overflow-wrap: anywhere; }
.copy-email { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid #929789; background: transparent; color: inherit; }
.copy-email:hover { color: var(--citron); border-color: currentColor; }
.contact-block > img { width: 100%; height: 100%; min-height: 16rem; object-fit: cover; }
#about, #ordering, #contact { scroll-margin-top: 1rem; }

/* Order form and receipt */
.order-desk { padding-bottom: clamp(2.6rem, 5vw, 5rem); }
.order-desk .paper-head { border-bottom: 1px solid var(--ink); }
.order-ledger, .desk-form, .request-receipt, .empty-desk { margin: clamp(1.8rem, 3.6vw, 3.5rem) var(--gutter) 0; }
.section-rule, .desk-submit, .sum-line, .sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.section-rule { margin-bottom: 1rem; }
.section-rule h2, .desk-form legend { font: 500 1.5rem/1.15 var(--sans); letter-spacing: -.045em; }
.order-table th, .order-table td { padding: .7rem .55rem; border-bottom: 1px solid var(--rule); }
.order-table thead th { text-transform: uppercase; font-size: .76rem; letter-spacing: .09em; color: var(--muted); font-weight: 600; border-block: 1px solid var(--rule); }
.order-table th { font-weight: 550; padding-left: 0; }
.order-table :is(th,td):last-child { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
.ledger-product { display: inline-flex; gap: .85rem; align-items: center; }
.ledger-product:hover { text-decoration: underline; text-underline-offset: .17rem; }
.ledger-product img { width: 3.15rem; height: 3.15rem; object-fit: cover; }
.order-table tfoot th, .order-table tfoot td { font-weight: 650; border: 0; }
.desk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4.5vw,5rem); }
.desk-form fieldset { min-width: 0; }
.desk-form legend { float: none; margin: 0 0 1.07rem; padding: 0; }
.form-label { display: block; margin-bottom: .32rem; font-size: .9rem; font-weight: 580; }
.form-label span { font-weight: 400; color: var(--muted); }
.form-control { border-radius: 0; min-height: 2.75rem; border: 1px solid #aeb1a2; background: #fffef9; color: var(--ink); padding: .52rem .7rem; }
.form-control:focus { color: var(--ink); border-color: var(--ink); background: #fffef9; box-shadow: 0 0 0 2px #d2dcab; }
.desk-submit { border-top: 1px solid var(--ink); padding-top: 1.2rem; margin-top: 2rem; }
.desk-submit p, .empty-desk > p, .request-receipt > p:not(.folio-label) { max-width: 49ch; color: var(--muted); }
.desk-submit .action { flex: 0 0 auto; }
.empty-desk h2, .request-receipt h2 { font-size: clamp(2.65rem, 4.8vw, 4.6rem); margin-bottom: .8rem; }
.empty-desk > .action { margin-top: 1rem; }
.receipt-actions { display: flex; flex-wrap: wrap; gap: .7rem 1rem; align-items: center; margin: 1.4rem 0 1.7rem; }
.request-preview { max-width: 48rem; line-height: 1.6; }

/* Bottom bag drawer */
.bag-sheet {
  --bs-offcanvas-height: auto;
  --bs-offcanvas-transition: none;
  --bs-offcanvas-bg: var(--paper);
  --bs-offcanvas-color: var(--ink);
  --bs-offcanvas-border-color: var(--ink);
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.bag-wrap { width: min(100%, 69rem); margin-inline: auto; padding: 1.5rem clamp(1.1rem, 4.2vw, 4rem) 2rem; }
.sheet-head { padding-bottom: 1rem; border-bottom: 1px solid var(--ink); }
.sheet-head h2 { font-size: clamp(2.4rem, 4.4vw, 3.7rem); }
.round-control { border-radius: 50%; border: 1px solid #959b8b; background: transparent; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; }
.round-control:hover { background: #e0e4d4; }
.bag-body { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,.8fr); gap: 1rem clamp(1rem,5vw,5rem); align-items: start; }
.bag-list:empty { display: none; }
.bag-empty { grid-column: 1 / -1; padding: 1.5rem 0 .4rem; }
.bag-empty p { margin-bottom: .6rem; }
.cart-line { display: grid; grid-template-columns: 4.25rem 1fr; gap: .9rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.cart-line img { width: 4.25rem; height: 4.25rem; object-fit: cover; }
.cart-line h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.cart-line h3 a:hover { text-decoration: underline; }
.cart-quantity { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.quantity-step { display: inline-grid; place-items: center; width: 2rem; height: 1.9rem; line-height: 1; border: 1px solid #a6aa9c; background: transparent; padding: 0; }
.quantity-step:disabled { opacity: .35; }
.quantity-current { min-width: 1.3rem; text-align: center; font-variant-numeric: tabular-nums; }
.remove-line { background: transparent; border: 0; border-bottom: 1px solid currentColor; margin-left: .35rem; padding: .12rem 0; font-size: .83rem; }
.bag-summary { padding-top: 1.1rem; }
.sum-line { font-weight: 600; }
.bag-summary p { font-size: .94rem; color: var(--muted); margin: .6rem 0 1.05rem; }
.site-message { position: fixed; z-index: 1090; left: 50%; top: 1rem; transform: translateX(-50%); width: max-content; max-width: calc(100% - 2rem); background: var(--ink); color: var(--chalk); border: 1px solid #68705e; padding: .6rem .9rem; font-size: .88rem; box-shadow: 0 4px 16px rgb(0 0 0 / .14); pointer-events: none; }
.site-message:empty { clip-path: inset(50%); }

@media (max-width: 1140px) {
  :root { --rail: 4.8rem; }
  .kit-picker { gap: .7rem; }
  .index-buy { gap: .75rem; }
  .spine-link { font-size: .75rem; }
}
@media (max-width: 1050px) and (min-width: 851px) and (min-aspect-ratio: 11/10) {
  .kit-picker { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .index-buy { align-items: flex-end; flex-direction: column; justify-content: center; gap: .4rem; }
}
@media (max-width: 850px), (max-aspect-ratio: 11/10) {
  :root { --gutter: clamp(1.1rem,4.7vw,2.7rem); }
  .spine { position: relative; inset: auto; width: 100%; min-height: 4.15rem; flex-direction: row; align-items: center; gap: .6rem; padding: .55rem var(--gutter); overflow: visible; }
  .spine-brand { flex-direction: row; gap: .5rem; padding: 0; }
  .brand-tile { width: 2.15rem; height: 2.15rem; }
  .brand-tile img { width: 1.7rem; height: 1.7rem; }
  .brand-word { writing-mode: horizontal-tb; transform: none; font-size: 1.01rem; letter-spacing: .1em; }
  .spine-tools { display: flex; align-items: center; gap: .85rem; margin: 0; }
  .spine-link { min-height: 2.6rem; flex-direction: row; font-size: .8rem; border: 0; gap: .3rem; padding: .35rem .18rem; }
  .spine-link.index-link { display: none; }
  .spine-link.bag-link { flex-direction: row-reverse; padding-right: .38rem; }
  .spine-link svg { width: 1.15rem; height: 1.15rem; }
  .bag-count { min-width: .95rem; min-height: .95rem; font-size: .62rem; }
  .page-frame { margin: 0; min-height: calc(100svh - 4.15rem); }
  .showroom {
    min-height: calc(100svh - 4.15rem);
    grid-template-areas: "picker" "poster" "buy";
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: auto 1fr auto;
  }
  .kit-picker { padding: .64rem var(--gutter); gap: 1rem; justify-content: space-between; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--ink); }
  .selector-label { color: var(--muted); }
  .kit-options { gap: .4rem; }
  .edition-choice { min-width: 0; gap: .45rem; color: var(--ink); border: 1px solid #abb19e; padding: .24rem .55rem .24rem .3rem; font-size: .88rem; }
  .edition-choice:hover { color: var(--ink); background: #e0e3d3; }
  .edition-choice:is([aria-selected="true"],[data-edition="hair"][aria-selected="true"]) { border-color: var(--ink); }
  .edition-choice img { width: 2.1rem; height: 2.1rem; }
  .kit-picker a:focus-visible { outline-color: var(--brand-blue); }
  .poster { padding: 0; display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(15.5rem, 1fr) auto; min-height: 0; }
  .poster-picture { position: relative; inset: auto; z-index: 0; grid-area: 1 / 1; min-height: 0; }
  .poster-picture img { position: absolute; inset: 0; object-position: center 49%; }
  .poster-top { position: absolute; z-index: 1; top: .8rem; left: var(--gutter); padding: .25rem .45rem; background: rgb(248 247 231 / .94); font-size: .7rem; }
  .poster-top::after { display: none; }
  .poster-type { width: 100%; margin: 0; padding: 1.25rem var(--gutter) 1.35rem; background: #e2e5a2; }
  .poster-hair .poster-type { background: #efb8a9; }
  .poster-type h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .18em; line-height: 1; }
  .poster-type h2, .poster-type h2 span, .poster-type h2 em { font-size: clamp(3.05rem,10.1vw,5.9rem); }
  .poster-type h2 em { line-height: 1; padding: 0 .04em 0 0; }
  .poster-type p { max-width: 40ch; font-size: 1rem; margin: .55rem 0 .36rem; }
  .poster-link { font-size: .9rem; }
  .index-buy { min-height: 4.65rem; padding: .72rem var(--gutter); justify-content: space-between; }
  .index-buy .action { min-height: 2.8rem; }
  .dossier-spread { grid-template-columns: 1fr; gap: 1.4rem; }
  .kit-notes { margin-top: 0; }
  .dossier-title, .guide-heading { display: block; }
  .head-description, .guide-heading > p { max-width: 43ch; margin-top: .9rem; }
  .gallery-frame img { aspect-ratio: 1.24; }
  .guide-spread { grid-template-columns: 1fr; gap: 1.6rem; }
  .desk-fields { grid-template-columns: 1fr; gap: 1.85rem; }
  .paper-head { padding-top: 1.15rem; }
}
@media (min-width: 560px) and (max-aspect-ratio: 11/10) {
  .poster { grid-template-rows: minmax(23rem,1fr) auto; }
  .poster-picture img { object-position: center 46%; }
}
@media (max-width: 600px) {
  .contact-block { grid-template-columns: 1fr; }
  .contact-block > img { height: 10.5rem; min-height: 0; }
  .purchase-band { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .buy-form { width: 100%; flex-wrap: nowrap; gap: .45rem; }
  .buy-form .action { margin-left: auto; padding-inline: .9rem; }
  .bag-body { grid-template-columns: 1fr; gap: .6rem; }
  .bag-summary { padding-top: .4rem; }
  .bag-summary .action { width: 100%; }
  .desk-submit { align-items: flex-start; flex-direction: column; }
  .colophon { gap: .75rem; }
  .guide-tabs { gap: .75rem 1.35rem; }
  .kit-picker { gap: .4rem; }
}
@media (max-width: 520px) {
  .science-link svg, .guide-link svg, .bag-link > span:last-child { display: none; }
  .spine-link.bag-link { min-width: 2.5rem; min-height: 2.75rem; }
}
@media (max-width: 420px) {
  .selector-label { max-width: 4.6rem; white-space: normal; letter-spacing: .085em; line-height: 1.1; }
  .spine-tools { gap: .5rem; }
  .compare-table :is(th,td) { padding-inline: .25rem; overflow-wrap: anywhere; }
  .compare-table thead th { font-size: .92rem; }
  .compare-table tbody :is(th,td) { font-size: .86rem; }
}
@media (max-width: 390px) {
  .spine { gap: .35rem; padding-inline: .65rem; }
  .spine-brand { gap: .3rem; }
  .brand-tile { width: 1.8rem; height: 1.8rem; }
  .brand-tile img { width: 1.45rem; height: 1.45rem; }
  .brand-word { font-size: .77rem; letter-spacing: .065em; }
  .spine-tools { gap: .25rem; }
}
@media (max-width: 355px) {
  .selector-label { font-size: .68rem; max-width: 3.2rem; }
  .edition-choice { gap: .26rem; padding-right: .33rem; }
  .edition-choice img { width: 1.75rem; height: 1.75rem; }
  .bag-count { left: calc(100% - .25rem); }
  .quantity-pick button { width: 1.75rem; }
  .buy-form .action { white-space: nowrap; padding-inline: .6rem; }
  .product-gallery figcaption { flex-wrap: wrap; }
  .contact-address { gap: .25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
