/* ==========================================================================
   NataNail — stylizacja paznokci i szkolenia
   Palette: plum noir + champagne gold + ivory (no pink by client request)
   ========================================================================== */

:root {
  --bg: #120d16;
  --bg-deep: #0d0910;
  --bg-2: #1a1220;
  --plum: #2a1e35;
  --ivory: #f6f1e9;
  --ivory-2: #eee6d9;
  --paper: #f7f2ea;
  --ink: #1e1526;
  --ink-2: #57495e;
  --gold: #c9a96e;
  --gold-light: #e3cb98;
  --gold-dark: #9c7a40;
  --gold-grad: linear-gradient(135deg, #efdcb0 0%, #c9a96e 48%, #a9844a 100%);

  --text: rgba(246, 241, 233, .92);
  --muted: rgba(246, 241, 233, .62);
  --line: rgba(246, 241, 233, .12);
  --line-gold: rgba(201, 169, 110, .38);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  /* full-screen layers reach this far past the screen edges: iOS 26 Safari and in-app browsers
     draw the page under their see-through toolbars, so a plain inset: 0 leaves a strip of page visible */
  --bleed: 160px;
  --radius: 28px;
  --radius-lg: 44px;
  --section-y: clamp(88px, 12vw, 160px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h3 { font-weight: inherit; }
svg:not([viewBox]) { width: 1.25em; height: 1.25em; flex: none; }

::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 400;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  transition: top .3s;
}
.skip-link:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }

/* light ("paper") sections */
.light {
  background: var(--paper);
  color: var(--ink);
  --text: var(--ink);
  --muted: var(--ink-2);
  --line: rgba(30, 21, 38, .12);
}

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font: 600 .74rem/1.2 var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.light .eyebrow { color: var(--gold-dark); }

.h2 {
  font: 400 clamp(2.5rem, 5.4vw, 4.6rem)/1.02 var(--serif);
  letter-spacing: -.015em;
  color: var(--ivory);
}
.h2--xl { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
.light .h2 { color: var(--ink); }
.h2 em, .hero__title em, .contact__title em { font-style: italic; color: var(--gold); }
.light .h2 em { color: var(--gold-dark); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head__note { max-width: 400px; color: var(--muted); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
  font-size: .92rem;
  color: var(--gold-light);
  transition: color .3s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }
.link-arrow--dark { color: var(--gold-dark); }
.link-row { display: flex; flex-wrap: wrap; gap: 10px 24px; }

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 30px;
  border-radius: 999px;
  font: 600 .92rem/1 var(--sans);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transform: translate(var(--mx, 0), var(--my, 0));
  transition: transform .45s var(--ease), color .35s, background-color .35s, border-color .35s, box-shadow .45s;
}
.btn--sm { --h: 42px; padding: 0 20px; font-size: .84rem; }
.btn--lg { --h: 62px; padding: 0 34px; font-size: 1rem; }
.btn__icon { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover .btn__icon:not(.btn__icon--lead) { transform: translateX(4px); }

.btn--gold {
  background: var(--gold-grad);
  color: var(--ink);
  box-shadow: 0 12px 32px -14px rgba(201, 169, 110, .7);
}
.btn--gold::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .6) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 1s var(--ease);
}
.btn--gold:hover::before { transform: translateX(130%); }
.btn--gold:hover { box-shadow: 0 16px 44px -14px rgba(201, 169, 110, .95); }

.btn--ghost { border: 1px solid rgba(246, 241, 233, .28); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); background: rgba(201, 169, 110, .08); }

.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark:hover { background: var(--plum); }

