/* ==========================================================================
   Lash Society — design system
   ========================================================================== */

:root {
  --ivory: #F7F2EC;
  --paper: #FCFAF7;
  --sand: #EEE5DA;
  --sand-2: #E3D6C7;
  --taupe: #C7B29F;
  --rose: #A9776A;
  --rose-soft: #E9D5CB;
  --gold: #B0946A;
  --ink: #1B1614;
  --ink-2: #3E3531;
  --muted: #84776E;
  --line: rgba(27, 22, 20, .12);
  --line-strong: rgba(27, 22, 20, .24);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;
  --arch: 999px 999px 0 0;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--rose-soft); color: var(--ink); }
:focus-visible { outline: 1.5px solid var(--rose); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 16px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500;
  color: var(--muted);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--center::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }

.display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -.01em; margin: 0; }
.display { font-size: clamp(44px, 6.2vw, 100px); line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
.h1 { font-size: clamp(42px, 6vw, 88px); line-height: 1; letter-spacing: -.02em; }
.h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.05; }
.h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; font-weight: 400; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; color: var(--rose); }
.lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; color: var(--ink-2); max-width: 54ch; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.price { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: 0; }
.price--lg { font-size: 34px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--ivory);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 30px;
  background: var(--bg); color: var(--fg);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--bg); border-radius: 999px;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--rose); border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--rose); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn .arrow { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--ivory); }
.btn--light { --bg: var(--ivory); --fg: var(--ink); }
.btn--light:hover { color: var(--ivory); }
.btn--line-light { --bg: transparent; --fg: var(--ivory); border-color: rgba(247, 242, 236, .35); }
.btn--block { width: 100%; }
.btn--sm { height: 44px; padding: 0 22px; font-size: 11px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  padding-bottom: 6px;
}
.link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .6s var(--ease-out);
}
.link:hover::after { transform: scaleX(0); }
.link .arrow { width: 14px; height: 14px; }

.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .3s; }
.icon-btn:hover { background: rgba(27, 22, 20, .06); }
svg { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Media + placeholders ---------- */
.media {
  position: relative; overflow: hidden; margin: 0;
  background:
    radial-gradient(120% 80% at 30% 20%, rgba(255, 255, 255, .55), transparent 60%),
    linear-gradient(160deg, var(--sand) 0%, var(--sand-2) 55%, var(--taupe) 140%);
}
.media::after {
  content: attr(data-label);
  position: absolute; inset: auto 0 18px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 15px; color: rgba(27, 22, 20, .38);
  pointer-events: none;
}
.media:has(img)::after { content: none; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), opacity .8s var(--ease); }
.media--arch { border-radius: var(--arch); }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-23 { aspect-ratio: 2 / 3; }
.ratio-11 { aspect-ratio: 1; }
.ratio-169 { aspect-ratio: 16 / 9; }

/* ---------- Announcement ---------- */
.announce { background: var(--ink); color: var(--ivory); height: 36px; overflow: hidden; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.announce__track { display: flex; width: max-content; height: 100%; align-items: center; animation: marquee 48s linear infinite; }
.announce__track span { padding: 0 32px; display: inline-flex; align-items: center; gap: 32px; }
.announce__track span::after { content: '✦'; font-size: 8px; color: var(--taupe); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: rgba(247, 242, 236, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: height .4s var(--ease), border-color .4s, background .4s;
}
.header.is-scrolled { --header-h: 68px; border-color: var(--line); background: rgba(247, 242, 236, .92); }
.header__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; justify-content: center; grid-column: 2; }
.logo img { height: 34px; width: auto; }
.logo img + .logo__word { display: none; }
.logo__word {
  font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase;
  padding-left: .32em; line-height: 1; white-space: nowrap;
}
.nav { display: flex; gap: 34px; align-items: center; }
.nav--left { grid-column: 1; grid-row: 1; }
.nav__item { position: relative; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; height: var(--header-h);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  transition: color .3s;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: calc(50% - 14px); height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__drop {
  position: absolute; top: 100%; left: -28px; min-width: 300px;
  padding: 22px 28px 26px; background: var(--paper);
  border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(27, 22, 20, .25);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility .35s;
}
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; font-size: 14px; border-bottom: 1px solid var(--line); transition: color .3s, padding .4s var(--ease-out); }
.nav__drop a:last-child { border-bottom: 0; }
.nav__drop a:hover { color: var(--rose); padding-left: 6px; }
.nav__drop a small { color: var(--muted); font-size: 12px; }
.nav__drop .nav__drop-all { margin-top: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.header__tools { grid-column: 3; display: flex; justify-content: flex-end; align-items: center; gap: 26px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .18em; color: var(--muted); }
.lang button { padding: 6px 2px; letter-spacing: .18em; transition: color .3s; }
.lang button.is-active { color: var(--ink); font-weight: 600; }
.cart-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn__count {
  position: absolute; top: 2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--rose); color: #fff; font-size: 10px; font-weight: 600;
  display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease-out);
}
.cart-btn__count.has-items { transform: scale(1); }
.cart-btn.bump { animation: bump .6s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.18) rotate(-6deg); } 60% { transform: scale(.95); } }

