:root {
  --ink: #13333c;
  --ink-2: #254852;
  --blue: #63b7d1;
  --blue-deep: #2f91ad;
  --ice: #eaf3f4;
  --warm: #eee8df;
  --paper: #f8f8f4;
  --white: #ffffff;
  --line: rgba(19, 51, 60, .14);
  --line-light: rgba(255, 255, 255, .17);
  --radius-sm: 16px;
  --radius-md: 26px;
  --radius-lg: 40px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --ease: cubic-bezier(.22, .78, .22, 1);
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--blue);
  color: #fff;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-200%);
  transition: transform .2s ease;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 150px 0;
}

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

.eyebrow-light {
  color: #95d5e6;
}

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

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(52px, 5.5vw, 84px);
  line-height: .98;
}

.button {
  min-height: 56px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition:
    transform .35s var(--ease),
    box-shadow .35s var(--ease),
    background-color .35s ease,
    color .35s ease;
}

.button-light {
  background: #fff;
  color: var(--ink);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-outline {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 47, 56, .12);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  font-weight: 500;
}

.text-button span {
  transition: transform .35s var(--ease);
}

.text-button:hover span {
  transform: translateY(4px);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  transition:
    background .35s ease,
    color .35s ease,
    box-shadow .35s ease,
    backdrop-filter .35s ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(248, 248, 244, .9);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
}

.brand {
  width: 245px;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: filter .3s ease;
}

.site-header:not(.is-scrolled):not(.menu-active) .brand img {
  filter: brightness(0) invert(1);
}

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

.nav-desktop a {
  position: relative;
  font-size: 13px;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}

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

.header-cta {
  justify-self: end;
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.site-header.is-scrolled .header-cta,
.site-header.menu-active .header-cta {
  border-color: var(--line);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

/* Hero */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.025);
  will-change: transform;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 25, 31, .78) 0%, rgba(5, 25, 31, .34) 45%, rgba(5, 25, 31, .10) 72%, rgba(5, 25, 31, .22) 100%),
    linear-gradient(0deg, rgba(5, 25, 31, .38), transparent 45%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 160px;
  padding-bottom: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 70px;
  align-items: end;
}

.hero-copy {
  max-width: 850px;
}

.hero-eyebrow {
  color: rgba(255,255,255,.74);
}

.hero h1 {
  max-width: 980px;
  margin-bottom: 30px;
  font-size: clamp(64px, 7.5vw, 118px);
  line-height: .86;
}

.hero h1 em {
  display: block;
  color: #9bd8e8;
  font-style: italic;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 38px;
  color: rgba(255,255,255,.74);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero-info-card {
  padding: 20px;
  display: grid;
  grid-template-columns: 10px 1fr 34px;
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
}

.hero-info-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: #9bd8e8;
  box-shadow: 0 0 0 5px rgba(155,216,232,.14);
}

.hero-info-card small {
  display: block;
  margin-bottom: 6px;
  color: rgba(255,255,255,.54);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-info-card strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.hero-info-card > a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

.hero-scroll {
  position: absolute;
  right: 24px;
  bottom: 38px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.55);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right bottom;
}

.hero-scroll i {
  width: 48px;
  height: 1px;
  display: block;
  background: rgba(255,255,255,.35);
}

/* Trust strip */
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  min-height: 122px;
  padding: 28px 26px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  border-right: 1px solid var(--line);
}

.trust-grid > div:first-child {
  border-left: 1px solid var(--line);
}

.trust-grid span {
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 22px;
}

.trust-grid p {
  margin-bottom: 0;
  font-size: 13px;
}

/* Studio */
.studio-section {
  background: var(--paper);
}

.studio-intro {
  display: grid;
  grid-template-columns: 1.15fr .7fr;
  gap: 120px;
  align-items: end;
}

.section-heading h2 {
  max-width: 820px;
}

.studio-copy {
  color: #526d75;
  font-size: 15px;
}

.lead-copy {
  color: var(--ink);
  font-size: 18px;
}

.editorial-gallery {
  margin-top: 96px;
  display: grid;
  grid-template-columns: 1.15fr .7fr .65fr;
  grid-template-rows: 360px 260px 220px;
  gap: 22px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #dfe8e9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

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

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--ink);
  font-size: 10px;
  backdrop-filter: blur(10px);
}

.gallery-a {
  grid-row: 1 / span 2;
}