.round-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background-color .3s, color .3s, border-color .3s;
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- preloader ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed;
  inset: calc(-1 * var(--bleed)) 0;
  padding-block: var(--bleed);
  z-index: 250;
  display: grid;
  place-items: center;
  background: var(--bg);
  /* failsafe: never block the page if the script does not run */
  animation: preloader-failsafe .01s 6s forwards;
}
.preloader__inner { width: min(62vw, 330px); text-align: center; }
.preloader__logo { width: 100%; height: auto; overflow: visible; }
.preloader__logo .draw path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.preloader__logo .fill-base, .preloader__logo .fill-top { opacity: 0; transition: opacity .8s var(--ease); }
.preloader__logo .fill-base { fill: var(--gold); }
.preloader__logo .fill-top { fill: var(--ivory); }
.preloader.is-drawing .draw path { animation: draw 1.7s var(--ease-in-out) forwards; animation-delay: var(--d, 0s); }
.preloader.is-filled .fill-base, .preloader.is-filled .fill-top { opacity: 1; }
.preloader.is-filled .draw { opacity: 0; transition: opacity .8s .3s; }
.preloader__caption {
  margin-top: 22px;
  font: 600 .68rem/1 var(--sans);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .9s .4s, transform .9s .4s var(--ease);
}
.preloader.is-drawing .preloader__caption { opacity: 1; transform: none; }
.preloader.is-leaving {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease-in-out);
}
.preloader.is-quick { transition: opacity .4s; opacity: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes preloader-failsafe { to { visibility: hidden; opacity: 0; } }

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: transform .55s var(--ease), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(18, 13, 22, .74);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-101%); visibility: hidden; transition: transform .55s var(--ease), background-color .4s, border-color .4s, visibility 0s .55s; }
.header.menu-open { background: transparent; border-bottom-color: transparent; backdrop-filter: none; transform: none; }

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
  width: min(100% - 2 * var(--gutter), 1400px);
  margin-inline: auto;
}

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { width: 40px; height: 40px; object-fit: contain; transition: transform .8s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__name { display: block; font: 500 1.55rem/1 var(--serif); letter-spacing: .01em; color: var(--ivory); }
.brand__tag {
  display: block;
  margin-top: 5px;
  font: 600 .58rem/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative;
  padding: 8px 13px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ivory); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

/* language switch PL | UA */
.lang {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.lang__opt {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  font: 700 .72rem/1 var(--sans);
  letter-spacing: .12em;
  color: var(--muted);
  transition: color .3s, background-color .3s;
}
.lang__opt:hover { color: var(--ivory); }
.lang__opt.is-active { background: var(--gold-grad); color: var(--ink); }

.burger {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.burger span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed;
  inset: calc(-1 * var(--bleed)) 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--bleed) + var(--header-h) + 28px) var(--gutter) calc(var(--bleed) + 32px);
  background:
    radial-gradient(600px 400px at 100% var(--bleed), rgba(92, 58, 128, .45), transparent 70%),
    var(--bg);
  overflow-y: auto;
  visibility: hidden;
  clip-path: circle(0 at calc(100% - 44px) calc(var(--bleed) + 38px));
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
}
.menu.is-open {
  visibility: visible;
  clip-path: circle(150% at calc(100% - 44px) calc(var(--bleed) + 38px));
  transition: clip-path .8s var(--ease-in-out);
}
.menu__nav { display: flex; flex-direction: column; }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
  font: 400 clamp(2.3rem, 10vw, 3.6rem)/1.15 var(--serif);
  color: var(--ivory);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s, transform .7s var(--ease);
}
.menu__link span { font: 600 .74rem var(--sans); letter-spacing: .12em; color: var(--gold); }
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__link:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: .3s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: .35s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: .4s; }
.menu.is-open .menu__link:nth-child(5) { transition-delay: .45s; }
.menu.is-open .menu__link:nth-child(6) { transition-delay: .5s; }
.menu__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  opacity: 0;
  transition: opacity .6s .55s;
}
.menu.is-open .menu__foot { opacity: 1; }

.socials { display: flex; gap: 10px; }
.socials__link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ivory);
  transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.socials__link svg { width: 20px; height: 20px; }
.socials__link:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-3px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 120px;
  overflow: clip;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.glow--violet {
  width: min(70vw, 960px);
  aspect-ratio: 1;
  right: -18%;
  top: -30%;
  background: radial-gradient(circle, rgba(98, 60, 138, .75), rgba(98, 60, 138, 0) 65%);
}
.glow--gold {
  width: min(50vw, 640px);
  aspect-ratio: 1;
  left: -18%;
  bottom: -35%;
  background: radial-gradient(circle, rgba(201, 169, 110, .26), rgba(201, 169, 110, 0) 65%);
}
.hero__lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(246, 241, 233, .04) 0 1px, transparent 1px 16.666%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.hero__title {
  margin-bottom: 30px;
  font: 400 clamp(3.6rem, 8.4vw, 8rem)/.9 var(--serif);
  letter-spacing: -.03em;
  color: var(--ivory);
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .08em .16em 0; margin-bottom: -.08em; }
.hero__title .line:nth-child(2) { padding-left: clamp(28px, 6vw, 100px); }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 480px; margin-bottom: 38px; font-size: 1.06rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px clamp(24px, 4vw, 52px);
  max-width: 580px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__facts strong { display: block; margin-bottom: 6px; font: 500 1.9rem/1 var(--serif); color: var(--ivory); }
.hero__facts span { font-size: .82rem; color: var(--muted); }

