/* ============================================================
   TATRA RUNNING — components
   Reusable UI: primitives, chrome (header/footer/menu), cards,
   overlays, controls, blocks. Load after base.css, before pages.css.
   Source: react-design/styles.css (UI primitives) + react-design/app.css
   (all regions except the single-page layouts, which live in pages.css).
   ============================================================ */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 16px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  min-height: 52px; line-height: 1;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); box-shadow: 0 10px 24px -10px rgba(246,88,36,.6); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2a2a26; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--on-dark { background: var(--on-dark); color: var(--ink); }
.btn--on-dark:hover { background: #fff; }
.btn--ghost-dark { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.btn--ghost-dark:hover { border-color: var(--on-dark); }
.btn--lg { min-height: 60px; padding: 18px 34px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 11px 18px; font-size: 16px; }

/* ---------- Logo tile (keeps original logo intact on any bg) ---------- */
.logo-tile {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fbfcf8; border-radius: 10px;
  padding: 8px 12px; box-shadow: var(--shadow-sm);
}
.logo-tile img { height: 100%; width: auto; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--body);
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
}
.badge--open  { background: #e8f3e0; color: #3f6b1f; }
.badge--few   { background: #fdecd8; color: #b5560e; }
.badge--full  { background: #ececec; color: #8a8a8a; }
.badge--new   { background: var(--ink); color: #fff; }

.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------------- HEADER ---------------- */
.site-header { position: sticky; top: 0; z-index: 60; transition: transform .32s cubic-bezier(.4,0,.2,1); }
.site-header--hidden { transform: translateY(-100%); }

/* black top bar */
.topbar { background: var(--ink); color: #fff; }
.topbar__inner {
  max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter);
  height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.topbar__left { display: flex; align-items: center; gap: 22px; padding-left: 150px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.78); transition: color .15s; white-space: nowrap; }
.topbar__item:hover { color: #fff; }
.topbar__item svg { color: #c9c9c9; }
.topbar__right { display: flex; align-items: center; gap: 4px; }
.topbar__link {
  font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.82); letter-spacing: .01em;
  padding: 6px 12px; border-radius: 7px; transition: color .15s, background .15s;
}
.topbar__link:hover { color: #fff; background: rgba(255,255,255,.08); }
.topbar__link[aria-current="page"] { color: #fff; }
.topbar__sep, .topbar__divider { width: 1px; height: 18px; background: rgba(255,255,255,.18); margin: 0 6px; }
.topbar__social { display: flex; gap: 2px; }
.topbar__social a { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; color: rgba(255,255,255,.7); transition: color .15s, background .15s; }
.topbar__social a:hover { color: #fff; background: rgba(255,255,255,.08); }

/* main bar */
.site-header__main {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
  max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter);
}
.brand {
  display: inline-flex; align-items: flex-start; flex: 0 0 auto;
  padding: 10px 0px 10px 0; margin: -25px 2px 0 0;
  background: var(--bg); position: relative; z-index: 2;
}
.brand__logo { height: 112px; width: auto; display: block; }
.brand--mobile { display: none; }

.nav-primary { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-link {
  position: relative; font-weight: 500; font-size: 19px; color: var(--ink);
  padding: 10px 14px; border-radius: 8px; letter-spacing: -0.01em;
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover { background: rgba(0,0,0,.045); }
.nav-link[aria-current="page"] { color: var(--accent-ink); }

.header-utils { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.social-row { display: flex; align-items: center; gap: 4px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center;
  color: var(--muted); background: transparent; border: 0; transition: color .15s, background .15s, transform .15s;
}
.social-btn:hover { color: var(--ink); background: rgba(0,0,0,.05); transform: translateY(-1px); }
.utils-divider { width: 1px; height: 26px; background: var(--line-2); }

.cart-btn {
  position: relative; width: 46px; height: 46px; border-radius: 999px;
  display: grid; place-items: center; background: var(--ink); color: #fff; border: 0;
  transition: transform .15s, background .2s;
}
.cart-btn:hover { transform: translateY(-1px); background: #2a2a26; }
.cart-badge {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--accent); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--bg);
}

.burger {
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--paper); color: var(--ink); display: none; place-items: center;
}
.burger:hover { border-color: var(--ink); }

.phone-btn {
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--paper); color: var(--ink); display: none; place-items: center;
  transition: border-color .2s, transform .15s, background .2s;
}
.phone-btn:hover { border-color: var(--ink); transform: translateY(-1px); }

/* ---------------- MOBILE MENU ---------------- */
.mm-overlay {
  position: fixed; inset: 0; z-index: 110; background: var(--bg);
  display: flex; flex-direction: column;
  animation: fade .25s ease both;
}
/* gdy menu otwarte: podnieś kontekst stackowania nagłówka ponad panel
   rezerwacji (booking sheet z-index 95), by overlay przykrył całość */
body.mm-open .site-header { z-index: 115; }
.mm-top {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter); border-bottom: 1px solid var(--line); flex: 0 0 auto;
}
.mm-body { flex: 1 1 auto; overflow-y: auto; padding: 18px var(--gutter) 28px; }
.mm-list { display: flex; flex-direction: column; }
.mm-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; color: var(--ink);
}
.mm-item .ic { color: var(--muted); }
.mm-item:active { color: var(--accent-ink); }
.mm-foot { padding: 8px var(--gutter) calc(20px + env(safe-area-inset-bottom)); flex: 0 0 auto; border-top: 1px solid var(--line); background: var(--bg); }
.mm-social { display: flex; gap: 10px; margin-top: 16px; }
.mm-social .social-btn { width: 52px; height: 52px; border: 1px solid var(--line-2); color: var(--ink); }
.mm-acct { display: flex; gap: 10px; margin-bottom: 14px; }
.mm-acct .btn { flex: 1; justify-content: center; }

/* ---------------- FOOTER ---------------- */
.site-footer { background: var(--dark); color: var(--on-dark); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 40px; padding-block: clamp(48px, 7vw, 80px); }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--sans); font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--on-dark-mut); padding: 7px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-brand p { color: var(--on-dark-mut); margin-top: 0; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding-block: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--on-dark-mut); font-size: 14px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social .social-btn { color: var(--on-dark-mut); }
.footer-social .social-btn:hover { color: #fff; background: rgba(255,255,255,.1); }

/* Newsletter band (top of footer) */
.footer-news {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  padding-block: clamp(36px, 5vw, 56px);
}
.footer-news__text .eyebrow { margin-bottom: 12px; }
.footer-news__text h3 {
  font-family: var(--display); color: #fff; font-weight: 800;
  font-size: clamp(22px, 2.8vw, 30px); line-height: 1.05; letter-spacing: -0.02em;
}
.footer-news__text p { color: var(--on-dark-mut); margin-top: 10px; max-width: 48ch; }
.footer-news__form { display: flex; gap: 10px; flex: 1 1 380px; min-width: 0; max-width: 460px; }
.footer-news__form input {
  flex: 1; min-width: 0; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark);
  color: #fff; border-radius: 999px; padding: 14px 20px; font-family: var(--sans); font-size: 15px;
}
.footer-news__form input::placeholder { color: var(--on-dark-mut); }
.footer-news__form .btn { white-space: nowrap; gap: 8px; }

/* Newsletter signup column: form + legal note */
.footer-news__signup { display: flex; flex-direction: column; gap: 14px; flex: 1 1 380px; min-width: 0; max-width: 460px; }
.footer-news__signup .footer-news__form { flex: none; max-width: none; }
.footer-news__legal { color: var(--on-dark-mut); font-size: 13px; line-height: 1.6; padding-inline: 4px; text-wrap: balance; }
.footer-news__legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
.footer-news__legal a:hover { text-decoration-color: #fff; }

/* Newsletter double opt-in modal */
.modal--news { max-width: 460px; background: var(--paper); }
.news-modal { text-align: center; padding: 40px 36px 30px; }
.news-modal__ic { width: 66px; height: 66px; border-radius: 18px; margin: 0 auto 18px; display: grid; place-items: center; background: var(--accent-soft, rgba(0,0,0,.04)); color: var(--accent-ink); border: 1px solid var(--line); }
.news-modal h3 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); margin-top: 10px; }
.news-modal p { color: var(--body); font-size: 15px; line-height: 1.55; margin-top: 12px; }
.news-modal__hint { color: var(--muted); font-size: 13.5px; }
.news-modal__note { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px; color: var(--muted); margin-top: 18px; }
.news-modal__note svg { color: var(--green); }

/* Newsletter thank-you page */
.news-thanks__confirm { display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-sm); margin-bottom: 48px; }
.news-thanks__ic { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft, rgba(0,0,0,.04)); color: var(--accent-ink); border: 1px solid var(--line); }
.news-thanks__confirm h2 { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); }
.news-thanks__confirm p { color: var(--body); font-size: 14.5px; line-height: 1.55; margin-top: 6px; }
.news-thanks__head { text-align: center; margin-bottom: 28px; }
.news-thanks__head .eyebrow { justify-content: center; }
.news-thanks__head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px,3vw,32px); letter-spacing: -0.02em; color: var(--ink); margin-top: 8px; }
.news-thanks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-thanks__card { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.news-thanks__card-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); color: var(--ink); margin-bottom: 14px; }
.news-thanks__card h3 { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--ink); }
.news-thanks__card p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 8px; }
@media (max-width: 760px) {
  .news-thanks__grid { grid-template-columns: 1fr; }
}

