@font-face { font-family: 'EB Garamond'; src: url('fonts/ebgaramond-cyrillic.woff2') format('woff2'); font-weight: 400 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'EB Garamond'; src: url('fonts/ebgaramond-latin.woff2') format('woff2'); font-weight: 400 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; src: url('fonts/jost-cyrillic.woff2') format('woff2'); font-weight: 400 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Jost'; src: url('fonts/jost-latin.woff2') format('woff2'); font-weight: 400 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

:root {
  --bg: #faf7f3; --surface: #f0e4df; --ink: #26261f; --muted: #5d5a52; --brand: #24382d; --line: #26261f26;
  --display: 'EB Garamond', Georgia, serif; --body: 'Jost', sans-serif;
  --nav: 76px; --gut: max(5vw, (100vw - 1280px) / 2); --space: 88px; --gap: 24px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: var(--nav); -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: var(--nav); background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--body); }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; }
h3 { font-size: 27px; line-height: 1.15; }
p { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-underline-offset: 5px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.wrap { padding-inline: var(--gut); }
.section { padding-block: var(--space); }
.section--follow { padding-top: 0; }
.surface { background: var(--surface); }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; padding: 12px; background: var(--bg); z-index: 2; }

.nav { position: fixed; inset: 0 0 auto; z-index: 10; height: var(--nav); background: var(--bg); }
.nav__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__logo { font: 400 27px/1 var(--display); text-decoration: none; white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link { padding-block: 10px; text-decoration: none; }
.nav__link:hover { text-decoration: underline; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 26px;
  border: 1px solid var(--brand); font: 500 16px/1.2 var(--body); text-decoration: none;
  transition: transform .18s, background-color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--brand); color: #fff; }
.link { padding-block: 10px; font-weight: 500; }

.hero { display: grid; grid-template-columns: 1fr 1fr; height: calc(100vh - var(--nav)); height: calc(100svh - var(--nav)); min-height: 520px; max-height: 860px; background: var(--surface); }
.hero__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px; padding: 32px 40px 32px var(--gut); }
.hero__copy p { max-width: 430px; font-size: 19px; }
.hero__name, .hero__trade { display: block; }
.hero__name { font-size: clamp(52px, 7vw, 100px); line-height: .98; }
.hero__trade { margin-top: 24px; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.2; }
.hero__photo, .closing__photo { position: relative; min-height: 0; overflow: hidden; }
.hero__photo img, .closing__photo img { position: absolute; inset: 0; }
.img-portrait { object-position: 48% 18%; }
.img-studio { object-position: 50% 42%; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; }
.story { display: grid; gap: 16px; font-size: 19px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gap); }
.card { display: flex; flex-direction: column; gap: 10px; }
.photo { aspect-ratio: 1; margin-bottom: 8px; overflow: hidden; }
.img-brows { object-position: 45% 36%; }
.img-piercing { object-position: 25% 55%; }
.img-laser { object-position: 48% 55%; }
.card p { font-size: 16px; }
.card__foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; }
.card__foot strong { font-weight: 500; }

.details__title { margin: var(--space) 0 28px; }
.details { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.details li { padding-block: 18px; border-top: 1px solid var(--line); }
.details h3 { font-size: 23px; }
.details p { margin-top: 6px; font-size: 16px; }
.method { margin-left: 8px; color: var(--muted); font: 500 14px/1.4 var(--body); white-space: nowrap; }
.note { margin-top: 12px; color: var(--muted); font-size: 16px; }

.head { margin-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 64px; }
.prices__col { display: grid; gap: 28px; align-content: start; }
.price-group h3 { margin-bottom: 6px; font-size: 25px; }
.price-group li { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.duration { margin-left: 8px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.price { flex: none; font-weight: 500; font-variant-numeric: tabular-nums; }

.closing { display: grid; grid-template-columns: 1fr 1fr; background: var(--brand); color: #f8f4ef; }
.closing__copy { display: grid; gap: 24px; padding: 72px 48px 36px var(--gut); }
.channels { display: flex; flex-wrap: wrap; gap: 12px; }
.closing .btn { border-color: #f8f4ef; }
.closing .btn--primary { background: #f8f4ef; color: var(--brand); }
.facts { font-size: 16px; line-height: 1.5; }
.facts div { display: grid; grid-template-columns: 136px 1fr; gap: 16px; padding-block: 11px; border-top: 1px solid #f8f4ef33; }
.facts dt { color: #c9d3cb; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: 14px; }
.actionbar { display: none; }

@media (max-width: 1023px) {
  :root { --space: 64px; }
  .nav__link:not(.nav__link--keep) { display: none; }
  .cards { column-gap: 16px; }
  .card h3 { font-size: 23px; }
  .about, .details, .prices, .closing { grid-template-columns: 1fr; }
  .closing__copy { padding-right: var(--gut); }
  .closing__photo { height: 420px; }
}

@media (max-width: 639px) {
  :root { --nav: 60px; --gut: 24px; --space: 56px; --bar: calc(73px + env(safe-area-inset-bottom)); }
  body { font-size: 16px; padding-bottom: var(--bar); }
  .nav__logo { font-size: 22px; }
  .nav__links .btn, .hero .btn, #prices .head .btn { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: minmax(200px, 1fr) auto; height: calc(100svh - var(--nav) - var(--bar)); min-height: 480px; }
  .hero__photo { order: -1; }
  .hero__copy { gap: 12px; padding: 22px var(--gut); }
  .hero__copy p { font-size: 16px; }
  .hero__name { font-size: 48px; }
  .hero__trade { margin-top: 10px; font-size: 22px; }
  .story { font-size: 17px; }
  .cards { grid-template-columns: 1fr; }
  .card h3 { font-size: 27px; }
  .method, .duration { display: block; margin: 4px 0 0; }
  .facts div { grid-template-columns: 1fr; gap: 0; }
  .channels .btn { width: 100%; }
  .closing__copy { padding-top: 56px; }
  .closing__photo { height: 340px; }
  .actionbar {
    position: fixed; inset: auto 0 0; z-index: 10; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line);
  }
  .actionbar .btn { padding-inline: 8px; }
}

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