/* ==========================================================================
   IGH In Good Health
   Two-page minimal site. Palette and type follow the IGH Brand Book (Brandmint).
   ========================================================================== */

:root {
  /* Brand: digital RGB values, Brand Book 1.05 */
  --ink: #000000;
  --amber: #f0a640;
  --bordeaux: #8f1f33;
  --teal: #407573;

  /* Supporting Pantone set, used sparingly */
  --sand: #d9caac;
  --taupe: #bcb19e;
  --mist: #aaafba;

  /* Surfaces: Paul asked for a light grey ground */
  --paper: #eeeeec;
  --paper-deep: #e4e4e1;
  --card: #ffffff;

  --muted: #5c5c58;
  --faint: #8b8b86;
  --rule: rgba(0, 0, 0, 0.14);
  --rule-soft: rgba(0, 0, 0, 0.08);

  /* Type, Brand Book 2.02: Philadelphian Gothic is the main font, Montserrat
     carries body copy. Montserrat is also the fallback while the licensed
     Philadelphian Gothic webfont is not yet in assets/fonts/. */
  --font-display: "Philadelphian Gothic", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 74px;
  --ease-gentle: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--ink); color: var(--paper); }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------------------
   Opening sequence: one restrained brand moment per browser session
   -------------------------------------------------------------------------- */

.site-intro { display: none; }

.js:not(.intro-seen) .site-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  animation: intro-curtain 0.6s 0.85s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

/* Any click, key, scroll or tap wipes the curtain immediately. */
.js:not(.intro-seen) .site-intro.is-leaving {
  animation: intro-curtain 0.42s 0s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.site-intro__inner {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(78vw, 440px);
}

.site-intro__logo {
  position: relative;
  width: clamp(220px, 42vw, 360px);
  height: auto;
  object-fit: contain;
  filter: invert(1);
  opacity: 0;
  transform: translateY(12px);
  animation: intro-logo 0.52s 0.12s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes intro-logo {
  to { opacity: 1; transform: none; }
}

@keyframes intro-curtain {
  0% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 100% 0); visibility: hidden; }
}

/* --------------------------------------------------------------------------
   Shared type devices
   -------------------------------------------------------------------------- */

.eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--teal { color: var(--teal); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--rule);
}

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 300;
  line-height: 1.66;
  color: var(--muted);
  max-width: 54ch;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__logo {
  width: 104px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s var(--ease-gentle), opacity 0.5s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
}

.site-nav a {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 6px;
  transition: color 0.4s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-gentle);
}

.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-nav .nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  transition: background 0.42s ease, color 0.42s ease, transform 0.5s var(--ease-gentle);
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: var(--ink); color: var(--paper); }

/* --------------------------------------------------------------------------
   Hero: the Brand Book 2.03 typographic device
   -------------------------------------------------------------------------- */

.hero {
  padding-block: clamp(56px, 10vw, 120px) clamp(48px, 8vw, 96px);
}

.hero__eyebrow { margin-bottom: clamp(32px, 5vw, 56px); }

.lockup { display: block; }

.lockup__word {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: clamp(10px, 1.6vw, 22px);
}

