/* ---------- Шрифты (лежат в папке fonts/) ---------- */
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-cyrillic-1fb699.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin-39cad6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-cyrillic-44d82a.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-latin-e99b45.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-cyrillic-44d82a.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-latin-e99b45.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/manrope-normal-cyrillic-9ae50d.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/manrope-normal-latin-f00ccc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/manrope-normal-cyrillic-9ae50d.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/manrope-normal-latin-f00ccc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/manrope-normal-cyrillic-9ae50d.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/manrope-normal-latin-f00ccc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   Елена Рыбникова — торты на заказ
   Цвета и шрифты меняются в :root
   ========================================================= */
:root {
  --bg: #F6EFE6;
  --bg-2: #EEE3D5;
  --paper: #FFFBF6;
  --ink: #2A1C16;
  --ink-2: #5A453A;
  --muted: #73594D;
  --line: rgba(42, 28, 22, .14);
  --berry: #A3213D;
  --berry-2: #BF3452;
  --gold: #CBA66C;
  --dark: #1C1310;
  --cream: #F6EFE6;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --pad: clamp(16px, 4.5vw, 64px);
  --radius: clamp(16px, 2vw, 28px);
  --header-h: 72px;
  --section-y: clamp(88px, 14vh, 168px);
  color-scheme: light;
}

*, *::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-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
picture { display: contents; }
::selection { background: var(--berry); color: #fff; }
em { font-style: italic; color: var(--berry); }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 6.2vw, 96px);
  line-height: .98;
  letter-spacing: -.01em;
}
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--gold { color: var(--gold); }

