/* ==========================================================================
   BHMS — design tokens
   ========================================================================== */
:root {
  /* Palette from the Kamai logo, which is one colour: a vermillion script.
     --flame is that colour; --flame-600 is the darkened version buttons and
     links use, because white text on the pure vermillion misses AA. --ember
     is the light tint that carries eyebrows and accents on the dark bands. */
  --ink-950: #1d0c06;
  --ink-900: #2b140b;
  --ink-800: #4a2212;
  --flame: #ee3101;
  --flame-600: #c92400;
  --ember: #ff9a4d;
  --ember-600: #f3842f;
  --mist: #faf4f1;
  --ice: #fdeae1;

  --ink: #26140e;
  --text: #4a3a34;
  --muted: #6b564e;
  --line: #e6dcd7;
  --white: #ffffff;

  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --container: 1214px;
  --container-wide: 1262px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 115px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

.container,
.container-wide {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container { max-width: calc(var(--container) + var(--gutter) * 2); }
.container-wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 15px; height: 15px; stroke-width: 2; }
.icon--xs { width: 12px; height: 12px; stroke-width: 2.2; }

/* ==========================================================================
   Typography primitives
   ========================================================================== */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--flame-600);
}
.eyebrow--gold { color: var(--ember); }
.eyebrow--rule { display: flex; align-items: center; gap: 14px; }
.eyebrow--rule::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.14;
  letter-spacing: -.012em;
  color: var(--ink);
}
.display--light { color: var(--white); }

.title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 50px;
  line-height: 1.12;
  letter-spacing: -.012em;
  color: var(--ink);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--sm { height: 46px; padding: 0 24px; }
.btn--md { height: 42px; padding: 0 26px; }

/* Blue buttons hover to gold; gold buttons hover to blue */
.btn--primary { background: var(--flame-600); color: var(--white); }
.btn--primary:hover,
.btn--primary:focus-visible { background: var(--ember); color: var(--ink-900); }

.btn--gold { background: var(--ember); color: var(--ink-900); }
.btn--gold:hover,
.btn--gold:focus-visible { background: var(--flame-600); color: var(--white); }

.btn--ghost-light { color: var(--white); padding-inline: 12px; }
.btn--ghost-light:hover { color: var(--ember); }
.btn--ghost-light:hover .icon { transform: translateY(2px); }