.lockup__big {
  /* Philadelphian Gothic sets ~25% wider than Montserrat at the same size, so
     the display sizes here are tuned to the brand face, not to the fallback. */
  font-size: clamp(32px, 10.5vw, 155px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.86;
  text-transform: uppercase;
}

.lockup__small {
  font-size: clamp(14px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

/* IN  GOOD  HEALTH: spread to the width of the big word above it */
.lockup__base {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 64vw);
  margin-top: clamp(12px, 2vw, 26px);
}

.lockup__base span {
  font-size: clamp(11px, 2.1vw, 26px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lockup__base span:nth-child(2) { text-align: center; }
.lockup__base span:last-child { text-align: right; }

.hero__foot {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-top: clamp(40px, 6vw, 78px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--rule);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.42s ease,
              border-color 0.42s ease,
              color 0.42s ease,
              box-shadow 0.5s var(--ease-gentle),
              transform 0.5s var(--ease-gentle);
}

.btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.9;
  transition: transform 0.5s var(--ease-gentle);
}

.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.btn--light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* --------------------------------------------------------------------------
   Photo bands
   -------------------------------------------------------------------------- */

.band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.band__media {
  width: 100%;
  height: clamp(260px, 46vh, 460px);
  object-fit: cover;
  opacity: 0.94;
  transition: opacity 0.8s ease, transform 1.2s var(--ease-gentle);
}

.band--tall .band__media { height: clamp(320px, 62vh, 620px); }

/* Credentials wall: sit the photo lower in its frame so the IGH wall logo stays visible. */
.band__media--logo { object-position: 4% 15%; }

.band__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: clamp(18px, 3vw, 34px) var(--gutter);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: #fff;
}

.band__caption p {
  max-width: var(--shell);
  margin-inline: auto;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* Small inset photo used inside text sections */
.inset-photo {
  border-radius: 2px;
  overflow: hidden;
  background: var(--paper-deep);
}
.inset-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.9s var(--ease-gentle);
}

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */

.section { padding-block: clamp(56px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 76px); }
.section--deep { background: var(--paper-deep); }

.section__head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(32px, 5vw, 60px);
}

.section__head h2 {
  font-size: clamp(28px, 4.4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.03;
  max-width: 18ch;
}

/* --------------------------------------------------------------------------
   Mission / Vision
   -------------------------------------------------------------------------- */

.statements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.statement {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(26px, 3.4vw, 46px);
  background: var(--card);
  border: 1px solid var(--rule-soft);
  transition: border-color 0.5s ease,
              box-shadow 0.55s var(--ease-gentle),
              transform 0.55s var(--ease-gentle);
}

.statement__index {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.statement__index::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.55s var(--ease-gentle);
}

.statement--mission .statement__index { color: var(--teal); }
.statement--vision .statement__index { color: var(--bordeaux); }

.statement h3 {
  font-size: clamp(21px, 2.6vw, 31px);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.12;
  max-width: 20ch;
}

.statement p {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

.statement p.emphasis {
  font-weight: 500;
  color: var(--ink);
  padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
}

/* --------------------------------------------------------------------------
   Pillars: Predictive / Preventive / Integrative
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}

.pillar {
  padding: clamp(26px, 3.2vw, 40px) clamp(18px, 2.4vw, 34px) clamp(26px, 3.2vw, 40px) 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.5s ease, transform 0.55s var(--ease-gentle);
}

.pillar + .pillar {
  padding-left: clamp(18px, 2.4vw, 34px);
  border-left: 1px solid var(--rule);
}

.pillar__num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--faint);
  transition: color 0.45s ease, transform 0.55s var(--ease-gentle);
}

.pillar h3 {
  margin: 16px 0 12px;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.pillar p {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.68;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 48px);
  padding-top: clamp(26px, 4vw, 44px);
  border-top: 1px solid var(--rule);
}

.contact-item dt {
  display: block;
  margin-bottom: 14px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal);
}

.contact-item dd,
.contact-item a {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.75;
}

.contact-item a {
  display: inline-block;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.4s ease, transform 0.5s var(--ease-gentle);
}
.contact-item a:hover { border-color: var(--ink); }

.contact-item dd { margin: 0; }

.contact-item--hours { color: var(--muted); }

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: clamp(28px, 4vw, 44px);
}

/* --------------------------------------------------------------------------
   Services: page introduction
   -------------------------------------------------------------------------- */

.services-hero {
  padding-block: clamp(56px, 9vw, 108px) clamp(48px, 7vw, 84px);
}

.services-hero__title {
  margin-top: clamp(26px, 4vw, 46px);
  font-size: clamp(48px, 10vw, 132px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: uppercase;
  max-width: 9ch;
}

.services-hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(24px, 3vw, 38px);
  border-top: 1px solid var(--rule);
}

.services-hero__note {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.65;
  text-transform: uppercase;
  color: var(--faint);
}

.services-index__head {
  display: grid;
  grid-template-columns: 68px minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: clamp(14px, 3vw, 40px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}

/* --------------------------------------------------------------------------
   Services: featured IV block (white box, black type, per Paul)
   -------------------------------------------------------------------------- */

.iv-block {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: clamp(26px, 4vw, 56px);
}

.iv-block__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}

.iv-block__head h3 {
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.038em;
}

.iv-block__num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--faint);
}

.iv-block > p {
  max-width: 62ch;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.72;
}

.iv-menu {
  margin-top: clamp(26px, 3.4vw, 42px);
  border-top: 1px solid var(--rule);
}

.iv-menu > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  cursor: pointer;
  list-style: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.iv-menu > summary::-webkit-details-marker { display: none; }

.iv-menu > summary .toggle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.42s ease, color 0.42s ease, transform 0.55s var(--ease-gentle);
}

