/* ==========================================================================
   Petronela NOW — one-pager
   1. Fonts            8.  Method
   2. Tokens           9.  Products
   3. Base             10. Private
   4. Utilities        11. Testimonials
   5. Header / menu    12. Gallery
   6. Hero             13. FAQ
   7. About            14. CTA / Instagram / Footer / FAB / Motion
   ========================================================================== */

/* ==========================================================================
   1. Fonts — self-hosted variable woff2 (latin + latin-ext for Slovak)
   ========================================================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/jost-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: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/jost-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   2. Tokens
   ========================================================================== */

:root {
  --ink: #0a0806;
  --ink-2: #0d0a07;
  --ink-3: #151009;
  --ink-4: #120d08;
  --cream: #f2ebdf;
  --gold: #c8a468;
  --gold-soft: #e6ce9e;

  --cream-rgb: 242, 235, 223;
  --gold-rgb: 200, 164, 104;

  --line: rgba(var(--gold-rgb), 0.2);
  --line-soft: rgba(var(--gold-rgb), 0.12);
  --muted: rgba(var(--cream-rgb), 0.72);
  --muted-2: rgba(var(--cream-rgb), 0.5);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --pad-x: clamp(20px, 5vw, 80px);
  --pad-y: clamp(70px, 3vw, 150px);
  --maxw: 1280px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   3. Base
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video,
iframe { display: block; max-width: 100%; }

img { height: auto; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.35s ease, border-color 0.35s ease, opacity 0.4s ease, transform 0.5s var(--ease);
}
a:hover { color: var(--gold-soft); }

button {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

/* Lists here are structural, never bulleted or numbered — the markers and the
   40px indent that come with <ul>/<ol>/<dd> are always unwanted. */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
dl, dd, dt { margin: 0; }
figure { margin: 0; }

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.2em;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 12px; color: var(--ink); }

/* ==========================================================================
   4. Utilities & shared typography
   ========================================================================== */

.container {
  max-width: var(--maxw);
  margin-inline: auto;
}
.container--narrow { max-width: 1080px; }
.container--wide { max-width: 1180px; }
.container--padded { padding-inline: var(--pad-x); }

.section {
  position: relative;
  z-index: 6;
  padding: var(--pad-y) var(--pad-x);
  background: var(--ink);
}
.section--alt { background: var(--ink-2); }
.section--flush { padding-inline: 0; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(30px, 4vw, 50px);
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
}

.rule {
  flex: 1;
  height: 1px;
  background: rgba(var(--gold-rgb), 0.22);
}

.display {
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.display--lg { font-size: clamp(34px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -0.015em; }
.display--sm { font-size: clamp(26px, 3.4vw, 46px); }

em.accent,
.accent {
  color: var(--gold);
  font-style: italic;
}
.accent--soft { color: var(--gold-soft); }

.lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.8;
  color: rgba(var(--cream-rgb), 0.75);
}

.strong { color: var(--cream); }

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

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-align: center;
  cursor: pointer;
  border: 0;
}
.btn--solid {
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
}
.btn--solid:hover { background: var(--gold-soft); color: var(--ink); }

.btn--ghost {
  border: 1px solid rgba(var(--cream-rgb), 0.35);
  color: var(--cream);
  background: transparent;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--gold-outline {
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  color: var(--cream);
  background: transparent;
}
.btn--gold-outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn--sm { padding: 12px 20px; font-size: 10px; letter-spacing: 0.2em; }
.btn--md { padding: 15px 24px; font-size: 10px; letter-spacing: 0.22em; }
.btn--lg { padding: 17px 32px; }
.btn--block { display: flex; width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-row--center { justify-content: center; }

.link-quiet {
  font-size: 14px;
  color: rgba(var(--cream-rgb), 0.65);
}
.link-quiet:hover { color: var(--gold); }

.link-note {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(var(--cream-rgb), 0.75);
}
.link-note:hover { border-color: var(--gold); color: var(--gold); }
.link-note__logo {
  display: block;
  /* The wordmark is the point of this badge, so it leads rather than
     sitting as a footnote next to the label. */
  height: clamp(26px, 3.2vw, 34px);
  width: auto;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}
.link-note:hover .link-note__logo { opacity: 1; }
.link-note:hover .link-note__logo { opacity: 1; }

/* Media frames ----------------------------------------------------------- */

.frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #241a10, #0f0b07);
}
.frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame--zoom > img { transition: transform 1.1s var(--ease); }
.frame--zoom:hover > img { transform: scale(1.05); }

/* Keyframes -------------------------------------------------------------- */

@keyframes sweep {
  0%   { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(320%) skewX(-18deg); }
}
@keyframes marq {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}
@keyframes glow {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.8; }
}

/* ==========================================================================
   5. Progress bar, header, mobile menu
   ========================================================================== */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #8a6a32, var(--gold-soft));
  z-index: 120;
  transition: width 0.12s linear;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease;
}
.header.is-stuck {
  background: rgba(10, 8, 6, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(var(--gold-rgb), 0.18);
}

.brand {
  display: flex;
  align-items: center;
  color: var(--cream);
}
.brand:hover { color: var(--cream); }
.brand__logo {
  display: block;
  height: clamp(24px, 3vw, 32px);
  width: auto;
  transition: opacity 0.3s ease;
}
.brand:hover .brand__logo { opacity: 0.85; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.nav__link {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(var(--cream-rgb), 0.7);
}
.nav__link:hover { color: var(--gold); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(var(--cream-rgb), 0.45);
}
.lang__current { color: var(--cream); }
.lang__sep { opacity: 0.3; }
.lang__alt {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.lang__alt:hover { color: var(--gold); }

.header__cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 0.24em;
  background: rgba(var(--gold-rgb), 0.07);
}
.header__cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* Members area — quieter than the gold CTA so the primary action still leads. */
.header__member {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid rgba(var(--cream-rgb), 0.2);
  color: rgba(var(--cream-rgb), 0.75);
  font-size: 10px;
  letter-spacing: 0.22em;
  white-space: nowrap;
}
.header__member:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.header__member svg {
  width: 12px;
  height: 12px;
  flex: none;
}

.menu__member {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 13px 26px;
  border: 1px solid rgba(var(--gold-rgb), 0.45);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cream);
}
.menu__member:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.menu__member svg { width: 13px; height: 13px; flex: none; }

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 0;
  background: none;
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 15px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger[aria-expanded='true'] span:first-child { transform: translateY(2.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-2.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 115;
  background: rgba(10, 8, 6, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  /* Short phones cannot fit six serif links plus the buttons, so the panel
     scrolls instead of pushing the close button off-screen. */
  padding: 90px 24px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

/* Without this the links are inline and flow into rows instead of a column. */
.menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0s;
}
.menu__link {
  display: block;
  font-family: var(--serif);
  font-size: clamp(26px, 7vw, 32px);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--cream);
}
.menu__link:hover,
.menu__link--active { color: var(--gold); }
.menu__close {
  margin-top: 14px;
  padding: 10px 18px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(var(--cream-rgb), 0.4);
}
.menu__close:hover { color: var(--gold); }

body.is-locked { overflow: hidden; }

/* ==========================================================================
   6. Hero
   ========================================================================== */

/* Two discrete stops, one viewport of scroll between them.
   Height must stay in sync with STOPS in main.js: 100vh * STOPS. */
.hero {
  position: relative;
  height: 200vh;
  background: var(--ink);
}

/* While a step animation is running, native smooth-scroll must not fight
   the per-frame scroll writes. */
html.is-stepping { scroll-behavior: auto; }

.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--ink);
}

.hero__ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}
.hero__ambient img {
  position: absolute;
  left: -10%;
  top: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: blur(54px) saturate(0.8) brightness(0.55);
}
.hero__ambient-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 72% 62% at 50% 46%, rgba(var(--gold-rgb), 0.14), rgba(10, 8, 6, 0.9) 72%);
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  perspective: 1700px;
  perspective-origin: 50% 46%;
  pointer-events: none;
}

.hero__shadow {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0) 70%);
  filter: blur(16px);
}

.hero__book {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero__spine {
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 100%;
  opacity: 0;
  transform-origin: left center;
  transform: rotateY(90deg);
  background: linear-gradient(90deg, #1d1409, #3d2c16 46%, #070502);
  box-shadow: inset 8px 0 18px rgba(0, 0, 0, 0.5);
}

.hero__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
}

.hero__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Centered in the book plane; JS sets explicit px dimensions each frame so
   the video covers the *viewport window* at full bleed (not the portrait
   plane, which would massively over-crop a landscape file) and morphs to
   cover the book face as the zoom progresses. */
.hero__video {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: 50% 50%;
  will-change: transform;
}
.hero__cover { opacity: 0; will-change: opacity; }

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.7) 0%, rgba(10, 8, 6, 0.16) 34%, rgba(10, 8, 6, 0.14) 55%, rgba(10, 8, 6, 0.84) 100%);
}

.hero__sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(255, 240, 210, 0.13), transparent);
  animation: sweep 9s ease-in-out infinite;
}

.hero__gloss {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(102deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.05) 16%, rgba(255, 255, 255, 0.05) 62%, rgba(255, 255, 255, 0.15) 100%);
}

.hero__frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  border: 1px solid rgba(0, 0, 0, 0.92);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.72), 0 10px 28px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 240, 215, 0.07);
  pointer-events: none;
}