.section-head { max-width: 920px; margin-bottom: clamp(36px, 6vh, 64px); }
.section-head__lead { margin-top: 18px; color: var(--ink-2); max-width: 34em; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--berry { background: var(--berry); color: #fff; box-shadow: 0 12px 30px -12px rgba(163, 33, 61, .6); }
.btn--berry:hover { background: var(--berry-2); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--dark); }
.btn--gold:hover { background: #DDBB84; }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- Шапка ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), background-color .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  background: rgba(246, 239, 230, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1; }
.logo__mark { width: 36px; height: 36px; flex: none; color: var(--berry); transition: transform .6s cubic-bezier(.2,.7,.2,1), color .4s; }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font-family: var(--serif); font-size: 25px; font-weight: 600; }
.logo__role { margin-top: 4px; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.site-nav a { position: relative; font-size: 14px; font-weight: 500; text-decoration: none; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s ease;
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 1. Первый экран ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 4vw;
  padding: calc(var(--header-h) + 4vh) var(--pad) 10vh;
  overflow: hidden;
}
.hero__title {
  margin: 0 0 28px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(60px, 9.4vw, 168px); line-height: .9; letter-spacing: -.02em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 30em; margin-bottom: 32px; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__media { position: relative; justify-self: center; width: min(100%, 500px); }
.arch {
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  clip-path: inset(0% 0% 0% 0%);
  box-shadow: 0 50px 90px -50px rgba(42, 28, 22, .55);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__float {
  position: absolute; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--paper);
  box-shadow: 0 24px 50px -24px rgba(42, 28, 22, .5);
}
.hero__float img { width: 100%; height: 100%; object-fit: cover; }
.hero__float--1 { width: 36%; left: -20%; bottom: 10%; }
.hero__float--2 { width: 28%; right: -12%; top: 8%; }
.badge {
  position: absolute; right: -4%; bottom: -5%;
  width: clamp(104px, 10vw, 148px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--berry); color: #fff;
  box-shadow: 0 20px 40px -18px rgba(163, 33, 61, .7);
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.badge text { font: 600 9.5px var(--sans); text-transform: uppercase; fill: #fff; }
.badge__mark { width: 38%; height: 38%; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint {
  position: absolute; left: var(--pad); bottom: 28px;
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint i { position: relative; width: 1px; height: 44px; overflow: hidden; background: var(--line); }
.scroll-hint i::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  animation: hint 2s cubic-bezier(.6,0,.2,1) infinite;
}
@keyframes hint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Бегущая строка ---------- */
.marquee { overflow: hidden; padding: 22px 0; background: var(--paper); border-block: 1px solid var(--line); }
.marquee__track {
  display: flex; align-items: center; width: max-content; white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.1;
  will-change: transform;
}
.marquee__track span { padding: 0 .45em; }
.marquee__track i { font-style: normal; font-size: .45em; color: var(--berry); }

/* ---------- 2. Торт из слоёв ---------- */
.layers { position: relative; background: var(--bg-2); }
.layers__pin {
  position: relative;
  min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4vw;
  padding: calc(var(--header-h) + 3vh) var(--pad) 6vh;
}
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.step__num { font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--berry); }
.step h3 { margin-bottom: 4px; font-family: var(--serif); font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; }
.step p { max-width: 28em; color: var(--ink-2); }
.js-motion .step { opacity: .28; transition: opacity .5s ease; }
.js-motion .step.is-active { opacity: 1; }

.layers__stage { position: relative; justify-self: center; width: min(100%, 540px); aspect-ratio: 400 / 440; }
.cake { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.layers__real {
  position: absolute; inset: -3%;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(42, 28, 22, .6);
}
.layers__real img { width: 100%; height: 100%; object-fit: cover; }
.layers__real figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 251, 246, .92); color: var(--ink);
  font-family: var(--serif); font-size: clamp(19px, 1.6vw, 24px); line-height: 1.15;
}
.layers__progress { display: none; }
.js-motion .layers__progress {
  display: block; position: absolute; left: var(--pad); right: var(--pad); bottom: 24px;
  height: 2px; background: var(--line);
}
.layers__progress i { display: block; height: 100%; background: var(--berry); transform-origin: left; transform: scaleX(0); }

/* ---------- 3. Обо мне ---------- */
.about {
  display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 6vw;
  padding: var(--section-y) var(--pad);
}
.about__media { position: relative; padding: 0 12% 12% 0; }
.about__photo, .about__photo-small { border-radius: var(--radius); overflow: hidden; clip-path: inset(0% 0% 0% 0%); }
.about__photo { aspect-ratio: 3 / 4; border-radius: 999px 999px var(--radius) var(--radius); }
.about__photo-small {
  position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4;
  border: 6px solid var(--bg);
}
.about__photo img, .about__photo-small img { width: 100%; height: 100%; object-fit: cover; }
.about__text { font-family: var(--serif); font-size: clamp(30px, 3.3vw, 52px); line-height: 1.14; }
.about__text .w { transition: none; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line);
}
.stats dt { font-family: var(--serif); font-size: clamp(46px, 5vw, 78px); line-height: 1; color: var(--berry); }
.stats dd { margin: 8px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- 4. Работы ---------- */
.works { position: relative; background: var(--paper); }
.works__pin {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; gap: 4vh;
  padding: calc(var(--header-h) + 3vh) 0 6vh;
}
.works__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  padding: 0 var(--pad);
}
.works__hint { max-width: 22em; color: var(--muted); }
.works__viewport {
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--pad) 8px;
  scroll-padding-inline: var(--pad);
}
.works__viewport::-webkit-scrollbar { display: none; }
.works__viewport.is-pinned { overflow: visible; scroll-snap-type: none; }
.works__track { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 28px); width: max-content; }
.work { flex: none; width: clamp(240px, min(26vw, 40vh), 420px); scroll-snap-align: start; }
.work:nth-child(even) { margin-top: 6vh; }
.work__img, .item__img, .mc-card__img {
  display: block; width: 100%; margin: 0; padding: 0; border: 0;
  font: inherit; color: inherit; text-align: inherit; cursor: zoom-in;
  -webkit-appearance: none; appearance: none;
}
.work__img:focus-visible, .item__img:focus-visible, .mc-card__img:focus-visible { outline-offset: -4px; }
.work__img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.work__img img { width: 118%; max-width: none; height: 100%; margin-left: -9%; object-fit: cover; }
.work figcaption {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.work figcaption b { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: 0; color: var(--muted); }

/* ---------- 5. Что заказать ---------- */
.menu { padding: var(--section-y) var(--pad); }
.menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.item {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -50px rgba(42, 28, 22, .5);
}
.item--wide { grid-column: span 2; flex-direction: row; }
.item__img { aspect-ratio: 4 / 3; overflow: hidden; }
.item--wide .item__img { flex: 1.15; aspect-ratio: auto; min-height: 340px; }
.item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.item:hover .item__img img { transform: scale(1.06); }
.item__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.item--wide .item__body { justify-content: flex-end; padding: clamp(24px, 3vw, 40px); }
.item h3 { font-family: var(--serif); font-size: clamp(28px, 2.3vw, 36px); line-height: 1.05; }
.item--wide h3 { font-size: clamp(34px, 3.4vw, 52px); }
.item p { color: var(--ink-2); font-size: 15px; }
.item .item__price { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--ink); }
.item__price b { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--berry); }
.menu__note { margin-top: 24px; max-width: 46em; font-size: 14px; color: var(--muted); }

