/* ==========================================================================
   Элегия — airy minimal redesign
   ========================================================================== */

:root {
  --bg: #F6F5F1;
  --surface: #FBFBF9;
  --ink: #191B1A;
  --ink-2: #464A47;
  --muted: #7D807B;
  --line: rgba(25, 27, 26, .10);
  --line-soft: rgba(25, 27, 26, .06);
  --accent: #3F5B46;        /* laurel green from the logo */
  --accent-pale: #E7EDE6;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Onest', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(7rem, 16vw, 13rem);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; }
ol { padding: 0; list-style: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent); color: var(--bg); }

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }

.skip { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--bg); transform: translateY(-200%); transition: transform .3s var(--ease-out); }
.skip:focus { transform: none; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

/* ---------- Type ---------- */

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
}
.display em { color: var(--accent); }
.display--md { font-size: clamp(2rem, 4vw, 3.8rem); }

.text { color: var(--ink-2); max-width: 34em; }
.text--lg { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; color: var(--ink); }
.text--muted { color: var(--muted); }

.index {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 14px; color: var(--ink-2);
}
.index .mono { color: var(--accent); }
.index::after { content: ''; width: 48px; height: 1px; background: var(--line); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); position: relative; }
.dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: ping 2.8s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(2.2); opacity: 0; } }

/* ---------- Progress / ambient ---------- */

.progress { position: fixed; inset: 0 0 auto 0; height: 1px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient__blob { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: .5; }
.ambient__blob--a { background: radial-gradient(circle, rgba(63, 91, 70, .07), transparent 60%); top: -30vmax; left: -20vmax; animation: drift 34s ease-in-out infinite alternate; }
.ambient__blob--b { background: radial-gradient(circle, rgba(170, 150, 120, .08), transparent 60%); bottom: -35vmax; right: -25vmax; animation: drift 42s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(12vw, 8vh, 0) scale(1.1); } }

/* ---------- Nav ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px);
  transition: transform .6s var(--ease-out), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(246, 245, 241, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line-soft); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.nav__logo img { width: 104px; }
.nav__links { display: flex; gap: 34px; margin-left: auto; font-size: 14px; }
.nav__links a, .link { position: relative; color: var(--ink-2); transition: color .3s; }
.nav__links a::after, .link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active, .link:hover { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after, .link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__phone { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; padding: 10px 16px; border: 1px solid var(--line); border-radius: 4px; transition: background .3s, color .3s, border-color .3s; }
.nav__phone:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ink); transition: transform .5s var(--ease-out); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 48px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 4rem); font-weight: 300; line-height: 1.15; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.menu-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * 70ms); }
.menu__foot { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 14px; height: 54px; padding: 0 24px;
  border-radius: 4px; font-size: 15px; font-weight: 400; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.btn:active { transform: scale(.98); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: #2E322F; }
.btn--solid:hover svg { transform: translateX(4px); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); background: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost:hover svg { transform: translateY(3px); }

/* ---------- Hero ---------- */

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 120px; }
.hero__media { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__img {
  position: absolute; top: -6%; right: -4%; width: 78%; height: 112%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%), linear-gradient(to top, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(to right, transparent 0%, #000 38%), linear-gradient(to top, transparent 0%, #000 30%);
}
.hero__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%;
  opacity: 0; transform: scale(1.14);
  animation: heroImg 2.6s var(--ease-out) .1s forwards, kenburns 40s ease-in-out 2.7s infinite alternate;
}
@keyframes heroImg { to { opacity: .9; transform: scale(1.06); } }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.14) translate3d(-2%, 1%, 0); } }