.hero__visual { position: relative; height: clamp(520px, 74vh, 720px); }
.hero__depth { position: absolute; will-change: transform; }
.hero__depth:first-child { top: 0; bottom: 0; right: 6%; width: min(430px, 68%); }
.hero__depth:first-child::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--line-gold);
  border-radius: 999px 999px 40px 40px;
}
.hero__depth--small { left: 0; bottom: 4%; width: clamp(150px, 15vw, 220px); }
.hero__depth--badge { left: 6%; top: 6%; }
.hero__depth--chip1 { right: -2%; bottom: 14%; }
.hero__depth--chip2 { left: -4%; top: 44%; }

.arch { position: relative; overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); }
.hero__photo--main { height: 100%; }
.hero__photo--main img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--small {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--bg);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.hero__photo--small img { width: 100%; height: 100%; object-fit: cover; }

.badge {
  position: relative;
  width: clamp(118px, 11vw, 156px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(18, 13, 22, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-gold);
}
.badge__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.badge__text text { font: 600 12.5px var(--sans); letter-spacing: .12em; fill: var(--gold-light); }
.badge__mark { width: 40%; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(36, 26, 46, .72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ivory);
  white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.hero__depth--chip2 .chip { animation-delay: -3s; }
.chip svg { width: 18px; height: 18px; color: var(--gold); }
.chip-wrap { margin: 0; }
@keyframes bob { 50% { transform: translateY(-9px); } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue__line { position: relative; width: 1px; height: 52px; overflow: hidden; background: var(--line); }
.scroll-cue__line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: var(--gold);
  animation: drip 2.2s var(--ease-in-out) infinite;
}
@keyframes drip { to { top: 100%; } }

/* hero intro (after the preloader) */
.js .intro { opacity: 0; transform: translateY(26px); }
.js .is-ready .intro {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s);
}
.js .hero__title .line > span { transform: translateY(130%); }
.js .is-ready .hero__title .line > span { transform: none; transition: transform 1.3s var(--ease); }
.js .is-ready .hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.js .is-ready .hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.js .hero__photo--main { clip-path: inset(100% 0 0 0 round 999px 999px var(--radius) var(--radius)); }
.js .hero__photo--main img { transform: scale(1.3); }
.js .is-ready .hero__photo--main {
  clip-path: inset(0 0 0 0 round 999px 999px var(--radius) var(--radius));
  transition: clip-path 1.6s var(--ease-in-out) .15s;
}
.js .is-ready .hero__photo--main img { transform: none; transition: transform 2.4s var(--ease) .15s; }
.js .hero__depth:first-child::before { opacity: 0; transform: translate(-22px, -22px); }
.js .is-ready .hero__depth:first-child::before { opacity: 1; transform: none; transition: opacity 1s .9s, transform 1.4s var(--ease) .9s; }
.js .hero__photo--small { transform: scale(0); }
.js .is-ready .hero__photo--small { transform: none; transition: transform 1.2s var(--ease) .8s; }
.js .badge { transform: scale(.4) rotate(-90deg); opacity: 0; }
.js .is-ready .badge { transform: none; opacity: 1; transition: transform 1.4s var(--ease) 1s, opacity .8s 1s; }

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 28px 0;
  border-block: 1px solid var(--line);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee span { font: italic 400 clamp(2.1rem, 4.6vw, 3.8rem)/1.1 var(--serif); color: var(--ivory); white-space: nowrap; }
.marquee span.is-outline { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.marquee svg { width: 22px; height: 22px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
/* endless animations stop while their block is off screen (class set by main.js) */
.is-paused, .is-paused * { animation-play-state: paused; }

/* ---------- about ---------- */
.about__grid {
  display: grid;
  grid-template-columns: .85fr 1fr;
  align-items: center;
  gap: clamp(48px, 8vw, 128px);
}
.about__media { position: relative; max-width: 470px; }
.about__photo { aspect-ratio: 730 / 1096; }
.about__photo img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; }
/* glass card over the lower part of the photo, right of the hand on the hip (glove stays visible) */
.about__caption {
  position: absolute;
  left: 34%;
  right: -16%;
  bottom: 6%;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(30, 22, 38, .84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  font: italic 500 2.2rem/1.05 var(--serif);
  color: var(--ivory);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.about__caption svg { grid-column: 1; grid-row: 1 / span 3; align-self: start; margin-top: 6px; width: 26px; height: 26px; color: var(--gold); }
.about__caption span { grid-column: 2; margin-top: 8px; font: 600 .68rem/1.6 var(--sans); font-style: normal; letter-spacing: .12em; white-space: nowrap; text-transform: uppercase; color: var(--muted); }
.about__caption small {
  grid-column: 2;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-gold);
  font: italic 400 1.15rem/1.2 var(--serif);
  color: var(--gold-light);
}

.about__lead {
  margin: 30px 0 24px;
  font: 400 clamp(1.5rem, 2.3vw, 2.05rem)/1.38 var(--serif);
  color: var(--ivory);
}
.js [data-highlight] .hw { opacity: .18; transition: opacity .4s; }
.js [data-highlight] .hw.on { opacity: 1; }
.about__text { max-width: 560px; margin-bottom: 36px; color: var(--muted); }

.values { display: grid; }
.values__item { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.values__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  color: var(--gold);
}
.values__icon svg { width: 22px; height: 22px; }
.values h3 { margin-bottom: 4px; font: 600 1rem/1.35 var(--sans); color: var(--ivory); }
.values p { font-size: .92rem; color: var(--muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(72px, 10vw, 130px);
  border-top: 1px solid var(--line);
}
.stats__item { padding: 36px 24px 0; border-left: 1px solid var(--line); }
.stats__item:first-child { border-left: 0; padding-left: 0; }
.stats strong {
  display: block;
  margin-bottom: 8px;
  font: 400 clamp(3rem, 6vw, 5.2rem)/1 var(--serif);
  color: var(--ivory);
  font-variant-numeric: lining-nums;
}
.stats strong i { font-style: normal; color: var(--gold); }
.stats__item > span { font-size: .9rem; color: var(--muted); }

/* ---------- services (light) ---------- */
.services {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding-bottom: calc(var(--section-y) + var(--radius-lg));
}
.price-list { border-top: 1px solid var(--line); }
.price {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto 150px;
  align-items: center;
  gap: 24px;
  padding: 28px 12px;
  border-bottom: 1px solid var(--line);
  transition: padding .6s var(--ease);
}
.price::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ivory-2);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--ease);
}
.price > * { position: relative; }
.price:hover::before { transform: scaleY(1); }
.price:hover { padding-left: 28px; padding-right: 20px; }
.price__num { font: 600 .82rem var(--sans); letter-spacing: .08em; color: var(--gold-dark); }
.price__name { font: 500 clamp(1.45rem, 2.4vw, 2.05rem)/1.12 var(--serif); color: var(--ink); }
.price__desc { margin-top: 5px; font-size: .92rem; color: var(--ink-2); }
.price__time { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-2); white-space: nowrap; }
.price__time svg { width: 17px; height: 17px; color: var(--gold-dark); }
.price__value { text-align: right; font: 500 clamp(1.35rem, 2vw, 1.8rem)/1 var(--serif); color: var(--ink); white-space: nowrap; }

