/* Feature and page styles, composed from the components.css primitives on tokens only. */

.opn-app { min-height: 100vh; display: flex; flex-direction: column; }
.opn-content { flex: 1; display: flex; flex-direction: column; }
.opn-content:focus { outline: none; }
.opn-content > main { flex: 1; }

.opn-header {
  position: sticky; top: 0; z-index: var(--z-header);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease);
}
/* The blur lives here: backdrop-filter on .opn-header itself would trap the fixed mobile panel to the header's height. */
.opn-header::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--bg);
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  z-index: -1;
}
.opn-header.scrolled { border-color: var(--line); }
.opn-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 0;
  gap: 20px;
}
.opn-logo {
  justify-self: start;
  display: flex; flex-direction: column; align-items: flex-start;
  font-family: var(--font-serif);
  color: var(--ink);
}
.opn-logo .logo-line1 { font-size: 20px; font-style: italic; letter-spacing: 0.02em; line-height: 1; }
.opn-logo .logo-line2 { font-size: 11px; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.35em; margin-top: 3px; color: var(--ink-mute); }

.opn-nav { display: flex; gap: 28px; }
.opn-navlink {
  font-family: var(--font-sans);
  font-size: var(--fs-caps-l); letter-spacing: var(--track-caps-wide); text-transform: uppercase;
  color: var(--ink-soft);
  padding: 11px 0;
  position: relative;
  transition: color var(--dur-1);
}
/* Only "you are here" (hover is colour), cut short by the letter-space that trails the last glyph. */
.opn-navlink::after {
  content: ""; position: absolute; bottom: 5px; left: 0;
  width: calc(100% - var(--track-caps-wide)); height: 1px; background: var(--ink);
  transform: scaleX(0);
}
.opn-navlink:hover, .opn-navlink:focus-visible, .opn-navlink.active { color: var(--ink); }
.opn-navlink.active::after {
  transform: scaleX(1);
  animation: navline-sweep var(--dur-2) var(--ease);
}
/* Turbo swaps the body on every visit, so this re-fires as each page lands. */
@keyframes navline-sweep { from { transform: scaleX(0); } }

.opn-header-end {
  justify-self: end;
  display: flex; align-items: center; gap: 18px;
}
.opn-langswitch {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-family: var(--font-sans);
  letter-spacing: 0.1em;
}
.opn-langswitch a {
  color: var(--ink-mute);
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; min-width: 40px; padding: 4px 8px;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px;
  transition: color var(--dur-1);
}
.opn-langswitch a.on {
  color: var(--ink);
  font-weight: 500;
  text-decoration-color: var(--ink);
}
.opn-langswitch span { color: var(--line); }
/* 40px locale targets leave no room for the slashes beside the cart and menu buttons. */
@media (max-width: 400px) {
  .opn-header-end > .opn-langswitch { gap: 0; }
  .opn-header-end > .opn-langswitch span { display: none; }
}

.opn-hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.opn-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
}

/* The menu is a .drawer below 1024px, where five links and three languages stop fitting one row (Russian, at 901px); above it there is nothing to open. */
@media (min-width: 1024px) {
  .opn-mobile-scrim, .opn-mobile-panel { display: none; }
}

@media (max-width: 1023px) {
  .opn-nav { display: none; }

  .opn-hamburger {
    display: inline-flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 4.5px;
  }

  .opn-header-inner {
    grid-template-columns: auto 1fr;
    padding: 14px 0;
  }

  .opn-header-end { gap: 10px; }

  .opn-mobile-panel {
    width: min(360px, 85vw);
    padding: 24px var(--panel-inset) 40px;
  }

  .opn-mobile-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px;
  }

  .opn-mobile-nav { display: flex; flex-direction: column; gap: 4px; }

  .opn-mobile-link {
    display: block;
    padding: 16px 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: var(--step-2);
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
  }

  /* A leading rule, not an underline: every row already has a bottom hairline. */
  .opn-mobile-link.active { color: var(--ink); }
  .opn-mobile-link.active::before {
    content: ""; display: inline-block; vertical-align: middle;
    width: 20px; height: 1px; margin-right: 10px;
    background: var(--ink);
    animation: navline-sweep var(--dur-2) var(--ease);
  }

  .opn-mobile-foot {
    margin-top: auto;
    display: flex; flex-direction: column; gap: 16px;
  }
}