.burger { display: none; width: 40px; height: 40px; position: relative; grid-column: 1; grid-row: 1; justify-self: start; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1px; background: var(--ink); transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--nav-top, calc(var(--header-h) + 36px)) 0 0 0; z-index: 35;
  background: var(--ivory); padding: 28px var(--gutter) 40px; overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a.m-link {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--serif); font-size: 38px; font-weight: 300; line-height: 1.2;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease-out) forwards;
}
.mobile-nav a.m-link small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.mobile-nav__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 18px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 6.5vw, 100px) 0; position: relative; }
.section--tight { padding: clamp(44px, 5vw, 72px) 0; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--ivory); }
.section--ink .eyebrow, .section--ink .muted { color: rgba(247, 242, 236, .6); }
.section--ink .lead { color: rgba(247, 242, 236, .78); }
.section--ink .display em, .section--ink .h2 em, .section--ink .h1 em { color: var(--taupe); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(28px, 3.4vw, 48px); flex-wrap: wrap; }
.section-head__text { display: grid; gap: 20px; max-width: 760px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-head__text { justify-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(24px, 3.5vw, 48px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero__copy { display: grid; gap: 28px; padding-bottom: clamp(0px, 2vw, 24px); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual { position: relative; }
.hero__visual .media { aspect-ratio: 1 / 1; max-height: calc(100vh - 190px); width: 100%; border-radius: 50% 50% 0 0 / 34% 34% 0 0; }
.hero__visual .media img { object-position: 50% 30%; }
.hero__visual .media img { animation: heroZoom 2.4s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__badge {
  position: absolute; left: clamp(-56px, -4vw, -24px); bottom: 12%;
  width: 148px; height: 148px; border-radius: 50%;
  background: var(--paper); display: grid; place-items: center; text-align: center;
  box-shadow: 0 30px 60px -30px rgba(27, 22, 20, .35);
}
.hero__badge svg.ring { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 26s linear infinite; }
.hero__badge svg.ring text { fill: var(--ink-2); stroke: none; font-family: var(--sans); font-size: 9.6px; letter-spacing: 3.2px; text-transform: uppercase; }
.hero__badge strong { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; }
.hero__meta { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero__meta div { display: grid; gap: 2px; align-content: start; max-width: 190px; }
.hero__meta strong { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1; }
.hero__meta span { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.hero__ornament { position: absolute; right: -6vw; top: -8vw; width: 46vw; max-width: 720px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--rose-soft), transparent 68%); opacity: .55; z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* split title reveal */
.reveal-line { display: block; overflow: hidden; padding-bottom: .06em; }
.reveal-line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.2s var(--ease-out) forwards; }
@keyframes lineUp { to { transform: none; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 16px 0; background: var(--ivory); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 36px); font-weight: 300; padding: 0 30px; display: inline-flex; align-items: center; gap: 60px; white-space: nowrap; }
.marquee__track span:nth-child(even) { font-style: italic; color: var(--rose); }
.marquee__track span::after { content: '✦'; font-size: 14px; color: var(--taupe); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Studio intro ---------- */
.studio { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.studio--compact .studio__images { padding-bottom: 0; }
.studio--compact .studio__images .media:first-child { width: 100%; aspect-ratio: 5 / 4; }
.studio--compact .studio__copy { gap: 20px; }
.studio__images { position: relative; padding-bottom: 18%; }
.studio__images .media:first-child { width: 78%; aspect-ratio: 3 / 4; }
.studio__images .media:last-child { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 5; border: 10px solid var(--ivory); }
.studio__copy { display: grid; gap: 28px; }
.studio__copy p { margin: 0; color: var(--ink-2); max-width: 58ch; }
.studio__copy p:first-of-type { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.35; color: var(--ink); font-weight: 300; }
.signature { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--rose); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.service {
  position: relative; padding: 28px 26px 30px; border-right: 1px solid var(--line); min-height: 250px;
  display: flex; flex-direction: column; gap: 16px; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.service:last-child { border-right: 0; }
.service::before { content: ''; position: absolute; inset: 0; background: var(--ink); z-index: -1; transform: translateY(101%); transition: transform .7s var(--ease-out); }
.service:hover { color: var(--ivory); }
.service:hover::before { transform: none; }
.service__num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--rose); }
.service__title { font-family: var(--serif); font-size: 30px; font-weight: 300; line-height: 1.1; margin: auto 0 0; }
.service__text { margin: 0; font-size: 14px; color: var(--muted); transition: color .5s; }
.service__from { font-family: var(--serif); font-size: 20px; color: var(--rose); transition: color .5s; }
.service:hover .service__from { color: var(--taupe); }
.service:hover .service__text { color: rgba(247, 242, 236, .7); }
.service .link { margin-top: 10px; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease-out); }
.service:hover .link { opacity: 1; transform: none; }

/* ---------- Course cards (dark) ---------- */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.course-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); transition: border-color .5s, transform .7s var(--ease-out); }
.course-card:hover { border-color: var(--line-strong); transform: translateY(-6px); }
.course-card .media { aspect-ratio: 16 / 10; }
.course-card:hover .media img { transform: scale(1.06); }
.course-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.course-card__tag { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); }
.course-card__title { font-family: var(--serif); font-size: 28px; font-weight: 300; line-height: 1.08; margin: 0; }
.course-card__text { margin: 0; font-size: 14px; color: var(--muted); }
.course-card__foot { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); }
.course-card__foot .price small { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.section--ink .course-card { background: rgba(247, 242, 236, .04); border-color: rgba(247, 242, 236, .12); }
.section--ink .course-card:hover { border-color: rgba(247, 242, 236, .35); }
.section--ink .course-card__tag { color: var(--taupe); }
.section--ink .course-card__text { color: rgba(247, 242, 236, .66); }
.section--ink .course-card__foot { border-color: rgba(247, 242, 236, .12); }
.section--ink .course-card__foot .price small { color: rgba(247, 242, 236, .5); }
.section--ink .course-card .media { background: linear-gradient(160deg, #2A2320, #3A302B 60%, #4A3D36); }
.section--ink .course-card .media::after { color: rgba(247, 242, 236, .3); }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid rgba(247, 242, 236, .14); }
.perks div { padding: 28px 24px 0 0; display: grid; gap: 8px; }
.perks strong { font-family: var(--serif); font-size: clamp(40px, 4vw, 60px); font-weight: 300; line-height: 1; }
.perks span { font-size: 13px; color: rgba(247, 242, 236, .6); max-width: 22ch; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.founder.founder--compact { grid-template-columns: 4fr 8fr; align-items: center; }
.founder.founder--compact .founder__photo { position: static; }
.founder--compact .founder__photo .media { aspect-ratio: 4 / 5; }
.founder--compact .founder__copy { gap: 20px; }
.founder--compact .founder__quote { font-size: clamp(26px, 2.4vw, 36px); }
.timeline.timeline--row { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); margin-top: 4px; }
.timeline.timeline--row li { grid-template-columns: 1fr; gap: 6px; padding: 18px 16px 0 0; border-bottom: 0; }
.timeline.timeline--row strong { font-size: 24px; }
.timeline.timeline--row p { font-size: 13px; line-height: 1.5; }
.founder__photo { position: sticky; top: calc(var(--header-h) + 32px); }
.founder__photo .media { aspect-ratio: 4 / 5.2; }
.founder__copy { display: grid; gap: 30px; }
.founder__quote { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.15; font-weight: 300; font-style: italic; margin: 0; }
.founder__quote::before { content: '“'; display: block; font-size: 1.8em; line-height: .6; color: var(--rose); font-style: normal; }
.timeline { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline strong { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1; color: var(--rose); }
.timeline p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px) clamp(16px, 2vw, 28px); }
.products--3 { grid-template-columns: repeat(3, 1fr); }
.p-card { position: relative; display: flex; flex-direction: column; gap: 16px; }
.p-card__media { position: relative; aspect-ratio: 4 / 5; }
.p-card__media img + img { position: absolute; inset: 0; opacity: 0; }
.p-card:hover .p-card__media img:first-child { transform: scale(1.04); }
.p-card:hover .p-card__media img + img { opacity: 1; }
.p-card__tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--paper); padding: 6px 12px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; border-radius: 999px; }
.p-card__quick {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  height: 48px; border-radius: 999px; background: var(--paper); color: var(--ink);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .55s var(--ease-out), background .3s, color .3s;
}
.p-card__quick:hover { background: var(--ink); color: var(--ivory); }
.p-card:hover .p-card__quick, .p-card:focus-within .p-card__quick { opacity: 1; transform: none; }
.p-card__info { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.p-card__title { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.2; margin: 0; }
.p-card__sub { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.p-card .price { white-space: nowrap; font-size: 20px; }
.p-card .price small { font-family: var(--sans); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.p-card__link { position: absolute; inset: 0; z-index: 1; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.member { display: grid; gap: 14px; text-align: left; width: 100%; align-content: start; }
.member__open { display: block; width: 100%; cursor: pointer; }
.member__name button { font: inherit; text-align: left; }
.member__name button:hover { color: var(--rose); }
.member__book { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.member__book span { letter-spacing: .04em; text-transform: none; color: var(--muted); font-weight: 400; transition: color .3s; }
.member__book:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.member__book:hover span { color: rgba(247, 242, 236, .7); }
.member .media { width: 100%; }
.member .media { aspect-ratio: 4 / 5; }
.member .media--arch { aspect-ratio: 3 / 4.2; }
.member:hover .media img { transform: scale(1.05); }
.member__name { font-family: var(--serif); font-size: 23px; font-weight: 400; margin: 0; line-height: 1.1; }
.member__role { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 4px 0 0; }

/* ---------- Portfolio ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 40px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.gallery { columns: 4 240px; column-gap: 16px; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: clamp(28px, 3vw, 44px); }
.strip .gallery__item { margin: 0; }
.strip .media { aspect-ratio: 1 !important; }
.team-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(28px, 3vw, 44px); margin-bottom: 0; }
.gallery__item { break-inside: avoid; margin-bottom: 16px; cursor: zoom-in; display: block; width: 100%; }
.gallery__item .media { aspect-ratio: var(--r, 4/5); }
.gallery__item:hover .media img { transform: scale(1.04); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-split .faq { max-width: none; margin: 0; }
.faq-split .section-head { margin: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0; font-family: var(--serif); font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: 0 0 18px; height: 18px; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .4s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band__inner { display: grid; justify-items: center; gap: 20px; position: relative; z-index: 1; }
.cta-band .display { max-width: 16ch; font-size: clamp(38px, 4.6vw, 72px); }
.cta-band::before, .cta-band::after { content: ''; position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(247, 242, 236, .1); }
.cta-band::before { left: -180px; top: -160px; }
.cta-band::after { right: -200px; bottom: -220px; width: 640px; }

/* ---------- Page header ---------- */
.page-hero { padding: clamp(48px, 7vw, 110px) 0 clamp(36px, 5vw, 64px); }
.page-hero__inner { display: grid; gap: 22px; }
.crumbs { display: flex; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; margin-bottom: 40px; border-block: 1px solid var(--line); flex-wrap: wrap; position: sticky; top: var(--header-h); z-index: 5; background: var(--ivory); transition: top .4s var(--ease); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-top: 24px; }
.pdp__gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__thumbs { display: grid; gap: 12px; align-content: start; }
.pdp__thumbs button { aspect-ratio: 4 / 5; opacity: .55; transition: opacity .3s; border: 1px solid transparent; }
.pdp__thumbs button.is-active { opacity: 1; border-color: var(--ink); }
.pdp__thumbs .media { width: 100%; height: 100%; }
.pdp__main { aspect-ratio: 4 / 5; }
.pdp__gallery--single { grid-template-columns: 1fr; }
.pdp__info { display: grid; gap: 26px; }
.pdp__head { display: grid; gap: 14px; }
.pdp__tag { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); }
.pdp__facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pdp__facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.pdp__facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.pdp__facts div:nth-child(even) { padding-left: 16px; }
.pdp__facts dt { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pdp__facts dd { margin: 0; font-size: 14px; }
.variants { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.variants legend { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.variant { position: relative; display: grid; grid-template-columns: 20px 1fr auto; gap: 14px; align-items: start; padding: 18px 20px; border: 1px solid var(--line-strong); cursor: pointer; transition: border-color .3s, background .3s; }
.variant:hover { border-color: var(--ink); }
.variant input { appearance: none; width: 18px; height: 18px; border: 1px solid var(--ink); border-radius: 50%; margin: 3px 0 0; display: grid; place-items: center; }
.variant input::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .3s var(--ease-out); }
.variant input:checked::after { transform: scale(1); }
.variant:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.variant__label { font-weight: 500; font-size: 15px; }
.variant__note { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.variant .price { font-size: 22px; }
.variant__best { position: absolute; top: -10px; right: 16px; background: var(--rose); color: #fff; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.qty { display: inline-flex; align-items: center; height: 54px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 6px; }
.qty button { width: 40px; height: 40px; border-radius: 50%; font-size: 18px; transition: background .3s; }
.qty button:hover { background: rgba(27, 22, 20, .06); }
.qty input { width: 34px; text-align: center; border: 0; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm { height: 36px; padding: 0 2px; }
.qty--sm button { width: 30px; height: 30px; font-size: 15px; }
.qty--sm input { width: 26px; font-size: 13px; }
/* course booking: calendar → dates → contact → deposit */
.booking { display: grid; gap: 18px; padding: 24px; background: var(--paper); border: 1px solid var(--line-strong); scroll-margin-top: calc(var(--header-h) + 24px); }
.booking__title { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 0; }
.booking__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.booking__form { display: grid; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.booking__form[hidden] { display: none; }
.booking__sum { display: grid; gap: 8px; padding: 16px 18px; background: var(--ivory); font-size: 14px; }
.booking__sum div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.booking__sum strong { font-weight: 600; text-align: right; }
.booking__sum .price { font-size: 24px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__head strong { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.cal__nav { width: 36px; height: 36px; border: 1px solid var(--line-strong); background: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); transition: border-color .3s; }
.cal__nav:hover:not(:disabled) { border-color: var(--ink); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__wd { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 4px 0 6px; }
.cal__day { display: grid; place-items: center; aspect-ratio: 1; max-height: 46px; width: 100%; font-size: 14px; color: var(--taupe); border: 1px solid transparent; background: none; padding: 0; }
.cal__day.is-avail { color: var(--ink); font-weight: 600; border-color: var(--ink); cursor: pointer; transition: background .25s, color .25s; }
.cal__day.is-avail:hover, .cal__day.is-sel { background: var(--ink); color: var(--ivory); }
.cal__day.is-full { color: var(--muted); border-color: var(--line-strong); text-decoration: line-through; cursor: default; font-weight: 400; }
.slots { display: grid; gap: 8px; }
.slot { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border: 1px solid var(--line-strong); background: none; text-align: left; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; transition: border-color .3s, background .3s; }
.slot strong { font-weight: 600; }
.slot span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.slot:hover:not(:disabled), .slot.is-sel { border-color: var(--ink); background: var(--ivory); }
.slot.is-sel { box-shadow: inset 3px 0 0 var(--ink); }
.slot:disabled { opacity: .45; cursor: default; }
.course-card__date { display: flex; gap: 8px; align-items: center; font-size: 12px; letter-spacing: .04em; color: var(--rose); margin: 12px 0 0; }
.course-card__date svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 400px) {
  .booking { padding: 18px 14px; }
  .slot { flex-direction: column; align-items: flex-start; gap: 2px; }
}
.note-line { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--ink-2); }
.note-line svg { width: 18px; height: 18px; flex: none; color: var(--rose); }
.pdp-blocks { border-top: 1px solid var(--line); }
.pdp-blocks details { border-bottom: 1px solid var(--line); }
.pdp-blocks summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.pdp-blocks summary::-webkit-details-marker { display: none; }
.pdp-blocks summary::after { content: '+'; font-size: 20px; font-weight: 300; transition: transform .4s var(--ease-out); }
.pdp-blocks details[open] summary::after { transform: rotate(45deg); }
.pdp-blocks .content { padding: 0 0 26px; color: var(--ink-2); font-size: 15px; }
.pdp-blocks p { margin: 0; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--rose); }

/* course long-form */
.course-body { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.course-body__nav { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 4px; }
.course-body__nav a { font-size: 13px; color: var(--muted); padding: 6px 0 6px 16px; border-left: 1px solid var(--line); transition: color .3s, border-color .3s; }
.course-body__nav a:hover { color: var(--ink); border-color: var(--ink); }
.c-block { padding: 0 0 56px; margin: 0 0 56px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.c-block:last-child { border-bottom: 0; margin-bottom: 0; }
.c-block h2 { margin-bottom: 26px; }
.c-block p { margin: 0; font-size: 17px; color: var(--ink-2); max-width: 62ch; }
.c-block .ticks { grid-template-columns: 1fr 1fr; gap: 12px 32px; font-size: 15px; }
.days { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.day { padding: 30px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 12px; }
.day h3 { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.day p { font-size: 15px !important; }
.modules { list-style: none; margin: 0; padding: 0; counter-reset: m; border-top: 1px solid var(--line); }
.modules li { counter-increment: m; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.modules li::before { content: counter(m, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--rose); }
.modules strong { display: block; font-weight: 500; }
.modules span { font-size: 14px; color: var(--muted); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; height: 54px; padding: 0 18px; background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s;
}
.textarea { height: auto; min-height: 130px; padding: 16px 18px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(169, 119, 106, .15); }
.input.is-invalid { border-color: #B2453A; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.choice { display: grid; gap: 10px; }
.choice label { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-strong); cursor: pointer; font-size: 15px; transition: border-color .3s, background .3s; }
.choice label:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.choice label span { display: inline-flex; align-items: center; gap: 14px; }
.choice input { appearance: none; width: 18px; height: 18px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; margin: 0; flex: none; }
.choice input::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .3s; }
.choice input:checked::after { transform: scale(1); }
.choice label.is-soon { cursor: default; color: var(--muted); border-style: dashed; }
.choice label.is-soon input { border-color: var(--taupe); }
.soon { flex: none; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 4px 8px; background: var(--rose-soft); color: var(--rose); white-space: nowrap; }
.choice__text { font-style: normal; display: grid; gap: 3px; }
.choice__text small { font-size: 12.5px; color: var(--muted, #8a8079); letter-spacing: .01em; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { appearance: none; flex: none; width: 18px; height: 18px; border: 1px solid var(--ink); margin: 2px 0 0; display: grid; place-items: center; }
.check input:checked { background: var(--ink); }
.check input:checked::after { content: ''; width: 9px; height: 5px; border: 1.5px solid var(--ivory); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form-error { color: #B2453A; font-size: 14px; margin: 0; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.checkout__step { display: grid; gap: 22px; padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.checkout__step h2 { font-family: var(--serif); font-weight: 300; font-size: 34px; margin: 0; display: flex; align-items: baseline; gap: 14px; }
.checkout__step h2 small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper); border: 1px solid var(--line); padding: 32px; display: grid; gap: 22px; }
.summary h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0; }
.summary__rows { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.summary__rows div { display: flex; justify-content: space-between; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; border-top: 1px solid var(--line); }
.summary__total span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }

/* line items (cart + summary) */
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line .media { aspect-ratio: 4 / 5; }
.line__title { font-family: var(--serif); font-size: 19px; line-height: 1.2; margin: 0; }
.line__variant { font-size: 12px; color: var(--muted); margin: 2px 0 10px; }
.line__side { display: grid; justify-items: end; gap: 10px; }
.line__remove { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.line__remove:hover { color: var(--ink); }
.line__qtybadge { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--ivory); font-size: 10px; display: grid; place-items: center; }
.summary .line { grid-template-columns: 60px 1fr auto; padding: 12px 0; }
.summary .line .media { overflow: visible; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(27, 22, 20, .4); opacity: 0; transition: opacity .5s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  background: var(--ivory); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .7s var(--ease-out);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 28px; }
.drawer__foot { padding: 24px 28px 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; background: var(--paper); }
.drawer__foot:empty { display: none; }
.drawer__row { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__row span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.empty { padding: 72px 0; text-align: center; display: grid; gap: 14px; justify-items: center; }
.empty svg { width: 44px; height: 44px; color: var(--taupe); }
.empty .h3 { font-size: 28px; }

/* ---------- Modal (team member / lightbox) ---------- */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; pointer-events: none; padding: 24px; }
.modal__scrim { position: absolute; inset: 0; background: rgba(27, 22, 20, .55); opacity: 0; transition: opacity .5s; }
.modal__panel {
  position: relative; width: min(1080px, 100%); max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--ivory); opacity: 0; transform: translateY(24px) scale(.98);
  transition: opacity .5s var(--ease), transform .7s var(--ease-out);
}
.modal.is-open { pointer-events: auto; }
.modal.is-open .modal__scrim { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--ivory); }
.modal--lightbox .modal__panel { width: auto; max-width: min(900px, 100%); background: transparent; overflow: visible; }
.modal--lightbox .media { max-height: calc(100vh - 80px); aspect-ratio: auto; background: none; }
.modal--lightbox .media img { max-height: calc(100vh - 80px); width: auto; object-fit: contain; }
.bio { display: grid; grid-template-columns: 5fr 7fr; }
.bio .media { height: 100%; min-height: 420px; }
.bio__copy { padding: clamp(28px, 4vw, 56px); display: grid; gap: 20px; align-content: start; }
.bio__copy p { margin: 0; color: var(--ink-2); }
.bio__quote { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.35; color: var(--ink) !important; padding-left: 20px; border-left: 1px solid var(--rose); }
.bio__work { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.bio__work .media { aspect-ratio: 1; min-height: 0; cursor: zoom-in; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 80;
  display: flex; align-items: center; gap: 14px;
  background: var(--ink); color: var(--ivory); padding: 14px 22px; border-radius: 999px;
  font-size: 13px; letter-spacing: .04em;
  transform: translate(-50%, calc(100% + 40px)); transition: transform .6s var(--ease-out);
}
.toast:empty { visibility: hidden; }
.toast.is-on { transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: var(--taupe); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 7vw, 120px); }
.contact__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__list div { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.contact__list dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact__list dd { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.contact__list dd a:hover { color: var(--rose); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--ivory); padding: clamp(48px, 6vw, 80px) 0 28px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand .logo__word { font-size: 24px; }
.footer__brand p { margin: 0; color: rgba(247, 242, 236, .6); max-width: 32ch; font-size: 14px; }
.footer h3 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: rgba(247, 242, 236, .5); margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.footer ul a { color: rgba(247, 242, 236, .85); transition: color .3s; }
.footer ul a:hover { color: var(--taupe); }
.footer__word { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 11vw, 168px); line-height: .8; letter-spacing: -.02em; white-space: nowrap; color: rgba(247, 242, 236, .08); margin: 0 0 24px; text-align: center; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(247, 242, 236, .12); font-size: 12px; color: rgba(247, 242, 236, .5); flex-wrap: wrap; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(247, 242, 236, .2); border-radius: 50%; transition: background .3s, color .3s; }
.socials a:hover { background: var(--ivory); color: var(--ink); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
@keyframes rise { to { opacity: 1; transform: none; } }
.page { animation: pageIn .7s var(--ease-out); }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .reveal-line > span { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(2) { border-right: 0; }
  .service:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service .link { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .header.is-scrolled { --header-h: 60px; }
  .nav, .header__tools .lang { display: none; }
  .burger { display: block; }
  .logo__word { font-size: 21px; letter-spacing: .26em; }
  .hero__grid, .studio, .founder, .pdp, .checkout, .contact, .course-body, .bio, .faq-split { grid-template-columns: 1fr; }
  .founder.founder--compact { grid-template-columns: 1fr; }
  .founder.founder--compact .founder__photo { max-width: 420px; }
  .timeline.timeline--row { grid-template-columns: repeat(3, 1fr); row-gap: 8px; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .hero__visual .media { max-height: none; }
  .hero__visual { max-width: 560px; }
  .hero__badge { left: auto; right: -10px; bottom: -20px; width: 124px; height: 124px; }
  .hero__badge strong { font-size: 28px; }
  .founder__photo, .pdp__gallery, .summary, .course-body__nav { position: static; }
  .course-body__nav { display: none; }
  .courses, .team { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .bio .media { min-height: 0; aspect-ratio: 4 / 3; }
  .p-card__quick { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .announce { font-size: 10px; height: 32px; }
  .products, .products--3 { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .p-card__title { font-size: 18px; }
  .p-card__info { flex-direction: column; gap: 4px; }
  .p-card__quick { height: 40px; left: 8px; right: 8px; bottom: 8px; font-size: 10px; letter-spacing: .14em; }
  .p-card__tag { top: 8px; left: 8px; font-size: 9px; padding: 4px 9px; }
  .services { grid-template-columns: 1fr; }
  .courses, .team {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
  }
  .team { grid-auto-columns: 46%; }
  .courses::-webkit-scrollbar, .team::-webkit-scrollbar { display: none; }
  .courses > *, .team > * { scroll-snap-align: start; }
  .course-card:hover { transform: none; }
  .founder.founder--compact .founder__photo { max-width: 62%; }
  .service { padding: 22px 0; gap: 8px; }
  .service__title { font-size: 26px; }
  .strip { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .service { border-right: 0 !important; border-bottom: 1px solid var(--line); min-height: 0; padding: 32px 0; }
  .service::before { display: none; }
  .service:hover { color: inherit; }
  .service:hover .service__text { color: var(--muted); }
  .member__name { font-size: 21px; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; }
  .form-grid, .days, .c-block .ticks, .pdp__facts { grid-template-columns: 1fr; }
  .pdp__facts div:nth-child(odd) { border-right: 0; }
  .pdp__facts div:nth-child(even) { padding-left: 0; }
  .pdp__gallery { grid-template-columns: 1fr; }
  .pdp__thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; overflow-x: auto; }
  .buy { grid-template-columns: 1fr; }
  .qty { justify-self: start; }
  .timeline li { grid-template-columns: 64px 1fr; }
  .timeline.timeline--row { grid-template-columns: 1fr 1fr; }
  .timeline.timeline--row li { grid-template-columns: 1fr; }
  .hero__visual .media { aspect-ratio: 5 / 4; }
  .hero__badge { width: 104px; height: 104px; bottom: -14px; }
  .hero__badge strong { font-size: 24px; }
  .section { padding: 48px 0; }
  .hero__meta { gap: 18px; }
  .hero__meta strong { font-size: 26px; }
  .hero__meta span { font-size: 11px; line-height: 1.45; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .bio__work { grid-template-columns: repeat(3, 1fr); }
  .summary { padding: 22px; }
  .modal { padding: 0; align-items: end; }
  .modal__panel { max-height: 92vh; }
  .shop-bar { position: static; }
}

/* ---------- Studio24 booking ---------- */
.header__book { height: 40px; padding: 0 20px; font-size: 10.5px; }
.book-fab {
  position: fixed; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 30;
  display: none; align-items: center; justify-content: center; gap: 12px; height: 54px; border-radius: 999px;
  background: var(--ink); color: var(--ivory); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  box-shadow: 0 18px 40px -18px rgba(27, 22, 20, .6);
}
.book-fab svg { width: 18px; height: 18px; color: var(--taupe); }
body[data-route="checkout"] .book-fab, body[data-route="thanks"] .book-fab, body.is-locked .book-fab { display: none !important; }

.modal--book .modal__panel { width: min(760px, 100%); }
.booking__head { padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 44px) 0; display: grid; gap: 10px; }
.booking__body { padding: 18px clamp(24px, 4vw, 44px) clamp(28px, 4vw, 44px); display: grid; gap: 20px; }
.booking__frame { display: block; width: 100%; height: min(78vh, 760px); border: 0; margin-top: 20px; background: var(--paper); }
.booking__soon { display: grid; grid-template-columns: 22px 1fr; gap: 12px 14px; align-items: start; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); }
.booking__soon svg { width: 22px; height: 22px; color: var(--rose); }
.booking__soon p { margin: 0; font-size: 14px; color: var(--ink-2); }
.booking__soon .btn { grid-column: 2; justify-self: start; }
.booking__list { border-top: 1px solid var(--line); }
.book-row { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.book-row.is-picked { background: linear-gradient(90deg, rgba(233, 213, 203, .5), transparent); margin: 0 -14px; padding: 14px; }
.book-row__photo .media { width: 56px; height: 56px; border-radius: 50%; }
.book-row__name { display: grid; }
.book-row__name strong { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.15; }
.book-row__name span { font-size: 12px; color: var(--muted); }
.book-row__from { font-family: var(--serif); font-size: 18px; color: var(--rose); white-space: nowrap; }
.book-row__soon { height: 32px; padding: 0 12px; font-size: 9.5px; color: var(--muted); display: inline-flex; align-items: center; cursor: default; }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 40px; }
.prices__group h4 { margin: 0; padding: 14px 0 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line); }
.prices__group ul { list-style: none; margin: 0; padding: 0; }
.prices__group li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 14.5px; }
.prices__group li i { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); }
.prices__group .price { font-size: 19px; }
.price-panel { display: grid; gap: 22px; }
.price-panel[hidden] { display: none; }
.price-panel__head { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.price-panel__photo .media { width: 72px; height: 72px; border-radius: 50%; }
.bio .prices { grid-template-columns: 1fr 1fr; gap: 0 28px; }

.book-note { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 8px; }
.book-note svg { width: 22px; height: 22px; color: var(--rose); }
.book-note div { display: grid; }
.book-note strong { font-weight: 500; font-size: 15px; }
.book-note span { font-size: 13px; color: var(--muted); }

@media (max-width: 1180px) {
  .member__name { font-size: 20px; }
  .member__role { font-size: 10.5px; letter-spacing: .1em; }
  .member__book { padding: 0 12px; font-size: 10px; letter-spacing: .12em; }
}
@media (max-width: 980px) {
  .header__book { display: none; }
  .book-fab { display: flex; }
  .footer { padding-bottom: 96px; }
  .toast { bottom: 84px; }
}
@media (max-width: 640px) {
  .book-row { grid-template-columns: 48px 1fr auto; gap: 12px; }
  .book-row__photo .media { width: 48px; height: 48px; }
  .book-row__soon { grid-column: 2 / -1; justify-self: start; }
  .price-panel__head { grid-template-columns: 56px 1fr; }
  .price-panel__head .btn { grid-column: 1 / -1; }
  .price-panel__photo .media { width: 56px; height: 56px; }
  .bio .prices { grid-template-columns: 1fr; }
  .book-note { grid-template-columns: 22px 1fr; }
  .book-note .btn { grid-column: 1 / -1; }
  .member__book { height: 38px; padding: 0 12px; font-size: 10px; letter-spacing: .1em; }
  .member__book span { display: none; }
}

/* ---------- Photography ---------- */
.member .media img, .founder__photo .media img, .bio > .media img, .book-row__photo img, .price-panel__photo img { object-position: 50% 18%; }
.studio__images .media img { object-position: 50% 55%; }
.footer__logo { width: 190px; height: auto; filter: invert(1); opacity: .92; }
@media (max-width: 980px) {
  .logo img { height: 26px; }
  .hero__visual .media { aspect-ratio: 4 / 3; border-radius: 40% 40% 0 0 / 30% 30% 0 0; }
}
.bio > .media { position: sticky; top: 0; align-self: start; height: auto; min-height: 0; aspect-ratio: 3 / 4; }
@media (max-width: 980px) { .bio > .media { position: static; aspect-ratio: 4 / 3; } }

/* ---------- Landing v2: the team photo is always shown whole ---------- */
.hero__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 3.5vw, 48px); }
.hero__top .hero__copy { gap: 22px; padding: 0; }
.hero__side { display: grid; gap: 26px; padding-bottom: 8px; }
.hero__photo { margin: 0; position: relative; overflow: hidden; border-radius: clamp(14px, 2vw, 28px) clamp(14px, 2vw, 28px) 0 0; background: #DADCDE; }
.hero__photo img { width: 100%; height: auto; aspect-ratio: 1672 / 941; display: block; animation: heroZoom 2.2s var(--ease-out) both; }
.hero .hero__meta { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 0; padding-top: 22px; }
.hero .hero__meta div { max-width: none; }

/* studio intro has a single photo now — never use the overlapping 2-photo layout */
.studio--compact .studio__images .media { position: relative; inset: auto; width: 100%; aspect-ratio: 5 / 4; border: 0; }

@media (max-width: 980px) {
  .hero__top { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .hero__side { gap: 22px; padding: 0; }
}
@media (max-width: 640px) {
  .hero { padding-top: 20px; }
  .hero__photo { border-radius: 14px 14px 0 0; margin: 0 calc(var(--gutter) * -1 + 8px); }
  .hero .hero__meta { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .hero .hero__meta strong { font-size: 24px; }
}

/* specialists: one even row, buttons aligned to the card bottom */
.member { display: flex; flex-direction: column; gap: 12px; }
.member__book { margin-top: auto; }

/* ---------- Mobile optimisation ---------- */
@media (max-width: 640px) {
  .eyebrow { font-size: 10px; letter-spacing: .22em; }
  .eyebrow::before { width: 20px; }
  .display { font-size: clamp(40px, 11.5vw, 52px); }
  .h2 { font-size: clamp(30px, 8.4vw, 38px); }
  .lead { font-size: 15px; }
  .section-head { gap: 18px; }

  /* landing: buttons side by side so the photo is on the first screen */
  .hero__top { gap: 16px; margin-bottom: 20px; }
  .hero__side { gap: 18px; }
  .hero .hero__actions { flex-direction: row; gap: 10px; }
  .hero .hero__actions .btn { flex: 1; width: auto; height: 48px; padding: 0 12px; font-size: 10.5px; letter-spacing: .14em; }
  .hero .hero__actions .btn .arrow { display: none; }

  /* studio intro: one paragraph */
  .studio--compact .studio__copy p:nth-of-type(2) { display: none; }

  /* services: compact 2×2 tiles */
  #services .section-head > div:last-child { display: none; }
  .services { grid-template-columns: 1fr 1fr; gap: 10px; border-top: 0; }
  .service, .service:nth-child(n) { border: 1px solid var(--line) !important; padding: 18px 16px 16px; gap: 6px; min-height: 0; background: var(--ivory); }
  .section--paper .service { background: var(--ivory); }
  .page .services .service { background: var(--paper); }
  .service__num { font-size: 15px; }
  .service__title { font-size: 21px; margin: 6px 0 0; }
  .service__text, .service .link { display: none; }
  .service__from { font-size: 17px; margin-top: auto; }

  /* founder: small portrait beside the text, no timeline on the landing */
  .founder.founder--compact { display: block; }
  .founder--compact .founder__photo { float: right; width: 40%; max-width: none; margin: 4px 0 12px 16px; }
  .founder--compact .founder__photo .media { aspect-ratio: 3 / 4; }
  .founder--compact .founder__copy { display: block; }
  .founder--compact .founder__copy > * { margin: 0 0 14px; }
  .founder--compact .founder__quote { font-size: 22px; }
  .founder--compact .founder__quote::before { font-size: 1.4em; }
  .founder--compact .timeline { display: none; }

  /* product + course cards */
  .products, .products--3 { gap: 22px 12px; }
  .course-card__body { padding: 20px; gap: 10px; }
  .course-card__title { font-size: 24px; }
}
@media (max-width: 640px) {
  .founder--compact .eyebrow { display: block; white-space: normal; line-height: 1.6; }
  .founder--compact .eyebrow::before { display: none; }
  .founder--compact .h2 { font-size: 30px; }
}

/* studio photos: stacked, never overlapping */
.studio__images { display: grid; gap: 12px; padding-bottom: 0; }
.studio__images .media, .studio__images .media:first-child, .studio__images .media:last-child { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 10; border: 0; }
.studio--compact .studio__images .media { aspect-ratio: 5 / 4; }

/* ---------- Bulgarian typography ----------
   Cormorant's Bulgarian (locl) and italic Cyrillic forms turn д into "g" and т into "m".
   Use the standard Cyrillic shapes, and keep accents upright in Bulgarian. */
body { font-feature-settings: "locl" 0; }
html:lang(bg) .display em, html:lang(bg) .h1 em, html:lang(bg) .h2 em, html:lang(bg) .h3 em,
html:lang(bg) .founder__quote, html:lang(bg) .bio__quote, html:lang(bg) .signature,
html:lang(bg) .marquee__track span, html:lang(bg) .service__num, html:lang(bg) .media::after,
html:lang(bg) .modules li::before { font-style: normal; }

/* founder quote: quotation marks inline, not on their own line */
.founder__quote::before { content: '„'; display: inline; font-size: 1em; line-height: inherit; color: var(--rose); }
.founder__quote::after { content: '“'; color: var(--rose); }
html:lang(en) .founder__quote::before { content: '“'; }
html:lang(en) .founder__quote::after { content: '”'; }

/* ---------- Mobile spacing rhythm: 12 / 16 / 24 / 32 / 48 ---------- */
@media (max-width: 640px) {
  .page-hero { padding: 32px 0 28px; }
  .page-hero__inner { gap: 16px; }
  .section-head { gap: 16px; margin-bottom: 24px; }
  .section-head__text { gap: 12px; }
  .studio, .founder, .contact, .pdp, .checkout, .course-body, .faq-split { gap: 28px; }
  .studio__copy, .studio--compact .studio__copy { gap: 16px; }
  .founder__copy { gap: 16px; }
  .team-head { margin-top: 28px; }
  .strip { margin-top: 16px; }
  .perks { margin-top: 32px; }

  .founder--compact .founder__photo { margin-top: 0; }
  .founder--compact .founder__copy > * { margin: 0 0 12px; }
  .founder--compact .founder__copy > :last-child { margin-bottom: 0; }

  .cta-band__inner { gap: 16px; }
  .cta-band .hero__actions { flex-direction: column; width: 100%; max-width: 340px; }
  .cta-band .hero__actions .btn { width: 100%; }

  .faq summary { padding: 16px 0; font-size: 19px; }
  .faq details p { margin-bottom: 16px; font-size: 14.5px; }

  .footer { padding-top: 48px; }
  .footer__top { gap: 28px; padding-bottom: 32px; }
  .footer h3 { margin-bottom: 12px; }
  .footer__word { margin-bottom: 16px; }
}
@media (max-width: 640px) {
  .c-block { padding-bottom: 28px; margin-bottom: 28px; }
  .c-block h2 { margin-bottom: 16px; }
  .c-block p { font-size: 15.5px; }
  .days { gap: 12px; }
  .day { padding: 20px; gap: 8px; }
  .day h3 { font-size: 22px; }
  .modules li { grid-template-columns: 40px 1fr; gap: 10px; padding: 14px 0; }
  .pdp__info { gap: 20px; }
  .pdp__head { gap: 10px; }
  .pdp__facts { grid-template-columns: 1fr 1fr; }
  .pdp__facts div { padding: 12px 12px 12px 0; }
  .pdp__facts div:nth-child(odd) { border-right: 1px solid var(--line); }
  .pdp__facts div:nth-child(even) { padding-left: 12px; }
  .variant { padding: 14px 16px; gap: 12px; }
  .variant .price { font-size: 19px; }
  .pdp-blocks summary { padding: 16px 0; }
}

/* ---------- Photos are never cropped where people or the space matter ---------- */
.media--natural { aspect-ratio: auto !important; background: var(--sand); }
.media--natural img { height: auto !important; aspect-ratio: auto; }
.studio__images .media, .studio__images .media:first-child, .studio__images .media:last-child,
.studio--compact .studio__images .media { aspect-ratio: auto; }
.studio--compact { align-items: start; }

/* course photos are portraits of people: show them as portraits, aimed at the faces */
.course-card .media { aspect-ratio: 4 / 5; }
.course-card .media img { object-position: 50% 25%; }
.p-card__media img, .pdp__main img, .pdp__thumbs img { object-position: 50% 25%; }

/* homepage portfolio strip stays square (thumbnails); the full photo opens on tap */
.strip .media--natural { aspect-ratio: 1 / 1 !important; }
.strip .media--natural img { height: 100% !important; object-fit: cover; }
.gallery__item .media--natural img { height: auto !important; }

/* ---------- Horizontal scrollers (reviews, awards, graduates) ---------- */
.hs-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 4px;
}
.hs-track::-webkit-scrollbar { display: none; }
.hs-track > * { flex: none; scroll-snap-align: start; }
.hs-nav { display: flex; gap: 8px; }
.hs-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.hs-btn svg { width: 18px; height: 18px; }
.hs-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.hs-nav--light .hs-btn { border-color: rgba(247, 242, 236, .3); color: var(--ivory); }
.hs-nav--light .hs-btn:hover { background: var(--ivory); color: var(--ink); }

/* photos keep their natural shape: fixed height, width follows the photo */
.photo-strip__item { height: clamp(300px, 34vw, 440px); cursor: zoom-in; overflow: hidden; background: var(--sand); }
.photo-strip__item img { height: 100%; width: auto; display: block; transition: transform 1.2s var(--ease-out); }
.photo-strip__item:hover img { transform: scale(1.03); }
.section--ink .photo-strip__item { background: #2A2320; }

/* reviews */
.reviews { align-items: stretch; }
.review { width: clamp(280px, 30vw, 380px); margin: 0; padding: 28px 28px 24px; background: var(--ivory); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.section--paper .review { background: var(--ivory); }
.section:not(.section--paper) .review { background: var(--paper); }
.review__mark { font-family: var(--serif); font-size: 64px; line-height: .6; height: 26px; color: var(--rose); }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--ink); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review figcaption span { display: grid; }
.review figcaption strong { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.review figcaption small { font-size: 13px; color: var(--muted); }
.review__who .media { width: 40px; height: 40px; border-radius: 50%; }
.review__who img { object-position: 50% 18%; }

/* awards */
.awards__facts { list-style: none; margin: 0 0 clamp(28px, 3.5vw, 44px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(247, 242, 236, .14); }
.awards__facts li { padding: 22px 24px 0 0; display: grid; gap: 6px; align-content: start; }
.awards__facts strong { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 3.6vw, 52px); line-height: 1; color: var(--ivory); }
.awards__facts span { font-size: 13px; line-height: 1.5; color: rgba(247, 242, 236, .62); max-width: 26ch; }

/* FAQ tabs + booking cancellation note */
.faq-tabs { margin-bottom: 20px; }
.faq[hidden] { display: none; }
.booking__cancel { margin: 0; font-size: 13px; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--rose-soft); }
.modal--book .booking__head + .booking__cancel { margin: 14px clamp(24px, 4vw, 44px) 0; }

@media (max-width: 980px) {
  .awards__facts { grid-template-columns: 1fr 1fr; gap: 0 16px; }
}
@media (max-width: 640px) {
  .hs-track { gap: 10px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter); }
  .hs-nav { display: none; }
  .photo-strip__item { height: 300px; }
  .review { width: 82vw; padding: 22px 20px 18px; }
  .review blockquote { font-size: 17px; }
  .awards__facts li { padding: 16px 12px 0 0; }
  .awards__facts strong { font-size: 32px; }
  .awards__facts span { font-size: 12px; }
}

/* ---------- Header v2: logo row + full structure row ----------
   Начало | Услуги и цени | Екип | Академия | Галерия | Отзиви | Контакти | Запази час */
:root { --header-h: 117px; }
.header { height: auto; }
.header.is-scrolled { --header-h: 103px; }
.header__top { height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; transition: height .4s var(--ease); }
.header.is-scrolled .header__top { height: 54px; }
.header__lang { grid-column: 1; grid-row: 1; justify-self: start; display: inline-flex; }
.header__top .logo { grid-column: 2; grid-row: 1; }
.header__top .header__tools { grid-column: 3; grid-row: 1; justify-self: end; gap: 12px; }
.header__nav { border-top: 1px solid var(--line); }
.header__nav .nav { height: 48px; display: flex; justify-content: center; align-items: center; gap: clamp(16px, 2.4vw, 38px); }
.header__nav .nav__link { height: 48px; font-size: 11px; letter-spacing: .16em; white-space: nowrap; }
.header__nav .nav__link::after { bottom: 12px; }
.nav__book { height: 34px; padding: 0 18px; font-size: 10.5px; letter-spacing: .16em; margin-left: clamp(4px, 1vw, 14px); }
.header__nav .nav__drop { top: 100%; }
.head-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .header__nav .nav { gap: 16px; }
  .header__nav .nav__link { font-size: 10.5px; letter-spacing: .12em; }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .header.is-scrolled { --header-h: 58px; }
  .header__top { height: var(--header-h); }
  .header.is-scrolled .header__top { height: var(--header-h); }
  .header__nav, .header__lang { display: none !important; }
  .burger { grid-column: 1; grid-row: 1; }
  .mobile-nav .m-link.is-active { color: var(--rose); }
  .mobile-nav__foot .link { justify-self: start; }
}

/* reviews page: masonry of quote cards */
.reviews-grid { columns: 3 300px; column-gap: 16px; }
.reviews-grid .review { width: auto; break-inside: avoid; margin: 0 0 16px; }

/* contacts map */
.map { overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.map iframe { display: block; width: 100%; height: clamp(300px, 36vw, 440px); border: 0; filter: grayscale(.35) contrast(1.02); }
@media (max-width: 640px) {
  .reviews-grid { columns: 1; }
  .head-actions { gap: 14px; }
  .head-actions .hs-nav { display: none; }
}

/* course photos are now posters with the title at the top: crop only from the bottom */
.course-card .media img, .pdp__main img, .p-card__media img:first-child { object-position: 50% 8%; }

/* plain-HTML fallback in <main> (only visible without JavaScript) */
.seo-fallback { padding: 48px 0; display: grid; gap: 16px; }
.seo-fallback h1 { font-family: var(--serif); font-weight: 300; font-size: 40px; margin: 0; }
.seo-fallback ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; }
.seo-fallback a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Small phones (≤ 400px) ---------- */
.contact > *, .checkout > *, .pdp > *, .founder > *, .studio > * { min-width: 0; }
.contact__list dd { overflow-wrap: anywhere; }
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .btn { padding: 0 18px; letter-spacing: .14em; }
  .hero .hero__actions .btn { padding: 0 8px; font-size: 10px; letter-spacing: .08em; }
  .price-panel__head .btn, .bio .btn, .book-note .btn { white-space: normal; height: auto; min-height: 50px; padding: 12px 16px; text-align: center; line-height: 1.3; }
  .contact__list dd { font-size: 21px; }
  .display { font-size: clamp(36px, 11.4vw, 46px); }
  .h1 { font-size: 36px; }
  .h2 { font-size: 28px; }
  .logo img { height: 22px; }
  .hero .hero__meta { gap: 14px 12px; }
  .book-row { grid-template-columns: 44px 1fr; }
  .book-row__from { grid-column: 2; }
  .products, .products--3 { gap: 20px 10px; }
  .p-card__title { font-size: 16px; }
  .p-card .price { font-size: 17px; }
  .services { gap: 8px; }
  .service, .service:nth-child(n) { padding: 16px 12px 14px; }
  .service__title { font-size: 18px; }
}

/* ---------- Tablets (641–980px): swipe rows instead of orphaned grids ---------- */
@media (min-width: 641px) and (max-width: 980px) {
  .courses, .team {
    display: grid; grid-template-columns: none; grid-auto-flow: column;
    gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter);
  }
  .courses { grid-auto-columns: 44%; }
  .team { grid-auto-columns: 30%; }
  .courses::-webkit-scrollbar, .team::-webkit-scrollbar { display: none; }
  .courses > *, .team > * { scroll-snap-align: start; }
  .book-fab { left: 50%; right: auto; width: min(360px, calc(100% - 32px)); transform: translateX(-50%); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .hero__top { grid-template-columns: 1.1fr .9fr; align-items: end; }
}

/* ---------- Phones held sideways: keep the menu and booking usable ---------- */
@media (max-height: 480px) and (orientation: landscape) {
  .mobile-nav a.m-link { font-size: 26px; padding: 6px 0; }
  .mobile-nav__foot { padding-top: 16px; }
  .book-fab { height: 46px; width: min(320px, calc(100% - 32px)); left: 50%; right: auto; transform: translateX(-50%); }
  .modal__panel { max-height: calc(100vh - 16px); }
  .hero__photo { max-width: 72%; margin-inline: auto; }
}

/* iOS zooms into inputs under 16px — keep form fields at 16px on touch screens */
@media (hover: none) and (pointer: coarse) {
  .input, .select, .textarea { font-size: 16px; }
}
html { -webkit-tap-highlight-color: rgba(169, 119, 106, .12); }

.book-fab { border: 1px solid rgba(247, 242, 236, .22); }

.contact__note { display: block; font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 4px; }