.services__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 48px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--ivory-2);
}
.services__cta p { font: italic 400 clamp(1.3rem, 2vw, 1.65rem)/1.3 var(--serif); color: var(--ink); }

.hover-img {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30;
  width: 250px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px 24px 24px;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 30px 60px -20px rgba(30, 21, 38, .5);
  transition: opacity .35s;
}
.hover-img.is-visible { opacity: 1; }
.hover-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- academy ---------- */
.academy {
  margin-top: calc(-1 * var(--radius-lg));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--bg-deep);
  overflow: clip;
}
.academy__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.academy__bg .glow--violet { top: -10%; right: -25%; opacity: .7; }
.academy > .container { position: relative; }

.academy__intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 40px clamp(40px, 7vw, 100px);
  margin-bottom: clamp(56px, 8vw, 100px);
}
.academy__lead > p { margin-bottom: 28px; font-size: 1.05rem; color: var(--muted); }
.perks { display: flex; flex-wrap: wrap; gap: 10px; }
.perks li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .85rem;
  font-weight: 500;
  color: var(--ivory);
}
.perks svg { width: 17px; height: 17px; color: var(--gold); }

.courses { display: grid; gap: 28px; }
.course {
  position: relative;
  padding: clamp(26px, 4vw, 52px);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #2b1f37 0%, #1b1324 62%, #161019 100%);
  border: 1px solid rgba(201, 169, 110, .2);
  box-shadow: 0 -24px 60px -36px rgba(0, 0, 0, .9);
  overflow: hidden;
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--cover, 0) * .05));
}
.course::before {
  content: "";
  position: absolute;
  right: -18%;
  top: -45%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201, 169, 110, .14), transparent 62%);
  pointer-events: none;
}
.course::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-deep);
  opacity: calc(var(--cover, 0) * .6);
  pointer-events: none;
}
.course__top { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }
.course__num { font: italic 400 3.6rem/.9 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--gold); }
.course__badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(201, 169, 110, .14);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.course__body { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); }
.course__title { margin-bottom: 18px; font: 400 clamp(2rem, 3.6vw, 3.2rem)/1.04 var(--serif); color: var(--ivory); }
.course__desc { max-width: 520px; margin-bottom: 26px; color: var(--muted); }
.course__meta { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.course__meta li { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ivory); }
.course__meta svg { width: 18px; height: 18px; color: var(--gold); }
.course__label { margin-bottom: 14px; font: 600 .72rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.checklist svg { width: 18px; height: 18px; margin-top: 3px; color: var(--gold); }
.course__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.course__price { font: 400 clamp(2rem, 3vw, 2.7rem)/1 var(--serif); color: var(--ivory); }
.course__price span { display: block; margin-bottom: 8px; font: 600 .68rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* stacking cards (only when there is room for a whole card) */
@media (min-width: 1024px) and (min-height: 760px) {
  .course { position: sticky; top: calc(var(--header-h) + 20px + var(--i) * 16px); }
}

/* process */
.process { margin-top: clamp(100px, 12vw, 170px); }
.steps { position: relative; margin-top: 56px; }
.steps__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.steps__line span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps__item { position: relative; padding-top: 38px; }
.steps__dot {
  position: absolute;
  left: 0;
  top: -6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--bg-deep);
  transition: background-color .4s, box-shadow .4s;
}
.steps__item.is-active .steps__dot { background: var(--gold); box-shadow: 0 0 0 7px rgba(201, 169, 110, .16); }
.steps__num { font: italic 400 1.15rem var(--serif); color: var(--gold); }
.steps h3 { margin: 8px 0 10px; font: 500 1.65rem/1.15 var(--serif); color: var(--ivory); }
.steps p { font-size: .93rem; color: var(--muted); }

/* certificate */
.cert-block {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  margin-top: clamp(110px, 13vw, 180px);
}
.cert-block__text > p { max-width: 520px; margin: 24px 0 36px; color: var(--muted); }
.models {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--line-gold);
  background: rgba(201, 169, 110, .05);
}
.models__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: var(--ink);
}
.models__icon svg { width: 20px; height: 20px; }
.models h3 { margin-bottom: 6px; font: 500 1.5rem/1.2 var(--serif); color: var(--ivory); }
.models p { margin-bottom: 14px; font-size: .93rem; color: var(--muted); }

