/* Marram Ceramics — a ReWork design concept for a fictional studio.
   Motif: the arched kiln door. Every piece sits in an arch, on a kiln shelf. */

@font-face {
  font-family: "Cormorant";
  src: url("/fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("/fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken";
  src: url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --clay: #eee7dc;
  --slip: #f7f3ec;
  --bisque: #e4d9c8;
  --shelf: #d4c4ab;
  --umber: #2b221c;
  --muted: #65564a;
  --kelp: #434d2c;
  --night: #2f3522;
  --rust: #8a3b1f;
  --flame: #e4b98e;
  --line: rgba(43, 34, 28, 0.16);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Hanken", "Hanken Grotesk", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--clay);
  color: var(--umber);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
}
p {
  margin: 0;
}
button,
input {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--umber);
  outline-offset: 3px;
}
.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--umber);
  color: var(--clay);
  border-radius: 999px;
}

/* ---------- Concept bar & header ---------- */
.concept-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px var(--gutter);
  background: var(--umber);
  color: var(--clay);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.concept-bar a {
  text-underline-offset: 3px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(238, 231, 220, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s;
}
.top.scrolled {
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 15px;
  font-weight: 500;
}
.nav-right {
  justify-self: end;
}
.nav a {
  position: relative;
  text-decoration: none;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.logo {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 10px;
  align-items: center;
  text-decoration: none;
}
.logo svg {
  grid-row: span 2;
  width: 24px;
  fill: none;
  stroke: var(--umber);
  stroke-width: 2.2;
  stroke-linecap: round;
}
.logo-word {
  font: 500 31px/0.9 var(--serif);
  letter-spacing: 0.01em;
}
.logo-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.bag-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 8px 6px 16px;
  border: 1px solid var(--umber);
  border-radius: 999px;
  background: transparent;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s;
}
.bag-button:hover {
  background: var(--umber);
  color: var(--clay);
}
.bag-count {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--umber);
  color: var(--clay);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  transition: transform 0.4s var(--ease);
}
.bag-button:hover .bag-count {
  background: var(--clay);
  color: var(--umber);
}
.bag-count.bump {
  animation: bump 0.6s var(--ease);
}
@keyframes bump {
  40% {
    transform: scale(1.35);
  }
}
.menu-button {
  display: none;
}
.mobile-menu {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 39;
  display: grid;
  padding: 12px var(--gutter) 28px;
  background: var(--clay);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(43, 34, 28, 0.3);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font: 400 30px/1.1 var(--serif);
  text-decoration: none;
}

/* ---------- Shared pieces ---------- */
.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--umber);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.35s,
    color 0.35s,
    border-color 0.35s,
    transform 0.35s var(--ease);
}
.btn-solid {
  background: var(--umber);
  color: var(--clay);
}
.btn-solid:hover {
  background: var(--kelp);
  border-color: var(--kelp);
}
.btn-line {
  background: transparent;
}
.btn-line:hover {
  background: var(--umber);
  color: var(--clay);
}
.btn-light {
  background: var(--clay);
  color: var(--umber);
  border-color: var(--clay);
}
.btn-light:hover {
  background: transparent;
  color: var(--clay);
}
.btn:active {
  transform: scale(0.98);
}
.btn-text {
  display: inline-flex;
  gap: 8px;
  font-weight: 600;
  text-underline-offset: 6px;
}
.btn-text span {
  transition: transform 0.4s var(--ease);
}
.btn-text:hover span {
  transform: translateX(5px);
}
.arch {
  position: relative;
  overflow: hidden;
  border-radius: 9999px 9999px 0 0;
  background: radial-gradient(
    120% 85% at 50% 8%,
    #f5efe6 0%,
    #e7dccb 62%,
    #dccdb7 100%
  );
}
/* The kiln shelf every piece stands on. */
.arch::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 11%;
  background: linear-gradient(#d6c6ae, #cbb99f);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.5);
}
.vessel {
  position: relative;
  z-index: 1;
}
.vessel .cast {
  fill: #2b221c;
  opacity: 0.4;
}
.vessel .throw {
  fill: none;
  stroke: #000;
  stroke-opacity: 0.07;
  stroke-width: 3;
}
.vessel .gloss {
  fill: #fff;
  opacity: 0.3;
}
.vessel .lip {
  fill: none;
  stroke: #fff;
  stroke-opacity: 0.35;
  stroke-width: 1.5;
}
.vessel .handle {
  fill: none;
  stroke-width: 13;
  stroke-linecap: round;
}
.vessel .stem {
  fill: none;
  stroke: #7d7045;
  stroke-width: 2;
  stroke-linecap: round;
}
.vessel .lid-line {
  stroke: #000;
  stroke-opacity: 0.25;
  stroke-width: 1.5;
}
.rim-break {
  fill: none;
  stroke: #5a3b22;
  stroke-opacity: 0.35;
  stroke-width: 3;
}
.rim-break.gold {
  stroke: #e0ad62;
  stroke-opacity: 0.75;
}
.well-edge {
  fill: none;
  stroke: #000;
  stroke-opacity: 0.07;
  stroke-width: 6;
}
.speck {
  opacity: 0.35;
  transition: opacity 0.8s;
}
.vessel[data-glaze="cotton"] .speck,
.speck.strong {
  opacity: 0.95;
}
.vessel[data-glaze="marram"] .speck {
  opacity: 0.55;
}
.vessel[data-glaze="kelp"] .speck,
.vessel[data-glaze="rust"] .speck,
.vessel[data-glaze="atlantic"] .speck {
  opacity: 0.22;
}
.sheet {
  will-change: transform;
}

