:root {
  /* Палитра TENET: эспрессо и тёплый песок с их сайта, золото клубной карты — редкий акцент */
  --bg: #F7F3EF;
  --paper: #FFFFFF;
  --sand: #EFE7E0;
  --sand-2: #E6DCD3;
  --taupe: #CDBDB0;
  --espresso: #4D3E39;
  --espresso-deep: #352A26;
  --ink: #2A2220;
  --ink-2: #5E524D;
  --mute: #7D706A;
  --gold: #9C7F4C;
  --line: rgba(42, 34, 32, .09);
  --stroke: #B39C86;
  /* Единый стандарт линий: фон и первый экран — 1px и .5, внутри карточек — тише */
  --line-op: .5;
  --line-op-card: .16;
  --display: "Tenor Sans", "Golos Text", sans-serif;
  --font: "Golos Text", "Segoe UI", sans-serif;
  --gutter: clamp(16px, 6vw, 96px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-sm: 0 1px 2px rgba(42, 34, 32, .05);
  --shadow: 0 8px 24px rgba(42, 34, 32, .08);
  --header-h: 120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--espresso); outline-offset: 4px; }
.sprite { position: absolute; }
.wrap { width: 100%; margin-inline: auto; padding-inline: var(--gutter); }

/* Город: показываем адрес и телефон выбранной студии */
html[data-city="nn"] .only-vrn, html[data-city="vrn"] .only-nn { display: none !important; }

/* Подпись бренда: три черты Ξ из логотипа */
.bars-mark { flex: none; display: inline-block; width: 12px; height: 10px; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 70% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 15px; font-weight: 500; color: var(--espresso); }
.title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.8vw, 56px); line-height: 1.1; letter-spacing: -.01em; }
.subtitle { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.intro { margin: 0; max-width: 380px; }
.intro--wide { max-width: 600px; }
.intro { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.section-more { display: flex; justify-content: flex-start; margin-top: 40px; }

.ico { flex: none; width: 18px; height: 18px; transition: transform .3s var(--ease); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-size: 15px; font-weight: 500; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate; transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn--lg { height: 52px; padding: 0 24px; }
.btn--main { background: var(--espresso); color: #fff; }
.btn--main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--espresso-deep); transform: translateX(-101%); transition: transform .45s var(--ease); }
.btn--main:hover::before { transform: none; }
.btn--main:hover .ico { transform: translate(2px, -2px); }
.btn--soft { background: var(--sand); color: var(--espresso); border-color: var(--line); }
.btn--soft:hover { background: var(--sand-2); }
/* Точка опоры задана заранее: если ставить её только в :hover, при уходе курсора значок прыгает */
.btn--soft .bars-mark { transform-origin: left center; transition: transform .4s var(--ease); }
.btn--soft:hover .bars-mark { transform: scaleX(1.3); }
.btn--ghost { color: var(--espresso); border-color: rgba(77, 62, 57, .3); }
.btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--espresso); clip-path: circle(0 at 0 100%); transition: clip-path .5s var(--ease); }
.btn--ghost:hover { color: #fff; border-color: var(--espresso); }
.btn--ghost:hover::before { clip-path: circle(150% at 0 100%); }
.btn--ghost:hover .ico { transform: translateX(4px); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 239, .92); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); box-shadow: 0 1px 0 var(--line), 0 12px 32px -20px rgba(42, 34, 32, .28); transition: box-shadow .3s, transform .45s var(--ease); will-change: transform; }
/* Верхняя строка уезжает сдвигом, а не схлопыванием высоты — раскладка страницы не прыгает */
.header.is-scrolled { transform: translateY(-40px); box-shadow: 0 1px 0 var(--line), 0 16px 40px -18px rgba(42, 34, 32, .32); }
.header-util { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line); overflow: hidden; transition: opacity .3s var(--ease); }
.header.is-scrolled .header-util { opacity: 0; pointer-events: none; }
.util-info { display: flex; align-items: center; gap: 24px; margin: 0; }
.util-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

