/* ============ TOKENS ============ */
:root {
  --ink: #121212;
  --ink-soft: #4a4844;
  --ink-faint: #8a8781;
  --paper: #f7f5f2;
  --paper-alt: #efece6;
  --white: #ffffff;
  --copper: #a5673f;
  --copper-deep: #7c4a2a;
  --copper-light: #d3a077;

  --line: #ded9d0;
  --line-dark: rgba(255,255,255,0.14);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --section-pad: clamp(72px, 10vw, 140px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

main#inicio,
.trust-bar,
section[id] {
  scroll-margin-top: 96px;
}
@media (max-width: 860px) {
  main#inicio,
  .trust-bar,
  section[id] {
    scroll-margin-top: 78px;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.section-index {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 18px;
}

.link-underline {
  display: inline-block;
  font-weight: 500;
  border-bottom: 1px solid var(--copper);
  padding-bottom: 3px;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}
.link-underline:hover { opacity: 0.65; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}
.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: var(--copper-deep); transform: translateY(-1px); }
.btn-solid-light { background: var(--white); color: var(--ink); }
.btn-solid-light:hover { background: var(--copper-light); color: var(--ink); transform: translateY(-1px); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ghost { color: var(--ink); border-bottom: 1px solid var(--ink); border-radius: 0; padding: 15px 4px; text-transform: none; letter-spacing: 0.01em; font-weight: 500; }
.btn-ghost:hover { color: var(--copper); border-color: var(--copper); }
.btn.full { width: 100%; margin-top: 6px; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  padding: 24px 0;
}
.site-header.scrolled {
  padding: 13px 0;
  border-color: var(--line);
  box-shadow: 0 2px 24px rgba(18,18,18,0.05);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: flex; flex-direction: column; line-height: 1; color: var(--ink); flex-shrink: 0; }
.logo-mark { font-family: var(--serif); font-size: 25px; letter-spacing: 0.01em; white-space: nowrap; }
.logo-sub { font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--copper); margin-top: 3px; white-space: nowrap; }

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--copper);
  transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { font-size: 13.5px; font-weight: 500; white-space: nowrap; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.lang-switch button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px 4px;
  color: var(--ink-faint);
  font: inherit;
  transition: color 0.2s ease;
}
.lang-switch button.active { color: var(--copper); }
.lang-switch span { color: var(--line); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: 0.3s; }
.nav-toggle[aria-expanded="true"] { position: relative; z-index: 600; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(35%) contrast(1.05); }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.35) 40%, rgba(8,8,8,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 32px 110px;
}
.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-light);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 76px);
  color: #fff;
  max-width: 850px;
  font-weight: 400;
}
.hero h1 em { font-style: italic; color: var(--copper-light); font-weight: 400; }
.hero-lede {
  max-width: 480px;
  margin-top: 26px;
  font-size: 17px;
  color: rgba(255,255,255,0.75);
}
.hero-actions { display: flex; gap: 18px; margin-top: 40px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.hero .btn-ghost:hover { color: var(--copper-light); border-color: var(--copper-light); }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 46px;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}
.stars { color: var(--copper-light); letter-spacing: 2px; font-size: 14px; }

.scroll-cue {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 1;
  width: 30px; height: 50px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 8px;
  background: var(--copper-light);
  border-radius: 2px;
  animation: cueMove 1.8s ease-in-out infinite;
}
@keyframes cueMove {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  71% { transform: translateY(0); opacity: 0; }
  100% { opacity: 1; }
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--ink);
  color: var(--white);
  padding: 26px 32px;
}
.trust-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.trust-item svg { flex-shrink: 0; color: var(--copper-light); }

/* ============ STATS ============ */
.stats {
  max-width: var(--container);
  margin: 0 auto;
  padding: 70px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); color: var(--ink); }
.stat-label { font-size: 13px; color: var(--ink-soft); }

/* ============ SAVINGS ============ */
.savings { padding: var(--section-pad) 32px; background: var(--paper-alt); }
.savings-head {
  max-width: var(--container);
  margin: 0 auto 50px;
}
.savings-head h2 { font-size: clamp(30px, 3.6vw, 46px); max-width: 680px; }
.savings-head p { color: var(--ink-soft); font-size: 16px; margin-top: 16px; max-width: 560px; }