.hero__edge {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  opacity: 0;
  background: linear-gradient(90deg, rgba(255, 244, 225, 0.4), rgba(255, 244, 225, 0));
}

.hero__intro {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(20px, 6vw, 80px);
  will-change: transform, opacity;
}

.hero__kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: clamp(18px, 3vh, 30px);
}
.hero__kicker span:not(.hero__kicker-line) {
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.4em;
  color: var(--gold);
}
.hero__kicker-line {
  display: block;
  width: 34px;
  height: 1px;
  background: rgba(var(--gold-rgb), 0.6);
  flex: none;
}

.hero__title {
  font-size: clamp(38px, 7.4vw, 116px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 40px rgba(10, 8, 6, 0.55);
}

.hero__lede {
  max-width: 640px;
  margin: clamp(20px, 3vh, 34px) 0 0;
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.7;
  color: rgba(var(--cream-rgb), 0.82);
}

.hero__actions { margin-top: clamp(26px, 4vh, 44px); }

.hero__book-copy {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.hero__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__book-kicker { margin-bottom: 18px; }
.hero__book-kicker span:not(.hero__kicker-line) {
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
}
.hero__book-kicker .hero__kicker-line { width: 28px; background: rgba(var(--gold-rgb), 0.7); }
.hero__book-title {
  font-size: clamp(36px, 4.8vw, 74px);
  line-height: 1;
  letter-spacing: 0.02em;
}
.hero__book-sub {
  margin-top: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 30px);
  color: var(--gold-soft);
  line-height: 1.25;
}
.hero__book-text {
  max-width: 52ch;
  margin-top: 22px;
  font-size: clamp(14px, 1.15vw, 16.5px);
  line-height: 1.8;
  color: rgba(var(--cream-rgb), 0.78);
}
.hero__book-actions {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.hero__book-note {
  font-size: 9.5px;
  letter-spacing: 0.26em;
  color: rgba(var(--cream-rgb), 0.5);
}

.hero__hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bob 2.6s ease-in-out infinite;
}
.hero__hint span:first-child {
  font-size: 9px;
  letter-spacing: 0.36em;
  color: rgba(var(--cream-rgb), 0.55);
}
.hero__hint-line {
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.8), transparent);
}

/* ==========================================================================
   Marquee (shared: clients + testimonials)
   ========================================================================== */

.marquee {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(var(--gold-rgb), 0.16);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.16);
  background: var(--ink);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marq 42s linear infinite;
}
.marquee:hover .marquee__track,
.marquee__track:focus-within { animation-play-state: paused; }

.marquee__group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
}
.marquee__item {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(var(--cream-rgb), 0.55);
  white-space: nowrap;
}
.marquee__star { color: var(--gold); }

/* ==========================================================================
   7. About
   ========================================================================== */

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 74px);
  align-items: start;
}
/* Text carries this section; the image column is a supporting rail, not a
   50/50 partner — at half width the three shots dominate the copy. */
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 7fr 3fr; }
}

.about__title {
  margin-bottom: 26px;
  font-size: clamp(32px, 4.6vw, 68px);
  line-height: 1.06;
}

.about__text {
  margin-bottom: 20px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.85;
  color: rgba(var(--cream-rgb), 0.78);
}
.about__text:last-of-type { margin-bottom: 34px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 26px 0;
  margin-bottom: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__value {
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1;
  color: var(--gold);
}
.stats__label {
  margin-top: 8px;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: rgba(var(--cream-rgb), 0.5);
}

/* The two portrait shots are a matched pair and stay side by side at every
   width — they read as one unit, so they are never allowed to stack. */
.about__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 420px) {
  .about__media { gap: 8px; }
}
.about__media-wide { grid-column: span 2; }
.about__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  background: linear-gradient(0deg, rgba(10, 8, 6, 0.85), transparent);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.7vw, 22px);
}
.about__note {
  grid-column: span 2;
  padding: 24px;
  border: 1px solid rgba(var(--gold-rgb), 0.22);
  background: rgba(var(--gold-rgb), 0.04);
}
.about__note-label {
  margin-bottom: 12px;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.about__note p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ==========================================================================
   8. Method (Shifting)
   ========================================================================== */

.method { overflow: hidden; padding-block: clamp(80px, 12vw, 170px); }
.method__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}
.method__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(10, 8, 6, 0.55), rgba(10, 8, 6, 0.95));
}
.method__inner { position: relative; }

.method__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.method__head .eyebrow { display: block; margin-bottom: 20px; }
.method__title {
  margin-inline: auto;
  max-width: 16ch;
  font-size: clamp(32px, 5.2vw, 76px);
  line-height: 1.05;
}
.method__lede {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.8;
  color: rgba(var(--cream-rgb), 0.75);
}

.method__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step {
  background: var(--ink-2);
  padding: clamp(26px, 3vw, 40px);
  transition: background-color 0.5s ease;
}
.step:hover { background: #15100a; }
.step__num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: rgba(var(--gold-rgb), 0.4);
}
.step__title {
  margin: 16px 0 12px;
  font-weight: 400;
  font-size: 24px;
  color: var(--cream);
}
.step p {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(var(--cream-rgb), 0.68);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(34px, 4vw, 56px);
}
.pill {
  padding: 9px 17px;
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(var(--cream-rgb), 0.7);
}

/* ==========================================================================
   9. Products
   ========================================================================== */

.products { padding-bottom: clamp(50px, 7vw, 90px); }

.products__intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(24px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 80px);
}

.paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 14px;
  margin-bottom: clamp(56px, 8vw, 110px);
}
.path {
  display: block;
  padding: 26px 24px 24px;
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  background: linear-gradient(160deg, rgba(var(--gold-rgb), 0.07), transparent);
  color: var(--cream);
  transition: transform 0.5s var(--ease), border-color 0.4s ease;
}
.path:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--gold-rgb), 0.7);
  color: var(--cream);
}
.path--featured {
  border-color: rgba(var(--gold-rgb), 0.5);
  background: linear-gradient(160deg, rgba(var(--gold-rgb), 0.14), transparent);
}
.path--featured:hover { border-color: var(--gold); }
.path__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
/* Card internals are spans (they sit inside an <a>), so they need blockifying. */
.path__title,
.path__more { display: block; }
.path__step {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.path__num {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: rgba(var(--gold-rgb), 0.3);
}
.path__title {
  margin: 14px 0 8px;
  font-weight: 400;
  font-size: 30px;
  color: var(--cream);
}
.path p {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(var(--cream-rgb), 0.65);
}
.path__more {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.group-head {
  scroll-margin-top: 90px;
  display: flex;
  flex-wrap: wrap;   /* long subheadline tags drop to their own line on mobile */
  align-items: baseline;
  gap: 12px 16px;
  margin-bottom: 30px;
}
/* Product groups keep a clamp(56,8vw,110) rhythm between each other; groups
   that directly follow content without its own bottom margin (the tab
   panels) carry the gap themselves. */
.group-head--gap { margin-top: clamp(56px, 8vw, 110px); }
.group-head__num {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 46px);
  color: rgba(var(--gold-rgb), 0.45);
  line-height: 1;
}
.group-head__title {
  font-size: clamp(26px, 3.4vw, 46px);
  color: var(--cream);
}
.group-head__tag {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(var(--cream-rgb), 0.45);
}

/* Book cards */

/* Capped so two cards do not stretch to the full 1280px container — at that
   width a portrait cover would have to be enormous to fill the card. */
.books {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2vw, 26px);
  max-width: 940px;
  margin: 0 auto clamp(56px, 8vw, 110px);
}
.book {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(var(--gold-rgb), 0.22);
  background: linear-gradient(165deg, rgba(var(--gold-rgb), 0.06), transparent);
  overflow: hidden;
}
/* Book covers are portrait artwork — a landscape crop cut the title off, so
   the cover is shown whole, floated on a lit backdrop like a display copy. */
.book__media {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: clamp(22px, 3.5vw, 40px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(var(--gold-rgb), 0.13), transparent 72%),
    linear-gradient(135deg, #2a1e12, #0f0b07);
}
.book__media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow:
    0 26px 50px rgba(0, 0, 0, 0.55),
    0 8px 18px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 240, 215, 0.08);
  transition: transform 1s var(--ease);
}
.book:hover .book__media img { transform: scale(1.04) translateY(-4px); }
.book__body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.book__title {
  margin-bottom: 6px;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
}
.book__sub {
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.book__body p {
  margin-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(var(--cream-rgb), 0.7);
  flex: 1;
}
.book__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.18);
}
.book__note {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(var(--cream-rgb), 0.5);
}
.book__formats {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.18);
}

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: rgba(10, 8, 6, 0.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.tag--solid {
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.2em;
}
.tag--corner {
  top: 0;
  right: 0;
  left: auto;
  padding: 7px 14px;
}

.row-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.row-link:hover {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.1);
  color: var(--cream);
}

/* Tabs ------------------------------------------------------------------- */

/* Lead-in copy above the format switcher. */
.tabs-intro {
  max-width: 760px;
  margin-bottom: clamp(34px, 4.5vw, 52px);
}

/* Hand-drawn cue pointing at the switcher — the tabs read as static labels
   otherwise, so nothing signals that the panel below can be changed. */