.city-switch { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--sand); }
.city-switch button { height: 26px; padding: 0 10px; white-space: nowrap; border: 0; border-radius: 6px; background: transparent; font-size: 13px; color: var(--ink-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.city-switch button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.city-switch button { transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.city-switch button[aria-pressed="false"]:hover { background: rgba(255, 255, 255, .6); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(77, 62, 57, .14); }
.city-short { display: none; }
.city-switch--wide { display: flex; margin-top: 20px; }
.city-switch--wide button { flex: 1; height: 40px; font-size: 15px; }

.header-main { height: 80px; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
.brand { flex: none; display: grid; justify-items: center; gap: 6px; color: var(--ink); }
.brand-mark { width: 116px; height: 17px; }
.brand span { font-size: 8.5px; letter-spacing: .32em; text-transform: lowercase; color: var(--ink-2); padding-left: .32em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); font-size: 15px; }
.nav a { position: relative; padding: 4px 0; white-space: nowrap; transition: color .2s; }
.nav a:not(.phone)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--espresso); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--espresso); }
.nav a:hover::after { transform: scaleX(1); }
.nav .phone { font-weight: 500; padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.header-actions { display: flex; align-items: center; gap: 8px; }

.socials { display: flex; gap: 8px; }
.social { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--espresso); border: 1px solid rgba(77, 62, 57, .22); overflow: hidden; isolation: isolate; transition: color .2s, border-color .2s; }
.social::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--espresso); transform: scale(0); transition: transform .6s var(--ease); }
.social svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.social:hover { color: #fff; border-color: var(--espresso); }
.social:hover::before { transform: scale(1); }
.social:hover svg { transform: translateY(-1px); }

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.drawer { padding: 8px var(--gutter) 24px; border-top: 1px solid var(--line); }
.drawer-nav { display: grid; }
.drawer-nav a { font-family: var(--display); font-size: 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer-phone { display: block; margin-top: 16px; font-weight: 500; font-size: 18px; }
.drawer-hours { color: var(--ink-2); font-size: 14px; margin: 4px 0 20px; }
.drawer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.drawer .social { width: 40px; height: 40px; }
.drawer .social svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 80px); min-height: min(calc(100vh - var(--header-h) - 52px), 820px); padding-block: clamp(40px, 5vw, 72px); }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(42px, 5vw, 76px); line-height: 1.04; letter-spacing: -.02em; max-width: 640px; }
.lead { margin: 24px 0 32px; max-width: 480px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.hero-proof { display: flex; align-items: stretch; gap: 12px; margin-top: 48px; }
.team-card { display: flex; align-items: center; gap: 16px; padding: 12px 20px 12px 12px; font: inherit; color: inherit; text-align: left; cursor: pointer; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 16px; transition: background-color .3s, border-color .3s; }
.team-card:hover { background: var(--paper); border-color: rgba(77, 62, 57, .2); }
.avatars { display: flex; align-items: center; }
.avatars > * { flex: none; }
.avatars > * + * { margin-left: -14px; }
.avatars img, .avatars .more { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 3px solid var(--paper); }
.avatars .more { display: grid; place-items: center; background: var(--espresso); color: #fff; transition: background-color .5s var(--ease); }
.avatars .more svg { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.team-card:hover .more { background: var(--espresso-deep); }
.team-card:hover .more svg { transform: rotate(90deg); }
.team-text { display: block; max-width: 200px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.team-text b { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1; color: var(--ink); margin-bottom: 4px; }

.map-mini { position: relative; flex: none; width: 104px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 3px solid var(--paper); box-shadow: var(--shadow); }
.map-mini img, .studio-map img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) sepia(.25) saturate(.9) brightness(1.03) contrast(.92); transition: transform .6s var(--ease); }
.map-mini:hover img { transform: scale(1.12); }
.map-mini-label { position: absolute; left: 6px; right: 6px; bottom: 6px; text-align: center; font-size: 10px; font-weight: 500; padding: 4px; border-radius: 6px; background: rgba(255, 255, 255, .9); color: var(--espresso); }
.pin { position: absolute; left: 50%; top: 46%; width: 20px; height: 20px; margin: -20px 0 0 -10px; border-radius: 50% 50% 50% 0; background: var(--espresso); transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(42, 34, 32, .25); }
.pin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }

.hero-visual { position: relative; display: grid; justify-items: center; }
.hero-lines { position: absolute; left: 50%; top: 50%; width: 132%; max-width: none; transform: translate(-50%, -50%); pointer-events: none; overflow: visible; }
.hl, .bg-lines use, .service-shape use, .review-shape use { fill: none; stroke: var(--stroke); stroke-width: 1; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hl { stroke-opacity: var(--line-op); transform-box: fill-box; transform-origin: center; }
.is-loaded .hl { animation: draw 3.2s var(--ease) forwards, drift 26s ease-in-out 3.2s infinite; }
.is-loaded .hl--bars { animation-delay: .5s, 3.7s; animation-duration: 2.4s, 20s; }
.is-loaded .hl--orbit { animation-delay: .9s, 4.1s; animation-duration: 3s, 30s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drift { 0%, 100% { transform: rotate(0) translateY(0); } 50% { transform: rotate(3deg) translateY(-8px); } }

.gallery { position: relative; z-index: 1; display: block; width: min(440px, 100%); }
.gallery-frame { position: relative; display: block; aspect-ratio: 4 / 5.2; border-radius: 16px; overflow: hidden; background: var(--sand-2); box-shadow: var(--shadow); }
.gallery::before { content: ""; position: absolute; inset: -12px -12px -12px 24px; border: 1px solid rgba(77, 62, 57, .2); border-radius: 22px; transition: inset .5s var(--ease); pointer-events: none; }
.gallery:hover::before { inset: -18px -18px -18px 18px; }
/* Три черты Ξ слева от рамки */
.gallery-bars { position: absolute; left: -28px; top: 32px; display: grid; gap: 8px; }
.gallery-bars i { display: block; height: 1.5px; width: 18px; background: var(--espresso); transition: width .5s var(--ease); }
.gallery-bars i:nth-child(2) { width: 12px; }
.gallery:hover .gallery-bars i { width: 24px; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ease), transform 6s linear; }
.slide.is-active { opacity: 1; transform: scale(1); }
.gallery-caption { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 10px; background: rgba(247, 243, 239, .92); font-size: 14px; font-weight: 500; white-space: nowrap; }
.gallery-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: var(--espresso); color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }
.gallery-dots { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 28px; }
.gallery-dots button { width: 44px; height: 20px; padding: 0; border: 0; background: none; display: grid; align-items: center; }
.gallery-dots span { position: relative; display: block; height: 2px; border-radius: 2px; background: rgba(77, 62, 57, .2); overflow: hidden; }
.gallery-dots span::after { content: ""; position: absolute; inset: 0; background: var(--espresso); transform: scaleX(0); transform-origin: left; }
.gallery-dots .is-active span::after { animation: progress var(--slide-ms, 5000ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

.cursor { position: fixed; left: 0; top: 0; z-index: 60; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; display: grid; place-items: center; background: var(--espresso); color: #fff; pointer-events: none; opacity: 0; transform: translate3d(var(--x, -100px), var(--y, -100px), 0) scale(.4); transition: opacity .25s, transform .25s var(--ease); }
.cursor svg { width: 28px; height: 28px; }
.cursor.is-on { opacity: .94; transform: translate3d(var(--x), var(--y), 0) scale(1); }
@media (hover: hover) and (pointer: fine) { .gallery { cursor: none; } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: var(--espresso); color: var(--sand); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 24px; padding: 14px 12px; font-size: 15px; white-space: nowrap; }
.ticker span::after { content: ""; width: 10px; height: 8px; margin-left: 12px; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 70% 1px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Background lines (scroll-triggered) ---------- */
.services, .complexes, .about, .team, .reviews { position: relative; overflow: hidden; }
.bg-lines { position: absolute; z-index: 0; pointer-events: none; overflow: visible; }
.bg-lines use { stroke-opacity: var(--line-op); }
.is-in > .bg-lines use { animation: draw 3.4s var(--ease) forwards; }
.is-in > .bg-lines { animation: float 26s ease-in-out 3.4s infinite; }
@keyframes float { 0%, 100% { transform: rotate(0) translate(0, 0); } 50% { transform: rotate(-3deg) translate(10px, -12px); } }
.services > .wrap, .complexes > .wrap, .about > .wrap, .team > .wrap, .reviews > .wrap, .footer > .wrap { position: relative; z-index: 1; }
.bg-lines--services { width: 420px; height: 420px; right: -170px; top: 300px; }
.bg-lines--complexes { width: 760px; height: 760px; left: -280px; bottom: -320px; }
.bg-lines--about { width: 320px; height: 320px; right: -60px; top: 40px; }
.bg-lines--team { width: 460px; height: 460px; left: -200px; top: -140px; }
.bg-lines--reviews { width: 620px; height: 620px; right: -240px; bottom: -260px; }
.bg-lines--footer { width: 420px; height: 420px; right: -80px; top: -120px; }

/* ---------- Services ---------- */
.services { padding: clamp(72px, 7vw, 112px) 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service { position: relative; min-height: 400px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; border-radius: 16px; overflow: hidden; isolation: isolate; background: var(--sand); transition: box-shadow .5s var(--ease), opacity .8s var(--ease), transform .8s var(--ease); }
.service:nth-child(2) { background: var(--sand-2); }
.service:nth-child(3) { background: #E9E1D9; }
.service:hover { box-shadow: var(--shadow); }
.service-top { display: grid; gap: 16px; justify-items: start; }
.service-num { font-size: 14px; font-weight: 500; color: var(--espresso); font-variant-numeric: tabular-nums; }
.bubbles { display: flex; }
.bubbles img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); position: relative; transition: transform .4s var(--ease); }
/* Порядок наложения задан явно: transform при наведении иначе поднимает кружок над соседом */
.bubbles img:nth-child(1) { z-index: 1; }
.bubbles img:nth-child(2) { z-index: 2; }
.bubbles img:nth-child(3) { z-index: 3; }
.bubbles img + img { margin-left: -14px; }
.service:hover .bubbles img:nth-child(1) { transform: translateX(-4px); }
.service:hover .bubbles img:nth-child(3) { transform: translateX(4px); }
.service h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.15; }
.service p { margin: 0; padding-right: 52px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.service-shape { position: absolute; right: -36px; top: -40px; width: 200px; height: 200px; z-index: -1; overflow: visible; transition: transform 1.2s var(--ease); }
.service-shape use { stroke: var(--espresso); stroke-opacity: var(--line-op-card); }
.service.is-in .service-shape use { animation: draw 2.6s var(--ease) .2s forwards; }
.service:hover .service-shape { transform: rotate(10deg) scale(1.05); }

.arrow-btn { position: absolute; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(77, 62, 57, .3); display: grid; place-items: center; color: var(--espresso); overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s var(--ease); }
.arrow-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--espresso); border-radius: 50%; transform: scale(0); transition: transform .6s var(--ease); }
.arrow-btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.service:hover .arrow-btn, .review--all:hover .arrow-btn { color: #fff; border-color: var(--espresso); }
.service:hover .arrow-btn::before, .review--all:hover .arrow-btn::before { transform: scale(1); }

.top-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 80px 0 32px; }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 280px 280px; gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: 16px; background: var(--sand-2); color: #fff; isolation: isolate; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(35, 26, 22, .5), rgba(35, 26, 22, 0) 40%, rgba(35, 26, 22, 0) 60%, rgba(35, 26, 22, .45)); pointer-events: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s var(--ease); }
/* Наведение на карточку двигает только фото */
.tile:hover img { transform: scale(1.07); filter: brightness(1.05); }
.tile-link { position: absolute; inset: 0; z-index: 2; }
.tile-text { position: absolute; top: 24px; left: 24px; right: 24px; z-index: 2; display: grid; gap: 4px; pointer-events: none; }
.tile-text b { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.15; }
.tile-text span { font-size: 14px; opacity: .9; }
.tile-price { position: absolute; left: 24px; bottom: 24px; z-index: 2; font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; pointer-events: none; }
/* Наведение на кнопку двигает только кнопку */
.tile-btn { position: absolute; right: 20px; bottom: 20px; z-index: 3; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--espresso); isolation: isolate; overflow: hidden; transition: color .5s var(--ease); }
.tile-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--espresso); transform: scale(0); transition: transform .6s var(--ease); }
.tile-btn svg { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.tile-btn:hover { color: #fff; }
.tile-btn:hover::before { transform: scale(1); }
.tile--a { grid-column: span 4; grid-row: span 2; }
.tile--b { grid-column: span 4; grid-row: span 2; }
.tile--c { grid-column: span 4; }
.tile--d { grid-column: span 4; }

/* ---------- Complexes ---------- */
.complexes { padding: clamp(72px, 7vw, 112px) 0; background: var(--sand); }
.complexes-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.club-text { margin: 24px 0 40px; max-width: 460px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
/* Клубная карта как настоящий предмет: наклон, мягкая тень */
.club-card { width: min(380px, 90%); aspect-ratio: 900 / 571; border-radius: 16px; overflow: hidden; transform: rotate(-4deg); box-shadow: 0 2px 4px rgba(42, 34, 32, .1), 0 24px 48px -16px rgba(42, 34, 32, .35); transition: transform .8s var(--ease); }
.club-card img { width: 100%; height: 100%; object-fit: cover; }
.cx-list { display: grid; gap: 12px; }
.cx { position: relative; display: grid; grid-template-columns: 88px 1fr auto 52px; align-items: center; gap: 20px; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow-sm); transition: box-shadow .3s, opacity .8s var(--ease), transform .8s var(--ease); }
.cx img { width: 88px; height: 88px; border-radius: 10px; object-fit: cover; transition: transform .8s var(--ease); }
.cx h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.2; }
.cx p { margin: 0; font-size: 14px; color: var(--mute); }
.cx-price { display: grid; justify-items: end; gap: 2px; margin: 0; }
.cx-price b { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cx-price s { font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }
.cx--accent { background: var(--espresso); color: #fff; }
.cx--accent p, .cx--accent .cx-price s { color: rgba(255, 255, 255, .7); }
.cx-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(77, 62, 57, .3); color: var(--espresso); position: relative; overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s var(--ease); }
.cx-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--espresso); border-radius: 50%; transform: scale(0); transition: transform .6s var(--ease); }
.cx-btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.cx-btn:hover { color: #fff; border-color: var(--espresso); }
.cx-btn:hover::before { transform: scale(1); }
.cx--accent .cx-btn { color: #fff; border-color: rgba(255, 255, 255, .5); }
.cx--accent .cx-btn::before { background: #fff; }
.cx--accent .cx-btn:hover { color: var(--espresso); border-color: #fff; }

/* ---------- About ---------- */
.about { padding: clamp(72px, 7vw, 112px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(12, minmax(0, 1fr)); gap: 12px; aspect-ratio: 1 / 1.06; }
.frame { position: relative; overflow: hidden; background: var(--sand-2); box-shadow: var(--shadow); border-radius: 14px; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.4s var(--ease), transform 6s linear; }
.frame img.is-active { opacity: 1; transform: scale(1); }
.frame--tall { grid-column: 1 / 7; grid-row: 1 / 9; }
.frame--top { grid-column: 7 / 13; grid-row: 1 / 5; }
.frame--mid { grid-column: 7 / 13; grid-row: 5 / 9; }
.frame--low { grid-column: 1 / 5; grid-row: 9 / 13; }
.frame--round { grid-column: 5 / 9; grid-row: 9 / 13; border-radius: 50%; aspect-ratio: 1; height: 100%; width: auto; justify-self: center; }
.about-copy .title { margin-bottom: 32px; }
.why-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 0; }
.why-list li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.why-list b { font-weight: 500; }
.why-list span { color: var(--ink-2); line-height: 1.55; }
.address { display: grid; grid-template-columns: auto auto 1fr; align-items: end; gap: 32px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; }
.address > div > span { display: block; margin-bottom: 4px; font-size: 13px; color: var(--mute); }
.address b { font-weight: 400; }
.address a { white-space: nowrap; }
.map-mini--sq { justify-self: end; }

/* ---------- Team ---------- */
.team { padding: clamp(72px, 7vw, 112px) 0; background: var(--sand); }
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.member { margin: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); }
/* Фото временные: заказчик заменит их на снимки в высоком разрешении */
.member img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 18%; border-radius: 14px; margin-bottom: 12px; }
.member figcaption { display: grid; gap: 2px; font-size: 14px; color: var(--mute); }
.member b { font-weight: 500; font-size: 16px; color: var(--ink); }

/* ---------- Reviews ---------- */
.reviews { padding: clamp(72px, 7vw, 112px) 0; }
.score { display: flex; align-items: center; gap: 16px; padding: 12px 20px 12px 16px; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.score:hover { box-shadow: var(--shadow); }
.score-num { font-family: var(--display); font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.score-meta { display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 24px; margin: -4px -2px 0; }
.review-track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; position: relative; margin: 0; padding: 24px; border-radius: 16px; background: var(--paper); display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .3s; }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.review figcaption { display: grid; gap: 2px; font-size: 13px; color: var(--mute); }
.review figcaption b { font-size: 16px; font-weight: 500; color: var(--ink); }
.review blockquote { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.review--all { background: var(--espresso); color: #fff; justify-content: flex-end; overflow: hidden; isolation: isolate; min-height: 320px; }
.review--all:hover { box-shadow: var(--shadow); }
.review-shape { position: absolute; right: -24px; top: -24px; width: 220px; height: 220px; z-index: -1; overflow: visible; }
.review-shape use { stroke: #fff; stroke-opacity: .35; }
.review--all.is-in .review-shape use { animation: draw 3s var(--ease) .3s forwards; }
.review-all-num { font-family: var(--display); font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; }
.review-all-text { font-size: 15px; line-height: 1.55; max-width: 220px; opacity: .9; padding-right: 52px; }
.review--all .arrow-btn { color: #fff; border-color: rgba(255, 255, 255, .5); }
.review--all .arrow-btn::before { background: #fff; }
.review--all:hover .arrow-btn { color: var(--espresso); border-color: #fff; }
.review-nav { display: none; gap: 8px; justify-content: flex-end; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(77, 62, 57, .3); background: transparent; color: var(--espresso); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.round-btn svg { width: 18px; height: 18px; }
.round-btn .flip { transform: scaleX(-1); }
.round-btn:hover { background: var(--espresso); color: #fff; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--espresso); color: rgba(255, 255, 255, .72); border-radius: 32px 32px 0 0; padding: clamp(56px, 6vw, 88px) 0 24px; font-size: 15px; }
.footer .bg-lines use { stroke: #fff; stroke-opacity: .18; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .6fr 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
.brand--light { color: #fff; justify-items: start; }
.brand--light span { color: rgba(255, 255, 255, .6); padding-left: 0; }
.footer-brand p { margin: 20px 0; max-width: 260px; line-height: 1.6; }
.footer .social { color: #fff; border-color: rgba(255, 255, 255, .3); width: 40px; height: 40px; }
.footer .social svg { width: 18px; height: 18px; }
.footer .social::before { background: #fff; }
.footer .social:hover { color: var(--espresso); border-color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h3 { margin: 0 0 8px; font-size: 15px; font-weight: 500; color: #fff; }
.footer-col a { width: fit-content; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.studio { display: block; align-self: start; border-radius: 16px; overflow: hidden; background: var(--paper); color: var(--ink); }
.studio-map { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.studio:hover .studio-map img { transform: scale(1.06); }
.studio-text { display: grid; gap: 2px; padding: 16px 20px; font-size: 14px; color: var(--ink-2); }
.studio-text b { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--ink); background: linear-gradient(var(--espresso), var(--espresso)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.studio-text b .ico { width: 16px; height: 16px; color: var(--espresso); opacity: .5; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.studio:hover .studio-text b { background-size: 100% 1px; }
.studio:hover .studio-text b .ico { opacity: 1; transform: translate(2px, -2px); }
.studio-phone { margin-top: 4px; font-weight: 500; color: var(--espresso); }

.rating-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.rating { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: background-color .3s, opacity .8s var(--ease), transform .8s var(--ease); }
.rating:hover { background: rgba(255, 255, 255, .12); }
.rating-logo { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 600; font-size: 17px; }
.rating-logo { position: relative; transition: transform .5s var(--ease), background-color .5s var(--ease), color .5s var(--ease); }
.rating-logo::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); opacity: 0; transform: scale(.85); transition: opacity .5s var(--ease), transform .5s var(--ease); }
/* Яндекс: мягкое «дыхание» кружка при наведении на карточку */
.rating:hover .rating-logo--ya { transform: scale(1.06); }
.rating:hover .rating-logo--ya::after { opacity: 1; transform: scale(1); }
.rating-logo--ya { background: #FC3F1D; }
.rating-logo--ya svg { width: 20px; height: 20px; }
.rating-logo--book { background: var(--sand); color: var(--espresso); }
.rating-logo--book svg { width: 18px; height: 18px; }
/* Онлайн-запись: карточка подсвечивается, а кнопка-кружок отвечает отдельно */
.rating-logo--book:hover { background: #fff; transform: scale(1.1); }
.rating-logo--book:hover::after { opacity: 1; transform: scale(1); }
.rating-body { display: grid; gap: 2px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.rating-body b { font-size: 15px; font-weight: 500; color: #fff; }
.rating-badge { margin-left: auto; font-size: 12px; color: var(--espresso); background: var(--sand); padding: 4px 10px; border-radius: 6px; white-space: nowrap; }

.footer-legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; grid-template-columns: auto 1fr; gap: 8px 32px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.footer-legal p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; }
.legal-links a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; transition: color .2s; }
.legal-links a:hover { color: #fff; text-decoration-color: currentColor; }
.footer-copy { grid-column: 1 / -1; }

/* ---------- Dialogs ---------- */
.sheet { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 0; padding: 0; border-radius: 20px; background: var(--bg); color: var(--ink); box-shadow: 0 24px 64px rgba(42, 34, 32, .22); }
.sheet--wide { width: min(860px, calc(100% - 32px)); }
.sheet[open] { animation: sheet-in .4s var(--ease); }
.sheet::backdrop { background: rgba(42, 34, 32, .5); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } }
.sheet-inner { position: relative; padding: clamp(24px, 5vw, 48px); }
.sheet-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; padding: 0; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--espresso); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.sheet-close svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.sheet-close:hover { background: var(--espresso); color: #fff; }
.sheet-close:hover svg { transform: rotate(90deg); }
.sheet h2 { margin: 0 56px 12px 0; font-family: var(--display); font-size: clamp(28px, 4vw, 38px); font-weight: 400; line-height: 1.1; }
.sheet p { margin: 0 0 24px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.sheet p a { color: var(--espresso); text-decoration: underline; text-underline-offset: 3px; }
.sheet .eyebrow { margin-bottom: 8px; }
.fields { display: grid; gap: 16px; }
.fields label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.fields input, .fields select { width: 100%; height: 48px; border: 1px solid rgba(42, 34, 32, .14); background: var(--paper); padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink); border-radius: 10px; }
.fields select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%234D3E39' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 16px center / 20px no-repeat; }
.fields input, .fields select { transition: border-color .3s var(--ease); }
.fields select:hover, .fields input:hover { border-color: rgba(77, 62, 57, .35); }
.fields input:focus, .fields select:focus { outline: 2px solid var(--espresso); outline-offset: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 24px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.check input { flex: none; accent-color: var(--espresso); width: 18px; height: 18px; margin: 1px 0 0; cursor: pointer; }
.check label { cursor: pointer; }
.check a { color: var(--espresso); text-decoration: underline; text-decoration-color: rgba(77, 62, 57, .35); text-underline-offset: 3px; }
.sheet .feedback { margin: 16px 0 0; color: var(--espresso); font-weight: 500; }
.sheet .feedback:empty { display: none; }
.price-groups { display: grid; gap: 24px; margin: 24px 0 32px; }
.price-groups h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 400; font-size: 22px; }
.price-list { margin: 0; }
.price-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-list dt { color: var(--ink-2); }
.price-list dd { margin: 0; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-list s { margin-left: 6px; font-weight: 400; color: var(--mute); }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.team-mini { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 24px 0 32px; }
.team-mini figure { margin: 0; text-align: center; }
.team-mini img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 18%; border-radius: 50%; margin-bottom: 8px; }
.team-mini figcaption { display: grid; gap: 2px; font-size: 13px; color: var(--mute); line-height: 1.35; }
.team-mini b { font-weight: 500; color: var(--ink); font-size: 14px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.is-in { opacity: 1; transform: none; }
.service-grid .reveal:nth-child(2), .mosaic .reveal:nth-child(2), .cx-list .reveal:nth-child(2), .team-grid .reveal:nth-child(2), .review-track .reveal:nth-child(2), .rating-row .reveal:nth-child(2) { transition-delay: .06s; }
.service-grid .reveal:nth-child(3), .mosaic .reveal:nth-child(3), .cx-list .reveal:nth-child(3), .team-grid .reveal:nth-child(3), .review-track .reveal:nth-child(3), .rating-row .reveal:nth-child(3) { transition-delay: .12s; }
.mosaic .reveal:nth-child(4), .cx-list .reveal:nth-child(4), .team-grid .reveal:nth-child(4), .review-track .reveal:nth-child(4) { transition-delay: .18s; }
.team-grid .reveal:nth-child(5) { transition-delay: .24s; }
.reveal.is-in:hover { transition-delay: 0s; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .header-main .nav .phone { display: none !important; }
  .util-addr { display: none; }
  .header-main { gap: 20px; }
  .nav { gap: 18px; }
}
@media (max-width: 1100px) {
  :root { --header-h: 112px; }
  .header-main .nav { display: none; }
  .header-main .header-actions { margin-left: auto; }
  .burger { display: block; }
  .review-track { grid-auto-columns: calc((100% - 16px) / 2.2); }
  .review-nav { display: flex; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-template-columns: 1fr; }
  .legal-links { justify-content: flex-start; }
  .complexes-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1101px) { .drawer { display: none !important; } }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { padding: 24px 0 8px; }
  .gallery { width: min(400px, 84%); }
  .section-top, .top-head { display: block; }
  .intro, .score { margin-top: 20px; }
  .score { display: inline-flex; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service:last-child { grid-column: 1 / -1; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, 300px) repeat(1, 240px); }
  .tile--a, .tile--b { grid-column: span 1; grid-row: span 1; }
  .tile--c, .tile--d { grid-column: span 1; }
  .about-grid { grid-template-columns: 1fr; }
  .collage { max-width: 560px; }
  .team-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .header-main .btn--soft { display: none; }
  .util-hours { display: none; }
}
@media (max-width: 650px) {
  :root { --header-h: 108px; }
  .header-main { height: 68px; }
  .brand-mark { width: 100px; height: 15px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 52px); }
  .hero-proof { flex-wrap: wrap; }
  .team-card { flex: 1 1 100%; }
  .hero-proof > .map-mini { width: 100%; aspect-ratio: 3 / 1; }
  .service-grid { grid-template-columns: 1fr; }
  .service:last-child { grid-column: auto; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(4, 280px); }
  .tile--a, .tile--b, .tile--c, .tile--d { grid-column: auto; grid-row: auto; }
  .cx { grid-template-columns: 64px 1fr 48px; gap: 12px; }
  .cx img { width: 64px; height: 64px; }
  .cx-price { grid-column: 2; grid-row: 2; justify-items: start; display: flex; gap: 8px; align-items: baseline; }
  .cx-btn { grid-column: 3; grid-row: 1 / 3; }
  .collage { gap: 8px; }
  .why-list li { grid-template-columns: 1fr; gap: 4px; }
  .address { grid-template-columns: 1fr 1fr; }
  .map-mini--sq { grid-column: 1 / -1; justify-self: stretch; width: 100%; aspect-ratio: 3 / 1; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .review-track { grid-auto-columns: 86%; }
  .footer { border-radius: 24px 24px 0 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .rating-row { grid-template-columns: 1fr; }
  .team-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  /* В верхней строке шапки «Нижний Новгород» не помещается — короткая подпись */
  .header-util .city-full { display: none; }
  .header-util .city-short { display: inline; }
}
@media (max-width: 400px) {
  /* Узкие телефоны: шапка и плашки рейтингов не должны вылезать за экран */
  .header-main { gap: 12px; }
  .brand span { letter-spacing: .2em; padding-left: 0; }
  .rating { flex-wrap: wrap; row-gap: 8px; }
  .rating-badge { margin-left: 52px; }
}
@media (max-width: 360px) {
  .header-main .btn--main .ico { display: none; }
  .header-util { gap: 8px; }
  .header-util .socials { gap: 4px; }
  .header-util .social { width: 24px; height: 24px; }
  .header-util .social svg { width: 12px; height: 12px; }
}
@media (max-width: 400px) {
  .header-main .btn--main { padding: 0 14px; font-size: 14px; }
  .city-switch button { padding: 0 8px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