.btn--outline-light { color: var(--white); border-color: rgba(255, 255, 255, .55); height: 50px; padding: 0 28px; }
.btn--outline-light:hover { background: var(--white); border-color: var(--white); color: var(--ink-900); }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--ink-950);
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  line-height: 1;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 34px;
}
.topbar__address { display: flex; align-items: center; gap: 7px; font-style: normal; }
.topbar .icon { width: 13px; height: 13px; color: var(--ember); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
/* Logo | centered menu | actions — side columns stay equal so the menu sits at the true center */
.header__inner {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  column-gap: 24px;
  height: 80px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
/* Kamai's logo is a wordmark, so it is sized by height and keeps its ratio */
.logo img { width: auto; height: 42px; }

.nav {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
}
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__actions { display: flex; align-items: center; justify-self: end; }
.has-menu { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.nav__link .icon { color: var(--muted); }
.nav__link:hover { color: var(--flame-600); }

/* Menu underline: grows on hover, stays on the section in view (aria-current is set by main.js) */
.nav__list > li > .nav__link { position: relative; }
.nav__list > li > .nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__list > li > .nav__link:hover::after,
.nav__list > li > .nav__link:focus-visible::after,
.has-menu:hover > .nav__link::after,
.nav__list > li > .nav__link[aria-current]::after { transform: scaleX(1); }
.nav__list > li > .nav__link[aria-current] { color: var(--flame-600); }

.nav__divider { width: 1px; height: 28px; margin-right: 26px; background: #c3b2aa; }
/* Phone link fills gold on hover (gold is a fill colour only — never gold text on white).
   Padding is offset by negative margin so the number itself doesn't move. */
.nav__portal {
  margin: 0 14px 0 -12px;
  padding: 10px 12px;
  border-radius: 2px;
  color: var(--flame-600);
  font-weight: 600;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__portal:hover { background: var(--ember); color: var(--ink-950); }

/* Cart in the header, on the shop page. A <button> rather than a link because it opens the
   cart in place; the shop embed wires it up by its data-bhms-cart attribute. Shaped like
   .nav__portal beside it so the two read as one pair of actions. */
.nav__cart {
  margin: 0 14px 0 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 2px;
  background: none;
  color: var(--flame-600);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__cart:hover { background: var(--ember); color: var(--ink-950); }
/* The embed writes the number straight into this span, so it is always there, including a
   zero. A quiet badge rather than a hidden one: a cart you cannot see the state of is worse
   than one that says it is empty. */
.nav__cart [data-bhms-cart-count] {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--flame-600);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}
.nav__cart:hover [data-bhms-cart-count] { background: var(--ink-950); color: #fff; }

/* Facebook, beside the phone number: an icon-only button on desktop, a labelled row in the
   phone menu. Same gold-on-hover fill as .nav__portal. */
.nav__social {
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 14px 0 -6px;
  padding: 0;
  border-radius: 2px;
  color: var(--flame-600);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
/* Brand marks read as solid shapes, not outlines */
.icon--solid { fill: currentColor; stroke: none; }
.nav__social .icon { width: 22px; height: 22px; color: inherit; }
.nav__social:hover { background: var(--ember); color: var(--ink-950); }
.nav__social-label { display: none; }

.nav__menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 190px;
  padding: 8px 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(43, 20, 11, .10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__menu a { display: block; padding: 8px 16px; font-size: 13.5px; color: var(--ink); }
.nav__menu a:hover { background: var(--mist); color: var(--flame-600); }
.has-menu:hover .nav__menu,
.has-menu:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }


.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 703px;
  overflow: hidden;
  background: var(--ink-900);
  color: var(--white);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(29, 12, 6, .96) 0%, rgba(29, 12, 6, .92) 35%, rgba(29, 12, 6, .82) 47%, rgba(29, 12, 6, .4) 60%, rgba(29, 12, 6, .1) 72%, rgba(29, 12, 6, 0) 100%),
    linear-gradient(0deg, rgba(29, 12, 6, .35) 0%, rgba(29, 12, 6, 0) 30%),
    url("../assets/hero.jpg") 72% 40% / cover no-repeat;
}
.hero__content { padding-block: 122px 80px; }
.hero__title {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 80px;
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--white);
}
.hero__title em { font-style: italic; color: var(--ember); }
.hero__lead {
  max-width: 540px;
  margin-top: 20px;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .84);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 31px;
  max-width: 672px;
  margin-top: 68px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .8);
}
.hero__trust li { display: flex; align-items: center; gap: 9px; }
.hero__trust .icon { width: 18px; height: 18px; stroke-width: 2; color: var(--ember); }

/* ==========================================================================
   Intro
   ========================================================================== */
.intro { padding-block: 93px 134px; }
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 483px;
  gap: 48px;
}
.intro__heading { padding-top: 40px; }
.intro__heading .display { margin-top: 18px; }
.intro__body { padding-top: 72px; border-top: 1px solid var(--line); }
.intro__lead { font-size: 17px; line-height: 1.82; color: var(--ink); }
.intro__note { margin-top: 20px; font-size: 14.5px; line-height: 1.85; color: var(--muted); }

/* ==========================================================================
   Continuum
   ========================================================================== */
.continuum { background: var(--mist); padding-block: 130px 128px; }
.section-head { text-align: center; }
.section-head .title { max-width: 700px; margin: 22px auto 0; line-height: 1.22; }
.section-head__sub { margin-top: 12px; font-size: 14.5px; color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  align-items: stretch;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 414px;
  padding: 36px 40px 38px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card + .card { border-left: 0; }

.card__icon {
  position: absolute;
  top: 34px;
  right: 40px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--flame-600);
}
.card__icon .icon { width: 16px; height: 16px; stroke-width: 1.9; }

.card__num { font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.card__rule {
  display: block;
  width: 44px;
  height: 2px;
  margin: 30px 0 0;
  background: var(--flame-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.card.is-active .card__rule,
.card:hover .card__rule { transform: scaleX(1); }

.card__title {
  margin-top: 64px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
.card__text { margin-top: 14px; font-size: 13.5px; line-height: 1.7; color: var(--muted); max-width: 320px; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--flame-600);
}
.card__link:hover .icon { transform: translateX(3px); }
.card__link .icon { transition: transform .2s var(--ease); }

.card__icon,
.card__num,
.card__title,
.card__text,
.card__link { transition: color .25s var(--ease), background-color .25s var(--ease); }

/* Hover / keyboard focus: gold card */
.card:hover,
.card:focus-within {
  z-index: 1;
  background: var(--ember);
  border-color: var(--ember);
  box-shadow: 0 18px 40px rgba(43, 20, 11, .08);
}
.card:hover .card__icon,
.card:focus-within .card__icon { background: rgba(255, 255, 255, .92); color: var(--ember-600); }
.card:hover .card__num,
.card:focus-within .card__num { color: rgba(255, 255, 255, .85); }
.card:hover .card__rule,
.card:focus-within .card__rule { background: var(--white); transform: scaleX(1); }
.card:hover .card__title,
.card:focus-within .card__title { color: var(--ink-900); }
.card:hover .card__text,
.card:focus-within .card__text { color: rgba(43, 20, 11, .72); }
.card:hover .card__link,
.card:focus-within .card__link { color: var(--ink-900); }

/* ==========================================================================
   Journey
   ========================================================================== */
.journey { background: var(--ink-900); color: var(--white); padding-block: 150px 156px; }
.journey__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 617px;
  gap: 48px;
}
.journey__intro .display { max-width: 390px; margin-top: 18px; }
.journey__lead {
  max-width: 440px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .66);
}
.journey__intro .btn { margin-top: 28px; }

.steps { padding-top: 0; }
.step {
  display: grid;
  grid-template-columns: 87px 1fr;
  padding: 28px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}
.step__num { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ember); line-height: 24px; }
.step__title { font-size: 16px; font-weight: 400; line-height: 24px; color: var(--white); }
.step__text { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .62); }

