/* ==========================================================================
   Clay A Lot — styles
   Signature idea: "The Pinched Rim" — every section opens with a thick,
   thumb-pinched clay lip, and display type is extruded like a pulled slab.
   Colours sampled from the client's colour reference only.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* colour — raw palette (sampled) */
  --kiln:  #2a0905;  /* deep espresso / oxblood — ink + dark ground */
  --oxide: #5b3e2f;  /* oxblood-brown — secondary dark */
  --clay:  #66443a;  /* mauve-brown dark — muted text on light */
  --mauve: #9c7965;  /* mauve-brown — mid block */
  --olive: #776c4e;  /* olive — decorative / large text only */
  --sage:  #918262;  /* sage — mid block */
  --peach: #f0ccad;  /* warm peach highlight — main ground */
  --slip:  #f7e4d2;  /* light tint of peach — cards, fields */

  /* colour — roles */
  --bg: var(--peach);
  --ink: var(--kiln);
  --ink-soft: var(--clay);
  --surface: var(--slip);
  --line: var(--kiln);
  --focus: var(--kiln);
  --accent: var(--oxide);

  /* type */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.1875rem, 1.1rem + 0.45vw, 1.4375rem);
  --step-2:  clamp(1.5rem, 1.3rem + 0.9vw, 2.125rem);
  --step-3:  clamp(2rem, 1.55rem + 2vw, 3.5rem);
  --step-4:  clamp(2.75rem, 1.9rem + 4vw, 5.75rem);
  --step-5:  clamp(5rem, 1rem + 14.5vw, 15rem);

  /* space (4px base) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 3rem);
  --section: clamp(4rem, 2.5rem + 6vw, 8rem);
  --max: 90rem;

  /* shape */
  --border: 3px;
  --radius-s: 0.75rem;
  --radius-m: 1.5rem;
  --radius-l: 2.5rem;
  --radius-pill: 999px;
  --slab: 0 6px 0 var(--kiln);
  --slab-hover: 0 9px 0 var(--kiln);
  --slab-press: 0 2px 0 var(--kiln);

  /* extrusion (thick slab text) */
  --ex: var(--mauve);
  --extrude: 1px 1px 0 var(--ex), 2px 2px 0 var(--ex), 3px 3px 0 var(--ex), 4px 4px 0 var(--ex);

  /* motion */
  --ease-squish: cubic-bezier(0.34, 1.45, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-mid: 420ms;
  --t-slow: 900ms;

  --header-h: 4.5rem;
}

@media (min-width: 48em) {
  :root {
    --extrude: 1px 1px 0 var(--ex), 2px 2px 0 var(--ex), 3px 3px 0 var(--ex), 4px 4px 0 var(--ex),
               5px 5px 0 var(--ex), 6px 6px 0 var(--ex), 7px 7px 0 var(--ex), 8px 8px 0 var(--ex);
  }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
  background-color: var(--peach);
}

body {
  margin: 0;
  background-color: var(--peach);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* grain: a fine clay tooth across everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--kiln); color: var(--peach); }

