/* ============================================================
   АНАСТАСИЯ · пирсинг
   ink-black editorial · liquid chrome accents
   ============================================================ */

:root {
  --bg: #0b0b0d;
  --bg-raise: #101014;
  --ink: #e8e5de;
  --ink-dim: #9a9791;
  --ink-faint: #56555a;
  --line: #232328;
  --chrome-a: #f4f2ec;
  --chrome-b: #8a8f99;
  --chrome-c: #f7f5f0;
  --chrome-d: #5c6069;
  --metal-a: #f4f2ec;
  --metal-b: #8a8f99;
  --metal-c: #f7f5f0;
  --metal-d: #5c6069;
  --serif: "Cormorant", Georgia, serif;
  --grotesk: "Manrope", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* light theme: applied automatically from the OS preference, or explicitly via the header toggle (see script.js) */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f7f5f0;
    --bg-raise: #ffffff;
    --ink: #16161a;
    --ink-dim: #55534d;
    --ink-faint: #8b887f;
    --line: #ddd9d0;
    --chrome-a: #2a2a2e;
    --chrome-b: #6b6e76;
    --chrome-c: #1c1c1f;
    --chrome-d: #4a4b52;
  }
}
:root[data-theme="light"] {
  --bg: #f7f5f0;
  --bg-raise: #ffffff;
  --ink: #16161a;
  --ink-dim: #55534d;
  --ink-faint: #8b887f;
  --line: #ddd9d0;
  --chrome-a: #2a2a2e;
  --chrome-b: #6b6e76;
  --chrome-c: #1c1c1f;
  --chrome-d: #4a4b52;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*, *::before, *::after {
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 4.5rem; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--grotesk);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--bg); }

em { font-family: var(--serif); font-style: italic; font-weight: 500; }
p em { font-size: 1.18em; line-height: 1; }

/* film grain */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* chrome text */
.chrome {
  background: linear-gradient(115deg,
    var(--chrome-a) 0%, var(--chrome-b) 38%,
    var(--chrome-c) 55%, var(--chrome-d) 78%, var(--chrome-a) 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chrome-flow 7s ease-in-out infinite;
}
@keyframes chrome-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .grain { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--grotesk);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 100px;
  padding: 1.05em 2.1em;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              background-color 0.4s var(--ease), color 0.4s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-chrome {
  color: #101013;
  background: linear-gradient(115deg,
    var(--metal-a) 0%, var(--metal-b) 42%, var(--metal-c) 58%, #b9bcc2 100%);
  background-size: 180% 180%;
  border: none;
  box-shadow: 0 0 0 1px rgba(244, 242, 236, 0.14), 0 10px 34px -12px rgba(220, 222, 228, 0.35);
}
.btn-chrome:hover {
  background-position: 90% 50%;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(244, 242, 236, 0.22), 0 16px 44px -12px rgba(220, 222, 228, 0.5);
}
.btn-chrome { position: relative; overflow: hidden; }
.btn-chrome::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: translateX(-130%) skewX(-18deg);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.btn-chrome:hover::after { transform: translateX(320%) skewX(-18deg); }

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink-dim); transform: translateY(-2px); }

.btn-small { padding: 0.7em 1.5em; font-size: 0.75rem; }
.btn-big { padding: 1.35em 2.9em; font-size: 1rem; }

