/* =====================================================================
   Aspen Aesthetic Clinics — site styles
   Palette taken from the logo: lagoon navy + jet blue on glacier white.
   ===================================================================== */

/* Fonts are hosted with the site (no Google requests — GDPR friendly). Licence: SIL OFL, see assets/fonts */
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda.woff") format("woff"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-italic.woff") format("woff"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff") format("woff"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --ink:      #12324a;   /* text, footer */
  --navy:      #1b4e71;   /* logo navy, headings */
  --jet:       #0093dd;   /* logo blue: motif, rules, focus */
  --jet-text:  #0070ad;   /* jet blue dark enough for text on white */
  --glacier:   #f4f8fa;   /* page background */
  --mist:      #e4eef4;   /* tinted sections */
  --line:      #cddde7;   /* hairlines */
  --white:     #ffffff;
  --muted:     #4f6676;
  --sand:      #efe8e1;   /* warm ground behind skin photography */

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans:  "Figtree", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --radius-lg: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--glacier);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jet-text); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--jet); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { color: var(--navy); margin: 0 0 .5em; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1875rem; letter-spacing: 0; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: .35em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.35em;
  font: 600 .9375rem/1.2 var(--sans); letter-spacing: .01em;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--ink); color: #fff; }
.btn--line  { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist); color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- utility bar ---------- */
.utility { background: var(--ink); color: #d7e4ec; font-size: .8125rem; }
.utility__inner { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility__note { margin: 0; color: #a9c2d3; }
.utility__right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.utility__write { display: flex; gap: 14px; }
.utility__write a { color: #cfe0ea; }
.utility__phone { font-weight: 600; white-space: nowrap; }
.utility__phone span { font-weight: 400; color: #a9c2d3; }

.country { position: relative; }
.country summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 6px 0; color: #fff; }
.country summary::-webkit-details-marker { display: none; }
.country summary img, .country__list img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.country[open] summary svg { transform: rotate(180deg); }
.country__list {
  position: absolute; z-index: 60; top: 100%; left: -10px; margin: 4px 0 0; padding: 6px; list-style: none;
  background: #fff; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(18,50,74,.18); min-width: 200px;
}
.country__list li { margin: 0; }
.country__list a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; color: var(--ink) !important; border-radius: 3px; }
.country__list a:hover { background: var(--mist); text-decoration: none !important; }
.country__list a[aria-current] { font-weight: 600; }

/* ---------- masthead ---------- */
.masthead { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(8px); }
.masthead__inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand img { width: 148px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; margin: 0; }
.nav__link {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px;
  font: 500 .96875rem/1 var(--sans); color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer; border-radius: 3px;
}
.nav__link:hover { color: var(--jet-text); }
.nav__item.is-current > .nav__link { color: var(--jet-text); box-shadow: inset 0 -2px 0 var(--jet); border-radius: 0; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__panel {
  display: none; position: absolute; top: calc(100% + 10px); left: -12px; z-index: 55;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(18,50,74,.14);
  padding: 8px; width: 330px;
}
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__panel ul { list-style: none; margin: 0; padding: 0; }
.nav__panel li { margin: 0; }
.nav__panel a { display: block; padding: 10px 12px; border-radius: 3px; text-decoration: none; color: var(--ink); }
.nav__panel a strong { display: block; font-weight: 600; font-size: .96875rem; }
.nav__panel a span { display: block; font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.nav__panel a:hover, .nav__panel a[aria-current] { background: var(--glacier); }
.nav__panel a[aria-current] strong { color: var(--jet-text); }
@media (hover: hover) and (min-width: 1081px) {
  .has-panel:hover > .nav__panel { display: block; }
}
.has-panel.is-open > .nav__panel { display: block; }
.nav__mobile-extra { display: none; }
.masthead__cta { white-space: nowrap; }

.burger { display: none; margin-left: auto; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 4px; cursor: pointer; font: 600 .9375rem var(--sans); color: var(--ink); }
.burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -7px; } .burger__bars::after { top: 7px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) { .utility__note { display: none; } }
@media (max-width: 1080px) {
  .masthead__inner { min-height: 70px; }
  .brand img { width: 108px; }
  .burger { display: inline-flex; }
  .masthead__cta { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(18,50,74,.12);
    max-height: calc(100vh - 110px); overflow-y: auto; padding: 8px var(--gutter) 24px;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 1.0625rem; }
  .nav__item.is-current > .nav__link { box-shadow: none; }
  .nav__panel { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; }
  .nav__panel a { padding: 9px 12px; }
  .nav__mobile-extra { display: grid; gap: 10px; margin-top: 20px; }
}
@media (max-width: 760px) {
  .utility__write { display: none; }
  .utility__phone span { display: none; }
}

/* ---------- home: hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 6vw, 88px); position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.02; margin-bottom: .35em; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--navy); }
.hero__lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 34em; margin-bottom: 1.6em; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 2em 0 0; font-size: .9375rem; color: var(--ink); }
.hero__facts li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hero__facts svg { color: var(--jet); flex: none; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 35% 50%; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); }
.hero__jet { position: absolute; z-index: 1; right: -4%; bottom: -6%; width: min(82vw, 980px); height: auto; fill: none; stroke: var(--jet); stroke-width: 1; pointer-events: none; }
.hero__jet path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: jet 2.4s cubic-bezier(.3,.6,.2,1) .2s forwards; }
@keyframes jet { to { stroke-dashoffset: 0; } }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 520px; }
  .hero__media img { aspect-ratio: 16 / 11; border-radius: 160px 160px var(--radius-lg) var(--radius-lg); }
}

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tint { background: var(--mist); }
.section--white { background: var(--white); }
.section__head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 52px); }
.section__head p { color: var(--muted); font-size: 1.125rem; }

/* three areas of care */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.area { display: flex; flex-direction: column; }
.area__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand); margin-bottom: 22px; }
.area__img img { width: 100%; height: 100%; object-fit: cover; }
.area h3 { font-family: var(--serif); font-weight: 500; font-size: 1.625rem; margin-bottom: .4em; }
.area ul { list-style: none; padding: 0; margin: 0 0 1.2em; border-top: 1px solid var(--line); }
.area li { padding: 10px 0; margin: 0; border-bottom: 1px solid var(--line); }
.area li a { color: var(--ink); text-decoration: none; display: flex; justify-content: space-between; gap: 12px; }
.area li a:hover { color: var(--jet-text); }
.area li a::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); align-self: center; flex: none; opacity: .5; }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; } .area__img { aspect-ratio: 16 / 9; } }