:focus-visible {
  outline: var(--border) solid var(--focus);
  outline-offset: 4px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -4rem;
  z-index: 100;
  padding: var(--s-3) var(--s-5);
  background: var(--kiln);
  color: var(--peach);
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: var(--s-4); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 3. The Pinched Rim (section openings) ---------- */
.section {
  --sec-bg: var(--peach);
  position: relative;
  background-color: var(--sec-bg);
  padding-block: var(--section);
}
.section--kiln  { --sec-bg: var(--kiln);  --ink: var(--peach); --ink-soft: var(--slip); --line: var(--peach); --focus: var(--peach); color: var(--peach); }
.section--oxide { --sec-bg: var(--oxide); --ink: var(--peach); --ink-soft: var(--slip); --line: var(--peach); --focus: var(--peach); color: var(--peach); }
.section--sage  { --sec-bg: var(--sage);  color: var(--kiln); --ink-soft: var(--kiln); }
.section--mauve { --sec-bg: var(--mauve); color: var(--kiln); --ink-soft: var(--kiln); }
.section--peach { --sec-bg: var(--peach); }

.rim::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: calc(-1 * var(--rim-h, 28px) + 1px);
  height: var(--rim-h, 28px);
  background-color: var(--sec-bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V17C14 17 20 3 37 3S60 21 77 21 98 6 113 6 128 17 140 17V28Z'/%3E%3C/svg%3E") repeat-x left bottom / 140px 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V17C14 17 20 3 37 3S60 21 77 21 98 6 113 6 128 17 140 17V28Z'/%3E%3C/svg%3E") repeat-x left bottom / 140px 100%;
  pointer-events: none;
}
.rim--offset::before { -webkit-mask-position: 63px bottom; mask-position: 63px bottom; }
@media (min-width: 64em) {
  .rim { --rim-h: 40px; }
  .rim::before { -webkit-mask-size: 200px 100%; mask-size: 200px 100%; }
}

/* ---------- 4. Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 0.75em; height: 0.75em;
  border-radius: 46% 54% 41% 59% / 55% 43% 57% 45%;
  background: currentColor;
}

.display {
  font-size: var(--step-5);
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-shadow: var(--extrude);
}
.display em,
.h2 em {
  font-style: italic;
  font-weight: 800;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.h2 { font-size: var(--step-4); text-shadow: var(--extrude); }
.h3 { font-size: var(--step-2); line-height: 1.05; }
.lead { font-size: var(--step-1); line-height: 1.5; max-width: 36ch; }
.muted { color: var(--ink-soft); }

.section--kiln .h2,
.section--oxide .h2 { --ex: var(--oxide); }
.section--oxide .h2 { --ex: var(--kiln); }
.section--sage .h2 { --ex: var(--olive); }
.section--mauve .display,
.section--mauve .h2 { --ex: var(--oxide); }

/* ---------- 5. Buttons & links ---------- */
.btn {
  --btn-bg: var(--kiln);
  --btn-fg: var(--peach);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 3.25rem;
  padding: var(--s-3) var(--s-6);
  border: var(--border) solid var(--kiln);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--slab);
  transform: translateY(0);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background-color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--slab-hover); }
.btn:active { transform: translateY(4px); box-shadow: var(--slab-press); }
.btn:focus-visible { outline-offset: 6px; border-radius: var(--radius-pill); }
.btn .arrow { transition: transform var(--t-mid) var(--ease-squish); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--light { --btn-bg: var(--slip); --btn-fg: var(--kiln); }
.btn--small { min-height: 2.75rem; padding: var(--s-2) var(--s-5); font-size: var(--step--1); }

.section--kiln .btn--light,
.section--oxide .btn--light { border-color: var(--peach); box-shadow: 0 6px 0 var(--peach); }
.section--kiln .btn--light:hover,
.section--oxide .btn--light:hover { box-shadow: 0 9px 0 var(--peach); }

.btn[disabled],
.btn[aria-disabled="true"] {
  --btn-bg: transparent;
  --btn-fg: var(--clay);
  border-style: dashed;
  border-color: var(--clay);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn.is-added { --btn-bg: var(--oxide); --btn-fg: var(--peach); }

.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.3em;
  text-decoration-color: currentColor;
  transition: text-underline-offset var(--t-fast) var(--ease-out);
}
.text-link:hover { text-underline-offset: 0.45em; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: var(--s-3) var(--gutter) 0;
}
.nav-shell {
  position: relative;
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 3.75rem;
  padding: var(--s-2) var(--s-2) var(--s-2) var(--s-5);
  background: var(--slip);
  border: var(--border) solid var(--kiln);
  border-radius: var(--radius-pill);
  box-shadow: 0 5px 0 var(--kiln);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.brand svg { width: 1.75rem; height: 1.75rem; flex: none; transition: transform var(--t-mid) var(--ease-squish); }
.brand:hover svg { transform: rotate(-12deg) scale(1.08); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 2.75rem;
  padding: var(--s-2) var(--s-4);
  border: var(--border) solid var(--kiln);
  border-radius: var(--radius-pill);
  background: var(--kiln);
  color: var(--peach);
  font-weight: 700;
  font-size: var(--step--1);
  cursor: pointer;
}
.nav-toggle .bars { display: grid; gap: 4px; }
.nav-toggle .bars span { display: block; width: 18px; height: 3px; border-radius: 3px; background: currentColor; transition: transform var(--t-fast) var(--ease-out); }
.nav-toggle[aria-expanded="true"] .bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-panel {
  position: absolute;
  top: calc(100% + var(--s-3));
  left: 0; right: 0;
  display: none;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--slip);
  border: var(--border) solid var(--kiln);
  border-radius: var(--radius-m);
  box-shadow: 0 6px 0 var(--kiln);
}
.nav-panel.is-open { display: flex; }

.nav-list { list-style: none; display: flex; flex-direction: column; gap: var(--s-1); }
.nav-list a {
  display: block;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--radius-s);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-2);
  text-decoration: none;
  font-variation-settings: "SOFT" 100;
}
.nav-list a:hover { background: var(--peach); }
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.2em; }