.switch-hint {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--gold);
  pointer-events: none;
}
.switch-hint__text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1;
  padding-bottom: 7px;
  white-space: nowrap;
}
.switch-hint__arrow {
  flex: none;
  width: clamp(46px, 4.5vw, 64px);
  height: auto;
  animation: nudge 3.2s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(3px, 5px); }
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(var(--gold-rgb), 0.22);
  margin-bottom: 30px;
}
.tab {
  padding: 13px 22px;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  background: transparent;
  color: rgba(var(--cream-rgb), 0.65);
  transition: background-color 0.35s ease, color 0.35s ease;
}
.tab:hover { color: var(--cream); }
.tab[aria-selected='true'] {
  background: var(--gold);
  color: var(--ink);
}
.tab--sm { padding: 12px 20px; font-size: 10px; }

.tabpanel[hidden] { display: none; }

.panel-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.panel-note__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.panel-note__dot--pulse { animation: glow 2.4s ease-in-out infinite; }
.panel-note span:last-child {
  font-size: 10px;
  letter-spacing: 0.26em;
  color: rgba(var(--cream-rgb), 0.6);
}

/* Event cards */

.events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.event {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--gold-rgb), 0.35);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.event__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.event:hover .event__img { transform: scale(1.06); }
.event__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 8, 6, 0.95) 8%, rgba(10, 8, 6, 0.35) 55%, rgba(10, 8, 6, 0.6) 100%);
}
.event__tags {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.event__tags .tag { position: static; }
.event__body { position: relative; padding: 28px; }
.event__title {
  margin-bottom: 8px;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
}
.event__date {
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.event__body p {
  margin-bottom: 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(var(--cream-rgb), 0.8);
}
.event__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(var(--cream-rgb), 0.16);
}
.event__price-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(var(--cream-rgb), 0.5);
}
.event__price {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--gold-soft);
}

.callout {
  margin-top: 18px;
  padding: 20px 24px;
  border: 1px dashed rgba(var(--gold-rgb), 0.3);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(var(--cream-rgb), 0.65);
}

/* Recording cards */

.recordings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2vw, 22px);
  margin-bottom: 20px;
}
/* One card must not stretch across the whole container. */
.recordings--single {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 440px));
}
/* Lead trio: three across on desktop, portrait-leaning cards so the poster
   artwork isn't cropped to a letterbox. */
.recordings--library {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.recordings--library .rec { min-height: clamp(320px, 28vw, 420px); }

/* Denser grid for the rest of the library. */
.recordings--compact {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr));
  gap: clamp(12px, 1.5vw, 16px);
}
.rec--sm { min-height: 250px; }
.rec--sm .rec__body { padding: 18px; }
.rec--sm .rec__title { font-size: 21px; }
.rec--sm .rec__meta { margin-bottom: 0; font-size: 9px; }
.rec {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
}
.rec:hover { color: var(--cream); }
.rec--featured { border-color: rgba(var(--gold-rgb), 0.5); }
.rec__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.rec:hover .rec__img { transform: scale(1.06); }
.rec__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 8, 6, 0.94), rgba(10, 8, 6, 0.25) 60%);
}
.rec__body { position: relative; padding: 24px; }
.rec__title {
  margin-bottom: 6px;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  color: var(--cream);
}
.rec__meta {
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.rec__body p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(var(--cream-rgb), 0.75);
}

.library { border: 1px solid var(--line); }
.library__head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: rgba(var(--cream-rgb), 0.55);
}
.library__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.library__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  color: var(--cream);
  font-size: 13.5px;
}
.library__link:hover {
  background: rgba(var(--gold-rgb), 0.08);
  color: var(--cream);
}
.library__link--all {
  color: var(--gold);
  letter-spacing: 0.14em;
}
.library__link--all:hover { color: var(--gold); }
.library__where {
  color: rgba(var(--cream-rgb), 0.45);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.library__arrow { color: var(--gold); flex: none; }

/* Membership portal panel */

/* Compact summary panel — closes the recordings section without dominating
   it: tighter padding, smaller type, and the photo capped to a landscape
   crop instead of flowing at its full portrait height. */
.portal {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(22px, 3vw, 36px);
  background: linear-gradient(150deg, rgba(var(--gold-rgb), 0.1), transparent 60%);
}
.portal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
}
@media (min-width: 900px) {
  .portal__grid { grid-template-columns: 1.6fr 1fr; }
}
.portal .frame {
  aspect-ratio: 3 / 2;
  align-self: center;
}
.portal__label {
  margin-bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.portal__title {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}
.portal p {
  margin-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(var(--cream-rgb), 0.75);
}

.ticks {
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
}
.tick {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(var(--cream-rgb), 0.75);
}
.tick__mark { color: var(--gold); flex: none; }

/* Comparison table */

.compare {
  margin-top: clamp(30px, 4vw, 52px);
  overflow-x: auto;
  border: 1px solid var(--line);
}
.compare table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  text-align: left;
}
.compare th,
.compare td {
  padding: 18px 20px;
  vertical-align: top;
}
.compare thead th {
  padding: 16px 20px;
  background: rgba(var(--gold-rgb), 0.08);
  border-bottom: 1px solid var(--line);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: rgba(var(--cream-rgb), 0.5);
}
.compare thead th:first-child { color: var(--gold); }
.compare tbody tr { border-bottom: 1px solid rgba(var(--gold-rgb), 0.12); }
.compare tbody tr:last-child { border-bottom: 0; }
.compare tbody tr.compare__highlight { background: rgba(var(--gold-rgb), 0.06); }
.compare tbody th {
  font-size: 14px;
  font-weight: 400;
  color: var(--cream);
}
.compare td {
  font-size: 13.5px;
  color: rgba(var(--cream-rgb), 0.65);
}
.compare td:last-child { color: var(--gold-soft); }

/* ==========================================================================
   10. Private cooperation
   ========================================================================== */

.private { overflow: hidden; }
.private__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.private__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 8, 6, 0.96) 30%, rgba(10, 8, 6, 0.55));
}
.private__inner { position: relative; }

/* Two cards since the group programs moved to the online section — capped
   and centered so they don't stretch across the whole container. */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(16px, 2vw, 24px);
  max-width: 920px;
  margin-inline: auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(var(--gold-rgb), 0.22);
  background: rgba(10, 8, 6, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.plan--featured {
  border-color: var(--gold);
  background: linear-gradient(165deg, rgba(var(--gold-rgb), 0.16), rgba(10, 8, 6, 0.75));
  overflow: hidden;
}
.plan__label {
  margin-bottom: 18px;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: rgba(var(--cream-rgb), 0.5);
}
.plan--featured .plan__label { color: var(--gold); }
.plan__title {
  margin-bottom: 6px;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.08;
}
.plan__price {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold-soft);
}
.plan p {
  margin-bottom: 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(var(--cream-rgb), 0.7);
  flex: 1;
}
.plan__list {
  display: grid;
  gap: 11px;
  margin-bottom: 24px;
  flex: 1;
}
.plan__item {
  display: flex;
  gap: 11px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(var(--cream-rgb), 0.78);
}
.plan__bullet { color: var(--gold); flex: none; }

/* ==========================================================================
   11. Testimonials
   ========================================================================== */

.quotes__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.quotes__nav {
  display: flex;
  gap: 10px;
  flex: none;
}
.quotes__btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(var(--gold-rgb), 0.35);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
}
.quotes__btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.quotes__btn svg { width: 20px; height: 20px; }
.quotes__btn.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}
.quotes__btn.swiper-button-disabled:hover {
  background: transparent;
  border-color: rgba(var(--gold-rgb), 0.35);
  color: var(--gold);
}

.quotes {
  padding-inline: var(--pad-x);
  padding-bottom: 6px;
  overflow: hidden;
}
/* Until Swiper takes over (or if the CDN is unreachable) the strip stays
   swipeable as a plain overflow scroller rather than clipping to two cards. */
.quotes:not(.is-ready) {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.quotes:not(.is-ready) .swiper-wrapper { gap: 44px; }
.quotes:not(.is-ready) .swiper-slide { scroll-snap-align: start; }

.quotes .swiper-wrapper { align-items: stretch; }
.quotes .swiper-slide {
  width: min(86vw, 440px);
  height: auto;
}
.quotes.is-ready { cursor: grab; }
.quotes.is-ready:active { cursor: grabbing; }

/* Continuous crawl: each slide transition must run at constant speed —
   with the default ease the strip would surge and settle once per slide. */
.quotes.is-ready { --swiper-wrapper-transition-timing-function: linear; }
.quotes.is-ready .swiper-wrapper { transition-timing-function: linear; }

/* Pure text slides — no card border or background, just the quote. */
.quote {
  height: 100%;
  padding: 0 2px;
  display: flex;
  flex-direction: column;
}
.quote__mark {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0.6;
  color: rgba(var(--gold-rgb), 0.45);
}
.quote p {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(var(--cream-rgb), 0.82);
  flex: 1;
}
.quote__by {
  margin-top: 20px;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
  font-style: normal;
}

/* Video svedectvá — intro row + facade grid */
.videos { margin-top: clamp(48px, 7vw, 96px); }
.videos__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 32px;
  margin-bottom: clamp(24px, 3.5vw, 44px);
}
.videos__head .video-copy p { margin-bottom: 0; max-width: 56ch; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2.2vw, 26px) clamp(14px, 2vw, 22px);
}
.vcard { margin: 0; }
.vcard__caption {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted);
}
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  background: var(--ink-4);
}
.video__btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
}
.video__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.5s ease, transform 1s var(--ease);
}
.video__btn:hover img { opacity: 0.8; transform: scale(1.03); }
.video__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--gold-rgb), 0.6);
  border-radius: 50%;
  background: rgba(10, 8, 6, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-size: 20px;
  padding-left: 4px;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.video__btn:hover .video__icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-copy__label {
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.video-copy__title {
  margin-bottom: 16px;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.08;
}
.video-copy p {
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.link-underline {
  display: inline-flex;
  align-items: center;
  padding: 15px 24px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.22em;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.4);
}

/* ==========================================================================
   12. Gallery
   ========================================================================== */

.gallery__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
}
.gallery__title {
  max-width: 16ch;
  font-size: clamp(30px, 4.6vw, 66px);
  line-height: 1.04;
}
.gallery__head .tabs { margin-bottom: 0; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px;
}
.shot {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-3);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.shot:hover img { transform: scale(1.07); }
.shot__label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--cream);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   13. FAQ
   ========================================================================== */