/* Below 360px the three language links squeezed the wordmark onto four lines; the menu panel carries them. */
@media (max-width: 359px) {
  .opn-header-end > .opn-langswitch { display: none; }
}

.cart-dot {
  position: absolute; top: -2px; right: -2px;
  background: var(--accent); color: var(--white);
  font-size: var(--fs-caps-s); font-family: var(--font-sans);
  min-width: 16px; height: 16px; border-radius: var(--r-pill);
  display: grid; place-items: center; padding: 0 4px;
  font-weight: 500;
}

.hero { padding: clamp(32px, 6vw, 80px) 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  min-height: 72vh;
}
.hero-left { padding: 20px 0; }
.hero-left .eyebrow { margin-bottom: 28px; }
.hero-title {
  /* 7rem is the largest that keeps "by Nina" on one line in the content column. */
  font-size: clamp(3.5rem, 8.5vw, 7rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 36px;
  font-style: italic;
}
.hero-title .hero-line { display: block; }
.hero-title .hero-line:nth-child(2) { padding-left: 1.5em; font-style: normal; font-weight: 400; }
.hero-lede {
  max-width: 440px;
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.hero-right {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 72vh;
  min-height: 560px;
}
.hero-photo { overflow: hidden; border-radius: var(--r-sm); }
.hero-photo.big { grid-row: span 2; }
@media (max-width: 900px) {
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

.hero-marquee {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 28px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--ink-soft);
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.section { padding: clamp(64px, 10vw, 140px) 0; }
.section-alt { background: var(--bg-alt); }
/* Two plain sections in a row would stack both paddings into one empty band. */
.section:not(.section-alt) + .section:not(.section-alt) { padding-top: 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 60px);
  flex-wrap: wrap;
}
.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head h2 { margin: 12px 0 10px; max-width: 16ch; }
.section-head .eyebrow { margin-bottom: 8px; }
.section-head p { color: var(--ink-soft); max-width: 48ch; margin: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px 32px;
}
.product-grid-wide { gap: 64px 32px; }
/* A column, so each card's button sits at the foot of its grid row whatever the name's length. */
.product-card { display: flex; flex-direction: column; transition: transform var(--dur-3) var(--ease); }
.product-card .button_to, .product-card__action { margin-top: auto; }
.product-card__link { display: block; }
.product-photo { position: relative; margin-bottom: 20px; }
.product-photo .clay-photo { transition: transform var(--dur-4) var(--ease); }
/* Only the photo grows; the badges over it stay put, and nothing moves for anyone who asked for less motion. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product-card:hover { transform: translateY(-4px); }
  .product-card:hover .product-photo .clay-photo { transform: scale(1.04); }
}
.product-meta {
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 16px;
}
.product-name {
  font-size: var(--step-1);
  font-style: italic;
}
.product-price, .teaser-row .price {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}
.product-add { margin-top: var(--sp-3); }
/* Two pieces across on a phone, as shops show them: one alone filled the whole first screen. */
@media (max-width: 600px) {
  .product-grid, .product-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-3); }
  .product-photo { margin-bottom: var(--sp-3); }
  .product-meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  /* A 130px tile can't hold Russian's "Сезонная коллекция" on one line: it wraps inside the photo instead of running off it. */
  .product-photo .badge { max-width: calc(100% - 16px); padding: 4px 8px; border-radius: var(--r-md); font-size: var(--fs-caps-s); line-height: 1.3; white-space: normal; }
  .product-photo .badge--overlay { top: 8px; left: 8px; }
  .product-photo .badge--overlay-end { right: 8px; bottom: 8px; }
  .product-add { width: 100%; justify-content: center; padding-inline: var(--sp-2); }
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px 32px;
}
.process-step { padding-top: 24px; border-top: 1px solid var(--line); }
.process-num {
  font-size: 48px;
  font-weight: 300;
  color: var(--ink-mute);
  line-height: 1;
  margin-bottom: 20px;
  font-style: italic;
}
.process-step h3 {
  font-size: var(--step-2);
  margin: 0 0 12px;
}
.process-step p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 28ch;
}
/* Four short steps two by two on a phone, rather than a screen and a half of one column. */
@media (max-width: 600px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-4); }
  .process-num { font-size: 36px; margin-bottom: var(--sp-3); }
}

