/* ========== Fonts: self-hosted Google Fonts (cyrillic, latin, latin-ext for ₽) ========== */
@font-face { font-family: 'Unbounded'; font-weight: 500 900; font-display: swap; src: url(fonts/unbounded-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 500 900; font-display: swap; src: url(fonts/unbounded-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-weight: 500 900; font-display: swap; src: url(fonts/unbounded-latin.woff2) format('woff2'); 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; }
@font-face { font-family: 'Onest'; font-weight: 400 700; font-display: swap; src: url(fonts/onest-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-weight: 400 700; font-display: swap; src: url(fonts/onest-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-weight: 400 700; font-display: swap; src: url(fonts/onest-latin.woff2) format('woff2'); 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; }

/* ========== Tokens: taken from the logo ========== */
:root {
  --paper: #fbf8f4;
  --paper-2: #f4eee8;
  --photo: #e6e5e4;          /* background of the product shots */
  --ink: #161216;
  --ink-soft: #4b4149;
  --muted: #857a80;
  --line: rgb(22 18 22 / 0.12);

  --lav: #c594d5;            /* logo background */
  --lav-soft: #efe3f4;
  --lav-deep: #5b2f8f;       /* glaze on the cake mark */
  --violet: #7b3fc4;         /* order button: brighter than the glaze, client asked for a bright violet */
  --leaf: #5fae35;           /* leaf on the cake mark */

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Onest", system-ui, sans-serif;

  --radius: 28px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Glaze drips from the logo: a band with rounded drops of different lengths */
  --drip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 56'%3E%3Cpath d='M0 0H240V14H232Q226 14 226 20V30A6 6 0 0 1 214 30V20Q214 14 208 14H190Q184 14 184 20V40A8 8 0 0 1 168 40V20Q168 14 162 14H140Q134 14 134 20V26A6 6 0 0 1 122 26V20Q122 14 116 14H95Q89 14 89 20V46A9 9 0 0 1 71 46V20Q71 14 65 14H43Q37 14 37 20V32A7 7 0 0 1 23 32V20Q23 14 17 14H0Z'/%3E%3C/svg%3E");
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgb(197 148 213 / 0.3);
  overflow-x: hidden;
}
main { overflow-x: clip; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--lav-deep); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1180px, 100% - 2 * max(20px, env(safe-area-inset-left))); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus-visible { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 0 12px 24px -12px rgb(22 18 22 / 0.6); }
.btn-ink:hover { background: var(--lav-deep); }
.btn-line { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-lav { background: var(--lav); color: var(--ink); }
.btn-lav:hover { background: #d4aee0; }
.btn-line-light { box-shadow: inset 0 0 0 2px rgb(251 248 244 / 0.5); color: var(--paper); }
.btn-line-light:hover { box-shadow: inset 0 0 0 2px var(--paper); }
.btn-violet { background: var(--violet); color: #fff; box-shadow: 0 14px 28px -14px rgb(123 63 196 / 0.8); }
.btn-violet:hover { background: var(--lav-deep); }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn:disabled { opacity: 0.38; box-shadow: none; cursor: not-allowed; transform: none; }

/* ========== Header ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  background: rgb(251 248 244 / 0.86);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: auto; height: 38px; }
.brand-word { width: auto; height: 17px; }
.nav ul { display: flex; gap: 26px; }
.nav a { font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--ink-soft); transition: color 0.2s; }
.nav a:hover { color: var(--lav-deep); }
.header-phone { font: 700 0.85rem/1 var(--font-display); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--lav-deep); }
@media (max-width: 1000px) { .nav { display: none; } }
@media (max-width: 560px) { .header-phone { display: none; } }

/* ========== Hero ========== */
.hero { padding: calc(var(--header-h) + 40px) 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600;
  font-size: 0.92rem;
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status.is-open .status-dot { background: var(--leaf); box-shadow: 0 0 0 4px rgb(95 174 53 / 0.2); animation: pulse 2s ease-in-out infinite; }
.status.is-closed .status-dot { background: #c9584b; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgb(95 174 53 / 0); } }

.hero-title {
  margin-top: 22px;
  font: 800 clamp(2.3rem, 5.2vw, 4.3rem)/1.04 var(--font-display);
  letter-spacing: -0.025em;
}
.hero-title mark {
  padding: 0 0.14em;
  border-radius: 0.22em;
  background: var(--lav);
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-lead { max-width: 34em; margin-top: 22px; font-size: 1.15rem; color: var(--ink-soft); }
.hero-accent {
  max-width: 30em;
  margin-top: 14px;
  padding-left: 16px;
  border-left: 3px solid var(--lav);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 500;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin-top: 40px; }
.hero-facts li { display: grid; gap: 2px; padding: 0 22px; border-left: 1px solid var(--line); }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts a { display: grid; gap: 2px; text-decoration: none; }
.hero-facts a:hover b { color: var(--lav-deep); }
.hero-facts b { font: 700 0.95rem/1.3 var(--font-display); }
.hero-facts span { font-size: 0.88rem; color: var(--muted); }
.star { color: #f2a900; }

/* A cake dome: arched video window over a lavender disc */
.hero-media { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 12% -14% -4% -14%;
  z-index: -1;
  border-radius: 50%;
  background: var(--lav-soft);
}
.dome {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--photo);
  box-shadow: 0 40px 80px -40px rgb(91 47 143 / 0.55);
  isolation: isolate;
}
.dome-video, .frame-video { width: 100%; height: 100%; object-fit: cover; }
/* <video> ignores the parent's rounded overflow clip in Safari, so it gets its own radius */
.dome-video { border-radius: 999px 999px 18px 18px; }
.frame-video { border-radius: inherit; }

.sticker {
  position: absolute;
  left: -26px; bottom: 56px;
  display: grid;
  place-content: center;
  width: 128px; height: 128px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  rotate: -12deg;
  box-shadow: 0 16px 30px -14px rgb(22 18 22 / 0.7);
}
.sticker span { font: 800 1.15rem/1.1 var(--font-display); }
.sticker small { margin-top: 4px; font-size: 0.8rem; color: var(--lav); }

/* Pause control on autoplaying videos */
.video-toggle {
  position: absolute;
  right: 14px; bottom: 14px;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgb(22 18 22 / 0.55);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.video-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.video-toggle .i-play { display: none; }
.is-paused .video-toggle .i-play { display: block; }
.is-paused .video-toggle .i-pause { display: none; }

/* ========== Ticker ========== */
.ticker {
  overflow: hidden;
  padding: 18px 0;
  background: var(--lav);
  rotate: -1.5deg;
  margin: 0 -20px;
}
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker ul { display: flex; }
.ticker li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font: 700 1.05rem/1 var(--font-display);
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ========== Sections ========== */
.section { position: relative; padding: 110px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.eyebrow {
  margin-bottom: 14px;
  font: 700 0.8rem/1 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lav-deep);
}
.section-title { font: 800 clamp(1.9rem, 3.8vw, 3.1rem)/1.08 var(--font-display); letter-spacing: -0.02em; }
.section-lead { margin-top: 18px; font-size: 1.12rem; color: var(--ink-soft); }

/* Glaze running down from the section above; --glaze is that section's colour */
.drip {
  position: absolute;
  inset: -1px 0 auto;
  height: 56px;
  background: var(--glaze, var(--paper));
  -webkit-mask: var(--drip) repeat-x 0 0 / 240px 56px;
  mask: var(--drip) repeat-x 0 0 / 240px 56px;
}

/* Photo tile: product shots are on light grey, so the tile shows that grey while loading */
.tile { overflow: hidden; border-radius: var(--radius); background: var(--photo); aspect-ratio: 3 / 4; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.6s var(--ease); }
.tile:hover img { scale: 1.04; }

/* ----- Showcase ----- */
.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile-white { aspect-ratio: 1; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.card h3 { margin-top: 14px; font: 700 1.05rem/1.25 var(--font-display); }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link h3 { display: flex; align-items: center; gap: 8px; }
.card-link h3 .icon { flex: none; width: 18px; height: 18px; color: var(--violet); transition: translate 0.3s var(--ease); }
.card-link:hover .tile img { scale: 1.04; }
.card-link:hover h3 .icon { translate: 4px 0; }
.card-link:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: var(--radius); }
.showcase-more { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ----- Order ----- */
.section-order { background: var(--paper-2); }
.order-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.order-copy { position: sticky; top: calc(var(--header-h) + 32px); }
.order-copy .section-lead a { color: var(--lav-deep); font-weight: 600; }
.order-steps { display: grid; gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: step; }
.order-steps li { display: flex; align-items: center; gap: 14px; font-weight: 600; counter-increment: step; }
.order-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--lav);
  font: 800 0.9rem/1 var(--font-display);
}

.order-form, .order-done {
  display: grid;
  gap: 26px;
  padding: 36px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 60px -40px rgb(91 47 143 / 0.45);
}
.field { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-label { padding: 0; font: 700 0.98rem/1.3 var(--font-display); }
.field-label i, .sub-field i, .check i { color: var(--violet); font-style: normal; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sub-field { display: grid; gap: 6px; min-width: 0; }
.sub-field-phone { max-width: 320px; }
.sub-field > span { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.field-hint { font-size: 0.9rem; color: var(--muted); }
.field-hint.is-error { color: #b3261e; font-weight: 600; }

.order-form input:not([type=radio], [type=checkbox]), .order-form select, .order-form textarea, .picker-search input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink);
  font: 500 1rem/1.4 var(--font-body);   /* 16px+ keeps iOS from zooming in */
  transition: box-shadow 0.2s;
  appearance: none;
}
.order-form textarea { resize: vertical; min-height: 96px; }
.order-form select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161216' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
}
.order-form input[type=date] { display: flex; align-items: center; }
.order-form input:focus-visible, .order-form select:focus-visible, .order-form textarea:focus-visible, .picker-search input:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--violet);
}
.order-form ::placeholder { color: var(--muted); }

.picker-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px 12px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink);
  font: 600 1rem/1.3 var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.picker-open:hover { box-shadow: inset 0 0 0 1.5px var(--violet); }
.picker-open.has-items { background: var(--lav-soft); box-shadow: none; }

.picked { display: flex; flex-wrap: wrap; gap: 8px; }
.picked:empty { display: none; }
.picked li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 14px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600;
  font-size: 0.92rem;
}
.picked b { color: var(--violet); }
.picked button {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.picked button:hover { background: var(--paper-2); color: var(--ink); }
.picked .icon { width: 14px; height: 14px; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 11px;
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s;
}
.segmented span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px currentColor; opacity: 0.5; }
.segmented input:checked + span { background: var(--ink); color: var(--paper); }
.segmented input:checked + span::before { opacity: 1; box-shadow: inset 0 0 0 5px var(--lav); }
.segmented input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.when { display: grid; gap: 8px; padding: 16px 18px; border-radius: 14px; background: var(--lav-soft); }
.when a { justify-self: start; color: var(--lav-deep); font-weight: 700; }

.check { display: flex; align-items: flex-start; gap: 12px; margin-top: 4px; font-weight: 600; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--violet); cursor: pointer; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-missing { margin-top: -14px; font-size: 0.9rem; color: var(--muted); text-align: center; }
.form-missing:empty, .form-status:empty { display: none; }
.form-status { padding: 14px 18px; border-radius: 14px; background: #fdecea; color: #8c1d18; font-weight: 600; }
.form-status a { color: inherit; }
.order-form.is-sending { opacity: 0.7; pointer-events: none; }

.order-done { justify-items: center; padding-block: 56px; text-align: center; }
.order-done:focus { outline: none; }
.order-done .hero-actions { justify-content: center; }
.order-done-mark {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--lav);
  font: 800 2rem/1 var(--font-display);
}
.order-done h3 { font: 800 1.6rem/1.2 var(--font-display); }
.order-done p { color: var(--ink-soft); }

/* Dessert picker: a sheet on phones, a centred panel on desktop */
.picker {
  width: min(640px, 100vw - 32px);
  max-width: none;
  height: min(820px, 100dvh - 48px);
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 100px -30px rgb(22 18 22 / 0.5);
}
.picker[open] { display: flex; flex-direction: column; }
.picker::backdrop { background: rgb(22 18 22 / 0.5); backdrop-filter: blur(3px); }
.picker-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 12px; }
.picker-head h3 { font: 800 1.3rem/1.2 var(--font-display); }
.picker-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.picker-search { padding: 0 24px 12px; }
.picker-search input { background: #fff; }
.picker-body { flex: 1 1 auto; min-height: 120px; padding: 0 24px 16px; overflow-y: auto; overscroll-behavior: contain; }
.picker-body:focus { outline: none; }
.picker-empty { padding: 32px 0; color: var(--muted); text-align: center; }
.picker-group { position: sticky; top: 0; z-index: 1; margin: 0 -24px; padding: 14px 24px 8px; background: var(--paper); font: 700 0.78rem/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lav-deep); }
.picker-item { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.picker-item img { width: 64px; height: 48px; border-radius: 10px; object-fit: cover; background: #fff; }
.picker-item b { display: block; font-weight: 700; }
.picker-item small { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 0.82rem; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.picker-item.is-picked b { color: var(--violet); }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink);
  font: 700 1.2rem/1 var(--font-body);
  cursor: pointer;
}
.stepper button:hover { box-shadow: inset 0 0 0 1.5px var(--violet); }
.stepper .add { width: auto; padding: 0 16px; border-radius: 999px; font-size: 0.92rem; }
.stepper output { min-width: 26px; font: 800 1rem/1 var(--font-display); text-align: center; }
.picker-foot { padding: 14px 24px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--line); }
html.is-locked { overflow: hidden; }

/* ----- Assortment page ----- */
/* Arriving from the showcase with #group: jump, do not animate across 60 cards */
html:has(.page-menu) { scroll-behavior: auto; }
.page-menu .site-header { position: sticky; }
.page-menu main { padding-bottom: 40px; }
.menu-head { padding: 48px 0 28px; }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--lav-deep); font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.menu-head .section-lead { max-width: 40em; }
.menu-head .section-lead a { color: var(--lav-deep); font-weight: 600; white-space: nowrap; }
.menu-nav { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top)); z-index: 20; padding: 10px 0; background: rgb(251 248 244 / 0.92); backdrop-filter: blur(12px); }
.menu-nav ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a { display: block; transition: background-color 0.2s, color 0.2s; padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
.menu-nav a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.menu-nav a[aria-current] { background: var(--ink); color: #fff; box-shadow: none; }
.menu-group { padding-top: 48px; scroll-margin-top: calc(var(--header-h) + 64px); }
.menu-group-title { margin-bottom: 22px; font: 800 clamp(1.4rem, 2.6vw, 2rem)/1.15 var(--font-display); }
.menu-group-title span { margin-left: 6px; color: var(--muted); font-size: 0.6em; vertical-align: 0.3em; }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.menu-card { display: flex; flex-direction: column; padding: 10px 10px 18px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: calc(var(--header-h) + 72px); }
.menu-card:target { box-shadow: inset 0 0 0 2px var(--violet); }
.menu-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 14px; object-fit: cover; }
.menu-card h3 { margin: 14px 8px 0; font: 700 1.02rem/1.25 var(--font-display); }
.menu-note { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--lav-soft); color: var(--lav-deep); font: 700 0.72rem/1.2 var(--font-body); vertical-align: 0.15em; }
.menu-card p { flex: 1; margin: 6px 8px 0; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.45; }
.menu-card.is-picked { box-shadow: inset 0 0 0 2px var(--violet); }
.menu-card .stepper { margin: 14px 8px 0; }
.menu-card .stepper .add { background: var(--violet); box-shadow: none; color: #fff; }
.menu-card .stepper .add:hover { background: var(--lav-deep); }
.menu-add { align-self: flex-start; margin: 14px 8px 0; color: var(--violet); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.menu-add::after { content: " →"; }
.menu-add:hover { text-decoration: underline; }
.menu-cta { margin-top: 72px; padding: 44px; border-radius: var(--radius); background: var(--lav-soft); }

/* ----- Coffee ----- */
.section-coffee { --glaze: var(--paper-2); padding-top: 140px; background: var(--lav); }
.section-coffee .eyebrow { color: var(--ink); }
.section-coffee .section-lead { color: var(--ink); }
.cups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cups .tile { border: 6px solid #fff; box-shadow: 0 24px 40px -28px rgb(22 18 22 / 0.6); }
.cups li:nth-child(even) { translate: 0 36px; }

/* ----- Classes ----- */
.section-classes { --glaze: var(--lav); padding-top: 140px; background: var(--ink); color: var(--paper); }
.section-classes .eyebrow { color: var(--lav); }
.section-classes .section-lead { color: rgb(251 248 244 / 0.8); }
.classes-grid { display: grid; grid-template-columns: 0.8fr 1fr; gap: 72px; align-items: center; }
.frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius); background: #2a232a; }
.classes-note { margin-top: 14px; color: var(--lav); font-weight: 600; }

/* ----- Amenities ----- */
#good { --glaze: var(--ink); padding-top: 140px; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.perks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600;
}
.perks svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--lav-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.rating {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  padding: 30px 40px;
  border-radius: var(--radius);
  background: var(--lav-soft);
  text-decoration: none;
  transition: background-color 0.2s;
}
.rating:hover { background: #e6d3ee; }
.rating-value { font: 900 clamp(3.4rem, 7vw, 5.2rem)/1 var(--font-display); letter-spacing: -0.04em; }
.rating-copy { display: grid; gap: 4px; }
.rating-stars { color: #f2a900; letter-spacing: 0.15em; font-size: 1.2rem; }
.rating-copy b { font-size: 1.1rem; }
.rating-copy span:last-child { color: var(--lav-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ----- Contacts ----- */
.section-contacts { background: var(--paper-2); }
.contacts-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: stretch; }
.contacts { display: grid; margin-top: 32px; border-top: 1px solid var(--line); }
.contacts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contacts dt { font: 700 0.78rem/1.9 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contacts dd { font-weight: 600; }
.contacts a { text-decoration-color: var(--lav); text-decoration-thickness: 2px; }
.contacts a:hover { color: var(--lav-deep); }
.map { overflow: hidden; min-height: 420px; border-radius: var(--radius); background: var(--photo); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ========== Footer ========== */
.site-footer { padding: 48px 0 56px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner img { width: 150px; height: auto; }
.footer-inner p { color: var(--muted); font-size: 0.92rem; }

/* ========== Mobile dock ========== */
.dock { display: none; }

/* ========== Reveal ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero-grid, .order-grid, .classes-grid, .contacts-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { width: min(78%, 380px); }
  .perks { grid-template-columns: 1fr 1fr; }

  /* Photo rows become swipeable rails that bleed to the screen edge */
  .showcase, .cups {
    display: flex;
    gap: 14px;
    margin-inline: calc(-1 * max(20px, env(safe-area-inset-left)));
    padding: 0 max(20px, env(safe-area-inset-left)) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(20px, env(safe-area-inset-left));
    scrollbar-width: none;
  }
  .showcase::-webkit-scrollbar, .cups::-webkit-scrollbar { display: none; }
  .cups .tile { flex: 0 0 min(68vw, 300px); scroll-snap-align: start; }
  .showcase .card { flex: 0 0 min(68vw, 300px); scroll-snap-align: start; }
  .order-copy { position: static; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .cups li:nth-child(even) { translate: none; }
  .frame { width: min(100%, 420px); }
  .map, .map iframe { min-height: 340px; }
}

@media (max-width: 720px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .hero-facts { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .hero-facts li:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .hero-actions .btn { flex: 1 1 auto; }
  .rating { gap: 20px; padding: 24px; }
  .contacts div { grid-template-columns: 1fr; gap: 2px; }
  .perks li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
  .rating { flex-direction: column; align-items: flex-start; }
  .sticker { left: -10px; width: 104px; height: 104px; }
  .sticker span { font-size: 0.95rem; }

  .order-form, .order-done { margin-inline: -8px; padding: 24px 18px; }
  .field-row { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .menu-card { padding: 6px 6px 14px; border-radius: 18px; }
  .menu-card h3 { margin: 10px 6px 0; font-size: 0.92rem; }
  .menu-card p { margin: 4px 6px 0; font-size: 0.82rem; }
  .menu-add { margin: 10px 6px 0; }
  .menu-cta { padding: 28px 22px; }
  .page-menu .btn-sm { display: none; }

  /* Picker becomes a bottom sheet */
  .picker { width: 100vw; height: calc(100dvh - 24px); margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .picker-head, .picker-search, .picker-body, .picker-foot { padding-inline: 18px; }
  .picker-group { margin-inline: -18px; padding-inline: 18px; }

  .dock {
    position: fixed;
    inset: auto 12px calc(12px + env(safe-area-inset-bottom));
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: var(--ink);
    box-shadow: 0 16px 40px -12px rgb(22 18 22 / 0.6);
  }
  .dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    border-radius: 999px;
    color: var(--paper);
    font-weight: 700;
    text-decoration: none;
  }
  .dock a:first-child { background: var(--lav); color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .status.is-open .status-dot { animation: none; }
  .btn, .tile img, .card-link .icon { transition: none; }
}