/* Divider between newsletter band and the columns (matches footer-bottom rule) */
.footer-divider { border-top: 1px solid var(--line-dark); }

/* Framed logo, sized to balance the three text columns */
.footer-logo-frame {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark); border-radius: 14px;
  background: rgba(255,255,255,.02); padding: 24px; margin-bottom: 20px;
}
.footer-brand .footer-logo-frame .logo-tile { width: 310px; max-width: 100%; aspect-ratio: 310 / 200; height: auto; padding: 12px; }
.footer-brand .footer-logo-frame .logo-tile--card {
  flex-direction: column; aspect-ratio: auto; height: auto;
  justify-content: flex-start; gap: 16px; padding: 24px 26px 26px;
}
.footer-brand .footer-logo-frame .logo-tile--card img { height: auto; width: auto; max-width: 64%; max-height: 150px; }
.footer-brand .footer-logo-frame .logo-tile__tagline {
  color: var(--body); text-align: center; font-family: var(--sans);
  font-size: 15px; line-height: 1.5; margin: 0;
}

/* ---------------- SECTION HEADING ---------------- */
.sec-head { max-width: 64ch; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 52px); margin-top: 14px; }
.sec-head .eyebrow + h2 { margin-top: 14px; }
.sec-head p { margin-top: 18px; color: var(--body); }
.sec-head--center { margin-inline: auto; text-align: center; }