.teaser-copy h2 { margin: 14px 0 18px; }
.teaser-copy p { color: var(--ink-soft); max-width: 44ch; margin-bottom: 32px; }
.teaser-list { margin: 32px 0 40px; border-top: 1px solid var(--line); }
/* A long price (Russian "за 2 человека") wraps to its own line, kept to the right, rather than widening the row. */
.teaser-row {
  display: flex; flex-wrap: wrap; align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-1);
}
.teaser-name {
  font-style: italic;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.18em; text-decoration-thickness: 1px;
  transition: text-decoration-color var(--dur-1);
}
.teaser-row:hover .teaser-name, .teaser-row:focus-visible .teaser-name { text-decoration-color: currentColor; }
.dot-leader {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
  margin: 0 12px;
}
.teaser-row .price { white-space: nowrap; margin-left: auto; }
.teaser-duration { color: var(--ink-mute); }
.teaser-duration::after { content: " · "; }
.teaser-next { flex-basis: 100%; margin-top: 2px; font-size: 13px; color: var(--ink-mute); }
/* A phone: the name, then its length and price under it, so every row reads the same however long its price. */
@media (max-width: 600px) {
  .teaser-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .teaser-row .dot-leader { display: none; }
  .teaser-row .price { margin-left: 0; white-space: normal; }
}

/* No hover lift: on this site a growing tile means "clickable", and these are decorative. */
.ig-grid, .about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.section-newsletter h2 { margin: 14px 0 16px; }
.section-newsletter p { color: var(--ink-soft); margin-bottom: 36px; }
.newsletter-note { max-width: 480px; margin: var(--sp-3) auto 0; }
.newsletter-form {
  display: flex; gap: 12px; max-width: 480px; margin: 0 auto;
  padding-bottom: 8px; border-bottom: 1px solid var(--ink);
}
.newsletter-form input {
  flex: 1; border: 0; background: transparent;
  font-family: var(--font-serif); font-style: italic;
  font-size: var(--step-1);
  color: var(--ink);
  padding: 12px 0;
  outline: none;
}
/* The form's underline marks the field, so focus needs a ring of its own to be visible. */
.newsletter-form input:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.newsletter-form input::placeholder { color: var(--ink-mute); }
.newsletter-form .btn { padding: 10px 20px; font-size: var(--fs-caps); white-space: nowrap; }

/* One row can't hold the field and a long CTA ("Подписаться") on a small phone, so it stacks. */
@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; align-items: stretch; gap: 16px; border-bottom: 0; }
  /* flex:1 measures the main axis — in a column that collapses the field to 0. */
  .newsletter-form input { flex: 0 0 auto; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
  .newsletter-form .btn { width: 100%; }
}

