/* Oatley Pottery. The one idea: THE KILN.
   Heat is what makes a pot, so colour runs this site. Every piece has its own
   world and the whole page ground changes as you move from one to the next. */
html { --ember: #ff6a1f; --ground: #d2692f; --on: #1c0e07; --hot: #fff0d9; }
html[data-world="clay"] { --ground: #d2692f; --on: #1c0e07; --hot: #fff0d9; }
html[data-world="iron"] { --ground: #5c2415; --on: #f8e8d5; --hot: #ff9a5c; }
html[data-world="sage"] { --ground: #96ac92; --on: #111a12; --hot: #f8f6ec; }
html[data-world="celadon"] { --ground: #a6d3cb; --on: #0e2320; --hot: #f7fffb; }
html[data-world="charcoal"] { --ground: #151312; --on: #f6ecdd; --hot: #ff6a1f; }
html[data-world="fig"] { --ground: #3a1730; --on: #f8e6d2; --hot: #cdd673; }
html[data-world="paper"] { --ground: #f6ecdc; --on: #1c0e07; --hot: #b8471a; }
html[data-world="kiln"] { --ground: #3b3633; --on: #f6ecdd; --hot: #ff6a1f; }

:root {
  --gutter: clamp(16px, 2.6vw, 48px);
  --head: 68px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --small: .8125rem;
  --display: "Fraunces", Georgia, serif;
  --line: color-mix(in srgb, var(--on) 30%, transparent);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ground); overflow-x: clip; }
body {
  margin: 0; background: var(--ground); color: var(--on);
  font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem; font-weight: 500; line-height: 1.5; overflow-x: clip; -webkit-font-smoothing: antialiased;
  transition: background-color .8s ease, color .5s ease;
}
html.is-firing body { transition-duration: .12s; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: inherit; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: #1c0e07; color: #fff0d9; padding: 8px 14px; }
.skip:focus { top: 8px; }

/* The type. Soft, fat and a bit wet, like clay off the wheel */
.big, .mid, .brand, .stage__word, .piece__word, .stage h1, .hero__h1, .firing__read, .s-end__go, .foot__word, .step__temp, .firing__state h3, .buyline h3 {
  font-family: var(--display); font-optical-sizing: none;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.big { display: block; font-size: clamp(3.5rem, 15vw, 22rem); font-weight: 800; line-height: .84; letter-spacing: -.035em; }
.mid { font-size: clamp(2rem, 1.4rem + 2.6vw, 4.5rem); font-weight: 600; line-height: .98; letter-spacing: -.02em; }

.concept { position: relative; z-index: 31; background: #1c0e07; color: #fff0d9; font-size: .75rem; line-height: 1.4; padding: 7px var(--gutter); text-align: center; }
.concept a { color: inherit; text-underline-offset: 2px; text-decoration-color: #ff6a1f; transition: color .25s; }
.concept a:hover { color: #ff9a5c; }

/* Link: it heats up from the line */
.lnk {
  display: inline; padding: 1px 2px 2px; border: 0; background: none; color: inherit; font-size: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
  background-image: linear-gradient(var(--ember), var(--ember)), linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 100%, 0 100%; background-size: 100% 0, 100% 2px;
  transition: background-size .35s var(--ease), color .2s;
}
.lnk:hover { background-size: 100% 100%, 100% 2px; color: #1c0e07; }

/* Button: solid, and it glows up from the foot */
.btn {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 12px 30px; border: 0; border-radius: 0; background: var(--on); color: var(--ground);
  font-family: var(--display); font-variation-settings: "opsz" 40, "SOFT" 100, "WONK" 0; font-size: 1.125rem; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: color .3s, background-color .5s;
}
.btn::before { content: ""; position: absolute; inset: 100% 0 0; background: var(--ember); z-index: -1; transition: inset .4s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { inset: 0; }
.btn:hover, .btn:focus-visible { color: #1c0e07; }
.btn--wide { flex: 1; width: 100%; }

/* Header */
.head {
  position: sticky; top: 0; z-index: 30; height: var(--head); display: flex; align-items: center; gap: 30px; padding: 0 var(--gutter);
  font-size: .9375rem; font-weight: 600; transition: background-color .8s ease;
}
.head.is-stuck { background: var(--ground); }
html.is-firing .head.is-stuck { transition-duration: .12s; }
.brand { position: relative; margin-right: auto; font-size: 1.875rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; line-height: 1; transition: font-weight .3s, letter-spacing .3s; }
.brand:hover { letter-spacing: -.01em; }
.nav ul { display: flex; gap: 30px; }
.nav a, .basket-toggle, .menu-toggle { position: relative; padding: 6px 0; background: none; border: 0; text-decoration: none; white-space: nowrap; font-weight: 600; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.basket-toggle { display: inline-flex; align-items: center; gap: 8px; }
.count { position: relative; display: inline-block; width: 32px; height: 32px; overflow: hidden; border-radius: 50%; background: var(--on); color: var(--ground); line-height: 32px; text-align: center; font-variant-numeric: tabular-nums; transition: transform .3s var(--ease), background-color .5s; }
.basket-toggle:hover .count { transform: translateY(-2px); background: var(--ember); color: #1c0e07; }
.count b { position: absolute; inset: 0; font-weight: 600; }
.count b.out { animation: tick-out .36s var(--ease) forwards; }
.count b.in { animation: tick-in .36s var(--ease) forwards; }
.count.landed { animation: thud .5s var(--ease); }
@keyframes tick-out { to { transform: translateY(-100%); } }
@keyframes tick-in { from { transform: translateY(100%); } }
@keyframes thud { 0% { transform: scale(1); } 25% { transform: scale(1.5) translateY(3px); background: var(--ember); } 100% { transform: scale(1); } }
.menu-toggle { display: none; }
.faller { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; object-fit: contain; }

@media (max-width: 760px) {
  :root { --head: 58px; }
  .head { gap: 18px; }
  .menu-toggle { display: block; order: 2; z-index: 2; }
  .basket-toggle { order: 3; z-index: 2; }
  .brand { z-index: 2; }
  .nav { position: fixed; inset: 0; z-index: 1; display: flex; align-items: center; padding: var(--head) var(--gutter) 32px; background: var(--ground); visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
  .nav ul { flex-direction: column; gap: 10px; }
  .nav a { font-family: var(--display); font-variation-settings: "opsz" 144, "SOFT" 100; font-size: 3.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
  .head.menu-open .nav { visibility: visible; opacity: 1; }
}

/* Running strip */
.strip { position: relative; z-index: 6; width: 106vw; margin: -2.4vw 0 -2.4vw -3vw; overflow: hidden; background: var(--on); color: var(--ground); transform: rotate(-1.6deg); transition: background-color .8s, color .8s; }
.strip__run { display: flex; width: max-content; padding: .9vw 0 1.1vw; font-family: var(--display); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; font-size: clamp(1.75rem, 4.6vw, 6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; white-space: nowrap; animation: run 46s linear infinite; }
.strip__run span { padding-right: 1em; }
.strip:hover .strip__run { animation-play-state: paused; }
.strip--b { transform: rotate(1.4deg); }
.strip--b .strip__run { animation-direction: reverse; }
@keyframes run { to { transform: translateX(-33.333%); } }

/* Hero */
.hero { position: relative; margin-top: calc(var(--head) * -1); height: calc(100svh - 30px); min-height: 640px; overflow: hidden; }
.hero__h1 { position: absolute; inset: 0; margin: 0; font-size: min(31vw, 54svh); font-weight: 900; line-height: .8; letter-spacing: -.045em; }
.hero__back { position: absolute; left: -.03em; top: .2em; color: var(--hot); }
.hero__front { position: absolute; z-index: 3; right: .02em; bottom: .1em; color: var(--on); pointer-events: none; }
.hero__pot { position: absolute; z-index: 2; left: 64%; top: 58%; width: min(56vw, 100svh); transform: translate(-50%, -50%) rotate(-3deg); transition: transform 1s var(--ease); }
.hero__pot:hover { transform: translate(-50%, -50%) rotate(0deg) scale(1.02); }
.hero__pot img { width: 100%; filter: drop-shadow(0 3vw 2.4vw rgba(70, 25, 0, .45)); }
.hero__note { position: absolute; z-index: 4; left: var(--gutter); bottom: clamp(44px, 7svh, 72px); width: min(19rem, 24vw); font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.hero__note .btn { margin-top: 14px; }
.hero__tag { position: absolute; z-index: 4; right: var(--gutter); top: calc(var(--head) + 14px); font-weight: 600; }
.hero__tag a { text-underline-offset: 4px; text-decoration-thickness: 2px; transition: text-underline-offset .25s; }
.hero__tag a:hover { text-underline-offset: 8px; }

@media (max-width: 760px), (max-aspect-ratio: 1 / 1) {
  .hero { height: auto; min-height: 0; padding: calc(var(--head) + 8px) 0 36px; display: flex; flex-direction: column; }
  .hero__h1 { position: relative; inset: auto; height: 124vw; font-size: 39vw; }
  .hero__back { left: -.02em; top: .02em; }
  .hero__front { right: .02em; bottom: .04em; }
  .hero__pot { left: 50%; top: calc(var(--head) + 62vw); width: 104vw; }
  .hero__note { position: static; width: auto; padding: 16px var(--gutter) 0; }
  .hero__tag { display: none; }
}

/* Home worlds: every one built differently */
.buyline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 20px; }
.buyline h3 { flex-basis: 100%; font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.buyline h3 a { text-decoration: none; transition: letter-spacing .3s var(--ease); }
.buyline h3 a:hover { letter-spacing: .01em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.buyline p { font-size: 1.25rem; font-weight: 600; }

.s-iron { position: relative; min-height: 96vw; padding-top: 7vw; overflow: clip; }
.s-iron__word { position: absolute; left: -1vw; top: 2vw; margin: 0; font-size: 44vw; color: var(--hot); }
.s-iron__pot { position: absolute; z-index: 2; right: -21vw; top: 14vw; width: 92vw; display: block; transition: transform 1.2s var(--ease); }
.s-iron__pot:hover { transform: rotate(4deg); }
.s-iron__pot img { width: 100%; filter: drop-shadow(-2vw 2vw 2.6vw rgba(0, 0, 0, .5)); }
.s-iron__text { position: absolute; z-index: 3; left: var(--gutter); bottom: 6vw; width: min(29vw, 30rem); }
.s-iron__text p { margin-top: 12px; }
.s-iron__text .mid { font-size: clamp(2rem, 4.4vw, 6rem); }

.firing { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 24px; min-height: 100svh; padding: 9vw var(--gutter) 6vw; overflow: clip; }
.firing__read { position: absolute; left: var(--gutter); top: 5.4vw; font-size: 23vw; font-weight: 900; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums lining-nums; opacity: .96; pointer-events: none; }
.firing__read i { font-style: normal; font-size: .36em; vertical-align: .95em; letter-spacing: -.02em; }
.firing__copy { position: relative; z-index: 3; padding-top: 20vw; max-width: 31rem; }
.firing__hint { margin-top: 8px; }
.firing__state { min-height: 8.6em; margin-top: 22px; padding-top: 12px; border-top: 3px solid currentColor; }
.firing__state h3 { font-size: 1.875rem; font-weight: 700; margin-bottom: 4px; }
.firing__jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.firing__jump button { min-width: 72px; min-height: 48px; padding: 6px 12px; border: 2px solid currentColor; background: none; font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s; }
.firing__jump button:hover { background: var(--on); color: var(--ground); }
.firing__buy { margin-top: 18px; font-weight: 600; }
.dial { position: relative; z-index: 2; width: min(100%, 86svh); aspect-ratio: 1; justify-self: end; }
.dial svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial__ticks line { stroke: currentColor; stroke-width: 4; opacity: .65; }
.dial__track, .dial__fill, .dial__hit { fill: none; }
.dial__track { stroke: currentColor; stroke-width: 6; opacity: .3; }
.dial__fill { stroke: currentColor; stroke-width: 16; stroke-dasharray: 0 1000; }
.dial__hit { stroke: transparent; stroke-width: 150; pointer-events: stroke; cursor: grab; touch-action: none; }
.dial__knob { fill: var(--on); stroke: var(--ground); stroke-width: 10; pointer-events: none; }
.dial svg g[data-knob] { pointer-events: none; }
.dial__glow { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(closest-side, #fff3c4 0, #ffb347 40%, rgba(255, 106, 31, 0) 100%); opacity: 0; pointer-events: none; }
.dial__bowl { position: absolute; left: 50%; top: 52%; width: 66%; transform: translate(-50%, -50%); pointer-events: none; will-change: filter; }
.dial__input { position: absolute; left: 50%; bottom: 0; width: 1px; height: 1px; opacity: 0; }
.dial:has(.dial__input:focus-visible) { outline: 3px solid currentColor; outline-offset: 6px; }

.s-sage { position: relative; z-index: 4; min-height: 94vw; margin-top: -7vw; overflow: visible; }
.s-sage__a { position: absolute; left: -1vw; top: 16vw; margin: 0; font-size: 35vw; color: var(--hot); z-index: 1; }
.s-sage__b { position: absolute; right: -.5vw; top: 46vw; margin: 0; font-size: 35vw; color: var(--hot); z-index: 3; mix-blend-mode: normal; }
.s-sage__pot { position: absolute; z-index: 2; left: 34vw; top: -6vw; width: 40vw; display: block; }
.s-sage__pot img { width: 100%; filter: drop-shadow(1.6vw 1.4vw 2vw rgba(20, 30, 20, .35)); }
.s-sage__text { position: absolute; z-index: 4; left: var(--gutter); top: 56vw; width: min(29vw, 30rem); }
.s-sage__text .mid { font-size: clamp(2rem, 3.8vw, 5.5rem); }
.s-sage__text p { margin-top: 12px; }

.s-celadon { position: relative; min-height: 78vw; overflow: clip; }
.s-celadon__word { position: absolute; left: -.5vw; top: 2vw; margin: 0; font-size: 33vw; white-space: nowrap; }
.s-celadon__pot { position: absolute; z-index: 2; left: -15vw; top: 26vw; width: 82vw; display: block; }
.s-celadon__pot img { width: 100%; filter: drop-shadow(1vw 2vw 2vw rgba(10, 50, 45, .35)); }
.s-celadon__text { position: absolute; z-index: 3; right: var(--gutter); top: 32vw; width: min(31vw, 32rem); }
.s-celadon__text p { margin-top: 12px; }

.s-char { position: relative; min-height: 104vw; overflow: clip; }
.s-char::before { content: ""; position: absolute; right: -8vw; top: 4vw; width: 88vw; height: 88vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 106, 31, .62), rgba(255, 106, 31, 0)); }
.s-char__pot { position: absolute; z-index: 2; right: -5vw; top: 8vw; width: 62vw; display: block; transition: filter 1s; }
.s-char__pot img { width: 100%; filter: drop-shadow(0 0 3vw rgba(255, 106, 31, .4)); }
.s-char__word { position: absolute; z-index: 3; left: -.5vw; top: 3vw; margin: 0; font-size: 28vw; color: var(--hot); }
.s-char__text { position: absolute; z-index: 4; left: var(--gutter); bottom: 7vw; width: min(32vw, 33rem); }
.s-char__text p { margin-top: 12px; }

.s-fig { position: relative; padding-bottom: 7vw; }
.s-fig__pic { display: block; overflow: hidden; }
.s-fig__pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 38%; transition: transform 1.4s var(--ease); }
.s-fig__pic:hover img { transform: scale(1.03); }
.s-fig__word { position: relative; z-index: 2; margin: -11vw 0 0 -1vw; font-size: 24.5vw; color: var(--hot); white-space: nowrap; }
.s-fig__text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 24px; align-items: end; padding: 2.6vw var(--gutter) 0; }
.s-fig__text .buyline { margin: 0; }

.s-end { position: relative; padding: 11vw var(--gutter) 5vw; overflow: clip; }
.s-end__pic { position: absolute; right: -6vw; top: 7vw; width: 40vw; display: block; transform: rotate(3deg); transition: transform 1s var(--ease); }
.s-end__pic:hover { transform: rotate(0deg); }
.s-end__pic img { width: 100%; }
.s-end__big { position: relative; z-index: 2; font-size: 11.2vw; }
.s-end__note { position: relative; z-index: 2; max-width: 31rem; margin-top: 8vw; }
.s-end__go { position: relative; z-index: 2; display: block; margin-top: 3vw; font-size: 16.4vw; font-weight: 900; letter-spacing: -.045em; line-height: .95; text-decoration: none; white-space: nowrap; transition: letter-spacing .5s var(--ease), color .3s; }
.s-end__go:hover { letter-spacing: -.02em; color: var(--hot); }

@media (max-width: 760px) {
  .s-iron { min-height: 0; padding: 0 0 40px; }
  .s-iron__word { position: relative; left: 0; top: 0; padding-top: 34px; margin-left: -1vw; font-size: 56vw; }
  .s-iron__pot { position: relative; right: auto; top: auto; width: 136vw; margin: -24vw 0 0 12vw; }
  .s-iron__text { position: static; width: auto; padding: 18px var(--gutter) 0; }
  .s-iron__text .mid { font-size: 2.5rem; }

  .firing { display: flex; flex-direction: column; align-items: stretch; padding: 46px var(--gutter) 44px; gap: 0; }
  .firing__read { order: 1; }
  .firing__copy > .mid { order: 2; }
  .firing__hint { order: 3; }
  .dial { order: 4; }
  .firing__state { order: 5; }
  .firing__jump { order: 6; }
  .firing__buy { order: 7; }
  .firing__read { position: relative; left: auto; top: auto; font-size: 37vw; }
  .firing__copy { padding-top: 0; max-width: none; display: contents; }
  .firing__copy > .mid { margin-top: -2px; }
  .firing__state { min-height: 10.5em; }
  .dial { width: calc(100vw - 2 * var(--gutter)); margin: 14px 0; }
  .firing__jump button { flex: 1; min-width: 0; }

  .s-sage { min-height: 0; margin-top: 0; padding: 0 0 44px; overflow: clip; }
  .s-sage__a { position: relative; left: 0; top: 0; margin-left: -1vw; padding-top: 28px; font-size: 41vw; }
  .s-sage__b { position: relative; right: auto; top: auto; margin-top: 56vw; padding-right: 2vw; font-size: 56vw; text-align: right; }
  .s-sage__pot { left: 30vw; top: 8vw; width: 54vw; }
  .s-sage__text { position: static; width: auto; padding: 20px var(--gutter) 0; }
  .s-sage__text .mid { font-size: 2.5rem; }

  .s-celadon { min-height: 0; padding-bottom: 44px; }
  .s-celadon__word { position: relative; left: 0; top: 0; padding-top: 28px; font-size: 41vw; }
  .s-celadon__pot { position: relative; left: -24vw; top: auto; width: 134vw; margin-top: -8vw; max-width: none; }
  .s-celadon__text { position: static; width: auto; padding: 18px var(--gutter) 0; }

  .s-char { min-height: 0; padding-bottom: 44px; display: flex; flex-direction: column; }
  .s-char__word { order: -1; }
  .s-char::before { right: -30vw; top: 20vw; width: 150vw; height: 150vw; }
  .s-char__word { position: relative; left: 0; top: 0; padding-top: 28px; font-size: 40vw; margin-left: -1vw; }
  .s-char__pot { position: relative; right: auto; top: auto; width: 108vw; margin: -34vw 0 0 16vw; max-width: none; }
  .s-char__text { position: static; width: auto; padding: 18px var(--gutter) 0; }

  .s-fig__pic img { aspect-ratio: 4 / 5; }
  .s-fig__word { margin-top: -13vw; font-size: 26vw; }
  .s-fig__text { display: block; padding-top: 16px; }
  .s-fig__text .mid { margin-bottom: 10px; }
  .s-fig__text .buyline { margin-top: 18px; }

  .s-end { padding: 64px var(--gutter) 40px; }
  .s-end__pic { position: relative; right: auto; top: auto; width: 96vw; margin: 0 0 22px 10vw; }
  .s-end__big { font-size: 16.5vw; }
  .s-end__note { margin-top: 24px; }
  .s-end__go { margin-top: 24px; font-size: 16vw; }
}

/* Pots and spyholes */
.pot { position: relative; display: block; }
.pot .whole { width: 100%; transition: transform 1.1s var(--ease); }
.spy { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; transform: translate(-50%, -50%) scale(0); box-shadow: 0 0 0 .5vw var(--ember), 0 0 5vw rgba(255, 106, 31, .55); transition: transform .65s var(--ease), opacity .4s; opacity: 0; }
.spy img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z)); transform-origin: var(--ox) var(--oy); }
.piece__link:focus-visible { outline: 0; }
.piece__link:focus-visible .piece__name { outline: 3px solid currentColor; outline-offset: 4px; }
.piece__link:focus-visible .spy { transform: translate(-50%, -50%) scale(1); opacity: 1; }
@media (hover: hover) {
  .piece__link:hover .spy { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .piece__link:hover .whole { transform: scale(1.04) rotate(-1.5deg); }
}

/* Shop: every piece gets its own room */
.shop { overflow: clip; }
.shop__intro { padding: 24px var(--gutter) 3vw; }
.shop__intro h1 { font-size: clamp(4rem, 20.5vw, 30rem); margin-left: -.03em; white-space: nowrap; }
.shop__intro > p { max-width: 30rem; margin-top: 16px; font-size: 1.1875rem; }
.tools { display: grid; grid-template-columns: 1fr auto; gap: 2px 32px; margin-top: 26px; padding: 8px 0; border-top: 3px solid currentColor; border-bottom: 3px solid currentColor; font-weight: 600; }
.tools__group { grid-column: 1; display: flex; flex-wrap: wrap; gap: 0 20px; }
.tools__sort { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 10px; justify-self: end; }
.tools__sort select { min-height: 44px; padding: 4px 26px 4px 4px; border: 0; border-bottom: 2px solid currentColor; border-radius: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; font-weight: 600;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%, currentColor 60%, transparent 60%), linear-gradient(-45deg, transparent 50%, currentColor 50%, currentColor 60%, transparent 60%);
  background-size: 7px 7px; background-repeat: no-repeat; background-position: right 11px center, right 4px center; }
.tools__sort select option { color: #1c0e07; background: #f6ecdc; }
.tools__count { grid-column: 2; grid-row: 2; justify-self: end; align-self: center; }
.pick { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 4px 0; border: 0; background: none; font-weight: 600; cursor: pointer; }
.pick::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.pick:hover::after, .pick[aria-pressed="true"]::after { transform: scaleX(1); }
.dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px currentColor; }
.grid { transition: opacity .2s; }
.grid.is-changing { opacity: 0; }

.piece { position: relative; overflow: clip; }
.piece__word { position: absolute; font-family: var(--display); font-size: 27vw; font-weight: 900; line-height: .84; letter-spacing: -.045em; white-space: nowrap; color: var(--hot); pointer-events: none; }
.piece__link { position: relative; z-index: 2; display: block; text-decoration: none; }
.piece__tag { position: relative; z-index: 4; }
.piece__name { font-family: var(--display); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; font-size: clamp(1.75rem, 3.2vw, 4rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.piece__name a { text-decoration: none; transition: letter-spacing .35s var(--ease); }
.piece__name a:hover, .piece:has(.piece__link:hover) .piece__name a { letter-spacing: .005em; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.piece:has(.piece__name a:focus-visible) .spy { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.piece__meta { display: flex; gap: 20px; margin-top: 6px; font-weight: 600; }
.add { display: inline-block; margin-top: 6px; padding: 8px 0; border: 0; background: none; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-underline-offset .25s; }
.add:hover { text-underline-offset: 9px; }

.grid .piece { min-height: 66vw; padding: 7vw var(--gutter) 5vw; }
.grid .piece__tag { position: absolute; width: min(30vw, 30rem); }

/* Each one placed by hand */
.grid .p-mug { min-height: 66vw; }
.grid .p-mug .piece__word { left: -1vw; top: 2vw; font-size: 20vw; white-space: normal; width: 80vw; }
.grid .p-mug .pot { width: 74vw; margin: 8vw 0 0 30vw; }
.grid .p-mug .piece__tag { left: var(--gutter); bottom: 5vw; }
.grid .p-plates .piece__word { right: -1vw; top: 3vw; font-size: 46vw; }
.grid .p-plates .pot { width: 74vw; margin-left: -22vw; }
.grid .p-plates .piece__tag { right: var(--gutter); bottom: 5vw; }
.grid .p-vase { min-height: 92vw; }
.grid .p-vase .piece__word { left: -1vw; top: 34vw; font-size: 24vw; }
.grid .p-vase .pot { width: 36vw; margin-left: 40vw; }
.grid .p-vase .piece__tag { left: var(--gutter); top: 6vw; }
.grid .p-bowl .piece__word { left: -1vw; bottom: 2vw; font-size: 27vw; }
.grid .p-bowl .pot { width: 78vw; margin-left: 30vw; }
.grid .p-bowl .piece__tag { left: var(--gutter); top: 6vw; }
.grid .p-jug { min-height: 90vw; }
.grid .p-jug .piece__word { right: -1vw; top: 44vw; font-size: 24vw; z-index: 3; }
.grid .p-jug .pot { width: 58vw; margin-left: -8vw; }
.grid .p-jug .piece__tag { right: var(--gutter); top: 6vw; }
.grid .p-table { padding: 0 0 5vw; min-height: 0; }
.grid .p-table .pot { width: 100vw; aspect-ratio: 16 / 10; overflow: hidden; }
.grid .p-table .pot .whole { height: 100%; object-fit: cover; object-position: 50% 38%; }
.grid .p-table .piece__word { left: -1vw; top: 41vw; z-index: 3; font-size: 40vw; }
.grid .p-table .piece__tag { position: relative; width: auto; margin: 3vw var(--gutter) 0 auto; max-width: 30vw; }

.none { padding: 72px var(--gutter); }
.none .btn { margin-top: 20px; }

@media (max-width: 760px) {
  .tools { grid-template-columns: 1fr; }
  .tools__group, .tools__sort, .tools__count { grid-column: 1; grid-row: auto; justify-self: start; }
  .grid .piece, .grid .p-mug, .grid .p-vase, .grid .p-jug { min-height: 0; padding: 32px var(--gutter) 40px; }
  .grid .piece__tag, .grid .p-table .piece__tag { position: relative; inset: auto; left: auto; right: auto; top: auto; bottom: auto; width: auto; max-width: none; margin: 0; }
  .grid .piece .piece__word { position: relative; display: block; left: auto; right: auto; top: auto; bottom: auto; width: auto; white-space: nowrap; margin-left: -1vw; font-size: 33vw; z-index: 0; }
  .grid .p-mug .piece__word { font-size: 19vw; }
  .grid .p-jug .piece__word { font-size: 24.5vw; }
  .grid .p-vase .piece__word { font-size: 22.5vw; }
  .grid .p-bowl .piece__word { font-size: 25vw; }
  .grid .p-plates .piece__word { font-size: 52vw; }
  .grid .p-table .piece__word { font-size: 50vw; margin-top: -24vw; z-index: 3; }
  .grid .p-table .piece__tag { padding: 0 var(--gutter); }
  .grid .p-table .pot { aspect-ratio: 4 / 5; }
  .grid .p-mug .pot { width: 112vw; margin: -6vw 0 16px -8vw; }
  .grid .p-plates .pot { width: 122vw; margin: -24vw 0 16px 8vw; }
  .grid .p-vase .pot { width: 62vw; margin: -14vw 0 16px 24vw; }
  .grid .p-bowl .pot { width: 118vw; margin: -8vw 0 16px -22vw; }
  .grid .p-jug .pot { width: 92vw; margin: -10vw 0 16px 8vw; }
  .spy { width: 70%; box-shadow: 0 0 0 4px var(--ember); }
}

/* Product stage */
.stage { position: relative; display: block; min-height: max(100svh, 62vw); margin-top: calc(var(--head) * -1); overflow: clip; }
.stage__word { position: absolute; left: -.03em; top: calc(var(--head) + .8vw); margin: 0; font-family: var(--display); font-size: 25vw; font-weight: 900; line-height: .84; letter-spacing: -.045em; color: var(--hot); white-space: nowrap; pointer-events: none; }
.stage__pot { position: absolute; z-index: 2; left: var(--x, 2vw); top: var(--y, 15vw); width: var(--w, 66vw); }
.stage__pot > img { width: 100%; filter: drop-shadow(0 2.4vw 2vw rgba(0, 0, 0, .35)); }
.stage__info { position: relative; z-index: 3; width: min(33vw, 32rem); margin-left: auto; margin-right: var(--gutter); padding: calc(var(--head) + 20vw) 0 4vw; }
.crumb { font-size: var(--small); margin-bottom: 12px; font-weight: 600; }
.crumb a { text-underline-offset: 4px; text-decoration-thickness: 2px; transition: text-underline-offset .25s; }
.crumb a:hover { text-underline-offset: 7px; }
.stage h1 { font-size: clamp(2.25rem, 1.4rem + 2.5vw, 4.5rem); font-weight: 700; line-height: .96; letter-spacing: -.025em; }
.price { margin-top: 10px; font-family: var(--display); font-variation-settings: "opsz" 144, "SOFT" 100; font-size: 2rem; font-weight: 700; }
.price span { margin-left: 12px; font-family: "Hanken Grotesk", sans-serif; font-size: 1rem; font-weight: 600; }
.lede { margin-top: 14px; }
.buy { display: flex; align-items: flex-end; gap: 12px; margin-top: 20px; }
.qty label { display: block; font-size: var(--small); font-weight: 600; margin-bottom: 4px; }
.stepper { display: flex; height: 56px; border: 2px solid currentColor; }
.stepper button { width: 40px; border: 0; background: none; font-size: 1.25rem; font-weight: 600; line-height: 1; transition: background-color .2s, color .2s; }
.stepper button:hover:not(:disabled) { background: var(--on); color: var(--ground); }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper input { width: 34px; border: 0; background: none; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stock { margin-top: 10px; font-size: .9375rem; font-weight: 600; }
.looks { display: flex; gap: 12px; margin-top: 18px; }
.look { display: block; padding: 0; border: 0; background: none; font-size: var(--small); font-weight: 600; text-align: left; }
.look__pic { display: block; width: 68px; height: 68px; border-radius: 50%; background-repeat: no-repeat; box-shadow: 0 0 0 2px currentColor; transition: box-shadow .25s; }
.look:hover .look__pic { box-shadow: 0 0 0 3px var(--ember); }
.look[aria-pressed="true"] .look__pic { box-shadow: 0 0 0 4px var(--ember); }
.look span:last-child { display: block; margin-top: 6px; text-align: center; }
.spy--big { width: 74%; left: 50%; top: 50%; }
.spy--big.is-on { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.s-mug { --w: 70vw; --x: -7vw; --y: 19vw; }
.s-mug .stage__word { font-size: 19.4vw; }
.s-plates { --w: 68vw; --x: -13vw; --y: 24vw; min-height: 72vw; }
.s-plates .stage__word { font-size: 36vw; }
.s-bowl .stage__word { font-size: 23.5vw; }
.s-vase { --w: 33vw; --x: 16vw; --y: 3vw; min-height: 84vw; }
.s-bowl { --w: 74vw; --x: -13vw; --y: 19vw; min-height: 72vw; }
.s-jug { --w: 52vw; --x: 2vw; --y: 8vw; min-height: 84vw; }
.s-table { --w: 62vw; --x: 0vw; --y: 0vw; min-height: 83vw; }
.s-table .stage__pot { overflow: hidden; aspect-ratio: 3 / 4; }
.s-table .stage__word { font-size: 44vw; top: auto; bottom: -3vw; left: -1vw; z-index: 3; }
.s-table .stage__info { padding-top: calc(var(--head) + 3vw); }
.s-vase .stage__word { font-size: 21vw; }
.s-jug .stage__word { z-index: 3; top: auto; bottom: 1vw; font-size: 22vw; }
.s-jug .stage__info { padding-top: calc(var(--head) + 3vw); }
.s-vase .stage__info { padding-top: calc(var(--head) + 21vw); }

@media (max-width: 760px) {
  .stage, .s-vase, .s-jug, .s-table { min-height: 0; padding-top: var(--head); }
  .stage__word, .s-jug .stage__word, .s-table .stage__word, .s-vase .stage__word { position: relative; left: 0; top: auto; bottom: auto; margin-left: -1vw; padding-top: 6px; font-size: 25vw; z-index: 0; }
  .s-plates .stage__word, .s-bowl .stage__word { font-size: 34vw; }
  .s-bowl .stage__word { font-size: 28vw; }
  .s-table .stage__word { font-size: 56vw; }
  .s-mug .stage__word { font-size: 19vw; }
  .stage { min-height: 0 !important; }
  .stage__pot { position: relative; left: auto; top: auto; margin: -8vw 0 0 var(--mx, -6vw); width: var(--mw, 112vw); max-width: none; }
  .s-plates { --mw: 124vw; --mx: -14vw; }
  .s-vase { --mw: 56vw; --mx: 26vw; }
  .s-bowl { --mw: 122vw; --mx: -26vw; }
  .s-jug { --mw: 96vw; --mx: 6vw; }
  .s-table { --mw: 100vw; --mx: 0; }
  .stage__info, .s-jug .stage__info, .s-table .stage__info, .s-vase .stage__info { width: auto; margin: 0; padding: 18px var(--gutter) 44px; }
  .btn--wide { min-width: 0; }
}

/* Notes */
.notes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; padding: clamp(72px, 11vw, 200px) var(--gutter) clamp(56px, 7vw, 120px); }
.notes__glaze { grid-column: 1 / span 7; }
.notes__size { grid-column: 9 / span 4; align-self: end; }
.notes__label { display: block; font-weight: 600; margin-bottom: 8px; }
.notes .big { font-size: clamp(3.75rem, 12vw, 16rem); margin-left: -.03em; }
.notes__glaze > p { max-width: 38rem; margin: 22px 0 24px; font-size: 1.1875rem; }
.notes__size h2 { font-family: var(--display); font-variation-settings: "opsz" 144, "SOFT" 100; font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
dl { margin: 0; }
.notes dl div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 2px solid currentColor; }
.notes dt { font-weight: 400; }
.notes dd { margin: 0; font-weight: 600; }
.notes__vary { margin-top: 18px; }
.pairs { padding: 40px var(--gutter) clamp(64px, 8vw, 130px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 22px; align-items: end; overflow: clip; }
.pairs > h2 { grid-column: 1 / -1; margin-bottom: 4vw; }
.pairs .piece { overflow: visible; }
.pairs .piece:nth-of-type(1) { grid-column: 1 / span 7; }
.pairs .piece:nth-of-type(2) { grid-column: 8 / span 5; }
.pairs .piece__word { display: none; }
.pairs .pot { margin-bottom: 14px; }
.pairs .p-vase .pot { width: 42%; }
.pairs .p-jug .pot { width: 60%; }
.pairs .p-table .pot { aspect-ratio: 16 / 11; overflow: hidden; }
.pairs .p-table .pot .whole { height: 100%; object-fit: cover; object-position: 50% 38%; }
@media (max-width: 760px) {
  .notes__glaze, .notes__size { grid-column: 1 / -1; }
  .pairs .piece:nth-of-type(1), .pairs .piece:nth-of-type(2) { grid-column: 1 / -1; }
}

/* Studio */
.about { position: relative; padding: 10px var(--gutter) 9vw; overflow: clip; }
.about__h1 { position: relative; z-index: 3; font-size: clamp(3.75rem, 19.4vw, 28rem); white-space: nowrap; color: var(--hot); margin-left: -.03em; }
.about__photo { position: relative; z-index: 1; width: 78vw; margin: -9vw -8vw 0 auto; transform: rotate(1.6deg); }
.about__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.about__story { width: min(52vw, 42rem); margin-top: -5vw; position: relative; z-index: 2; padding: 3vw 3vw 3vw 0; background: var(--ground); display: grid; gap: 14px; transition: background-color .8s; }
.steps { padding: 11vw 0 6vw; }
.steps > h2 { padding: 0 var(--gutter) 4vw; font-size: clamp(3.75rem, 16.5vw, 24rem); }
.step { display: grid; grid-template-columns: 12vw minmax(0, 34vw) minmax(0, 1fr); gap: 24px; align-items: end; padding: 1.8vw var(--gutter); color: #1c0e07; }
.step h3 { font-family: var(--display); font-variation-settings: "opsz" 144, "SOFT" 100; font-size: clamp(1.75rem, 3.6vw, 4rem); font-weight: 700; letter-spacing: -.02em; }
.step__temp { font-size: clamp(3.5rem, 11vw, 15rem); font-weight: 900; letter-spacing: -.045em; line-height: .86; font-variant-numeric: lining-nums; }
.step__day { font-weight: 600; padding-bottom: .4em; }
.step p { max-width: 36rem; margin-top: 4px; }
.step--0 { background: #a39386; }
.step--1 { background: #b5a596; }
.step--2 { background: #c8b8a5; }
.step--3 { background: #ff7a22; }
.step--4 { background: #e6dfd2; }
.step--5 { background: #ffd166; }
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4vw; align-items: end; overflow: clip; padding-right: var(--gutter); }
.visit__pic { margin-left: 0; }
.visit__pic img { width: 100%; }
.visit__text { padding: 6vw 0; display: grid; gap: 14px; justify-items: start; }
.visit__text .big { font-size: clamp(3.25rem, 9.6vw, 13rem); margin-bottom: 14px; }
@media (max-width: 760px) {
  .about__h1 { font-size: 19vw; }
  .about__photo { width: 108vw; margin: -4vw 0 0 -4vw; }
  .about__story { width: auto; margin-top: 0; padding: 26px 0 0; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 20px var(--gutter); }
  .step__day { padding: 0; }
  .visit { display: block; padding: 0; }
  .visit__text { padding: 32px var(--gutter) 48px; }
}

/* Delivery */
.info__top { position: relative; padding: 10px var(--gutter) 6vw; overflow: clip; min-height: 58vw; }
.info__top h1 { position: relative; z-index: 3; }
.info__small { display: block; font-size: 1.125rem; font-weight: 600; margin-bottom: 14px; }
.info__top .big { font-size: clamp(3rem, 17vw, 25rem); }
.info__top .big + .big { font-size: clamp(2.75rem, 9.6vw, 14rem); margin-top: .12em; }
.info__pot { position: absolute; z-index: 2; right: -14vw; top: 1vw; width: 50vw; }
.info__pot img { width: 100%; filter: drop-shadow(0 2vw 2vw rgba(0, 0, 0, .3)); }
.info__lead { position: relative; z-index: 3; max-width: 32rem; margin-top: 22px; font-size: 1.1875rem; }
.info__rates { padding: 3vw var(--gutter) 9vw; max-width: 1200px; }
.info__rates .mid { margin-bottom: 18px; }
.info__rates > p { margin-top: 14px; }
.rates { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 16px 12px 0; border-top: 2px solid currentColor; text-align: left; vertical-align: top; font-weight: 500; }
thead th { border-top: 0; font-size: var(--small); font-weight: 600; }
tbody th { font-weight: 600; }
.info__pack { padding: 9vw var(--gutter) 3vw; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: end; }
.info__pack .big { font-size: clamp(3.5rem, 13vw, 19rem); color: var(--hot); }
.info__faq { padding: 4vw var(--gutter) 9vw; max-width: 1200px; }
.info__faq .mid { margin-bottom: 16px; }
details { border-top: 2px solid currentColor; }
details:last-of-type { border-bottom: 2px solid currentColor; }
summary { position: relative; padding: 14px 32px 14px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.125rem; transition: padding-left .3s var(--ease), color .2s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 8px; font-size: 1.5rem; transition: transform .35s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
summary:hover { padding-left: 10px; color: var(--hot); }
details p { padding: 0 28px 16px 0; max-width: 42rem; }
.info__note { margin-top: 20px; }
@media (max-width: 760px) {
  .info__top { padding-bottom: 32px; }
  .info__top .big { font-size: 25vw; }
  .info__top .big + .big { font-size: 15vw; }
  .info__pot { position: relative; right: auto; top: auto; width: 110vw; margin: -2vw 0 -2vw 8vw; }
  .info__pack { display: block; }
  .info__pack .big { font-size: 18vw; margin-bottom: 12px; }
  th, td { padding-right: 10px; font-size: .9375rem; }
}

/* Checkout */
.checkout { max-width: 1400px; margin: 0 auto; padding: 10px var(--gutter) clamp(64px, 8vw, 130px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.checkout__head, .checkout__empty, .done { grid-column: 1 / -1; }
.checkout__head .big { font-size: clamp(3.5rem, 15.5vw, 15rem); margin: 0 0 18px -.03em; }
.demo-note { padding: 14px 18px; background: #1c0e07; color: #fff0d9; font-size: 1.125rem; }
.demo-note strong { color: #ff9a5c; font-weight: 600; }
fieldset { margin: 0 0 30px; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; font-family: var(--display); font-variation-settings: "opsz" 144, "SOFT" 100; font-size: 1.75rem; font-weight: 700; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 3px; font-size: .9375rem; font-weight: 600; }
.field input, .foot input { width: 100%; height: 52px; padding: 8px 12px; border: 2px solid currentColor; border-radius: 0; background: transparent; transition: box-shadow .25s; }
.field input:hover { box-shadow: inset 0 -5px 0 var(--ember); }
.field input[aria-invalid="true"] { border-color: #a32210; }
.field-error { margin-top: 4px; font-size: .9375rem; font-weight: 600; color: #a32210; }
.radio { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 2px solid currentColor; cursor: pointer; transition: padding-left .25s var(--ease); }
.radio:last-child { border-bottom: 2px solid currentColor; }
.radio:hover { padding-left: 8px; }
.radio input { width: 20px; height: 20px; margin: 0; accent-color: #b8471a; }
.radio__p { font-weight: 600; font-variant-numeric: tabular-nums; }
.checkout__small { margin-top: 10px; font-size: .9375rem; }
.summary { padding: 20px 22px 22px; background: #d2692f; color: #1c0e07; --line: rgba(28, 14, 7, .4); --on: #1c0e07; --ground: #d2692f; --hot: #fff0d9; }
.summary h2 { font-family: var(--display); font-variation-settings: "opsz" 144, "SOFT" 100; font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
.summary__items li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; }
.summary__items img { width: 64px; height: 64px; object-fit: contain; }
.summary__items small { display: block; font-size: .875rem; }
.summary .lnk { margin: 6px 0 14px; font-size: .9375rem; }
.totals div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 2px solid var(--line); }
.totals dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.totals .totals__sum { font-size: 1.1875rem; font-weight: 600; }
.done { max-width: 52rem; padding: 12px 0; outline: 0; }
.done .big { color: var(--hot); margin-bottom: 18px; }
.done p { margin-bottom: 12px; }
.done .btn { margin-top: 12px; }
.checkout__empty p { margin-bottom: 18px; font-size: 1.25rem; }
@media (max-width: 860px) {
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .summary { grid-row: 2; }
}

/* Basket */
html.is-locked { overflow: hidden; }
.basket {
  --on: #1c0e07; --ground: #f6ecdc; --hot: #b8471a; --line: rgba(28, 14, 7, .22);
  position: fixed; inset: 0 0 0 auto; width: min(460px, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0;
  background: #f6ecdc; color: #1c0e07; transform: translateX(100%); transition: transform .5s var(--ease); overflow: hidden;
}
.basket.is-in { transform: none; }
.basket::backdrop { background: rgba(28, 14, 7, 0); transition: background-color .5s; }
.basket.is-in::backdrop { background: rgba(28, 14, 7, .55); }
.basket__in { display: flex; flex-direction: column; height: 100%; }
.basket__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 3px solid #1c0e07; }
.basket__top h2 { font-family: var(--display); font-variation-settings: "opsz" 144, "SOFT" 100; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.close { padding: 6px 0; border: 0; background: none; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-underline-offset .25s; }
.close:hover { text-underline-offset: 7px; }
.basket__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px; }
.line { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 2px solid var(--line); }
.line img { width: 92px; height: 92px; object-fit: contain; }
.line__top { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.line__top a { text-decoration: none; }
.line__top a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.line small { display: block; font-size: .875rem; font-weight: 500; }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.line .stepper { height: 40px; }
.line .stepper button { width: 36px; }
.line .stepper output { display: grid; place-items: center; min-width: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.remove { padding: 4px 0; border: 0; background: none; font-size: .875rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
.remove:hover { color: #a32210; }
.basket__empty { padding: 32px 0; }
.basket__empty p { margin-bottom: 16px; font-size: 1.25rem; }
.basket__end { padding: 14px 24px calc(18px + env(safe-area-inset-bottom)); border-top: 3px solid #1c0e07; background: #f6ecdc; }
.basket__end:empty { display: none; }
.free { margin-bottom: 12px; font-weight: 600; font-size: .9375rem; }
.free__bar { display: block; height: 10px; margin-top: 6px; background: #e4d6bf; overflow: hidden; }
.free__bar span { display: block; height: 100%; background: linear-gradient(90deg, #a32210, #ff6a1f 70%, #ffd166); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.basket__end .totals { margin-bottom: 14px; }
.basket__end .totals div { padding: 4px 0; border-top: 0; font-size: 1rem; }
.basket__end .totals .totals__sum { font-size: 1.25rem; border-top: 2px solid #1c0e07; padding-top: 8px; margin-top: 4px; }
.basket__end .btn { width: 100%; }
.line-note { padding-top: 6px; font-size: .875rem; font-weight: 600; color: #a32210; }

/* Footer */
.foot { position: relative; overflow: clip; background: #151312; color: #f6ecdd; --on: #f6ecdd; --ground: #151312; --hot: #ff6a1f; display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 2fr)) minmax(0, 3fr); gap: 40px 32px; padding: clamp(48px, 6vw, 80px) var(--gutter) 0; }
.foot h2 { font-family: var(--display); font-variation-settings: "opsz" 144, "SOFT" 100; font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.foot__list { max-width: 28rem; }
.foot__list > p { margin-bottom: 14px; }
.foot label { display: block; margin-bottom: 4px; font-size: .9375rem; font-weight: 600; }
.foot__row { display: flex; gap: 8px; }
.foot input { flex: 1; min-width: 0; height: 56px; color: #f6ecdd; }
.foot .field-error { color: #ffb29a; }
.form-done { margin-top: 10px; color: #ff9a5c; font-weight: 600; }
.foot a { text-decoration: none; background: linear-gradient(#ff6a1f, #ff6a1f) 0 100% / 0 3px no-repeat; transition: background-size .35s var(--ease); }
.foot a:hover { background-size: 100% 3px; }
.foot__links li { padding: 2px 0; }
.foot address { font-style: normal; }
.foot address p { margin-bottom: 6px; }
.foot__small { grid-column: 1 / -1; font-size: .8125rem; }
.foot__word { grid-column: 1 / -1; margin: 0 0 -6.5vw -.03em; font-size: 31vw; font-weight: 900; line-height: .84; letter-spacing: -.05em; color: #ff6a1f; }
@media (max-width: 900px) {
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__list, .foot__where { grid-column: 1 / -1; }
}

/* 404 */
.lost { padding: 0 var(--gutter) 8vw; }
.lost .big { font-size: 40vw; color: var(--hot); }
.lost__text { display: grid; gap: 12px; justify-items: start; }

/* Slow drift on the big words as you pass them, where the browser can do it */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .s-iron__word, .s-celadon__word, .s-char__word, .s-fig__word, .stage__word { animation: drift linear both; animation-timeline: view(); }
    @keyframes drift { from { translate: -3vw 0; } to { translate: 3vw 0; } }
    .s-sage__a { animation: drift linear both; animation-timeline: view(); }
    .s-sage__b { animation: drift linear both reverse; animation-timeline: view(); }
    .s-iron__pot img, .s-celadon__pot img { animation: roll linear both; animation-timeline: view(); }
    @keyframes roll { from { rotate: -7deg; } to { rotate: 7deg; } }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