/* ==========================================================================
   Clinical
   ========================================================================== */
.clinical { padding-block: 143px 146px; }
.clinical__grid {
  display: grid;
  grid-template-columns: 427px minmax(0, 1fr);
  gap: 146px;
  align-items: center;
}
.clinical__visual {
  position: relative;
  container-type: size;
  aspect-ratio: 427 / 501;
  max-width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #fdf3ef 0%, #fbeee8 55%, #f7e3da 100%);
}
/* Circles are sized against the box's shorter side so they stay round and fit at any aspect ratio */
.clinical__circle,
.clinical__icon {
  position: absolute;
  inset: 0;
  margin: auto;
}
.clinical__circle { border-radius: 50%; }
.clinical__circle--halo {
  width: min(131cqw, 112cqh);
  height: min(131cqw, 112cqh);
  background: #fdf5f2;
}
.clinical__circle--outer {
  width: min(89cqw, 76cqh);
  height: min(89cqw, 76cqh);
  background: #fbeadf;
  border: 1px solid #f0d8cc;
  animation: clinical-breathe 3.6s ease-in-out infinite;
}
.clinical__circle--inner {
  width: min(55cqw, 47cqh);
  height: min(55cqw, 47cqh);
  background: #fcefe9;
  border: 1px solid #efd5c8;
  animation: clinical-breathe 3.6s ease-in-out .3s infinite;
}
.clinical__circle--ripple {
  width: min(55cqw, 47cqh);
  height: min(55cqw, 47cqh);
  border: 1px solid rgba(238, 49, 1, .28);
  animation: clinical-ripple 3.6s cubic-bezier(.2, .6, .35, 1) infinite;
}
.clinical__icon {
  width: min(18cqw, 15.3cqh);
  height: min(18cqw, 15.3cqh);
  stroke-width: 1.2;
  color: var(--flame-600);
}