.cert-block__visual { perspective: 1400px; }
.cert {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  aspect-ratio: 297 / 210;
  border-radius: 8px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .7s var(--ease);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(201, 169, 110, .35);
}
.cert.is-tilting { transition: transform .12s linear; }
.cert__paper {
  position: absolute;
  inset: 0;
  padding: 3.4%;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(120% 90% at 20% 0%, #fffdf9 0%, #f5eee2 60%, #efe5d4 100%);
  color: var(--ink);
  container-type: inline-size;
}
.cert__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2cqw 6cqw;
  text-align: center;
  border: 1px solid rgba(156, 122, 64, .6);
  outline: 1px solid rgba(156, 122, 64, .3);
  outline-offset: -1.2cqw;
}
.cert__logo { width: 13cqw; margin-bottom: 1cqw; }
.cert__title { font: 500 6.2cqw/1 var(--serif); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.cert__subtitle { margin-top: 1.3cqw; font: 600 1.35cqw/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--gold-dark); }
.cert__for { margin-top: 2.8cqw; font: italic 400 1.9cqw/1.2 var(--serif); color: var(--ink-2); }
.cert__name {
  margin: .4cqw 0 1cqw;
  padding: 0 5cqw .6cqw;
  border-bottom: 1px solid rgba(156, 122, 64, .55);
  font: italic 500 5.2cqw/1.15 var(--serif);
  color: var(--ink);
}
.cert__course { font: 400 1.6cqw/1.55 var(--sans); color: var(--ink-2); }
.cert__course strong { font-weight: 700; color: var(--ink); }
.cert__foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 4cqw;
  width: 100%;
  margin-top: 2.6cqw;
  font: 500 1.25cqw/1.3 var(--sans);
  color: var(--ink-2);
}
.cert__foot > div { display: flex; flex-direction: column; align-items: center; }
.cert__line { display: block; width: 100%; height: 1px; margin: .5cqw 0; background: rgba(30, 21, 38, .35); }
.cert__sign { font: italic 500 2.7cqw/1 var(--serif); color: var(--ink); }
.cert__seal {
  display: grid;
  place-items: center;
  width: 8cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f1dfb6, #c9a96e 55%, #9c7a40);
  box-shadow: inset 0 0 0 .45cqw rgba(255, 255, 255, .28), 0 .6cqw 1.6cqw rgba(156, 122, 64, .45);
}
.cert__seal img { width: 52%; filter: brightness(.25) sepia(.4); }
.cert__no { position: absolute; right: 2.2cqw; bottom: 1.6cqw; font: 600 1.05cqw var(--sans); letter-spacing: .12em; color: var(--ink-2); }
.cert__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, .55), transparent 42%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.cert:hover .cert__shine { opacity: 1; }