.faq__title { margin-bottom: clamp(30px, 4vw, 54px); font-size: clamp(30px, 4.6vw, 66px); }
.faq__list { border-top: 1px solid rgba(var(--gold-rgb), 0.18); }
.faq__item { border-bottom: 1px solid rgba(var(--gold-rgb), 0.18); }

.faq__q { margin: 0; font-size: inherit; font-weight: inherit; }
.faq__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
  transition: color 0.3s ease;
}
.faq__btn:hover { color: var(--gold); }
.faq__icon {
  flex: none;
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1;
  color: var(--gold);
}
.faq__icon::before { content: '+'; }
.faq__btn[aria-expanded='true'] .faq__icon::before { content: '\2212'; }

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.45s var(--ease), visibility 0s linear 0.45s;
}
.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.45s var(--ease), visibility 0s;
}
.faq__answer > div { overflow: hidden; }
.faq__answer p {
  padding-bottom: 26px;
  max-width: 78ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

/* ==========================================================================
   14. CTA, Instagram, footer, FAB
   ========================================================================== */

.cta {
  position: relative;
  z-index: 6;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 55%, rgba(10, 8, 6, 0.62), rgba(10, 8, 6, 0.94));
}
.cta__inner {
  position: relative;
  max-width: 900px;
}
.cta__label { margin-bottom: 26px; }
.cta__quote {
  font-style: italic;
  font-size: clamp(30px, 5.4vw, 78px);
  line-height: 1.1;
}
.cta__source {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(var(--cream-rgb), 0.55);
}
.cta__text {
  max-width: 600px;
  margin: 34px auto 0;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.8;
  color: rgba(var(--cream-rgb), 0.8);
}
.cta .btn-row { margin-top: 38px; }

.social { padding: clamp(50px, 7vw, 90px) var(--pad-x) 0; }
.social__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}
.social__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 38px);
  color: var(--cream);
}
.social__title:hover { color: var(--gold); }
.social__handle {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(var(--cream-rgb), 0.45);
}
.social__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(45%, 150px), 1fr));
  gap: 8px;
}
.social__tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink-3);
}
.social__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.5s ease, transform 1s var(--ease);
}
.social__tile:hover img { opacity: 1; transform: scale(1.06); }

.footer {
  position: relative;
  z-index: 6;
  background: var(--ink);
  padding: clamp(50px, 7vw, 90px) var(--pad-x) 40px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.16);
  margin-top: clamp(50px, 7vw, 90px);
}
.footer__grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: clamp(28px, 4vw, 54px);
}
.footer__brand { margin-bottom: 18px; }
.footer__about {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(var(--cream-rgb), 0.55);
  max-width: 34ch;
}
.footer__label {
  margin-bottom: 16px;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.footer__links { display: grid; gap: 10px; }
.footer__bar {
  max-width: var(--maxw);
  margin: clamp(38px, 5vw, 60px) auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__fine {
  font-size: 11px;
  color: rgba(var(--cream-rgb), 0.4);
}
a.footer__fine:hover { color: var(--gold); }

.fab {
  position: fixed;
  right: clamp(14px, 2.5vw, 28px);
  bottom: clamp(14px, 2.5vw, 28px);
  z-index: 118;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fab.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fab__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: rgba(10, 8, 6, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--gold-rgb), 0.35);
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.fab__link:hover { border-color: var(--gold); color: var(--gold); }
.fab__link--solid {
  padding: 15px 22px;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 500;
  box-shadow: 0 12px 40px rgba(var(--gold-rgb), 0.28);
}
.fab__link--solid:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }

/* ==========================================================================
   Scroll reveal
   `is-armed` is added by JS only to elements still below the fold, so with
   JS disabled nothing is ever hidden and there is no flash of blank content.
   ========================================================================== */

.reveal {
  transition:
    opacity 0.95s var(--ease) var(--rv-delay, 0s),
    transform 0.95s var(--ease) var(--rv-delay, 0s),
    filter 0.95s ease var(--rv-delay, 0s);
}
.reveal.is-armed {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(5px);
}
.reveal.is-armed.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal--1 { --rv-delay: 0.09s; }
.reveal--2 { --rv-delay: 0.18s; }
.reveal--3 { --rv-delay: 0.27s; }
.reveal--4 { --rv-delay: 0.36s; }
.reveal--5 { --rv-delay: 0.45s; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: flex; }
}

@media (max-width: 980px) {
  /* both header buttons live in the burger menu from here down */
  .header__member { display: none; }
}

@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; gap: 20px; }
  .gallery__head { align-items: flex-start; }
  .header__cta { display: none; }
}

@media (max-width: 520px) {
  .menu__link { font-size: 26px; }
}

@media (max-width: 880px) {
  .hero__book-text { margin-left: auto; margin-right: auto; }
}


/* ==========================================================================
   Reduced motion — hero degrades to a static, fully readable layout
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal.is-armed {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero { height: auto; }
  .hero__stage {
    position: relative;
    height: auto;
    padding: clamp(120px, 18vh, 200px) var(--pad-x) var(--pad-y);
  }
  .hero__ambient,
  .hero__scene,
  .hero__hint { display: none; }
  .hero__intro {
    position: relative;
    inset: auto;
    padding: 0;
  }
  .hero__book-copy {
    position: relative;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
    max-width: 640px;
    margin: clamp(48px, 8vw, 90px) auto 0;
    text-align: center;
  }
  .hero__book-copy .hero__row { justify-content: center; }
  .hero__book-text { margin-inline: auto; }
}

/* ==========================================================================
   Product subpages (produkt/*.html)
   Reuses the site system (.section, .btn, .ticks, .quote, .frame, .tag…);
   pp-* covers only what a product detail needs on top of it.
   ========================================================================== */

.pp-top {
  padding: calc(75px + clamp(18px, 3vw, 34px)) var(--pad-x) 0;
}
.pp-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(var(--cream-rgb), 0.55);
}
.pp-back:hover { color: var(--gold); }

.pp-hero { padding: clamp(26px, 4vw, 54px) var(--pad-x) clamp(44px, 6vw, 84px); }
.pp-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
@media (min-width: 940px) {
  .pp-hero__grid { grid-template-columns: minmax(0, 460px) 1fr; }
}

.pp-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #241a10, #0f0b07);
}
.pp-media--photo { aspect-ratio: 4 / 5; }
.pp-media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* poster artwork shown whole, floated like a display copy */
.pp-media--poster {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: clamp(22px, 3.5vw, 42px);
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(var(--gold-rgb), 0.13), transparent 72%),
    linear-gradient(135deg, #2a1e12, #0f0b07);
}
.pp-media--poster img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.55), 0 8px 18px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 240, 215, 0.08);
}

.pp-title {
  margin: 14px 0 10px;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.04;
}
.pp-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.9vw, 26px);
  color: var(--gold-soft);
  line-height: 1.3;
}
.pp-lede {
  max-width: 62ch;
  margin-top: 20px;
  font-size: clamp(14.5px, 1.15vw, 16.5px);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(var(--cream-rgb), 0.78);
}

.pp-price-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 18px;
  margin-top: clamp(20px, 2.5vw, 30px);
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pp-price {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1;
  color: var(--gold-soft);
}
.pp-price-note {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(var(--cream-rgb), 0.5);
}

.pp-meta {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}
.pp-meta div {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  font-weight: 300;
  color: rgba(var(--cream-rgb), 0.78);
}
.pp-meta b {
  flex: none;
  min-width: 96px;
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.pp-ctas { margin-top: clamp(24px, 3vw, 34px); }

.pp-section { padding: clamp(40px, 6vw, 80px) var(--pad-x); }
.pp-section--tight { padding-block: clamp(28px, 4vw, 52px); }
.pp-h2 {
  margin-bottom: clamp(18px, 2.5vw, 30px);
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.1;
}
.pp-prose {
  max-width: 74ch;
  display: grid;
  gap: 14px;
}
.pp-prose p {
  font-size: clamp(14.5px, 1.15vw, 16px);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(var(--cream-rgb), 0.78);
}
.pp-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 10px clamp(24px, 3vw, 48px);
}
.pp-box {
  border: 1px solid rgba(var(--gold-rgb), 0.24);
  background: rgba(var(--gold-rgb), 0.04);
  padding: clamp(20px, 2.6vw, 30px);
}
.pp-box + .pp-box { margin-top: 14px; }
.pp-box .ticks { margin-bottom: 0; }
.pp-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}
.pp-boxes .pp-box + .pp-box { margin-top: 0; }
.pp-box__label {
  margin-bottom: 12px;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.pp-tiers { display: grid; gap: 8px; }
.pp-tier {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  font-weight: 300;
  color: rgba(var(--cream-rgb), 0.78);
}
.pp-tier:last-child { border-bottom: 0; }
.pp-tier strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--gold-soft);
  white-space: nowrap;
}