.fog { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(246, 245, 241, .95), rgba(246, 245, 241, 0)); filter: blur(10px); will-change: transform; }
.fog--1 { width: 70vw; height: 30vw; left: 10%; bottom: -8vw; animation: fog 28s ease-in-out infinite alternate; }
.fog--2 { width: 55vw; height: 22vw; right: -10%; top: 30%; opacity: .7; animation: fog 36s ease-in-out infinite alternate-reverse; }
.fog--3 { width: 45vw; height: 20vw; left: 35%; top: 8%; opacity: .5; animation: fog 46s ease-in-out infinite alternate; }
@keyframes fog { from { transform: translate3d(-6vw, 0, 0); } to { transform: translate3d(8vw, -2vw, 0); } }

.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(5rem, 17vw, 16.5rem); line-height: .9; letter-spacing: -.035em;
  margin: 28px 0 36px -0.04em; color: var(--ink);
}
.hero__title .ch { display: inline-block; }
.hero__lead { max-width: 30em; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }

.hero__cue { position: absolute; z-index: 2; left: var(--gutter); bottom: 36px; display: flex; align-items: center; gap: 14px; }
.hero__cue-line { width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden; }
.hero__cue-line::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: translateY(-100%); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* Intro choreography */
.js [data-intro] { opacity: 0; transform: translateY(16px); filter: blur(6px); }
.is-loaded [data-intro] { opacity: 1; transform: none; filter: none; transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out), filter 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .hero__title .ch { opacity: 0; transform: translateY(.35em) rotate(4deg); filter: blur(12px); }
.is-loaded .hero__title .ch { opacity: 1; transform: none; filter: none; transition: opacity 1.2s var(--ease-out), transform 1.6s var(--ease-out), filter 1.2s var(--ease-out); transition-delay: calc(.35s + var(--i) * 80ms); }

/* ---------- Marquee ---------- */

.marquee { border-block: 1px solid var(--line-soft); overflow: hidden; padding: 22px 0; position: relative; z-index: 2; background: var(--bg); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 300; color: var(--ink-2); white-space: nowrap; }
.marquee__track i { width: 6px; height: 6px; border: 1px solid var(--accent); transform: rotate(45deg); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; position: relative; }

/* About */
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 72px; }
.about__label { grid-column: 1 / -1; }
.about__body { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 64px; }
.about__row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about__figure { grid-column: 9 / -1; grid-row: 2; align-self: end; }
.about__img { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 2px; }
.about__img img { width: 100%; height: 124%; margin-top: -12%; object-fit: cover; }
.about__figure figcaption { margin-top: 16px; }

.facts { display: flex; flex-direction: column; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts > div:first-child { border-top: 1px solid var(--line); }
.facts dd { text-align: right; color: var(--ink); }

/* Services */
.services { background: var(--surface); border-block: 1px solid var(--line-soft); }
.services__head { display: flex; flex-direction: column; gap: 36px; max-width: 980px; }
.services__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; margin-top: clamp(64px, 9vw, 120px); }
.services__main { display: flex; flex-direction: column; gap: 48px; }

.rings { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; }
.rings__photo { position: absolute; inset: 12%; border-radius: 50%; overflow: hidden; }
.rings__photo img { width: 100%; height: 100%; object-fit: cover; opacity: .82; animation: spin 140s linear infinite; }
.rings__svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.rings__svg circle { stroke: var(--ink); stroke-width: .6; opacity: .35; stroke-dasharray: 1240; stroke-dashoffset: 1240; transition: stroke-dashoffset 2.6s var(--ease-out); }
.rings__svg circle:nth-child(2) { opacity: .2; transition-delay: .25s; }
.rings__svg circle:nth-child(3) { stroke: var(--accent); opacity: .5; transition-delay: .5s; }
.rings.is-in .rings__svg circle { stroke-dashoffset: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

.terms { border-top: 1px solid var(--line); }
.term { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); position: relative; }
.term::before { content: ''; position: absolute; inset: 0; background: var(--accent-pale); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease-out); z-index: 0; }
.term > * { position: relative; z-index: 1; }
.term:hover::before { transform: scaleY(1); }
.term__n { color: var(--accent); padding-left: 4px; }
.term__t { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.12; letter-spacing: -.01em; transition: transform .6s var(--ease-out); }
.term__t em { color: var(--muted); }
.term:hover .term__t { transform: translateX(10px); }