.shop-grid { padding-bottom: clamp(80px, 12vw, 140px); }
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.shop-filters, .shop-sort { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* Outlined chips, so a set reads as one control whether it fits one row or wraps. */
.filter-pill {
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: var(--fs-caps-l); letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  transition: color var(--dur-1), background var(--dur-1), border-color var(--dur-1);
}
/* Hover only where there is one: a tapped pill on a phone would keep the border. */
@media (hover: hover) { .filter-pill:hover { color: var(--ink); border-color: var(--ink-soft); } }
.filter-pill[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.shop-sort .small { margin-right: 4px; white-space: nowrap; }

@media (max-width: 640px) {
  .shop-toolbar { gap: 18px; margin-bottom: 40px; }
  .shop-filters, .shop-sort { width: 100%; }
}
.shop-refine { display: none; }
.shop-refine__current { color: var(--ink-mute); text-transform: none; letter-spacing: 0; font-size: 13px; text-align: right; }
.shop-refine__group { display: grid; gap: var(--sp-2); }
@media (max-width: 600px) {
  .shop-toolbar { padding: 16px 0; margin-bottom: 32px; }
  .shop-toolbar__wide { display: none; }
  .shop-refine { display: block; width: 100%; }
}

.lessons-list { padding: clamp(40px, 6vw, 80px) 0; display: flex; flex-direction: column; gap: clamp(40px, 6vw, 80px); }
.lesson-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding-bottom: clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.lesson-card:last-of-type { border-bottom: 0; }
.lesson-card:nth-child(even) { grid-template-columns: 1.3fr 1fr; }
.lesson-card:nth-child(even) .lesson-photo { order: 2; }
.lesson-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: var(--sp-2) 20px; margin-bottom: 16px;
}
.lesson-head h2 { font-style: italic; font-size: var(--step-3); margin: 0; }
.lesson-price { font-size: var(--step-2); color: var(--ink-soft); white-space: nowrap; }
.lesson-description { color: var(--ink-soft); max-width: 48ch; margin: 0 0 24px; }
.lesson-specs {
  display: grid; grid-template-columns: repeat(3, auto); gap: 24px 40px;
  margin: 0 0 28px; padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* Russian's "Размер группы" won't fit three across a 320px card. */
@media (max-width: 560px) {
  .lesson-specs { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
}
.lesson-specs dt {
  font-size: var(--fs-caps); letter-spacing: var(--track-caps-wide); text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 6px;
}
.lesson-specs dd { margin: 0; font-family: var(--font-serif); font-size: var(--step-1); font-style: italic; }
.lesson-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 0 0 20px; padding: 0;
}

/* Dates and gifts share one band: side by side once both fit, so neither leaves two thirds of the page empty. */
.lessons-extras {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: var(--sp-7) clamp(40px, 6vw, 96px); align-items: start;
  padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line);
}
/* Straight under a page's title band, whose own rule already divides them. */
.lessons-extras--under-hero { border-top: 0; }
.availability h2 { margin: 10px 0 8px; font-style: italic; font-size: var(--step-3); }
.availability__note { margin: 0 0 40px; max-width: 56ch; }
.availability__card, .gift-vouchers__list { max-width: 560px; }
.lessons-voucher-link { margin-block: var(--sp-4) 0; }
.lesson-slots { list-style: none; padding: 0; margin: 0; }
.lesson-slots li + li { border-top: 1px solid var(--line); }
/* The date on the first line, the lesson and seats under it, "Book" level with both: no wrapping mid-phrase on a phone. */
.slot-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 2px var(--sp-3);
  min-height: 56px; padding: var(--sp-3) 0;
  color: var(--ink);
}
.slot-row__what { font-size: 14px; color: var(--ink-soft); }
.slot-row__seats { white-space: nowrap; }
.slot-row__go {
  grid-column: 2; grid-row: 1 / span 2;
  padding-block: 4px; border-bottom: 1px solid var(--line);
  font-size: var(--fs-caps); letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--ink-soft);
  transition: color var(--dur-1), border-color var(--dur-1);
}
a.slot-row:focus-visible .slot-row__go { color: var(--ink); border-color: var(--ink); }
@media (hover: hover) { a.slot-row:hover .slot-row__go { color: var(--ink); border-color: var(--ink); } }

/* A real sequence, so numbered like the process steps on the home page. */
.gift-steps { list-style: none; counter-reset: gift-step; display: grid; gap: var(--sp-4); margin: var(--sp-5) 0 0; padding: 0; }
.gift-steps li {
  counter-increment: gift-step;
  display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-items: baseline;
  max-width: 48ch; color: var(--ink-soft);
}
.gift-steps li::before {
  content: "0" counter(gift-step);
  font-family: var(--font-serif); font-style: italic; font-size: var(--step-2); line-height: 1; color: var(--ink-mute);
}

.modal-steps {
  display: flex; padding: 16px var(--modal-inset);
  border-bottom: 1px solid var(--line);
  gap: 8px;
  flex-wrap: wrap;
}
.msx {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--fs-caps); letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--ink-mute);
  padding: 6px 10px 6px 6px;
}
.msx-num {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-alt); color: var(--ink-mute);
  font-size: var(--fs-caps);
}
.msx.on { color: var(--ink); }
.msx.on .msx-num { background: var(--ink); color: var(--bg); }
.msx.done .msx-num { background: var(--sage-deep); color: var(--bg); }
/* On a phone: one row of numbers naming only the current step, so the form starts above the fold. */
@media (max-width: 560px) {
  .modal-steps { flex-wrap: nowrap; gap: 4px; padding-block: 12px; }
  .msx { padding: 4px; }
  .msx:not(.on) .msx-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
}

