/*
  Braces & Faces
  Colour: brand book (Blue #124A84, Azure #2994C0, Light Azure #CDF1FF, White)
  Type: Newsreader (display) · Geist (text) · Geist Mono (labels)
*/
:root {
  --navy: #124a84;
  --navy-ink: #0b2f57;
  --azure: #2994c0;
  --azure-light: #cdf1ff;
  --azure-wash: #eaf8fe;
  --paper: #f6fafc;
  --white: #ffffff;
  --text: #2c4763;
  --muted: #5f7891;
  --rule: rgba(18, 74, 132, 0.14);
  --rule-strong: rgba(18, 74, 132, 0.28);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 6px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

h1,
h2 {
  color: var(--navy-ink);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 380;
  letter-spacing: -0.022em;
  line-height: 1.04;
}

h1 em,
h2 em {
  color: var(--azure);
  font-style: italic;
  font-weight: 340;
}

h2 {
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
}

h3 {
  color: var(--navy-ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.label {
  margin-bottom: 20px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: 1.1875rem;
  line-height: 1.6;
}

.lead a {
  color: var(--navy);
  text-underline-offset: 3px;
}

.wrap {
  width: min(1240px, 100% - 64px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(88px, 11vw, 152px);
}

.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-head .lead {
  margin-top: 24px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

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

/* Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.btn-solid {
  background: var(--navy);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--navy-ink);
}

.btn-lg {
  min-height: 54px;
  padding-inline: 28px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: border-color 200ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  height: 100%;
}

.brand img {
  width: auto;
  height: 46px;
}

.nav {
  display: flex;
  gap: 36px;
  margin-inline-start: auto;
}

.nav a {
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--azure);
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 8px;
}

.nav .nav-book {
  display: none;
}

.menu-toggle {
  display: none;
  margin-inline-start: auto;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

/* Hero */
.hero {
  padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.hero h1 {
  max-width: 12.5ch;
  font-size: clamp(3rem, 6.6vw, 5.75rem);
  line-height: 0.98;
}

.hero-lede {
  max-width: 30rem;
  margin-top: 32px;
  color: var(--muted);
  font-size: 1.1875rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 40px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 48px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.hero-facts dt,
.details dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin-top: 4px;
  color: var(--navy-ink);
  font-weight: 500;
}

/* Signature: smile analysis */
.analysis-frame {
  position: relative;
  background: linear-gradient(180deg, var(--azure-wash), var(--azure-light));
  border-radius: var(--radius);
}

.analysis-frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.analysis-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ln {
  fill: none;
  stroke: var(--azure);
  stroke-width: 1.5px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.4s var(--ease) forwards;
}

.ln-mid {
  animation-delay: 300ms;
}

.ln-eye {
  animation-delay: 700ms;
}

.ln-smile {
  animation-delay: 1100ms;
}

.pt {
  fill: var(--white);
  stroke: var(--azure);
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  animation: fade 400ms ease forwards;
  animation-delay: 1500ms;
}

.tag {
  position: absolute;
  padding: 4px 8px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  animation: fade 500ms ease forwards;
}

.tag-mid {
  left: 61%;
  top: 4%;
  animation-delay: 900ms;
}

.tag-eye {
  left: 81%;
  top: 31%;
  animation-delay: 1300ms;
}

.tag-smile {
  left: 70%;
  top: 56%;
  animation-delay: 1700ms;
}

.analysis figcaption {
  max-width: 30rem;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Approach */
.approach-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(48px, 7vw, 112px);
  align-items: end;
}

.approach-head .label {
  grid-column: 1 / -1;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 88px;
}

.principles article {
  padding-top: 24px;
  border-top: 1px solid var(--rule-strong);
}

.principles p {
  margin-top: 12px;
  color: var(--muted);
}

/* Image + text split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.split-reverse .split-media {
  order: 2;
}

.split-media img {
  width: 100%;
  height: auto;
  max-height: 720px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
}

.split-media-narrow {
  justify-self: center;
  width: min(100%, 440px);
}

.split-copy > * + * {
  margin-top: 24px;
}

.split-copy .label + h2,
.split-copy .fit + h2 {
  margin-top: 0;
}

.split-copy .fit {
  display: block;
  margin-bottom: 16px;
  text-align: start;
}

.doctor-role {
  color: var(--azure);
  font-weight: 500;
}

.split-copy .doctor-role {
  margin-top: 12px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-inline: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-bottom: 1.5px solid var(--azure);
  border-left: 1.5px solid var(--azure);
  content: "";
  transform: translateY(-50%) rotate(-45deg);
}

/* Inner page header */
.page-hero {
  padding-block: clamp(56px, 8vw, 112px) clamp(56px, 7vw, 96px);
  background: linear-gradient(180deg, var(--azure-wash), var(--white));
}

.page-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.75rem, 6vw, 5rem);
}

.page-hero .lead {
  max-width: 40rem;
  margin-top: 24px;
}

.page-hero-tight h1 {
  max-width: none;
}

.page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.page-hero-figure img {
  width: 100%;
  height: auto;
  max-height: 640px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 30%;
}

.page-hero-media {
  margin-top: clamp(48px, 6vw, 80px);
}

.page-hero-media img {
  width: 100%;
  height: auto;
  max-height: 560px;
  border-radius: var(--radius);
  object-fit: cover;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.jump-links a {
  padding: 8px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

.jump-links a:hover {
  border-color: var(--navy);
  background: var(--azure-wash);
}

/* Home: treatment cards */
.treatments-preview {
  background: var(--paper);
}

.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.photo-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
}

.photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.photo-card:hover img {
  transform: scale(1.04);
}

.photo-card-body {
  display: grid;
  gap: 8px;
  padding: 20px 24px 24px;
}

.photo-card .fit {
  text-align: start;
}

.photo-card-title {
  color: var(--navy-ink);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
  transition: color 160ms ease;
}

.photo-card:hover .photo-card-title {
  color: var(--azure);
}

.fit {
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Treatments page */
.t-row {
  padding-block: clamp(64px, 8vw, 112px);
  border-bottom: 1px solid var(--rule);
}

.t-row:nth-child(even) {
  background: var(--paper);
}

.t-row h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

/* Gallery */
.gallery-section {
  background: var(--paper);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(200px, 22vw, 300px);
  gap: 16px;
}

.gallery figure {
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-tall {
  grid-row: span 2;
}

.g-wide {
  grid-column: span 2;
}

/* Instagram */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.ig-grid a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

.ig-grid img {
  width: 100%;
  height: auto;
  transition: transform 600ms var(--ease);
}

.ig-grid a:hover img {
  transform: scale(1.04);
}

/* CTA band */
.cta-band {
  padding-block: clamp(64px, 8vw, 104px);
  background: var(--azure-light);
}

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

.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

/* Care tips */
.care-section {
  background: var(--paper);
}

.tips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tips article {
  padding: 32px 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
}

.tips p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
}

/* First visit */
.visit {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.visit h2,
.visit h3 {
  color: var(--white);
}

.visit h2 em {
  color: var(--azure-light);
}

.visit .label {
  color: var(--azure-light);
}

.visit .lead {
  color: rgba(255, 255, 255, 0.72);
}

.visit-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(32px, 7vw, 112px);
  margin-bottom: 80px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps li {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.step-n {
  display: block;
  margin-bottom: 24px;
  color: var(--azure-light);
  font-family: var(--serif);
  font-size: 3rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.steps p {
  margin-top: 12px;
  font-size: 1rem;
}

.steps + .btn {
  margin-top: 64px;
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover {
  background: var(--azure-light);
}

/* Myths */
.myth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.myth {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 32px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
}

.verdict {
  align-self: flex-start;
  padding: 4px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verdict-fact {
  border-color: var(--azure);
  background: var(--azure);
  color: var(--white);
}

.myth blockquote {
  color: var(--navy-ink);
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.myth p {
  margin-top: auto;
  color: var(--muted);
  font-size: 1rem;
}

/* Sterilization cycle */
.cycle {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.split-copy .cycle {
  margin-top: 40px;
}

.cycle li {
  padding-top: 16px;
  border-top: 1px solid var(--rule-strong);
}

.cycle strong {
  display: block;
  color: var(--navy-ink);
  font-weight: 600;
}

.cycle strong::before {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  content: "STAGE " counter(list-item);
}

.cycle span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(48px, 8vw, 128px);
}

.faq-intro .lead {
  margin-top: 24px;
}

.faq-list {
  border-top: 1px solid var(--rule-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--rule);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  color: var(--navy-ink);
  font-size: 1.125rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  transition: color 160ms ease;
}

.faq-list summary:hover {
  color: var(--azure);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  content: "";
  transition: transform 220ms var(--ease);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 40rem;
  padding-bottom: 24px;
  color: var(--muted);
}

/* Contact */
.contact {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 8vw, 128px);
}

.contact-info .lead {
  margin-top: 24px;
}

.details {
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
}

.details div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.details dt {
  padding-top: 4px;
}

.details dd {
  color: var(--navy-ink);
}

.details a {
  color: var(--navy);
  text-underline-offset: 3px;
}

.map {
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--azure-wash);
}

.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  filter: saturate(0.6);
}

.form {
  display: grid;
  gap: 20px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
}

.form h2 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.875rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.form label {
  display: grid;
  gap: 8px;
  color: var(--navy-ink);
  font-size: 0.875rem;
  font-weight: 500;
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.form textarea {
  resize: vertical;
}

.form input::placeholder {
  color: #9aabbd;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--azure);
  box-shadow: 0 0 0 3px rgba(41, 148, 192, 0.16);
  outline: none;
}

.form [aria-invalid="true"] {
  border-color: #b8433b;
}

.form-note {
  min-height: 1.5em;
  color: var(--muted);
  font-size: 0.875rem;
}

.form-note.is-error {
  color: #b8433b;
}

.form-note.is-success {
  color: var(--navy);
}

.contact-photo {
  margin-top: 24px;
}

.contact-photo img {
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 88%;
}

/* Footer */
.site-footer {
  padding-block: 80px 32px;
  border-top: 1px solid var(--rule);
  background: var(--white);
  font-size: 0.9375rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px 96px;
}

.footer-logo {
  width: 168px;
  height: auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-cols .label {
  margin-bottom: 16px;
  color: var(--muted);
}

.footer-cols a {
  color: var(--navy-ink);
  text-decoration: none;
}

.footer-cols a:hover {
  color: var(--azure);
}

.footer-nav {
  display: grid;
  gap: 8px;
}

.legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.8125rem;
}

/* Scroll reveal: a quiet fade, sections only */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Hero load sequence */
.js .hero-copy > * {
  opacity: 0;
  animation: rise 900ms var(--ease) forwards;
}

.js .hero-copy > :nth-child(2) {
  animation-delay: 80ms;
}

.js .hero-copy > :nth-child(3) {
  animation-delay: 160ms;
}

.js .hero-copy > :nth-child(4) {
  animation-delay: 240ms;
}

.js .hero-copy > :nth-child(5) {
  animation-delay: 320ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fade {
  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .steps,
  .tips {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }

  .tips {
    row-gap: 24px;
  }

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

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

@media (max-width: 880px) {
  :root {
    --header-h: 68px;
  }

  .brand img {
    height: 40px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 8px 32px 24px;
    border-bottom: 1px solid var(--rule);
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 1.0625rem;
  }

  .nav a[aria-current="page"] {
    text-decoration: none;
  }

  .nav .nav-book {
    display: inline-flex;
    margin-top: 16px;
    padding: 14px 20px;
    border-bottom: 0;
    color: var(--white);
  }

  .hero-grid,
  .page-hero-split,
  .approach-head,
  .split,
  .visit-head,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-reverse .split-media {
    order: 0;
  }

  .split-media img {
    max-height: 520px;
  }

  .split-media-narrow {
    justify-self: start;
  }

  .approach-head .lead {
    margin-top: 24px;
  }

  .analysis {
    max-width: 560px;
  }

  .principles,
  .myth-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .myth-grid {
    gap: 16px;
  }

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

  .g-wide {
    grid-column: span 1;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .nav {
    padding-inline: 20px;
  }

  body {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 12vw, 3.5rem);
  }

  .page-hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.25rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions {
    gap: 20px;
  }

  .hero-facts {
    grid-template-columns: repeat(3, auto);
    gap: 20px;
    margin-top: 48px;
  }

  .hero-facts dd {
    font-size: 0.9375rem;
  }

  .tag {
    padding: 3px 6px;
    font-size: 0.5625rem;
  }

  .tag-eye {
    left: auto;
    right: 0;
    top: 37%;
  }

  .tag-smile {
    left: auto;
    right: 0;
    top: 62%;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .split-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps,
  .tips,
  .cycle {
    grid-template-columns: 1fr;
  }

  .card-grid {
    gap: 16px;
  }

  .photo-card-body {
    padding: 16px;
  }

  .photo-card-title {
    font-size: 1.25rem;
  }

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

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

  .g-tall {
    grid-row: span 1;
  }

  .myth {
    padding: 32px 24px;
  }

  .details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cta-inner .btn {
    width: 100%;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