/* ---------------- CAMP CARD ---------------- */
.camp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .camp-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 600px) { .camp-grid { grid-template-columns: 1fr; } }

.camp-card {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.camp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.camp-card.is-full { opacity: .82; }
.camp-card__media { position: relative; aspect-ratio: 4/3; }
.camp-card__media img, .camp-card__media .ph { width: 100%; height: 100%; }
.camp-card__media .ph { aspect-ratio: 4/3; }
.camp-card__top { position: absolute; inset: 14px 14px auto 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.camp-card__type {
  background: rgba(20,19,15,.62); color: #fff; backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
}
.camp-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.camp-card__price { color: var(--accent-ink); font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.camp-card__title { font-size: 22px; margin-top: 4px; }
.camp-card__lead { color: var(--muted); font-size: 14.5px; margin-top: 10px; line-height: 1.5; flex: 1; }
.camp-meta { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.camp-meta__row { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--body); }
.camp-meta__row svg { color: var(--muted); flex: 0 0 auto; }
.camp-card__cta { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.camp-card__link { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; font-size: 15px; }
.camp-card:hover .camp-card__link { color: var(--accent-ink); }
.camp-card:hover .camp-card__link svg { transform: translateX(3px); }
.camp-card__link svg { transition: transform .2s; }

/* empty camp grid state */
.camps-empty { text-align: center; max-width: 480px; margin: 20px auto 8px; padding: 48px 24px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); }
.camps-empty svg { color: var(--accent); }
.camps-empty h3 { font-family: var(--display); color: var(--ink); font-size: 24px; margin: 14px 0 8px; }
.camps-empty p { font-size: 15px; line-height: 1.5; margin-bottom: 22px; }

/* reveal — progressive enhancement: hidden only when JS is active.
   reveal.js (Faza 3) adds `.js` on <html> before observing; without JS
   (static Faza 2) content stays fully visible. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------------- HERO (cinematic, full-bleed) ---------------- */
.hero { position: relative; min-height: min(92vh, 880px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(15,14,11,.86) 0%, rgba(15,14,11,.36) 42%, rgba(15,14,11,.12) 70%, rgba(15,14,11,.42) 100%);
}
.hero__inner { position: relative; width: 100%; padding-bottom: clamp(40px, 7vw, 160px); padding-top: 120px; }
.hero__eyebrow { color: #fff; opacity: .85; }
.hero__title { color: #fff; font-size: clamp(48px, 10vw, 132px); line-height: 0.9; letter-spacing: -0.04em; margin-top: 16px; }
.hero__sub { color: rgba(255,255,255,.92); font-size: clamp(18px, 2.6vw, 27px); font-weight: 600; margin-top: 18px; font-family: var(--display); letter-spacing: -0.01em; }
.hero__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: -60px;
}
.hero-stats__cell { background: var(--paper); padding: 26px 24px; }
.hero-stats__num { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); color: var(--ink); letter-spacing: -0.03em; }
.hero-stats__lab { color: var(--muted); font-size: 14px; margin-top: 4px; }
@media (max-width: 760px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }

/* section row utilities */
.row-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.center-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------------- SPLIT (image + text) ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow); }
.split__media img, .split__media .ph { width: 100%; height: 100%; aspect-ratio: 5/4; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

/* ---------------- DARK VALUE BAND ---------------- */
.band-dark { background: var(--dark); color: var(--on-dark); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-dark); margin-top: 48px; }
.value { background: var(--dark-2); padding: 36px 32px; }
.value__ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(246,88,36,.16); color: var(--accent); margin-bottom: 20px; }
.value h3 { color: #fff; font-size: 22px; }
.value p { color: var(--on-dark-mut); margin-top: 10px; font-size: 15.5px; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

/* ---------------- VOUCHER PROMO ---------------- */
.promo { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--dark-2); color: #fff; }
.promo__grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; }
.promo__text { padding: clamp(34px, 5vw, 64px); }
.promo__text h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); }
.promo__text p { color: var(--on-dark-mut); margin-top: 16px; max-width: 42ch; }
.promo__media { align-self: stretch; min-height: 320px; position: relative; }
.promo__media .vchip { position: absolute; inset: 0; display: grid; place-items: center; }
@media (max-width: 820px) { .promo__grid { grid-template-columns: 1fr; } .promo__media { min-height: 240px; order: -1; } }