.savings-table-wrap {
  max-width: var(--container);
  margin: 0 auto;
  overflow-x: auto;
}
.savings-table { min-width: 560px; }
.savings-table th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  padding: 0 16px 16px;
  border-bottom: 1px solid var(--ink);
}
.savings-table th:not(:first-child) { text-align: right; }
.savings-table td {
  padding: 22px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.savings-table td:not(:first-child) { text-align: right; font-family: var(--serif); }
.savings-table .proc-name { font-weight: 600; }
.savings-table .us-price { color: var(--ink-faint); text-decoration: line-through; text-decoration-color: var(--ink-faint); }
.savings-table .tj-price { color: var(--copper-deep); font-size: 19px; }
.savings-note {
  max-width: var(--container);
  margin: 20px auto 0;
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ============ PHILOSOPHY ============ */
.philosophy {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.philosophy-images { position: relative; }
.img-main { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; filter: grayscale(20%); }
.img-accent {
  position: absolute;
  bottom: -50px;
  left: -60px;
  width: 46%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
  border: 8px solid var(--paper);
  box-shadow: 0 20px 50px rgba(18,18,18,0.16);
}
.philosophy-frame {
  position: absolute;
  top: -22px; right: -22px;
  width: 60%; height: 60%;
  border: 1px solid var(--copper);
  border-radius: 2px;
  z-index: -1;
}
.philosophy-text { padding-left: 20px; }
.philosophy-text h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 26px; }
.philosophy-text p { color: var(--ink-soft); font-size: 16px; margin-bottom: 18px; }
.philosophy-text .link-underline { margin-top: 12px; }

/* ============ SERVICES ============ */
.services { padding: var(--section-pad) 32px; background: var(--paper-alt); }
.services-head, .visit-head, .gallery-head, .faq-head {
  max-width: var(--container);
  margin: 0 auto 60px;
}
.services-head h2, .visit-head h2, .gallery-head h2, .faq-head h2 { font-size: clamp(30px, 3.4vw, 44px); max-width: 640px; }

.services-list {
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 60px 140px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s ease;
}
.service-row:hover { padding-left: 12px; }
.service-num { font-family: var(--serif); font-size: 15px; color: var(--copper); }
.service-img { width: 140px; height: 96px; border-radius: 2px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; filter: grayscale(25%); }
.service-row:hover .service-img img { transform: scale(1.08); filter: grayscale(0%); }
.service-info h3 { font-size: 22px; margin-bottom: 8px; font-weight: 500; }
.service-info p { color: var(--ink-soft); font-size: 15px; max-width: 480px; }
.service-link {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.service-row:hover .service-link { border-color: var(--copper); color: var(--copper); }

/* ============ YOUR VISIT ============ */
.visit { padding: var(--section-pad) 32px; }
.visit-steps {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.visit-step {
  background: var(--paper);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.visit-step-num {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--copper);
}
.visit-step h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.visit-step p { color: var(--ink-soft); font-size: 14.5px; }

/* ============ GALLERY ============ */
.gallery { padding: var(--section-pad) 32px; }
.gallery-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 18px;
}
.g-item { margin: 0; overflow: hidden; border-radius: 2px; grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.6s ease; filter: grayscale(45%); }
.g-item:hover img { transform: scale(1.06); filter: grayscale(0%); }
.g-tall { grid-row: span 3; }
.g-quote {
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 26px;
}
.g-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
  margin: 0;
}

/* ============ TEAM ============ */
.team {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) 32px;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 90px;
  align-items: center;
}
.team-media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 2px; filter: grayscale(20%); }
.team-text h2 { font-size: clamp(30px, 3.4vw, 44px); }
.team-role { color: var(--copper); font-size: 14px; font-weight: 600; margin: 12px 0 22px; letter-spacing: 0.02em; }
.team-text > p:not(.team-role) { color: var(--ink-soft); font-size: 16px; margin-bottom: 24px; }
.credentials { margin-bottom: 26px; display: flex; flex-direction: column; gap: 10px; }
.credentials li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.credentials li::before {
  content: "—";
  position: absolute; left: 0; color: var(--copper);
}