.basket {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--step--1);
  font-weight: 700;
  white-space: nowrap;
}
.basket b {
  display: inline-grid;
  place-items: center;
  min-width: 1.75rem; height: 1.75rem;
  padding-inline: 0.35rem;
  border-radius: var(--radius-pill);
  background: var(--mauve);
  color: var(--kiln);
  font-size: 0.8125rem;
}
.basket.is-bumped b { animation: bump 500ms var(--ease-squish); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35, 0.8); } 100% { transform: scale(1); } }

@media (min-width: 56em) {
  .nav-toggle { display: none; }
  .nav-panel {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--s-5);
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav-list { flex-direction: row; gap: var(--s-1); }
  .nav-list a { font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; padding: var(--s-2) var(--s-4); border-radius: var(--radius-pill); }
  .nav-list a[aria-current="page"] { background: var(--kiln); color: var(--peach); text-decoration: none; }
}

/* ---------- 7. Hero (home) ---------- */
.hero {
  position: relative;
  margin-top: calc(-1 * (var(--header-h) + var(--s-3)));
  padding-top: calc(var(--header-h) + var(--s-3) + var(--s-6));
  padding-bottom: calc(var(--s-8) + 28px);
  background:
    radial-gradient(60% 70% at 72% 40%, rgba(247, 228, 210, 0.95), rgba(240, 204, 173, 0) 70%),
    radial-gradient(50% 60% at 8% 95%, rgba(145, 130, 98, 0.55), rgba(145, 130, 98, 0) 70%),
    radial-gradient(45% 55% at 100% 100%, rgba(156, 121, 101, 0.5), rgba(156, 121, 101, 0) 70%),
    var(--peach);
  overflow: clip;
}
.hero__grid {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; display: grid; gap: var(--s-5); }
.hero .display { --ex: var(--mauve); }
.display span { display: block; }
.hero .display .line-2 { padding-left: 0.42em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5) var(--s-6); margin-top: var(--s-2); }

.hero__media { position: relative; justify-self: center; width: min(100%, 26rem); }
.blob-back {
  position: absolute;
  inset: 6% -6% -4% 8%;
  background: var(--mauve);
  border-radius: 58% 42% 47% 53% / 44% 51% 49% 56%;
  animation: morph 14s ease-in-out infinite alternate;
}
.blob-back--olive { background: var(--olive); }
.blob-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: var(--border) solid var(--kiln);
  border-radius: 46% 54% 44% 56% / 38% 40% 60% 62%;
  box-shadow: 10px 12px 0 var(--kiln);
  animation: morph-frame 16s ease-in-out infinite alternate;
  background: var(--slip);
}
.blob-frame img { width: 100%; height: 100%; object-fit: cover; }
@keyframes morph {
  0%   { border-radius: 58% 42% 47% 53% / 44% 51% 49% 56%; transform: rotate(0deg); }
  50%  { border-radius: 43% 57% 60% 40% / 55% 38% 62% 45%; }
  100% { border-radius: 52% 48% 38% 62% / 40% 58% 42% 60%; transform: rotate(8deg); }
}
@keyframes morph-frame {
  0%   { border-radius: 46% 54% 44% 56% / 38% 40% 60% 62%; }
  100% { border-radius: 54% 46% 52% 48% / 44% 36% 64% 56%; }
}

