@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 800;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-black.woff2") format("woff2");
  font-display: swap;
  font-weight: 900;
}

:root {
  color-scheme: dark;
  --black: #000;
  --background: #070707;
  --surface: #161616;
  --ink: #f8f8f4;
  --muted: #c6c6bf;
  --line: #33332d;
  --lime: #cdff00;
  --lime-hover: #e1ff65;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-family: Manrope, system-ui, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--background);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
[id] { scroll-margin-top: 16px; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1440px, calc(100% - 7vw)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }

.skip {
  position: absolute;
  z-index: 3;
  inset: 12px auto auto 12px;
  padding: 12px 16px;
  background: var(--lime);
  color: var(--black);
  transform: translateY(-180%);
}
.skip:focus { transform: none; }

.header, .footer { background: var(--black); }
.header { border-bottom: 1px solid #242424; }
.header-content, .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.brand { flex: 0 1 164px; }
.brand img { width: 100%; height: auto; }
.site-nav {
  display: flex;
  align-items: center;
}
.header-nav { justify-content: center; gap: clamp(15px, 2.7vw, 42px); }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover, .text-link:hover { color: var(--lime); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
}
.button svg { flex: 0 0 21px; width: 21px; height: 21px; }
.button-outline { color: var(--lime); border-color: #73775b; }
.button-outline:hover { color: var(--black); background: var(--lime-hover); border-color: var(--lime-hover); }
.button-primary { color: var(--black); background: var(--lime); }
.button-primary:hover { background: var(--lime-hover); }
.header .button { min-height: 43px; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #030403; }
.hero-media, .hero::after { position: absolute; inset: 0; }
.hero-media {
  z-index: -2;
  left: 42%;
  --photo-pan: .04;
  mask-image: linear-gradient(90deg, var(--black) 91%, transparent);
}
.photo-viewport {
  container-type: size;
  overflow: hidden;
}
.photo-frame {
  --frame-width: max(calc(100cqw * var(--photo-scale, 1)), 66.6667cqh);
  --frame-height: calc(var(--frame-width) * 1.5);
  position: absolute;
  top: calc((100cqh - var(--frame-height)) * var(--photo-pan, .24));
  left: clamp(calc(100cqw - var(--frame-width)), calc(50cqw - var(--frame-width) * var(--photo-anchor, .5)), 0px);
  width: var(--frame-width);
  aspect-ratio: 2 / 3;
}
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Preserve the photographed facial details over the background retouch. */
.photo-frame .photo-source {
  inset: var(--detail-y) auto auto var(--detail-x);
  width: var(--detail-width);
  height: var(--detail-height);
  mask-image: radial-gradient(ellipse 50% 50%, black 74%, transparent);
}
.photo-inicio { --detail-x: 38.9%; --detail-y: 9%; --detail-width: 14.6%; --detail-height: 9.3%; --photo-anchor: .462; --photo-scale: 1.09; }
@media (min-width: 671px) {
  .hero-media .photo-inicio {
    /* Frame the seated portrait just below the knees on wide screens. */
    --frame-width: 105cqh;
    --photo-anchor: .52;
    left: calc(50cqw - var(--frame-width) * var(--photo-anchor));
    mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
  }
}
.photo-manual { --detail-x: 31.605%; --detail-y: 30.779%; --detail-width: 39.190%; --detail-height: 28.444%; --photo-anchor: .512; --photo-scale: 1.12; --photo-pan: .85; }
.photo-movilidad { --detail-x: 43.3%; --detail-y: 14.4%; --detail-width: 25%; --detail-height: 18.6%; --photo-anchor: .558; --photo-scale: 1.14; --photo-pan: .21; }
.photo-percusion { --detail-x: 42.4%; --detail-y: 9.5%; --detail-width: 27.8%; --detail-height: 22.2%; --photo-anchor: .563; --photo-scale: 1.15; --photo-pan: .1; }
.photo-retrato { --detail-x: 45.65%; --detail-y: 10.55%; --detail-width: 22.9%; --detail-height: 17.7%; }
.photo-ventosas { --detail-x: 43.8%; --detail-y: 7.8%; --detail-width: 24.8%; --detail-height: 23%; }
.hero::after {
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, #030403 0%, #030403 41%, #030403b8 46%, #03040325 58%, transparent 70%),
    linear-gradient(0deg, #0008, transparent 35%);
}
.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 52vw, 830px);
  padding-block: 56px;
}
.hero-copy { max-width: 620px; }
.eyebrow {
  color: var(--lime);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.hero h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
}
.hero h1 {
  margin: 14px 0 23px;
  font-size: clamp(6rem, 10.75vw, 11rem);
  line-height: .78;
  letter-spacing: -.022em;
}
.hero h1 span { display: block; }
.hero-intro { color: #e3e3dc; max-width: 36ch; font-size: clamp(1rem, 1.26vw, 1.14rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 24px; }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .94rem;
  font-weight: 750;
  text-underline-offset: 5px;
  text-decoration-color: #9f9f91;
}
.topic-nav { background: #151515; border-block: 1px solid #232323; }
.topic-nav-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topic-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 70px;
  padding: 8px;
  text-align: center;
  text-decoration: none;
  font-size: .94rem;
  line-height: 1.3;
  font-weight: 750;
}
.topic-nav a + a { border-left: 1px solid #303028; }
.topic-nav a:hover { background: #20211a; color: var(--lime); }
.topic-nav a:focus-visible { outline-offset: -3px; }
.topic-nav svg { flex: 0 0 27px; width: 27px; height: 27px; color: var(--lime); }

.topics {
  display: grid;
  grid-template-columns: minmax(190px, .88fr) minmax(0, 2.6fr);
  gap: clamp(24px, 3vw, 52px);
  align-items: start;
  padding-block: clamp(38px, 5vw, 72px);
}
h2 { font-size: clamp(2.7rem, 5vw, 5.35rem); line-height: .89; letter-spacing: -.012em; }
.section-heading h2 { max-width: 9ch; }
.section-heading p, .assessment-copy > p:not(.eyebrow) {
  max-width: 33ch;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.6;
}
.topics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px; }
.topic-card {
  --topic-corner: clamp(20px, 2.65vw, 38px);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 2 / 3;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top-left-radius: var(--topic-corner);
  background: #191b13;
}
.topic-card:nth-child(2) {
  margin-top: clamp(12px, 1.7vw, 24px);
  border-top-left-radius: 0;
  border-top-right-radius: var(--topic-corner);
}
.topic-card:target { border-color: var(--lime); }
.topic-media, .topic-card::after { position: absolute; inset: 0; }
.topic-media { z-index: -2; }
.topic-card::after {
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, #000 0%, #000e 16%, #0008 35%, transparent 64%);
}
.topic-content { padding: 16px; }
.topic-content h3 { font-size: clamp(1.5rem, 2.15vw, 2.25rem); line-height: .95; }
.topic-content p { margin-top: 8px; color: #e3e3dd; line-height: 1.43; }

.assessment {
  --assessment-corner: clamp(22px, 3.3vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, .8fr);
  grid-template-areas: "portrait copy video";
  align-items: center;
  gap: clamp(20px, 2.8vw, 44px);
  padding: clamp(20px, 3.2vw, 48px);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--assessment-corner) 0 var(--assessment-corner) 0;
}
.assessment-photos {
  grid-area: portrait;
  position: relative;
  padding-bottom: clamp(18px, 2.5vw, 36px);
}
.assessment-photos .photo-viewport {
  position: relative;
  aspect-ratio: 2 / 3;
}
.assessment-photos .photo-viewport:first-child {
  width: 86%;
  border-top-left-radius: var(--assessment-corner);
  border-left: clamp(5px, .8vw, 10px) solid var(--lime);
  mask-image: linear-gradient(var(--black) 83%, transparent);
}
.assessment-photos .photo-viewport:last-child {
  position: absolute;
  inset: auto 0 0 auto;
  width: 42%;
  border: 1px solid var(--line);
  border-radius: 0 18px 0 18px;
}
.assessment-photos .photo-frame {
  inset: 0;
  width: 100%;
  height: 100%;
}
.assessment-copy { grid-area: copy; }
.assessment-copy h2 { font-size: clamp(2.7rem, 4.55vw, 5.35rem); }
.assessment-copy .eyebrow { margin-bottom: 13px; }
.assessment-copy .button { margin-top: 22px; }
.assessment-video { grid-area: video; width: min(100%, 310px); justify-self: center; }
.assessment-player { position: relative; }
.assessment-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 0 var(--assessment-corner) 0 var(--assessment-corner);
  background: var(--black);
}
.assessment-play {
  position: absolute;
  top: 63%;
  left: 50%;
  translate: -50% -50%;
  width: 58px;
  height: 58px;
  padding: 0;
  cursor: pointer;
}
.assessment-play[hidden] { display: none; }
.assessment-play::before {
  content: "";
  width: 17px;
  height: 20px;
  margin-left: 3px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.assessment-video figcaption { margin: 10px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.4; }

.reviews { padding-top: clamp(42px, 6vw, 86px); }
.reviews-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 20px;
}
.reviews-heading p { margin-top: 12px; color: var(--muted); }
.reviews-heading strong, .reviews-heading .text-link, .review-stars { color: var(--lime); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.review-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 30px);
  border: 1px solid var(--line);
  border-top-left-radius: clamp(18px, 2vw, 28px);
  background: var(--surface);
}
.review-card:nth-child(2) { border-radius: 0 clamp(18px, 2vw, 28px) 0 0; }
.review-stars { letter-spacing: 0.13em; }
.review-card blockquote { margin: 0; line-height: 1.5; }
.review-card figcaption { color: var(--muted); font-size: .875rem; }

.visit {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(32px, 7vw, 105px);
  padding-block: clamp(45px, 6.2vw, 90px);
}
.visit h2 { font-size: clamp(2.45rem, 4.2vw, 4.65rem); }
.faq-list { margin-top: 21px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 58px;
  padding-block: 12px;
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 22px; color: var(--lime); font-size: 1.4rem; text-align: center; }
details[open] summary::after { content: "−"; }
details p { padding: 0 21px 16px 0; color: var(--muted); line-height: 1.6; }
.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 clamp(22px, 2.8vw, 38px) 0 clamp(16px, 1.9vw, 26px);
  padding: clamp(24px, 3.4vw, 51px);
}
.contact-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 15px; color: var(--lime); }
.contact-icon svg { width: 32px; height: 32px; }
.contact p { color: var(--muted); margin-top: 11px; line-height: 1.6; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 19px; }
.contact-actions .button { padding-inline: 15px; }
.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}
.contact-address svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--lime); }
.contact-address strong, .contact-hours strong { color: var(--ink); }
.contact-address .text-link { color: var(--lime); }
.contact .contact-hours { margin-top: 16px; }