.pp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}
.pp-gallery .frame { aspect-ratio: 4 / 3; }

.pp-banner {
  padding: clamp(44px, 6vw, 80px) var(--pad-x);
  text-align: center;
}
.pp-banner blockquote {
  max-width: 860px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 2.4vw, 30px);
  line-height: 1.5;
  color: rgba(var(--cream-rgb), 0.88);
}
.pp-banner cite {
  display: block;
  margin-top: 16px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--gold);
}

.pp-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(24px, 3.5vw, 54px);
}

.pp-bio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 860px) {
  .pp-bio__grid { grid-template-columns: 320px 1fr; }
}
.pp-bio__grid .frame { aspect-ratio: 4 / 5; }

.pp-closing {
  padding: clamp(56px, 8vw, 110px) var(--pad-x);
  text-align: center;
}
.pp-closing .pp-h2 { max-width: 22ch; margin-inline: auto; }
.pp-closing .pp-price-box {
  justify-content: center;
  border: 0;
  padding: 0;
  margin-top: 10px;
}
.pp-closing .btn-row { margin-top: 26px; }

/* ==========================================================================
   Auth & admin (Laravel Blade views)
   Same design system as the site; forms get their own field primitives.
   ========================================================================== */

.auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(75px + clamp(28px, 5vh, 56px)) var(--pad-x) clamp(40px, 7vh, 70px);
}
.auth__card {
  width: min(100%, 480px);
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  background: linear-gradient(165deg, rgba(var(--gold-rgb), 0.07), rgba(10, 8, 6, 0.4));
  padding: clamp(26px, 5vw, 44px);
}
.auth__eyebrow { margin-bottom: 14px; }
.auth__title {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.1;
}
.auth__sub {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}
.auth__form { margin-top: 6px; }

.field { display: block; margin-top: 18px; }
.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.input {
  width: 100%;
  padding: 13px 14px;
  background: rgba(var(--cream-rgb), 0.045);
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: 0;
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.input::placeholder { color: rgba(var(--cream-rgb), 0.35); }
.input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.07);
}
.input.is-invalid { border-color: rgba(217, 122, 122, 0.7); }
.field__error {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: 300;
  color: #d99a8c;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--muted);
  cursor: pointer;
}
.check input {
  width: 15px;
  height: 15px;
  accent-color: var(--gold);
}

.auth__actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.auth__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  font-weight: 300;
}
.auth__links a { color: rgba(var(--cream-rgb), 0.6); }
.auth__links a:hover { color: var(--gold); }

.flash {
  margin-bottom: 18px;
  padding: 13px 16px;
  border: 1px solid rgba(var(--gold-rgb), 0.35);
  background: rgba(var(--gold-rgb), 0.08);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--gold-soft);
}

/* header user chip (layout) */
.userchip {
  display: flex;
  align-items: center;
  gap: 14px;
}
.userchip__name {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(var(--cream-rgb), 0.7);
}
.userchip form { display: inline; }
.userchip button.header__cta { cursor: pointer; }

/* admin dashboard */
.admin {
  min-height: 72vh;
  padding: calc(75px + clamp(28px, 5vw, 56px)) var(--pad-x) clamp(50px, 7vw, 90px);
}
.admin__hello {
  margin: 6px 0 8px;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.06;
}
.admin__sub {
  max-width: 60ch;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
}
.admin .paths { margin-top: clamp(30px, 4vw, 48px); margin-bottom: 0; }

/* ---- members: stats strip ---- */
.mystats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(26px, 3.5vw, 40px);
  border: 1px solid var(--line);
  background: rgba(var(--gold-rgb), 0.03);
}
.mystats__item {
  flex: 1 1 150px;
  padding: 20px 24px;
  border-right: 1px solid var(--line-soft);
}
.mystats__item:last-child { border-right: 0; }
.mystats__value {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1;
  color: var(--gold);
}
.mystats__label {
  margin-top: 8px;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: rgba(var(--cream-rgb), 0.5);
}

/* ---- members: product cards ---- */
.mycourses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  margin-top: clamp(24px, 3vw, 34px);
}
.mycourse {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(var(--gold-rgb), 0.24);
  background: linear-gradient(165deg, rgba(var(--gold-rgb), 0.06), transparent);
  color: var(--cream);
  transition: transform 0.5s var(--ease), border-color 0.4s ease;
}
.mycourse:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--gold-rgb), 0.65);
  color: var(--cream);
}
/* Posters are portrait artwork of mixed ratios — show them whole, never crop.
   The image is absolutely placed so a tall poster cannot stretch the card:
   aspect-ratio alone loses to content height inside a flex column. */
.mycourse__media {
  position: relative;
  flex: none;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(var(--gold-rgb), 0.14), transparent 72%),
    linear-gradient(135deg, #2a1e12, #0f0b07);
}
.mycourse__media img {
  position: absolute;
  inset: 16px;
  margin: auto;
  width: auto;
  height: auto;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  object-fit: contain;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 240, 215, 0.07);
  transition: transform 0.8s var(--ease);
}
.mycourse:hover .mycourse__media img { transform: scale(1.04) translateY(-3px); }
.mycourse__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}
.mycourse__title {
  margin-bottom: 12px;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
}
.mycourse__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.chip {
  padding: 5px 11px;
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(var(--cream-rgb), 0.7);
}
.mycourse__go {
  margin-top: auto;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.mycourse__expiry {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 300;
  color: rgba(217, 154, 140, 0.9);
}

.empty-state {
  margin-top: clamp(28px, 4vw, 46px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px dashed rgba(var(--gold-rgb), 0.3);
  text-align: center;
}
.empty-state p {
  max-width: 52ch;
  margin: 0 auto 22px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
}

/* ---- members: course header ---- */
.course-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  margin-bottom: clamp(26px, 4vw, 44px);
}
@media (min-width: 760px) {
  .course-head { grid-template-columns: 150px 1fr; }
}
.course-head__poster {
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  padding: 12px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(var(--gold-rgb), 0.14), transparent 72%),
    linear-gradient(135deg, #2a1e12, #0f0b07);
  border: 1px solid rgba(var(--gold-rgb), 0.2);
}
.course-head__poster img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
}

/* ---- members: the player + playlist ---- */
.course {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.5vw, 30px);
  align-items: start;
}
@media (min-width: 1000px) {
  .course { grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); }
  .course__list { max-height: 70vh; overflow-y: auto; }
}

.stage {
  position: sticky;
  top: 92px;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  background: #050403;
}
.stage__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.stage__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.stage__placeholder {
  padding: clamp(20px, 4vw, 40px);
  text-align: center;
}
.stage__placeholder .video__icon {
  position: static;
  transform: none;
  margin: 0 auto 16px;
}
.stage__placeholder p {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--muted);
}
.stage__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.stage__title {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--cream);
}
.stage__meta {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: rgba(var(--cream-rgb), 0.5);
}
.stage__ext {
  margin-left: auto;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: rgba(var(--gold-rgb), 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.3);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.stage__ext:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.course__list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

/* ---- members: content rows ---- */
.lessons {
  display: grid;
  gap: 8px;
}
.lesson {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: rgba(var(--gold-rgb), 0.03);
  color: var(--cream);
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: border-color 0.35s ease, background-color 0.35s ease;
}
.lesson:hover {
  border-color: rgba(var(--gold-rgb), 0.6);
  background: rgba(var(--gold-rgb), 0.07);
  color: var(--cream);
}
.lesson.is-active {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.12);
}
.lesson__num {
  flex: none;
  width: 30px;
  font-family: var(--serif);
  font-size: 19px;
  color: rgba(var(--gold-rgb), 0.55);
}
.lesson.is-active .lesson__num { color: var(--gold); }
.lesson__main { flex: 1; min-width: 0; }
.lesson__title {
  display: block;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.4;
}
.lesson__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 5px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: rgba(var(--cream-rgb), 0.45);
}
.lesson__kind { color: var(--gold); }
.lesson__icon {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--gold-rgb), 0.35);
  border-radius: 50%;
  color: var(--gold);
  font-size: 11px;
  padding-left: 2px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.lesson:hover .lesson__icon,
.lesson.is-active .lesson__icon {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.materials { margin-top: clamp(34px, 4.5vw, 56px); }
.materials .lessons {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.member-note {
  margin-top: clamp(26px, 4vw, 44px);
}

/* slim footer for app pages */
.footer--slim {
  margin-top: 0;
  padding: 26px var(--pad-x);
}
.footer--slim .footer__bar {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  .header, .menu, .fab, .progress, .hero__scene, .hero__ambient, .marquee, .quotes { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { height: auto; }
  .hero__stage { position: static; height: auto; }
}

/* ======================================================================
   Shop â€” basket, checkout, orders, profile
   ====================================================================== */

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

.shop { padding-top: clamp(110px, 12vw, 160px); }

.flash--error {
  border-color: rgba(217, 122, 122, 0.5);
  background: rgba(217, 122, 122, 0.08);
  color: #e8b3a6;
}
.flash ul { margin: 6px 0 0; padding-left: 18px; }
.flash li { margin-top: 3px; }

.chip--gold {
  border-color: rgba(var(--gold-rgb), 0.55);
  background: rgba(var(--gold-rgb), 0.12);
  color: var(--gold-soft);
}

/* --- Progress: basket, order, payment --- */

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0 0 clamp(26px, 4vw, 44px);
  padding: 0;
  list-style: none;
}
.steps__item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(var(--cream-rgb), 0.4);
}
.steps__num {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: 999px;
  font-size: 10px;
}
.steps__item--current { color: var(--gold-soft); }
.steps__item--current .steps__num {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.14);
  color: var(--gold);
}
.steps__item--done { color: rgba(var(--cream-rgb), 0.62); }
.steps__item--done .steps__num {
  border-color: rgba(var(--gold-rgb), 0.5);
  color: var(--gold);
}