.tg-icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform 0.55s var(--ease), border-color 0.4s, background-color 0.4s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-tucked { transform: translateY(-100%); }
.logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--ink); text-decoration: none;
  font-family: var(--grotesk); font-weight: 500;
  letter-spacing: 0.34em; font-size: 0.95rem;
}
.logo-mark { width: 1.35rem; height: 1.35rem; }
.site-nav { display: flex; gap: clamp(1rem, 3vw, 2.4rem); }
.site-nav a {
  position: relative;
  color: var(--ink-dim); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  transition: color 0.3s;
}
.site-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- theme toggle ---------- */
.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.3rem; height: 2.3rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-dim);
  cursor: pointer;
  flex: none;
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-dim); transform: translateY(-2px); }
.theme-toggle svg { width: 1.05rem; height: 1.05rem; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem clamp(1.25rem, 6vw, 5rem) 6rem;
  overflow: hidden;
}
.hero-eyebrow {
  font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 2.2rem;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 9.5vw, 7.8rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 11em;
}
.hero-title .line { display: block; }
.hero-dot {
  display: inline-block;
  width: 0.14em; height: 0.14em;
  margin-left: 0.12em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--metal-a), var(--metal-d));
  box-shadow: 0 0 18px rgba(240, 240, 244, 0.55);
  animation: dot-pulse 3.2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(240,240,244,0.35); }
  50% { box-shadow: 0 0 26px rgba(240,240,244,0.7); }
}
.hero-sub {
  margin-top: 2.4rem;
  max-width: 34em;
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.hero-cta {
  margin-top: 3rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
}
.hero-ring {
  position: absolute;
  right: clamp(-2rem, 4vw, 8rem);
  top: 50%;
  translate: 0 -50%;
  width: clamp(17rem, 30vw, 26rem);
  pointer-events: none;
  opacity: 0.55;
  transition: transform 1.4s var(--ease);
}
.hero-ring svg { width: 100%; height: auto; display: block; }
.hero-ring path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: hero-draw 2s var(--ease) forwards;
}
.hero-ring path:nth-of-type(2) { animation-delay: 0.25s; }
.hero-ring path:nth-of-type(3) { animation-delay: 0.5s; }
.hero-ring path:nth-of-type(4) { animation-delay: 0.7s; }
.hero-ring path:nth-of-type(5) { animation-delay: 0.9s; }
.hero-ring path:nth-of-type(6) { animation-delay: 1.05s; }
.hero-ring path:nth-of-type(7) { animation-delay: 1.2s; }
@keyframes hero-draw { to { stroke-dashoffset: 0; } }
.hero-ear-dots circle {
  animation: hero-dots-in 1s 1.7s var(--ease) both,
             svg-dot-pulse 3.4s 2.7s ease-in-out infinite;
}
.hero-ear-dots circle:last-child {
  animation-delay: 1.9s, 3.4s;
}
@keyframes hero-dots-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes svg-dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.scroll-hint {
  position: absolute; bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 4rem;
  background: var(--line);
  overflow: hidden;
}
.scroll-hint span {
  position: absolute; top: -40%;
  width: 100%; height: 40%;
  background: var(--ink);
  animation: hint-drop 2.2s var(--ease) infinite;
}
@keyframes hint-drop { to { top: 110%; } }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1.1rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink-faint);
  white-space: nowrap;
}
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-ring path { animation: none; stroke-dashoffset: 0; }
  .hero-ear-dots circle { animation: none; }
  .anatomy-svg { animation: none; }
}

/* ---------- sections ---------- */
.section {
  padding: clamp(5rem, 11vw, 9rem) clamp(1.25rem, 6vw, 5rem);
  max-width: 1240px;
  margin: 0 auto;
}
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 1rem;
}
.section-head h1, .section-head h2, .contact-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.05;
}

/* ---------- legal page ---------- */
.legal { max-width: 46rem; }
.legal h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}
.legal h3:first-child { margin-top: 0; }
.legal p { color: var(--ink-dim); line-height: 1.7; margin-bottom: 1rem; }
.legal .legal-note { margin-top: 3rem; font-size: 0.8rem; color: var(--ink-faint); letter-spacing: 0.04em; }

