/* Studio Tin. Direction: colour chapters. Each chapter's field is a stage of the clay:
   white for bisque, grey for wet clay, black for the kiln, sage for celadon, orange for fired earthenware,
   cobalt for the blue glaze. One face (Rubik), five sizes, square corners, round buttons. */

@font-face {
  font-family: "Rubik";
  src: url("/fonts/rubik-hebrew.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Rubik";
  src: url("/fonts/rubik-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallback so the swap to Rubik does not move the page */
@font-face {
  font-family: "Rubik Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 90%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --bg: #ffffff;
  --surface: #f2f2f0;
  --ink: #000000;
  --muted: #555555;
  --accent: #fe7141;
  --accent-ink: #000000;

  --clay: #b3ada3;      /* wet stoneware */
  --sage: #d1ddd3;      /* celadon */
  --orange: #fe7141;    /* fired earthenware */
  --cobalt: #1f3fae;    /* cobalt glaze */
  --kiln: #000000;
  --paper: #f4f4f4;
  --clay-deep: #8f897f;   /* picture slots on the clay field */
  --kiln-2: #262626;      /* controls on the kiln field */
  --kiln-3: #333333;      /* their hover */
  --cobalt-deep: #16307f;
  --surface-2: #e6e6e3;   /* tile hover */
  --accent-busy: #c75a35;
  --error-on-dark: #ff9d7c;

  --font: "Rubik", "Rubik Fallback", Arial, sans-serif;

  --step-small: 0.875rem;
  --step-body: clamp(1.125rem, 1.08rem + 0.15vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 0.75rem + 1.9vw, 2.25rem);
  --step-head: clamp(2.5rem, 1.25rem + 4vw, 4.5rem);
  --step-display: clamp(4rem, 2rem + 9.5vw, 10rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(5rem, 8.5vw, 8rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--ink) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:target { scroll-margin-top: 1.5rem; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
h1, h2, h3 { font-weight: 900; text-wrap: balance; }
p { text-wrap: pretty; }
.nums { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
bdi { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.cover { width: 100%; height: 100%; object-fit: cover; }

.display { font-size: var(--step-display); line-height: 0.92; letter-spacing: -0.03em; }
.head { font-size: var(--step-head); line-height: 1; letter-spacing: -0.025em; }

.field-clay { background: var(--clay); color: var(--ink); }
.field-black { background: var(--kiln); color: var(--paper); }
.field-sage { background: var(--sage); color: var(--ink); }
.field-orange { background: var(--orange); color: var(--ink); }
.field-cobalt { background: var(--cobalt); color: #ffffff; }
.field-cobalt :focus-visible { outline-color: #ffffff; }

/* ---------- controls ---------- */
.skip { position: absolute; inset-inline-start: var(--margin); top: -4rem; z-index: 10; background: var(--ink); color: var(--bg); padding: 0.75rem 1.25rem; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 0.75rem; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.75rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.96); }
.button-small { min-height: 2.75rem; padding: 0 1.25rem; }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.25em; text-decoration-thickness: 0.08em; transition: text-decoration-color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-thickness var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background-color: var(--ink); color: var(--bg); }
  .field-cobalt .button:hover { background-color: #ffffff; color: var(--ink); }
  .link:hover { text-decoration-color: currentColor; }
  .link-plain:hover { text-decoration-thickness: 0.14em; }
}

/* ---------- header ---------- */
.bar { position: absolute; inset-inline: 0; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.wordmark { font-size: var(--step-lead); font-weight: 900; line-height: 1; letter-spacing: -0.03em; text-decoration: none; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.nav-links { display: flex; gap: clamp(1rem, 2vw, 1.75rem); }
.nav-links a { text-decoration-color: transparent; padding-block: 0.5rem; }
.bar .button { background: var(--ink); color: #ffffff; }
@media (hover: hover) and (pointer: fine) { .bar .button:hover { background: var(--accent); color: var(--accent-ink); } }

/* ---------- hero: the wheel head ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: center; }
.hero-shape {
  position: absolute; z-index: 0;
  --d: min(118svh, 66vw);
  width: var(--d); height: var(--d);
  left: calc(16% - var(--d) / 2);
  top: calc(55% - var(--d) / 2);
  border-radius: 50%;
  background: var(--orange);
}
.hero-copy { position: relative; z-index: 1; width: 100%; padding-block: 7rem 4rem; }
.hero h1 { max-width: 7ch; }
.hero-sentence { max-width: 34ch; margin-top: 2.25rem; }
.hero-next { max-width: 34ch; margin-top: 0.75rem; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }

/* ---------- intro: the name, on wet clay ---------- */
.intro { padding-block: calc(var(--section) * 0.75); }
.intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; align-items: start; }
.stair { grid-column: 1 / 8; grid-row: 1; font-size: var(--step-lead); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; max-width: none; padding-top: 1rem; }
.stair-line { display: block; padding-inline-start: calc(var(--n) * 6vw); white-space: nowrap; }
.intro-pictures { grid-column: 8 / 13; grid-row: 1 / 3; display: grid; gap: 1rem; align-items: start; align-content: start; }
.intro-pictures figure { position: relative; aspect-ratio: 3 / 2; background: var(--clay-deep); }
.clip-toggle { position: absolute; inset-block-end: 0.75rem; inset-inline-start: 0.75rem; min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; background: var(--ink); color: #ffffff; font-size: var(--step-small); font-weight: 500; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.clip-toggle:active { transform: scale(0.95); }
.clip-toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .clip-toggle:hover { background: var(--accent); color: var(--accent-ink); } }
.form-note { font-size: var(--step-small); margin-bottom: 0.25rem; }
.intro-note { grid-column: 1 / 7; font-weight: 500; grid-row: 2; align-self: end; max-width: 40ch; }

/* ---------- classes: set like a menu ---------- */
.classes { padding-block: var(--section) calc(var(--section) * 0.9); }
.classes-side { grid-column: 1 / 5; }
.classes-intro { margin-top: 1.5rem; max-width: 30ch; }
.classes-photo { margin-top: 2.5rem; width: 78%; aspect-ratio: 4 / 5; background: var(--surface); }
.menu { grid-column: 5 / 13; display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; align-items: start; }
.menu-group + .menu-group { margin-top: 3.5rem; }
.menu-title { font-size: var(--step-lead); font-weight: 800; line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 1.5rem; }
.menu-list { display: grid; gap: 1.5rem; }
.menu-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 500; }
.menu-price { white-space: nowrap; }
.menu-desc { color: var(--muted); max-width: 36ch; margin-top: 0.25rem; }

/* ---------- kiln: the live calendar ---------- */
.kiln { padding-block: var(--section); }
.kiln-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; align-items: end; }
.kiln-top h2 { grid-column: 1 / 7; }
.kiln-control { grid-column: 8 / 13; }
.kiln-lead { max-width: 40ch; }
.days { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.days label { position: relative; }
.days input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.days span { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; min-width: 4.75rem; padding: 0 1.1rem; border-radius: 999px; background: var(--kiln-2); color: var(--paper); font-weight: 500; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.days input:checked + span { background: var(--paper); color: var(--ink); }
.days input:focus-visible + span { outline: 3px solid var(--paper); outline-offset: 3px; }
.days label:active span { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .days input:not(:checked):hover + span { background: var(--kiln-3); } }

.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: clamp(2.5rem, 5vw, 4rem); }
.stage { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1.25rem; }
.stage-day { font-size: var(--step-head); font-weight: 900; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; min-height: 1em; }
html:not(.js) .stage-day { display: none; }
.stage-when { font-weight: 500; }
.stage-name { font-size: var(--step-lead); font-weight: 800; line-height: 1.1; letter-spacing: -0.015em; margin-top: 0.75rem; }
.stage-note { max-width: 30ch; }
.stage-last .stage-day { color: var(--orange); }
.kiln-total { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1rem; font-size: var(--step-lead); font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
.kiln-total strong { color: var(--orange); font-weight: 900; }

/* ---------- gallery: prints dropped under the headline ---------- */
.gallery { position: relative; overflow: hidden; padding-block: var(--section) 0; }
.gallery-title { font-size: var(--step-display); line-height: 0.9; letter-spacing: -0.035em; text-align: center; }
.prints { position: relative; display: flex; justify-content: center; align-items: flex-start; margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-inline: var(--margin); }
.print {
  position: relative; margin: 0; flex: none;
  background: #ffffff; padding: 8px 8px 0;
  transition: transform var(--t-ui) var(--ease-out);
}
.print img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.print figcaption { font-size: var(--step-small); padding: 0.55rem 0.25rem 0.65rem; color: var(--ink); }
.print-a { width: 25vw; transform: rotate(-6deg); margin-top: 3vw; z-index: 1; }
.print-b { width: 27vw; transform: rotate(4deg); margin-inline: -1vw; z-index: 2; }
.print-c { width: 22vw; transform: rotate(-3deg); margin-top: 6vw; z-index: 3; }
@media (hover: hover) and (pointer: fine) {
  .print:hover { z-index: 4; transform: rotate(0); }
}
.gallery-note { max-width: 40ch; padding-block: clamp(2.5rem, 5vw, 4rem) var(--section); font-weight: 500; }

/* ---------- about: inset cobalt panel ---------- */
.about { padding: var(--margin); background: var(--bg); }
.about-panel { position: relative; overflow: hidden; min-height: 100svh; display: grid; grid-template-columns: 58fr 42fr; column-gap: var(--gutter); padding: clamp(2rem, 4vw, 3.5rem); padding-bottom: 0; }
.about-main { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.about-main h2 { max-width: 11ch; }
.about-photo { flex: none; overflow: hidden; width: min(38vw, 34rem); aspect-ratio: 1; border-radius: 50%; margin-bottom: calc(min(38vw, 34rem) * -0.2); background: var(--cobalt-deep); }
.about-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2.75rem; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.about-name { font-size: var(--step-lead); font-weight: 800; line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 0.6rem; }
.about-text p { max-width: 38ch; }

/* ---------- voices: paper slips ---------- */
.voices { padding-top: var(--section); overflow: hidden; }
.voices h2 { max-width: 12ch; }
.slips { display: flex; justify-content: center; align-items: flex-start; padding-top: 3.5rem; margin-bottom: -6rem; }
.slip {
  width: min(340px, 30vw); margin-inline: -10px;
  background: #ffffff; color: var(--ink);
  padding: 2.75rem 2.25rem 2rem;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10'%3E%3Cpath d='M0 10L10 0L20 10Z'/%3E%3C/svg%3E") left top / 20px 10px repeat-x, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10'%3E%3Cpath d='M0 0L10 10L20 0Z'/%3E%3C/svg%3E") left bottom / 20px 10px repeat-x, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Crect width='10' height='10'/%3E%3C/svg%3E") center / 100% calc(100% - 18px) no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10'%3E%3Cpath d='M0 10L10 0L20 10Z'/%3E%3C/svg%3E") left top / 20px 10px repeat-x, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10'%3E%3Cpath d='M0 0L10 10L20 0Z'/%3E%3C/svg%3E") left bottom / 20px 10px repeat-x, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Crect width='10' height='10'/%3E%3C/svg%3E") center / 100% calc(100% - 18px) no-repeat;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.slip-a { min-height: 440px; transform: rotate(-4deg); margin-top: 2rem; }
.slip-b { min-height: 520px; transform: rotate(2deg); z-index: 1; }
.slip-c { min-height: 600px; transform: rotate(5deg); margin-top: 3rem; }
.slip-quote { font-size: var(--step-body); }
.slip-who { order: -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.15rem; padding-bottom: 1.25rem; }
.slip-who cite { font-style: normal; font-weight: 800; font-size: var(--step-lead); line-height: 1.1; }
.slip-who span { color: var(--muted); }

/* ---------- faq: filled tiles ---------- */
.faq { padding-block: var(--section); }
.faq-title { grid-column: 1 / 5; align-self: start; position: sticky; top: 6rem; max-width: 8ch; }
.faq-list { grid-column: 5 / 13; display: grid; gap: 8px; }
.tile { background: var(--surface); transition: background-color var(--t-ui) ease; }
.tile summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; padding: 1rem 1.5rem; cursor: pointer; font-weight: 500; }
.tile summary::-webkit-details-marker { display: none; }
.tile summary:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.plus { position: relative; flex: none; width: 16px; height: 16px; }
.plus::before, .plus::after { content: ""; position: absolute; top: 50%; left: 0; width: 16px; height: 3px; margin-top: -1.5px; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.plus::after { transform: rotate(90deg); }
.tile[open] { background: var(--accent); color: var(--accent-ink); }
.tile[open] .plus::after { transform: rotate(0); }
.tile .a { padding: 0 1.5rem 1.5rem; }
.tile .a p { max-width: 52ch; }
@media (hover: hover) and (pointer: fine) { .tile:not([open]) summary:hover { background: var(--surface-2); } }

/* ---------- contact: the coupon ---------- */
.contact { padding-block: var(--section); overflow-x: clip; }
.coupon {
  --notch: 28px; --cut: 44%;
  position: relative; display: grid; grid-template-columns: var(--cut) 28px 1fr;
  max-width: 76rem; margin-inline: auto;
  background: var(--kiln); color: var(--paper);
}
.coupon-stub { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 4vw, 3rem); }
.coupon-title { font-size: var(--step-head); line-height: 1; letter-spacing: -0.025em; max-width: 9ch; }
.coupon-text { max-width: 34ch; }
.coupon-perf { position: relative; padding-block: 22px; background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2714%27%3E%3Ccircle cx=%276%27 cy=%277%27 r=%273%27 fill=%27%23d1ddd3%27/%3E%3C/svg%3E") center top / 12px 14px repeat-y content-box; }
.coupon-perf::before, .coupon-perf::after { content: ""; position: absolute; width: var(--notch); height: var(--notch); border-radius: 50%; background: var(--sage); inset-inline-start: 0; }
.coupon-perf::before { top: calc(var(--notch) / -2); }
.coupon-perf::after { bottom: calc(var(--notch) / -2); }
.coupon-body { padding: clamp(2rem, 4vw, 3rem); }
.form { display: grid; gap: 1rem; }
.f label { display: block; font-size: var(--step-small); font-weight: 500; margin-bottom: 0.35rem; }
.field { width: 100%; min-height: 3.25rem; padding: 0.75rem 1rem; border: 2px solid transparent; border-radius: 0; background: var(--kiln-2); color: var(--paper); font-size: max(1rem, var(--step-body)); transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease; }
textarea.field { resize: vertical; min-height: 7rem; }
.field { caret-color: var(--accent); }
.field:hover { background: var(--kiln-3); }
.field:focus-visible { outline: 3px solid var(--paper); outline-offset: 2px; }
.field[aria-invalid="true"] { border-color: var(--orange); }
.f-error { margin-top: 0.4rem; color: var(--error-on-dark); font-size: var(--step-small); font-weight: 500; }
.submit { min-height: 3.5rem; width: 100%; margin-top: 0.5rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 500; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.submit:active { transform: scale(0.98); }
.submit:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
.submit[disabled] { cursor: progress; background: var(--accent-busy); }
@media (hover: hover) and (pointer: fine) { .submit:not([disabled]):hover { background: var(--paper); } }
.form-status:empty { display: none; }
.form-status { color: var(--error-on-dark); font-weight: 500; }
.form-status.is-sending { color: var(--paper); }
.form-done { display: grid; gap: 1rem; align-content: center; min-height: 100%; }
.form-done:focus { outline: none; }
.form-done-title { font-size: var(--step-head); font-weight: 900; line-height: 1; letter-spacing: -0.025em; }

/* ---------- footer: the number is the headline ---------- */
.footer { min-height: 82svh; display: flex; flex-direction: column; padding-block: 2.5rem 1.5rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.footer-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 18rem)); gap: var(--gutter); }
.footer-mark { font-weight: 800; }
.footer-top-link { white-space: nowrap; }
.footer-big { margin-top: auto; padding-top: 4rem; }
.footer-call-label { font-weight: 500; margin-bottom: 0.5rem; }
.footer-phone { display: inline-block; font-size: min(var(--step-display), 12.5vw); font-weight: 900; line-height: 0.95; letter-spacing: -0.04em; text-decoration: none; font-variant-numeric: tabular-nums; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .footer-phone:hover { color: var(--orange); } }
.footer-meta { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 1.5rem; margin-top: 3rem; font-size: var(--step-small); }
.footer-social { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer-social a, .credits summary { display: inline-block; padding-block: 0.6rem; }
.footer-meta > p { justify-self: end; }
.credits summary { cursor: pointer; text-decoration: underline; text-underline-offset: 0.22em; }
.credits ul { margin-top: 0.75rem; display: grid; gap: 0.4rem; max-width: 46rem; }
.credits li { direction: ltr; text-align: left; }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; }
.lost-copy { position: relative; z-index: 1; padding-block: 8rem 4rem; }
.lost h1 { max-width: 8ch; }
.lost p { max-width: 36ch; margin-top: 2rem; }
.lost-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 2rem; }
.lost-shape { position: absolute; --d: min(110svh, 60vw); width: var(--d); height: var(--d); left: calc(16% - var(--d) / 2); top: calc(55% - var(--d) / 2); border-radius: 50%; background: var(--orange); clip-path: polygon(0 0, 46% 0, 54% 38%, 44% 58%, 56% 100%, 0 100%); }

/* ---------- tablet ---------- */
@media (max-width: 64em) {
  .menu { grid-column: 1 / -1; margin-top: 3.5rem; }
  .classes-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); align-items: start; }
  .classes-side h2, .classes-intro { grid-column: 1; }
  .classes-photo { grid-column: 2; grid-row: 1 / 3; margin-top: 0; width: 70%; justify-self: end; }
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 3rem; }
  .kiln-top h2, .kiln-control { grid-column: 1 / -1; }
  .faq-title { grid-column: 1 / -1; position: static; max-width: none; margin-bottom: 2.5rem; }
  .faq-list { grid-column: 1 / -1; }
  .footer-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phone ---------- */
@media (max-width: 40em) {
  .bar { flex-wrap: wrap; row-gap: 0.25rem; }
  .nav { display: contents; }
  .nav .button { order: 2; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; }

  .hero { align-items: flex-start; }
  .hero { min-height: 0; }
  .hero-shape { --d: 130vw; left: calc(50% - var(--d) / 2); top: auto; bottom: calc(var(--d) * -1 + 50vw); }
  .hero-copy { padding-block: 8.5rem calc(50vw + 2.5rem); }
  .hero-sentence { margin-top: 1.5rem; }

  .stair-line { padding-inline-start: calc(var(--n) * 5vw); white-space: normal; }
  .stair { grid-column: 1 / -1; }
  .intro-pictures { grid-column: 1 / -1; grid-row: 2; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .intro-note { grid-column: 1 / -1; grid-row: 3; }

  .classes-side { display: block; }
  .classes-photo { width: 60%; margin-top: 2rem; }
  .menu { grid-template-columns: 1fr; }
  .menu-col + .menu-col { margin-top: 3rem; }
  .menu-group + .menu-group { margin-top: 2.5rem; }

  .stages { grid-template-columns: 1fr; row-gap: 2.25rem; margin-top: 3rem; }
  .stage { display: grid; grid-template-columns: 4.5rem 1fr; column-gap: 1rem; padding-top: 0; }
  .stage-day { grid-row: 1 / 4; }
  .stage-name { margin-top: 0; }
  html:not(.js) .stage { grid-template-columns: 1fr; }
  .days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.375rem; }
  .days span { display: flex; min-width: 0; padding: 0; }

  .prints { flex-direction: column; align-items: stretch; }
  .print-a, .print-b, .print-c { width: 62vw; margin: 0; }
  .print-a { align-self: flex-start; transform: rotate(-5deg); }
  .print-b { align-self: flex-end; transform: rotate(4deg); margin-top: -14vw; }
  .print-c { align-self: flex-start; transform: rotate(-2deg); margin-top: -10vw; margin-inline-start: 8vw; }

  .about { padding: 10px; }
  .about-panel { display: flex; flex-direction: column; min-height: 0; padding: 1.75rem 1.25rem 0; }
  .about-main { display: contents; }
  .about-main h2 { order: 1; }
  .about-text { order: 2; padding-bottom: 3rem; padding-top: 2rem; gap: 2rem; }
  .about-photo { order: 3; width: 86vw; align-self: center; margin-bottom: -21vw; }

  .slips { flex-direction: column; align-items: stretch; margin-bottom: -3rem; padding-top: 2.5rem; }
  .slip { width: 78%; margin-inline: 0; min-height: 0; }
  .slip + .slip { margin-top: -32px; }
  .slip-a { align-self: flex-start; transform: rotate(-3deg); margin-top: 0; }
  .slip-b { align-self: flex-end; transform: rotate(2deg); }
  .slip-c { align-self: flex-start; transform: rotate(-2deg); margin-top: -32px; padding-bottom: 5rem; }

  .tile summary { min-height: 4rem; padding: 0.9rem 1.25rem; }
  .tile .a { padding: 0 1.25rem 1.25rem; }

  .contact .wrap { padding-inline: 12px; }
  .coupon { grid-template-columns: 1fr; grid-template-rows: auto 28px auto; }
  .coupon-perf { padding-block: 0; padding-inline: 22px; background-position: left center; background-repeat: repeat-x; background-size: 14px 12px; }
  .coupon-perf::before, .coupon-perf::after { top: 0; bottom: auto; }
  .coupon-perf::before { inset-inline-start: calc(var(--notch) / -2); }
  .coupon-perf::after { inset-inline-start: auto; inset-inline-end: calc(var(--notch) / -2); }
  .coupon-stub { padding: 1.75rem 1.25rem 1.5rem; }
  .coupon-body { padding: 1.5rem 1.25rem 1.75rem; }

  .footer-top { flex-direction: column; }
  .footer-notes { grid-template-columns: 1fr; gap: 1rem; }
  .footer-meta { grid-template-columns: 1fr; gap: 1rem; }
  .footer-meta > p { justify-self: start; }
}

/* ---------- motion (the reduced page is the finished page) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .hero-shape { animation: wheel-in 1200ms var(--ease-expo) both; }
  .js [data-rise] { opacity: 0; transform: translateY(20px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js .stair[data-reveal] { opacity: 1; transform: none; }
  .js .stair .stair-line { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--n) * 90ms); }
  .js .stair.is-in .stair-line { opacity: 1; transform: none; }

  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); transition-delay: calc(var(--i, 0) * 120ms); }
  .js .shutter[data-reveal] > :is(img, video) { transform: scale(1.12); transition: transform 1500ms var(--ease-soft); transition-delay: calc(var(--i, 0) * 120ms); }
  .js .shutter[data-reveal].is-in { clip-path: inset(0); }
  .js .shutter[data-reveal].is-in > :is(img, video) { transform: none; }

  .js .gallery .print { opacity: 0; translate: 0 40px; transition: opacity 700ms var(--ease-out), translate 900ms var(--ease-expo), transform var(--t-ui) var(--ease-out); }
  .js .gallery .print-b { transition-delay: 120ms, 120ms, 0ms; }
  .js .gallery .print-c { transition-delay: 240ms, 240ms, 0ms; }
  .js .gallery.is-in .print { opacity: 1; translate: 0 0; }

  .js .slip[data-reveal] { transform: translateY(60px) rotate(var(--r, 0deg)); }
  .js .slip[data-reveal].is-in { transform: rotate(var(--r, 0deg)); }
  .slip-a { --r: -4deg; } .slip-b { --r: 2deg; } .slip-c { --r: 5deg; }

  .js .stage-day.is-new { animation: tick 500ms var(--ease-out); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 40em) {
  .slip-a { --r: -3deg; } .slip-b { --r: 2deg; } .slip-c { --r: -2deg; }
  .js .hero-shape { animation-name: wheel-in-phone; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes wheel-in { from { transform: translateX(-18%) rotate(-40deg) scale(0.86); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wheel-in-phone { from { transform: translateY(14%) scale(0.86); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tick { from { opacity: 0; transform: translateY(0.25em); } to { opacity: 1; transform: none; } }
.footer-short { min-height: 0; padding-block: 3rem 3rem; }