.gallery-b {
  grid-column: 2 / span 2;
}

.gallery-c {
  grid-column: 2;
  grid-row: 2 / span 2;
}

.studio-quote {
  grid-column: 3;
  grid-row: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-md);
  background: var(--warm);
}

.studio-quote p {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1.05;
}

.studio-quote span {
  color: #7d7469;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.studio-pillars {
  grid-column: 1;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.studio-pillars article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.studio-pillars span {
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 20px;
}

.studio-pillars h3 {
  margin: 22px 0 0;
  font-size: 13px;
  font-weight: 500;
}

/* Technology */
.technology-section {
  background: #0f2f38;
  color: #edf7f8;
}

.technology-heading {
  display: grid;
  grid-template-columns: 1.05fr .55fr;
  gap: 100px;
  align-items: end;
  margin-bottom: 120px;
}

.technology-heading p:last-child {
  margin-bottom: 0;
  color: rgba(237,247,248,.56);
  font-size: 15px;
}

.technology-stories {
  width: min(calc(100% - 48px), 1380px);
  margin: auto;
  display: grid;
  gap: 130px;
}

.tech-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .7fr);
  gap: 80px;
  align-items: center;
}

.tech-story-reverse {
  grid-template-columns: minmax(320px, .7fr) minmax(0, 1.1fr);
}

.tech-media {
  min-height: 560px;
  overflow: hidden;
  border-radius: 34px;
  background: #173d47;
}

.tech-media-tall {
  min-height: 720px;
}

.tech-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.tech-copy {
  max-width: 500px;
}

.tech-copy span {
  display: block;
  margin-bottom: 24px;
  color: #82c9dc;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tech-copy h3 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(44px, 4.5vw, 72px);
  font-weight: 400;
  line-height: .95;
}

.tech-copy p {
  margin-bottom: 0;
  color: rgba(237,247,248,.57);
}

.tech-brochure-card {
  min-height: 580px;
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: #e8e0d6;
}

.tech-brochure-card > img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  object-position: center;
  filter: saturate(.85) contrast(.96);
}

.tech-brochure-card > div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.tech-brochure-card small,
.tech-brochure-card strong {
  display: block;
}

.tech-brochure-card small {
  margin-bottom: 4px;
  color: #627981;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tech-brochure-card strong {
  font-size: 14px;
  font-weight: 500;
}

/* Treatments */
.treatments-section {
  background: #fff;
}

.treatments-head {
  max-width: 850px;
  margin-bottom: 80px;
}

.treatments-head > p:last-child {
  max-width: 620px;
  margin: 28px 0 0;
  color: #647b82;
}

.treatments-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: start;
}

.treatments-list {
  border-top: 1px solid var(--line);
}

.treatment-row {
  width: 100%;
  padding: 21px 8px 22px 0;
  display: grid;
  grid-template-columns: 54px minmax(220px, .8fr) 1fr;
  gap: 20px;
  align-items: baseline;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    padding-left .35s var(--ease),
    background-color .35s ease;
}

.treatment-row:hover,
.treatment-row.is-active {
  padding-left: 10px;
  background: #f5f8f7;
}

.treatment-row span {
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 17px;
}

.treatment-row strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
}

.treatment-row em {
  color: #73868c;
  font-size: 12px;
  font-style: normal;
}

.treatment-preview {
  position: sticky;
  top: 126px;
}

.treatment-preview-media {
  height: 520px;
  overflow: hidden;
  border-radius: 28px;
  background: #dde7e7;
}

.treatment-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity .25s ease,
    transform .5s var(--ease);
}

.treatment-preview-caption {
  padding: 18px 4px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
}

