/* levgentattoo.com — design system (rebuilt from the live Tilda homepage, approved by the owner).
   Font: Arial only (the live site loads no web font). Accent #ff4d00, ink #121212, white ground.
   Layout grid of the standard blocks = Tilda grid: container 1200 (cols 260/360/560, 40px gutters) → ≤1200: 960
   (cols 220/300/460, 20px gutters) → ≤960: one column, 640 max, 20px side padding. Zero blocks: see zero.css. */
:root {
  --ink: #121212;
  --accent: #ff4d00;
  --bg: #ffffff;
  --muted: #525252;
  --cream: #fdf8f5;      /* text popups */
  --sand: #fcf7f3;       /* mobile header bar */
  --line: #ebebeb;       /* slider bullets, product gallery ground */
  --font: Arial, sans-serif;
  --radius: 6px;
  --header-h: 70px;
}
@media (max-width: 960px) { :root { --header-h: 74.75px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: none; }
a { color: var(--accent); text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3 { margin: 0; font-weight: inherit; font-size: inherit; }
ul { margin: 0; }
body.is-locked { overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 8px; top: 8px; transform: translateY(-200%); z-index: 1001; padding: 8px 12px; background: var(--ink); color: #fff; font: 600 14px var(--font); border-radius: var(--radius); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* scrollbar (live T1084) */
::-webkit-scrollbar { width: 8px; height: 8px; background-color: #121212; }
::-webkit-scrollbar-track { background-color: #121212; }
::-webkit-scrollbar-thumb { background-color: #ff4d00; border-radius: 6px; }
@supports (-moz-appearance: none) { :root { scrollbar-width: thin; scrollbar-color: #ff4d00 #121212; } }

/* ---------- buttons (Tilda t-btnflex sizes) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; border: 0; border-radius: var(--radius);
  font-family: var(--font); font-weight: 600; color: #fff; text-align: center; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease-in-out, color .2s ease-in-out, border-color .2s ease-in-out; }
.btn--sm { font-size: 13px; line-height: 18.2px; padding: 8.4px 15px; }   /* 35px high */
.btn--md { font-size: 14px; line-height: 19.6px; padding: 12.7px 30px; }  /* 45px high */
.btn--dark { background: #000; }
.btn--ink { background: var(--ink); font-weight: 700; }
.btn--accent { background: var(--accent); }
.btn--hdr { font-size: 14px; line-height: 19.6px; padding: 10.2px 30px; }  /* 40px high */
.btn--hdr:hover, .btn--hdr:focus-visible { background: #000; }
.btn--outline { background: transparent; color: #222; border: 2px solid #222; font-weight: 400; text-transform: uppercase; font-size: 14px; line-height: 1.55; padding: 10px 30px; }

/* ---------- header (live T1272) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 990; }
.hdr { position: relative; height: 70px; padding: 0 40px; background: #fff; }
.hdr__nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.hdr__list { display: flex; gap: 30px; list-style: none; padding: 0; }
.hdr__link { position: relative; display: block; font: 500 16px/normal var(--font); color: var(--ink); text-transform: uppercase; transition: color .3s ease-in-out; }
.hdr__link::after { content: ""; position: absolute; left: 0; bottom: 20%; width: 100%; height: 100%; opacity: 0; box-shadow: inset 0 -1px 0 0 var(--accent); transition: all .3s ease; pointer-events: none; }
.hdr__link:hover, .hdr__link:focus-visible, .hdr__link[aria-current="page"] { color: var(--accent); }
.hdr__link:hover::after, .hdr__link:focus-visible::after, .hdr__link[aria-current="page"]::after { opacity: 1; bottom: 0; }
.hdr__right { display: flex; align-items: center; gap: 30px; }
.hdr__icon { display: block; padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; }
.hdr__insta svg { display: block; width: 25px; height: 25px; }
.hdr__search { width: 19px; height: 19px; }
.hdr__search svg { width: 19px; height: 19px; }
.hdr__logo { position: absolute; top: 13px; left: 50%; transform: translateX(-50%); line-height: 0; }
.hdr__logo img { width: 125px; height: 45px; }
.hdr__search--mob, .hdr__burger { display: none; }

@media (max-width: 960px) {
  .hdr { height: var(--header-h); padding: 0; background: var(--sand); }
  .hdr__logo { left: 20px; top: 15px; transform: none; }
  .hdr__search--mob { display: block; position: absolute; top: 27px; right: 62px; }
  .hdr__burger { display: block; position: absolute; top: 29px; right: 16px; width: 30px; height: 16px; padding: 0; border: 0; background: none; cursor: pointer; }
  .hdr__burger span { position: absolute; left: 4px; width: 22px; height: 2px; background: var(--ink); transition: transform .2s ease, top .2s ease; }
  .hdr__burger span:first-child { top: 4px; }
  .hdr__burger span:last-child { top: 10px; }
  .hdr__burger[aria-expanded="true"] span:first-child { top: 7px; transform: rotate(45deg); }
  .hdr__burger[aria-expanded="true"] span:last-child { top: 7px; transform: rotate(-45deg); }
  .hdr__nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; overflow-y: auto; flex-direction: column; justify-content: flex-start; height: auto; padding: 30px 20px 40px; background: #fff; }
  .hdr.is-open .hdr__nav { display: flex; }
  .hdr__list { flex-direction: column; align-items: center; gap: 20px; }
  .hdr__right { flex-direction: column; gap: 25px; margin-top: 40px; }
  .hdr__search--desk { display: none; }
}

/* ---------- T603 image grid (4 columns → 2 at ≤960) ---------- */
.g603 { padding-bottom: 150px; }
.g603__grid { display: flex; flex-wrap: wrap; padding: 0 10px 20px; }
.g603__tile { display: block; width: 25%; padding: 20px 10px 0; line-height: 0; cursor: zoom-in; }
.g603__tile img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 960px) {
  .g603__grid { padding: 0 5px 10px; }
  .g603__tile { width: 50%; padding: 10px 5px 0; }
}
@media (max-width: 480px) { .g603 { padding-bottom: 105px; } }

/* ---------- T776 store cards ---------- */
.s776 { background: #fff; }
.s776--courses { padding-bottom: 150px; }
.s776__grid { display: flex; flex-wrap: wrap; row-gap: 60px; max-width: 1200px; margin: 0 auto; }
.c776 { width: 260px; margin: 0 20px; padding-bottom: 8px; text-align: left; }
.s776--courses .c776 { width: 360px; }
.c776__link { display: block; color: inherit; }
.c776__imgwrap { position: relative; display: block; padding-bottom: 110%; overflow: hidden; }
.c776__imgwrap img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s ease-in-out; }
.c776__img2 { opacity: 0; }
@media (hover: hover) { .c776__link:hover .c776__img2 { opacity: 1; } }
.c776__title { display: block; margin-top: 20px; font: 800 8px/1.35 var(--font); text-transform: uppercase; color: #000; }
.c776__price { display: block; margin-top: 12px; font: 800 18px/1.35 var(--font); color: #000; }
.c776__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 38px; }
@media (max-width: 1200px) {
  .s776__grid { max-width: 960px; }
  .c776 { width: 220px; margin: 0 10px; }
  .s776--courses .c776 { width: 300px; }
  .c776__btns { flex-direction: column; align-items: flex-start; }
  .c776__btns .btn--md { padding-left: 25px; padding-right: 25px; }
}
@media (max-width: 960px) {
  .s776__grid { max-width: 640px; }
  .c776, .s776--courses .c776 { width: 50%; margin: 0; padding: 0 20px 8px; }
  .c776__btns { flex-direction: row; align-items: center; gap: 4px; }
}
@media (max-width: 640px) {
  .s776__grid { padding: 0 10px; }
  .c776, .s776--courses .c776 { padding: 0 10px 8px; }
  .c776__btns { flex-direction: column; align-items: stretch; gap: 8px; }
  .c776__btns .btn--md { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 480px) {
  .s776--courses { padding-bottom: 135px; }
  .c776, .s776--courses .c776 { width: 100%; }
  .c776__imgwrap { padding-bottom: 0; }
  .c776__imgwrap .c776__img { position: static; height: auto; }
  .c776__btns .btn--sm { padding-top: 10.9px; padding-bottom: 10.9px; }
  .c776__btns .btn--md { padding-top: 15.2px; padding-bottom: 15.2px; }
}

/* ---------- T799 text + slider ---------- */
.s799 { display: flex; align-items: flex-start; max-width: 1200px; margin: 0 auto; padding-bottom: 135px; }
.s799__text { width: 360px; margin: 0 20px; }
.s799__title { font: 400 35px/1.17 var(--font); letter-spacing: -1.8px; color: #000; }
.s799__descr { margin-top: 16px; margin-bottom: 20px; font: 300 9px/1.55 var(--font); text-transform: uppercase; color: #000; }
.s799__slider { width: 560px; margin: 0 20px 0 220px; }
@media (max-width: 1200px) {
  .s799 { max-width: 960px; }
  .s799__text { width: 300px; margin: 0 10px; }
  .s799__slider { width: 460px; margin: 0 10px 0 170px; }
}
@media (max-width: 960px) {
  .s799 { display: block; max-width: 640px; }
  .s799__text, .s799__slider { width: auto; margin: 0 20px; }
  .s799__slider { margin-top: 30px; }
}
@media (max-width: 640px) {
  .s799__title { font-size: 24px; }
  .s799__descr { margin-top: 16px; line-height: 1.45; }
}
@media (max-width: 480px) { .s799 { padding-bottom: 90px; } .s799__text .btn--sm { padding-top: 10.9px; padding-bottom: 10.9px; } }

/* ---------- slider (T799, product popups) ---------- */
.slider { position: relative; }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide, .pp__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; line-height: 0; }
.slider__slide img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.slider__arrow { position: absolute; top: 50%; width: 30px; height: 30px; margin-top: -15px; padding: 0; border: 0; border-radius: 50%; background: #fff; cursor: pointer; z-index: 2; }
.slider[data-dots] .slider__arrow { top: calc(50% - 22.5px); }
.slider__arrow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border: solid #000; border-width: 1px 1px 0 0; transform: translate(-65%, -50%) rotate(45deg); }
.slider__arrow--prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.slider__arrow--prev { left: 30px; }
.slider__arrow--next { right: 30px; }
.slider__arrow--accent { background: var(--accent); }
.slider__arrow--accent::before { border-color: #fff; border-width: 2px 2px 0 0; }
.slider__dots { display: flex; justify-content: center; padding: 8.5px 0; height: 45px; }
.slider__dot { width: 18px; height: 28px; padding: 10px 5px; border: 0; background: none; cursor: pointer; }
.slider__dot::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.slider__dot[aria-current="true"]::before, .slider__dot:hover::before { background: var(--accent); }
@media (max-width: 640px) {
  .slider__arrow { width: 24px; height: 24px; margin-top: -12px; }
  .slider__arrow--prev { left: 5px; } .slider__arrow--next { right: 5px; }
}

/* ---------- popups: overlay + text popup (T390) ---------- */
.tp, .bk, .pp, .lb { position: fixed; inset: 0; z-index: 1000; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.tp[hidden], .bk[hidden], .pp[hidden], .lb[hidden], .srch[hidden] { display: none; }
.tp, .bk { display: flex; align-items: flex-start; justify-content: center; padding: 65px 20px; background: rgba(0, 0, 0, .6); }
.tp__close { position: fixed; top: 20px; right: 20px; width: 23px; height: 23px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; z-index: 2; }
.tp__close svg { width: 23px; height: 23px; display: block; }
.tp__box { width: 560px; max-width: 100%; margin: auto; background: var(--cream); }
.tp__img { display: block; width: 100%; height: auto; }
.tp__body { padding: 45px; }
.tp__title { font: 400 30px/1.23 var(--font); color: #000; }
.tp__descr { margin-top: 15px; font: 400 16px/1.55 var(--font); color: var(--ink); }
.tp__descr a { color: var(--accent); }
.tp__body .btn--outline { margin-top: 30px; }
@media (max-width: 640px) {
  .tp { padding: 65px 20px; }
  .tp__body { padding: 20px; }
  .tp__title { font-size: 24px; }
}

/* booking popup cover (T1040; the quiz form itself opens on the live Tilda site) */
.bk { align-items: center; }
.bk__box { display: flex; width: 960px; max-width: 100%; height: 600px; margin: auto; overflow: hidden; border-radius: 10px; background: #fff; }
.bk__text { display: flex; flex-direction: column; justify-content: center; width: 50%; padding: 40px 46px; }
.bk__title { font: 400 35px/1.23 var(--font); color: #000; }
.bk__descr { margin-top: 20px; font: 400 9px/1.55 var(--font); text-transform: uppercase; color: #000; }
.bk__start { display: inline-flex; align-self: flex-start; align-items: center; gap: 12px; margin-top: 38px; padding: 15px 30px; border-radius: 3px; background: linear-gradient(90deg, #ff7f45 0%, #ff4d00 100%); color: #fff; font: 400 16px/22px var(--font); text-transform: uppercase; }
.bk__start svg { width: 14px; height: 12px; }
.bk__img { width: 50%; }
.bk__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
@media (max-width: 960px) {
  .bk { padding: 0; align-items: stretch; }
  .bk__box { flex-direction: column-reverse; justify-content: flex-end; width: 100%; height: auto; min-height: 100%; border-radius: 0; }
  .bk__text, .bk__img { width: 100%; }
  .bk__img { height: 388px; flex: none; }
  .bk__text { padding: 30px 20px 30px; }
  .bk__title { font-size: 26px; }
  .bk__start { align-self: stretch; justify-content: center; margin-top: 30px; }
  .bk .tp__close { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: rgba(255,255,255,.75); color: #000; }
  .bk .tp__close svg { width: 20px; height: 20px; }
}

/* product popup (T776 "Learn more") */
.pp { background: #fff; }
.pp__bar { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; }
.pp__back { padding: 0; border: 0; background: none; font: 400 14px var(--font); color: #555; cursor: pointer; }
.pp__close { width: 23px; height: 23px; padding: 0; border: 0; background: none; color: #000; cursor: pointer; }
.pp__close svg { width: 23px; height: 23px; display: block; }
.pp__inner { display: flex; align-items: flex-start; max-width: 1200px; margin: 37px auto 60px; }
.pp__gallery { width: 560px; margin: 0 20px; flex: none; }
.pp__gallery .slider__track { background: var(--line); }
.pp__slide img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.slider__thumbs { display: flex; justify-content: center; gap: 5px; margin-top: 4px; }
.slider__thumb { width: 60px; height: 60px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .6; line-height: 0; }
.slider__thumb[aria-current="true"] { opacity: 1; }
.slider__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp__info { width: 560px; margin: 0 20px; }
.pp__title { font: 800 24px/1.35 var(--font); text-transform: uppercase; color: #000; }
.pp__price { margin-top: 12px; font: 800 18px/1.35 var(--font); color: #000; }
.pp__buy { margin-top: 20px; padding: 12.7px 30px; font-size: 14px; }
.pp__descr { margin-top: 35px; font: 400 14px/1.55 var(--font); color: #000; }
.pp__descr ul { padding-left: 20px; }
@media (max-width: 1200px) { .pp__gallery, .pp__info { width: 460px; margin: 0 10px; } }
@media (max-width: 960px) {
  .pp__inner { display: block; max-width: 640px; margin-top: 10px; }
  .pp__gallery, .pp__info { width: auto; margin: 0 20px; }
  .pp__info { margin-top: 30px; }
}

/* image lightbox (T603 zoom) */
.lb { display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .97); }
.lb__img { max-width: calc(100vw - 120px); max-height: calc(100vh - 80px); width: auto; height: auto; }
.lb__btn { position: fixed; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 0; background: none; cursor: pointer; color: #000; }
.lb__btn svg { width: 20px; height: 34px; }
.lb__prev { left: 20px; } .lb__next { right: 20px; }
.lb .pp__close { position: fixed; top: 20px; right: 20px; }
@media (max-width: 640px) { .lb__img { max-width: 100vw; } .lb__prev { left: 0; } .lb__next { right: 0; } }

/* search overlay (live T985 widget look) */
.srch { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.2); }
.srch__bar { display: flex; align-items: center; justify-content: center; gap: 40px; height: 150px; padding: 0 20px; background: #fff; box-shadow: 0 0 20px rgba(0,0,0,.12); }
.srch__form { position: relative; width: 760px; max-width: 100%; }
.srch__ico { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: #999; }
.srch__input { width: 100%; height: 60px; padding: 0 20px 0 56px; border: 1px solid var(--accent); border-radius: 5px; font: 400 16px var(--font); color: var(--ink); outline: none; -webkit-appearance: none; }
.srch__close { width: 28px; height: 28px; padding: 0; border: 0; background: none; color: var(--accent); cursor: pointer; flex: none; }
.srch__close svg { width: 28px; height: 28px; display: block; }
.srch__results { list-style: none; max-width: 760px; margin: 0 auto; padding: 0; background: #fff; }
.srch__results:empty { display: none; }
.srch__results a { display: block; padding: 14px 20px; border-bottom: 1px solid #eee; font: 400 16px var(--font); color: var(--ink); }
.srch__results a:hover, .srch__results a:focus-visible { color: var(--accent); }
@media (max-width: 640px) { .srch__bar { gap: 15px; height: 100px; } .srch__input { height: 50px; } }

/* ---------- footer (live T420 + T303 credit tooltip) ---------- */
.f420 { padding: 75px 0 90px; background: #fff; }
.f420__grid { display: flex; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.f420__col { position: relative; width: 260px; margin: 0 20px; }
.f420__logo { display: block; width: 120px; line-height: 0; }
.f420__logoimg { display: block; width: 120px; height: auto; }
.f420__social { display: flex; gap: 8px; list-style: none; padding: 0; margin-top: 34px; }
.f420__social a { display: block; width: 25px; height: 25px; line-height: 0; }
.f420__social img, .f420__social svg { width: 25px; height: 25px; object-fit: contain; }
.f420__text { margin-top: 25px; font: 300 12px/1.55 var(--font); text-transform: uppercase; color: var(--muted); }
.f420__text a { color: var(--ink); }
.f420__title { font: 400 20px/1.2 var(--font); letter-spacing: .6px; text-transform: capitalize; color: var(--ink); }
.f420__descr { margin-top: 14px; font: 400 9px/1.55 var(--font); letter-spacing: .3px; text-transform: uppercase; color: var(--ink); }
.f420__descr ul { list-style: none; padding: 0; }
.f420__descr li + li { margin-top: 10px; }
.f420__descr a { color: var(--ink); }
.f420__descr a:hover, .f420__text a:hover { color: var(--accent); }
.credit { position: absolute; left: 0; bottom: 30px; z-index: 5; width: 300px; padding: 20px; background: #111; color: #fff; font: 400 14px/1.45 var(--font);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.credit__title { font-weight: 700; margin-bottom: 8px; }
.credit a { color: #fff; text-decoration: underline; }
.f420__col:has(.credit-link:hover) .credit, .f420__col:has(.credit-link:focus-visible) .credit, .credit:hover, .credit.is-open { opacity: 1; visibility: visible; }
@media (max-width: 1200px) {
  .f420__grid { max-width: 960px; }
  .f420__col { width: 220px; margin: 0 10px; }
}
@media (max-width: 960px) {
  .f420__grid { max-width: 640px; }
  .f420__col { width: 50%; margin: 0 0 30px; padding: 0 20px; }
}
@media (max-width: 640px) {
  .f420__col { width: 100%; }
  .credit { width: auto; right: 20px; left: 20px; }
}