/* ---------- 6. Новый год ---------- */
.season {
  position: relative; overflow: hidden;
  padding: clamp(110px, 20vh, 220px) var(--pad);
  background: var(--dark); color: var(--cream);
}
.season__year {
  position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  font-family: var(--serif); font-size: clamp(200px, 34vw, 540px); line-height: .8; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(203, 166, 108, .4);
  pointer-events: none; user-select: none;
}
.season__inner { position: relative; display: grid; gap: 24px; max-width: 660px; margin-left: auto; }
.season .h2 em { color: var(--gold); }
.season p { color: rgba(246, 239, 230, .8); }
.season__snow { position: absolute; inset: 0; pointer-events: none; }
.season__snow i {
  position: absolute; top: -12px; left: var(--x);
  width: var(--s); height: var(--s); border-radius: 50%;
  background: #fff; opacity: var(--o);
  animation: snow var(--d) linear var(--delay) infinite;
}
@keyframes snow { to { transform: translate3d(var(--dx), 120vh, 0); } }

/* ---------- 7. Мастер-классы ---------- */
.mc { padding: var(--section-y) var(--pad); }
.mc__next {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  margin-top: 24px; padding: 12px 14px 12px 18px;
  border: 1px solid var(--line); border-radius: 22px; background: var(--paper);
  font-size: 15px;
}
.mc__next a { margin-left: 4px; padding: 6px 14px; border-radius: 999px; background: var(--berry); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #3BA55C; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(59,165,92,.55); } 70% { box-shadow: 0 0 0 10px rgba(59,165,92,0); } 100% { box-shadow: 0 0 0 0 rgba(59,165,92,0); } }

.mc__stack { display: grid; gap: 5vh; }
.mc-card {
  position: sticky; top: calc(var(--header-h) + 2vh + var(--i) * 16px);
  display: grid; grid-template-columns: 1fr 1.1fr;
  min-height: min(68vh, 560px);
  border-radius: var(--radius); overflow: hidden;
  background: var(--paper);
  box-shadow: 0 -1px 0 var(--line), 0 40px 70px -50px rgba(42, 28, 22, .55);
  transform-origin: 50% 0;
}
.mc-card:nth-child(2) { background: #EFE0CF; }
.mc-card:nth-child(3) { background: #F4E3E2; }
.mc-card:nth-child(4) { background: #E9E4D6; }
.mc-card__body { display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: clamp(24px, 4vw, 56px); }
.mc-card__num { margin-bottom: auto; font-family: var(--serif); font-size: clamp(64px, 8vw, 128px); line-height: .8; color: var(--berry); }
.mc-card h3 { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 58px); line-height: 1; }
.mc-card p { max-width: 26em; color: var(--ink-2); }
.mc-card__img img { width: 100%; height: 100%; object-fit: cover; }

.gift {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 8vh; padding: clamp(26px, 4vw, 52px);
  border-radius: var(--radius); background: var(--berry); color: #fff;
}
.gift::after {
  content: "✦"; position: absolute; right: -2%; top: -30%;
  font-size: clamp(160px, 22vw, 320px); line-height: 1; color: rgba(255,255,255,.07); pointer-events: none;
}
.gift .eyebrow { color: rgba(255,255,255,.7); }
.gift h3 { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 50px); line-height: 1; }
.gift p { max-width: 32em; margin-top: 10px; opacity: .85; }
.gift .btn { position: relative; z-index: 1; background: #fff; color: var(--berry); }

/* ---------- 8. Как заказать ---------- */
.order { padding: var(--section-y) var(--pad); }
.order__wrap { position: relative; }
.order__line {
  position: absolute; top: 0; left: 32px; width: calc(100% - 32px); height: 64px;
  overflow: visible; pointer-events: none;
}
.order__line path { fill: none; stroke: var(--berry); stroke-width: 2; vector-effect: non-scaling-stroke; }
.order__vline { display: none; }
.order__steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 40px); }
.order__steps li { position: relative; }
.order__num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--paper);
  font-family: var(--serif); font-size: 30px; color: var(--berry);
}
.order__steps h3 { margin-bottom: 8px; font-family: var(--serif); font-size: clamp(27px, 2.2vw, 34px); line-height: 1.05; }
.order__steps p { color: var(--ink-2); font-size: 15px; }
.order__note { margin-top: 44px; color: var(--muted); }