/* ============ TESTIMONIALS ============ */
.testimonials { padding: var(--section-pad) 32px; background: var(--paper-alt); text-align: center; }
.testimonials .section-index { text-align: center; }
.testi-slider { max-width: 760px; margin: 0 auto; }
.testi-viewport { overflow: hidden; }
.testi-track { display: flex; }
.testi-slide {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
}
.testi-slide p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.45;
  color: var(--ink);
}
.testi-slide footer {
  margin-top: 26px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
}
.testi-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 44px; }
.testi-controls button {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.25s ease;
}
.testi-controls button:hover { background: var(--ink); color: var(--paper); }
.testi-dots { display: flex; gap: 8px; }
.testi-dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  padding: 0;
  cursor: pointer;
}
.testi-dots button.active { background: var(--copper); }

/* ============ CTA BAND ============ */
.cta-band {
  position: relative;
  padding: 130px 32px;
  text-align: center;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: grayscale(60%); }
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.9), rgba(8,8,8,0.92));
  z-index: 1;
}
.cta-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-content h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin-bottom: 20px; }
.cta-content p { color: rgba(255,255,255,0.72); font-size: 16.5px; margin-bottom: 36px; }

/* ============ FAQ ============ */
.faq { padding: var(--section-pad) 32px; background: var(--paper-alt); }
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 26px 4px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}
.faq-q > span:first-child { min-width: 0; }
.faq-q span[aria-hidden="true"] { color: var(--copper); font-size: 22px; transition: transform 0.3s ease; font-family: var(--sans); flex-shrink: 0; }
.faq-q[aria-expanded="true"] span[aria-hidden="true"] { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 4px 26px; color: var(--ink-soft); font-size: 15.5px; max-width: 620px; }

/* ============ CONTACT ============ */
.contact {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) 32px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}
.contact-info h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px; }
.contact-info > p:not(.section-index) { color: var(--ink-soft); font-size: 16px; max-width: 400px; margin-bottom: 44px; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-details dt {
  font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--copper); font-weight: 600; margin-bottom: 8px;
}
.contact-details dd { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.5; }

.contact-form { background: var(--paper-alt); padding: 44px; border-radius: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { position: relative; margin-bottom: 22px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 2px 10px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease;
  appearance: none;
  resize: vertical;
}
.form-field select {
  cursor: pointer;
  padding-right: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%234a4844' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 13px;
}
.form-field textarea { resize: vertical; min-height: 60px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--copper); }
.form-field label {
  position: absolute;
  left: 2px; top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
  pointer-events: none;
  transition: all 0.2s ease;
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--copper);
}
.form-field select:valid ~ label,
.form-field select:focus ~ label {
  top: -10px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--copper);
}
.form-note { font-size: 13.5px; margin-top: 14px; color: var(--copper-deep); min-height: 18px; }

