@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/cormorant-garamond-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin.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;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin.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;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/montserrat-latin.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;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/montserrat-latin.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;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat-latin.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;
}
@font-face {
  font-family: 'Yeseva One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/yeseva-one-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Yeseva One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/yeseva-one-latin.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 {
  --paper: #FFFDFD;
  --cream: #FFFDFD;
  --mist: #FBF2F4;
  --pink: #EFC8D0;
  --rose: #EFC8D0;
  --blush: #FAEAEE;
  --peach: #F6DCE2;
  --peach-deep: #DDA3B0;
  --raspberry: #B45262;
  --ruby: #6E0217;
  --scarlet: #460213;
  --noir: #260A11;
  --wine: #52232E;
  --lilac: #F6D1E4;
  --night: #17130F;
  --ink: #2E1218;
  --muted: #7B5A62;
  --line: rgba(46, 18, 24, .18);
  --line-light: rgba(246, 209, 228, .3);
  --display: "Yeseva One", Georgia, serif;
  --italic: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0Q13 11 24 12Q13 13 12 24Q11 13 0 12Q11 11 12 0Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }
svg { display: block; }
[id] { scroll-margin-top: 16px; }

:focus-visible { outline: 2px solid var(--raspberry); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }

.spark {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--spark) center / contain no-repeat;
  mask: var(--spark) center / contain no-repeat;
}

.eyebrow {
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}

.title {
  font: 400 clamp(40px, 5.4vw, 72px)/1.08 var(--display);
  color: var(--ruby);
}

.ph {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ph-bg, var(--peach));
}
.ph::before,
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.ph::before {
  content: attr(data-ph);
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font: italic 400 clamp(20px, 2vw, 26px)/1.1 var(--italic);
  color: var(--ruby);
}
.ph::after { background: var(--img, none) var(--pos, center) / var(--fit, cover) no-repeat; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 7px 7px 7px 26px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font: 500 12px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn__arrow {
  display: grid;
  place-items: center;
  width: 60px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.btn__arrow svg { width: 30px; height: 12px; transition: transform .35s; }
.btn:hover .btn__arrow svg { transform: translateX(5px); }
.btn--small { padding: 12px 20px; }
.btn--light { color: var(--paper); }
.btn--light:hover { background: var(--paper); border-color: var(--paper); color: var(--ruby); }
.btn--ruby { background: var(--ruby); border-color: var(--ruby); color: var(--paper); }
.btn--ruby:hover { background: var(--raspberry); border-color: var(--raspberry); }
.btn--berry { background: var(--lilac); border-color: var(--lilac); color: var(--ruby); }
.btn--berry:hover { background: var(--paper); border-color: var(--paper); }

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--lilac);
}
.header__inner { padding-block: 24px; }
.nav { display: flex; gap: clamp(18px, 2.2vw, 32px); font-size: 13px; font-weight: 500; letter-spacing: .05em; }
.nav a { position: relative; padding-block: 6px; white-space: nowrap; }
.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.nav a:hover::after { transform: scaleX(1); }

.hero {
  display: flex;
  align-items: flex-end;
  min-height: max(660px, calc(100svh - 50px));
  background: var(--night) url(img/hero.jpg) right center / auto 100% no-repeat;
  color: var(--lilac);
}
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
  padding-block: 120px 64px;
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding-right: clamp(24px, 4vw, 64px);
}
.hero__name {
  display: block;
  margin-bottom: 22px;
  font: 500 clamp(12px, 1.2vw, 14px)/1 var(--sans);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--lilac);
}
.hero__script {
  display: block;
  font-size: clamp(72px, 9.6vw, 150px);
  line-height: 1;
  color: var(--lilac);
}
.hero__script svg { display: block; width: auto; height: calc(var(--h) * 1em); max-width: 100%; fill: currentColor; }
.hero__script + .hero__script { margin-top: .1em; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hero__script--shift { padding-left: clamp(40px, 8vw, 130px); }
.hero__lead { max-width: 470px; margin-top: 30px; font-size: clamp(15px, 1.3vw, 17px); color: #FBEAF1; }
.hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font: 500 12px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lilac);
}
.hero__text .btn { margin-top: 30px; }

.marquee { overflow: hidden; padding-block: 17px; background: var(--ruby); }
.marquee__track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  white-space: nowrap;
  font: 500 13px/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--paper);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group .spark { width: 12px; height: 12px; color: var(--peach-deep); }
@keyframes marquee { to { transform: translateX(-50%); } }