.iv-menu > summary:hover .toggle { background: var(--ink); color: var(--card); }
.iv-menu[open] > summary .toggle { transform: rotate(45deg); }

.iv-menu__body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(26px, 4vw, 56px);
  padding-top: clamp(26px, 3.4vw, 40px);
}

.iv-menu__body h3 {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal);
}

.iv-menu__body ul {
  columns: 2;
  column-gap: clamp(20px, 3vw, 40px);
}

.iv-menu__body li {
  break-inside: avoid;
  padding: 6px 0;
  font-size: 13.5px;
  font-weight: 300;
}

.iv-menu__body li.iv-category {
  break-after: avoid-column;
  font-weight: 700;
}

.iv-menu__body li.note {
  margin-top: 8px;
  font-style: italic;
  color: var(--faint);
}

/* --------------------------------------------------------------------------
   Services: editorial index list
   -------------------------------------------------------------------------- */

.service-list { border-top: 1px solid var(--rule); }

.service-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: clamp(14px, 3vw, 40px);
  align-items: start;
  position: relative;
  isolation: isolate;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--rule-soft);
}

/* Inset highlight drawn behind the row, so hovering never reflows the text. */
.service-row::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * clamp(10px, 1.6vw, 22px));
  z-index: -1;
  background: var(--card);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.service-row:hover::before { opacity: 1; }

.service-row__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--faint);
  padding-top: 6px;
}

.service-row__title {
  margin: 0;
  font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  transition: transform 0.55s var(--ease-gentle);
}

.service-row__title .accent { color: var(--teal); }

