:root {
  --paper: #f3eff0;
  --ink: #2c1930;
  --shadow: #231728;
  --mist: #c6b3d1;
  --milk: #faf4f5;
  --fine: #9b829f;
  --display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); font: 16px/1.55 var(--body); }
:where(h1,h2,h3,p,figure,dl,dd) { margin: 0; }
h1,h2,h3 { font-family: var(--display); line-height: 1.04; font-weight: 400; letter-spacing: -.034em; }
a { color: inherit; text-underline-offset: .3em; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[id] { scroll-margin-top: 18px; }
::selection { background: #6c4d78; color: var(--milk); }
.skip { position: absolute; z-index: 2; top: 9px; left: 9px; padding: 10px 14px; background: var(--ink); color: var(--milk); transform: translateY(-150%); }
.skip:focus { transform: none; }
.width { width: min(100% - 110px, 1270px); margin-inline: auto; }
.site-header {
  width: min(100% - 96px, 1490px);
  min-height: 71px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.wordmark img { width: 243px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 3.6vw, 58px); }
.site-header nav a, .site-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.site-header nav a:hover, .site-footer nav a:hover { text-decoration: underline; }
.arrival {
  display: grid;
  position: relative;
  isolation: isolate;
  background: var(--shadow);
  color: var(--milk);
  margin-inline: clamp(0px, 1.5vw, 28px);
  grid-template: "stage" minmax(clamp(500px, 46.5vw, 725px), auto) / minmax(0, 1fr);
}
.arrival-scene { position: relative; grid-area: stage; min-width: 0; }
.arrival-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.arrival-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1b121e9c, #20152466 37%, transparent 59%); pointer-events: none; }
.arrival-scene figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 17px;
  padding: 5px 8px;
  background: #26182e;
  color: var(--milk);
  font-size: 12px;
  letter-spacing: .02em;
}
.arrival-copy {
  grid-area: stage;
  align-self: center;
  position: relative;
  width: max-content;
  max-width: 55%;
  padding: 45px 0 45px clamp(35px, 5vw, 82px);
}
.arrival h1 { font-size: clamp(52px, 5.8vw, 91px); line-height: .99; }
.arrival h1 span { display: block; }
.arrival-copy p { margin-block: 21px 25px; font-size: clamp(17px, 1.55vw, 23px); line-height: 1.35; max-width: 31ch; }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  min-height: 50px;
  background: var(--mist);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}