/* procedure steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(28px, 4vw, 56px); counter-reset: step; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; margin: 0; counter-increment: step; }
.step:nth-child(even) .step__media { order: 2; }
.step__media { background: #fff; border-radius: var(--radius-lg); padding: 18px; border: 1px solid var(--line); }
.step__media img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 6px; }
.step__text::before {
  content: counter(step); display: block; font: 400 4.5rem/1 var(--serif); color: var(--jet); margin-bottom: 12px; font-variant-numeric: lining-nums;
}
.step__text h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }
.step__text p { color: var(--muted); }
.step__text strong { color: var(--ink); }
@media (max-width: 800px) { .step { grid-template-columns: 1fr; } .step:nth-child(even) .step__media { order: 0; } }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 0 36px; }
.checklist--2 { grid-template-columns: repeat(2, 1fr); }
.checklist li { position: relative; padding: 12px 0 12px 34px; margin: 0; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--jet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.5' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E") center/18px no-repeat;
}
@media (max-width: 700px) { .checklist--2 { grid-template-columns: 1fr; } }

/* split: text + media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split__media img { border-radius: var(--radius-lg); width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* before / after strip */
.ba { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(130px, 45%), 1fr)); gap: 10px; margin: 0 0 1.5em; padding: 0; list-style: none; }
.ba li { margin: 0; }
.ba button, .ba a { display: block; padding: 0; border: 0; background: var(--sand); border-radius: 6px; overflow: hidden; cursor: zoom-in; width: 100%; }
.ba img { width: 100%; aspect-ratio: 140 / 95; object-fit: cover; }
.ba-note { font-size: .875rem; color: var(--muted); }