.service-row p {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

.service-row p.service-row__lead {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.service-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.service-row__tags span {
  padding: 5px 11px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 0.45s ease, color 0.45s ease;
}

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */

.closing {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding: clamp(32px, 5vw, 62px);
  background: var(--ink);
  color: #fff;
}

.closing h2 {
  margin: 16px 0 14px;
  font-size: clamp(26px, 3.8vw, 46px);
  font-weight: 500;
  letter-spacing: -0.038em;
  max-width: 16ch;
}

.closing p {
  max-width: 46ch;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.66);
}

.closing .eyebrow { color: var(--amber); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  padding-block: clamp(38px, 5vw, 58px) 26px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(28px, 4vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__logo {
  width: clamp(150px, 17vw, 210px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: invert(1);
}

.social {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  align-content: start;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.4s ease, transform 0.5s var(--ease-gentle);
}

.social a:hover { color: #fff; }

.social a svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.7;
  flex-shrink: 0;
  color: var(--amber);
  transition: transform 0.55s var(--ease-gentle);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.site-footer__bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Gentle hover motion
   -------------------------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand__logo {
    opacity: 0.78;
    transform: scale(0.985);
  }

  .site-nav .nav-cta:hover { transform: translateY(-1px); }

  .btn:hover {
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.1);
  }

  .btn:hover svg { transform: translate(2px, -1px); }

  .band:hover .band__media {
    opacity: 1;
    transform: scale(1.018);
  }

  .inset-photo:hover img { transform: scale(1.025); }

  .statement:hover {
    border-color: var(--rule);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.055);
    transform: translateY(-4px);
  }

  .statement:hover .statement__index::before { transform: scaleX(1.35); }

  .pillar:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-3px);
  }

  .pillar:hover .pillar__num {
    color: var(--ink);
    transform: translateX(3px);
  }

  .contact-item a:hover { transform: translateX(2px); }

  .service-row:hover .service-row__title { transform: translateX(3px); }

  .service-row:hover .service-row__tags span {
    border-color: rgba(64, 117, 115, 0.42);
    color: var(--teal);
  }

  .social a:hover { transform: translateX(3px); }
  .social a:hover svg { transform: scale(1.08); }
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

/* Armed in <head>, disarmed by a timer if site.js never checks in, so a
   blocked or broken script can never leave the page blank. */
.reveal-armed .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-armed .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .hero__foot { grid-template-columns: 1fr; align-items: start; }
  .services-hero__foot { grid-template-columns: 1fr; align-items: start; }
  .statements { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar,
  .pillar + .pillar {
    padding: 26px 0;
    padding-left: 0;
    border-left: 0;
  }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .section__head { grid-template-columns: 1fr; }
  .iv-menu__body { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 46px 1fr; }
  .service-row__body { grid-column: 2; }
  .services-index__head { display: none; }
  .closing { grid-template-columns: 1fr; align-items: start; }
  .site-footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }

  .brand__logo { width: 82px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 10px; letter-spacing: 0.1em; }
  .site-nav .nav-cta { padding: 8px 13px; }

  .lockup__base { max-width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }

  .contact-grid { grid-template-columns: 1fr; }
  .iv-menu__body ul { columns: 1; }
  .service-row { grid-template-columns: 1fr; gap: 10px; }
  .service-row__num { padding-top: 0; }
  .service-row__body { grid-column: 1; }
  .social { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-armed .reveal { opacity: 1; transform: none; }
  .js:not(.intro-seen) .site-intro { display: none; }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

/* Readable by assistive tech, invisible on screen. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Open-now indicator
   -------------------------------------------------------------------------- */

.hours-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

.hours-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.hours-status[data-open="true"] { color: var(--teal); }
.hours-status[data-open="false"] { color: var(--faint); }

.site-footer .hours-status { margin-top: 0; }
.site-footer .hours-status[data-open="true"] { color: var(--amber); }
.site-footer .hours-status[data-open="false"] { color: rgba(255, 255, 255, 0.42); }

/* --------------------------------------------------------------------------
   Services: grouped index
   -------------------------------------------------------------------------- */

.service-group + .service-group { margin-top: clamp(44px, 6vw, 76px); }

/* Breathing room between the column header and the first group rule. */
.services-index__head + .service-group { margin-top: clamp(20px, 2.6vw, 30px); }

.service-group__head {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  margin-bottom: clamp(14px, 1.8vw, 20px);
}

/* Reads as a divider, not as another eyebrow: darker and a size up from the
   micro-type, but still uppercase so it never competes with a service name. */
.service-group__title {
  font-size: clamp(12px, 1.15vw, 13.5px);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink);
}

.service-group__head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* The number range, so the label ties back to the No. column below it. */
.service-group__range {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--faint);
  flex-shrink: 0;
}

/* Jump links to the four groups */
.group-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.group-nav a {
  padding: 8px 15px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 0.4s ease, color 0.4s ease, background 0.4s ease;
}

.group-nav a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   Mobile action bar: the clinic is always one tap away
   -------------------------------------------------------------------------- */

.action-bar { display: none; }

@media (max-width: 720px) {
  .action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-top: 1px solid var(--rule);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .action-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 58px;
    padding: 9px 4px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
  }

  .action-bar a + a { border-left: 1px solid var(--rule-soft); }
  .action-bar a:active { background: var(--paper-deep); }

  .action-bar svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.7;
    color: var(--teal);
  }

  /* Keep the footer clear of the bar. */
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
}