.stamp {
  position: absolute;
  left: -0.75rem;
  bottom: 6%;
  z-index: 3;
  display: grid;
  place-content: center;
  width: 8.25rem; height: 8.25rem;
  padding: var(--s-3);
  text-align: center;
  background: var(--kiln);
  color: var(--peach);
  border-radius: 50% 47% 52% 49% / 48% 53% 47% 52%;
  box-shadow: 0 6px 0 var(--oxide);
  transform: rotate(-9deg);
  text-decoration: none;
  transition: transform var(--t-mid) var(--ease-squish);
}
.stamp:hover { transform: rotate(0deg) scale(1.06); }
.stamp small { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.stamp strong { display: block; font-family: var(--font-display); font-size: 1.625rem; line-height: 1; font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1; }
.stamp span { display: block; margin-top: 2px; font-size: 0.75rem; }
.section--kiln .stamp, .stamp:focus-visible { outline-color: var(--kiln); }

@media (min-width: 48em) {
  .hero__media { width: min(100%, 24rem); }
}
@media (min-width: 64em) {
  .hero { padding-top: calc(var(--header-h) + var(--s-3) + var(--s-5)); padding-bottom: calc(var(--s-8) + 40px); }
  .hero__grid { grid-template-columns: 1.45fr 1fr; gap: var(--s-6); }
  .hero__media { width: 100%; max-width: 25rem; justify-self: end; margin-right: var(--s-4); }
  .stamp { left: -3.5rem; width: 9.5rem; height: 9.5rem; }
  .stamp strong { font-size: 1.875rem; }
}

/* ---------- 8. Marquee ---------- */
.marquee {
  --sec-bg: var(--kiln);
  position: relative;
  background: var(--kiln);
  color: var(--peach);
  padding-block: var(--s-5) var(--s-4);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  padding-right: var(--s-6);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: var(--step-3);
  line-height: 1.1;
  white-space: nowrap;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.marquee__group i {
  display: inline-block;
  width: 0.55em; height: 0.5em;
  background: var(--mauve);
  border-radius: 52% 48% 40% 60% / 60% 45% 55% 40%;
}
.marquee__group i:nth-of-type(2n) { background: var(--sage); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 9. Studio ---------- */
.studio__grid { display: grid; gap: var(--s-8); align-items: center; }
.arch {
  position: relative;
  width: min(100%, 24rem);
  justify-self: center;
}
.arch__frame {
  aspect-ratio: 4 / 5.2;
  overflow: hidden;
  border: 6px solid var(--peach);
  border-radius: 999px 999px var(--radius-m) var(--radius-m);
}
.arch__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; transform: scale(1.06); transition: transform var(--t-slow) var(--ease-out); }
.arch:hover .arch__frame img { transform: scale(1.12); }
.arch__tag {
  position: absolute;
  right: -0.5rem;
  top: 12%;
  padding: var(--s-2) var(--s-4);
  background: var(--sage);
  color: var(--kiln);
  border: var(--border) solid var(--kiln);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--step--1);
  transform: rotate(6deg);
  box-shadow: 0 4px 0 var(--kiln);
}
.studio__copy { display: grid; gap: var(--s-6); }
.studio__copy .lead { max-width: 44ch; color: var(--slip); }

.steps { list-style: none; display: grid; gap: var(--s-4); margin-top: var(--s-4); counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-2) var(--s-4);
  align-items: baseline;
  padding: var(--s-5);
  border: var(--border) solid var(--peach);
  border-radius: var(--radius-m);
  background: var(--oxide);
}
.step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--step-3);
  line-height: 0.9;
  color: var(--mauve);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.step h3 { font-size: var(--step-2); color: var(--peach); }
.step p { grid-column: 2; color: var(--slip); font-size: var(--step-0); }

@media (min-width: 48em) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr; }
  .step p { grid-column: auto; }
}
@media (min-width: 64em) {
  .studio__grid { grid-template-columns: 0.8fr 1.4fr; gap: var(--s-9); }
  .arch { width: 100%; }
}

/* ---------- 10. Shop ---------- */
.section-head {
  display: grid;
  gap: var(--s-5);
  margin-bottom: var(--s-8);
}
@media (min-width: 64em) {
  .section-head { grid-template-columns: 1fr auto; align-items: end; }
  .section-head .lead { max-width: 30ch; justify-self: end; }
}