@keyframes clinical-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
@keyframes clinical-ripple {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(2.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .clinical__circle { animation: none; }
  .clinical__circle--ripple { display: none; }
}

.clinical__body .title { margin-top: 20px; }
.clinical__lead { max-width: 560px; margin-top: 18px; font-size: 15px; line-height: 1.72; color: var(--muted); }
.checklist { margin-top: 26px; display: grid; gap: 16px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 23px; color: var(--text); }
.checklist .icon { width: 18px; height: 18px; color: var(--flame-600); }

/* ==========================================================================
   Team banner
   ========================================================================== */
.team__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 304px;
  padding: 60px 83px 60px 80px;
  background: linear-gradient(100deg, var(--ink-900) 0%, #a81d00 55%, #ff7a3d 100%);
  color: var(--white);
}
.team__title {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.team__text { max-width: 540px; margin-top: 14px; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .7); }

/* ==========================================================================
   Visit us / map
   ========================================================================== */
.map { background: var(--mist); padding-block: 120px; }
.map__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 640px;
  gap: 80px;
  align-items: center;
}
.map__intro .title { margin-top: 18px; }
.map__address {
  max-width: 420px;
  margin-top: 20px;
  font-size: 17px;
  font-style: normal;
  line-height: 1.6;
  color: var(--ink);
}
.map__meta { display: grid; gap: 14px; margin-top: 24px; font-size: 14px; line-height: 1.6; color: var(--text); }
.map__meta li { display: flex; align-items: flex-start; gap: 12px; }
.map__meta .icon { margin-top: 2px; color: var(--flame-600); }
.map__intro .btn { margin-top: 30px; }
.map__frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}
.map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 1024px) {
  .map__grid { grid-template-columns: 1fr; gap: 48px; }
  .map__frame { aspect-ratio: 16 / 10; }
}

@media (max-width: 760px) {
  .map { padding-block: 72px; }
  .map__frame { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink-950); color: rgba(255, 255, 255, .62); }
/* Logo | links | phone and hours, then the copyright on its own centred row */
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px 24px;
  padding-block: 44px 28px;
}
.footer__links { display: flex; gap: 22px; font-size: 12.5px; }
.footer__links li + li::before { content: "·"; margin-right: 22px; color: rgba(255, 255, 255, .55); }
.footer__links a:hover { color: var(--ember); }
.footer__end { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; justify-self: end; }
.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  transition: color .2s var(--ease);
}
.footer__phone .icon { width: 15px; height: 15px; color: var(--ember); }
.footer__phone:hover { color: var(--ember); }
.footer__hours { font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .62); }
.footer__social {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: var(--white);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.footer__social .icon { width: 17px; height: 17px; }
.footer__social:hover { background: var(--ember); border-color: var(--ember); color: var(--ink-950); }
.footer__copy {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px;
  text-align: center;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Current subpage inside the Solutions dropdown */
.nav__menu a[aria-current="page"] { color: var(--flame-600); font-weight: 600; }

/* ==========================================================================
   Subpages — hero
   ========================================================================== */
.page-hero { background: var(--ink-900); color: var(--white); padding-block: 72px 96px; }
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 427px;
  gap: 96px;
  align-items: center;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .6); }
.breadcrumb a { color: rgba(255, 255, 255, .88); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--ember); }
.breadcrumb [aria-current] { color: var(--white); }
.page-hero .eyebrow { margin-top: 40px; }
.page-hero__title {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--white);
}
.page-hero__lead { max-width: 560px; margin-top: 22px; font-size: 16.5px; line-height: 1.7; color: rgba(255, 255, 255, .84); }
.page-hero__media {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink-800);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Shop hero: fanned brochure pages. The tilted right card can reach past the screen edge,
   so the hero clips sideways rather than letting the whole page scroll. */