/* ---------- 9. Отзывы ---------- */
.reviews { padding: var(--section-y) var(--pad); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); align-items: stretch; }
.chat {
  display: flex; flex-direction: column; gap: 8px;
  min-height: 280px; padding: 22px;
  border-radius: var(--radius);
  background: #E8DCCD radial-gradient(rgba(42,28,22,.05) 1px, transparent 1px) 0 0 / 14px 14px;
}
.chat__head { margin-bottom: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bubble {
  max-width: 86%; padding: 10px 14px;
  border-radius: 16px; font-size: 15px; line-height: 1.4;
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
}
.bubble--in { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.bubble--out { align-self: flex-end; background: #DDF2C9; border-bottom-right-radius: 4px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.quote {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: 280px; padding: clamp(24px, 3vw, 38px);
  border-radius: var(--radius); background: var(--berry); color: #fff;
}
.quote p { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); line-height: 1.12; }
.quote cite { font-style: normal; font-size: 14px; opacity: .75; }

/* ---------- 10. Контакты ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(130px, 24vh, 260px) var(--pad) clamp(90px, 16vh, 160px);
}
.cta__content { position: relative; z-index: 1; }
.cta .eyebrow { justify-content: center; }
.cta__title { max-width: 12ch; margin: 0 auto; font-family: var(--serif); font-size: clamp(46px, 7vw, 116px); line-height: .95; }
.cta__phone {
  display: inline-block; margin-top: 36px; padding-bottom: 6px;
  border-bottom: 2px solid currentColor;
  font-family: var(--serif); font-size: clamp(40px, 6.4vw, 104px); line-height: 1;
  color: var(--berry); text-decoration: none; white-space: nowrap;
}
.cta__city { margin-top: 22px; color: var(--muted); }
.cta__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.cta__float {
  position: absolute; z-index: 0; width: clamp(110px, 12vw, 200px); aspect-ratio: 3 / 4;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(42, 28, 22, .55);
}
.cta__float img { width: 100%; height: 100%; object-fit: cover; }
.cta__float--1 { left: 4%; top: 12%; rotate: -7deg; }
.cta__float--2 { right: 6%; top: 16%; rotate: 8deg; }
.cta__float--3 { left: 9%; bottom: 8%; rotate: 5deg; }
.cta__float--4 { right: 3%; bottom: 14%; rotate: -5deg; }


/* ---------- Кнопка звонка на телефоне ---------- */
.callbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: none; align-items: center; justify-content: center; gap: 10px;
  height: 56px; border-radius: 999px;
  background: var(--berry); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 16px 40px -12px rgba(163, 33, 61, .65);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.callbar svg { width: 20px; height: 20px; }
.js-motion .callbar { transform: translateY(160%); }
.js-motion .callbar.is-visible { transform: none; }
.js-motion .callbar.is-visible.is-hidden { transform: translateY(160%); }

/* =========================================================
   Планшеты и телефоны
   ========================================================= */
@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .site-nav { display: none; }
  .header-call { width: 44px; min-height: 44px; padding: 0; }
  .header-call .js-phone-text { display: none; }

  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: calc(var(--header-h) + 28px); padding-bottom: 72px; }
  .hero__media { width: min(76%, 380px); }
  .hero__float--1 { left: -16%; }
  .hero__float--2 { right: -14%; }
  .scroll-hint { display: none; }

  .layers__pin { grid-template-columns: 1fr; align-content: start; gap: 18px; padding-top: calc(var(--header-h) + 12px); padding-bottom: 48px; }
  .layers__stage { order: -1; width: min(80vw, 40svh); }
  .layers .h2 { font-size: clamp(34px, 9vw, 48px); }
  .layers .eyebrow { margin-bottom: 10px; }
  .steps { margin-top: 18px; }
  .js-motion .steps { position: relative; display: block; min-height: 132px; }
  .js-motion .step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s; }
  .js-motion .step.is-active { opacity: 1; transform: none; }

  .about { grid-template-columns: 1fr; gap: 44px; }
  .about__media { width: min(100%, 460px); }

  .work { width: 72vw; }
  .work:nth-child(even) { margin-top: 0; }

  .menu__grid { grid-template-columns: 1fr 1fr; }
  .item--wide { grid-column: span 2; }

  .season__inner { margin-left: 0; }

  .mc-card { grid-template-columns: 1fr; min-height: 0; }
  .mc-card__img { order: -1; aspect-ratio: 16 / 10; }
  .mc-card__body { gap: 10px; }
  .mc-card__num { display: none; }

  .order__line { display: none; }
  .order__vline {
    display: block; position: absolute; left: 31px; top: 32px; bottom: 40px; width: 2px;
    background: var(--berry); transform-origin: top;
  }
  .order__steps { grid-template-columns: 1fr; gap: 30px; padding-left: 88px; }
  .order__num { position: absolute; left: -88px; top: -8px; margin: 0; }

  .reviews__grid { grid-template-columns: 1fr; }
  .chat, .quote { min-height: 0; }

  .cta__float { width: 24vw; opacity: .9; }
  .cta__float--1 { left: -6%; top: 4%; }
  .cta__float--2 { right: -6%; top: 6%; }
  .cta__float--3 { left: -8%; bottom: 3%; }
  .cta__float--4 { right: -7%; bottom: 5%; }

  .callbar { display: flex; }
}