.products { list-style: none; display: grid; gap: var(--s-7) var(--s-5); }
.product {
  --card: var(--mauve);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-4) var(--s-5);
  background: var(--card);
  color: var(--kiln);
  border: var(--border) solid var(--kiln);
  border-radius: var(--radius-l);
  box-shadow: 0 8px 0 var(--kiln);
  transform: rotate(var(--tilt, 0deg));
  transition: transform var(--t-mid) var(--ease-squish), box-shadow var(--t-mid) var(--ease-out);
}
.product:nth-child(1) { --card: var(--mauve); --tilt: -1.2deg; }
.product:nth-child(2) { --card: var(--sage);  --tilt: 0.9deg; }
.product:nth-child(3) { --card: var(--slip);  --tilt: -0.6deg; }
.product:nth-child(4) { --card: var(--mauve); --tilt: 1.3deg; }
.product:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 14px 0 var(--kiln); }

.product__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: var(--border) solid var(--kiln);
  border-radius: calc(var(--radius-l) - 0.75rem) calc(var(--radius-l) - 0.75rem) var(--radius-s) var(--radius-s);
  background: var(--peach);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.product:hover .product__media img { transform: scale(1.08); }
.crop-pitcher  { object-position: 40% 62%; }
.crop-mugs     { object-position: 50% 45%; transform-origin: 50% 45%; }
.crop-plate    { object-position: 0% 100%; }
.crop-cup      { object-position: 78% 70%; }
.product__media .zoom { transform: scale(1.35); }
.product:hover .product__media .zoom { transform: scale(1.45); }

.product__body { display: grid; gap: var(--s-2); padding-inline: var(--s-2); }
.product__title { font-size: var(--step-2); line-height: 1; }
.product__meta { font-size: var(--step--1); font-weight: 600; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: auto; padding: var(--s-2) var(--s-2) 0; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-weight: 900; font-size: var(--step-3); line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.shop-note { margin-top: var(--s-8); font-size: var(--step--1); font-weight: 600; color: var(--clay); text-align: center; }

@media (min-width: 40em) {
  .products { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 72em) {
  .products { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
  .product:nth-child(even) { margin-top: var(--s-7); }
}

/* ---------- 11. Workshop teaser ---------- */
.teaser__grid { display: grid; gap: var(--s-8); }
.teaser__copy { display: grid; gap: var(--s-5); align-content: start; }
.teaser__copy .lead { max-width: 32ch; }
.date-list { list-style: none; border-top: var(--border) solid var(--kiln); }
.date-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-2);
  border-bottom: var(--border) solid var(--kiln);
  text-decoration: none;
  transition: background-color var(--t-fast), padding var(--t-mid) var(--ease-squish);
}
.date-row:hover { background: rgba(247, 228, 210, 0.35); padding-inline: var(--s-4); }
.date-row:focus-visible { outline-offset: -3px; border-radius: 0; }
.date-chip {
  display: grid;
  place-items: center;
  width: 4.5rem; height: 4.5rem;
  background: var(--kiln);
  color: var(--peach);
  border-radius: 48% 52% 45% 55% / 52% 46% 54% 48%;
  text-align: center;
  line-height: 1;
}
.date-chip b { font-family: var(--font-display); font-size: 1.75rem; font-weight: 900; font-variation-settings: "SOFT" 100; }
.date-chip small { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.date-row h3 { font-size: var(--step-2); line-height: 1.05; }
.date-row p { font-size: var(--step--1); font-weight: 600; }
.date-row .go {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border: var(--border) solid var(--kiln);
  border-radius: 50%;
  font-size: 1.25rem;
  transition: transform var(--t-mid) var(--ease-squish), background-color var(--t-fast);
}
.date-row:hover .go { transform: rotate(-35deg); background: var(--kiln); color: var(--peach); }
@media (max-width: 29.99em) { .date-row .go { display: none; } .date-row { grid-template-columns: auto 1fr; } }
@media (min-width: 64em) {
  .teaser__grid { grid-template-columns: 1fr 1.25fr; gap: var(--s-9); align-items: start; }
}

/* ---------- 12. Footer ---------- */
.site-footer { padding-bottom: var(--s-6); }
.footer__grid { display: grid; gap: var(--s-7); }
.footer__cols { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.footer__cols h2 { font-family: var(--font-body); font-size: var(--step--1); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mauve); margin-bottom: var(--s-3); line-height: 1.2; }
.footer__cols ul { list-style: none; display: grid; gap: var(--s-2); }
.footer__cols a { text-decoration: none; font-weight: 600; }
.footer__cols a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.footer__word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 1rem + 15.5vw, 17rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: var(--peach);
  --ex: var(--oxide);
  text-shadow: var(--extrude);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  white-space: nowrap;
}
.footer__word em { font-style: italic; font-weight: 800; color: var(--mauve); }
.footer__base {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6);
  justify-content: space-between; align-items: center;
  padding-top: var(--s-5);
  border-top: var(--border) solid var(--oxide);
  font-size: var(--step--1);
}
.socials { display: flex; gap: var(--s-2); list-style: none; }
.socials li {
  padding: var(--s-1) var(--s-3);
  border: 2px solid var(--mauve);
  border-radius: var(--radius-pill);
  color: var(--slip);
  font-size: var(--step--1);
}