.treatment-preview-caption span {
  color: var(--blue-deep);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.treatment-preview-caption p {
  max-width: 250px;
  margin-bottom: 0;
  color: #657b82;
  font-size: 12px;
}

.service-note {
  margin: 32px 0 0;
  color: #7d8e93;
  font-size: 10px;
}

/* Journey */
.patient-journey {
  background: var(--warm);
}

.journey-heading {
  max-width: 850px;
}

.journey-heading > p:last-child {
  margin: 24px 0 0;
  color: #746f67;
}

.journey-track {
  position: relative;
  margin-top: 92px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.journey-line {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 17px;
  height: 1px;
  overflow: hidden;
  background: rgba(19,51,60,.16);
}

.journey-line i {
  width: 0;
  height: 100%;
  display: block;
  background: var(--blue-deep);
  transition: width 1.2s var(--ease);
}

.journey-track.is-visible .journey-line i {
  width: 100%;
}

.journey-track article {
  position: relative;
  padding-top: 56px;
}

.journey-track article > span {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(19,51,60,.18);
  border-radius: 50%;
  background: var(--warm);
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 15px;
  z-index: 2;
}

.journey-track h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
}

.journey-track p {
  margin-bottom: 0;
  color: #746f67;
  font-size: 13px;
}

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

.visual-heading {
  max-width: 900px;
  margin-bottom: 72px;
}

.premium-gallery {
  display: grid;
  grid-template-columns: 1.1fr .55fr .55fr;
  grid-template-rows: 330px 330px;
  gap: 20px;
}

.premium-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #dce5e6;
}

.premium-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.premium-gallery figure:hover img {
  transform: scale(1.035);
}

.premium-gallery figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-size: 10px;
  letter-spacing: .08em;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
  text-transform: uppercase;
}

.premium-gallery-main {
  grid-row: 1 / span 2;
}

.premium-gallery-wide {
  grid-column: 2 / span 2;
  grid-row: 2;
}

/* FAQ */
.faq-section {
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 120px;
}

.faq-intro p:last-child {
  max-width: 430px;
  margin: 28px 0 0;
  color: #687f86;
}

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

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

.faq-list summary {
  list-style: none;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 27px;
}

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

.faq-list summary span {
  color: var(--blue-deep);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  transition: transform .25s ease;
}

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

.faq-list details p {
  max-width: 720px;
  margin: -4px 0 26px;
  color: #647a81;
  font-size: 14px;
}

/* Contact */
.contact-section {
  min-height: 760px;
  display: grid;
  grid-template-columns: .82fr .72fr .68fr;
  background: #dcebed;
}

.contact-photo,
.contact-map {
  min-height: 760px;
}

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

.contact-panel {
  padding: 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-panel h2 {
  font-size: clamp(54px, 5vw, 76px);
}

.contact-intro {
  max-width: 520px;
  margin: 28px 0 42px;
  color: #557079;
}

.contact-list {
  border-top: 1px solid rgba(19,51,60,.18);
}

.contact-list > a,
.contact-list > div {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 90px 1fr 28px;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid rgba(19,51,60,.18);
}

.contact-list small {
  color: #637980;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-list strong {
  font-size: 13px;
  font-weight: 500;
}

.contact-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 760px;
  border: 0;
  filter: grayscale(.85) contrast(.92) saturate(.55);
}

/* Footer */
.site-footer {
  padding: 72px 0 28px;
  background: #0f2f38;
  color: #eef6f7;
}