/* Glaze swatches, used for buttons and radio labels. */
.sw {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
.sw:hover {
  transform: scale(1.08);
}
.sw-marram {
  background: radial-gradient(circle at 34% 30%, #ece8c6, #c8c499 52%, #8f8b5d);
}
.sw-kelp {
  background: radial-gradient(circle at 34% 30%, #8a945f, #4c5633 52%, #262c17);
}
.sw-cotton {
  background: radial-gradient(circle at 34% 30%, #fffdf8, #ebe6da 52%, #b8b09e);
}
.sw-atlantic {
  background: radial-gradient(circle at 34% 30%, #c6d6db, #7c96a0 52%, #465e66);
}
.sw-rust {
  background: radial-gradient(circle at 34% 30%, #cf7f52, #883d21 52%, #3f190b);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 84px) var(--gutter) clamp(56px, 7vw, 110px);
}
.hero-text {
  padding-bottom: clamp(8px, 4vw, 64px);
}
.hero h1 {
  margin: 26px 0 30px;
  font-size: clamp(60px, 8vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.018em;
}
.hero h1 .line {
  display: block;
  animation: rise 1.2s var(--ease) both;
}
.hero h1 .line + .line {
  animation-delay: 0.14s;
}
.hero h1 em {
  font-style: italic;
  color: var(--kelp);
  padding-left: 0.42em;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(36%);
  }
}
.lede {
  max-width: 34ch;
  font-size: clamp(17px, 1.35vw, 19.5px);
  color: var(--muted);
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 36px;
}
.hero-jar {
  margin: 0;
}
.arch-hero {
  display: grid;
  place-items: end center;
  aspect-ratio: 5 / 6;
  padding-bottom: 2.6%;
  animation: arch-in 1.4s var(--ease) both;
}
@keyframes arch-in {
  from {
    clip-path: inset(100% 0 0 0 round 9999px 9999px 0 0);
  }
  to {
    clip-path: inset(0 0 0 0 round 9999px 9999px 0 0);
  }
}
.sun {
  position: absolute;
  top: 13%;
  left: 50%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #f9f4ec 0%, #f0e6d7 70%, transparent 71%);
  transform: translateX(-50%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  to {
    transform: translate(-46%, 6%);
  }
}
.jar {
  width: 76%;
  animation: settle 1.6s 0.25s var(--ease) both;
}
@keyframes settle {
  from {
    transform: translateY(-14%);
    opacity: 0;
  }
}
.hero-jar figcaption {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
.dip {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dip-label {
  margin-right: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.dip .sw {
  width: 40px;
  height: 40px;
}
.dip .sw[aria-pressed="true"] {
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.14),
    0 0 0 3px var(--clay),
    0 0 0 4px var(--umber);
}
.dip-caption {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: baseline;
  min-height: 3.4em;
}
.dip-piece {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--muted);
}
.dip-name {
  font: italic 400 30px/1.1 var(--serif);
}
.dip-note {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- The firing ---------- */
.firing {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(64px, 8vw, 120px)
    max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  background: var(--night);
  color: var(--clay);
}
.firing .eyebrow {
  color: #cfc5b0;
}
.firing h2 {
  margin: 18px 0 22px;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.98;
}
.firing-no em {
  color: var(--flame);
}
.firing-when {
  max-width: 40ch;
  color: #ddd4c3;
  font-size: 17.5px;
}
.firing-when strong {
  color: var(--clay);
  font-weight: 600;
}
.firing .btn {
  margin-top: 32px;
}
.kiln {
  margin: 0;
}
.kiln svg {
  width: 100%;
  overflow: visible;
}
.kiln-grid line {
  stroke: #eee7dc;
  stroke-opacity: 0.14;
}
.kiln-grid .axis {
  stroke-opacity: 0.4;
}
.kiln-labels text {
  fill: #cfc5b0;
  font: 500 12px var(--sans);
  letter-spacing: 0.04em;
}
.kiln-line {
  fill: none;
  stroke: var(--flame);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.8s cubic-bezier(0.5, 0, 0.2, 1);
}
.kiln.in .kiln-line {
  stroke-dashoffset: 0;
}
.kiln-notes circle {
  fill: var(--night);
  stroke: var(--flame);
  stroke-width: 2;
}
.kiln-notes text {
  fill: var(--clay);
  font: 500 13.5px var(--sans);
}
.kiln-notes > * {
  opacity: 0;
  transition: opacity 0.6s;
}
.kiln.in .kiln-notes > * {
  opacity: 1;
}
.kiln.in .kiln-notes > :nth-child(-n + 2) {
  transition-delay: 0.9s;
}
.kiln.in .kiln-notes > :nth-child(n + 3) {
  transition-delay: 1.4s;
}
.kiln.in .kiln-notes > :nth-child(n + 5) {
  transition-delay: 2.2s;
}
.kiln figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: #cfc5b0;
}

/* ---------- Section heads ---------- */
section {
  position: relative;
}
.shop,
.glazes,
.making,
.care,
.classes,
.commission {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 140px) var(--gutter);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 12px 48px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 84px);
}
.numeral {
  grid-column: 1 / -1;
  font: italic 400 30px/1 var(--serif);
  color: var(--rust);
}
.section-head h2,
.classes h2 {
  font-size: clamp(46px, 6.4vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.012em;
}
.section-head > p:last-child {
  color: var(--muted);
  padding-bottom: 8px;
}

/* ---------- Shop ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 76px clamp(20px, 3vw, 48px);
}
.product:nth-child(3n + 2) {
  margin-top: 110px;
}
.arch-product {
  display: grid;
  place-items: end center;
  aspect-ratio: 4 / 5;
  padding-bottom: 0;
}
.arch-product .vessel {
  width: 74%;
  transition: transform 0.7s var(--ease);
}
.arch-product .vessel.plate {
  width: 84%;
}
.product:hover .vessel {
  transform: translateY(-8px) rotate(-1.5deg);
}
.product-info {
  margin-top: 24px;
}
.product-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.product h3 {
  font-size: clamp(28px, 2.4vw, 34px);
  font-weight: 500;
}
.price {
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.meta {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
}
.stock {
  color: var(--rust);
  font-weight: 600;
}
.variants {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 22px;
  padding: 0;
  border: 0;
}
.variants legend {
  float: left;
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  font-size: 14px;
  color: var(--muted);
}
.variant-name {
  color: var(--umber);
  font-weight: 600;
}
.variants .sw {
  width: 28px;
  height: 28px;
}
.variants .sw input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.variants .sw:has(input:checked) {
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.14),
    0 0 0 3px var(--clay),
    0 0 0 4px var(--umber);
}
.variants .sw:has(input:focus-visible) {
  outline: 2px solid var(--umber);
  outline-offset: 6px;
}
.add {
  width: 100%;
}
.add.added {
  background: var(--kelp);
  border-color: var(--kelp);
  color: var(--clay);
}
.shop-note {
  max-width: 52ch;
  margin: 84px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Glazes ---------- */
.glazes-wrap,
.glazes {
  position: relative;
}
.glazes::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--slip);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile svg {
  width: min(100%, 150px);
  margin-bottom: 24px;
  filter: drop-shadow(0 14px 18px rgba(43, 34, 28, 0.16));
  transition: transform 0.6s var(--ease);
}
.tile:hover svg {
  transform: translateY(-8px) rotate(-2.5deg);
}
.tile-hole {
  fill: var(--slip);
}
.tile-cut {
  fill: none;
  stroke: #fff;
  stroke-opacity: 0.35;
  stroke-width: 2;
}
.tile-cut.gold {
  stroke: #e0ad62;
  stroke-opacity: 0.7;
}
.tile h3 {
  font-size: 32px;
  font-weight: 500;
}
.tile p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}
.glaze-safe {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font: italic 400 24px/1.3 var(--serif);
}

/* ---------- The making ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 36px 0 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--umber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2.2s cubic-bezier(0.5, 0, 0.2, 1);
}
.timeline.in::before {
  transform: scaleX(1);
}
.timeline li {
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -42px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--umber);
  background: var(--clay);
}
.day {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}
.timeline h3 {
  margin: 12px 0 10px;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.05;
}
.timeline p {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Commission ---------- */
.commission {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: center;
}
.arch-plate {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 18% 10% 22%;
}
.arch-plate .vessel {
  width: 100%;
  animation: spin 60s linear infinite;
  filter: drop-shadow(0 18px 20px rgba(43, 34, 28, 0.28));
}
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}
.commission blockquote {
  margin: 22px 0 26px;
}
.commission blockquote p {
  font: italic 400 clamp(30px, 3.4vw, 52px) / 1.12 var(--serif);
  letter-spacing: -0.005em;
}
.cite {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.commission-note {
  max-width: 46ch;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15.5px;
}
.commission-note a {
  display: inline-block;
  margin-top: 8px;
  color: var(--umber);
  font-weight: 600;
  text-underline-offset: 5px;
}

/* ---------- Classes ---------- */
.classes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.classes::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--bisque);
}
.classes h2 {
  margin: 12px 0 28px;
}
.classes-text > p:not(.numeral) {
  max-width: 44ch;
  color: var(--muted);
}
.classes-price {
  margin-top: 28px;
}
.classes-price span {
  font: 500 48px/1 var(--serif);
  color: var(--umber);
  margin-right: 8px;
}
.dates {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--umber);
}
.dates li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.date-fallback {
  color: var(--muted);
}
.date-day {
  font: 500 28px/1.05 var(--serif);
}
.date-left {
  grid-column: 1;
  font-size: 14px;
  color: var(--muted);
}
.dates .btn {
  grid-row: 1 / span 2;
  grid-column: 2;
  min-height: 46px;
  padding: 0 22px;
  font-size: 14.5px;
}
.dates .btn[disabled] {
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  background: transparent;
}
.date-status {
  margin-top: 18px;
  min-height: 1.6em;
  font-size: 15px;
}

/* ---------- Care ---------- */
.care {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
}
.care .section-head {
  display: block;
  margin: 0;
}
.care .section-head h2 {
  margin-top: 12px;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  display: block;
  padding: 26px 48px 26px 0;
  font: 500 clamp(24px, 2.2vw, 30px) / 1.15 var(--serif);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background:
    linear-gradient(var(--umber), var(--umber)) center / 16px 1.5px no-repeat,
    linear-gradient(var(--umber), var(--umber)) center / 1.5px 16px no-repeat;
  transition: transform 0.45s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(135deg);
}
.faq details p {
  max-width: 56ch;
  padding: 0 0 28px;
  color: var(--muted);
}

/* ---------- Kiln list ---------- */
.kiln-list {
  padding: clamp(72px, 9vw, 128px) var(--gutter);
  background: var(--night);
  color: var(--clay);
  text-align: center;
}
.kiln-list h2 {
  font: italic 400 clamp(52px, 7vw, 110px) / 0.95 var(--serif);
}
.kiln-list > p {
  max-width: 40ch;
  margin: 20px auto 40px;
  color: #ddd4c3;
}
.list-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.list-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cfc5b0;
}
.list-row {
  display: flex;
  gap: 12px;
}
.list-row input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(238, 231, 220, 0.5);
  border-radius: 999px;
  background: transparent;
  color: var(--clay);
}
.list-row input::placeholder {
  color: #b9b09e;
}
.list-row input:focus-visible,
.kiln-list :focus-visible,
.firing :focus-visible {
  outline-color: var(--clay);
}
.list-row .btn-solid {
  background: var(--clay);
  color: var(--umber);
  border-color: var(--clay);
}
.list-row .btn-solid:hover {
  background: var(--flame);
  border-color: var(--flame);
}
.form-status {
  min-height: 1.6em;
  margin-top: 14px;
  font-size: 15px;
  color: #ddd4c3;
}