.page-hero:has(.page-hero__stack) { overflow-x: clip; }
.page-hero__stack { position: relative; height: 460px; }
.page-hero__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 230px;
  height: auto;
  border: 6px solid var(--white);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
}
.page-hero__card--left { transform: translate(-50%, -50%) translateX(-110px) rotate(-9deg); }
.page-hero__card--right { transform: translate(-50%, -50%) translateX(110px) rotate(9deg); }
.page-hero__card--front { transform: translate(-50%, -50%) translateY(-8px); z-index: 1; }

/* ==========================================================================
   Subpages — features
   ========================================================================== */
.features { background: var(--mist); padding-block: 120px; }
.features .section-head .title,
.related .section-head .title { text-wrap: balance; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature { padding: 36px 36px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--flame-600);
}
.feature__icon .icon { width: 18px; height: 18px; }
.feature__title {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}
.feature__text { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ==========================================================================
   Subpages — request form
   ========================================================================== */
.request { padding-block: 130px; }
.request__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 96px;
  align-items: start;
}
.request__intro .title { margin-top: 18px; }
.request__lead { max-width: 460px; margin-top: 20px; font-size: 16px; line-height: 1.75; color: var(--text); }
.request__meta { display: grid; gap: 14px; margin-top: 32px; font-size: 14px; line-height: 1.6; color: var(--text); }
.request__meta li { display: flex; align-items: flex-start; gap: 12px; }
.request__meta .icon { margin-top: 2px; color: var(--flame-600); }
.request__note a { color: var(--flame-600); text-decoration: underline; text-underline-offset: 2px; }
.request__note {
  max-width: 460px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.form-panel { padding: 44px 44px 40px; background: var(--mist); border-left: 3px solid var(--ember); }
.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.field__hint { font-weight: 400; color: var(--muted); }
.req { margin-left: 2px; color: #b42318; }
.field__control {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #a08d85;
  border-radius: 2px;
  background-color: var(--white);
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea.field__control { height: auto; min-height: 118px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
select.field__control {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355657a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.field__control::placeholder { color: #8a7268; }
.field__control:hover { border-color: var(--muted); }
.field__control:focus { outline: none; border-color: var(--flame-600); box-shadow: 0 0 0 3px rgba(238, 49, 1, .22); }
.field__control[aria-invalid="true"] { border-color: #b42318; }
.field__error { font-size: 12.5px; line-height: 1.4; color: #b42318; }

.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.6; color: var(--text); }
.consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--flame-600); }
.form > .field__error { grid-column: 1 / -1; margin-top: -12px; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form__required { font-size: 12.5px; color: var(--muted); }
.form__status { grid-column: 1 / -1; padding: 12px 14px; border-left: 3px solid; font-size: 14px; line-height: 1.55; }
.form__status--success { background: #ecfdf3; border-color: #067647; color: #05603a; }
.form__status--error { background: #fef3f2; border-color: #b42318; color: #912018; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ==========================================================================
   Subpages — external CTA and related pathways
   ========================================================================== */
.cta-band { padding-block: 120px; }
.related { background: var(--mist); padding-block: 120px; }
.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--two .card { min-height: 360px; }

@media (max-width: 1024px) {
  .page-hero__grid,
  .request__grid { grid-template-columns: 1fr; gap: 56px; }
  .page-hero__media { aspect-ratio: 16 / 10; }
  .page-hero__title { font-size: 52px; }
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .page-hero { padding-block: 48px 64px; }
  .page-hero__stack { display: none; }
  .page-hero__title { font-size: 40px; }
  .features,
  .request,
  .related,
  .cta-band { padding-block: 72px; }
  .features__grid,
  .form { grid-template-columns: 1fr; }
  .feature { padding: 28px 24px 32px; }
  .form-panel { padding: 32px 22px; }
}

/* ==========================================================================
   Top bar contact links
   ========================================================================== */
.topbar__contact { display: flex; align-items: center; gap: 14px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s var(--ease); }
.topbar__contact a:hover { color: var(--ember); }
.topbar__sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .3); }

/* ==========================================================================
   "Coming soon" pill
   ========================================================================== */
.pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill--soon { background: var(--ember); color: var(--ink-900); }
.nav__link .pill { padding: 1px 6px; font-size: 9px; letter-spacing: .06em; }

/* ==========================================================================
   Four-up product row and shop banner
   ========================================================================== */
.cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--four .card { min-height: 380px; padding-inline: 30px; }
.cards--four .card__icon { right: 30px; }

.shop-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 28px;
  padding: 44px 52px;
  background: linear-gradient(100deg, var(--ink-900) 0%, #a81d00 60%, #ff7a3d 100%);
  color: var(--white);
}
.shop-banner__title {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}
.shop-banner__text { max-width: 620px; margin-top: 12px; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .78); }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews { padding-block: 120px; }
.quote {
  max-width: 760px;
  margin: 44px auto 0;
  padding: 44px 48px;
  background: var(--mist);
  border-left: 3px solid var(--ember);
  text-align: center;
}
.quote__stars { display: flex; justify-content: center; gap: 4px; color: var(--ember); }
.quote__stars .icon { width: 18px; height: 18px; fill: var(--ember); stroke-width: 1; }
.quote__text {
  margin: 18px 0 0;
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.4;
  color: var(--ink);
}
.quote__by { margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   Shop (catalogue preview, ordering disabled)
   ========================================================================== */
.shop { padding-block: 100px 120px; }
.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: var(--ice);
  border-left: 3px solid var(--flame-600);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
}
.notice .icon { flex: none; margin-top: 2px; color: var(--flame-600); }
.notice strong { font-weight: 700; }
.shop .section-head { margin-top: 64px; }

.products {
  display: grid;
  /* Kamai lists two prostheses and three accessories, so the cards stretch to
     fill the row instead of leaving empty columns from a fixed 4-up grid. */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.product {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
}
.product__media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  color: var(--ink-800);
}
.product__media .icon { width: 56px; height: 56px; stroke-width: 1.2; }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.product__meta { margin-bottom: 14px; }
.product__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}
.product__text { margin-top: 10px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.product__price { margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 600; color: var(--ink-800); }
.product__cta { width: 100%; margin-top: 16px; }
.product__note { margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.product__note a { color: var(--flame-600); text-decoration: underline; text-underline-offset: 2px; }

/* Switched-off state: readable, clearly not orderable */
.product.is-soon .product__media { color: #9a9ab8; }
.product.is-soon .product__cta { background: #ded0c9; color: #5c4a42; }
.btn[disabled] { cursor: not-allowed; opacity: 1; }
.btn[disabled]:hover { background: #ded0c9; color: #5c4a42; }
.btn[disabled] .icon { transform: none; }

/* Brochure-page product photos (portrait, text baked into the image) */
.product__media--photo { display: block; aspect-ratio: 560 / 792; overflow: hidden; background: var(--white); }
.product__media--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.product__media--photo:hover img { transform: scale(1.03); }
.product__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.product__type { flex-basis: 100%; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Category jump links */
.shop-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.shop-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.shop-nav a:hover { border-color: var(--flame-600); color: var(--flame-600); }
.shop-nav__count { padding: 1px 8px; border-radius: 999px; background: var(--ice); font-size: 12px; color: var(--flame-600); }

/* One block per category */
.shop-cat, .options { margin-top: 88px; }
.shop-cat__head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.shop-cat__title { font-family: var(--font-serif); font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--ink); }
.shop-cat__sub { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.shop-cat .products { margin-top: 32px; }

/* Socket and foot options */
.options {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 48px;
  padding: 40px;
  background: var(--mist);
  border-left: 3px solid var(--ember);
}
.options__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.options__title { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-800); }
.options__list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.options__key {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--flame-600);
}

@media (max-width: 1180px) {
  .cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Narrow desktop: the header phone number is also in the top bar, so drop it here to keep the menu on one line */
@media (min-width: 1025px) and (max-width: 1100px) {
  .nav__portal, .nav__divider { display: none; }
  .nav__list { gap: 14px; }
  .nav:has(.nav__cart) .nav__list { gap: 11px; }
}
/* The shop header also carries the cart, so it needs the room up to a wider breakpoint */
@media (min-width: 1025px) and (max-width: 1320px) {
  .nav__actions:has(.nav__cart) .nav__portal { display: none; }
}

@media (max-width: 900px) {
  .options { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
}

@media (max-width: 1024px) {
  .shop-banner { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .page-hero__grid--wide { grid-template-columns: 1fr; }
  .page-hero__stack { margin-top: 24px; }
}

@media (max-width: 760px) {
  .topbar__contact { gap: 10px; }
  .topbar__contact a:last-child, .topbar__sep { display: none; }
  .cards--four, .products { grid-template-columns: 1fr; }
  .shop-cat .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-cat .product__body { padding: 16px 14px 18px; }
  .shop-cat .product__title { font-size: 19px; }
  .shop-cat .products--single { grid-template-columns: 1fr; }
  .shop-cat, .options { margin-top: 64px; }
  .shop-cat__title { font-size: 26px; }
  .reviews, .shop { padding-block: 72px; }
  .quote { padding: 32px 24px; }
  .quote__text { font-size: 21px; }
  .logo img { height: 34px; }
}

/* ==========================================================================
   Blog (same as bhms.world)
   Listing, post cards, and the long-form column a post uses.
   ========================================================================== */
.btn--outline { background: var(--white); border-color: #b9bad1; color: var(--ink); }
.btn--outline:hover { border-color: var(--flame-600); color: var(--flame-600); background: var(--white); }
.pill--topic { background: var(--ice); color: var(--flame-600); }

.page-hero--plain { padding-block: 72px 72px; }
.page-hero--plain .page-hero__lead { max-width: 640px; }

.posts-section { padding-block: 80px 96px; }

/* Empty state, until the first article is published */
.blog-empty {
  max-width: 760px;
  padding: 48px 44px 44px;
  background: var(--mist);
  border-left: 3px solid var(--ember);
}
.blog-empty .title { margin-top: 16px; font-size: 40px; }
.blog-empty__text { max-width: 560px; margin-top: 18px; font-size: 16px; line-height: 1.75; color: var(--text); }
.blog-empty__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Post list */
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.post-card { display: flex; }
.post-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 32px 30px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.post-card__link:hover {
  border-color: var(--flame-600);
  box-shadow: 0 18px 40px rgba(43, 20, 11, .08);
}
.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.post-card__title {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}
.post-card__excerpt { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
  font-size: 13px;
  font-weight: 700;
  color: var(--flame-600);
}
.post-card__more .icon { transition: transform .2s var(--ease); }
.post-card__link:hover .post-card__more .icon { transform: translateX(3px); }

/* A single post: one readable column */
.legal { padding-block: 72px 104px; }
.legal__body { max-width: 752px; }
.legal__body h2 {
  margin: 48px 0 14px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
}
.legal__body > h2:first-child { margin-top: 0; }
.legal__body p,
.legal__body li { font-size: 17px; line-height: 1.75; color: var(--text); }
.legal__body p { margin: 0 0 16px; }
.legal__body ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.legal__body li + li { margin-top: 10px; }
.legal__body a { color: var(--flame-600); text-decoration: underline; text-underline-offset: 2px; }
.legal__body a:hover { color: var(--flame-600); }
.legal__body strong { color: var(--ink); font-weight: 600; }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 32px;
  font-size: 13.5px;
  color: var(--muted);
}
.legal__body .article__meta { margin: 0 0 32px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.article__back { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal__body .article__back a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.legal__body .article__back a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .page-hero--plain { padding-block: 48px 48px; }
  .posts-section { padding-block: 56px 72px; }
  .posts { grid-template-columns: 1fr; }
  .blog-empty { padding: 32px 24px; }
  .blog-empty .title { font-size: 30px; }
  .post-card__link { padding: 26px 22px; }
  .post-card__title { font-size: 22px; }
  .legal { padding-block: 48px 72px; }
  .legal__body h2 { font-size: 25px; margin-top: 40px; }
  .legal__body p, .legal__body li { font-size: 16px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__list { gap: 18px; }
  .nav__divider { margin-right: 18px; }
  .nav__portal { margin-right: 6px; }

  .intro__grid { grid-template-columns: minmax(0, 1fr) 420px; }
  .journey__grid { grid-template-columns: minmax(0, 1fr) 520px; }
  .clinical__grid { grid-template-columns: 380px minmax(0, 1fr); gap: 72px; }
  .card { padding-inline: 30px; }
  .card__icon { right: 30px; }
}

@media (max-width: 1024px) {
  .header__inner { display: flex; justify-content: space-between; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(43, 20, 11, .08);
    display: none;
  }
  .header.is-open .nav { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav__list > li > .nav__link::after { bottom: -1px; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 8px 14px; }
  .nav__actions { flex-direction: column; align-items: stretch; }
  .nav__divider { display: none; }
  .nav__portal { margin: 0; border-radius: 0; }
  .nav__social { justify-content: flex-start; gap: 10px; width: 100%; height: auto; margin: 0; border-radius: 0; }
  .nav__social-label { display: inline; }
  .nav .btn { margin-top: 18px; }

  .hero__media {
    background:
      linear-gradient(90deg, rgba(29, 12, 6, .97) 0%, rgba(29, 12, 6, .9) 45%, rgba(29, 12, 6, .45) 75%, rgba(29, 12, 6, .2) 100%),
      url("../assets/hero.jpg") 78% 20% / cover no-repeat;
  }
  .hero__title { font-size: 64px; }
  .display { font-size: 48px; }
  .title { font-size: 42px; }

  .intro__grid,
  .journey__grid { grid-template-columns: 1fr; gap: 48px; }
  .intro__heading { padding-top: 0; }
  .intro__body { padding-top: 40px; max-width: 640px; }
  .journey__intro .display { max-width: 560px; }
  .clinical__grid { grid-template-columns: 1fr 1fr; gap: 56px; }

  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { min-height: 0; padding: 36px 32px; }
  .card + .card { border-left: 1px solid var(--line); }
  .card__title { margin-top: 28px; }
  .card__text { max-width: 520px; }
  .card__link { margin-top: 28px; }

  .team__panel { flex-direction: column; align-items: flex-start; padding: 56px 48px; }
}

@media (max-width: 900px) {
  .clinical__grid { grid-template-columns: 1fr; gap: 48px; }
  .clinical__visual { aspect-ratio: 16 / 9; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 103px; }
  .topbar__inner { justify-content: center; }
  .topbar__inner > p:first-child { display: none; }
  .header__inner { height: 68px; }
  .logo img { height: 32px; }

  .hero { min-height: 0; }
  .hero__media {
    background:
      linear-gradient(0deg, rgba(29, 12, 6, .97) 0%, rgba(29, 12, 6, .90) 55%, rgba(29, 12, 6, .55) 100%),
      url("../assets/hero.jpg") 80% 20% / cover no-repeat;
  }
  .hero__content { padding-block: 72px 56px; }
  .hero__title { font-size: 46px; }
  .hero__lead { font-size: 16px; }
  .hero__actions { margin-top: 32px; }
  .hero__trust { margin-top: 48px; flex-direction: column; }

  .intro, .continuum, .journey, .clinical { padding-block: 72px; }
  .display { font-size: 38px; }
  .title { font-size: 34px; }
  .section-head .title br { display: none; }

  .clinical__grid { grid-template-columns: 1fr; gap: 40px; }
  .clinical__visual { aspect-ratio: 4 / 3; }
  .step { grid-template-columns: 56px 1fr; }

  .team__panel { padding: 44px 28px; min-height: 0; }
  .team__title { font-size: 30px; }

  .footer__inner { grid-template-columns: 1fr; justify-items: start; padding-block: 40px 28px; }
  .footer__copy { justify-self: stretch; }
  .footer__end { align-items: flex-start; justify-self: start; }
  .footer__links { flex-wrap: wrap; }
}