.bk-step h3 { margin: 0 0 20px; font-style: italic; font-size: var(--step-2); }
.bk-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.bk-date {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 6px;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r-md); cursor: pointer;
  font-family: var(--font-sans); color: var(--ink);
  transition: all var(--dur-1);
}
@media (hover: hover) { .bk-date:hover { border-color: var(--ink); } }
.bk-date.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bk-dow, .bk-dmon { font-size: var(--fs-caps-s); letter-spacing: var(--track-caps); text-transform: uppercase; opacity: 0.7; }
.bk-dnum { font-family: var(--font-serif); font-size: 24px; font-style: italic; line-height: 1; }
.bk-dseats { margin-top: 2px; font-size: var(--fs-caps-s); line-height: 1.2; text-align: center; opacity: 0.8; }

.bk-counter { display: flex; align-items: center; gap: 32px; padding: 20px 0; }
.bk-big { font-size: 48px; font-style: italic; }

.bk-summary { display: grid; gap: 12px; margin: 0; }
.bk-rule, .bk-hint, .bk-consent { margin: 16px 0 0; }
.availability__rule { margin: var(--sp-4) 0 0; }
.bk-summary > div { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }
.bk-summary dt { color: var(--ink-soft); margin: 0; }
.bk-summary dd { margin: 0; font-family: var(--font-serif); white-space: nowrap; }
.bk-summary dd.bk-summary__date { white-space: normal; text-align: right; }
.bk-summary hr { margin: 8px 0; }
.bk-row-total dd { font-size: var(--step-2); }

.about-hero { padding: clamp(60px, 9vw, 120px) 0; }
.about-copy h1 {
  font-size: var(--display-1);
  font-style: italic;
  margin: 16px 0 32px;
  line-height: 0.95;
}
.about-body p {
  font-size: var(--step-1);
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 1em;
  max-width: 48ch;
}
.about-grid { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 12vw, 140px); }