.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; }
.about__main {
  padding-block: clamp(72px, 9vw, 120px);
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding-right: clamp(24px, 5vw, 80px);
  background: var(--paper);
}
.about__hello { margin-top: 24px; font: italic 400 clamp(32px, 3.4vw, 44px)/1.15 var(--italic); color: var(--raspberry); }
.about__text { margin-top: 18px; font-size: clamp(15px, 1.15vw, 17px); }
.about__text p + p { margin-top: 16px; }
.about__photo {
  aspect-ratio: 16 / 10;
  margin-top: 44px;
  border-radius: 170px 22px 22px 22px;
  outline: 1.5px solid var(--ruby);
  outline-offset: 9px;
  --pos: center 34%;
}
.about__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: clamp(56px, 7vw, 96px) clamp(20px, 3vw, 44px);
  background: var(--rose);
  color: var(--ruby);
}
.about__side .arch-wrap { width: min(100%, 660px); }
.about__quote { max-width: 440px; text-align: center; font: italic 400 clamp(24px, 2.3vw, 31px)/1.28 var(--italic); }

.arch-wrap { position: relative; padding: 12px; }
.arch {
  aspect-ratio: 3 / 4;
  border-radius: 50% 50% 24px 24px / 37.5% 37.5% 24px 24px;
  outline: 1.5px solid currentColor;
  outline-offset: 10px;
}
.frame {
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  outline: 1.5px solid currentColor;
  outline-offset: 10px;
  --pos: center 30%;
}
.arch-wrap > .spark { position: absolute; top: 60%; width: 20px; height: 20px; }
.arch-wrap > .spark:first-child { left: -8px; }
.arch-wrap > .spark:last-child { right: -8px; }

.help { background: var(--wine) url(img/texture-wine.jpg) repeat; color: var(--lilac); text-align: center; }
.help .title { color: var(--lilac); }
.help__list { max-width: 980px; margin: 52px auto 0; border-top: 1px solid rgba(246, 209, 228, .3); }
.help__row {
  display: grid;
  grid-template-columns: 22px 1fr 22px;
  align-items: center;
  gap: 24px;
  padding-block: 30px;
  border-bottom: 1px solid rgba(246, 209, 228, .3);
}
.help__row .spark { width: 22px; height: 22px; color: var(--lilac); }
.help__row h3 { margin-bottom: 8px; font: 400 clamp(23px, 2.3vw, 30px)/1.25 var(--display); color: var(--lilac); }
.help__row p { max-width: 640px; margin-inline: auto; font-size: 15.5px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin-bottom: clamp(36px, 4.6vw, 56px);
}
.section-head__text { max-width: 440px; }
.section-head--center { justify-content: center; text-align: center; }