/* ---------- Footer ---------- */
.foot {
  padding: clamp(56px, 7vw, 96px) var(--gutter) 32px;
  background: var(--umber);
  color: var(--clay);
}
.foot :focus-visible {
  outline-color: var(--clay);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.foot-word {
  font: italic 400 clamp(72px, 11vw, 170px) / 0.8 var(--serif);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.foot h2 {
  margin-bottom: 14px;
  font: 700 12px/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cfc5b0;
}
.foot p {
  color: #e6ddcd;
}
.foot a {
  text-underline-offset: 4px;
}
.foot-note {
  max-width: var(--max);
  margin: 64px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(238, 231, 220, 0.2);
  font-size: 13px;
}

/* ---------- Bag drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.drawer[hidden] {
  display: none;
}
.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(43, 34, 28, 0.42);
  opacity: 0;
  transition: opacity 0.45s;
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(460px, 100%);
  background: var(--slip);
  box-shadow: -30px 0 60px -30px rgba(43, 34, 28, 0.45);
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
}
.drawer.open .drawer-scrim {
  opacity: 1;
}
.drawer.open .drawer-panel {
  transform: none;
}
.drawer-panel:focus {
  outline: none;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  font-size: 36px;
  font-weight: 500;
}
.drawer-close {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.drawer-close:hover {
  border-color: var(--umber);
}
.ship {
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.ship-bar {
  height: 4px;
  margin-top: 10px;
  border-radius: 4px;
  background: var(--bisque);
  overflow: hidden;
}
.ship-bar span {
  display: block;
  height: 100%;
  background: var(--kelp);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.bag-items {
  flex: 1;
  margin: 0;
  padding: 8px 28px;
  list-style: none;
  overflow-y: auto;
}
.bag-items li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  animation: slide-in 0.5s var(--ease);
}
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
}
.bag-items .sw {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  cursor: default;
}
.bag-items .sw:hover {
  transform: none;
}
.item-name {
  font: 500 23px/1.1 var(--serif);
}
.item-price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.item-glaze {
  font-size: 13.5px;
  color: var(--muted);
}
.qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  justify-self: end;
}
.qty button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  line-height: 1;
}
.qty button:hover {
  border-color: var(--umber);
}
.qty output {
  min-width: 26px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.bag-empty {
  padding: 32px 28px;
  font: italic 400 26px/1.2 var(--serif);
  color: var(--muted);
}
.drawer-foot {
  padding: 22px 28px 28px;
  border-top: 1px solid var(--line);
  background: var(--clay);
}
.subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  font: 500 26px/1 var(--serif);
}
.subtotal-value {
  font-variant-numeric: tabular-nums;
}
.checkout {
  width: 100%;
}
.checkout[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.checkout-note {
  min-height: 1.5em;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .timeline {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(230px, 1fr);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-top: 44px;
    padding-bottom: 12px;
    margin-top: -8px;
  }
  .timeline li {
    scroll-snap-align: start;
  }
  .timeline::before {
    top: 8px;
  }
  .timeline li::before {
    top: -42px;
  }
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 56px;
  }
}
@media (max-width: 960px) {
  .top {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }
  .nav-left,
  .nav-right a {
    display: none;
  }
  .logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  .menu-button {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--umber);
    border-radius: 999px;
    background: var(--umber);
    color: var(--clay);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
  }
  .hero,
  .firing,
  .commission,
  .classes,
  .care {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-jar {
    max-width: 560px;
  }
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product:nth-child(3n + 2) {
    margin-top: 0;
  }
  .product:nth-child(2n) {
    margin-top: 72px;
  }
  .section-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .commission .arch-plate {
    max-width: 420px;
  }
  .foot-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .foot-grid > :first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .hero h1 em {
    padding-left: 0;
  }
  .products {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 64px;
  }
  .product:nth-child(2n) {
    margin-top: 0;
  }
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 20px;
  }
  .dip {
    flex-wrap: wrap;
    gap: 10px;
  }
  .dip-label {
    width: 100%;
  }
  .kiln-notes text {
    font-size: 17px;
  }
  .kiln-labels text {
    font-size: 16px;
  }
  .dates li {
    grid-template-columns: minmax(0, 1fr);
  }
  .dates .btn {
    grid-row: auto;
    grid-column: 1;
    justify-self: start;
    margin-top: 10px;
  }
  .list-row {
    flex-direction: column;
  }
  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .logo-word {
    font-size: 27px;
  }
  .logo-sub {
    font-size: 8.5px;
    letter-spacing: 0.2em;
  }
  .bag-button {
    padding-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