.contact-grid {
  padding: clamp(60px, 9vw, 100px) 0 clamp(80px, 12vw, 140px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contact-event { max-width: 560px; }
.contact-event .lede { margin-bottom: 16px; }
.contact-event strong { color: var(--ink); }
.contact-event-date {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.1;
  margin: 0 0 8px;
}
.contact-event .muted { margin: 0; }

.contact-sent__again { margin: var(--sp-4) 0 0; }

.contact-info { display: flex; flex-direction: column; gap: 40px; }
.info-row .eyebrow { margin-bottom: 10px; }
/* These two ARE the contact page's call to action; as plain text they read as unclickable. */
.info-row .big {
  font-size: var(--step-2);
  font-style: italic;
  display: inline-block;
  padding-block: 8px;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color var(--dur-1), text-decoration-color var(--dur-1);
}
.info-row .big:hover { color: var(--accent-deep); text-decoration-color: currentColor; }


/* contain keeps a flick at the end of the list from chaining out to the page. */
.cart-list { list-style: none; padding: 0; margin: 0; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 96px; }
/* A phone held sideways leaves the list less than one line: the drawer scrolls as one instead. */
@media (max-height: 450px) {
  .drawer .cart-list { flex: none; overflow-y: visible; min-height: 0; }
}
.cart-list li {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 16px; padding: 20px var(--panel-inset); align-items: center;
  border-bottom: 1px solid var(--line);
}
.cart-info .serif { font-style: italic; font-size: 16px; }
.cart-qty { margin: 6px 0 4px; }
.cart-qty .stepper__value { color: var(--ink-mute); font-size: 13px; }
.cart-stock-note { margin-left: 8px; }
.cart-price { font-family: var(--font-serif); font-size: 15px; }
.cart-foot { padding: 24px var(--panel-inset); border-top: 1px solid var(--line); }
.cart-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-family: var(--font-serif); font-size: var(--step-1); }
.cart-row--muted { color: var(--ink-soft); font-size: var(--step-0); }
.cart-nudge { display: grid; gap: var(--sp-2); margin: var(--sp-3) 0; }
.cart-nudge p { margin: 0; color: var(--ink-soft); }
.cart-delivery-info { margin: 0 0 var(--sp-4); }
.payments-note { margin: 10px 0 0; }
.cart-page { padding: var(--sp-6) 0 var(--sp-8); }
@media (max-width: 900px) {
  .cart-qty .stepper__value { min-width: 56px; }
}
/* Small phones: a tighter row and thumb keep −, value and + on one line. */
@media (max-width: 480px) {
  .cart-list li { padding-block: 16px; gap: 12px; grid-template-columns: 56px 1fr auto; }
  .cart-qty .stepper__value { min-width: 32px; }
}

.opn-footer { padding: clamp(60px, 9vw, 100px) 0 40px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
/* A wordmark, not a heading: as an h3 it broke every page's outline straight after the h1. */
.footer-wordmark { font-style: italic; font-size: var(--step-3); margin: 0 0 16px; line-height: 0.95; }
.footer-wordmark em { font-size: 0.7em; color: var(--ink-mute); }
.footer-tagline { max-width: 28ch; color: var(--ink-mute); margin: 0; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; }
.footer-col .eyebrow { margin-bottom: 8px; }
.footer-col a {
  /* 8px above and below turn a 24px text line into a 40px tap target. */
  padding: 8px 0;
  font-family: var(--font-serif); font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color var(--dur-1);
}
.footer-col a:hover { color: var(--ink); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: var(--sp-4) var(--sp-6);
  margin-bottom: var(--sp-5);
  font-family: var(--font-sans); font-size: 13px; color: var(--ink-mute);
}
.footer-seller { margin: 0; line-height: 1.7; max-width: 60ch; text-wrap: pretty; }
/* Inline in a sentence, so the 40px tap height comes from padding the margin takes back. */
.footer-seller a { display: inline-block; padding-block: 9px; margin-block: -9px; }
.footer-seller a:hover { color: var(--ink); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 0 var(--sp-5); }
.footer-legal-links a {
  display: inline-flex; align-items: center; min-height: 40px;
  color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px;
}
.footer-legal-links a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-mute);
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  flex-wrap: wrap; gap: 16px;
}
.footer-instagram {
  color: var(--ink-mute);
  transition: color var(--dur-1);
}
.footer-instagram:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { height: 60vh; }
  .contact-grid { grid-template-columns: 1fr; }
  .lesson-card, .lesson-card:nth-child(even) { grid-template-columns: 1fr; }
  .lesson-card:nth-child(even) .lesson-photo { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ig-grid, .about-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Sized here, never inline, so the strict CSP keeps style-src free of 'unsafe-inline'. */
.clay-photo { width: 100%; height: 100%; overflow: hidden; position: relative; }
.clay-photo__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clay-photo__svg { display: block; width: 100%; height: 100%; }
/* The placeholder ships alongside every real photo, dormant until that photo fails to load. */
.clay-photo__img + .clay-photo__svg { display: none; }
.clay-photo--failed .clay-photo__img { display: none; }
.clay-photo--failed .clay-photo__svg { display: block; }

/* A calm "it's done", not a hero: the booking or order card is on the first screen of a phone. */
.confirm-page { padding: clamp(var(--sp-6), 6vw, var(--sp-8)) 0 var(--sp-8); max-width: 640px; text-align: center; }
.confirm-page .eyebrow { margin-bottom: var(--sp-3); }
.confirm-title { font-size: var(--display-2); font-style: italic; line-height: 1; }
.confirm-lede { font-size: var(--step-0); margin: var(--sp-4) auto 0; max-width: 46ch; }
.order-summary-card { text-align: left; margin: var(--sp-6) 0; }
.booking-summary__lesson {
  font-family: var(--font-serif); font-style: italic;
  font-size: var(--step-2); margin: 0 0 8px;
}

.payment-wrap, .detail-wrap { padding: var(--sp-6) 0 var(--sp-8); }
/* A piece's own page shows its photo larger than the shop grid does. */
.detail-wrap { max-width: 1080px; }

.payment-card__eyebrow, .checkout-aside .eyebrow {
  margin-bottom: 10px;
}

.payment-card__detail {
  font-family: var(--font-serif); font-style: italic; margin-bottom: 4px;
}
.payment-card__summary {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-2);
  margin: 20px 0 24px;
}