.services { background: var(--pink); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-radius: 28px;
}
.tile--wide { grid-column: 1 / -1; }
.tile__toggle { position: absolute; opacity: 0; pointer-events: none; }
.tile__face { display: flex; flex-direction: column; height: 100%; padding: 12px; }
.tile__photo { flex: none; aspect-ratio: 4 / 5; border-radius: 18px; --ph-bg: var(--paper); }
.tile__photo--contain { --fit: contain; }
.tile__num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--paper);
  font: 600 11px/1 var(--sans);
  letter-spacing: .2em;
  color: var(--ruby);
}
.tile__body { display: flex; flex: 1; flex-direction: column; padding: 18px 10px 8px; }
.tile__title { font: 400 clamp(22px, 2vw, 26px)/1.15 var(--display); color: var(--ruby); }
.tile__lead { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.tile__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}
.tile__from { font: 400 19px/1.1 var(--display); white-space: nowrap; color: var(--ink); }
.tile__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 11px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ruby);
}
.tile__more i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ruby);
  color: var(--paper);
}
.tile__more svg { width: 18px; height: 10px; }
.tile--wide .tile__face { flex-direction: row; }
.tile--wide .tile__photo { flex: 0 0 54%; aspect-ratio: auto; min-height: 380px; }
.tile--wide .tile__body { justify-content: center; padding: 28px 28px 28px 40px; }
.tile--wide .tile__title { font-size: clamp(28px, 3vw, 40px); }
.tile--wide .tile__lead { max-width: 380px; font-size: 16px; }
.tile--wide .tile__row { margin-top: 28px; }
.tile__hit { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.tile__panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background: var(--blush);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.tile__toggle:checked ~ .tile__panel { opacity: 1; visibility: visible; }
.tile__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: var(--ruby);
  cursor: pointer;
}
.tile__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 26px 22px 12px 26px;
  font-size: 13.5px;
  line-height: 1.55;
}
.tile__scroll::-webkit-scrollbar { width: 5px; }
.tile__scroll::-webkit-scrollbar-thumb { background: var(--peach-deep); border-radius: 5px; }
.tile__scroll::-webkit-scrollbar-track { background: transparent; }
@supports not selector(::-webkit-scrollbar) {
  .tile__scroll { scrollbar-width: thin; scrollbar-color: var(--peach-deep) transparent; }
}
.tile__h { padding-right: 34px; margin-bottom: 10px; font: 400 22px/1.2 var(--display); color: var(--ruby); }
.tile__tag { margin-bottom: 10px; font: italic 600 19px/1.25 var(--italic); color: var(--ruby); }
.tile__scroll p + p { margin-top: 8px; }
.tile__label {
  margin: 16px 0 8px;
  font: 600 10.5px/1.4 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ruby);
}
.tile__scroll p.tile__label { margin-top: 16px; }
.tile__steps { display: grid; gap: 5px; counter-reset: t; }
.tile__steps li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; counter-increment: t; }
.tile__steps li::before { content: counter(t); font-weight: 600; color: var(--raspberry); }
.tile__list { display: grid; gap: 5px; }
.tile__list li { display: grid; grid-template-columns: 10px 1fr; gap: 10px; }
.tile__list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: .4em;
  background: var(--raspberry);
  -webkit-mask: var(--spark) center / contain no-repeat;
  mask: var(--spark) center / contain no-repeat;
}
.tile__block { margin-top: 14px; padding: 11px 14px; background: var(--paper); border-radius: 12px; }
.tile__block .tile__label { margin-top: 0; margin-bottom: 4px; }
.tile__block--note { background: var(--pink); }
.tile__cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 32px; }
.tile__foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 22px 13px 26px;
  background: var(--ruby);
}
.tile__foot::before {
  content: "";
  position: absolute;
  inset: auto 0 100%;
  height: 34px;
  background: linear-gradient(0deg, var(--blush), rgba(250, 234, 238, 0));
  pointer-events: none;
}
.tile__price { font: 400 23px/1.2 var(--display); color: var(--paper); }
.tile__price small {
  display: block;
  margin-bottom: 3px;
  font: 500 10px/1.3 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lilac);
}
.tile__price span { font: 500 11px/1 var(--sans); letter-spacing: .04em; color: var(--lilac); }
.tile__price--text { font: 400 13.5px/1.45 var(--sans); }

@media (hover: hover) and (min-width: 641px) {
  .tile:hover .tile__panel,
  .tile:focus-within .tile__panel { opacity: 1; visibility: visible; }
  .tile__hit,
  .tile__close { display: none; }
}

@media (hover: none), (max-width: 640px) {
  .tile__photo { aspect-ratio: 1; }
  .tile--wide .tile__face { flex-direction: column; }
  .tile--wide .tile__photo { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .tile--wide .tile__body { padding: 18px 10px 8px; }
  .tile__panel { position: relative; display: none; }
  .tile__scroll { overflow: visible; }
  .tile__foot::before { display: none; }
  .tile__toggle:checked ~ .tile__panel { display: flex; }
  .tile__toggle:checked ~ .tile__face,
  .tile__toggle:checked ~ .tile__hit { display: none; }
}

.portfolio { background: var(--paper); }
.portfolio .section-head { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.portfolio .section-head__text { max-width: 780px; }
.collage { display: grid; grid-template-columns: 1.12fr .9fr 1.08fr .88fr; align-items: start; gap: clamp(14px, 1.8vw, 26px); padding-block: 6px 10px; }
.collage__col { display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 26px); }
.collage__col:nth-child(2) { margin-top: clamp(30px, 5vw, 72px); }
.collage__col:nth-child(3) { margin-top: clamp(10px, 1.4vw, 20px); }
.collage__col:nth-child(4) { margin-top: clamp(44px, 7.5vw, 110px); }
.collage img { display: block; width: 100%; height: auto; border-radius: 14px; }
.collage__col:nth-child(1) img:nth-child(1) { width: 92%; margin-left: auto; transform: rotate(-2deg); }
.collage__col:nth-child(1) img:nth-child(2) { transform: rotate(1.2deg); }
.collage__col:nth-child(2) img:nth-child(1) { transform: rotate(2deg); }
.collage__col:nth-child(2) img:nth-child(2) { width: 86%; transform: rotate(-1.4deg); }
.collage__col:nth-child(2) img:nth-child(3) { width: 94%; margin-left: auto; transform: rotate(1.6deg); }
.collage__col:nth-child(3) img:nth-child(1) { width: 88%; transform: rotate(-1.2deg); }
.collage__col:nth-child(3) img:nth-child(2) { transform: rotate(1.8deg); }
.collage__col:nth-child(3) img:nth-child(3) { width: 90%; margin-left: auto; transform: rotate(-2.2deg); }
.collage__col:nth-child(4) img:nth-child(1) { transform: rotate(-1.6deg); }
.collage__col:nth-child(4) img:nth-child(2) { width: 84%; margin-left: auto; transform: rotate(2.2deg); }
.collage__col:nth-child(4) img:nth-child(3) { transform: rotate(-1deg); }
.caps { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 14px; margin-top: 26px; }
.caps__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 16px;
  border: 1px solid var(--peach-deep);
  border-radius: 22px;
}
.caps__card img { display: block; width: 100%; height: 330px; object-fit: contain; }
.caps__card figcaption {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  text-align: center;
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ruby);
}