/* ============ WHATSAPP FAB ============ */
.whatsapp-fab {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: var(--white);
  padding: 13px 18px;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, background 0.25s ease;
}
.whatsapp-fab:hover { background: var(--copper-deep); transform: translateY(-2px); }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: rgba(247,245,242,0.82); padding: 90px 32px 34px; }
.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .logo-mark,
.footer-brand .logo-sub { display: block; }
.footer-brand .logo-mark { color: #fff; }
.footer-brand .logo-sub { margin-top: 4px; }
.footer-brand p { margin-top: 18px; font-size: 14px; max-width: 280px; color: rgba(247,245,242,0.6); }
.footer-col h4 {
  font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--copper-light); font-weight: 600; margin-bottom: 20px;
}
.footer-col a { display: block; font-size: 14.5px; margin-bottom: 12px; color: rgba(247,245,242,0.82); transition: color 0.2s; }
.footer-col a:hover { color: var(--copper-light); }
.footer-social { display: flex; flex-direction: column; }
.footer-copy {
  max-width: var(--container);
  margin: 30px auto 0;
  font-size: 12.5px;
  color: rgba(247,245,242,0.42);
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s cubic-bezier(.2,.6,.2,1), transform 0.5s cubic-bezier(.2,.6,.2,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .main-nav { gap: 22px; }
}

@media (max-width: 1080px) {
  .header-phone { display: none; }
}

@media (max-width: 980px) {
  .philosophy, .team, .contact { grid-template-columns: 1fr; gap: 50px; }
  .philosophy-text { padding-left: 0; }
  .img-main { aspect-ratio: 4/3; }
  .img-accent { left: -20px; bottom: -30px; width: 46%; }
  .team { grid-template-columns: 1fr; }
  .team-media { max-width: 380px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .service-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .service-row .service-img { order: -1; width: 100%; height: 200px; }
  .service-num { font-size: 13px; }
  .service-link { display: inline-block; }
  .service-row:hover { padding-left: 0; }
  .visit-steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-details { grid-template-columns: 1fr; }
  .cta-band { padding: 100px 32px; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    height: 100svh;
    width: min(78vw, 320px);
    background: var(--paper);
    flex-direction: column;
    padding: 110px 40px;
    gap: 24px;
    box-shadow: -20px 0 50px rgba(0,0,0,0.15);
    font-size: 16px;
    overflow-y: auto;
  }
  .hero-content { padding-top: 100px; }
  .header-actions { gap: 12px; }
  .header-actions .btn { padding: 11px 16px; font-size: 12px; }
  .logo-mark { font-size: 22px; }
}

@media (max-width: 480px) {
  .header-actions .btn-outline { display: none; }
}

@media (max-height: 720px) {
  .hero-content { padding-top: 100px; padding-bottom: 28px; }
  .hero-actions { margin-top: 22px; }
  .hero-trust { margin-top: 20px; }
}

@media (max-width: 640px) {
  .hero-content { padding: 108px 24px 32px; }
  .eyebrow { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .hero-lede { margin-top: 16px; font-size: 15.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 24px; gap: 12px; }
  .hero-actions .btn { text-align: center; padding: 13px 24px; }
  .hero-trust { flex-wrap: wrap; margin-top: 22px; }
  .trust-bar-inner { grid-template-columns: 1fr; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .philosophy-frame { display: none; }
  .img-main { aspect-ratio: 1/1; }
  .img-accent { width: 42%; left: -12px; bottom: -26px; border-width: 6px; }
  .service-img { height: 170px; }
  .visit-steps { grid-template-columns: 1fr; }

  /* stacked "card" layout instead of a horizontally-scrolling table */
  .savings-table-wrap { overflow-x: visible; }
  .savings-table { min-width: 0; width: 100%; }
  .savings-table thead { display: none; }
  .savings-table, .savings-table tbody, .savings-table tr, .savings-table td { display: block; width: 100%; }
  .savings-table tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .savings-table td { padding: 3px 0 !important; border: none !important; text-align: left !important; }
  .savings-table .proc-name { font-size: 16px; margin-bottom: 10px; }
  .savings-table .us-price, .savings-table .tj-price { display: inline-block; font-family: var(--sans); font-size: 14px; margin-right: 20px; }
  .savings-table .us-price::before { content: "USA  "; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-faint); }
  .savings-table .tj-price::before { content: "TJ  "; font-weight: 700; letter-spacing: 0.04em; }
  .savings-table .tj-price { font-family: var(--serif); font-size: 17px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .g-tall { grid-row: span 2; }
  .g-quote { grid-column: span 2; }
  .g-quote blockquote { font-size: 17px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .scroll-cue { display: none; }
  .cta-band { padding: 80px 24px; }
  .contact-form { padding: 30px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand p { max-width: none; }
  .whatsapp-fab span { display: none; }
  .whatsapp-fab { padding: 13px; }
}

@media (max-width: 420px) {
  .testi-controls { gap: 14px; }
  .service-img { height: 150px; }
}

/* ============ INTRO / PRELOADER ============ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(0);
  transition: transform 1s cubic-bezier(.76,0,.24,1);
}
.intro-inner { text-align: center; padding: 0 24px; width: min(340px, 78vw); }
.intro-word { overflow: hidden; }
.intro-word span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(42px, 9vw, 92px);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.05;
  transform: translateY(110%);
  animation: introWord 1s cubic-bezier(.22,.8,.28,1) 0.12s forwards;
}
.intro-sub { overflow: hidden; margin-top: 10px; }
.intro-sub span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  opacity: 0;
  animation: introSub 0.8s ease 0.55s forwards;
}

.intro-progress {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: introSub 0.7s ease 0.75s forwards;
}
.intro-track {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.16);
  overflow: hidden;
}
.intro-fill {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
}
.intro-pct {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5);
  font-variant-numeric: tabular-nums;
  min-width: 32px;
  text-align: right;
}
.intro-pct::after { content: "%"; margin-left: 1px; }

@keyframes introWord { to { transform: translateY(0); } }
@keyframes introSub  { to { opacity: 1; } }

.intro.is-leaving { transform: translateY(-101%); }
.intro-done .intro { display: none; }
html.intro-lock, html.intro-lock body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* ============ CUSTOM CURSOR (fine pointers only) ============ */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor,
  html.has-cursor * { cursor: none !important; }

  html.has-cursor .cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    z-index: 9998;
    pointer-events: none;
    mix-blend-mode: difference;
  }
  .cursor-dot, .cursor-ring {
    position: absolute;
    top: 0; left: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor-dot {
    width: 5px; height: 5px;
    background: #fff;
    transition: opacity 0.25s ease;
  }
  .cursor-ring {
    width: 34px; height: 34px;
    border: 1px solid rgba(255,255,255,0.75);
    transition: width 0.28s cubic-bezier(.2,.8,.2,1),
                height 0.28s cubic-bezier(.2,.8,.2,1),
                border-color 0.28s ease,
                background-color 0.28s ease;
  }
  .cursor.is-active .cursor-ring {
    width: 58px; height: 58px;
    background: rgba(255,255,255,0.14);
    border-color: #fff;
  }
  .cursor.is-active .cursor-dot { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html.has-cursor, html.has-cursor * { cursor: auto !important; }
  html.has-cursor .cursor { display: none; }
}

/* ============ TECH / 3D SCAN ============ */
.tech {
  background: #0b0b0b;
  color: var(--white);
  padding: var(--section-pad) 32px;
  overflow: hidden;
}
.tech-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.tech-visual { position: relative; }
.tech-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 560px;
}
.tech--no-webgl .tech-visual { display: none; }
.tech--no-webgl .tech-inner { grid-template-columns: 1fr; max-width: 720px; }

.tech-caption {
  position: absolute;
  left: 0; bottom: 6px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  display: flex;
  align-items: center;
  gap: 9px;
}
.tech-caption::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--copper-light);
  animation: techPulse 2.4s ease-in-out infinite;
}
@keyframes techPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.tech-text h2 {
  color: #fff;
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 24px;
}
.tech-text > p:not(.section-index) {
  color: rgba(255,255,255,0.68);
  font-size: 16px;
}
.tech-list { margin: 30px 0 30px; display: flex; flex-direction: column; gap: 13px; }
.tech-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.82);
}
.tech-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 1px;
  background: var(--copper-light);
}
.tech-text .link-underline { color: #fff; border-color: var(--copper-light); }

@media (prefers-reduced-motion: reduce) {
  .tech-caption::before { animation: none; }
}

@media (max-width: 980px) {
  .tech-inner { grid-template-columns: 1fr; gap: 40px; }
  .tech-canvas { max-height: 420px; aspect-ratio: 4 / 3; }
  .tech-caption { position: static; margin-top: 10px; }
}
@media (max-width: 640px) {
  .tech { padding-left: 24px; padding-right: 24px; }
  .tech-canvas { aspect-ratio: 1 / 1; max-height: 340px; }
}

/* ============ TRUST BAR — discreet motion ============ */
.trust-bar { position: relative; overflow: hidden; }

/* static hairline + a slow highlight travelling along it */
.trust-bar::before,
.trust-bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  pointer-events: none;
}
.trust-bar::before {
  right: 0;
  background: rgba(211, 160, 119, 0.22);
}
.trust-bar::after {
  width: 22%;
  background: linear-gradient(90deg, transparent, var(--copper-light), transparent);
  transform: translateX(-120%);
  animation: trustSheen 9s cubic-bezier(.55,0,.45,1) 1.2s infinite;
}
@keyframes trustSheen {
  0%   { transform: translateX(-120%); }
  55%  { transform: translateX(560%); }
  100% { transform: translateX(560%); }
}