@media (max-width: 599px) {
  .menu__grid { grid-template-columns: 1fr; }
  .item--wide { grid-column: auto; flex-direction: column; }
  .item--wide .item__img { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
  .stats { gap: 12px; }
  .stats dd { font-size: 13px; }
  .cta__phone { font-size: clamp(36px, 11vw, 56px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   ПРЕМИУМ-ДЕТАЛИ: прелоадер, зерно, меню, курсор, просмотр фото, подвал
   ========================================================= */

/* ---------- Цифры: ровные (lining) там, где важна читаемость ---------- */
.cta__phone, .footer__phone, .item__price b, .stats dt, .preloader__count, .lightbox__count { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Нумерация разделов в надзаголовках ---------- */
.eyebrow:has(.eyebrow__num)::before { display: none; }
.eyebrow__num { font-family: var(--serif); font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--berry); }
.eyebrow__num::after { content: ""; display: inline-block; width: 26px; height: 1px; margin: 0 10px 0 12px; vertical-align: middle; background: currentColor; opacity: .5; }

/* ---------- Плёночное зерно поверх всей страницы ---------- */
.grain {
  position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1  0 0 0 0 .06  0 0 0 0 .04  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Прелоадер ---------- */
.preloader { display: none; }
.has-preloader body { overflow: hidden; }
.has-preloader .preloader {
  display: flex; position: fixed; inset: 0; z-index: 120;
  align-items: center; justify-content: center;
  background: var(--bg); color: var(--ink);
  animation: preloader-failsafe .6s ease 6s forwards;
}
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }
.preloader__center { display: grid; justify-items: center; gap: 12px; text-align: center; }
.preloader__logo { width: 92px; height: 92px; margin-bottom: 8px; color: var(--berry); stroke-dasharray: 1; stroke-dashoffset: 1; }
.preloader__name { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 44px); line-height: 1; opacity: 0; transform: translateY(12px); }
.preloader__role { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); opacity: 0; transform: translateY(12px); }
.preloader__count {
  position: absolute; right: var(--pad); bottom: calc(14px + env(safe-area-inset-bottom));
  font-family: var(--serif); font-size: clamp(72px, 11vw, 168px); line-height: .8; color: var(--ink);
}
.preloader__count sup { margin-left: 4px; font-size: .28em; vertical-align: top; color: var(--berry); }

/* ---------- Шапка: действия, бургер, полоса прогресса ---------- */
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.header__progress i { display: block; height: 100%; background: var(--berry); transform-origin: left; transform: scaleX(0); }
.site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.site-nav a.is-active { color: var(--berry); }

.burger {
  display: none; position: relative; flex: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
  transition: border-color .4s, color .4s;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform .5s cubic-bezier(.7,0,.2,1), top .5s cubic-bezier(.7,0,.2,1);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.site-header.is-menu-open { z-index: 59; background: transparent !important; box-shadow: none !important; transform: none !important; color: var(--cream); }
.is-menu-open .burger { border-color: rgba(246,239,230,.35); color: var(--cream); }
.is-menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.is-menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.is-menu-open .logo__mark { color: var(--gold); }
.is-menu-open .logo__role { color: rgba(246,239,230,.6); }
.is-menu-open .header-call, .is-menu-open .header__progress { opacity: 0; pointer-events: none; }

/* ---------- Меню на телефоне ---------- */
.mmenu {
  position: fixed; inset: 0; z-index: 58;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--header-h) + 6vh) var(--pad) calc(28px + env(safe-area-inset-bottom));
  background: var(--dark); color: var(--cream); overflow-y: auto;
}
.mmenu[hidden] { display: none; }
.mmenu__nav { display: grid; gap: 2px; }
.mmenu__nav a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--serif); font-size: clamp(40px, 11vw, 66px); line-height: 1.12;
  color: var(--cream); text-decoration: none;
}
.mmenu__nav a span { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; color: var(--gold); }
.mmenu__nav a.is-active { color: var(--gold); }
.mmenu__foot { display: grid; gap: 22px; }
.mmenu__foot .btn { justify-self: start; }
.mmenu__links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; }
.mmenu__links a { color: rgba(246,239,230,.75); }
.menu-open .callbar { transform: translateY(160%) !important; }