/* ---------- gallery ---------- */
.gallery { position: relative; background: var(--bg-deep); }
.gallery__pin { position: relative; }
/* default (touch / small screens / no JS): intro on top, swipeable row of photos */
.gallery__track { padding: 88px 0 104px; }
.gallery__intro { padding: 0 var(--gutter); margin-bottom: 40px; }
.gallery__items {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  padding: 0 var(--gutter) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery__items::-webkit-scrollbar { display: none; }
.gallery__intro p:not(.eyebrow) { max-width: 340px; margin: 22px 0 26px; color: var(--muted); }

.work {
  position: relative;
  flex: none;
  height: clamp(340px, 58vh, 580px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 26px;
  scroll-snap-align: start;
  cursor: zoom-in;
  background: var(--bg-2);
}
.work--tall { aspect-ratio: 3 / 4; border-radius: 999px 999px 26px 26px; }
.work--low { height: clamp(280px, 46vh, 460px); transform: translateY(7vh); }
.work--sm { height: clamp(290px, 49vh, 495px); }  /* ~15% smaller square */
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.work:hover img { transform: scale(1.06); }
.gallery__more {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  flex: none;
  width: clamp(220px, 22vw, 300px);
  aspect-ratio: 1;
  margin-right: var(--gutter);
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  text-align: center;
  font: italic 400 1.6rem/1.2 var(--serif);
  color: var(--ivory);
  scroll-snap-align: end;
  transition: background-color .5s, transform .6s var(--ease);
}
.gallery__more svg { width: 34px; height: 34px; color: var(--gold); }
.gallery__more:hover { background: rgba(201, 169, 110, .08); transform: rotate(-6deg); }
.gallery__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px; height: 1px; background: var(--line); }
.gallery__progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* pinned horizontal scroll (desktop, enabled by JS) */
.gallery.is-pinned .gallery__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.gallery.is-pinned .gallery__track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  padding: 0 var(--gutter);
  will-change: transform;
}
.gallery.is-pinned .gallery__intro { flex: none; width: min(440px, 82vw); margin: 0; padding: 0 40px 0 0; }
.gallery.is-pinned .gallery__items { padding: 0; overflow: visible; scroll-snap-type: none; }

/* ---------- reviews (light) ---------- */
.reviews { border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding-bottom: 32px; }
.reviews__nav { display: flex; gap: 10px; }
.reviews__track {
  --pad: max(var(--gutter), (100vw - var(--container)) / 2);
  display: flex;
  gap: 24px;
  padding: 10px var(--pad) 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
  cursor: grab;
}
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: none;
  width: clamp(288px, 34vw, 440px);
  padding: 36px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(30, 21, 38, .06);
  box-shadow: 0 30px 60px -42px rgba(30, 21, 38, .45);
  scroll-snap-align: start;
}
.review::before {
  content: "\201D";
  position: absolute;
  right: 28px;
  top: 4px;
  font: 400 7rem/1 var(--serif);
  color: rgba(201, 169, 110, .35);
}
.review__source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 .7rem/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.review__source svg { width: 17px; height: 17px; }
.review blockquote { flex: 1; font: 400 1.38rem/1.45 var(--serif); color: var(--ink); }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  font: italic 500 1.35rem var(--serif);
  color: var(--gold-light);
}
.review__name { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.reviews__progress { height: 2px; margin-top: 30px; overflow: hidden; border-radius: 2px; background: var(--line); }
.reviews__progress span {
  display: block;
  width: calc(var(--w, .3) * 100%);
  height: 100%;
  background: var(--ink);
  transform: translateX(var(--x, 0%));
}

/* ---------- faq (light) ---------- */
.faq { padding-top: clamp(64px, 8vw, 110px); padding-bottom: calc(var(--section-y) + var(--radius-lg)); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 40px clamp(40px, 7vw, 110px); }
.faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__head > p:not(.eyebrow) { max-width: 360px; margin: 20px 0 22px; color: var(--ink-2); }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc__btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  text-align: left;
  font: 500 clamp(1.25rem, 2vw, 1.6rem)/1.3 var(--serif);
  color: var(--ink);
}
.acc__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.acc__icon svg { width: 18px; height: 18px; }
.acc__btn:hover .acc__icon { border-color: var(--ink); }
.acc__btn[aria-expanded="true"] .acc__icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc__panel > div { overflow: hidden; visibility: hidden; transition: visibility 0s .55s; }
.acc.is-open .acc__panel > div { visibility: visible; transition: visibility 0s; }
.acc__panel p { padding: 0 64px 26px 0; color: var(--ink-2); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }

/* ---------- contact ---------- */
.contact {
  margin-top: calc(-1 * var(--radius-lg));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--bg);
  overflow: clip;
}
.contact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.contact__bg .glow--violet { top: 10%; right: -25%; opacity: .55; }
.contact__bg .glow--gold { left: -10%; top: -30%; bottom: auto; }
.contact > .container { position: relative; }
.contact__title {
  margin-bottom: clamp(48px, 7vw, 90px);
  font: 400 clamp(3.4rem, 9vw, 8.6rem)/.94 var(--serif);
  letter-spacing: -.03em;
  color: var(--ivory);
}
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px clamp(40px, 7vw, 110px); }
.contact__intro p { max-width: 460px; margin-bottom: 34px; font-size: 1.08rem; color: var(--muted); }
/* buttons stacked, all as wide as the widest one */
.contact__actions { display: inline-flex; flex-direction: column; align-items: stretch; gap: 14px; }
.contact__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.contact__list li { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); min-width: 0; }
.contact__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  color: var(--gold);
}
.contact__icon svg { width: 20px; height: 20px; }
.contact__list div { min-width: 0; }
.contact__list li.contact__center { grid-column: 1 / -1; justify-content: center; }
.contact__list small {
  display: block;
  margin-bottom: 3px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__list a, .contact__list span { font-weight: 500; color: var(--ivory); overflow-wrap: anywhere; transition: color .3s; }
.contact__list a:hover { color: var(--gold-light); }

/* ---------- footer ---------- */
.footer { padding: 24px 0 36px; background: var(--bg); }
.footer__logo { max-width: 500px; margin: 0 auto 64px; padding-top: 40px; }
.footer__logo img { width: 100%; }
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__nav a { font-size: .92rem; color: var(--muted); transition: color .3s; }
.footer__nav a:hover { color: var(--ivory); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--ivory); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: calc(-1 * var(--bleed)) 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: calc(var(--bleed) + 72px) 16px;
  background: rgba(10, 7, 12, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .4s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { max-width: min(92vw, 920px); transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open .lightbox__figure { transform: none; }
.lightbox__figure img { max-height: 76vh; width: auto; margin-inline: auto; border-radius: 18px; }
.lightbox .round-btn { position: absolute; color: var(--ivory); border-color: rgba(246, 241, 233, .22); }
.lightbox .round-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.lightbox__close { top: calc(var(--bleed) + 18px); right: 18px; }
.lightbox__prev { left: 18px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 18px; top: 50%; translate: 0 -50%; }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 280;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, .7);
    pointer-events: none;
    opacity: 0;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .4s, border-color .4s, opacity .4s;
  }
  .cursor.is-on { opacity: 1; }
  .cursor.is-link { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(201, 169, 110, .12); }
  .cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gold); border-color: var(--gold); }
  .cursor__label {
    font: 700 .68rem var(--sans);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0;
    transform: scale(.6);
    transition: opacity .3s, transform .4s var(--ease);
  }
  .cursor.is-label .cursor__label { opacity: 1; transform: none; }
}