/* --- Buy box on product pages --- */

.buybox {
  margin: 26px 0 22px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(var(--cream-rgb), 0.03);
}
.buybox__label {
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.buybox__options { display: grid; gap: 10px; margin-bottom: 18px; }
.buyopt {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 15px;
  border: 1px solid var(--line-soft);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.buyopt:hover { border-color: rgba(var(--gold-rgb), 0.4); }
.buyopt input {
  margin-top: 3px;
  width: 15px;
  height: 15px;
  accent-color: var(--gold);
  flex: none;
}
.buyopt:has(input:checked) {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
}
.buyopt__body { display: block; flex: 1; min-width: 0; }
.buyopt__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
}
.buyopt__name {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--cream);
}
.buyopt__price {
  font-size: 16px;
  font-weight: 400;
  color: var(--gold-soft);
  white-space: nowrap;
}
.buyopt__note,
.buyopt__net {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted-2);
}
.buybox__single { margin-bottom: 16px; }
.buybox__gross {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  color: var(--gold-soft);
}
.buybox__net,
.buybox__note {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted-2);
}
.buybox .btn { width: 100%; justify-content: center; }

/* --- Basket --- */

.cart {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
@media (min-width: 900px) {
  .cart { grid-template-columns: minmax(0, 1fr) 340px; }
}

.cart__lines { display: grid; gap: 12px; }
.cartline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: center;
  padding: 17px 18px;
  border: 1px solid var(--line-soft);
  background: rgba(var(--cream-rgb), 0.025);
}
@media (min-width: 620px) {
  .cartline { grid-template-columns: minmax(0, 1fr) 84px 130px 30px; }
}
.cartline__main { min-width: 0; }
.cartline__name {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--cream);
  text-decoration: none;
}
.cartline__name:hover { color: var(--gold-soft); }
.cartline__variant {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 7px 0 0;
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted-2);
}
.cartline__note {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 300;
  color: rgba(var(--cream-rgb), 0.42);
}
.cartline__qty input {
  width: 100%;
  max-width: 74px;
  padding: 8px 9px;
  background: rgba(var(--cream-rgb), 0.05);
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
  text-align: center;
}
.cartline__qty input:focus { outline: none; border-color: var(--gold); }
.cartline__qtyfixed { font-size: 13px; color: var(--muted-2); }
.cartline__price { text-align: right; }
.cartline__gross {
  display: block;
  font-size: 16px;
  color: var(--gold-soft);
  white-space: nowrap;
}
.cartline__net {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 300;
  color: rgba(var(--cream-rgb), 0.42);
  white-space: nowrap;
}
.cartline__remove {
  width: 30px;
  height: 30px;
  background: none;
  border: 1px solid transparent;
  color: rgba(var(--cream-rgb), 0.4);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cartline__remove:hover { color: var(--gold); border-color: rgba(var(--gold-rgb), 0.35); }

/* --- Order summary panel --- */

.summary {
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(var(--cream-rgb), 0.035);
}
@media (min-width: 900px) {
  .summary { position: sticky; top: 100px; }
}
.summary__title {
  margin: 0 0 16px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.summary__line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 11px;
  margin-bottom: 11px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--muted);
}
.summary__line-name { min-width: 0; }
.summary__line-name em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 11.5px;
  color: rgba(var(--cream-rgb), 0.42);
}
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 9px;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--muted);
}
.summary__row--muted { color: rgba(var(--cream-rgb), 0.45); font-size: 12.5px; }
.summary__row--total {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 21px;
  color: var(--cream);
}
.summary__row--total span:last-child { color: var(--gold-soft); }
.summary__cta {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}
.summary__hint {
  margin: 12px 0 0;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(var(--cream-rgb), 0.42);
}
.summary__back {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
}

/* --- Checkout form --- */

.checkout {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
@media (min-width: 900px) {
  .checkout { grid-template-columns: minmax(0, 1fr) 340px; }
}

.field-group {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}
.field-group__title {
  padding: 0;
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.field-group__note {
  margin: 10px 0 0;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted-2);
}
.field > label {
  display: block;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted);
}
.field__opt {
  margin-left: 6px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(var(--cream-rgb), 0.35);
}
.field > input,
.field > select,
.field > textarea {
  width: 100%;
  padding: 13px 14px;
  background: rgba(var(--cream-rgb), 0.045);
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: 0;
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.field > textarea { resize: vertical; min-height: 84px; }
.field > input:focus,
.field > select:focus,
.field > textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.07);
}
.field > select option { background: var(--ink-2); color: var(--cream); }
.field__hint {
  margin: 7px 0 0;
  font-size: 11.5px;
  font-weight: 300;
  color: rgba(var(--cream-rgb), 0.42);
}
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 520px) {
  .field-row { grid-template-columns: 140px minmax(0, 1fr); }
}

/* --- Thank you --- */

.thanks__title { margin: 0 0 14px; }
.thanks__lede {
  margin: 0 0 clamp(26px, 3vw, 38px);
  font-size: 15.5px;
  font-weight: 300;
  color: var(--muted);
}
.thanks__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.thanks__card {
  padding: 22px;
  border: 1px solid var(--line-soft);
  background: rgba(var(--cream-rgb), 0.025);
}
.thanks__list {
  margin: 12px 0 16px;
  padding-left: 17px;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}
.thanks__list li { margin-top: 5px; }
.thanks__list a { color: var(--cream); }
.thanks__list a:hover { color: var(--gold-soft); }
.thanks__note {
  margin: 10px 0 14px;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted-2);
}
.thanks__total {
  margin: 12px 0 6px;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold-soft);
}

/* --- Members: sub-navigation --- */

.membernav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(24px, 3vw, 38px);
}
.membernav__link {
  padding: 9px 16px;
  border: 1px solid var(--line-soft);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(var(--cream-rgb), 0.55);
  text-decoration: none;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.membernav__link:hover { color: var(--gold-soft); border-color: rgba(var(--gold-rgb), 0.4); }
.membernav__link--active {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.1);
  color: var(--gold);
}

/* --- Members: order list and detail --- */

.orders { display: grid; gap: 12px; }
.order {
  display: block;
  padding: 19px 20px;
  border: 1px solid var(--line-soft);
  background: rgba(var(--cream-rgb), 0.025);
  text-decoration: none;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.order:hover { border-color: rgba(var(--gold-rgb), 0.42); background: rgba(var(--gold-rgb), 0.05); }
.order__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.order__number {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--cream);
}
.order__items {
  margin: 9px 0 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted-2);
}
.order__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 14px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.order__date {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(var(--cream-rgb), 0.45);
}
.order__total { font-size: 17px; color: var(--gold-soft); }

.orderdetail {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
@media (min-width: 900px) {
  .orderdetail { grid-template-columns: minmax(0, 1fr) 340px; }
}
.orderdetail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.orderdetail__block {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
}
.orderdetail__block .eyebrow { margin-bottom: 10px; }
.lesson__price {
  font-size: 15px;
  color: var(--gold-soft);
  white-space: nowrap;
}

/* --- Members: profile --- */

.profile {
  display: grid;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
@media (min-width: 900px) {
  .profile { grid-template-columns: minmax(0, 1fr) 320px; }
}
.profile__side {
  padding: 22px;
  border: 1px solid var(--line-soft);
  background: rgba(var(--cream-rgb), 0.025);
}
.profile__side .field-group:last-of-type { margin-bottom: 20px; }

/* --- Header basket ---------------------------------------------------------
   Framed like the buttons beside it, so it reads as an action rather than a
   nav link, and turns gold the moment it holds something. */

.header__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid rgba(var(--cream-rgb), 0.2);
  color: rgba(var(--cream-rgb), 0.75);
  font-size: 10px;
  letter-spacing: 0.22em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.header__cart svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.header__cart:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(var(--gold-rgb), 0.06);
}
.header__cart--full {
  border-color: rgba(var(--gold-rgb), 0.55);
  background: rgba(var(--gold-rgb), 0.1);
  color: var(--gold-soft);
}
.header__cart--full:hover {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.16);
}

.header__cartcount {
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

/* Below the desktop nav breakpoint the basket lives in the mobile menu. */
@media (max-width: 1080px) {
  .header__cart { display: none; }
}

.menu__cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 18px;
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  color: var(--gold-soft);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-decoration: none;
}
.menu__cart svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.menu__cart:hover {
  border-color: var(--gold);
  color: var(--gold);
}
}

/* --- CTA buttons that post into the basket ---------------------------------
   A form wrapping a button must still behave like a button inside .btn-row,
   which is a flex container. */