.legal-body { display: grid; gap: var(--sp-5); padding-block: var(--sp-7); }
/* The body of a task page under its band: the withdrawal form, the voucher and its dates. */
.withdrawal-body, .voucher-redeem { display: grid; gap: var(--sp-5); padding-block: var(--sp-6) var(--sp-8); }
.voucher-redeem__lesson { margin: var(--sp-1) 0 var(--sp-3); font-style: italic; font-size: var(--step-3); }
.voucher-redeem__ask, .voucher-redeem__consent { margin: 0; }
.pending-order {
  display: grid; gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  padding: var(--sp-4);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.pending-order__text { margin: 0; color: var(--ink-soft); }
.pending-order__actions { display: grid; gap: var(--sp-2); }
.pending-order__actions .inline-form { display: block; }
/* Inset like the drawer's other sections, rather than touching the panel edges. */
.drawer .pending-order, .drawer .cart-alert, .cart-added { flex: none; margin: var(--sp-4) var(--panel-inset) 0; }
.cart-alert { margin-bottom: var(--sp-5); }
/* What was just added, at the top of the basket that slid in for it. */
.cart-added { color: var(--sage-deep); font-size: 14px; }
.bk-alert:empty { display: none; }
.bk-alert { margin: 0 var(--modal-inset) var(--sp-3); }
.payment-processing {
  display: flex; align-items: center; gap: var(--sp-3);
  margin: 0;
  color: var(--ink-soft);
}
.payment-processing__actions { margin-top: var(--sp-3); }
.payment-mount { min-height: 320px; }
.payment-secure { margin-top: 24px; }
.payment-recap { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--line); }

/* The page's full width, so the form starts under the title and the order card ends at the right edge. */
.checkout-wrap { padding: var(--sp-6) 0 120px; }
.checkout-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(300px, 400px);
  justify-content: space-between;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) {
  .checkout-form-grid { grid-template-columns: 1fr; }
  /* The block above the order button already lists everything, so the side card would only repeat it below. */
  .checkout-aside { display: none; }
}

.checkout-step-title {
  font-size: var(--step-3);
  font-style: italic;
  margin: 0 0 20px;
}
.checkout-step-title--spaced { margin: 40px 0 20px; }

.shop-closed-note { margin-top: var(--sp-5); }
.order-summary-point { margin-top: var(--sp-4); }
.product-delivery-teaser { margin: var(--sp-4) 0 0; }

.picker { display: grid; gap: var(--sp-3); }
.picker .flash { margin-bottom: 0; }
.picker__fake { display: grid; gap: var(--sp-2); }

.checkout-total { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.checkout-consent { margin: 0; }

@media (max-width: 900px) {
  .product-detail-grid { gap: 32px; }
}
.product-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.product-gallery__thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--dur-1), border-color var(--dur-1);
}

.product-gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--ink);
}
@media (hover: hover) {
  .product-gallery__thumb:hover { opacity: 1; border-color: var(--ink); }
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-title {
  font-size: var(--display-2);
  font-style: italic;
}

.product-detail-price {
  font-size: var(--step-2);
  margin: 24px 0;
}

.detail-body {
  color: var(--ink-soft);
  max-width: 48ch;
}

.product-detail-actions { margin-top: 40px; }
.product-add-form { align-items: flex-end; }

@media (prefers-reduced-motion: reduce) {
  .opn-navlink.active::after, .opn-mobile-link.active::before { animation: none; }
  .marquee-track { animation: none; }
}

.notify-form { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); max-width: 460px; }
.notify-form__lede { margin: 0; color: var(--ink-soft); }
.notify-form__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--sp-3); }
.notify-form__row > .field { flex: 1 1 220px; margin: 0; }