/* stats-free quote band for doctors */
.band { background: var(--ink); color: #dce8ef; }
.band h2, .band h3 { color: #fff; }
.band a:not(.btn) { color: #fff; }
.band .split__media img { border-radius: var(--radius-lg); }
.band p { color: #c3d5e1; }

/* ---------- inner pages ---------- */
.intro { position: relative; overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); }
.intro__inner { position: relative; z-index: 2; padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(36px, 5vw, 64px); max-width: calc(var(--wrap)); }
.intro h1 { max-width: 15em; }
.intro__lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 40em; margin: 0; }
.intro__jet { position: absolute; right: -40px; bottom: -30px; width: 560px; max-width: 70vw; height: auto; fill: none; stroke: var(--jet); stroke-width: 1; z-index: 1; opacity: .7; }
.crumbs { font-size: .8125rem; color: var(--muted); display: flex; gap: 8px; margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); align-items: start; }
.layout--full { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }

.prose { max-width: 44rem; }
.prose > h2 { margin-top: 1.6em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: 8px; background: #fff; }
.prose figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.prose .lead { font-size: 1.1875rem; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 14px; margin: 1.6em 0; }
.figs img { border-radius: 8px; width: 100%; background: #fff; border: 1px solid var(--line); }
.figs--contain img { object-fit: contain; aspect-ratio: 4/3; padding: 10px; }

.callout { background: var(--mist); border-left: 3px solid var(--jet); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.8em 0; }
.callout p:last-child { margin-bottom: 0; }

/* sidebar */
.aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.consult { background: var(--ink); color: #d6e4ec; border-radius: var(--radius-lg); padding: 26px; position: relative; overflow: hidden; }
.consult h2 { color: #fff; font-size: 1.5rem; }
.consult p { font-size: .9375rem; color: #bcd0dd; }
.consult .btn { width: 100%; margin-top: 8px; }
.consult__jet { position: absolute; right: -60px; top: -40px; width: 260px; fill: none; stroke: var(--jet); stroke-width: 1; opacity: .5; }
.consult > *:not(svg) { position: relative; }
.consult__write { margin-top: 14px; font-size: .875rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.consult__write a { color: #fff; }
.aside-links { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px 22px; }
.aside-links h3 { font-size: .875rem; color: var(--muted); font-weight: 600; margin: 12px 0 4px; }
.aside-links ul { list-style: none; padding: 0; margin: 0; }
.aside-links li { margin: 0; border-bottom: 1px solid var(--line); }
.aside-links li:last-child { border-bottom: 0; }
.aside-links a { display: block; padding: 11px 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.aside-links a:hover, .aside-links a[aria-current] { color: var(--jet-text); }
@media (max-width: 960px) { .aside { position: static; } }

/* gallery (workshops) */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(140px, 45%), 1fr)); gap: 10px; list-style: none; padding: 0; margin: 1.5em 0; }
.gallery li { margin: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; border-radius: 6px; overflow: hidden; background: var(--mist); }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,28,42,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; width: auto; border-radius: 6px; image-rendering: auto; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font: 600 .875rem var(--sans); cursor: pointer; }

/* team */
.person { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 1.6em 0; }
.person img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 160px; }
.person h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-bottom: .1em; }
.person__role { color: var(--jet-text); font-weight: 600; font-size: .9375rem; margin-bottom: .8em; }
@media (max-width: 600px) { .person { grid-template-columns: 1fr; } }

/* services list (Amedsi mobile) */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 1.5em 0; }
.service { padding: 22px 0; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.service h3 { font-family: var(--serif); font-weight: 500; font-size: 1.375rem; margin-bottom: .3em; }
.service p { color: var(--muted); margin-bottom: .6em; }
.service a { font-weight: 600; }
@media (max-width: 700px) { .services { grid-template-columns: 1fr; } }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2em; padding: 0; list-style: none; }
.subnav li { margin: 0; }
.subnav a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: .875rem; font-weight: 500; }
.subnav a:hover { border-color: var(--jet); color: var(--jet-text); }

/* prices */
.price-table { width: 100%; border-collapse: collapse; margin: 0 0 2.2em; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.price-table caption { text-align: left; padding: 0 0 10px; caption-side: top; }
.price-table caption strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.375rem; color: var(--navy); }
.price-table caption span { display: block; color: var(--muted); font-size: .9375rem; }
.price-table th, .price-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--glacier); font-size: .8125rem; color: var(--muted); font-weight: 600; }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.price-table tr:last-child td { border-bottom: 0; }

/* videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.video { margin: 0; }
.video__frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); }
.video__frame iframe, .video__frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 0; background: linear-gradient(transparent 40%, rgba(10,28,42,.55)); cursor: pointer; color: #fff; padding: 0; width: 100%; }
.video__play span { width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; }
.video__play svg { color: var(--navy); margin-left: 4px; }
.video figcaption { margin-top: 12px; font-weight: 600; }
.video figcaption a { font-weight: 400; font-size: .875rem; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }

/* map */
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--mist); aspect-ratio: 4/3; margin: 1.5em 0; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 1.5em 0; }
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.office h3 { margin-bottom: .4em; }
.office address { font-style: normal; color: var(--muted); }
@media (max-width: 640px) { .offices { grid-template-columns: 1fr; } }

/* ---------- forms (restyled Zoho web-to-lead) ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); }
.form-card h2 { font-size: 1.75rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; color: var(--ink); }
.field .req { color: #b42318; margin-left: 2px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  padding: 12px 14px; border: 1px solid #b7cad6; border-radius: var(--radius); background: #fff;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--jet); outline-offset: 0; border-color: var(--jet); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.form-actions input[type=submit] { background: var(--navy); color: #fff; border: 0; }
.form-actions input[type=submit]:hover { background: var(--ink); }
.form-actions input[type=reset] { background: transparent; color: var(--muted); border: 0; text-decoration: underline; padding: 0 8px; min-height: auto; }
.form-note { font-size: .875rem; color: var(--muted); margin-top: 16px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #b9cedb; font-size: .9375rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .btn { text-decoration: none; }
.footer .btn--light, .footer .btn--light:hover { color: var(--ink); }
.footer h3 { color: #fff; font-size: .9375rem; margin-bottom: 14px; }
.footer__cta { position: relative; overflow: hidden; background: var(--navy); color: #d9e7f0; }
.footer__jet { position: absolute; left: -2%; bottom: -10%; width: 760px; max-width: 110vw; fill: none; stroke: #7fd0ff; stroke-width: 1; opacity: .55; }
.footer__cta-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); align-items: center; }
.footer__cta h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.9rem); max-width: 14em; }
.footer__cta p { color: #cfe0ea; max-width: 34em; font-size: 1.0625rem; margin-bottom: 1.6em; }
.footer__phones { background: rgba(10,28,42,.35); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 24px 26px; backdrop-filter: blur(2px); }
.footer__phones dl { margin: 0; }
.footer__phones dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.footer__phones dl > div:last-child { border-bottom: 0; }
.footer__phones dt { color: #a9c2d3; }
.footer__phones dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .footer__cta-inner { grid-template-columns: 1fr; } }

.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.1fr 1.1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer__brand img { width: 150px; margin-bottom: 16px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin: 0 0 8px; }
.footer__col a { color: #d9e7f0; }
.footer address { font-style: normal; line-height: 1.7; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.footer__social a:hover { background: rgba(255,255,255,.1); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8125rem; color: #8fabbe; }
.footer__base p { margin: 0; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* helpers */
.muted { color: var(--muted); }
.mt-0 { margin-top: 0 !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.steps-plain { padding-left: 1.3em; }
.steps-plain li { margin-bottom: .8em; padding-left: .3em; }
.steps-plain li::marker { font-family: var(--serif); color: var(--jet-text); font-weight: 600; }

/* video button (header + hero) */
.btn--video { border-color: var(--jet); color: var(--navy); background: #fff; }
.btn--video svg { color: var(--jet); }
.btn--video:hover, .btn--video.is-current { background: var(--jet); border-color: var(--jet); color: #fff; }
.btn--video:hover svg, .btn--video.is-current svg { color: #fff; }
.masthead__inner { gap: 20px; }
.masthead .btn--video.masthead__cta { margin-left: 4px; }
.footer__sub { margin-top: 22px; }
.utility__right > a { color: #cfe0ea; }
@media (max-width: 1180px) { .nav__link { padding: 10px 9px; } }

/* home: videos */
.videos--home { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.videos--home .video__play span { width: 54px; height: 54px; }
.videos--home figcaption { font-size: .9375rem; }
@media (max-width: 1000px) { .videos--home { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .videos--home { grid-template-columns: 1fr; } }
.section__head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; max-width: none; }
.section__head--row > div { max-width: 46rem; }

/* home: peptides area art */
.area__img--art { background: linear-gradient(160deg, #e9f4fb, #d6e9f4); display: flex; align-items: center; justify-content: center; }
.area__img--art svg { width: 86%; height: auto; }
.area__text { color: var(--muted); }
.hero__call { margin: 14px 0 0; font-size: .9375rem; color: var(--muted); }
.hero__call a { font-weight: 600; color: var(--navy); }
@media (max-width: 760px) { .utility__right > a:not(.utility__phone) { display: none; } }
#videos { scroll-margin-top: 100px; }

/* hero: beach photo, cut along the old banner's swoosh curve */
.hero__inner { grid-template-columns: 1fr 1.15fr; }
.hero__media { margin-right: calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--gutter))); }
.hero__media img { aspect-ratio: 932 / 540; object-fit: cover; border-radius: 0; clip-path: polygon(0.00% 4.44%, 0.09% 3.29%, 0.34% 2.22%, 0.75% 1.30%, 1.29% 0.60%, 1.91% 0.15%, 2.58% 0.00%, 100.00% 0.00%, 100.00% 61.48%, 97.85% 62.17%, 95.71% 62.88%, 93.56% 63.60%, 91.42% 64.33%, 89.27% 65.08%, 87.12% 65.84%, 84.98% 66.62%, 82.83% 67.41%, 80.69% 68.21%, 78.54% 69.03%, 76.39% 69.86%, 74.25% 70.71%, 72.10% 71.57%, 69.96% 72.44%, 67.81% 73.33%, 65.67% 74.24%, 63.52% 75.15%, 61.37% 76.08%, 59.23% 77.03%, 57.08% 77.99%, 54.94% 78.96%, 52.79% 79.95%, 50.64% 80.95%, 48.50% 81.96%, 46.35% 82.99%, 44.21% 84.03%, 42.06% 85.09%, 39.91% 86.16%, 37.77% 87.25%, 35.62% 88.35%, 33.48% 89.46%, 31.33% 90.59%, 29.18% 91.73%, 27.04% 92.88%, 24.89% 94.05%, 22.75% 95.24%, 20.60% 96.43%, 18.45% 97.64%, 16.31% 98.87%, 14.35% 100.00%, 2.58% 100.00%, 1.91% 99.85%, 1.29% 99.40%, 0.75% 98.70%, 0.34% 97.78%, 0.09% 96.71%); }
.hero__curve { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--jet); stroke-width: 2.5; vector-effect: non-scaling-stroke; pointer-events: none; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: none; margin-left: calc(-1 * var(--gutter)); }
  .hero__media img { aspect-ratio: 932 / 540; border-radius: 0; }
}