.trust-item {
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(.2,.8,.2,1);
}
.trust-bar.is-in .trust-item { opacity: 1; transform: none; }
.trust-bar.is-in .trust-item:nth-child(1) { transition-delay: 0.06s; }
.trust-bar.is-in .trust-item:nth-child(2) { transition-delay: 0.19s; }
.trust-bar.is-in .trust-item:nth-child(3) { transition-delay: 0.32s; }
.trust-bar.is-in .trust-item:nth-child(4) { transition-delay: 0.45s; }

.trust-item svg {
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), color 0.45s ease;
}
.trust-item:hover svg { transform: translateY(-2px) scale(1.1); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .trust-bar::after { animation: none; opacity: 0; }
  .trust-item { opacity: 1; transform: none; transition: none; }
  .trust-item:hover svg { transform: none; }
}

/* the scan model is grab-to-orbit */
.tech-canvas { touch-action: pan-y; }
.tech-canvas.is-grabbable { cursor: grab; }
.tech-canvas.is-grabbing { cursor: grabbing; }

/* ============ HERO — choreographed entrance ============ */
/* The headline reveals line by line from behind a mask, the way a printed
   page is uncovered. A plain opacity fade is what every template does. */
.hero-title .line-mask {
  display: block;
  overflow: hidden;
  /* let descenders and accents breathe outside the mask edge */
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.hero-title .line-mask > span {
  display: block;
  transform: translateY(115%);
  transition: transform 1.15s cubic-bezier(.16,1,.3,1);
}
.hero-in .hero-title .line-mask > span { transform: translateY(0); }

.h-seq {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.hero-in .h-seq { opacity: 1; transform: none; }

/* the hairline under the eyebrow draws itself in */
.hero .eyebrow { position: relative; display: inline-block; padding-bottom: 10px; }
.hero .eyebrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--copper-light);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(.16,1,.3,1) 0.35s;
}
.hero-in .eyebrow::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .hero-title .line-mask > span { transform: none; transition: none; }
  .h-seq { opacity: 1; transform: none; transition: none; }
  .hero .eyebrow::after { transform: scaleX(1); transition: none; }
}