.process { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: clamp(80px, 11vw, 150px); padding-top: 44px; }
.process__line { position: absolute; top: 4px; left: 0; width: 100%; height: 1px; background: rgba(25, 27, 26, .2); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.8s var(--ease-io); }
.process.is-in .process__line { transform: scaleX(1); }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; }
.step__dot { position: absolute; top: -44px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); transform: scale(0); transition: transform .7s var(--ease-out), background .4s; transition-delay: calc(.3s + var(--i) * .5s); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; letter-spacing: -.01em; }
.step p:not(.mono) { color: var(--ink-2); max-width: 22em; font-size: 15.5px; }
.js .step > *:not(.step__dot) { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(.45s + var(--i) * .5s); }
.process.is-in .step__dot { transform: scale(1); background: var(--accent); }
.process.is-in .step > * { opacity: 1; transform: none; }

.rules { display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 24px; margin-top: clamp(72px, 9vw, 120px); padding: 28px 0; border-block: 1px solid var(--line); transition: padding .5s var(--ease-out); }
.rules__t { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 300; }
.rules svg { width: 28px; height: 28px; transition: transform .5s var(--ease-out); }
.rules:hover { padding-inline: 16px; }
.rules:hover svg { transform: translate(4px, -4px); color: var(--accent); }

/* Band */
.band { position: relative; height: clamp(420px, 78vh, 820px); overflow: hidden; display: flex; align-items: flex-end; }
.band__img { position: absolute; inset: -18% 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, var(--bg) 0%, rgba(246, 245, 241, 0) 22%, rgba(246, 245, 241, 0) 60%, rgba(25, 27, 26, .35) 100%); }
.band__quote { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 80px); font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: 1.02; letter-spacing: -.025em; color: #FBFBF9; }
.band__quote em { color: rgba(251, 251, 249, .7); }

/* Price */
.price__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; align-items: end; }
.price__grid > .index { grid-column: 1 / -1; }
.price__figure { grid-column: 1 / span 6; display: flex; align-items: flex-start; font-family: var(--serif); font-weight: 300; font-size: clamp(9rem, 26vw, 24rem); line-height: .82; letter-spacing: -.05em; color: var(--ink); font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; }
.price__approx { font-size: .38em; color: var(--accent); margin-top: .28em; margin-right: .06em; font-style: italic; }
.price__pct { font-size: .42em; margin-top: .14em; margin-left: .04em; color: var(--muted); font-style: italic; }
.reel { display: inline-block; height: .86em; overflow: hidden; }
.reel__col { display: flex; flex-direction: column; transform: translateY(0); }
.reel__col span { height: .86em; display: block; }
.price__figure.is-in .reel__col { transform: translateY(-9em); transform: translateY(calc(-9 * .86em)); transition: transform 2.8s cubic-bezier(.2, .9, .1, 1) .2s; }
.price__text { grid-column: 8 / -1; display: flex; flex-direction: column; gap: 24px; padding-bottom: 2.2rem; }

.download { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 18px 22px 18px 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); width: fit-content; transition: border-color .3s, box-shadow .4s; }
.download:hover { border-color: rgba(25, 27, 26, .25); box-shadow: 0 2px 10px rgba(0, 0, 0, .035); }
.download__icon { width: 44px; height: 44px; border-radius: 4px; background: var(--ink); color: var(--bg); display: grid; place-items: center; overflow: hidden; }
.download__icon svg { width: 18px; height: 18px; }
.download:hover .download__icon svg { animation: dl .9s var(--ease-out); }
@keyframes dl { 0% { transform: none; } 45% { transform: translateY(140%); } 46% { transform: translateY(-140%); } 100% { transform: none; } }
.download__t { display: block; font-size: 16px; font-weight: 400; }
.download__s { display: block; margin-top: 2px; }