.footer-top {
  padding-bottom: 62px;
  display: flex;
  justify-content: space-between;
  gap: 70px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand img {
  width: 260px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin: 18px 0 0;
  color: rgba(238,246,247,.56);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-links > div {
  display: grid;
  gap: 10px;
}

.footer-links small {
  margin-bottom: 6px;
  color: rgba(238,246,247,.42);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links a {
  font-size: 13px;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(238,246,247,.38);
  font-size: 10px;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* Image reveal: visual enhancement only; content never hidden */
[data-reveal-image]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: translateX(102%);
  pointer-events: none;
}

.technology-section [data-reveal-image]::after {
  background: #0f2f38;
}

[data-reveal-image].wipe-active::after {
  animation: imageWipe .9s var(--ease) both;
}

@keyframes imageWipe {
  0%   { transform: translateX(-102%); }
  45%  { transform: translateX(0); }
  100% { transform: translateX(102%); }
}

/* Mobile quick actions */
.mobile-quick-actions {
  display: none;
}

/* Cursor */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(19,51,60,.45);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease, background .2s ease, border-color .2s ease;
  mix-blend-mode: multiply;
}

.cursor.is-hover {
  width: 34px;
  height: 34px;
  border-color: rgba(99,183,209,.45);
  background: rgba(99,183,209,.10);
}

/* Focus */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue-deep);
  outline-offset: 4px;
}

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

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

  .menu-toggle {
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform .3s ease;
  }

  .menu-toggle.is-open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle.is-open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: rgba(248,248,244,.98);
    color: var(--ink);
    transition: max-height .4s var(--ease);
  }

  .mobile-menu.is-open {
    max-height: 560px;
    border-top: 1px solid var(--line);
  }

  .mobile-menu-inner {
    padding: 26px 0 34px;
    display: grid;
    gap: 14px;
  }

  .mobile-menu a {
    font-family: var(--serif);
    font-size: 32px;
  }

  .mobile-menu-cta {
    margin-top: 10px;
    color: var(--blue-deep);
  }

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

  .hero-info-card {
    max-width: 320px;
  }

  .studio-intro,
  .technology-heading,
  .faq-layout {
    gap: 70px;
  }

  .treatments-layout {
    grid-template-columns: 1fr 360px;
  }

  .contact-section {
    grid-template-columns: 1fr 1fr;
  }

  .contact-map {
    grid-column: 1 / span 2;
    min-height: 420px;
  }

  .contact-map iframe {
    min-height: 420px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .section {
    padding: 100px 0;
  }

  .brand {
    width: 205px;
  }

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

  .hero {
    min-height: 860px;
  }

  .hero-inner {
    padding-top: 130px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(58px, 14vw, 86px);
  }

  .hero-scroll {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid > div:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .studio-intro,
  .technology-heading,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .editorial-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 280px 260px auto;
  }

  .gallery-a {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .gallery-b {
    grid-column: 1;
    grid-row: 2;
  }

  .gallery-c {
    grid-column: 2;
    grid-row: 2;
  }

  .studio-quote {
    grid-column: 1 / span 2;
    grid-row: 3;
  }

  .studio-pillars {
    grid-column: 1 / span 2;
    grid-row: 4;
  }

  .technology-stories {
    width: min(calc(100% - 30px), 1380px);
    gap: 90px;
  }

  .tech-story,
  .tech-story-reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tech-story-reverse .tech-copy {
    order: 2;
  }

  .tech-story-reverse .tech-media,
  .tech-story-reverse .tech-brochure-card {
    order: 1;
  }

  .tech-media,
  .tech-media-tall {
    min-height: 520px;
  }

  .treatments-layout {
    grid-template-columns: 1fr;
  }

  .treatment-preview {
    display: none;
  }

  .treatment-row {
    grid-template-columns: 42px 1fr;
  }

  .treatment-row em {
    grid-column: 2;
  }

  .journey-track {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .journey-line {
    left: 16px;
    right: auto;
    top: 18px;
    bottom: 18px;
    width: 1px;
    height: auto;
  }

  .journey-line i {
    width: 100%;
    height: 0;
    transition: height 1.2s var(--ease);
  }

  .journey-track.is-visible .journey-line i {
    width: 100%;
    height: 100%;
  }

  .journey-track article {
    padding: 0 0 0 60px;
  }

  .premium-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 420px 280px 320px;
  }

  .premium-gallery-main {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .premium-gallery-side-a {
    grid-column: 1;
    grid-row: 2;
  }

  .premium-gallery-side-b {
    grid-column: 2;
    grid-row: 2;
  }

  .premium-gallery-wide {
    grid-column: 1 / span 2;
    grid-row: 3;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-photo {
    min-height: 520px;
  }

  .contact-panel {
    padding: 70px 30px;
  }

  .contact-map {
    grid-column: auto;
    min-height: 360px;
  }

  .contact-map iframe {
    min-height: 360px;
  }

  .footer-top {
    flex-direction: column;
  }

  .cursor {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 64px;
  }

  .section {
    padding: 82px 0;
  }

  .hero {
    min-height: 780px;
  }

  .hero-media img {
    object-position: 56% center;
  }

  .hero h1 {
    font-size: clamp(52px, 15.5vw, 76px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hero-info-card {
    width: 100%;
    max-width: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div,
  .trust-grid > div:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  h2 {
    font-size: clamp(46px, 13vw, 62px);
  }

  .studio-intro {
    gap: 40px;
  }

  .editorial-gallery {
    margin-top: 58px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-a,
  .gallery-b,
  .gallery-c,
  .studio-quote,
  .studio-pillars {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item {
    min-height: 320px;
  }

  .studio-pillars {
    grid-template-columns: 1fr;
  }

  .technology-heading {
    margin-bottom: 70px;
  }

  .tech-media,
  .tech-media-tall,
  .tech-brochure-card,
  .tech-brochure-card > img {
    min-height: 430px;
  }

  .treatment-row {
    padding-block: 20px;
  }

  .treatment-row strong {
    font-size: 24px;
  }

  .premium-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .premium-gallery-main,
  .premium-gallery-side-a,
  .premium-gallery-side-b,
  .premium-gallery-wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }

  .faq-list summary {
    font-size: 23px;
  }

  .contact-photo {
    min-height: 420px;
  }

  .contact-list > a,
  .contact-list > div {
    grid-template-columns: 78px 1fr 24px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-quick-actions {
    position: fixed;
    inset: auto 0 0;
    z-index: 200;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  .mobile-quick-actions a {
    min-height: 62px;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 600;
  }

  .mobile-quick-actions a + a {
    border-left: 1px solid var(--line);
    background: var(--ink);
    color: #fff;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .cursor {
    display: none !important;
  }

  [data-reveal-image]::after {
    display: none;
  }
}


/* Clean production motion system */
.fade-section {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity .55s ease,
        transform .55s ease;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Remove previous complex motion systems */
[data-reveal-image]::after,
.cursor {
    display: none !important;
}

.hero-media img {
    transform: none !important;
    transition: none !important;
}

.wipe-active::after {
    animation: none !important;
}

.magnetic {
    transform: none !important;
}


/* FINAL VISUAL BALANCE FIX */

/* Hero typography spacing */
.hero-inner {
    max-width: var(--container);
    padding-left: 20px;
    padding-right: 20px;
}

.hero-copy {
    max-width: 720px;
    padding-bottom: 40px;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(58px, 6vw, 96px);
    line-height: .92;
    letter-spacing: -.045em;
    margin-bottom: 34px;
}

.hero-lead {
    max-width: 520px;
    margin-bottom: 42px;
}

.hero-actions {
    margin-top: 8px;
}

.hero-info-card {
    margin-bottom: 36px;
}

/* Technology sections: image and text balanced */
.tech-story {
    grid-template-columns: minmax(380px, .85fr) minmax(360px, .75fr);
    gap: 70px;
}

.tech-story-reverse {
    grid-template-columns: minmax(360px, .75fr) minmax(380px, .85fr);
}

.tech-media,
.tech-media-tall {
    min-height: 430px;
    max-height: 500px;
}

.tech-media img {
    max-height: 500px;
}

.tech-copy h3 {
    font-size: clamp(38px, 3.8vw, 58px);
}

/* Brochure block smaller */
.tech-brochure-card,
.tech-brochure-card > img {
    min-height: 430px;
}

/* Gallery images more editorial, less dominant */
.editorial-gallery {
    grid-template-rows: 300px 220px 190px;
}

.gallery-a {
    min-height: 520px;
}

/* Contact image balance */
.contact-photo,
.contact-map {
    min-height: 560px;
}

.contact-map iframe {
    min-height: 560px;
}

/* Avoid oversized mobile headings */
@media(max-width:820px){
    .hero-copy {
        padding-bottom: 0;
    }

    .hero h1 {
        font-size: clamp(48px, 12vw, 72px);
    }

    .tech-media,
    .tech-media-tall,
    .tech-brochure-card,
    .tech-brochure-card > img {
        min-height: 360px;
    }
}


/* Legal pages */
.legal-header {
    padding: 35px 0;
    background: #fff;
}

.legal-header img {
    width: 250px;
    height: auto;
}

.legal-content {
    max-width: 850px;
    padding: 90px 0;
}

.legal-content h1 {
    font-size: clamp(48px, 6vw, 78px);
    margin-bottom: 40px;
}

.legal-content h2 {
    margin-top: 50px;
    font-family: var(--sans);
    font-size: 24px;
    letter-spacing: 0;
}

.legal-content p {
    color: #566d75;
    font-size: 16px;
}

.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 500;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,.14);
    transform: translateY(150%);
    transition: transform .35s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 6px 0 0;
    max-width: 600px;
    color: #647b82;
    font-size: 13px;
}

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

.cookie-actions a {
    font-size: 13px;
}

.cookie-actions button {
    border: 0;
    border-radius: 999px;
    padding: 12px 24px;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
}

@media(max-width:700px){
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
    }
}


/* Final legal footer links */
.footer-bottom .legal-links,
.legal-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.legal-links a {
    color: rgba(238,246,247,.5);
    font-size: 10px;
    transition: color .25s ease;
}

.legal-links a:hover {
    color: #fff;
}

@media(max-width:700px){
    .footer-bottom .legal-links,
    .legal-links {
        gap: 10px;
    }
}

.contact-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