/* ---------- 13. Workshops page ---------- */
.w-hero {
  margin-top: calc(-1 * (var(--header-h) + var(--s-3)));
  padding-top: calc(var(--header-h) + var(--s-3) + var(--s-7));
  padding-bottom: calc(var(--s-8) + 28px);
  background:
    radial-gradient(55% 65% at 80% 35%, rgba(240, 204, 173, 0.55), rgba(240, 204, 173, 0) 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(91, 62, 47, 0.35), rgba(91, 62, 47, 0) 70%),
    var(--mauve);
  overflow: clip;
}
.w-hero .display { font-size: clamp(4rem, 1rem + 11vw, 11rem); --ex: var(--oxide); }
.w-hero__grid { display: grid; gap: var(--s-7); align-items: center; }
.w-hero__copy { display: grid; gap: var(--s-5); }
.w-hero__copy .lead { max-width: 34ch; }
.season {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: var(--step-2);
  line-height: 1.1;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.facts li {
  padding: var(--s-2) var(--s-4);
  border: var(--border) solid var(--kiln);
  border-radius: var(--radius-pill);
  background: var(--peach);
  font-size: var(--step--1);
  font-weight: 700;
}
.w-hero .hero__media { max-width: 26rem; }
.w-hero .blob-frame { aspect-ratio: 1 / 1; }
.w-hero .blob-frame img { object-position: 30% 60%; }
@media (min-width: 64em) {
  .w-hero { padding-bottom: calc(var(--s-8) + 40px); }
  .w-hero__grid { grid-template-columns: 1.35fr 1fr; }
  .w-hero .hero__media { justify-self: end; }
}

/* schedule */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-7); }
.chip {
  min-height: 2.75rem;
  padding: var(--s-2) var(--s-5);
  border: var(--border) solid var(--kiln);
  border-radius: var(--radius-pill);
  background: var(--slip);
  color: var(--kiln);
  font-weight: 700;
  font-size: var(--step--1);
  cursor: pointer;
  box-shadow: 0 4px 0 var(--kiln);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast), background-color var(--t-fast);
}
.chip:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--kiln); }
.chip[aria-pressed="true"] { background: var(--kiln); color: var(--peach); transform: translateY(3px); box-shadow: 0 1px 0 var(--kiln); }
.chip:focus-visible { border-radius: var(--radius-pill); }

.month { margin-top: var(--s-8); }
.month:first-of-type { margin-top: 0; }
.month[hidden] { display: none; }
.month__title {
  display: flex; align-items: baseline; gap: var(--s-4);
  font-size: var(--step-3);
  margin-bottom: var(--s-5);
  --ex: var(--mauve);
  text-shadow: 1px 1px 0 var(--ex), 2px 2px 0 var(--ex), 3px 3px 0 var(--ex);
}
.month__title span { font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; color: var(--clay); text-shadow: none; letter-spacing: 0; }

