﻿:root {
  --paper: #f6f8f8;
  --white: #ffffff;
  --ink: #172b35;
  --muted: #5d6d74;
  --blue: #8aa5b2;
  --blue-dark: #476875;
  --blue-pale: #dfe8eb;
  --line: #cfdadd;
  --wood: #a47e5c;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --container: min(1180px, calc(100vw - 48px));
  --radius: 3px;
  --shadow: 0 24px 70px rgba(23, 43, 53, 0.13);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.certificate-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #d09045;
  outline-offset: 4px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.demo-bar {
  display: none;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(71, 104, 117, 0.15);
  box-shadow: 0 8px 30px rgba(23, 43, 53, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  width: 205px;
  height: auto;
  object-fit: contain;
}

.brand__mark {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--blue-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.brand__text span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav > a:not(.button) {
  position: relative;
  color: #344b55;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--blue-dark);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-socials a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue-dark);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-socials a:hover {
  border-color: var(--blue-dark);
  color: var(--white);
  background: var(--blue-dark);
}

.header-socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.header-socials rect,
.header-socials circle:not(.social-icon-dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button:hover {
  color: var(--ink);
  background: transparent;
  transform: translateY(-2px);
}

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.button--small {
  min-height: 42px;
  padding: 9px 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero {
  overflow: hidden;
  padding: 46px 0 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.3fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 54px 0 86px;
}

.hero__content::before {
  position: absolute;
  z-index: -1;
  top: -24px;
  left: -118px;
  width: 300px;
  height: 420px;
  border: 1px solid rgba(71, 104, 117, 0.18);
  border-right-color: transparent;
  border-radius: 52% 0 0 48%;
  content: "";
  transform: rotate(-9deg);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 590px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(58px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

h1 em {
  color: var(--blue-dark);
  font-weight: 400;
}

.hero__lead {
  max-width: 510px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 17px;
}

.hero__actions,
.contact__actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero__image-wrap {
  position: relative;
  overflow: hidden;
  height: 650px;
  border-radius: 38% 38% 4px 4px / 28% 28% 4px 4px;
  box-shadow: var(--shadow);
}

.hero__image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(23, 43, 53, 0.18));
  content: "";
}

.hero__image-wrap img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__visual {
  position: relative;
  margin: 0;
}

.hero__visual::before {
  position: absolute;
  z-index: -1;
  top: -100px;
  right: -22vw;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: var(--blue-pale);
  content: "";
}

.hero__visual figcaption {
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 78px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 15px;
  padding: 22px 34px;
  color: var(--muted);
  font-size: 13px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item__value {
  flex-shrink: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 35px;
  line-height: 1;
  white-space: nowrap;
}

.section {
  padding: 140px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}

.section-heading h2,
.price-intro h2,
.story__content h2,
.contact__intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-heading > p,
.price-intro > p,
.story__content > p,
.contact__intro > p {
  color: var(--muted);
}

.section-heading > p {
  max-width: 480px;
  margin-bottom: 8px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px 24px 26px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service:hover {
  border-color: var(--blue);
  background: #fbfcfc;
  box-shadow: 0 16px 40px rgba(71, 104, 117, 0.1);
}

.service__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.service__number {
  color: var(--blue-dark);
  font-family: var(--serif);
  font-size: 13px;
}

.service h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
}

.service p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.service__tag {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.price-section {
  background: var(--blue-pale);
}

.price-layout {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.price-intro {
  position: sticky;
  top: 140px;
}

.price-intro h2 {
  margin-bottom: 28px;
}

.price-intro > p {
  max-width: 400px;
  margin-bottom: 28px;
}

.price-card {
  padding: 16px 42px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 55px rgba(71, 104, 117, 0.09);
}

.price-card--columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
}

.price-column + .price-column {
  border-left: 1px solid rgba(71, 104, 117, 0.2);
  padding-left: 42px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(71, 104, 117, 0.2);
}

.price-column .price-row:last-child {
  border-bottom: 0;
}

.price-row strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.price-row > span {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.story__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
}

.story__images {
  position: relative;
  min-height: 700px;
}

.image-card {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-card img {
  height: 100%;
  object-fit: cover;
}

.image-card--large {
  top: 0;
  left: 0;
  width: 73%;
  height: 550px;
}

.image-card--small {
  right: 0;
  bottom: 0;
  width: 51%;
  height: 360px;
  border: 12px solid var(--paper);
}

.illustration-note {
  position: absolute;
  bottom: 58px;
  left: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.certificates {
  background: var(--white);
}

.certificates__heading {
  align-items: end;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.certificate-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.certificate-card:hover {
  border-color: var(--blue);
  box-shadow: 0 16px 40px rgba(71, 104, 117, 0.13);
  transform: translateY(-3px);
}

.certificate-card__media {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #edf1f2;
}

.certificate-card__media::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(23, 43, 53, 0.86);
  content: "+";
  font: 300 24px/32px var(--sans);
  text-align: center;
  transition: background 180ms ease, transform 180ms ease;
}

.certificate-card:hover .certificate-card__media::after {
  background: var(--blue-dark);
  transform: scale(1.08);
}

.certificate-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.certificate-card__caption {
  display: flex;
  min-height: 82px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 18px 18px;
}

.certificate-card__caption strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.2;
}

.certificate-card__caption span {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.certificate-dialog {
  width: min(1180px, calc(100vw - 40px));
  height: min(900px, calc(100dvh - 40px));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 32px 100px rgba(8, 19, 24, 0.35);
}

.certificate-dialog::backdrop {
  background: rgba(8, 19, 24, 0.78);
  backdrop-filter: blur(5px);
}

.certificate-dialog__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  height: 100%;
}

.certificate-dialog__image-wrap {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background: #e7edef;
}

.certificate-dialog__image-wrap img {
  position: absolute;
  inset: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(23, 43, 53, 0.16));
}

.certificate-dialog__caption {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 30px 34px;
  border-left: 1px solid var(--line);
  background: var(--white);
}

.certificate-dialog__caption .eyebrow {
  margin-bottom: 12px;
}

.certificate-dialog__caption h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.05;
}

.certificate-dialog__caption > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.certificate-dialog__close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
}

.certificate-dialog__close:hover {
  color: var(--white);
  background: var(--ink);
}

.certificate-dialog__close svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.gallery__heading {
  align-items: end;
}

.gallery-grid {
  display: grid;
  grid-auto-rows: 255px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--blue-pale);
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.gallery-item__caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 8px 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.gallery-item::after {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  content: "+";
  font-size: 23px;
  font-weight: 300;
  line-height: 1;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.treatments {
  margin-top: clamp(72px, 9vw, 120px);
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.treatments__heading {
  margin-bottom: 36px;
}

.treatments__heading h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.05;
}

.treatments__heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.treatment-group {
  border-top: 1px solid var(--line);
}

.treatment-group:last-child {
  border-bottom: 1px solid var(--line);
}

.treatment-group summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 23px 40px 23px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 29px);
  line-height: 1.2;
  list-style: none;
  position: relative;
}

.treatment-group summary::-webkit-details-marker {
  display: none;
}

.treatment-group summary::after {
  position: absolute;
  right: 4px;
  content: "+";
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 400;
}

.treatment-group[open] summary::after {
  content: "−";
}

.treatment-group summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.treatment-group__count {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  white-space: nowrap;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px;
  gap: 12px;
  padding-bottom: 28px;
}

.treatment-item img {
  width: 100%;
}

.story__content h2 {
  margin-bottom: 30px;
}

.story__content > p {
  margin-bottom: 20px;
}

blockquote {
  margin: 38px 0 0;
  padding: 25px 0 0 28px;
  border-top: 1px solid var(--line);
  border-left: 2px solid var(--blue);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.35;
}

blockquote cite {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.04em;
}

.contact {
  color: var(--white);
  background: var(--ink);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(70px, 10vw, 150px);
}

.contact .eyebrow {
  color: #9db6c0;
}

.contact__intro h2 {
  margin-bottom: 28px;
}

.contact__intro > p {
  max-width: 430px;
  margin-bottom: 36px;
  color: #b9c7cc;
}

.contact .button {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.contact .button:hover {
  color: var(--white);
  background: transparent;
}

.contact .text-link {
  color: var(--white);
}

.contact__details {
  border-top: 1px solid #38505a;
}

.detail-block {
  padding: 30px 0;
  border-bottom: 1px solid #38505a;
}

.detail-block > span,
.detail-block--split span {
  display: block;
  margin-bottom: 12px;
  color: #8fa5ae;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.detail-block address {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 31px;
  font-style: normal;
  line-height: 1.2;
}

.detail-block p {
  max-width: 520px;
  margin-bottom: 18px;
  color: #b9c7cc;
  font-size: 14px;
}

.detail-block p strong {
  color: var(--white);
  font-weight: 600;
}

.detail-block--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.detail-block--split p {
  margin-bottom: 0;
}

.detail-block--contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
}

.detail-block--contact a {
  font-family: var(--serif);
  font-size: 24px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
}

.social-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid #38505a;
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.social-links a:hover {
  border-color: #9db6c0;
  background: rgba(255, 255, 255, 0.06);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-links rect,
.social-links circle:not(.social-icon-dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid #38505a;
  color: #aebdc2;
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand--footer {
  padding: 4px 6px;
  border-radius: var(--radius);
  background: var(--white);
}

.brand--footer .brand__logo {
  width: 172px;
}

.site-footer p,
.site-footer > a {
  margin: 0;
  font-size: 11px;
}

.site-footer a:last-child {
  font-size: 11px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 11px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal--delay {
  transition-delay: 120ms;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 36px, 760px);
  }

  .treatment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border: 0;
    color: var(--ink);
    background: transparent;
    font: 600 12px var(--sans);
  }

  .menu-toggle__lines,
  .menu-toggle__lines::before {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }

  .menu-toggle__lines::before {
    transform: translateY(-6px);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__lines {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
    transform: rotate(-90deg);
  }

  .nav {
    position: fixed;
    z-index: 49;
    top: 96px;
    right: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    height: calc(100dvh - 96px);
    padding: 30px 18px;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav > a:not(.button) {
    padding: 17px 8px;
    border-bottom: 1px solid var(--line);
    font: 32px var(--serif);
  }

  .nav .button {
    margin-top: 28px;
  }

  .hero__grid,
  .section-heading,
  .price-layout,
  .story__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    gap: 10px;
  }

  .hero__content {
    padding-bottom: 46px;
  }

  h1 {
    font-size: clamp(56px, 11vw, 78px);
  }

  .hero__image-wrap {
    height: 420px;
  }

  .hero__image-wrap img {
    object-position: 40% 55%;
  }

  .section-heading {
    gap: 28px;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-intro {
    position: static;
  }

  .header-socials {
    display: none;
  }

  .certificates-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .certificate-dialog__content {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .price-card--columns {
    gap: 0 28px;
  }

  .price-column + .price-column {
    padding-left: 28px;
  }

  .story__grid {
    gap: 70px;
  }

  .story__images {
    min-height: 620px;
  }

  .footer-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 30px);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand__logo {
    width: 156px;
  }

  .nav {
    top: 72px;
    height: calc(100dvh - 72px);
  }

  .hero {
    padding-top: 8px;
  }

  .hero__content {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(51px, 16vw, 68px);
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions,
  .contact__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .text-link,
  .contact__actions .text-link {
    justify-content: center;
  }

  .hero__image-wrap {
    height: 300px;
    border-radius: 34% 34% 4px 4px / 18% 18% 4px 4px;
  }

  .hero__image-wrap img {
    object-position: 38% 60%;
  }

  .hero__visual::before {
    top: -50px;
    right: -50vw;
    width: 130vw;
    height: 130vw;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .trust-item {
    min-height: 88px;
    padding: 18px 10px;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 96px 0;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service {
    padding: 22px 20px 24px;
  }

  .service h3 {
    font-size: 24px;
  }

  .price-layout {
    gap: 45px;
  }

  .price-card {
    padding: 8px 20px;
  }

  .price-card--columns {
    grid-template-columns: 1fr;
  }

  .price-column + .price-column {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(71, 104, 117, 0.2);
  }

  .price-row {
    gap: 18px;
  }

  .price-row strong {
    font-size: 17px;
  }

  .story__images {
    min-height: 500px;
  }

  .image-card--large {
    width: 84%;
    height: 410px;
  }

  .image-card--small {
    width: 54%;
    height: 250px;
    border-width: 8px;
  }

  .illustration-note {
    bottom: 23px;
  }

  .certificates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .certificate-card__media {
    padding: 7px;
  }

  .certificate-card__caption {
    min-height: 88px;
    flex-direction: column;
    gap: 8px;
    padding: 13px 12px 14px;
  }

  .certificate-card__caption strong {
    font-size: 17px;
  }

  .certificate-dialog {
    width: calc(100vw - 20px);
    height: calc(100dvh - 20px);
  }

  .certificate-dialog__content {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .certificate-dialog__image-wrap {
    padding: 12px;
  }

  .certificate-dialog__image-wrap img {
    inset: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
  }

  .certificate-dialog__caption {
    padding: 18px 20px 20px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .certificate-dialog__caption .eyebrow {
    margin-bottom: 7px;
  }

  .certificate-dialog__caption h2 {
    max-width: calc(100% - 45px);
    margin-bottom: 0;
    font-size: 27px;
  }

  .certificate-dialog__caption > p:last-child {
    display: none;
  }

  .certificate-dialog__close {
    top: 12px;
    right: 12px;
  }

  .gallery-grid {
    grid-auto-rows: 235px;
    grid-template-columns: 1fr;
  }

  .gallery-item--wide {
    grid-column: auto;
  }

  .treatment-group summary {
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 18px 36px 18px 0;
  }

  .treatment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 155px;
    gap: 8px;
  }

  .detail-block--split {
    gap: 34px;
  }

  .contact {
    padding-bottom: 28px;
  }

  .detail-block--contact {
    flex-direction: column;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand--footer .brand__logo {
    width: 172px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