/* ---------------- VOUCHER ART (gift card visual) ---------------- */
.voucher {
  position: relative; aspect-ratio: 1.62/1; border-radius: 16px; overflow: hidden;
  color: #fff; box-shadow: var(--shadow); isolation: isolate; min-width: 0;
}
.voucher__bg { position: absolute; inset: 0; }
.voucher__bg img { width: 100%; height: 100%; object-fit: cover; }
.voucher__shade { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,14,11,.78) 0%, rgba(15,14,11,.32) 55%, rgba(15,14,11,.55) 100%); }
.voucher__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(14px, 4%, 24px); }
.voucher__top { display: flex; align-items: flex-start; justify-content: space-between; }
.voucher__top .logo-tile { height: 34px; padding: 5px 8px; }
.voucher__kicker { font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .9; text-align: right; }
.voucher__amt { font-family: var(--display); font-weight: 800; line-height: .9; letter-spacing: -0.03em; font-size: clamp(30px, 9cqw, 58px); }
.voucher__amt small { font-size: .42em; font-weight: 700; letter-spacing: 0; opacity: .85; margin-left: 6px; }
.voucher__ded { font-family: var(--script); font-size: clamp(18px, 5cqw, 26px); line-height: 1.05; margin-top: 2px; }
.voucher__brand { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-top: 8px; }
.voucher__stripe { height: 14px; display: flex; }
.voucher__stripe i {
  flex: 1;
  background-image:
    linear-gradient(135deg, transparent 46%, var(--vc, #c2362b) 46% 54%, transparent 54%),
    linear-gradient(45deg, transparent 46%, var(--vc, #c2362b) 46% 54%, transparent 54%);
  background-size: 14px 14px;
}
.voucher--cqw { container-type: inline-size; }

/* ---------------- PAGE HERO (sub-pages) ---------------- */
.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(40px, 7vw, 76px); letter-spacing: -0.035em; }
.page-hero p { margin-top: 20px; max-width: 60ch; font-size: clamp(17px, 1.8vw, 20px); }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------------- PARTNERS ---------------- */
.partner-strat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .partner-strat { grid-template-columns: 1fr; } }
.partner-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; transition: border-color .2s, transform .2s; }
.partner-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.partner-logo { height: 64px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 18px; }
.partner-card h3 { font-size: 19px; }
.partner-card p { color: var(--muted); margin-top: 6px; font-size: 14.5px; }

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: scroll-x 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.logo-chip { flex: 0 0 auto; height: 84px; padding: 0 36px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--muted); transition: color .2s, border-color .2s; }
.logo-chip:hover { color: var(--ink); border-color: var(--line-2); }

/* accordion */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__head { width: 100%; background: none; border: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; text-align: left; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); }
.acc__head .day { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.acc__head .titles { display: flex; flex-direction: column; gap: 3px; }
.acc__chev { transition: transform .25s; color: var(--muted); flex: 0 0 auto; }
.acc__item.open .acc__chev { transform: rotate(180deg); }
.acc__panel { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.acc__panel ul { padding: 0 4px 20px; }
.acc__panel li { display: flex; gap: 10px; padding: 6px 0; color: var(--body); font-size: 15px; }
.acc__panel li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 9px; flex: 0 0 auto; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery > * { border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4; }
.gallery > *:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img, .gallery .ph { width: 100%; height: 100%; }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery > *:first-child { grid-column: span 2; } }

/* mini trainer */
.mini-trainers { display: flex; gap: 16px; flex-wrap: wrap; }
.mini-trainer { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 8px; transition: border-color .2s, transform .2s; }
.mini-trainer:hover { border-color: var(--ink); transform: translateY(-2px); }
.mini-trainer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.mini-trainer b { display: block; font-size: 15px; color: var(--ink); }
.mini-trainer span { font-size: 13px; color: var(--muted); }

/* testimonials */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 700px) { .reviews { grid-template-columns: 1fr; } }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.review__stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: 12px; }
.review p { font-size: 16px; color: var(--body); }
.review__who { margin-top: 16px; font-weight: 700; color: var(--ink); font-size: 14px; }
.review__who span { display: block; color: var(--muted); font-weight: 400; }