.cta-form {
  display: inline-flex;
  margin: 0;
}
.cta-form .btn { width: 100%; }
.cta-form:has(.btn--block) { width: 100%; }

.checkout__guest,
.thanks__account {
  margin: 0 0 clamp(20px, 3vw, 30px);
}
.thanks__account a { color: var(--gold-soft); }
.thanks__account a:hover { color: var(--gold); }

/* ======================================================================
   Administration
   ====================================================================== */

.header--admin { position: static; }
.brand__badge {
  margin-left: 10px;
  padding: 3px 8px;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  border-radius: 3px;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.adminwrap { padding: clamp(24px, 4vw, 44px) 0 clamp(60px, 8vw, 110px); }

.admincards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 16px;
}
.admincard {
  display: block;
  padding: 20px;
  border: 1px solid var(--line-soft);
  background: rgba(var(--cream-rgb), 0.025);
  text-decoration: none;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.admincard:hover { border-color: rgba(var(--gold-rgb), 0.45); background: rgba(var(--gold-rgb), 0.05); }
.admincard__value {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold-soft);
}
.admincard__label {
  display: block;
  margin-top: 5px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: rgba(var(--cream-rgb), 0.55);
}
.admincard__note {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 300;
  color: rgba(var(--cream-rgb), 0.4);
}

/* --- Filters and search --- */

.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.filterbar__link {
  padding: 7px 13px;
  border: 1px solid var(--line-soft);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: rgba(var(--cream-rgb), 0.5);
  text-decoration: none;
}
.filterbar__link:hover { color: var(--gold-soft); border-color: rgba(var(--gold-rgb), 0.4); }
.filterbar__link--active {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.1);
  color: var(--gold);
}

.searchbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.searchbar input[type="search"] {
  flex: 1 1 240px;
  padding: 11px 14px;
  background: rgba(var(--cream-rgb), 0.045);
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
}
.searchbar input[type="search"]:focus { outline: none; border-color: var(--gold); }

/* --- Row lists --- */

.adminlist { display: grid; gap: 10px; }
.adminrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px 18px;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid var(--line-soft);
  background: rgba(var(--cream-rgb), 0.025);
}
@media (min-width: 800px) {
  .adminrow { grid-template-columns: minmax(0, 1fr) auto auto; }
  .adminrow:has(.adminrow__thumb) { grid-template-columns: 130px minmax(0, 1fr) auto; }
}
.adminrow--muted { opacity: 0.55; }
.adminrow__thumb {
  width: 130px;
  height: auto;
  border: 1px solid var(--line-soft);
}
.adminrow__main { min-width: 0; }
.adminrow__title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--cream);
  text-decoration: none;
}
.adminrow__title:hover { color: var(--gold-soft); }
.adminrow__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 7px 0 0;
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted-2);
}
.adminrow__meta code {
  font-size: 11.5px;
  color: rgba(var(--cream-rgb), 0.45);
}
.adminrow__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 11.5px;
  font-weight: 300;
  color: rgba(var(--cream-rgb), 0.45);
  white-space: nowrap;
}
.adminrow__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.adminrow__actions form { margin: 0; }

.pager { margin-top: 22px; }
.pager nav { display: flex; gap: 8px; flex-wrap: wrap; }
.pager svg { width: 14px; height: 14px; }
.pager a, .pager span {
  padding: 6px 11px;
  border: 1px solid var(--line-soft);
  font-size: 12px;
  color: rgba(var(--cream-rgb), 0.6);
  text-decoration: none;
}
.pager a:hover { border-color: var(--gold); color: var(--gold); }

/* --- Two-column edit screens --- */

.admingrid {
  display: grid;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
@media (min-width: 1000px) {
  .admingrid { grid-template-columns: minmax(0, 1fr) 380px; }
}

.checkrow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 26px;
  margin-top: 18px;
}
.checkrow .check { margin-top: 0; }

.field-row--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.field select[multiple] {
  min-height: 160px;
  padding: 8px;
}

.grantform {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  background: rgba(var(--cream-rgb), 0.025);
}
.grantform .field:first-child { margin-top: 0; }
.grantform .btn { margin-top: 16px; }

/* --- Per-language fields --- */

.localefield {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.localefield__label {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.localefield__grid {
  display: grid;
  gap: 0 18px;
}
@media (min-width: 760px) {
  .localefield__grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
.localefield__missing {
  margin-left: 6px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: #d99a8c;
}

/* --- Variants --- */

.variantrow {
  display: grid;
  gap: 0 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding: 18px;
  margin-top: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(var(--cream-rgb), 0.025);
}
.variantrow--new { border-style: dashed; }
.variantrow__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.variantrow__foot .check { margin-top: 0; }
.variantrow__stripe {
  margin-left: auto;
  font-size: 11px;
  color: rgba(var(--cream-rgb), 0.35);
}
.variantrow__delete { margin: 6px 0 0; text-align: right; }

.linkbutton {
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: rgba(var(--cream-rgb), 0.45);
  text-decoration: underline;
  cursor: pointer;
}
.linkbutton:hover { color: var(--gold); }

.dangerzone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding: 20px;
  border: 1px solid rgba(217, 122, 122, 0.3);
  background: rgba(217, 122, 122, 0.05);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--muted);
}
.dangerzone p { margin: 0; flex: 1 1 100%; }
.dangerzone form { margin: 0; }

/* ======================================================================
   Questionnaire â€” a shared, continuously edited document
   ====================================================================== */

.qintro {
  max-width: 62ch;
  margin: 0 0 18px;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
}
.qnote { margin-bottom: 16px; }
.qnote--mentor {
  border-color: rgba(var(--gold-rgb), 0.45);
  background: rgba(var(--gold-rgb), 0.08);
}
.qnote--admin {
  border-color: rgba(122, 168, 217, 0.4);
  background: rgba(122, 168, 217, 0.07);
}

.qform {
  display: grid;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
  margin-top: clamp(22px, 3vw, 34px);
}
@media (min-width: 1000px) {
  .qform { grid-template-columns: 260px minmax(0, 1fr); }
}

/* --- Section rail --- */

.qnav {
  padding: 20px;
  border: 1px solid var(--line-soft);
  background: rgba(var(--cream-rgb), 0.025);
}
@media (min-width: 1000px) {
  .qnav { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
}
.qnav nav { display: grid; gap: 2px; }
.qnav__link {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(var(--cream-rgb), 0.6);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.qnav__link:hover { color: var(--gold-soft); background: rgba(var(--gold-rgb), 0.05); }
.qnav__link--active {
  border-left-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
  color: var(--gold);
}
.qnav__num {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(var(--cream-rgb), 0.35);
}
.qnav__hint {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(var(--cream-rgb), 0.42);
}

.qprogress { margin-bottom: 18px; }
.qprogress__bar {
  height: 4px;
  background: rgba(var(--cream-rgb), 0.1);
  overflow: hidden;
}
.qprogress__bar span {
  display: block;
  height: 100%;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}
.qprogress__label {
  margin: 8px 0 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* --- Sections --- */

.qsections { display: grid; gap: clamp(28px, 4vw, 48px); }
.qsection { scroll-margin-top: 24px; }
.qsection__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.qsection__num {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.qsection__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(23px, 3.2vw, 30px);
  font-weight: 400;
  color: var(--cream);
}
.qsection__desc {
  max-width: 62ch;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted-2);
}

/* --- Question block --- */

.qblock {
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line-soft);
}
.qblock:last-child { border-bottom: 0; }
.qblock__label {
  display: block;
  max-width: 64ch;
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--cream);
}
.qblock__help {
  max-width: 64ch;
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted-2);
}
.qblock__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 8px 0 0;
  min-height: 15px;
  font-size: 11px;
  font-weight: 300;
}
.qblock__author { color: rgba(var(--cream-rgb), 0.35); }