/* ---------- back to top & mobile CTA ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(36, 26, 46, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ivory);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.to-top__icon { position: relative; width: 20px; height: 20px; }

.mobile-cta { display: none; }

/* ---------- scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(100% 0 0 0 round 999px 999px var(--radius) var(--radius));
  transition: clip-path 1.5s var(--ease-in-out);
}
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 999px 999px var(--radius) var(--radius)); }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .07em .1em 0; margin: 0 -.07em -.1em 0; }
.js [data-split] .w > span { display: inline-block; transform: translateY(125%); transition: transform 1.15s var(--ease); transition-delay: calc(var(--wi, 0) * 55ms); }
.js [data-split].is-in .w > span { transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
}

@media (max-width: 960px) {
  .hero { padding-bottom: 96px; }
  .hero__grid, .about__grid, .academy__intro, .course__body, .cert-block, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__visual { height: clamp(420px, 105vw, 600px); max-width: 560px; width: 100%; margin-inline: auto; }
  .hero__depth:first-child { right: 8%; width: 66%; }
  .hero__depth--chip2 { left: 0; top: 56%; }
  .hero__depth--chip1 { right: 0; bottom: 4%; }
  .scroll-cue { display: none; }

  .about__media { margin-inline: auto; width: 100%; }
  .about__caption { right: -8%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  /* the third figure gets its own row, centred under the two above */
  .stats__item:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-inline: 0; text-align: center; }
  .stats__item:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 36px; }

  .faq__head { position: static; }

  .steps__line { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps__line span { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .steps__list { grid-template-columns: 1fr; gap: 36px; }
  .steps__item { padding: 0 0 0 44px; }
  .steps__dot { top: 6px; left: 0; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; --radius-lg: 32px; }
  .brand__tag { display: none; }
  .header__cta { display: none; }

  /* phone: the card covers the belly, right of the glove on the hip (the glove stays visible) */
  .about__caption { left: 34%; right: -2%; bottom: 9%; column-gap: 12px; padding: 16px 18px; border-radius: 20px; font-size: 1.5rem; }
  .about__caption svg { width: 22px; height: 22px; margin-top: 4px; }
  .about__caption span { font-size: .58rem; letter-spacing: .1em; }
  .about__caption small { margin-top: 10px; padding-top: 10px; font-size: .98rem; }

  .hero { padding-top: calc(var(--header-h) + 20px); }
  .hero__grid { gap: 28px; }
  .hero__visual { order: -1; height: min(112vw, 440px); }
  .hero__depth:first-child { right: 4%; width: 60%; }
  .hero__depth:first-child::before { inset: 14px -14px -14px 14px; }
  .hero__depth--small { width: 36%; bottom: 2%; }
  .hero__depth--badge { left: 2%; top: 2%; }
  .badge { width: 104px; }
  .hero__depth--chip2 { display: none; }
  .hero__depth--chip1 { right: 0; bottom: -2%; }
  .hero__eyebrow { letter-spacing: .18em; }
  .hero__title { font-size: clamp(3.2rem, 15vw, 4.4rem); margin-bottom: 22px; }
  .hero__title .line:nth-child(2) { padding-left: 18px; }
  .hero__lead { font-size: 1rem; margin-bottom: 28px; }
  .hero__actions { margin-bottom: 40px; }
  .hero__actions .btn { flex: 1 1 auto; padding: 0 22px; }
  .hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 16px; }
  .hero__facts strong { font-size: 1.45rem; }
  .hero__facts span { font-size: .74rem; }

  .price { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 22px 4px; }
  .price:hover { padding-left: 12px; padding-right: 12px; }
  .price__num { display: none; }
  .price__main { grid-column: 1 / -1; }
  /* rows without a length: name and price on one line */
  .price:has(.price__time:empty) .price__main { grid-column: auto; }
  .price__time:empty { display: none; }
  .price__value { font-size: 1.5rem; }
  .services__cta { padding: 24px; }

  .course__num { font-size: 2.8rem; }
  .course__foot .btn { width: 100%; }

  .contact__list { grid-template-columns: 1fr; }
  .contact__list li.contact__center { justify-content: flex-start; }
  .contact__actions { display: flex; }
  .contact__actions .btn { width: 100%; }

  .review { padding: 28px; }
  .reviews__nav { display: none; }

  .acc__panel p { padding-right: 0; }

  .gallery__track { padding-block: 72px 96px; }
  .work { height: 82vw; max-height: 460px; }
  .work--low { height: 70vw; transform: none; }
  .work--sm { height: 70vw; }

  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    display: flex;
    gap: 8px;
    padding: 7px;
    border-radius: 999px;
    background: rgba(26, 18, 32, .86);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
    transform: translateY(150%);
    visibility: hidden;
    transition: transform .6s var(--ease), visibility 0s .6s;
  }
  .mobile-cta.is-visible { transform: none; visibility: visible; transition: transform .6s var(--ease); }
  .mobile-cta__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); color: var(--ivory); }
  .mobile-cta__icon svg { width: 20px; height: 20px; }
  .mobile-cta__main { flex: 1; --h: 48px; }
  .to-top { display: none; }
  .footer { padding-bottom: 100px; }
}

@media (max-width: 420px) {
  .hero__depth--badge { left: 0; top: 0; }
  .chip { padding: 10px 14px; font-size: .76rem; }
}

/* ---------- touch screens: lighter rendering for older phones ---------- */
/* blur behind glass panels and the full-screen film grain cost a lot on mobile GPUs;
   nearly opaque tints look almost the same on a small screen */
@media (hover: none) {
  body::after { display: none; }
  .header.is-scrolled:not(.menu-open), .badge, .chip, .about__caption, .lightbox, .to-top, .mobile-cta {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .header.is-scrolled:not(.menu-open) { background: rgba(18, 13, 22, .96); }
  .badge { background: rgba(18, 13, 22, .78); }
  .chip { background: rgba(36, 26, 46, .95); }
  .about__caption { background: rgba(30, 22, 38, .95); }
  .to-top { background: rgba(36, 26, 46, .95); }
  .mobile-cta { background: rgba(26, 18, 32, .97); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal], .js .intro, .js [data-split] .w > span, .js .hero__title .line > span,
  .js .hero__photo--main, .js .hero__photo--main img, .js .hero__photo--small, .js .badge {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .js [data-highlight] .hw { opacity: 1; }
}