/* ---------- Первый экран: плашка сезона ---------- */
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 9px 14px 9px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255,251,246,.6);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: border-color .3s, background-color .3s;
}
.hero__pill:hover { border-color: var(--berry); background: var(--paper); }
.hero__pill svg { width: 16px; height: 16px; transition: transform .3s; }
.hero__pill:hover svg { transform: translateX(3px); }
.dot--berry { background: var(--berry); animation: pulse-berry 2s infinite; }
@keyframes pulse-berry { 0% { box-shadow: 0 0 0 0 rgba(163,33,61,.5); } 70% { box-shadow: 0 0 0 10px rgba(163,33,61,0); } 100% { box-shadow: 0 0 0 0 rgba(163,33,61,0); } }

/* ---------- Карточки: подпись, теги, кликабельные фото ---------- */
.item__label { align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: var(--berry); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.item__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.item__tags li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.item--wide .item__body p:not(.item__price) { font-size: 16px; max-width: 32em; }
.mc-card__img { height: 100%; overflow: hidden; }
.work__img img, .item__img img, .mc-card__img img { transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .6s; }
.work__img:hover img { filter: saturate(1.08); }
.quote__mark { width: 40px; height: 40px; color: rgba(255,255,255,.85); }

/* ---------- Кнопки: текст «перекатывается» при наведении ---------- */
.roll { display: inline-grid; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll > span { grid-area: 1 / 1; transition: transform .55s cubic-bezier(.7,0,.2,1); }
.roll > span:last-child { transform: translateY(105%); }
@media (hover: hover) {
  .btn:hover .roll > span:first-child { transform: translateY(-105%); }
  .btn:hover .roll > span:last-child { transform: translateY(0); }
}
.btn:focus-visible .roll > span:first-child { transform: translateY(-105%); }
.btn:focus-visible .roll > span:last-child { transform: translateY(0); }

/* ---------- Свой курсор (только мышь) ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor { position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; transition: opacity .3s; }
.cursor.is-hidden { opacity: 0; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--berry); transition: opacity .25s; }
.cursor__ring {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(42,28,22,.35);
  transition: width .4s cubic-bezier(.2,.7,.2,1), height .4s cubic-bezier(.2,.7,.2,1), margin .4s cubic-bezier(.2,.7,.2,1), background-color .4s, border-color .4s;
}
.cursor__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .25s; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(163,33,61,.08); border-color: rgba(163,33,61,.5); }
.cursor.is-view .cursor__ring { width: 100px; height: 100px; margin: -50px 0 0 -50px; background: var(--berry); border-color: var(--berry); }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }
.cursor.on-dark .cursor__ring { border-color: rgba(246,239,230,.55); }
.cursor.on-dark .cursor__dot { background: var(--gold); }

/* ---------- Просмотр фото ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(20,13,11,.93); }
.lightbox__img {
  position: fixed; left: 0; top: 0; object-fit: cover; border-radius: 14px;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.75);
  user-select: none; -webkit-user-select: none; touch-action: none;
}
.lightbox__count { position: fixed; left: var(--pad); top: 26px; font-size: 13px; letter-spacing: .18em; color: rgba(246,239,230,.7); }
.lightbox__cap {
  position: fixed; left: var(--pad); bottom: calc(28px + env(safe-area-inset-bottom)); max-width: min(42ch, 46vw);
  font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.15; color: var(--cream);
}
.lightbox__btn {
  position: fixed; display: grid; place-items: center; width: 54px; height: 54px; padding: 0;
  border: 1px solid rgba(246,239,230,.25); border-radius: 50%; background: rgba(246,239,230,.06); color: var(--cream);
  cursor: pointer; transition: background-color .3s, border-color .3s, transform .3s;
}
.lightbox__btn:hover { background: rgba(246,239,230,.16); border-color: rgba(246,239,230,.5); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { right: var(--pad); top: 14px; }
.lightbox__prev, .lightbox__next { top: 50%; margin-top: -27px; }
.lightbox__prev { left: var(--pad); }
.lightbox__prev svg { transform: scaleX(-1); }
.lightbox__next { right: var(--pad); }
.lightbox__cta { position: fixed; right: var(--pad); bottom: calc(18px + env(safe-area-inset-bottom)); }

/* ---------- Подвал ---------- */
.site-footer {
  position: relative; overflow: hidden;
  padding: clamp(70px, 11vh, 130px) var(--pad) calc(26px + env(safe-area-inset-bottom));
  background: var(--dark); color: var(--cream);
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; align-items: start; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col p { max-width: 30ch; color: rgba(246,239,230,.68); }
.footer__col a {
  width: fit-content; color: var(--cream); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s cubic-bezier(.2,.7,.2,1);
}
.footer__col a:hover { background-size: 100% 1px; }
.footer__mark { width: 46px; height: 46px; margin-bottom: 14px; color: var(--gold); }
.footer__title { margin-bottom: 6px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold) !important; }
.footer__phone { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; }
.to-top {
  display: grid; place-items: center; width: 58px; height: 58px; padding: 0;
  border: 1px solid rgba(246,239,230,.25); border-radius: 50%; background: transparent; color: var(--cream); cursor: pointer;
  transition: background-color .35s, color .35s;
}
.to-top:hover { background: var(--cream); color: var(--dark); }
.to-top svg { width: 22px; height: 22px; }
.footer__wordmark {
  margin: clamp(56px, 10vh, 110px) 0 0; overflow: hidden; white-space: nowrap;
  font-family: var(--serif); font-weight: 500; font-size: 12vw; line-height: .86; letter-spacing: -.02em; color: var(--cream);
}
.footer__wordmark-in { display: inline-block; }
.footer__wordmark .ch { display: inline-block; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(246,239,230,.14);
  font-size: 13px; color: rgba(246,239,230,.55);
}

/* ---------- Телефоны и планшеты для новых блоков ---------- */
@media (max-width: 899px) {
  .burger { display: block; }
  .logo__mark { width: 32px; height: 32px; }
  .logo__name { font-size: 22px; }
  .lightbox__prev, .lightbox__next { display: none; }
  .lightbox__cap { right: var(--pad); max-width: none; bottom: calc(88px + env(safe-area-inset-bottom)); font-size: 22px; }
  .lightbox__cta { left: var(--pad); right: var(--pad); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer__col--intro { grid-column: 1 / -1; padding-right: 76px; }
  .footer__col--top { position: absolute; right: var(--pad); top: clamp(70px, 11vh, 130px); }
}
@media (max-width: 599px) {
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { display: none; }
}
@media (max-height: 960px) {
  .scroll-hint { display: none; }
}

.nowrap { white-space: nowrap; }
.about__text .w { white-space: nowrap; }