/* ---------- services: price list ---------- */
.price-list { border-top: 1px solid var(--line); }
.price-row {
  position: relative;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 2rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
.price-row::before {
  content: "";
  position: absolute;
  inset: 0 -1.2rem;
  background: var(--bg-raise);
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.price-row > * {
  position: relative;
  transition: transform 0.55s var(--ease);
}
.price-row:hover::before { opacity: 1; }
.price-row:hover > * { transform: translateX(0.55rem); }
.price-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-faint);
  line-height: 1;
}
.price-info h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.price-info p { color: var(--ink-dim); font-size: 0.9rem; max-width: 34em; }
.price {
  color: var(--ink);
  white-space: nowrap;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.card-book {
  background: none; border: none;
  color: var(--ink);
  font-family: var(--grotesk); font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
  padding: 0.4em 0;
  text-align: left;
  display: inline-flex; align-items: center; gap: 0.5em;
  transition: color 0.3s;
}
.card-book span { transition: transform 0.45s var(--ease); }
.card-book:hover { color: var(--ink); }
.card-book:hover span { transform: translateX(0.45em); }
.services-footnote {
  margin-top: 2rem;
  color: var(--ink-faint);
  font-size: 0.85rem;
}

/* ---------- ear map ---------- */
.section-earmap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.earmap-copy p { color: var(--ink-dim); max-width: 32em; }
.earmap-info {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.6rem 1.8rem;
  min-height: 9.5rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem;
  background: var(--bg-raise);
}
.earmap-info-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--ink) !important;
}
.earmap-info-detail { font-size: 0.9rem; }
.earmap-book { margin-top: 0.6rem; }

.earmap-figure { position: relative; }
.ear-svg { width: 100%; max-width: 30rem; display: block; margin: 0 auto; }

.ear-point {
  fill: var(--bg);
  stroke: var(--ink);
  stroke-width: 2;
  cursor: pointer;
  r: 9px;
  transition: fill 0.35s, r 0.45s var(--ease);
  animation: point-breathe 3s ease-in-out infinite;
}
.ear-point:hover, .ear-point.is-active {
  fill: var(--ink);
  r: 12px;
  animation: none;
}
@keyframes point-breathe {
  0%, 100% { stroke-opacity: 0.55; }
  50% { stroke-opacity: 1; }
}
.ear-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45em 0.9em;
  border-radius: 3px;
  transform: translate(-50%, -140%);
  white-space: nowrap;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transition: left 0.5s var(--ease), top 0.5s var(--ease),
              opacity 0.3s ease, visibility 0.3s;
}
.ear-tooltip.is-on { opacity: 1; visibility: visible; }


/* ---------- anatomy tabs ---------- */
.anatomy-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}
.anatomy-tab {
  font-family: var(--grotesk);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.65em 1.7em;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.anatomy-tab:hover { color: var(--ink); border-color: var(--ink-dim); }
.anatomy-tab.is-active {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
}
.anatomy-svg[hidden] { display: none; }
.js .anatomy-svg { animation: fig-in 0.9s var(--ease) both; }
@keyframes fig-in {
  from { opacity: 0; transform: scale(0.965) translateY(10px); }
}

/* ---------- process ---------- */
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  counter-reset: step;
}
.process-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.4rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-faint);
  display: block;
  margin-bottom: 1.2rem;
  line-height: 1;
}
.process h3 {
  font-family: var(--grotesk); font-weight: 400;
  font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.process p { color: var(--ink-dim); font-size: 0.95rem; }

/* ---------- standards ---------- */
.section-standards {
  max-width: none;
  background: var(--bg-raise);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.standards-inner { max-width: 1240px; margin: 0 auto; }
.standards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.standards li {
  color: var(--ink-dim);
  font-size: 0.95rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--ink-faint);
}
.standards strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

/* ---------- faq ---------- */
.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ink); }
.faq-icon {
  position: relative;
  width: 0.85rem; height: 0.85rem; flex: none;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  background: var(--ink-dim);
  transition: transform 0.35s var(--ease);
}
.faq-icon::before { width: 100%; height: 1px; }
.faq-icon::after { width: 1px; height: 100%; }
.faq details.is-open .faq-icon::after { transform: rotate(90deg); }
.faq details p {
  color: var(--ink-dim);
  font-size: 0.95rem;
  max-width: 40em;
  padding: 0 0 1.7rem;
  overflow: hidden;
}