/* booking card */
.booking { position: sticky; top: var(--sticky-top); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.booking__head { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.booking__price { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--ink); letter-spacing: -0.03em; }
.booking__price small { font-size: 15px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.booking__body { padding: 22px 24px; }
.booking__rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.booking__row { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--body); }
.booking__row svg { color: var(--muted); }
.booking__row b { margin-left: auto; color: var(--ink); }
.qty { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line-2); border-radius: 12px; padding: 6px; margin-bottom: 8px; }
.qty span { font-weight: 700; }
.qty button { width: 38px; height: 38px; border-radius: 9px; border: 0; background: var(--bg); display: grid; place-items: center; color: var(--ink); }
.qty button:hover { background: var(--line); }
.qty button:disabled { opacity: .4; cursor: not-allowed; }
.book-opts { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.book-opt { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 13px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.book-opt.sel { border-color: var(--ink); background: #faf9f5; }
.book-opt input { margin-top: 3px; accent-color: var(--accent); }
.book-opt .lab { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.book-opt .desc { font-size: 13px; color: var(--muted); margin-top: 2px; }
.book-deposit { margin: 14px 0; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 14px; }
.book-deposit__row { display: flex; align-items: baseline; justify-content: space-between; font-size: 14.5px; color: var(--ink); }
.book-deposit__row b { font-weight: 800; font-family: var(--display); font-size: 17px; }
.book-deposit__row--mut { margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.book-deposit__note { font-size: 12.5px; color: var(--muted); margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); line-height: 1.45; }
.booking__foot { padding: 16px 24px; background: #faf9f5; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.trust-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.booking__call { margin-top: 12px; font-size: 14.5px; }

/* mobile booking bottom-sheet (hidden / inert on desktop) */
.booking__grab, .booking__action, .booking__scrim { display: none; }
@media (max-width: 760px) {
  .booking--sheet {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto;
    z-index: 95; margin: 0;
    border: 0; border-top: 1px solid var(--line);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -16px 40px -16px rgba(20,19,15,.32);
    display: flex; flex-direction: column;
    max-height: 92vh; overflow: visible;
  }
  /* collapsed: details hidden, only grab + action bar show */
  .booking--sheet .booking__scroll {
    max-height: 0; overflow: hidden;
    transition: max-height .32s cubic-bezier(.4,0,.2,1);
  }
  .booking--sheet.is-open .booking__scroll {
    max-height: 70vh; overflow-y: auto;
    border-bottom: 1px solid var(--line);
  }
  .booking--sheet .booking__head { border-bottom: 1px solid var(--line); }
  /* expanded: price jumps up beside the status badge, in one line */
  .booking--sheet .booking__head .booking__price { font-size: 23px; }
  .booking--sheet .booking__head .booking__price small { font-size: 13px; }
  /* drop reassurance row on mobile */
  .booking--sheet .trust-row { display: none; }

  .booking__grab {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    width: 100%; background: var(--paper); border: 0; cursor: pointer;
    padding: 11px 0 9px; border-radius: 20px 20px 0 0;
  }
  .booking__grabbar { width: 42px; height: 4px; border-radius: 999px; background: var(--line-2); }
  .booking__hint { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
  .booking__hint-chev { transform: rotate(180deg); transition: transform .32s ease; }
  .booking--sheet.is-open .booking__hint-chev { transform: rotate(0deg); }

  .booking__action {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); background: var(--paper);
  }
  .booking__action-price { font-family: var(--display); font-weight: 800; font-size: 25px; color: var(--ink); letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
  .booking__action-price small { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 5px; letter-spacing: 0; }
  .booking__action .btn { flex: 0 0 auto; padding-left: 18px; padding-right: 18px; white-space: nowrap; }
  /* expanded: price is shown up top, so the bottom button fills the bar */
  .booking--sheet.is-open .booking__action-price { display: none; }
  .booking--sheet.is-open .booking__action .btn { flex: 1 1 auto; width: 100%; }

  .booking__cta-desktop { display: none; }

  .booking__scrim {
    display: block; position: fixed; inset: 0; z-index: 90;
    background: rgba(20,19,15,.5); animation: fade .2s ease both;
  }

  /* keep footer clear of the collapsed bar */
  body:has(.booking--sheet) { padding-bottom: 116px; }
}

/* ---------------- TEAM HUB ---------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.tcard { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--dark); display: block; aspect-ratio: 3/4; }
.tcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tcard:hover img { transform: scale(1.04); }
.tcard__grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,14,11,.92) 0%, rgba(15,14,11,.3) 45%, transparent 70%); }
.tcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; }
.tcard__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tcard__tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); padding: 4px 9px; border-radius: 999px; }
.tcard__name { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.tcard__role { color: rgba(255,255,255,.82); font-size: 14px; margin-top: 3px; }
.tcard__arrow { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); display: grid; place-items: center; color: #fff; transition: background .2s, transform .2s; }
.tcard:hover .tcard__arrow { background: var(--accent); transform: rotate(0) translate(2px,-2px); }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 880px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .benefits { grid-template-columns: 1fr; } }
.benefit { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.benefit__ic { width: 46px; height: 46px; border-radius: 12px; background: #fff4ef; color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.benefit h3 { font-size: 18px; }
.benefit p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* ---------------- CART DRAWER ---------------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(15,14,11,.5); z-index: 90; animation: fade .2s ease both; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--bg); z-index: 91; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slide-in .28s cubic-bezier(.22,1,.36,1) both; }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 20px; }
.drawer__close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); display: grid; place-items: center; color: var(--ink); }
.drawer__close:hover { border-color: var(--ink); }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; scrollbar-width: none; -ms-overflow-style: none; }
.drawer__body::-webkit-scrollbar { width: 0; height: 0; display: none; }
.drawer__empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.drawer__empty .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; margin: 0 auto 18px; color: var(--muted); }
.line-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item__media { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; }
.line-item__media img, .line-item__media .ph { width: 100%; height: 100%; }
.line-item__media .ph { aspect-ratio: auto; font-size: 9px; }
.line-item b { font-size: 15px; color: var(--ink); display: block; }
.line-item .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.line-item__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.line-qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.line-qty button { width: 30px; height: 30px; border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; }
.line-qty button:hover { background: var(--line); }
.line-qty span { min-width: 34px; text-align: center; font-weight: 700; font-size: 14px; }
.line-price { font-family: var(--display); font-weight: 800; color: var(--ink); }
.line-remove { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; margin-top: 6px; }
.line-remove:hover { color: var(--accent-ink); }
.drawer__foot { padding: 20px 22px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.drawer__total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.drawer__total .t { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--ink); }

/* ---------------- BLOG ---------------- */
/* shared meta */
.post-meta { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.post-meta__ava { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.post-meta__ava--txt { display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; }
.post-meta__txt { display: flex; flex-direction: column; line-height: 1.3; }
.post-meta__name { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.post-meta__sub { color: var(--muted); font-size: 13px; }
.post-meta--light .post-meta__name { color: #fff; }
.post-meta--light .post-meta__sub { color: var(--on-dark-mut); }

/* category chip on media */
.post-card__cat { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(20,19,15,.72); backdrop-filter: blur(4px); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.post-card__cat--static { position: static; display: inline-block; background: rgba(246,88,36,.12); color: var(--accent-ink); margin-bottom: 18px; }

/* featured */
.blog-feat { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; }
.blog-feat:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-feat__media { position: relative; min-height: 340px; overflow: hidden; }
.blog-feat__media .ph, .blog-feat__media > div { height: 100%; }
.blog-feat__media img { transition: transform .5s ease; }
.blog-feat:hover .blog-feat__media img { transform: scale(1.04); }
.blog-feat__body { padding: clamp(28px,3.5vw,48px); display: flex; flex-direction: column; justify-content: center; }
.blog-feat__title { font-family: var(--display); font-weight: 800; font-size: clamp(26px,3.2vw,40px); line-height: 1.06; letter-spacing: -0.03em; color: var(--ink); margin-top: 14px; }
.blog-feat__excerpt { color: var(--body); margin-top: 16px; font-size: 17px; line-height: 1.6; max-width: 48ch; }
.blog-feat__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-ink); margin-top: 24px; }
.blog-feat:hover .blog-feat__link svg { transform: translateX(4px); }
.blog-feat__link svg { transition: transform .2s; }
@media (max-width: 820px) { .blog-feat { grid-template-columns: 1fr; } .blog-feat__media { min-height: 240px; } }

/* category filter pills */
.blog-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.cat-pill { font-family: var(--sans); font-weight: 600; font-size: 14.5px; color: var(--body); background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.cat-pill:hover { border-color: var(--ink); color: var(--ink); }
.cat-pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* post grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,2.5vw,32px); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.post-card__media { position: relative; overflow: hidden; }
.post-card__media img { transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__title { font-size: 21px; line-height: 1.15; letter-spacing: -0.02em; }
.post-card__excerpt { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-top: 10px; flex: 1; }
.post-card__body .post-meta { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
/* cards inside dark band */
.blog-grid--dark .post-card { background: var(--dark-2); border-color: var(--line-dark); }
.blog-grid--dark .post-card__title { color: #fff; }
.blog-grid--dark .post-card__excerpt { color: var(--on-dark-mut); }
.blog-grid--dark .post-card__body .post-meta { border-top-color: var(--line-dark); }
.blog-grid--dark .post-meta__name { color: #fff; }
.blog-grid--dark .post-meta__sub { color: var(--on-dark-mut); }

/* single article */
.article-head { max-width: 760px; }
.article-head h1 { font-size: clamp(34px,5.2vw,60px); line-height: 1.04; letter-spacing: -0.035em; margin-top: 4px; }
.article-lead { font-size: clamp(18px,2vw,22px); color: var(--body); line-height: 1.5; margin-top: 20px; max-width: 60ch; }
.article-head .post-meta { margin-top: 26px; }
.article-cover { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/8; box-shadow: var(--shadow); }
.article-cover .ph, .article-cover > div { height: 100%; }
@media (max-width: 700px) { .article-cover { aspect-ratio: 4/3; } }

.blog-prose { max-width: 700px; margin: 0 auto; font-size: 18.5px; line-height: 1.75; color: var(--body); }
.blog-prose p { margin: 0 0 24px; }
.blog-prose h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px,3vw,32px); letter-spacing: -0.025em; color: var(--ink); line-height: 1.15; margin: 44px 0 16px; }
.blog-quote { margin: 36px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--accent); font-family: var(--display); font-weight: 600; font-size: clamp(22px,2.6vw,28px); line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.blog-list { margin: 0 0 24px; padding: 0; list-style: none; }
.blog-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.blog-list li::before { content: ''; position: absolute; left: 4px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* author card */
.author-card { max-width: 700px; margin: clamp(40px,5vw,56px) auto 0; display: flex; gap: 24px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px,3vw,32px); }
.author-card__ava { width: 92px; height: 92px; border-radius: 16px; object-fit: cover; flex: 0 0 auto; }
.author-card__ava--txt { display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; font-size: 28px; }
.author-card h3 { font-size: 23px; margin-top: 6px; }
.author-card__role { color: var(--accent-ink); font-weight: 600; font-size: 14.5px; margin-top: 3px; }
.author-card__bio { color: var(--body); margin-top: 12px; line-height: 1.6; font-size: 15.5px; }
.author-card__link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); margin-top: 16px; font-size: 15px; }
.author-card__link:hover { color: var(--accent-ink); }
.author-card__link:hover svg { transform: translateX(3px); }
.author-card__link svg { transition: transform .2s; }
@media (max-width: 560px) { .author-card { flex-direction: column; gap: 16px; } }

/* ---------------- responsive header ---------------- */
@media (max-width: 1080px) {
  .social-row { display: none; }
  .utils-divider { display: none; }
}
@media (max-width: 1160px) {
  .topbar__item--hours { display: none; }
}
@media (max-width: 1024px) {
  .topbar__item--mail { display: none; }
}
@media (max-width: 900px) {
  .topbar { display: none; }
  .nav-primary { display: none; }
  .header-utils .bony-btn { display: none; }
  .header-utils .acct { display: none; }
  .phone-btn { display: grid; }
  .burger { display: grid; }
  .topbar__left { padding-left: 76px; }
  .topbar__left .topbar__item--hours { display: none; }
  .topbar__right { display: none; }
  .brand { padding: 8px 0 8px 0; margin: 10px 0 0 0; }
  .brand__logo { height: 52px; }
  .footer-news__form { flex-direction: column; align-items: stretch; max-width: none; flex-basis: 100%; }
  .footer-news__form input { width: 100%; }
  .footer-news__form .btn { width: 100%; justify-content: center; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .topbar__item--mail { display: none; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ACCOUNT MENU + SETTINGS / AUTH MODALS + PRIVACY EMBEDS
   ============================================================ */
.acct { position: relative; display: flex; }

.acct-btn {
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  transition: border-color .2s, transform .15s, background .2s;
}
.acct-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.acct-btn--in { background: var(--ink); color: #fff; border-color: var(--ink); }
.acct-btn--in:hover { background: #2a2a26; }
.acct-btn__initials { font-family: var(--display); font-weight: 800; font-size: 17px; }

.acct-pop {
  position: absolute; top: calc(100% + 12px); right: 0; width: 284px; z-index: 95;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden; transform-origin: top right;
  animation: acct-pop .16s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes acct-pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
.acct-pop__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #faf9f5; border-bottom: 1px solid var(--line); }
.acct-pop__name { display: flex; align-items: center; gap: 7px; min-width: 0; }
.acct-pop__name b { font-size: 14.5px; color: var(--ink); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-pop__tag { flex: 0 0 auto; font-family: ui-monospace, monospace; font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--accent-ink); background: rgba(246,88,36,.1); border-radius: 5px; padding: 2px 5px; }
.acct-pop__regen { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: color .15s, border-color .15s, transform .2s; }
.acct-pop__regen:hover { color: var(--ink); border-color: var(--ink); transform: rotate(-90deg); }
.acct-pop__avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; flex: 0 0 auto; }
.acct-pop__id { min-width: 0; flex: 1; }
.acct-pop__id b { display: block; font-size: 14.5px; color: var(--ink); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-pop__id span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.acct-pop__body { padding: 8px; }
.acct-item {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; background: none;
  border-radius: 10px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--body); cursor: pointer; text-align: left;
  transition: background .14s, color .14s;
}
.acct-item svg { color: var(--muted); transition: color .14s; }
.acct-item:hover { background: var(--bg); color: var(--ink); }
.acct-item:hover svg { color: var(--ink); }
.acct-item--primary { color: var(--ink); }
.acct-item--primary svg { color: var(--accent); }
.acct-item--primary:hover { background: rgba(246,88,36,.08); }
.acct-item--muted { color: var(--muted); }
.acct-sep { height: 1px; background: var(--line); margin: 6px 8px; }

/* ---------- Generic modal shell ---------- */
.modal-scrim {
  position: fixed; inset: 0; z-index: 120; background: rgba(15,14,11,.55); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 24px; overflow-y: auto; animation: fade .2s ease both;
}
.modal {
  position: relative; width: 100%; background: var(--bg); border-radius: 22px; box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 48px); display: flex; flex-direction: column; overflow: hidden;
  animation: modal-pop .22s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes modal-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal--settings { max-width: 640px; }
.modal--auth { max-width: 452px; }
.modal__x {
  position: absolute; top: 16px; right: 16px; z-index: 2; width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.modal__x:hover { border-color: var(--ink); transform: rotate(90deg); }

/* ---------- Settings ---------- */
.set-head { padding: 26px 28px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.set-head h3 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); margin-top: 6px; }
.set-head p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 8px; max-width: 52ch; }
.set-body { padding: 8px 28px 22px; overflow-y: auto; }
.set-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.preset { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding: 12px 8px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--paper); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.preset:hover { border-color: var(--ink); }
.preset b { font-size: 14px; color: var(--ink); font-weight: 700; }
.preset span { font-size: 11px; color: var(--muted); }
.preset.is-on { border-color: var(--accent); background: rgba(246,88,36,.06); box-shadow: 0 0 0 1px rgba(246,88,36,.25) inset; }
.preset.is-on b { color: var(--accent-ink); }
.set-presets__hint { text-align: center; font-size: 12px; color: var(--muted); margin: 8px 0 2px; }
.set-presets__hint b { color: var(--body); }
.set-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.set-group:first-of-type { border-top: 1px solid var(--line); margin-top: 16px; }
.set-group:last-child { border-bottom: 0; }
.set-group__label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.set-group__label svg { color: var(--accent); }

.set-row { display: flex; gap: 14px; padding: 14px 0; }
.set-row + .set-row { border-top: 1px dashed var(--line); }
.set-row__ic { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 11px; background: #faf9f5; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.set-row__main { flex: 1; min-width: 0; }
.set-row__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.set-row__title { font-weight: 700; color: var(--ink); font-size: 15.5px; }
.set-row__desc { color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 4px; }

/* segmented control */
.seg { display: flex; flex-wrap: wrap; gap: 4px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 12px; padding: 4px; margin-top: 14px; }
.seg__btn {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 10px;
  border: 0; background: none; border-radius: 9px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted);
  cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s;
}
.seg__btn svg { opacity: .8; }
.seg__btn:hover { color: var(--ink); }
.seg__btn.is-on { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.seg__btn.is-on svg { opacity: 1; }

/* toggle switch */
.tgl { flex: 0 0 auto; width: 46px; height: 27px; border-radius: 999px; border: 0; background: var(--line-2); position: relative; cursor: pointer; transition: background .2s; margin-top: 2px; }
.tgl.is-on { background: var(--accent); }
.tgl__dot { position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s cubic-bezier(.2,.7,.3,1); }
.tgl.is-on .tgl__dot { transform: translateX(19px); }

.set-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 28px; border-top: 1px solid var(--line); background: var(--paper); }
.set-reset { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.set-reset:hover { color: var(--ink); }

/* ---------- Auth ---------- */
.modal--auth { background: var(--paper); }
.auth-head { text-align: center; padding: 32px 32px 0; }
.auth-logo { height: 56px; padding: 8px 14px; }
.auth-head h3 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); margin-top: 16px; }
.auth-head p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 8px; }
.auth-tabs { display: flex; gap: 4px; margin: 22px 32px 0; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.auth-tabs button { flex: 1; padding: 10px; border: 0; background: none; border-radius: 9px; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.auth-tabs button.is-on { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.auth-form { padding: 22px 32px 4px; display: flex; flex-direction: column; gap: 14px; }
.auth-form .field { display: flex; flex-direction: column; gap: 7px; }
.auth-form .field > span { font-size: 13px; font-weight: 600; color: var(--ink); }
.auth-forgot { font-size: 13px; color: var(--accent-ink); font-weight: 600; align-self: flex-end; margin-top: -4px; }
.auth-alt { text-align: center; font-size: 14px; color: var(--muted); margin-top: 4px; }
.auth-alt button { border: 0; background: none; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.auth-note { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 18px 32px 28px; font-size: 12.5px; color: var(--muted); }
.auth-note svg { color: var(--green); }
.cfg-input { width: 100%; min-width: 0; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 14px 16px; font-family: var(--sans); font-size: 16px; color: var(--ink); background: var(--paper); transition: border-color .15s; }
.cfg-input:focus { border-color: var(--ink); outline: none; }

/* ---------- Privacy-aware embeds ---------- */
.embed-frame { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #faf9f5; aspect-ratio: 16 / 10; }
.embed-frame__open { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); }
.embed-frame__open:hover { border-color: var(--ink); }
.embed-frame__inline { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.embed-frame__inline:hover { color: var(--ink); }
.embed-block { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 6px; }
.embed-block__ic { width: 48px; height: 48px; border-radius: 13px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); margin-bottom: 6px; }
.embed-block__kicker { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.embed-block h4 { font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--ink); }
.embed-block p { font-size: 13px; color: var(--muted); line-height: 1.45; max-width: 34ch; margin-bottom: 6px; }

@media (max-width: 560px) {
  .modal-scrim { padding: 0; }
  .modal { max-width: none; height: 100%; max-height: 100%; border-radius: 0; }
  .modal--settings, .modal--auth { border-radius: 0; }
  .set-head, .set-body, .set-foot, .auth-form, .auth-tabs, .auth-head, .auth-note { padding-left: 20px; padding-right: 20px; }
  .auth-tabs { margin-left: 20px; margin-right: 20px; }
  .set-body { overflow-x: hidden; }
  /* stack segmented options vertically so long labels never overflow */
  .seg { flex-direction: column; }
  .seg__btn { justify-content: flex-start; flex: 1 1 auto; padding: 11px 14px; }
  .seg__btn span { font-size: 14px; }
}
