/* Saturday Clay — warm studio site. Palette and type derive from these tokens only. */
:root {
  --cream: #F5EFE6;
  --sand: #E8D9C4;
  --terra: #C8643B;
  --ink: #3B2A22;
  --terra-deep: #A44E2A;      /* terracotta for small text on cream (AA) */
  --sand-deep: #D9C3A4;
  --ink-soft: rgba(59, 42, 34, .74);
  --line: rgba(59, 42, 34, .16);
  --display: "Caprasimo", "Cooper Black", Georgia, serif;
  --body: "Schibsted Grotesk", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: 40px;
  --nav-h: 76px;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream) url("paper.svg") 0 0 / 320px 320px repeat;
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, figure, blockquote { margin: 0; }
ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* type */
.display { font: 400 clamp(68px, 8.6vw, 128px)/.9 var(--display); letter-spacing: -.012em; color: var(--ink); }
.h2 { font: 400 clamp(36px, 4vw, 56px)/1.02 var(--display); letter-spacing: -.01em; }
.h2-sm { font-size: clamp(30px, 3vw, 40px); }
.h3 { font: 400 27px/1.1 var(--display); }
.eyebrow { font: 700 13px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-deep); margin-bottom: 14px; }
.eyebrow-light { color: #E9A17F; }
.lead { font: 500 clamp(24px, 2.2vw, 31px)/1.2 var(--body); letter-spacing: -.01em; margin-top: 22px; }

/* buttons + chip */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 58px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--terra); color: #FFF8F0;
  font: 700 19px/1 var(--body); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px -8px rgba(164, 78, 42, .7);
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--terra-deep); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 16px; }
.btn-block { width: 100%; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px;
  border-radius: 999px; background: var(--sand); color: var(--ink);
  font: 600 18px/1 var(--body); white-space: nowrap;
  box-shadow: 0 0 0 1px var(--line) inset;
}
.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 4px rgba(200,100,59,.18); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(245, 239, 230, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.wordmark { font: 400 25px/1 var(--display); letter-spacing: -.005em; color: var(--ink); white-space: nowrap; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font: 500 15px/1 var(--body); text-decoration: none; color: var(--ink-soft); padding: 8px 0; }
.nav-links a:hover { color: var(--ink); }

/* hero */
.hero { padding: 34px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 24px; align-items: center; min-height: calc(900px - var(--nav-h) - 74px); }
.hero-text { max-width: 31em; margin-top: 16px; color: var(--ink-soft); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.seats-mini { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.seats-mini .cups { display: flex; gap: 2px; }
.seats-mini .cups img { height: 34px; width: auto; }
.seats-mini p { font-size: 16px; color: var(--ink-soft); }
.seats-mini strong { color: var(--ink); font-weight: 700; }

.hero-art { position: relative; aspect-ratio: 620 / 640; width: 100%; max-width: 620px; justify-self: end; }
.hero-art .wheel { position: absolute; top: 0; right: 0; width: 86%; animation: spin 90s linear infinite; }
.hero-art .still { position: absolute; left: 0; bottom: 0; width: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* section rhythm */
.make, .schedule, .included, .faq-host { padding-block: 76px; }
.make { padding-bottom: 36px; border-top: 1px solid var(--line); }
.schedule { padding-top: 0; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 30px; }
.sec-note { max-width: 21em; color: var(--ink-soft); font-size: 16px; }
.make .h2 { font-size: clamp(34px, 3.6vw, 50px); }

/* pieces */
.pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.piece { display: flex; flex-direction: column; }
.plate {
  height: 236px; border-radius: var(--radius); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px;
  background: radial-gradient(120% 90% at 50% 100%, #EADBC5 0%, var(--sand) 55%, #E2D0B6 100%);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.plate img { max-height: 210px; width: auto; }
.piece-text { padding: 16px 4px 0; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; }
.piece-text .size { font: 500 14px/1 var(--body); color: var(--ink-soft); justify-self: end; font-variant-numeric: tabular-nums; }
.piece-text p { grid-column: 1 / -1; margin-top: 6px; color: var(--ink-soft); font-size: 16px; }

/* schedule ruler: column widths are the real minutes */
.sched-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 20px; padding-top: 30px; border-top: 1px solid var(--line); }
.sched-head .eyebrow { margin: 0; }
.ruler { display: grid; grid-template-columns: 20fr 25fr 45fr 60fr 30fr; column-gap: 6px; }
.ruler li { min-width: 0; }
.ruler .bar { display: block; height: 14px; border-radius: 7px; background: var(--sand-deep); margin-bottom: 14px; }
.ruler .throw .bar { background: var(--terra); }
.ruler li:first-child .bar { background: #CDB08A; }
.ruler time { display: block; font: 400 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.ruler h3 { font: 700 15px/1.25 var(--body); margin-top: 8px; }
.ruler p { font-size: 14px; line-height: 1.4; color: var(--ink-soft); margin-top: 4px; padding-right: 8px; }
.ruler-end { margin-top: 14px; text-align: right; font-size: 14px; color: var(--ink-soft); }
.ruler-end time { font: 400 22px/1 var(--display); color: var(--ink); margin-right: 6px; }

/* included */
.included { border-top: 1px solid var(--line); padding-bottom: 124px; }
.inc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.receipt { margin-top: 28px; background: #FBF7F1; border-radius: 14px; padding: 22px 26px; box-shadow: 0 0 0 1px var(--line) inset, 0 18px 40px -28px rgba(59,42,34,.45); }
.receipt p { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 16px; }
.receipt p i { flex: 1; border-bottom: 2px dotted rgba(59,42,34,.28); transform: translateY(-4px); }
.receipt p span:last-child { color: var(--terra-deep); font-weight: 600; }
.receipt .receipt-head { justify-content: space-between; font: 700 13px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.receipt .receipt-head span:last-child { color: var(--ink-soft); font-weight: 700; }
.receipt .receipt-total { justify-content: space-between; border-top: 1.5px solid var(--ink); margin-top: 6px; padding-top: 14px; font-weight: 700; }
.receipt .receipt-total span:last-child { font: 400 34px/1 var(--display); color: var(--ink); }
.glazes { padding-bottom: 6px; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.tiles div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tiles div:nth-child(odd) { transform: translateY(-14px); }
.tiles span { font: 600 13px/1 var(--body); color: var(--ink-soft); }
.glazes figcaption { margin-top: 18px; font-size: 15px; color: var(--ink-soft); }

/* booking: cream glaze dripping into dark clay */
.book { position: relative; background: var(--ink); color: var(--cream); padding: 112px 0 84px; min-height: calc(900px - var(--nav-h)); display: flex; align-items: center; }
.book > .wrap { flex: 1; }
.book::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 96px; background: url("art/drip_edge.svg") 50% 0 / 1600px 96px repeat-x; pointer-events: none; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.book-text { margin-top: 14px; font-size: 18px; color: rgba(245,239,230,.78); }
.shelf { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-top: 40px; padding-bottom: 18px; position: relative; }
.shelf::after { content: ""; position: absolute; left: -12px; right: -12px; top: 62px; height: 12px; border-radius: 3px; background: linear-gradient(#C9AE89, #A88B66); box-shadow: 0 8px 18px -8px rgba(0,0,0,.6); z-index: 0; }
.shelf li { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.shelf img { height: 84px; width: auto; max-width: none; margin-bottom: 16px; transition: transform .2s; }
.shelf li:not(.taken):hover img { transform: translateY(-4px); }
.shelf .s-n { font: 600 14px/1 var(--body); color: var(--cream); }
.shelf .s-st { font: 500 13px/1 var(--body); margin-top: 6px; color: #E9A17F; }
.shelf .taken .s-st { color: rgba(245,239,230,.5); }
.shelf .mine .s-st { color: var(--cream); font-weight: 700; }
.shelf .mine img { transform: translateY(-6px); }

.ticket { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.ticket fieldset { border: 0; margin: 0; padding: 0; }
.ticket legend { font: 700 13px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-deep); margin-bottom: 12px; padding: 0; }
.date-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line) inset; margin-bottom: 8px; cursor: pointer; }
.date-opt input { accent-color: var(--terra); width: 18px; height: 18px; margin: 0; }
.date-opt .d { font-weight: 600; font-size: 16px; }
.date-opt .left { margin-left: auto; font-size: 14px; color: var(--ink-soft); }
.date-opt:has(input:checked) { box-shadow: 0 0 0 2px var(--terra) inset; background: #FBF4EC; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 16px; }
.price { font: 400 54px/1 var(--display); }
.price span { font: 500 16px/1 var(--body); color: var(--ink-soft); margin-left: 4px; }
.seats-left { font-size: 15px; color: var(--terra-deep); }
.fine { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }

/* faq + host */
.fh-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 64px; align-items: start; }
.faq .h2 { margin-bottom: 22px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 19px/1.3 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--display); color: var(--terra); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-soft); max-width: 38em; }
.host { position: sticky; top: calc(var(--nav-h) + 24px); }
.host-card { background: var(--sand); border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 0 0 1px var(--line) inset; }
.avatar { width: 92px; height: 92px; border-radius: 50%; background: var(--terra); color: #FFF8F0; display: grid; place-items: center; font: 400 50px/1 var(--display); padding-top: 4px; margin-bottom: 18px; box-shadow: 0 0 0 6px var(--cream), 0 0 0 7px var(--line); }
.host-role { font-size: 14px; color: var(--ink-soft); margin: 6px 0 14px; }
.host-card p:not(.host-role) { font-size: 16px; }
.host-card blockquote { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font: 400 21px/1.25 var(--display); color: var(--terra-deep); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 30px 0 34px; overflow: hidden; }
.foot-word { font: 400 clamp(46px, 12.2vw, 174px)/.86 var(--display); letter-spacing: -.02em; color: var(--sand); white-space: nowrap; margin: 6px 0 36px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.brand-foot img { width: 34px; height: 34px; }
.brand-foot .wordmark { font-size: 21px; }
.foot-link { margin-left: auto; font-weight: 700; color: var(--terra-deep); text-decoration: none; }
.foot-link:hover { text-decoration: underline; }
.foot-small { margin-top: 18px; font-size: 13px; color: var(--ink-soft); }

/* tablet */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .brand { margin-right: auto; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { justify-self: center; max-width: 520px; }
  .inc-grid, .book-grid, .fh-grid { grid-template-columns: 1fr; gap: 44px; }
  .host { position: static; }
}

/* phone */
@media (max-width: 640px) {
  :root { --gutter: 18px; --nav-h: 64px; --radius: 18px; }
  body { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
  .wordmark { font-size: 21px; }
  .btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
  .hero { padding-top: 26px; }
  .display { font-size: 74px; }
  .lead { font-size: 24px; margin-top: 16px; }
  .hero-text { font-size: 16.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .chip, .btn { height: 54px; justify-content: center; }
  .seats-mini { flex-direction: column; align-items: flex-start; gap: 8px; }
  .seats-mini .cups img { height: 30px; }
  .make, .schedule, .included, .faq-host { padding-block: 56px; }
  .make { padding-bottom: 24px; }
  .schedule { padding-top: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pieces { grid-template-columns: 1fr; gap: 28px; }
  .plate { height: 220px; }
  .sched-head { flex-direction: column; gap: 10px; }
  .ruler { grid-template-columns: 1fr; row-gap: 0; }
  .ruler li { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; padding: 14px 0 14px 18px; position: relative; }
  .ruler .bar { position: absolute; left: 0; top: 14px; bottom: 14px; width: 6px; height: auto; margin: 0; border-radius: 3px; }
  .ruler time { grid-row: 1 / 3; padding-top: 2px; }
  .ruler h3 { margin-top: 0; }
  .ruler-end { text-align: left; padding-left: 18px; }
  .included { padding-bottom: 120px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .tiles div:nth-child(odd) { transform: none; }
  .receipt { padding: 18px; }
  .receipt p { font-size: 15px; }
  .book { padding: 100px 0 64px; min-height: 0; display: block; }
  .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; }
  .shelf::after { display: none; }
  .shelf li::before { content: ""; position: absolute; top: 62px; left: -4px; right: -4px; height: 10px; border-radius: 2px; background: linear-gradient(#C9AE89, #A88B66); z-index: -1; }
  .shelf img { margin-bottom: 10px; }
  .ticket { padding: 22px 18px; }
  .date-opt { padding: 13px 14px; }
  .faq summary { font-size: 17px; }
  .foot-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot-link { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art .wheel { animation: none; }
  .btn, .shelf img { transition: none; }
}