/* ============ HERO BACKGROUND (animated) ============ */
.hero-media { background: #0a0a0a; }
.hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-canvas.is-live { opacity: 1; }

/* The old overlay existed to darken a photo. With a dark field underneath,
   only a light scrim at the foot is needed to seat the headline. */
.hero-media::after {
  background:
    linear-gradient(90deg, rgba(8,8,8,0.86) 0%, rgba(8,8,8,0.55) 34%, rgba(8,8,8,0) 68%),
    linear-gradient(180deg, rgba(8,8,8,0.5) 0%, rgba(8,8,8,0) 30%, rgba(8,8,8,0.6) 100%);
}
@media (max-width: 860px) {
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(8,8,8,0.8) 0%, rgba(8,8,8,0.5) 60%, rgba(8,8,8,0.28) 100%),
      linear-gradient(180deg, rgba(8,8,8,0.55) 0%, rgba(8,8,8,0.1) 28%, rgba(8,8,8,0.7) 100%);
  }
}

/* ============ PROXIMITY ============ */
/* Replaces the generic "years / clients / rating" strip. Distance is the real
   objection for a U.S. patient, so the numbers answer that instead. */
.proximity { padding: 84px 32px; border-bottom: 1px solid var(--line); }
.proximity-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.proximity-lead h2 {
  font-size: clamp(27px, 3vw, 38px);
  max-width: 12ch;
}
.proximity-lead p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 34ch;
}

.proximity-list { border-top: 1px solid var(--line); }
.proximity-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "from time" "mode time";
  column-gap: 24px;
  align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s cubic-bezier(.2,.8,.2,1);
}
.proximity-list li:hover { padding-left: 10px; }
.prox-from {
  grid-area: from;
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.prox-mode {
  grid-area: mode;
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  margin-top: 3px;
}
.prox-time {
  grid-area: time;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.35s ease;
}
.proximity-list li:hover .prox-time { color: var(--copper); }
.prox-time i {
  font-style: normal;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 1px;
}

@media (max-width: 980px) {
  .proximity-inner { grid-template-columns: 1fr; gap: 38px; }
  .proximity-lead h2 { max-width: none; }
  .proximity-lead p { max-width: none; }
}
@media (max-width: 640px) {
  .proximity { padding: 64px 24px; }
  .proximity-list li { padding: 16px 2px; }
}

/* ============ SERVICE META ============ */
/* Visits, days on this side of the border, and a starting price — the three
   things somebody planning a trip from California actually needs. */
.service-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  margin-top: 14px;
}
.service-meta li {
  position: relative;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-faint);
  padding: 3px 0;
  white-space: nowrap;
}
.service-meta li + li { padding-left: 15px; }
.service-meta li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 1px; height: 11px;
  margin-top: -5.5px;
  background: var(--line);
}
/* the price is the one that should catch the eye */
.service-meta li:last-child { color: var(--copper); }