.sessions { list-style: none; display: grid; gap: var(--s-4); }
.session {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  padding: var(--s-4);
  background: var(--slip);
  border: var(--border) solid var(--kiln);
  border-radius: var(--radius-m);
  box-shadow: 0 6px 0 var(--kiln);
  transition: transform var(--t-mid) var(--ease-squish), box-shadow var(--t-mid) var(--ease-out);
}
.session:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--kiln); }
.session[hidden] { display: none; }
.session.is-soldout { background: transparent; box-shadow: 0 6px 0 var(--clay); border-color: var(--clay); }
.session.is-soldout:hover { transform: none; box-shadow: 0 6px 0 var(--clay); }
.session .date-chip { width: 4.75rem; height: 4.75rem; }
.session.is-soldout .date-chip { background: var(--clay); }
.session__main { display: grid; gap: var(--s-2); align-content: center; min-width: 0; }
.session__title { font-size: var(--step-2); line-height: 1.05; }
.session__desc { font-size: var(--step--1); color: var(--clay); max-width: 52ch; }
.session__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: var(--step--1); font-weight: 600; list-style: none; }
.session__meta li { display: inline-flex; align-items: center; gap: var(--s-1); }
.session__meta li + li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mauve); margin-right: var(--s-3); }
.session__side {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding-top: var(--s-3);
  border-top: 2px dashed var(--mauve);
}
.session__price { font-family: var(--font-display); font-weight: 900; font-size: var(--step-3); line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.session__price small { font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; margin-left: 0.25em; }

.status {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-1) var(--s-3);
  border-radius: var(--radius-pill);
  font-size: var(--step--1);
  font-weight: 700;
  white-space: nowrap;
  background: var(--sage);
  color: var(--kiln);
}
.status::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: currentColor; }
.status--low { background: var(--kiln); color: var(--peach); }
.status--out { background: transparent; color: var(--clay); border: 2px dashed var(--clay); }
.status--out::before { border-radius: 2px; transform: rotate(45deg); }
.session__cta { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }

@media (min-width: 48em) {
  .session { grid-template-columns: auto 1fr auto; align-items: center; padding: var(--s-4) var(--s-5); gap: var(--s-5); }
  .session__side {
    grid-column: auto;
    flex-direction: column; align-items: flex-end; justify-content: center;
    padding-top: 0; padding-left: var(--s-5);
    border-top: 0; border-left: 2px dashed var(--mauve);
    min-width: 11rem;
  }
  .session__cta { justify-content: flex-end; }
}
@media (min-width: 64em) {
  .session { grid-template-columns: auto 1fr auto; }
  .session__side { flex-direction: row; align-items: center; min-width: 0; gap: var(--s-5); }
}

.empty-note { margin-top: var(--s-5); font-weight: 600; }

/* expect */
.expect { list-style: none; display: grid; gap: var(--s-5); counter-reset: exp; }
.expect li {
  position: relative;
  display: grid; gap: var(--s-3); align-content: start;
  padding: var(--s-6) var(--s-5) var(--s-5);
  background: var(--oxide);
  border: var(--border) solid var(--peach);
  border-radius: var(--radius-l) var(--radius-l) var(--radius-m) var(--radius-m);
}
.expect li:nth-child(even) { border-radius: var(--radius-m) var(--radius-l) var(--radius-l) var(--radius-m); }
.expect .num {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 900;
  line-height: 0.8;
  color: var(--mauve);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.expect h3 { font-size: var(--step-2); color: var(--peach); }
.expect p { color: var(--slip); }
@media (min-width: 40em) { .expect { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72em) { .expect { grid-template-columns: repeat(4, 1fr); } .expect li:nth-child(even) { transform: translateY(var(--s-6)); } }

/* faq */
.faq__grid { display: grid; gap: var(--s-7); }
.faq { display: grid; gap: var(--s-3); }
.faq details {
  background: var(--slip);
  border: var(--border) solid var(--kiln);
  border-radius: var(--radius-m);
  box-shadow: 0 5px 0 var(--kiln);
  overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-1);
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
  font-variation-settings: "SOFT" 100;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--kiln); color: var(--peach);
  font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; line-height: 1;
  transition: transform var(--t-mid) var(--ease-squish);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: var(--peach); }
.faq summary:focus-visible { outline-offset: -6px; border-radius: var(--radius-m); }
.faq details p { padding: 0 var(--s-5) var(--s-5); max-width: 60ch; }
@media (min-width: 64em) { .faq__grid { grid-template-columns: 0.9fr 1.4fr; gap: var(--s-9); align-items: start; } }