.process { padding-block: clamp(60px, 7vw, 92px); background: var(--ruby); color: #FBE9F0; }
.process .title { font-size: clamp(34px, 4.2vw, 54px); color: var(--lilac); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 32px;
  right: calc((100% - 108px) / 4 - 32px);
  height: 1px;
  background: rgba(246, 209, 228, .5);
}
.step { position: relative; }
.step__num {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  background: var(--lilac);
  border-radius: 50%;
  font: 400 26px/1 var(--display);
  color: var(--ruby);
}
.step h3 { margin-bottom: 10px; font: 400 24px/1.2 var(--display); color: var(--paper); }
.step p { font-size: 15px; }

.reviews { background: var(--noir); color: var(--lilac); }
.reviews .title { color: var(--lilac); }
.reviews .section-head { align-items: center; }
.rv { position: relative; --per: 3; --gap: 20px; }
.rv__track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 22px;
}
.rv__track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 22px;
  background: var(--paper);
  border-radius: 22px;
  color: var(--ink);
}
.review__mark { height: 26px; font: 400 62px/.9 var(--display); color: var(--raspberry); }
.review__text { flex: 1; font-size: 14.5px; line-height: 1.62; }
.review__text p + p { margin-top: 6px; }
.review__author { padding-top: 14px; border-top: 1px solid var(--line); }
.review__author b { display: block; font: 400 19px/1.3 var(--display); color: var(--ruby); }
.review__author span { font-size: 12.5px; color: var(--muted); }
.rv__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--lilac);
  color: var(--ruby);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color .3s, opacity .3s;
}
.rv__arrow--prev { left: -29px; }
.rv__arrow--next { right: -29px; }
.rv__arrow svg { width: 26px; height: 12px; }
.rv__arrow--prev svg { transform: scaleX(-1); }
.rv__arrow:hover { background: var(--paper); }
.rv__arrow:disabled { opacity: 0; pointer-events: none; }
.rv__dots { display: flex; justify-content: center; gap: 8px; min-height: 10px; margin-top: 28px; }
.rv__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(246, 209, 228, .3);
  cursor: pointer;
  transition: width .3s, background-color .3s;
}
.rv__dots .is-active { width: 34px; background: var(--lilac); }

.gift { overflow: hidden; background: var(--pink); }
.gift__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(56px, 7vw, 110px);
}
.env { position: relative; width: 100%; max-width: 540px; aspect-ratio: 520 / 470; margin-inline: auto; container-type: inline-size; }
.env__layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.cert {
  position: absolute;
  left: 9.5%;
  top: 7%;
  width: 81%;
  height: 66%;
  padding: 1.6cqw;
  background: var(--paper);
  border-radius: 1.8cqw;
  color: var(--ink);
  transform: rotate(-3deg);
}
.cert__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8cqw;
  height: 100%;
  padding: 5.5cqw 3cqw 0;
  border: 1px solid var(--ruby);
  border-radius: 1cqw;
  text-align: center;
}
.cert__inner > .spark { position: absolute; top: 2cqw; width: 2.8cqw; height: 2.8cqw; color: var(--ruby); }
.cert__inner > .spark:nth-of-type(1) { left: 2cqw; }
.cert__inner > .spark:nth-of-type(2) { right: 2cqw; }
.cert__script { font: 400 6.6cqw/1.1 var(--display); color: var(--ruby); }
.cert__sub { font: italic 400 3.9cqw/1.25 var(--italic); color: var(--ink); }
.cert__term { font-size: 2.3cqw; color: var(--muted); }
.gift .eyebrow { display: block; margin-bottom: 14px; }
.gift .title { font-size: clamp(34px, 4vw, 54px); }
.gift__text { margin-top: 26px; max-width: 520px; }
.gift__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
  margin-top: 30px;
  padding-block: 24px;
  border-block: 1px solid var(--line);
  font-size: 15px;
}
.gift__list li { display: flex; gap: 12px; }
.gift__list .spark { width: 13px; height: 13px; margin-top: .45em; color: var(--raspberry); }
.gift__note { margin: 24px 0 18px; font: italic 500 clamp(22px, 2vw, 26px)/1.25 var(--italic); color: var(--ruby); }

.contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 680px; }
.contact__main {
  padding-block: clamp(72px, 9vw, 120px);
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding-right: clamp(24px, 5vw, 80px);
  background: var(--paper);
}
.contact__main .title { font-size: clamp(38px, 4.6vw, 62px); }
.contact__lead { max-width: 500px; margin-top: 26px; }
.ctable { margin-top: 44px; border-top: 1px solid var(--line); }
.ctable__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.ctable dt { font: 500 11px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.ctable dd { font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.ctable a { color: var(--ruby); transition: color .3s; }
.ctable a:hover { color: var(--raspberry); }
.contact__side { display: flex; align-items: flex-end; justify-content: center; color: var(--paper); --pos: center 62%; }
.contact__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 10, 17, 0) 48%, rgba(38, 10, 17, .82));
}
.contact__card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 24px clamp(40px, 5vw, 64px);
  text-align: center;
}
.contact__name { width: min(100%, 500px); color: var(--lilac); }
.contact__name svg { display: block; width: 100%; height: auto; fill: currentColor; }
.script-word { display: inline-block; margin-top: .12em; font-size: 2.3em; line-height: 0; color: var(--ruby); }
.script-word svg { display: inline-block; width: auto; height: calc(var(--h) * 1em); vertical-align: calc(var(--d) * -1em); fill: currentColor; }
.contact__card .eyebrow { color: var(--lilac); }
.contact__card .btn { margin-top: 12px; }

.footer { padding-block: 52px 26px; background: var(--wine); color: var(--lilac); }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-light);
}
.footer__name { font: 400 27px/1.2 var(--display); color: var(--paper); }
.footer__tag { margin-top: 8px; font-size: 13px; }
.footer .nav { flex-wrap: wrap; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 20px;
  font-size: 12px;
}

@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  @keyframes reveal { from { opacity: 0; transform: translateY(36px); } }
}

@media (max-width: 1100px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile__cols { grid-template-columns: 1fr 1fr; }
  .rv { --per: 2; }
  .rv__arrow--prev { left: -18px; }
  .rv__arrow--next { right: -18px; }
  .caps { grid-template-columns: 1fr 1fr; }
  .caps__card--wide { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .header { position: static; background: var(--night); }
  .header__inner { padding-block: 14px; }
  .header .nav { overflow-x: auto; gap: 22px; font-size: 12.5px; scrollbar-width: none; }
  .header .nav::-webkit-scrollbar { display: none; }
  .hero { display: block; min-height: 0; background: #1E1916 url(img/hero-mobile.jpg) center top / 100% auto no-repeat; }
  .hero__text { width: 100%; padding: calc(100vw * 1.04) var(--gutter) 44px; }
  .about__grid,
  .gift__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .about__main,
  .contact__main { padding-inline: var(--gutter); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .contact__side { min-height: 560px; }
}

@media (max-width: 640px) {
  .hero__script { font-size: 21vw; }
  .hero__script--shift { padding-left: 14vw; }
  .tiles,
  .steps,
  .gift__list,
  .tile__cols,
  .caps { grid-template-columns: 1fr; }
  .caps__card img { height: auto; }
  .rv { --per: 1.12; --gap: 12px; }
  .rv__arrow { display: none; }
  .ctable__row { grid-template-columns: 1fr; gap: 4px; }
  .help__row { grid-template-columns: 1fr; gap: 14px; justify-items: center; }
  .help__row .spark:last-child { display: none; }
  .collage { display: block; columns: 2; column-gap: 12px; }
  .collage__col { display: contents; }
  .collage__col img { break-inside: avoid; margin-bottom: 14px; }
  .collage img { border-radius: 10px; }
  .about__photo { border-radius: 110px 20px 20px 20px; }
  .btn { padding-left: 20px; gap: 12px; }
  .btn__arrow { width: 50px; }
  .btn--small { padding: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { animation: none !important; }
}