/* Contact */
.contact__mail { display: block; margin: 48px 0 clamp(64px, 9vw, 120px); font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 8.4vw, 8.6rem); line-height: 1; letter-spacing: -.035em; position: relative; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.contact__mail::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.08em; height: 1px; background: var(--ink); transform: scaleX(.12); transform-origin: 0 50%; transition: transform .9s var(--ease-out); }
.contact__mail:hover::after { transform: scaleX(1); }
.contact__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.contact__list { display: flex; flex-direction: column; }
.contact__item { padding: 26px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 1.15rem; }
.contact__item:first-child { border-top: 1px solid var(--line); }
.contact__item .link { width: fit-content; color: var(--ink); }
.contact__map { min-height: 440px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.contact__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; filter: grayscale(1) contrast(.92) brightness(1.04); transition: filter .8s; }
.contact__map:hover iframe { filter: grayscale(.2) contrast(1) brightness(1); }
.contact__map--link { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 32px; background: var(--accent-pale); transition: background .4s; }
.contact__map--link .rules__t { display: flex; align-items: center; gap: 14px; }
.contact__map--link svg { width: 26px; height: 26px; transition: transform .5s var(--ease-out); }
.contact__map--link:hover svg { transform: translate(4px, -4px); }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); padding: 56px 0; }
.footer__inner { display: flex; align-items: center; gap: 40px; }
.footer__logo img { width: 112px; }
.footer__req { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-left: auto; }
.footer__top { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 4px; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; flex: none; }
.footer__top svg { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.footer__top:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.footer__top:hover svg { transform: translateY(-3px); }

/* ---------- Scroll reveals ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-stagger] > * { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 32ms); }
.js [data-split].is-in .w > span { transform: none; }

/* clip the children, not the observed element itself — a fully clipped target never intersects */
.js [data-clip] > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-io); }
.js [data-clip] > figcaption { transition-delay: .5s; }
.js [data-clip].is-in > * { clip-path: inset(0 0 0 0); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: block; }
  .about__body { grid-column: 1 / -1; }
  .about__figure { grid-column: 1 / -1; grid-row: auto; }
  .about__img { aspect-ratio: 16 / 10; }
  .price__figure, .price__text { grid-column: 1 / -1; }
  .price__text { padding-bottom: 0; }
}

@media (max-width: 820px) {
  :root { --nav-h: 68px; }
  body { font-size: 16px; }
  .nav__logo img { width: 88px; }
  .hero { align-items: flex-end; padding-bottom: 130px; }
  .hero__img { left: -12%; right: -12%; width: auto; top: 0; height: 56%; -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 60%); mask-image: linear-gradient(to top, transparent 0%, #000 60%); -webkit-mask-composite: source-over; mask-composite: add; }
  .hero__img img { object-position: 78% 30%; }
  .hero__eyebrow { font-size: 10px; letter-spacing: .08em; color: var(--ink); padding: 8px 12px; border-radius: 999px; background: rgba(246, 245, 241, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px var(--line-soft); }
  .hero__actions .btn { flex: 1 1 auto; justify-content: space-between; }
  .about__row { grid-template-columns: 1fr; gap: 40px; }
  .services__grid { grid-template-columns: 1fr; }
  .rings { max-width: 300px; margin: 0 auto; }
  .process { grid-template-columns: 1fr; gap: 48px; padding-top: 0; padding-left: 32px; }
  .process__line { top: 0; left: 4px; width: 1px; height: 100%; transform: scaleY(0); transform-origin: 50% 0; }
  .process.is-in .process__line { transform: scaleY(1); }
  .step__dot { top: 8px; left: -32px; }
  .rules { grid-template-columns: 1fr auto; }
  .rules > .mono { grid-column: 1 / -1; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map, .contact__map iframe { min-height: 360px; }
  .footer__inner { flex-wrap: wrap; }
  .footer__req { margin-left: 0; order: 3; width: 100%; }
  .footer__top { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero__img img { opacity: .9; transform: none; }
}