.action:hover { text-decoration: underline; background: #dfd0e5; }
.action:active { background: #b7a0c5; }
.action:focus-visible { outline-color: var(--milk); }
.restock { background: var(--mist); padding: 59px 0 64px; }
.restock h2 { font-size: clamp(36px, 4.6vw, 65px); }
@media (max-width: 900px) {
  .site-header { width: calc(100% - 50px); }
  .width { width: calc(100% - 66px); }
  .arrival-copy { padding-left: 35px; }
  .arrival h1 { font-size: clamp(41px, 6.2vw, 64px); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .width { width: calc(100% - 36px); }
  .site-header { width: calc(100% - 32px); min-height: 63px; gap: 8px; }
  .wordmark img { width: min(40vw, 164px); }
  .site-header nav { gap: 13px; }
  .site-header nav a { font-size: 12px; }
  .arrival { margin-inline: 0; grid-template: "setting" clamp(253px, 76vw, 370px) "statement" auto / minmax(0, 1fr); }
  .arrival-scene { grid-area: setting; }
  .arrival-scene img { object-position: 76% 41%; }
  .arrival-scene::after { background: none; }
  .arrival-scene figcaption { bottom: 11px; right: 12px; font-size: 11px; }
  .arrival-copy { grid-area: statement; max-width: 100%; padding: 24px 18px 32px; }
  .arrival h1 { font-size: clamp(38px, 9.7vw, 58px); }
  .arrival-copy p { font-size: 16px; margin-block: 11px 18px; }
  .action { min-height: 46px; padding-inline: 18px; }
  .restock { padding: 34px 0 38px; }
  .restock h2 { font-size: clamp(34px, 8.8vw, 45px); }
}

.restock-intro {
  max-width: 54ch;
  margin-top: 12px;
  color: #492f4e;
  font-size: 17px;
}
.planner {
  display: grid;
  grid-template-columns: minmax(215px, 1fr) minmax(0, 2.25fr);
  gap: clamp(30px, 7vw, 120px);
  align-items: start;
  border-top: 1px solid #85678d;
  margin-top: 29px;
  padding-top: 25px;
}
.room-form { display: none; }
.has-planner .room-form { display: block; }
.room-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.room-entry {
  display: grid;
  grid-template-columns: 48px minmax(0, 100px) 48px;
  width: fit-content;
  max-width: 100%;
  box-shadow: inset 0 0 0 1px #795e82;
  background: var(--milk);
}
.room-entry button, .room-entry input {
  min-height: 50px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
}
.room-entry input {
  width: 100%;
  border-inline: 1px solid #987e9e;
  font-size: 25px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  appearance: textfield;
}
.room-entry input::-webkit-inner-spin-button, .room-entry input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.room-entry button { min-width: 48px; font-size: 23px; line-height: 1; cursor: pointer; }
.room-entry button:hover { background: #ded1e2; }
.room-entry button:active { background: #cebad5; }
.room-entry :focus-visible { position: relative; outline-offset: -3px; }
.room-entry input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #8b2341; }
#room-help { margin-top: 10px; color: #492f4e; font-size: 14px; }
#room-error { min-height: 1.6em; color: #681e36; font-size: 14px; margin-top: 4px; }
.allocation { display: grid; gap: 14px; }
.allocation-row + .allocation-row { padding-top: 17px; border-top: 1px solid #9d84a8; }
.allocation-words, .allocation-bottom { display: flex; justify-content: space-between; align-items: baseline; column-gap: 12px; }
.allocation-words h3 { font-size: clamp(23px, 2.4vw, 33px); }
.box-summary { font-weight: 700; font-variant-numeric: tabular-nums; }
.usage-track { height: 9px; background: #ded0e6; border: 1px solid #9d83a6; margin-top: 10px; }
.usage-fill {
  width: 100%;
  height: 100%;
  background: #614369;
  transform: scaleX(var(--usage));
  transform-origin: left center;
}
.allocation-bottom { font-size: 14px; color: #492f4e; }
.allocation-bottom a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); font-weight: 680; }
.allocation-bottom a:hover { text-decoration-thickness: 2px; }
.assortment { padding-block: 74px 78px; }
.assortment h2 { font-size: clamp(40px, 5.3vw, 76px); }
.assortment-intro { max-width: 57ch; margin-top: 13px; color: #4e3c51; font-size: 18px; }
.shelf {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(30px, 5vw, 80px);
  margin-top: 32px;
}
.room-image { position: relative; }
.room-image img { width: 100%; height: auto; aspect-ratio: 1 / 1.06; object-fit: cover; object-position: center 57%; }
.room-image figcaption { margin-top: 7px; color: #58475d; font-size: 13px; }
.pack-group { border-top: 1px solid var(--fine); padding: 15px 0 19px; }
.pack-group + .pack-group { margin-top: 8px; }
.pack-group h3 { font-size: clamp(32px, 3.1vw, 45px); margin-bottom: 12px; }
.pack-group dl div { padding: 10px 0 11px; }
.pack-group dl div + div { border-top: 1px solid #cabdc9; }
.pack-group dt { display: flex; flex-flow: row wrap; align-items: baseline; column-gap: 13px; font-size: 17px; font-weight: 700; }
.pack-group dt span { color: #64466c; font-size: 13px; font-weight: 600; }
.pack-group dd { color: #4e3c51; margin-top: 3px; }
.pack-group:target { outline: 2px solid #8f6a99; outline-offset: 9px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.site-footer { border-top: 1px solid #ad98af; background: #e8dfe9; }
.site-footer .width { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 27px; }
.footer-mark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 400 26px/1.12 var(--display); }
.footer-mark img { width: 38px; height: 38px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .usage-fill { transition: transform .38s cubic-bezier(.16,1,.3,1); }
}
@media (max-width: 620px) {
  .restock-intro { margin-top: 9px; font-size: 16px; }
  .planner { grid-template-columns: minmax(0, 1fr); gap: 17px; margin-top: 22px; padding-top: 19px; }
  #room-error { min-height: 0; }
  .allocation-words, .allocation-bottom { flex-wrap: wrap; }
  .allocation-words { row-gap: 4px; }
  .box-summary { font-size: 14px; }
  .allocation-bottom { font-size: 13px; }
  .assortment { padding-block: 40px 43px; }
  .assortment h2 { font-size: clamp(37px, 9.1vw, 49px); }
  .assortment-intro { margin-top: 10px; font-size: 16px; }
  .shelf { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 23px; }
  .room-image img { aspect-ratio: 1.47; }
  .site-footer .width { flex-wrap: wrap; min-height: 100px; padding-block: 13px; gap: 0 12px; }
  .site-footer nav a { font-size: 12px; }
  .footer-mark { font-size: 22px; }
}