.qstate { color: rgba(var(--cream-rgb), 0.4); }
.qstate--busy { color: var(--gold-soft); }
.qstate--ok { color: #86b98a; }
.qstate--error { color: #d99a8c; }

.qblock--static {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(var(--cream-rgb), 0.025);
}

/* --- Inputs --- */

.qinput {
  width: 100%;
  padding: 12px 14px;
  background: rgba(var(--cream-rgb), 0.045);
  border: 1px solid rgba(var(--gold-rgb), 0.22);
  border-radius: 0;
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.qinput:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.07);
}
.qinput:disabled { opacity: 0.6; cursor: not-allowed; }
textarea.qinput { resize: vertical; min-height: 72px; }
.qinput--date { max-width: 220px; }

.qsub {
  display: block;
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(var(--cream-rgb), 0.5);
}
.qfield { margin-top: 12px; }
.qfield:first-child { margin-top: 0; }

/* --- Static links --- */

.qlinks {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 12px;
}
.qlink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--line-soft);
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.qlink:hover { border-color: rgba(var(--gold-rgb), 0.45); color: var(--gold-soft); }
.qlink__source {
  flex: none;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.qlink span:last-child { margin-left: auto; color: var(--gold); }

/* --- Scale 1â€“10 --- */

.qscale {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.qscale__step,
.qscale__clear {
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  background: rgba(var(--cream-rgb), 0.045);
  border: 1px solid rgba(var(--gold-rgb), 0.22);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.qscale__step:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-soft); }
.qscale__step--on {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
}
.qscale__clear { min-width: 34px; color: rgba(var(--cream-rgb), 0.35); }
.qscale__clear:hover:not(:disabled) { color: #d99a8c; border-color: rgba(217, 122, 122, 0.5); }
.qscale button:disabled { opacity: 0.5; cursor: not-allowed; }

/* --- Ranking --- */

.qrank {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.qrank__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  background: rgba(var(--cream-rgb), 0.025);
}
.qrank__pos {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(var(--gold-rgb), 0.14);
  color: var(--gold);
  font-size: 11px;
}
.qrank__label {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--cream);
}
.qrank__moves { display: flex; gap: 4px; flex: none; }
.qrank__moves button {
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid var(--line-soft);
  color: rgba(var(--cream-rgb), 0.5);
  font-size: 11px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.qrank__moves button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.qrank__moves button:disabled { opacity: 0.4; cursor: not-allowed; }

/* --- Grid: fixed rows Ă— defined columns --- */

.qgrid { display: grid; gap: 10px; margin-top: 4px; }
.qgrid__row {
  padding: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(var(--cream-rgb), 0.02);
}
.qgrid__rowlabel {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
/* Stacks on a phone, sits side by side once there is room â€” never a table
   the reader has to scroll sideways. */
.qgrid__fields { display: grid; gap: 12px; }
@media (min-width: 700px) {
  .qgrid__fields { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .qgrid__fields .qfield--narrow { max-width: 130px; }
  .qgrid__fields .qfield { margin-top: 0; }
}

/* --- Repeater --- */

.qrepeater { margin-top: 4px; }
.qrow {
  padding: 16px;
  margin-bottom: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(var(--cream-rgb), 0.025);
}
.qrow__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.qrow__num {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.qrow__remove {
  width: 28px;
  height: 28px;
  background: none;
  border: 1px solid transparent;
  color: rgba(var(--cream-rgb), 0.35);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.qrow__remove:hover:not(:disabled) { color: #d99a8c; border-color: rgba(217, 122, 122, 0.4); }

/* --- Admin: assignment list --- */

.qassign {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  background: rgba(var(--cream-rgb), 0.025);
}
@media (min-width: 760px) {
  .qassign { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: end; }
}
.qassign .field { margin-top: 0; }

/* Below 700px the form is the whole screen, so it gets thumb-sized controls
   and 16px inputs — anything smaller makes iOS zoom in on focus and the
   reader then has to pinch back out after every field. */
@media (max-width: 700px) {
  .qinput { font-size: 16px; padding: 13px 14px; }
  .qrank__moves button { width: 44px; height: 44px; }
  .qrank__item { gap: 10px; padding: 10px; }
  .qscale__step, .qscale__clear { min-width: 44px; height: 44px; }
  .qrow__remove { width: 36px; height: 36px; }
  .qnav { padding: 16px; }
  /* A grid item defaults to min-width:auto, so without this the strip widens
     the whole page instead of scrolling inside itself. */
  .qnav { min-width: 0; }
  .qnav nav {
    /* The rail becomes a horizontal strip so it does not push the first
       question below the fold. */
    min-width: 0;
    max-width: 100%;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .qnav nav::-webkit-scrollbar { display: none; }
  .qnav__link {
    flex: none;
    border-left: 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }
  .qnav__link--active { border-left: 0; border-bottom-color: var(--gold); }
  .qnav__hint { display: none; }
}

/* ==========================================================================
   16. Rezervácie — typy stretnutí, kalendár, správa termínu
   ========================================================================== */

.lede--narrow { max-width: 62ch; }

.btn--full { width: 100%; justify-content: center; }

/* --- Zoznam typov stretnutí ------------------------------------------- */

.mtypes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.mtype {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.5s var(--ease);
}
.mtype:hover { border-color: rgba(var(--gold-rgb), 0.45); transform: translateY(-2px); }
.mtype__stripe {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
}
.mtype__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 25px);
  font-weight: 400;
  line-height: 1.2;
}
.mtype__meta { display: flex; flex-wrap: wrap; gap: 7px; }
.mtype__lede {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.mtype__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}
.mtype__note {
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* --- Stránka rezervácie ------------------------------------------------ */

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 452px);
  gap: 44px;
  align-items: start;
  margin-top: 30px;
}
.booking__intro { position: sticky; top: 100px; }
.booking__back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.booking__back:hover { color: var(--gold); }
.booking__title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 400;
  line-height: 1.14;
}
.booking__facts {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.booking__facts li {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.booking__facts svg {
  width: 20px;
  height: 20px;
  margin-top: -1px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.booking__text {
  max-width: 62ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.bookpanel {
  max-width: 452px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 26px;
  transition: opacity 0.25s ease;
}
.bookpanel.is-loading { opacity: 0.45; pointer-events: none; }

.bookpanel__locked { display: grid; gap: 14px; justify-items: start; }
.bookpanel__lockedtext {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.bookpanel__price {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--gold);
}
.bookpanel__hint {
  margin: 0;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.6;
}

/* --- Kalendár ---------------------------------------------------------- */

.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.cal__month {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.02em;
}
.cal__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 20px;
  line-height: 1;
}
.cal__nav:hover { border-color: var(--gold); color: var(--gold); }
.cal__nav--off { opacity: 0.22; }

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.cal__dow {
  padding-bottom: 8px;
  text-align: center;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cal__day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  min-height: 44px;
  border: 1px solid transparent;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.cal__day--off { color: rgba(var(--cream-rgb), 0.24); }
.cal__day--dim { opacity: 0.4; }
.cal__day--today { border-color: var(--line-soft); }
.cal__day--free {
  border-color: rgba(var(--gold-rgb), 0.3);
  background: rgba(var(--gold-rgb), 0.06);
  color: var(--cream);
  cursor: pointer;
}
.cal__day--free:hover { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.14); }
.cal__day--on {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 500;
}
.cal__dot {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.cal__day--on .cal__dot { background: var(--ink); }

.cal__zone {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* --- Voľné časy -------------------------------------------------------- */

.slots {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.slots__head {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 19px;
}
.slots__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
}
.slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  color: var(--cream);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.slot:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.slots__empty { margin: 0; color: var(--muted-2); font-size: 14px; }

/* --- Formulár rezervácie ----------------------------------------------- */

.bookform__when {
  padding-bottom: 18px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line-soft);
}
.bookform__day {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.bookform__time {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  color: var(--gold);
}
.bookform__zone { margin: 2px 0 0; color: var(--muted-2); font-size: 12px; }
.bookform__change {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.bookform__moving {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.bookform__fields .btn { margin-top: 22px; }

/* --- Detail rezervovaného stretnutia ----------------------------------- */

.bookcard {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 28px;
  margin-bottom: 22px;
}
.bookcard--off { opacity: 0.62; }
.bookcard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.bookcard__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 400;
}
.bookcard__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 0;
}
.bookcard__facts dt {
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.bookcard__facts dd {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.5;
}
.bookcard__note,
.bookcard__pending {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.bookcard__pending { color: var(--gold-soft); }

.bookactions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}
.bookcancel { flex: 1 1 240px; }
.bookcancel > summary {
  cursor: pointer;
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.1em;
  list-style: none;
}
.bookcancel > summary::-webkit-details-marker { display: none; }
.bookcancel > summary::before { content: '+ '; color: var(--gold); }
.bookcancel[open] > summary::before { content: '– '; }
.bookcancel > summary:hover { color: var(--cream); }
.bookcancel form { margin-top: 10px; }
.bookcancel .btn { margin-top: 12px; }

/* --- Admin: týždenný rozvrh a výnimky ---------------------------------- */

.week {
  display: grid;
  /* A week reads as a week: seven columns while they fit, and only then
     does it wrap. auto-fit alone would silently drop Sunday onto its own row. */
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
@media (max-width: 1240px) {
  .week { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
}
.week__day {
  padding: 16px;
  border: 1px solid var(--line-soft);
  background: var(--ink-2);
}
.week__day--off { opacity: 0.62; }
.week__name {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.week__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
}
.week__row input {
  width: 100%;
  min-width: 0;
  padding: 9px 8px;
  border: 1px solid var(--line-soft);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
}
.week__row input:focus { outline: none; border-color: var(--gold); }
.week__row span { color: var(--muted-2); font-size: 12px; }

.overrideform {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  align-items: end;
  gap: 14px;
  margin-bottom: 22px;
}
.overrideform .field { margin-top: 0; }
.overrideform .btn { height: fit-content; }

.adminrow__note {
  margin: 8px 0 0;
  color: var(--muted-2);
  font-size: 13px;
  font-style: italic;
  line-height: 1.6;
}
.order--muted { opacity: 0.62; }

/* --- Mobil ------------------------------------------------------------- */

@media (max-width: 900px) {
  .booking { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .booking__intro { position: static; }
}

@media (max-width: 640px) {
  .bookpanel { padding: 18px 14px; }
  .bookcard { padding: 20px 16px; }
  .cal__grid { gap: 4px; }
  .cal__day { min-height: 40px; font-size: 13px; }
  .cal__dow { font-size: 9px; letter-spacing: 0.1em; }
  .slots__list { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }

  /* 16px keeps iOS from zooming the page when a field takes focus. */
  .week__row input,
  .bookpanel input,
  .bookpanel select,
  .bookpanel textarea { font-size: 16px; }

  .bookactions { flex-direction: column; align-items: stretch; }
  .bookactions .btn { width: 100%; justify-content: center; }
}