/* booking */
.book__grid { display: grid; gap: var(--s-7); }
.book__copy { display: grid; gap: var(--s-5); align-content: start; }
.demo-note {
  padding: var(--s-4) var(--s-5);
  border: 2px dashed var(--clay);
  border-radius: var(--radius-m);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--clay);
  max-width: 40ch;
}
.form-card {
  display: grid; gap: var(--s-5);
  padding: var(--s-6) var(--s-5);
  background: var(--slip);
  border: var(--border) solid var(--kiln);
  border-radius: var(--radius-l);
  box-shadow: 0 10px 0 var(--kiln);
}
.field { display: grid; gap: var(--s-2); }
.field label { font-weight: 700; font-size: var(--step--1); }
.field .hint { font-size: var(--step--1); color: var(--clay); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: var(--s-3) var(--s-4);
  background: var(--peach);
  border: var(--border) solid var(--kiln);
  border-radius: var(--radius-s);
  color: var(--kiln);
  transition: box-shadow var(--t-fast), background-color var(--t-fast);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { background: #f3d6bd; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--slip), 0 0 0 7px var(--kiln);
}
.field [aria-invalid="true"] { border-style: dashed; border-color: var(--oxide); background: var(--slip); }
.field .error { font-size: var(--step--1); font-weight: 700; color: var(--oxide); min-height: 0; }
.field .error:empty { display: none; }
.field-row { display: grid; gap: var(--s-5); }
@media (min-width: 40em) { .field-row { grid-template-columns: 1fr 1fr; } .form-card { padding: var(--s-7); } }
.form-status {
  padding: var(--s-4) var(--s-5);
  border-radius: var(--radius-m);
  background: var(--sage);
  color: var(--kiln);
  font-weight: 600;
}
.form-status:empty { display: none; }
@media (min-width: 64em) { .book__grid { grid-template-columns: 1fr 1.2fr; gap: var(--s-9); } }

/* ---------- 14. Reveal motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.98, 1.02);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-squish);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .product.reveal.is-in { transform: rotate(var(--tilt, 0deg)); }
.js .product.reveal.is-in:hover { transform: rotate(0deg) translateY(-6px); }
.js .expect li.reveal.is-in:nth-child(even) { transform: none; }
@media (min-width: 72em) { .js .expect li.reveal.is-in:nth-child(even) { transform: translateY(var(--s-6)); } }

/* hero entrance: slabs drop and settle */
.js .hero .display span,
.js .w-hero .display span { display: block; animation: settle 1100ms var(--ease-squish) both; }
.js .hero .display .line-2 { animation-delay: 140ms; }
@keyframes settle {
  0% { opacity: 0; transform: translateY(-40px) scale(1, 0.9); }
  60% { opacity: 1; transform: translateY(6px) scale(1.03, 0.95); }
  100% { opacity: 1; transform: none; }
}

/* ---------- 15. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .product.reveal { transform: rotate(var(--tilt, 0deg)); }
}

/* ---------- 16. Large screens ---------- */
@media (min-width: 120em) {
  :root { --max: 104rem; }
}

/* ---------- 17. Refinements (render round 1) ---------- */
.footer__cols .socials { display: flex; flex-wrap: wrap; }
.stamp strong { white-space: nowrap; font-size: 1.5rem; }
@media (min-width: 64em) { .stamp strong { font-size: 1.75rem; } }
.season { font-size: var(--step-1); }
.w-hero__copy .lead { max-width: 42ch; }
/* resolve the extrusion per element so each section's --ex applies */
.display, .h2, .footer__word {
  --extrude: 1px 1px 0 var(--ex), 2px 2px 0 var(--ex), 3px 3px 0 var(--ex), 4px 4px 0 var(--ex);
}
@media (min-width: 48em) {
  .display, .h2, .footer__word {
    --extrude: 1px 1px 0 var(--ex), 2px 2px 0 var(--ex), 3px 3px 0 var(--ex), 4px 4px 0 var(--ex),
               5px 5px 0 var(--ex), 6px 6px 0 var(--ex), 7px 7px 0 var(--ex), 8px 8px 0 var(--ex);
  }
}
.w-hero .display { margin-bottom: 0.12em; }
@media (min-width: 100em) {
  .hero__media, .w-hero .hero__media { max-width: 31rem; }
}

/* ---------- 18. Inside Tephera's preview box ---------- */
html.in-frame { scrollbar-width: none; }
html.in-frame::-webkit-scrollbar { display: none; }