.footer { border-top: 1px solid var(--line); }
.footer-nav {
  flex-wrap: wrap;
  gap: 0 clamp(22px, 4vw, 58px);
  padding-block: 8px;
  border-bottom: 1px solid #242424;
}
.footer-location { color: var(--muted); font-size: .875rem; text-underline-offset: 4px; }
.footer-location:hover { color: var(--lime); }
.footer-socials { display: flex; gap: 6px; }
.footer-socials a { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: var(--lime); }
.footer-socials a:hover { background: #232617; }
.footer-socials svg { width: 22px; height: 22px; }

@media (max-width: 1050px) {
  .topics { grid-template-columns: 1fr; }
  .section-heading h2 { max-width: none; }
  .section-heading p { margin-top: 8px; max-width: 55ch; }
}

@media (max-width: 835px) {
  .header-nav { display: none; }
  .hero-media { left: 35%; }
  .hero::after { background: linear-gradient(90deg, #030403 26%, #030403d4 37%, #03040334 63%, transparent 75%); }
  .hero-content { min-height: 565px; }
  .hero-copy { max-width: 67%; }
  .hero h1 { font-size: clamp(5rem, 12vw, 6.85rem); }
  .assessment { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "copy copy" "portrait video"; }
}

@media (max-width: 670px) {
  .wrap { width: calc(100% - 36px); }
  .header-content, .footer-content { min-height: 68px; }
  .brand { flex-basis: 126px; }
  .header .button { min-height: 44px; padding-inline: 13px; }
  .hero-content { display: block; min-height: 0; padding-top: clamp(240px, 65vw, 392px); padding-bottom: 38px; }
  .hero-copy { max-width: none; }
  .hero-media, .hero::after { inset: 0 0 auto; height: clamp(360px, 91vw, 525px); }
  .hero-media { mask-image: none; }
  .hero::after { background: linear-gradient(0deg, #030403 3%, #030403d9 34%, #03040338 64%, transparent); }
  .hero h1 { margin-block: 10px 17px; font-size: clamp(4.25rem, 15.4vw, 6.2rem); }
  .hero-actions { gap: 5px 16px; margin-top: 18px; }
  .topic-nav a { flex-direction: column; gap: 5px; min-height: 82px; font-size: .875rem; }
  .topics-grid { grid-template-columns: 1fr; }
  .topic-card { aspect-ratio: 4 / 5; min-height: 330px; }
  .topic-card:nth-child(2) { margin-top: 0; }
  .topic-content { padding: 17px; }
  .topic-content h3 { font-size: 2rem; }
  .assessment { grid-template-columns: 1fr; grid-template-areas: "copy" "video" "portrait"; gap: 28px; }
  .assessment-photos { width: min(100%, 390px); justify-self: center; }
  .reviews-grid { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; }
  .footer-nav { gap: 0 19px; }
  .footer-content { flex-wrap: wrap; gap: 4px 14px; padding-block: 9px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media { animation: photo-arrival 850ms cubic-bezier(.22,.61,.36,1) both; }
  .hero-copy > * { animation: content-arrival 640ms cubic-bezier(.22,.61,.36,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 70ms; }
  .hero-copy > :nth-child(3) { animation-delay: 150ms; }
  .hero-copy > :nth-child(4) { animation-delay: 210ms; }
  .button { transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
  .topic-card .photo-frame { transition: scale 460ms cubic-bezier(.22,.61,.36,1); transform-origin: 50% 30%; }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .button:hover { transform: translateY(-2px); }
  .topic-card:hover .photo-frame { scale: 1.035; }
}

@keyframes photo-arrival {
  from { opacity: .4; scale: 1.035; }
  to { opacity: 1; scale: 1; }
}

@keyframes content-arrival {
  from { opacity: .35; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

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