/* ---------- contact ---------- */
.section-contact {
  text-align: center;
  padding-top: clamp(6rem, 14vw, 11rem);
  padding-bottom: clamp(6rem, 14vw, 11rem);
}
.contact-title {
  font-size: clamp(3rem, 8.5vw, 6.5rem);
  margin-bottom: 1.8rem;
}
.contact-title span { display: block; }
.contact-sub {
  color: var(--ink-dim);
  max-width: 30em;
  margin: 0 auto 3rem;
}
.contact-handle {
  margin-top: 2rem;
  color: var(--ink-faint);
  letter-spacing: 0.2em;
  font-size: 0.85rem;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem;
  color: var(--ink-faint);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.footer-link { color: var(--ink-faint); text-decoration: underline; text-underline-offset: 0.2em; }
.footer-link:hover { color: var(--ink-dim); }

/* ---------- premium chrome ---------- */
.cursor-glow {
  position: fixed;
  left: 0; top: 0;
  width: 44rem; height: 44rem;
  margin: -22rem 0 0 -22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 234, 228, 0.05), transparent 62%);
  pointer-events: none;
  z-index: 1;
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 8px;
  border: 2px solid var(--bg);
}
html { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
:focus-visible {
  outline: 1px solid var(--ink-dim);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .section-earmap { grid-template-columns: 1fr; }
  .earmap-copy { display: contents; }
  .earmap-copy .section-head { order: 0; }
  .earmap-figure { order: 1; }
  .earmap-info { order: 2; }
  .earmap-lead { order: 3; }
  .ear-svg { max-width: 24rem; }
  .hero-ring { opacity: 0.18; right: -46%; }
  .price-row { grid-template-columns: 2.6rem minmax(0, 1fr) auto; }
  .price-row .card-book { grid-column: 2 / -1; justify-self: start; margin-top: 0.4rem; }
}
@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-header { padding: 0.85rem 1.1rem; }
  .logo { letter-spacing: 0.2em; font-size: 0.82rem; gap: 0.45rem; }
  .btn { padding: 1em 1.7em; font-size: 0.78rem; }
  .btn-small { padding: 0.65em 1.15em; font-size: 0.68rem; }
  .btn-big { padding: 1.2em 2em; font-size: 0.85rem; }
  .hero { padding-top: 6.5rem; padding-bottom: 7rem; }
  .hero-eyebrow { margin-bottom: 1.6rem; }
  .hero-sub { margin-top: 1.8rem; }
  .hero-cta { margin-top: 2.4rem; flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-ring { display: none; }
  .marquee-track span { font-size: 1.1rem; }
  .price-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.5rem; padding: 1.6rem 0.25rem; }
  .price-row::before { inset: 0 -0.5rem; }
  .price-num { display: none; }
  .price { align-self: start; padding-top: 0.45rem; }
  .price-row .card-book { grid-column: 1 / -1; margin-top: 0.2rem; }
  .anatomy-tabs { margin-bottom: 1.4rem; }
  .earmap-lead { margin-top: 0.4rem; }
  .earmap-info { padding: 1.25rem 1.35rem; min-height: 8rem; }
  .earmap-info-name { font-size: 1.35rem; }
  .process-num { font-size: 2.6rem; }
  .faq summary { font-size: 1.2rem; padding: 1.2rem 0; }
  .contact-sub { margin-bottom: 2.2rem; }
  .section-contact .btn-big { max-width: 100%; white-space: normal; text-align: center; }
  .site-footer { font-size: 0.72rem; }
}
@media (max-width: 380px) {
  .logo span { display: none; }
  .hero-title { font-size: 2.7rem; }
}