.service-row:hover .service-meta li { color: var(--ink-soft); }
.service-row:hover .service-meta li:last-child { color: var(--copper-deep); }

@media (max-width: 640px) {
  .service-meta { gap: 0 10px; }
  .service-meta li { font-size: 10.5px; }
  .service-meta li + li { padding-left: 11px; }
}

/* ============ TESTIMONIAL ATTRIBUTION ============ */
/* A quote with no provenance reads as invented. Name, city, treatment, source
   and date do the work — a monogram rather than a stock portrait, because a
   fake face would undercut the very thing this block exists to establish. */
.testi-meta {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-style: normal;
  text-align: left;
  flex-wrap: wrap;
}
.testi-avatar {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--copper);
  color: var(--copper);
  font-family: var(--serif);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.testi-id { display: flex; flex-direction: column; gap: 2px; }
.testi-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.testi-detail {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.testi-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  margin-left: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.testi-source svg { color: var(--copper); flex-shrink: 0; }

@media (max-width: 640px) {
  .testi-meta { gap: 10px; margin-top: 26px; }
  .testi-source { margin-left: 0; font-size: 9.5px; padding: 5px 10px; }
}

/* ============ BEFORE / AFTER COMPARATOR ============ */
.gallery { background: var(--ink); }
.gallery .section-index { color: var(--copper-light); }
.gallery-head h2 { color: #fff; }
.ba-hint {
  margin-top: 14px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,245,242,0.45);
}

.ba { max-width: 980px; margin: 0 auto; }
.ba-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  background: #000;
  user-select: none;
  touch-action: pan-y;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}
/* The "before" layer is the same photograph graded down. These are stand-ins
   for real documented cases — inventing a clinical result from two unrelated
   faces would mislead the very patients this section is meant to reassure. */
.ba-before { filter: saturate(0.72) sepia(0.24) brightness(0.93) contrast(0.94); }

.ba-tag {
  position: absolute;
  top: 18px;
  z-index: 3;
  padding: 7px 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.ba-tag-before { left: 18px; }
.ba-tag-after { right: 18px; }

.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  z-index: 4;
  width: 1px;
  background: var(--copper-light);
  box-shadow: 0 0 18px rgba(211,160,119,0.5);
  transform: translateX(-0.5px);
}
.ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  width: 52px; height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--copper-light);
  color: var(--copper-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), background 0.3s ease;
}
.ba-handle:hover,
.ba-stage.is-dragging .ba-handle { transform: scale(1.1); background: rgba(10,10,10,0.8); }
.ba-handle:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 4px; }

.ba-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 1px;
  background: rgba(255,255,255,0.12);
}
.ba-case {
  background: var(--ink);
  border: none;
  cursor: pointer;
  padding: 20px 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font: inherit;
  color: rgba(247,245,242,0.5);
  transition: color 0.3s ease, background 0.3s ease;
}
.ba-case:hover { color: rgba(247,245,242,0.85); background: #171717; }
.ba-case.is-active { color: #fff; background: #171717; }
.ba-case-n {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--copper);
  transition: color 0.3s ease;
}
.ba-case.is-active .ba-case-n { color: var(--copper-light); }
.ba-case-t { font-size: 13.5px; letter-spacing: 0.01em; }

.ba-caption {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 17px;
  color: #fff;
}
.ba-disclaimer {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(247,245,242,0.38);
  max-width: 62ch;
}

@media (max-width: 640px) {
  .ba-stage { aspect-ratio: 4 / 5; }
  .ba-cases { grid-template-columns: 1fr; }
  .ba-case { flex-direction: row; align-items: baseline; gap: 12px; padding: 15px 16px; }
  .ba-tag { top: 12px; font-size: 9.5px; padding: 6px 11px; }
  .ba-tag-before { left: 12px; }
  .ba-tag-after { right: 12px; }
  .ba-handle { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
}

@media (prefers-reduced-motion: reduce) {
  .ba-handle, .ba-tag, .ba-case { transition: none; }
}
