/* =========================================================
   UNITED HEALTHCARE — Design System
   Editorial. Calm. Premium. Fully responsive.
   ========================================================= */

:root {
  /* Ink scale */
  --ink:       #0B1236;
  --ink-2:     #161e4a;
  --ink-3:     #2a3463;
  --navy:      #3F68B3;
  --navy-soft: #7a96c9;

  /* Accent */
  --rose:      #F2175D;
  --rose-soft: #fbe4ec;
  --rose-deep: #c8124a;

  /* Surfaces */
  --paper:    #FAFAF6;
  --paper-2:  #F3F0E8;
  --cream:    #ECE6D6;
  --bone:     #E8E2D3;

  /* Lines & states */
  --line:     rgba(11, 18, 54, 0.10);
  --line-2:   rgba(11, 18, 54, 0.18);
  --mute:     rgba(11, 18, 54, 0.58);
  --mute-2:   rgba(11, 18, 54, 0.40);

  /* Type */
  --serif:  "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:   "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:   "JetBrains Mono", ui-monospace, monospace;

  /* Rhythm */
  --container-max: 1340px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-sm: 14px;
  --radius:    22px;
  --radius-lg: 34px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Nav height (used so hero1 can sit just under it) */
  --nav-h: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }

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

/* ---------------------------------------------------------
   Typography
   --------------------------------------------------------- */
.display-1, .display-2, .display-3, h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.serif-italic { font-style: italic; font-weight: 300; color: var(--ink-3); }

.section-title {
  font-size: clamp(1.75rem, 2.75vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 18px 0 18px;
  max-width: min(48ch, 100%);
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--ink);
  display: inline-block;
  flex-shrink: 0;
}
.eyebrow.is-rose { color: var(--rose); }
.eyebrow.is-rose::before { background: var(--rose); }
.eyebrow.is-paper { color: var(--paper); }
.eyebrow.is-paper::before { background: var(--paper); }

.section-intro {
  max-width: 56ch;
  color: var(--mute);
  font-size: 1.06rem;
  line-height: 1.65;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn-uh {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .5s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
  white-space: nowrap;
  text-decoration: none;
}
.btn-uh i { transition: transform .5s var(--ease); }
.btn-uh:hover i { transform: translateX(4px); }

.btn-primary-uh { background: var(--ink); color: var(--paper); }
.btn-primary-uh:hover {
  background: var(--rose);
  color: var(--paper);
  box-shadow: 0 14px 40px -10px rgba(242,23,93,0.45);
}

.btn-ghost-uh { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost-uh:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn-paper-uh { background: var(--paper); color: var(--ink); }
.btn-paper-uh:hover { background: var(--rose); color: var(--paper); }

.btn-link-uh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: gap .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-link-uh:hover { gap: 14px; color: var(--rose); border-color: var(--rose); }

/* ---------------------------------------------------------
   Scroll progress bar
   --------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--ink), var(--rose));
  z-index: 9999;
  transition: width .12s linear;
}

/* ---------------------------------------------------------
   Custom cursor (desktop only)
   --------------------------------------------------------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: #fff;
  transition: transform .15s var(--ease);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.7);
  transition: width .35s var(--ease), height .35s var(--ease), transform .15s var(--ease), opacity .35s var(--ease);
}
.cursor-ring.is-hover { width: 64px; height: 64px; }
@media (hover: none), (max-width: 1024px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------------------------------------------------------
   Ambient gradients
   --------------------------------------------------------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.ambient::before, .ambient::after {
  content: "";
  position: absolute;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.32;
  animation: drift 22s ease-in-out infinite alternate;
}
.ambient::before {
  background: radial-gradient(circle, rgba(63,104,179,0.28), transparent 60%);
  top: -25%; left: -20%;
}
.ambient::after {
  background: radial-gradient(circle, rgba(242,23,93,0.14), transparent 60%);
  bottom: -30%; right: -25%;
  animation-delay: -8s;
}
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(6%,-4%) scale(1.08); }
}

/* =========================================================
   NAVBAR — robust 3-column grid, no overlap at any size
   ========================================================= */
.uh-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.uh-nav.is-scrolled {
  padding: 10px 0;
  background: rgba(250, 250, 246, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.uh-nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  min-width: 0;
}

/* Logo */
.uh-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
  min-width: 0;
}
.uh-logo .logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.uh-logo .logo-word { line-height: 1; }
.uh-logo .logo-word small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 5px;
}

/* Desktop menu */
.uh-menu {
  display: flex;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
  min-width: 0;
}
.uh-menu a {
  position: relative;
  display: inline-block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color .3s var(--ease);
  white-space: nowrap;
}
.uh-menu a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.uh-menu a:hover::after,
.uh-menu a.is-active::after { transform: scaleX(1); }

/* CTAs */
.uh-nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.uh-nav-cta .btn-uh { padding: 11px 18px; font-size: 13.5px; }

/* Burger */
.uh-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--paper);
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  padding: 0;
  flex-shrink: 0;
}
.uh-burger span {
  display: block; width: 18px; height: 1.6px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.uh-burger.is-open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.uh-burger.is-open span:nth-child(2) { opacity: 0; }
.uh-burger.is-open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* Mobile menu */
.uh-mobile {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 99;
  padding: 110px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform .55s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.uh-mobile.is-open { transform: translateY(0); }
.uh-mobile > a {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--paper);
  padding: 16px 0;
  border-bottom: 1px solid rgba(250,250,246,0.12);
  transition: color .3s var(--ease), padding-left .35s var(--ease);
}
.uh-mobile > a:hover { color: var(--rose); padding-left: 8px; }
.uh-mobile .mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
}
.uh-mobile .mobile-ctas .btn-uh { justify-content: center; padding: 16px 22px; }

/* =========================================================
   HEROES — three sequential full-width sections
   ========================================================= */
.heroes { padding-top: 0; }

.hero-1, .hero-2, .hero-3 {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* ============= HERO 1 — Premium Healthcare Experience ============= */
.hero-1 {
  padding: clamp(120px, 14vw, 170px) 0 clamp(80px, 10vw, 130px);
}
.hero-1 .uh-wrap { position: relative; }
.hero-1-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.hero-1-content { position: relative; z-index: 2; min-width: 0; }
.hero-1 h1 {
  margin: 22px 0 24px;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
}
.hero-1 h1 .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-3);
  position: relative;
}
.hero-1 h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 1px;
  background: var(--rose);
  opacity: 0.5;
}
.hero-1 .lede {
  max-width: 46ch;
  color: var(--mute);
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 36px;
}
.hero-1 .cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 48px;
}
.hero-1 .trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 36px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-1 .trust-row .trust-item { font-family: var(--sans); min-width: 0; }
.hero-1 .trust-row .trust-num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.hero-1 .trust-row .trust-num span { color: var(--rose); }
.hero-1 .trust-row .trust-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* Hero 1 — Visual stack */
.hero-1-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: visible;
  min-width: 0;
}
.hero-1-visual .photo-main {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(11,18,54,0.45);
  background: var(--cream);
}
.hero-1-visual .photo-main img {
  width: 100%; height: 100%; object-fit: cover;
}

.hero-1-visual .photo-secondary {
  position: absolute;
  width: 42%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  bottom: -36px;
  left: -36px;
  box-shadow: 0 30px 70px -20px rgba(11,18,54,0.5);
  border: 6px solid var(--paper);
  background: var(--ink);
}
.hero-1-visual .photo-secondary img { width: 100%; height: 100%; object-fit: cover; }

/* Floating appointment widget */
.float-card-appt {
  position: absolute;
  top: 6%; right: -32px;
  width: 280px;
  background: var(--paper);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 30px 60px -20px rgba(11,18,54,0.35);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  animation: floatY 6s ease-in-out infinite alternate;
}
@keyframes floatY {
  from { transform: translateY(-6px); }
  to   { transform: translateY(6px); }
}
.float-card-appt .head {
  display: flex; justify-content: space-between; align-items: center;
}
.float-card-appt .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute);
}
.float-card-appt .live-dot {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--rose); font-weight: 600;
}
.float-card-appt .live-dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(242,23,93,0.16);
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(242,23,93,0.16); }
  50%      { box-shadow: 0 0 0 8px rgba(242,23,93,0.02); }
}
.float-card-appt .doctor { display: flex; align-items: center; gap: 12px; }
.float-card-appt .doctor img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.float-card-appt .doctor .name { font-weight: 600; font-size: 14px; }
.float-card-appt .doctor .role { font-size: 12px; color: var(--mute); }
.float-card-appt .time-slots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.float-card-appt .time-slots span {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink);
}
.float-card-appt .time-slots span.is-on { background: var(--ink); color: var(--paper); }

/* Floating metric pill */
.float-pill-rating {
  position: absolute;
  bottom: 22%; right: -52px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 20px 50px -10px rgba(11,18,54,0.4);
  animation: floatY 7s 1s ease-in-out infinite alternate-reverse;
}
.float-pill-rating .num { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.float-pill-rating .meta {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,250,246,0.7);
}
.float-pill-rating .meta strong {
  display: block; color: var(--paper);
  margin-bottom: 3px; font-weight: 500; letter-spacing: 0;
  text-transform: none; font-size: 13px;
}

/* Floating blob */
.float-blob {
  position: absolute;
  width: 90px; height: 90px;
  border-radius: 50%;
  top: -28px; right: 24%;
  background: var(--rose);
  filter: blur(0.5px);
  animation: floatY 8s ease-in-out infinite alternate;
  z-index: 0;
}
.float-blob::after {
  content: "";
  position: absolute; inset: 14%;
  border-radius: 50%;
  background: var(--paper);
}

/* ============= HERO 2 — Smart Care Search ============= */
.hero-2 {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 130px);
  border-top: 1px solid var(--line);
}
.hero-2-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}
.hero-2-header .eyebrow { justify-content: center; }
.hero-2-header .eyebrow::before { display: none; }
.hero-2-header h1 {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  margin: 18px 0 22px;
}
.hero-2-header h1 .pulse-word {
  position: relative;
  font-style: italic;
  font-weight: 300;
  color: var(--ink-3);
  padding-left: 22px;
}
.hero-2-header h1 .pulse-word::before {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rose);
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 rgba(242,23,93,0.6);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242,23,93,0.5); }
  50%      { box-shadow: 0 0 0 14px rgba(242,23,93,0); }
}
.hero-2-header p { color: var(--mute); font-size: 1.08rem; max-width: 52ch; margin: 0 auto; }

/* Search panel */
.search-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 30px 80px -30px rgba(11,18,54,0.35);
  max-width: 980px;
  margin: 0 auto;
}
.search-tabs {
  display: flex; gap: 4px;
  background: var(--paper-2);
  border-radius: 18px;
  padding: 4px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.search-tabs button {
  flex: 1 1 calc(25% - 4px);
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px 14px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--mute);
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.search-tabs button.is-active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 4px 12px -4px rgba(11,18,54,0.16);
}
.search-tabs button i { font-size: 16px; }

.search-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px;
  background: var(--paper-2);
  border-radius: 18px;
}
.search-field {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: var(--paper);
  border-radius: 14px;
  min-width: 0;
}
.search-field i { color: var(--mute); font-size: 18px; flex-shrink: 0; }
.search-field input {
  border: 0; background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  width: 100%; outline: none;
  min-width: 0;
}
.search-row .btn-uh { justify-content: center; padding: 16px 22px; }

/* Specialty chips */
.spec-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-top: 32px;
}
.spec-chips .lbl {
  font-size: 12px;
  color: var(--mute);
  margin-right: 4px;
  align-self: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.spec-chips a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.spec-chips a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.spec-chips a i { color: var(--rose); font-size: 11px; }

.search-suggest {
  display: flex; align-items: center; gap: 12px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--mute);
  flex-wrap: wrap;
  justify-content: center;
}
.search-suggest .trend {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(11,18,54,0.04);
  border-radius: 100px;
  color: var(--ink);
  font-weight: 500;
}
.search-suggest .trend i { color: var(--rose); font-size: 12px; }

/* Floating preview cards */
.h2-floaters {
  position: relative;
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.h2-float-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  min-width: 0;
}
.h2-float-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -20px rgba(11,18,54,0.25); }
.h2-float-card .top {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.08em; text-transform: uppercase;
  gap: 8px;
  flex-wrap: wrap;
}
.h2-float-card .top .badge-uh {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-weight: 600;
}
.h2-float-card .head {
  display: flex; align-items: center; gap: 14px;
}
.h2-float-card .head img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--paper);
  box-shadow: 0 6px 18px -4px rgba(11,18,54,0.2);
  flex-shrink: 0;
}
.h2-float-card .head .name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.h2-float-card .head .role { font-size: 12px; color: var(--mute); }
.h2-float-card .meta {
  display: flex; gap: 16px; align-items: center;
  font-size: 12px; color: var(--ink); font-weight: 500;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.h2-float-card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.h2-float-card .meta i { color: var(--rose); font-size: 13px; }
.h2-float-card .next-slot { font-size: 12px; color: var(--mute); }
.h2-float-card .next-slot strong { color: var(--ink); }

/* ============= HERO 3 — Cinematic Human-First ============= */
.hero-3 {
  padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 130px);
  background: var(--paper);
}
.hero-3 .uh-wrap { padding-inline: var(--gutter); }
.hero-3-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  min-height: clamp(520px, 70vh, 720px);
  display: flex; align-items: end;
  isolation: isolate;
}
.hero-3-stage .stage-bg { position: absolute; inset: 0; z-index: 0; }
.hero-3-stage .stage-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.82;
  filter: saturate(0.92);
}
.hero-3-stage .stage-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,18,54,0.2) 0%, rgba(11,18,54,0.0) 30%, rgba(11,18,54,0.86) 100%),
    linear-gradient(95deg, rgba(11,18,54,0.55) 0%, transparent 60%);
}
.hero-3-stage .stage-grain {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

.hero-3-content {
  position: relative;
  z-index: 3;
  padding: clamp(28px, 5vw, 72px);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: end;
  width: 100%;
}
.hero-3-content > div { min-width: 0; }
.hero-3-content h1 {
  color: var(--paper);
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  margin: 16px 0 22px;
}
.hero-3-content h1 .em {
  font-style: italic;
  font-weight: 300;
  color: var(--paper);
  opacity: 0.85;
}
.hero-3-content .lede {
  max-width: 50ch;
  color: rgba(250,250,246,0.78);
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.65;
}
.hero-3-content .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-3-side {
  display: flex; flex-direction: column; gap: 12px;
}
.h3-support {
  background: rgba(250,250,246,0.08);
  border: 1px solid rgba(250,250,246,0.16);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 16px;
  display: grid; grid-template-columns: 48px 1fr auto;
  gap: 14px; align-items: center;
  transition: background .35s var(--ease), transform .5s var(--ease);
}
.h3-support:hover { background: rgba(250,250,246,0.16); transform: translateX(-4px); }
.h3-support .icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(250,250,246,0.12);
  color: var(--paper);
  font-size: 22px;
}
.h3-support.is-emergency .icon { background: var(--rose); }
.h3-support .body { min-width: 0; }
.h3-support .body strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.h3-support .body small { color: rgba(250,250,246,0.7); font-size: 12px; }
.h3-support .arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(250,250,246,0.3);
  display: grid; place-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  flex-shrink: 0;
}
.h3-support:hover .arrow { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.h3-ticker {
  position: absolute;
  top: 32px; left: clamp(28px, 5vw, 72px);
  right: clamp(28px, 5vw, 72px);
  z-index: 3;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(250,250,246,0.7);
}
.h3-ticker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(242,23,93,0.2);
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}

/* =========================================================
   SECTION TEMPLATE
   ========================================================= */
section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: 56px;
  align-items: end;
}
.section-head .head-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   SECTION 1 — Quick Access Panel
   ========================================================= */
.quick-access {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  margin: clamp(40px, 6vw, 80px) var(--gutter) 0;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.quick-access h2 { color: var(--paper); font-size: clamp(1.6rem, 3vw, 2.5rem); }
.quick-access .qa-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: 48px;
  align-items: end;
}
.quick-access .qa-head .sub {
  color: rgba(250,250,246,0.7);
  font-size: 1rem;
  max-width: 44ch;
}
.qa-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.qa-card {
  position: relative;
  background: rgba(250,250,246,0.04);
  border: 1px solid rgba(250,250,246,0.1);
  border-radius: 18px;
  padding: 28px 22px;
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: pointer;
  transition: background .45s var(--ease), transform .55s var(--ease), border-color .45s var(--ease);
  overflow: hidden;
  min-width: 0;
}
.qa-card::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 18px;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(242,23,93,0.18), transparent 50%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.qa-card:hover {
  background: rgba(250,250,246,0.08);
  border-color: rgba(250,250,246,0.2);
  transform: translateY(-4px);
}
.qa-card:hover::after { opacity: 1; }
.qa-card .qa-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(250,250,246,0.08);
  color: var(--paper);
  font-size: 20px;
  margin-bottom: 28px;
  transition: background .35s var(--ease), color .35s var(--ease), transform .5s var(--ease);
}
.qa-card:hover .qa-icon { background: var(--rose); transform: rotate(-8deg) scale(1.08); }
.qa-card.is-feature .qa-icon { background: var(--rose); }
.qa-card .qa-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  position: relative; z-index: 1;
}
.qa-card .qa-sub {
  font-size: 12.5px;
  color: rgba(250,250,246,0.65);
  position: relative; z-index: 1;
}
.qa-card .qa-arrow {
  position: absolute; top: 22px; right: 22px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(250,250,246,0.2);
  display: grid; place-items: center;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.qa-card:hover .qa-arrow {
  transform: rotate(-45deg);
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* =========================================================
   SECTION 2 — Trust Metrics
   ========================================================= */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.metric {
  padding: 56px clamp(20px, 2.5vw, 32px) 48px;
  border-right: 1px solid var(--line);
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.metric:last-child { border-right: 0; }
.metric .m-num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  display: inline-flex; align-items: baseline; justify-content: center; gap: 4px;
}
.metric .m-num .suffix {
  font-size: 0.4em;
  color: var(--rose);
  font-style: italic;
  font-weight: 300;
}
.metric .m-lbl {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  color: var(--mute);
  max-width: 28ch;
  line-height: 1.5;
}
.metric .m-lbl strong { color: var(--ink); display: block; margin-bottom: 4px; font-weight: 600; }

/* =========================================================
   SECTION 3 — Specialties (rebuilt: clean editorial grid)
   ========================================================= */
.specialties { background: var(--paper-2); }
.specialties .section-head > div:first-child { min-width: 0; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  grid-auto-rows: 1fr;
}
.spec-item {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.spec-item:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -20px rgba(11,18,54,0.18); }

/* Featured card spans 2 cols x 2 rows */
.spec-item.is-feature {
  grid-column: span 2;
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(11,18,54,0.2) 0%, rgba(11,18,54,0.92) 100%),
    url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1400&q=80") center/cover;
  color: var(--paper);
  border-color: transparent;
  padding: 36px;
  min-height: 420px;
}

/* Rose accent card */
.spec-item.is-rose {
  background: var(--rose);
  color: var(--paper);
  border-color: transparent;
}

.spec-item .s-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.spec-item .s-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.1em;
}
.spec-item .s-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--paper-2);
  display: grid; place-items: center;
  color: var(--ink);
  font-size: 24px;
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
  flex-shrink: 0;
}
.spec-item:hover .s-icon { background: var(--ink); color: var(--paper); transform: rotate(-6deg); }

.spec-item .s-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 0;
}
.spec-item .s-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.spec-item .s-desc {
  color: var(--mute);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}
.spec-item.is-feature .s-title {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: var(--paper);
}
.spec-item.is-feature .s-desc { color: rgba(250,250,246,0.82); max-width: 38ch; }
.spec-item.is-feature .s-num { color: rgba(250,250,246,0.6); }
.spec-item.is-feature .s-icon { background: rgba(250,250,246,0.16); color: var(--paper); }

.spec-item .s-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--mute);
  gap: 12px;
}
.spec-item .s-foot strong { color: var(--ink); font-weight: 600; }
.spec-item.is-feature .s-foot {
  border-color: rgba(250,250,246,0.18);
  color: rgba(250,250,246,0.7);
}
.spec-item.is-feature .s-foot strong { color: var(--paper); }

.spec-item .s-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid; place-items: center;
  transition: background .35s var(--ease), transform .5s var(--ease);
  flex-shrink: 0;
}
.spec-item:hover .s-arrow { background: var(--rose); transform: rotate(-45deg); }

.spec-item.is-rose .s-num { color: rgba(250,250,246,0.7); }
.spec-item.is-rose .s-title { color: var(--paper); }
.spec-item.is-rose .s-desc { color: rgba(250,250,246,0.85); }
.spec-item.is-rose .s-foot { color: rgba(250,250,246,0.8); border-color: rgba(250,250,246,0.24); }
.spec-item.is-rose .s-foot strong { color: var(--paper); }
.spec-item.is-rose .s-icon { background: rgba(250,250,246,0.18); color: var(--paper); }
.spec-item.is-rose:hover .s-icon { background: var(--paper); color: var(--rose); }
.spec-item.is-rose .s-arrow { background: var(--paper); color: var(--rose); }
.spec-item.is-rose:hover .s-arrow { background: var(--ink); color: var(--paper); }

/* =========================================================
   SECTION 4 — Why Choose United HealthCare
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.why-visual {
  position: sticky;
  top: 120px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  min-width: 0;
}
.why-visual img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.9;
}
.why-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,18,54,0.7) 100%);
}
.why-visual .signature {
  position: absolute;
  bottom: 28px; left: 28px; right: 28px;
  color: var(--paper);
  z-index: 2;
}
.why-visual .signature .sig-name {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.2; margin-bottom: 4px;
}
.why-visual .signature .sig-role { font-size: 12px; opacity: 0.7; letter-spacing: 0.06em; text-transform: uppercase; }

.why-list {
  list-style: none;
  margin: 0; padding: 0;
}
.why-list li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  cursor: pointer;
  transition: padding-left .35s var(--ease);
}
.why-list li:hover { padding-left: 8px; }
.why-list li:first-child { padding-top: 0; }
.why-list .w-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.1em;
  padding-top: 8px;
}
.why-list .w-title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.why-list .w-desc { color: var(--mute); max-width: 50ch; font-size: 14.5px; }
.why-list .w-plus {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-size: 18px;
  color: var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease), transform .45s var(--ease);
  flex-shrink: 0;
}
.why-list li:hover .w-plus { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(90deg); }

/* =========================================================
   SECTION 5 — Providers
   ========================================================= */
.providers { background: var(--paper-2); }
.prov-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.prov-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.prov-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px -20px rgba(11,18,54,0.2); }
.prov-photo {
  position: relative;
  aspect-ratio: 1/1.05;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 18px;
}
.prov-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.prov-card:hover .prov-photo img { transform: scale(1.05); }
.prov-photo .availability {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--paper);
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}
.prov-photo .availability::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #2bb673;
}
.prov-photo .availability.is-soon::before { background: #f5a623; }
.prov-photo .rating {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--paper);
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
}
.prov-photo .rating i { color: var(--rose); font-size: 11px; }

.prov-info { padding: 4px 6px 6px; display: flex; flex-direction: column; flex: 1; }
.prov-info .p-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
}
.prov-info .p-spec {
  font-size: 13px;
  color: var(--rose);
  font-weight: 500;
  margin-bottom: 12px;
}
.prov-info .p-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--mute);
  gap: 8px;
  flex-wrap: wrap;
}
.prov-info .p-meta strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }
.prov-info .p-meta small { display: block; font-size: 11px; }
.prov-info .p-cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600; color: var(--ink); font-size: 13px;
}
.prov-info .p-cta i { font-size: 14px; transition: transform .35s var(--ease); }
.prov-card:hover .p-cta i { transform: translateX(4px); color: var(--rose); }

/* =========================================================
   SECTION 6 — Patient Journey
   ========================================================= */
.journey { background: var(--ink); color: var(--paper); overflow: hidden; }
.journey h2 { color: var(--paper); }
.journey .section-intro { color: rgba(250,250,246,0.7); }
.journey .eyebrow { color: var(--paper); }
.journey .eyebrow::before { background: var(--paper); }

.journey-track {
  position: relative;
  margin-top: 56px;
}
.journey-line {
  position: absolute;
  top: 36px;
  left: 4%; right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250,250,246,0.3), transparent);
  z-index: 0;
}
.journey-line::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--rose), var(--paper));
  width: 0;
  transition: width 2s var(--ease-out);
}
.journey-track.is-active .journey-line::before { width: 100%; }

.journey-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}
.journey-step {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  min-width: 0;
}
.j-dot {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(250,250,246,0.08);
  border: 1px solid rgba(250,250,246,0.2);
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 22px;
  position: relative;
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.j-dot .pip {
  position: absolute;
  bottom: -6px;
  font-family: var(--mono);
  font-size: 10px;
  background: var(--paper);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 100px;
}
.journey-step:hover .j-dot { background: var(--rose); border-color: var(--rose); transform: translateY(-4px); }
.journey-step .j-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.journey-step .j-desc {
  font-size: 13px;
  color: rgba(250,250,246,0.65);
  max-width: 22ch;
  line-height: 1.55;
}

/* =========================================================
   SECTION 7 — Locations
   ========================================================= */
.locations { background: var(--paper-2); }
.loc-search {
  background: var(--paper);
  border-radius: 100px;
  padding: 6px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px;
  max-width: 580px;
  margin-bottom: 56px;
  border: 1px solid var(--line);
}
.loc-search input {
  border: 0; background: transparent; outline: none;
  padding: 12px 20px;
  font-family: var(--sans); font-size: 14px;
  color: var(--ink);
  min-width: 0;
}
.loc-search .filter-pill {
  background: var(--paper-2);
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.loc-search .filter-pill i { font-size: 14px; }
.loc-search .btn-uh { padding: 10px 20px; }

.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.loc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  min-width: 0;
}
.loc-card:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -20px rgba(11,18,54,0.18); }
.loc-card .l-head {
  display: flex; justify-content: space-between; align-items: start;
  gap: 12px;
}
.loc-card .l-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
}
.loc-card .l-city { font-size: 11.5px; color: var(--mute); letter-spacing: 0.06em; text-transform: uppercase; }
.loc-card .l-dist {
  background: var(--ink);
  color: var(--paper);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.loc-map {
  height: 120px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 40%, var(--rose-soft) 0%, transparent 30%),
    repeating-linear-gradient(45deg, var(--paper-2) 0 10px, var(--paper) 10px 20px);
  position: relative;
  overflow: hidden;
}
.loc-map::after {
  content: "\f3c5";
  font-family: bootstrap-icons !important;
  position: absolute;
  top: 35%; left: 40%;
  color: var(--rose);
  font-size: 30px;
  filter: drop-shadow(0 6px 12px rgba(242,23,93,0.4));
}
.loc-card .l-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--mute);
}
.loc-card .l-foot strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.loc-card .l-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--ink); font-size: 13px;
}

/* =========================================================
   SECTION 8 — Testimonials
   ========================================================= */
.testimonials { padding-top: clamp(72px, 9vw, 130px); }
.testi-stage {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.testi-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  min-width: 0;
}
.testi-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease); }
.testi-photo .quote-mark {
  position: absolute;
  top: 24px; right: 24px;
  width: 56px; height: 56px;
  background: var(--rose);
  color: var(--paper);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-style: italic;
  line-height: 1;
  padding-bottom: 6px;
}
.testi-content { min-width: 0; }
.testi-content blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2.3rem);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.testi-content blockquote em { color: var(--rose); font-style: italic; font-weight: 300; }
.testi-meta {
  display: flex; align-items: center; gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.testi-meta .name { font-family: var(--serif); font-size: 1.2rem; letter-spacing: -0.01em; }
.testi-meta .role { font-size: 13px; color: var(--mute); }
.testi-nav {
  display: flex; gap: 8px; align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.testi-nav button {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.testi-nav button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.testi-count {
  display: inline-flex; align-items: center; padding-left: 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mute);
}

/* =========================================================
   SECTION 9 — Partners (logo strip)
   ========================================================= */
.partners {
  padding: clamp(60px, 8vw, 90px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap; gap: 18px;
}
.partners-head h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0;
}
.logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}
.logo-cell {
  display: grid; place-items: center;
  padding: 24px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity .35s var(--ease), filter .35s var(--ease), transform .5s var(--ease);
  text-align: center;
  line-height: 1.1;
}
.logo-cell small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  color: var(--mute);
  margin-top: 4px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.logo-cell:hover { opacity: 1; filter: grayscale(0); transform: translateY(-3px); }

/* =========================================================
   SECTION 10 — Blog/Insights
   ========================================================= */
.insights .section-head {
  align-items: start;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.insights .section-head .head-actions {
  justify-content: flex-start;
  padding-top: 6px;
}
@media (min-width: 1025px) {
  .insights .section-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
  .insights .section-head .head-actions {
    justify-content: flex-end;
    padding-top: 0;
  }
}

/* Grid: default = single column; tablet 2-col; desktop = featured strip + pair */
.insights .ins-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}
.insights .ins-grid > .ins-card:nth-child(1),
.insights .ins-grid > .ins-card:nth-child(2),
.insights .ins-grid > .ins-card:nth-child(3) {
  grid-column: auto;
  grid-row: auto;
}

@media (min-width: 1025px) {
  .insights .ins-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }
  .insights .ins-grid > .ins-card:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .insights .ins-grid > .ins-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .insights .ins-grid > .ins-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }
  .insights .ins-card.is-feature {
    display: grid;
    grid-template-columns: minmax(220px, 40%) minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    min-height: 0;
  }
  .insights .ins-card.is-feature .ins-photo {
    aspect-ratio: unset;
    min-height: 240px;
    height: 100%;
    align-self: stretch;
  }
  .insights .ins-card.is-feature .ins-body {
    padding: clamp(20px, 2.5vw, 32px) clamp(22px, 3vw, 40px);
    gap: 10px;
    flex: 1;
    min-height: 0;
    justify-content: center;
    border-left: 1px solid var(--line);
  }
  .insights .ins-card.is-feature .ins-meta {
    margin-top: auto;
    padding-top: 14px;
  }
}

.ins-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  min-width: 0;
}
.ins-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -20px rgba(11,18,54,0.18); }
.ins-card .ins-photo {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cream);
}
.ins-card .ins-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ins-card:hover .ins-photo img { transform: scale(1.05); }
.ins-body {
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.ins-card.is-feature .ins-body {
  padding: 18px 20px 20px;
  gap: 8px;
}
.ins-card:not(.is-feature) .ins-body {
  flex: 0 1 auto;
}
.ins-excerpt {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 50ch;
}
.ins-card.is-feature .ins-excerpt {
  font-size: 14px;
  max-width: 48ch;
}
.ins-cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
}
.ins-title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}
.ins-card.is-feature .ins-title {
  font-size: clamp(1.15rem, 1.65vw, 1.42rem);
  line-height: 1.22;
}
.ins-card .ins-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--mute);
}
.ins-card:not(.is-feature) .ins-meta {
  margin-top: 0;
}
.ins-card.is-feature .ins-meta {
  padding-top: 12px;
  margin-top: 0;
}
.ins-card .ins-meta i { font-size: 12px; }

/* =========================================================
   SECTION 11 — Final CTA
   ========================================================= */
.final-cta {
  margin: 0 var(--gutter) clamp(48px, 6vw, 80px);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 72px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: "";
  position: absolute;
  width: 70vmax; height: 70vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,23,93,0.35), transparent 60%);
  top: -40%; left: 50%;
  transform: translateX(-50%);
  filter: blur(60px);
  pointer-events: none;
  animation: drift 20s ease-in-out infinite alternate;
}
.final-cta::after {
  content: "";
  position: absolute;
  width: 40vmax; height: 40vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,104,179,0.4), transparent 60%);
  bottom: -25%; right: -10%;
  filter: blur(60px);
  pointer-events: none;
}

.final-cta .content { position: relative; z-index: 2; }
.final-cta .eyebrow {
  color: var(--paper);
  justify-content: center;
}
.final-cta .eyebrow::before { background: var(--paper); }
.final-cta h2 {
  color: var(--paper);
  font-size: clamp(2.1rem, 5.5vw, 4.8rem);
  max-width: 18ch;
  margin: 22px auto 26px;
}
.final-cta h2 em { font-style: italic; color: rgba(250,250,246,0.7); font-weight: 300; }
.final-cta .sub {
  color: rgba(250,250,246,0.78);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0 auto 40px;
}
.final-cta .cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
.final-cta .emergency {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(250,250,246,0.18);
  display: inline-flex;
  align-items: center; gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.final-cta .emergency .ic {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--rose);
  display: grid; place-items: center;
  color: var(--paper);
  font-size: 18px;
  animation: pulse-soft 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242,23,93,0.5); }
  50%      { box-shadow: 0 0 0 12px rgba(242,23,93,0); }
}
.final-cta .emergency .txt { text-align: left; }
.final-cta .emergency .txt small {
  display: block; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(250,250,246,0.7);
}
.final-cta .emergency .txt strong {
  display: block;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em;
}

.final-cta .float-shape {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--paper);
  border-radius: 50%;
  opacity: 0.7;
  z-index: 1;
}
.final-cta .float-shape.s1 { top: 18%; left: 10%; animation: floatY 6s infinite alternate; }
.final-cta .float-shape.s2 { top: 60%; left: 8%; width: 8px; height: 8px; opacity: 0.4; animation: floatY 9s infinite alternate-reverse; }
.final-cta .float-shape.s3 { top: 25%; right: 12%; width: 10px; height: 10px; opacity: 0.5; animation: floatY 7s infinite alternate; }
.final-cta .float-shape.s4 { top: 70%; right: 8%; width: 18px; height: 18px; opacity: 0.3; background: var(--rose); animation: floatY 8s infinite alternate-reverse; }

/* =========================================================
   FOOTER
   ========================================================= */
.uh-footer {
  background: #06091e;
  color: rgba(250,250,246,0.75);
  padding: clamp(60px, 8vw, 80px) 0 30px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 40px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250,250,246,0.08);
}
.uh-footer .uh-logo { color: var(--paper); margin-bottom: 22px; }
.uh-footer .uh-logo small { color: rgba(250,250,246,0.6); }
.foot-tagline {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
  color: var(--paper);
  max-width: 26ch;
  margin-bottom: 26px;
}
.foot-emergency {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  background: rgba(242,23,93,0.08);
  border: 1px solid rgba(242,23,93,0.2);
  border-radius: 16px;
  max-width: 320px;
}
.foot-emergency .ic {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--rose);
  display: grid; place-items: center;
  color: var(--paper);
  font-size: 16px;
  flex-shrink: 0;
}
.foot-emergency small {
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(250,250,246,0.6);
}
.foot-emergency strong {
  display: block; font-family: var(--serif);
  font-size: 1.25rem; color: var(--paper); letter-spacing: -0.01em;
}

.foot-col h5 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 22px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 12px; }
.foot-col a {
  font-size: 14px;
  color: rgba(250,250,246,0.65);
  transition: color .3s var(--ease), padding-left .3s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.foot-col a:hover { color: var(--paper); padding-left: 4px; }

.foot-newsletter form {
  display: flex; align-items: center; gap: 0;
  border: 1px solid rgba(250,250,246,0.18);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 18px;
}
.foot-newsletter input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  padding: 10px 16px;
  font-family: var(--sans); font-size: 13px;
  color: var(--paper);
  min-width: 0;
}
.foot-newsletter input::placeholder { color: rgba(250,250,246,0.4); }
.foot-newsletter button {
  border: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 100px;
  font-family: var(--sans); font-weight: 600; font-size: 12.5px;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.foot-newsletter button:hover { background: var(--rose); color: var(--paper); }

.foot-social {
  display: flex; gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.foot-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(250,250,246,0.18);
  display: grid; place-items: center;
  color: rgba(250,250,246,0.75);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.foot-social a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-size: 12.5px;
  color: rgba(250,250,246,0.5);
  flex-wrap: wrap; gap: 16px;
}
.foot-bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-bottom .links a:hover { color: var(--paper); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .06s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .18s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .3s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .36s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .42s; }

/* =========================================================
   CAREERS PAGE
   ========================================================= */

/* Hero */
.career-hero {
  position: relative;
  padding: clamp(140px, 18vw, 200px) 0 clamp(80px, 10vw, 130px);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  overflow: hidden;
}
.career-hero::before {
  content: "";
  position: absolute;
  width: 50vmax; height: 50vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,23,93,0.12), transparent 60%);
  top: -25%; right: -15%;
  filter: blur(80px);
  pointer-events: none;
}
.career-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.career-hero-content { min-width: 0; }
.career-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  margin: 22px 0 24px;
}
.career-hero h1 .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--rose);
}
.career-hero .lede {
  max-width: 50ch;
  color: var(--mute);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 36px;
}
.career-hero .career-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  margin-top: 36px;
}
.career-hero .career-stats .cs {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.career-hero .career-stats .cs span { color: var(--rose); }
.career-hero .career-stats .lbl {
  display: block; margin-top: 8px;
  font-size: 12px; color: var(--mute);
  line-height: 1.4;
}

.career-hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(11,18,54,0.45);
  background: var(--cream);
}
.career-hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s var(--ease);
}
.career-hero-visual:hover img { transform: scale(1.06); }

.career-hero-badge {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: var(--paper);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 20px 50px -10px rgba(11,18,54,0.3);
}
.career-hero-badge .ic {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--rose);
  color: var(--paper);
  display: grid; place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.career-hero-badge .txt strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.career-hero-badge .txt small {
  display: block;
  font-size: 12px;
  color: var(--mute);
}

/* Benefits */
.benefits { background: var(--paper); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.benefit-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .35s var(--ease);
  min-width: 0;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -20px rgba(11,18,54,0.18);
  background: var(--paper);
}
.benefit-card .b-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--paper);
  display: grid; place-items: center;
  color: var(--rose);
  font-size: 24px;
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
}
.benefit-card:hover .b-icon {
  background: var(--ink); color: var(--paper); transform: rotate(-6deg);
}
.benefit-card .b-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 8px 0 0;
}
.benefit-card .b-desc {
  color: var(--mute);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* Roles */
.roles { background: var(--paper-2); }
.role-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.role-filter {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.role-filter:hover,
.role-filter.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.role-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.role-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto auto;
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  text-decoration: none;
  color: inherit;
}
.role-card:hover {
  transform: translateX(6px);
  border-color: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(11,18,54,0.18);
}
.role-card .r-main { min-width: 0; }
.role-card .r-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--rose);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.role-card .r-title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.role-card .r-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--mute);
  min-width: 0;
}
.role-card .r-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.role-card .r-meta i {
  color: var(--rose);
  font-size: 13px;
}
.role-card .r-type {
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--paper-2);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.role-card .r-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid; place-items: center;
  transition: background .35s var(--ease), transform .5s var(--ease);
  flex-shrink: 0;
}
.role-card:hover .r-arrow {
  background: var(--rose);
  transform: rotate(-45deg);
}

.roles-foot {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* Hiring process */
.process {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.process h2 { color: var(--paper); }
.process .section-intro { color: rgba(250,250,246,0.7); }
.process .eyebrow { color: var(--paper); }
.process .eyebrow::before { background: var(--paper); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}
.process-step {
  background: rgba(250,250,246,0.04);
  border: 1px solid rgba(250,250,246,0.12);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
  min-width: 0;
}
.process-step:hover {
  background: rgba(250,250,246,0.08);
  border-color: rgba(250,250,246,0.24);
  transform: translateY(-6px);
}
.process-step .ps-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--rose);
  line-height: 1;
}
.process-step .ps-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--paper);
}
.process-step .ps-desc {
  color: rgba(250,250,246,0.7);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}
.process-step .ps-time {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(250,250,246,0.12);
  font-size: 12px;
  color: rgba(250,250,246,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Culture */
.culture { background: var(--paper); }
.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.culture-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  min-width: 0;
}
.culture-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--cream);
}
.culture-visual .cv-1 {
  grid-row: 1 / 3;
  aspect-ratio: 3 / 5;
}
.culture-visual .cv-2 {
  aspect-ratio: 4 / 3;
}
.culture-visual .cv-3 {
  aspect-ratio: 4 / 3;
}
.culture-content { min-width: 0; }
.culture-content h2 { margin-bottom: 22px; }
.culture-content .lede {
  color: var(--mute);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 50ch;
}
.culture-values {
  list-style: none;
  margin: 0;
  padding: 0;
}
.culture-values li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.culture-values li:last-child { border-bottom: 0; }
.culture-values .cv-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--rose);
  display: grid; place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.culture-values strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}
.culture-values p {
  font-size: 14px;
  color: var(--mute);
  margin: 0;
  line-height: 1.55;
}

/* =========================================================
   RESPONSIVE — cleaned and ordered, no overlaps
   ========================================================= */

/* Large tablets / narrow laptops */
@media (max-width: 1200px) {
  .uh-menu { gap: 2px; }
  .uh-menu a { padding: 10px 10px; font-size: 13.5px; }

  /* Specialties: feature is 2x2, fill 4-col grid */
  .spec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .spec-item.is-feature { grid-column: span 2; grid-row: span 2; }
}

/* Standard tablet (landscape) — collapse menu to burger */
@media (max-width: 1024px) {
  .uh-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }
  .uh-menu { display: none; }
  .uh-burger { display: inline-flex; }
  .uh-nav-cta .desktop-only { display: none; }
  .uh-nav-cta .btn-primary-uh {
    display: none;
  }

  /* Hero 1 — stack content + image; keep floats inside frame (no overlap with copy) */
  .hero-1-grid {
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 48px);
    align-items: start;
  }
  .hero-1 .trust-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 22px;
  }
  .hero-1-visual {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: clamp(40px, 7vw, 72px);
    overflow: hidden;
    aspect-ratio: 3 / 4;
  }
  .hero-1-visual .float-blob,
  .hero-1-visual .photo-secondary {
    display: none;
  }
  .float-card-appt {
    position: absolute;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
    max-width: none;
    transform: none;
    animation: none;
  }
  .float-pill-rating {
    position: absolute;
    left: auto;
    right: 12px;
    top: 12px;
    bottom: auto;
    transform: none;
    animation: none;
  }

  /* Sections */
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head .head-actions { justify-content: flex-start; }

  /* QA */
  .quick-access .qa-head { grid-template-columns: 1fr; gap: 20px; }
  .qa-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* Metrics */
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric { padding: 40px clamp(18px, 2.5vw, 28px) 36px; border-bottom: 1px solid var(--line); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(3), .metric:nth-child(4) { padding-bottom: 0; border-bottom: 0; }

  /* Specialties: 3 col */
  .spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
  .spec-item.is-feature { grid-column: span 3; grid-row: span 1; min-height: 360px; }
  .spec-item { min-height: 250px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-visual { position: relative; top: auto; max-width: 520px; aspect-ratio: 5/4; }

  /* Providers */
  .prov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Journey horizontal scroll */
  .journey-steps {
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
  }
  .journey-step { scroll-snap-align: start; }
  .journey-line { display: none; }

  /* Locations */
  .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Testimonials */
  .testi-stage { grid-template-columns: 1fr; }
  .testi-photo { max-width: 420px; }

  /* Logos */
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* Insights — stacked feature + two-up row (not a 2-row-tall hero tile) */
  .insights .ins-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .insights .ins-grid > .ins-card:nth-child(1),
  .insights .ins-grid > .ins-card:nth-child(2),
  .insights .ins-grid > .ins-card:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }
  .insights .ins-card.is-feature {
    display: flex;
    flex-direction: column;
    grid-column: span 2;
  }
  .insights .ins-card.is-feature .ins-body {
    flex: 0 1 auto;
  }
  .insights .ins-card.is-feature .ins-meta {
    margin-top: 0;
  }
  .insights .ins-card.is-feature .ins-photo {
    aspect-ratio: 16 / 9;
  }
  .insights .ins-card.is-feature .ins-body {
    border-left: 0;
  }

  /* Footer */
  .foot-top { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Hero 3 */
  .hero-3-content { grid-template-columns: 1fr; gap: 36px; }

  /* Hero 2 floaters */
  .h2-floaters { grid-template-columns: 1fr; }

  /* Careers */
  .career-hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .career-hero-visual { max-width: 520px; margin: 0 auto; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .culture-grid { grid-template-columns: 1fr; gap: 48px; }
  .culture-visual { max-width: 560px; }
  .role-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    row-gap: 14px;
  }
  .role-card .r-main { grid-column: 1 / 2; }
  .role-card .r-meta { grid-column: 1 / 3; grid-row: 2; }
  .role-card .r-type { grid-column: 2; grid-row: 1; }
  .role-card .r-arrow { grid-column: 2; grid-row: 2; justify-self: end; }
}

/* Small tablet / large phone */
@media (max-width: 768px) {
  .uh-nav { padding: 14px 0; }
  .uh-nav.is-scrolled { padding: 10px 0; }
  .uh-logo { font-size: 1.05rem; gap: 10px; }
  .uh-logo .logo-mark { width: 34px; height: 34px; }
  .uh-logo .logo-mark svg { width: 34px; height: 34px; }
  .uh-logo .logo-word small { display: none; }
  .uh-nav-cta { gap: 8px; }
  .uh-nav-cta .btn-uh { padding: 10px 16px; font-size: 13px; }
  .uh-nav-cta .secondary { display: none; }

  .hero-1 { padding-top: clamp(108px, 16vw, 140px); }
  .hero-1 h1 br { display: none; }

  /* Hero 2 */
  .search-row { grid-template-columns: 1fr; }
  .search-tabs button {
    flex: 1 1 calc(50% - 4px);
    font-size: 12.5px;
    padding: 11px 10px;
  }

  /* Spec — 2 columns */
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-item.is-feature { grid-column: span 2; min-height: 320px; }
  .spec-item { padding: 24px; min-height: 240px; }

  /* QA — 2 columns */
  .qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Locations */
  .loc-grid { grid-template-columns: 1fr; }
  .loc-search { grid-template-columns: 1fr; max-width: none; border-radius: 22px; }
  .loc-search input { padding: 14px 18px; }

  /* Testimonials */
  .testi-photo { aspect-ratio: 1/1; max-width: none; }

  /* Career */
  .career-hero { padding-top: clamp(130px, 18vw, 160px); }
  .benefits-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}

/* Phones */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .uh-nav-inner { gap: 10px; }

  /* Insights */
  .insights .ins-grid {
    grid-template-columns: 1fr;
  }
  .ins-card.is-feature { grid-column: span 1; }

  /* Logos */
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Footer */
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }

  /* Final CTA */
  .final-cta .cta-row { flex-direction: column; align-items: stretch; }
  .final-cta .cta-row .btn-uh { width: 100%; justify-content: center; }
  .final-cta .emergency { flex-direction: column; gap: 12px; text-align: center; }
  .final-cta .emergency .txt { text-align: center; }

  /* QA + metrics */
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: 0; padding: 36px clamp(16px, 5vw, 28px); border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }

  /* Spec single col */
  .spec-grid { grid-template-columns: 1fr; }
  .spec-item.is-feature { grid-column: span 1; }

  /* Hero 1 button row */
  .hero-1 .cta-row { flex-direction: column; align-items: stretch; }
  .hero-1 .cta-row .btn-uh { justify-content: center; }
  .hero-3-content .cta-row { flex-direction: column; align-items: stretch; }
  .hero-3-content .cta-row .btn-uh { justify-content: center; }

  /* Career stats */
  .career-hero .career-stats { grid-template-columns: 1fr 1fr; }

  /* Culture visual */
  .culture-visual { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .culture-visual .cv-1 { grid-row: auto; aspect-ratio: 5 / 4; }

  /* Role filters wrap nicely */
  .role-filters { gap: 6px; }
  .role-filter { padding: 7px 13px; font-size: 12.5px; }

  /* Search field full width */
  .search-suggest { justify-content: flex-start; }
  .spec-chips { justify-content: flex-start; }

  /* Foot links smaller */
  .foot-bottom .links { flex-wrap: wrap; gap: 10px 18px; }

  /* Hero 1 trust row */
  .hero-1 .trust-row { grid-template-columns: 1fr; gap: 18px; }
  .hero-1 .trust-row .trust-item {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }
  .hero-1 .trust-row .trust-item:last-child { border-bottom: 0; padding-bottom: 0; }

  /* Career hero badge stack */
  .career-hero-badge {
    left: 16px; right: 16px; bottom: 16px;
    padding: 14px 16px;
  }

  /* Mobile menu */
  .uh-mobile {
    padding: 96px var(--gutter) 32px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* =========================================================
   CAREERS PAGE V2 — additions for premium career experience
   ========================================================= */

/* ---------------------------------------------------------
   Glass card utility
   --------------------------------------------------------- */
.glass-card {
  background: rgba(250, 250, 246, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 20px 60px -22px rgba(11, 18, 54, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ---------------------------------------------------------
   Career Hero v2 — refined, includes decorative arc + dots
   --------------------------------------------------------- */
.career-hero.v2 {
  position: relative;
  padding: clamp(140px, 16vw, 200px) 0 clamp(60px, 8vw, 100px);
  background:
    radial-gradient(circle at 88% -10%, rgba(242, 23, 93, 0.10), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  overflow: hidden;
}
.career-hero.v2::before { display: none; }

/* Decorative arc (inspired by Emory but ours, in UH branding) */
.ch-arc {
  position: absolute;
  top: -10%;
  right: -8%;
  width: clamp(420px, 50vw, 720px);
  height: clamp(420px, 50vw, 720px);
  border-radius: 50%;
  border: 1.5px solid rgba(11, 18, 54, 0.08);
  pointer-events: none;
}
.ch-arc::before,
.ch-arc::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(11, 18, 54, 0.06);
}
.ch-arc::after {
  inset: 60px;
  border-color: rgba(242, 23, 93, 0.12);
  border-style: dashed;
}

/* Decorative dot constellation */
.ch-dots {
  position: absolute;
  top: 18%;
  left: -2%;
  width: 240px;
  height: 240px;
  background-image: radial-gradient(circle, rgba(11, 18, 54, 0.18) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.45;
  mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
  pointer-events: none;
}

.career-hero.v2 .career-hero-grid {
  align-items: end;
  padding-bottom: clamp(40px, 6vw, 80px);
}

.career-hero.v2 .career-hero-visual {
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius-lg);
  position: relative;
}

/* ---------------------------------------------------------
   Job Search Panel — the centerpiece of the career hero
   --------------------------------------------------------- */
.job-search-panel {
  position: relative;
  z-index: 5;
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: stretch;
  box-shadow:
    0 50px 120px -40px rgba(11, 18, 54, 0.55),
    0 8px 24px -10px rgba(11, 18, 54, 0.30);
  margin-top: clamp(-30px, -3vw, -20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

/* Decorative pink corner bleed */
.job-search-panel::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(242, 23, 93, 0.30), transparent 60%);
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.js-field {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 12px 16px 10px;
  cursor: text;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  min-width: 0;
}
.js-field:hover { background: rgba(255, 255, 255, 0.08); }
.js-field:focus-within {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(242, 23, 93, 0.4);
}
.js-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 250, 246, 0.55);
  margin-bottom: 4px;
}
.js-label i { color: var(--rose); font-size: 12px; }

.js-field input,
.js-field select {
  background: transparent;
  border: 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--paper);
  padding: 2px 0 0;
  width: 100%;
  outline: none;
  letter-spacing: -0.005em;
  min-width: 0;
}
.js-field input::placeholder { color: rgba(250, 250, 246, 0.4); }
.js-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23F2175D' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 18px;
}
.js-field select option {
  background: var(--ink);
  color: var(--paper);
}

.js-submit {
  background: var(--rose);
  color: var(--paper);
  border: 0;
  border-radius: 16px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
  box-shadow: 0 18px 40px -14px rgba(242, 23, 93, 0.55);
}
.js-submit:hover {
  background: var(--rose-deep);
  transform: translateY(-2px);
  box-shadow: 0 26px 50px -16px rgba(242, 23, 93, 0.65);
}
.js-submit:active { transform: translateY(0); }
.js-submit i {
  transition: transform .3s var(--ease);
}
.js-submit:hover i { transform: translateX(4px); }

/* ---------------------------------------------------------
   Career Categories
   --------------------------------------------------------- */
.career-cats {
  background: var(--paper);
  padding: clamp(80px, 10vw, 130px) 0;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}
.cat-card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  isolation: isolate;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.cat-card:hover,
.cat-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 38px 80px -28px rgba(11, 18, 54, 0.32);
  color: var(--paper);
  border-color: transparent;
}
.cat-card:hover::before,
.cat-card:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}
.cat-card .cat-ic {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--rose);
  display: grid; place-items: center;
  font-size: 26px;
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
  box-shadow: 0 6px 18px -8px rgba(11, 18, 54, 0.15);
}
.cat-card:hover .cat-ic {
  background: var(--rose);
  color: var(--paper);
  transform: rotate(-6deg) scale(1.04);
}
.cat-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 6px 0 0;
  color: inherit;
}
.cat-card p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  color: var(--mute);
  flex: 1;
  transition: color .35s var(--ease);
}
.cat-card:hover p { color: rgba(250, 250, 246, 0.78); }
.cat-card .cat-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: 4px;
  font-weight: 500;
}
.cat-card .cat-meta .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rose);
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(242, 23, 93, 0.15);
  animation: catPulse 2.4s var(--ease) infinite;
}
@keyframes catPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(242, 23, 93, 0.15); }
  50%      { box-shadow: 0 0 0 8px rgba(242, 23, 93, 0); }
}
.cat-card:hover .cat-meta { color: var(--paper); }
.cat-card .cat-arrow {
  position: absolute;
  top: 28px; right: 28px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  display: grid; place-items: center;
  font-size: 14px;
  transition: background .35s var(--ease), color .35s var(--ease), transform .5s var(--ease);
}
.cat-card:hover .cat-arrow {
  background: var(--rose);
  color: var(--paper);
  transform: rotate(45deg);
}

.cat-foot {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ---------------------------------------------------------
   Why Work With Us
   --------------------------------------------------------- */
.why-work {
  background: var(--paper-2);
  padding: clamp(80px, 10vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.why-work::before {
  content: "";
  position: absolute;
  bottom: -25%;
  left: -10%;
  width: 60vmax;
  height: 60vmax;
  background: radial-gradient(circle, rgba(242, 23, 93, 0.08), transparent 60%);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.ww-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.ww-visual {
  position: relative;
  min-height: 480px;
  min-width: 0;
}
.ww-img-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 72%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -28px rgba(11, 18, 54, 0.4);
}
.ww-img-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 32px 60px -20px rgba(11, 18, 54, 0.35);
  border: 8px solid var(--paper);
}
.ww-stat-card {
  position: absolute;
  top: 56%;
  left: -8%;
  padding: 20px 26px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
  z-index: 3;
}
.ww-stat-card .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
}
.ww-stat-card strong {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}
.ww-stat-card small {
  font-size: 12.5px;
  color: var(--mute);
  line-height: 1.5;
  max-width: 22ch;
}

.ww-content { min-width: 0; }
.ww-content .lede {
  color: var(--mute);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 52ch;
}
.ww-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ww-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.ww-list li:last-child { border-bottom: 0; }
.ww-num {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--rose);
  letter-spacing: -0.03em;
  line-height: 1;
  padding-top: 4px;
}
.ww-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 4px;
}
.ww-list p {
  font-size: 14.5px;
  color: var(--mute);
  margin: 0;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Benefits — bump up to 3-col grid (override existing 2 col on careers)
   --------------------------------------------------------- */
.benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------------------------------------------------------
   Employee Stories
   --------------------------------------------------------- */
.stories {
  background: var(--paper);
  padding: clamp(80px, 10vw, 130px) 0;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 22px;
  margin-top: 48px;
  align-items: stretch;
}
.story-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  min-width: 0;
}
.story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 36px 80px -28px rgba(11, 18, 54, 0.32);
}
.story-card.is-feature {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
}
.story-card.is-feature .sc-quote { color: rgba(250, 250, 246, 0.92); }
.story-card.is-feature .sc-meta strong { color: var(--paper); }
.story-card.is-feature .sc-meta small { color: rgba(250, 250, 246, 0.55); }
.story-card.is-feature .sc-quote-mark { color: var(--rose); }
.story-card.is-feature .sc-tag {
  background: rgba(242, 23, 93, 0.18);
  color: var(--rose);
  border-color: rgba(242, 23, 93, 0.3);
}

.sc-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}
.sc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease);
}
.story-card:hover .sc-photo img { transform: scale(1.06); }
.sc-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(250, 250, 246, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(11, 18, 54, 0.08);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}

.sc-body {
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  position: relative;
}
.sc-quote-mark {
  font-size: 2.4rem;
  color: var(--rose);
  line-height: 1;
  display: block;
  font-family: var(--serif);
}
.sc-quote {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  flex: 1;
}
.sc-meta {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.story-card.is-feature .sc-meta { border-top-color: rgba(250, 250, 246, 0.12); }
.sc-meta strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.sc-meta small {
  font-size: 12.5px;
  color: var(--mute);
}


/* =========================================================
   INTERNAL CAREERS PAGE — job portal
   ========================================================= */
.ic-hero {
  position: relative;
  padding: clamp(120px, 14vw, 170px) 0 clamp(60px, 8vw, 90px);
  background:
    radial-gradient(circle at 90% 0%, rgba(242, 23, 93, 0.10), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  overflow: hidden;
}
.ic-arc {
  position: absolute;
  top: -40%;
  right: -12%;
  width: clamp(360px, 42vw, 580px);
  height: clamp(360px, 42vw, 580px);
  border-radius: 50%;
  border: 1.5px solid rgba(11, 18, 54, 0.08);
  pointer-events: none;
}
.ic-arc::before {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  border: 1.5px dashed rgba(242, 23, 93, 0.16);
}
.ic-dots {
  position: absolute;
  top: 30%;
  left: 2%;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(11, 18, 54, 0.16) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.45;
  mask-image: radial-gradient(circle at center, black 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 25%, transparent 70%);
  pointer-events: none;
}

.ic-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.ic-crumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 24px;
}
.ic-crumbs a {
  color: var(--mute);
  transition: color .3s var(--ease);
}
.ic-crumbs a:hover { color: var(--rose); }
.ic-crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

.ic-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  margin: 14px 0 22px;
}
.ic-hero .lede {
  font-size: 1.1rem;
  color: var(--mute);
  line-height: 1.65;
  max-width: 56ch;
}

/* ---------------------------------------------------------
   IC Search Panel — 5 filters + button
   --------------------------------------------------------- */
.ic-search-panel {
  position: relative;
  z-index: 5;
  margin-top: clamp(40px, 6vw, 70px);
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: 22px;
  box-shadow:
    0 50px 120px -40px rgba(11, 18, 54, 0.55),
    0 8px 24px -10px rgba(11, 18, 54, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.ic-search-panel::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -8%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(242, 23, 93, 0.30), transparent 60%);
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
}
.ic-search-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr auto;
  gap: 12px;
  position: relative;
}
.ic-search-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.ic-result-count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(250, 250, 246, 0.6);
}
.ic-result-count strong {
  color: var(--paper);
  font-weight: 600;
}
.ic-reset {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--paper);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.ic-reset:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ---------------------------------------------------------
   IC Results section
   --------------------------------------------------------- */
.ic-results {
  background: var(--paper);
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 130px);
}
.ic-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.ic-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ic-chip {
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 100px;
  padding: 9px 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.ic-chip span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--mute);
  background: var(--paper);
  padding: 2px 8px;
  border-radius: 100px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.ic-chip:hover {
  background: var(--paper);
  border-color: var(--ink);
}
.ic-chip.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.ic-chip.is-active span {
  background: rgba(255, 255, 255, 0.15);
  color: var(--paper);
}

.ic-sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.ic-sort select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 32px 8px 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%230B1236' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  text-transform: none;
  letter-spacing: 0;
}

/* ---------------------------------------------------------
   Job Card — main left + hiring manager right
   --------------------------------------------------------- */
.ic-job-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ic-job-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: stretch;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.ic-job-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--rose), var(--rose-deep));
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.ic-job-card:hover {
  background: var(--paper);
  border-color: var(--ink-3);
  transform: translateY(-3px);
  box-shadow: 0 30px 70px -28px rgba(11, 18, 54, 0.28);
}
.ic-job-card:hover::before { opacity: 1; }

.ic-job-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.ic-job-head { min-width: 0; }
.ic-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 8px;
}
.ic-job-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.7vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  line-height: 1.2;
}
.ic-job-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color .3s var(--ease);
  background-image: linear-gradient(var(--rose), var(--rose));
  background-size: 0 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .4s var(--ease), color .3s var(--ease);
}
.ic-job-title a:hover {
  color: var(--rose);
  background-size: 100% 1.5px;
}
.ic-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--mute);
}
.ic-job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ic-job-meta i { color: var(--rose); font-size: 13px; }

.ic-job-desc {
  font-size: 14.5px;
  color: var(--mute);
  line-height: 1.6;
  margin: 0;
  max-width: 60ch;
}

.ic-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ic-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
}
.ic-pill i { color: var(--rose); font-size: 11px; }

.ic-job-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 6px;
}
.ic-apply { padding: 12px 22px; font-size: 14px; }
.ic-save {
  padding: 12px 20px;
  font-size: 14px;
  background: var(--paper);
}
.ic-save:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.ic-save.is-saved {
  background: var(--rose-soft);
  color: var(--rose-deep);
  border-color: rgba(242, 23, 93, 0.3);
}
.ic-save.is-saved:hover { background: var(--rose); color: var(--paper); border-color: var(--rose); }
.ic-save i { transition: transform .3s var(--ease); }
.ic-save.is-saved i { transform: scale(1.1); }

/* ---------------------------------------------------------
   Hiring Manager sidebar
   --------------------------------------------------------- */
.ic-hm {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  min-width: 0;
  position: relative;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  overflow: hidden;
}
.ic-hm::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: linear-gradient(135deg, rgba(242, 23, 93, 0.10), rgba(11, 18, 54, 0.06));
  pointer-events: none;
}
.ic-job-card:hover .ic-hm {
  border-color: rgba(242, 23, 93, 0.25);
}
.ic-hm-label {
  position: relative;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 2px;
}
.ic-hm-photo {
  position: relative;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--paper);
  box-shadow: 0 12px 28px -10px rgba(11, 18, 54, 0.32);
  background: var(--cream);
  margin: 4px 0 6px;
}
.ic-hm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ic-hm-status {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background: #22C55E;
  border: 2.5px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: hmStatus 2s var(--ease) infinite;
}
@keyframes hmStatus {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
.ic-hm-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: block;
  margin-top: 2px;
}
.ic-hm-role {
  display: block;
  font-size: 12.5px;
  color: var(--mute);
  line-height: 1.4;
  max-width: 22ch;
}
.ic-hm-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-3);
  background: var(--paper-2);
  padding: 7px 12px;
  border-radius: 100px;
  margin: 8px 0 4px;
  line-height: 1.3;
}
.ic-hm-note i { color: var(--rose); font-size: 11px; }
.ic-hm-contact {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  margin-top: 4px;
}
.ic-hm-contact:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ---------------------------------------------------------
   Empty state
   --------------------------------------------------------- */
.ic-empty {
  text-align: center;
  padding: 80px 24px;
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-2);
}
.ic-empty i {
  font-size: 2.6rem;
  color: var(--rose);
  display: inline-block;
  margin-bottom: 16px;
}
.ic-empty h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.ic-empty p {
  color: var(--mute);
  margin: 0 0 24px;
  max-width: 40ch;
  margin-inline: auto;
}

/* ---------------------------------------------------------
   Pagination
   --------------------------------------------------------- */
.ic-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.ic-pg-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ic-pg-list button {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.ic-pg-list button:hover {
  background: var(--paper-2);
  border-color: var(--ink-3);
}
.ic-pg-list button.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.ic-pg-list .dots {
  font-family: var(--mono);
  color: var(--mute);
  padding: 0 4px;
  font-size: 14px;
}
.ic-pg-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}
.ic-pg-arrow:hover:not(:disabled) {
  background: var(--rose);
  transform: scale(1.05);
}
.ic-pg-arrow:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

/* ---------------------------------------------------------
   Helpful aside at bottom of results
   --------------------------------------------------------- */
.ic-help {
  margin-top: 64px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.ic-help::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(242, 23, 93, 0.18), transparent 60%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.ic-help h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 10px 0 10px;
  color: var(--paper);
  position: relative;
  max-width: 32ch;
}
.ic-help p {
  color: rgba(250, 250, 246, 0.7);
  margin: 0;
  max-width: 56ch;
  position: relative;
}
.ic-help .btn-uh { position: relative; }


/* =========================================================
   RESPONSIVE — additions for new components
   ========================================================= */

/* Larger tablets / narrow desktops */
@media (max-width: 1200px) {
  .ic-search-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .ic-search-grid .js-field:nth-child(1) { grid-column: 1 / -1; }
  .ic-search-grid .js-submit { grid-column: 1 / -1; padding: 14px; }

  .job-search-panel {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .job-search-panel .js-field:nth-child(1) { grid-column: 1 / -1; }
  .job-search-panel .js-submit { grid-column: 1 / -1; padding: 14px; }
}

/* Tablet */
@media (max-width: 1024px) {
  /* Career hero v2 */
  .career-hero.v2 .career-hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .career-hero.v2 .career-hero-visual { max-width: 520px; margin: 0 auto; }
  .ch-arc { top: -20%; right: -30%; }
  .ch-dots { top: 8%; left: -8%; opacity: 0.25; }

  /* Category cards 2x3 */
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Benefits 2-col on careers */
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Why work stacks */
  .ww-grid { grid-template-columns: 1fr; gap: 64px; }
  .ww-visual { max-width: 540px; margin: 0 auto; width: 100%; min-height: 0; }
  .ww-img-1 { position: relative; width: 100%; aspect-ratio: 5 / 4; }
  .ww-img-2 { display: none; }
  .ww-stat-card { position: absolute; bottom: 18px; left: 18px; top: auto; }

  /* Stories: 2 columns, feature spans full */
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-card.is-feature { grid-column: 1 / -1; }
  .story-card.is-feature .sc-photo { aspect-ratio: 16 / 7; }

  /* Internal career card stacks: hiring manager moves below */
  .ic-job-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* On tablet, make the hiring manager card more compact and aligned */
  .ic-hm {
    padding: 22px 24px;
  }
  .ic-hm::before {
    height: 100%;
    width: 6px;
    top: 0; left: 0; right: auto;
    background: linear-gradient(180deg, rgba(242, 23, 93, 0.4), rgba(242, 23, 93, 0.08));
  }

  .ic-help {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Small tablet / large phone */
@media (max-width: 768px) {
  /* Category cards single col */
  .cat-grid { grid-template-columns: 1fr; }

  /* Benefits single col */
  .benefits-grid { grid-template-columns: 1fr; }

  /* Stories single col */
  .story-grid { grid-template-columns: 1fr; }
  .story-card.is-feature { grid-column: auto; }
  .story-card.is-feature .sc-photo { aspect-ratio: 4 / 3; }

  /* Search panels stack everything */
  .job-search-panel,
  .ic-search-panel {
    padding: 16px;
    border-radius: 22px;
    margin-top: 24px;
  }
  .job-search-panel {
    grid-template-columns: 1fr;
  }
  .ic-search-grid {
    grid-template-columns: 1fr;
  }
  .js-submit { padding: 16px; justify-content: center; }
  .js-field { padding: 11px 14px 9px; }

  /* IC toolbar wraps */
  .ic-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .ic-quick-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    margin: 0 -8px;
    padding-inline: 8px;
    scroll-snap-type: x mandatory;
  }
  .ic-chip { white-space: nowrap; scroll-snap-align: start; }

  /* Job card simplifies */
  .ic-job-card { padding: 22px; border-radius: 22px; }
  .ic-job-meta { gap: 10px; font-size: 12.5px; }
  .ic-job-actions { gap: 10px; }
  .ic-job-actions .btn-uh { flex: 1; justify-content: center; padding: 12px 18px; font-size: 13.5px; }

  /* Hiring manager card stays vertical & centered on mobile (already default) */
  .ic-hm {
    padding: 22px 20px 24px;
  }
  .ic-hm::before {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, rgba(242, 23, 93, 0.5), rgba(242, 23, 93, 0.08));
  }
  .ic-hm-role { max-width: 24ch; }
}

/* Phones */
@media (max-width: 560px) {
  /* WW stat card smaller and inline */
  .ww-stat-card { padding: 16px 18px; min-width: 0; }
  .ww-stat-card strong { font-size: 2.1rem; }

  /* IC search meta stacks */
  .ic-search-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Pager smaller */
  .ic-pg-list button { width: 36px; height: 36px; font-size: 12.5px; }
  .ic-pg-arrow { width: 40px; height: 40px; }
  .ic-pg-list { gap: 4px; }

  /* Job card pills wrap better */
  .ic-job-tags { gap: 6px; }
  .ic-pill { padding: 5px 10px; font-size: 11px; }

  /* WW list compact */
  .ww-list li { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; }
  .ww-num { font-size: 1.5rem; }
}


/* =========================================================
   CAREER HERO v3  ·  Full-bleed background image
   ========================================================= */

.career-hero.v3 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(640px, 92vh, 900px);
  display: grid;
  align-items: center;
  padding: clamp(80px, 12vw, 150px) 0 clamp(40px, 6vw, 90px);
  color: var(--paper);
}

.ch3-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.ch3-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: brightness(0.88) contrast(1.04) saturate(1.02);
}

/* Inner wrap */
.ch3-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
}

/* Content */
.ch3-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 8px;
}
.ch3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(250, 250, 246, 0.08);
  border: 1px solid rgba(250, 250, 246, 0.18);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: clamp(20px, 2.5vw, 28px);
}
.ch3-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.4vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0 0 clamp(18px, 2.5vw, 28px);
  text-wrap: balance;
  text-shadow:
    0 2px 4px rgba(11, 18, 54, 0.35),
    0 8px 40px rgba(11, 18, 54, 0.45);
}
.ch3-title-accent {
  font-style: italic;
  background: linear-gradient(180deg, var(--paper) 0%, #FFD7E5 50%, var(--rose) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}
.ch3-lede {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.55;
  color: rgba(250, 250, 246, 0.88);
  max-width: 640px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* Search panel */
.ch3-search {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px;
  background: rgba(250, 250, 246, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
  box-shadow:
    0 30px 80px -30px rgba(11, 18, 54, 0.6),
    0 0 0 1px rgba(250, 250, 246, 0.6);
}
.ch3-field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 18px;
  background: var(--paper);
  border: 1.5px solid rgba(11, 18, 54, 0.08);
  border-radius: 100px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.ch3-field:focus-within {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(242, 23, 93, 0.12);
}
.ch3-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(11, 18, 54, 0.45);
  font-size: 1.05rem;
  margin-right: 10px;
  flex-shrink: 0;
}
.ch3-field input,
.ch3-field select {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 0;
  font-family: var(--sans);
  font-size: 0.94rem;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ch3-field input { cursor: text; }
.ch3-field input::placeholder { color: rgba(11, 18, 54, 0.45); }
.ch3-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230B1236'><path d='M4 6l4 4 4-4' stroke='%230B1236' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 20px;
}
.ch3-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  flex-shrink: 0;
}
.ch3-submit:hover {
  background: var(--rose);
  transform: scale(1.06);
  box-shadow: 0 12px 32px -10px rgba(242, 23, 93, 0.6);
}

/* Stats row */
.ch3-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
  margin-top: clamp(8px, 2vw, 20px);
}
.ch3-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.ch3-stat strong {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  color: var(--paper);
  line-height: 1;
  letter-spacing: -0.02em;
}
.ch3-stat strong small {
  font-size: 0.55em;
  color: var(--rose);
  margin-left: 2px;
}
.ch3-stat .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 250, 246, 0.72);
  font-weight: 500;
}
.ch3-stat-sep {
  width: 1px;
  height: 38px;
  background: rgba(250, 250, 246, 0.2);
}


/* =========================================================
   ADJUSTMENTS — slimmer hiring manager card
   (note + message link removed)
   ========================================================= */
.ic-hm {
  padding: 22px 20px 22px;
  gap: 8px;
}
.ic-hm-name { margin-top: 6px; }
.ic-hm-role { margin-bottom: 6px; }


/* =========================================================
   RESPONSIVE  ·  v3 hero
   ========================================================= */

@media (max-width: 1200px) {
  .ch3-search {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    border-radius: 32px;
    padding: 14px;
    gap: 12px;
  }
  .ch3-field-keyword { grid-column: 1 / -1; }
  .ch3-submit { grid-row: 2 / 3; grid-column: 3 / 4; }
  .ch3-field { border-radius: 100px; }
}

@media (max-width: 1024px) {
  .career-hero.v3 {
    min-height: clamp(680px, 86vh, 820px);
    padding: clamp(80px, 14vw, 120px) 0 clamp(40px, 6vw, 80px);
  }
  .ch3-stats { gap: 24px; }
  .ch3-stat-sep { height: 32px; }
  .ch3-bg img { object-position: 50% 24%; }
}

@media (max-width: 768px) {
  .career-hero.v3 {
    min-height: 720px;
    padding: 120px 0 64px;
  }

  /* Search bar collapses to a vertical stack */
  .ch3-search {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    border-radius: 26px;
    padding: 14px;
    gap: 10px;
  }
  .ch3-field-keyword { grid-column: auto; }
  .ch3-submit {
    grid-row: auto;
    grid-column: auto;
    width: 100%;
    height: 54px;
    border-radius: 100px;
  }
  .ch3-submit::after {
    content: "Search jobs";
    margin-left: 10px;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
  }
  .ch3-field { padding: 0 16px; }
  .ch3-field input,
  .ch3-field select { padding: 14px 0; font-size: 0.92rem; }

  /* Stats wrap into a 3-col grid, drop separators on mobile */
  .ch3-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(250, 250, 246, 0.15);
  }
  .ch3-stat-sep { display: none; }
  .ch3-stat strong { font-size: 1.6rem; }
  .ch3-stat .lbl { font-size: 9.5px; letter-spacing: 0.14em; }
}

@media (max-width: 560px) {
  .career-hero.v3 {
    min-height: 660px;
    padding: 110px 0 56px;
  }
  .ch3-eyebrow { font-size: 10px; padding: 7px 14px; }
  .ch3-title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .ch3-lede { font-size: 0.95rem; }
  .ch3-search { padding: 12px; gap: 8px; border-radius: 22px; }
  .ch3-field { padding: 0 14px; }
  .ch3-stats { gap: 12px; }
  .ch3-stat strong { font-size: 1.4rem; }
  .ch3-stat .lbl { font-size: 9px; }
}


/* =========================================================
   RESPONSIVE HARDENING  ·  general site
   (covers careers.html + internal-careers.html across all
    breakpoints; ensures no horizontal scroll on any device)
   ========================================================= */

/* Universal anti-overflow safety net */
html, body { overflow-x: hidden; }
img, video, svg { max-width: 100%; height: auto; }

/* Ensure inner wraps respect viewport */
.uh-wrap {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  /* IC search panel: 2-col on tablet */
  .ic-search-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto auto auto;
  }
  .ic-search-grid .js-field:nth-child(1) { grid-column: 1 / -1; }
  .ic-search-grid .js-submit { grid-column: 1 / -1; }

  /* Process journey: stack vertically */
  .journey-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  /* IC search panel: full stack on mobile */
  .ic-search-grid { grid-template-columns: 1fr !important; }
  .ic-search-grid .js-field:nth-child(1) { grid-column: auto; }
  .ic-search-grid .js-submit { grid-column: auto; }

  /* Section padding tighter on mobile */
  section { padding-block: clamp(48px, 8vw, 80px); }

  /* Career hero v2 (legacy) tweaks */
  .career-hero.v2 .career-hero-content h1 { font-size: clamp(2rem, 7vw, 2.6rem); }

  /* Why-work, culture, benefits cards: ensure they don't overflow */
  .ww-stat-card { right: auto; }

  /* Job card: keep right column from forcing horizontal scroll */
  .ic-job-card { padding: 22px 20px; }
  .ic-job-title { font-size: 1.15rem; }
  .ic-job-meta { flex-wrap: wrap; }
  .ic-job-actions { flex-wrap: wrap; }
  .ic-job-actions .btn-uh { min-height: 44px; }

  /* Hiring manager card mobile polish */
  .ic-hm {
    padding: 24px 20px 24px;
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .ic-hm-label {
    flex-basis: 100%;
    text-align: left;
    margin-bottom: 0;
  }
  .ic-hm-photo {
    width: 64px;
    height: 64px;
    margin: 0;
    flex-shrink: 0;
  }
  .ic-hm-name { font-size: 1.05rem; }
  .ic-hm-role { font-size: 12px; max-width: none; }
  .ic-hm::before {
    width: 100%;
    height: 4px;
    top: 0; left: 0; right: 0;
    background: linear-gradient(90deg, var(--rose), rgba(242, 23, 93, 0.1));
  }

  /* Process / journey steps stack */
  .process-step { flex-direction: column; align-items: flex-start; }

  /* Pagination: scroll horizontally if needed */
  .ic-pg-list {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-block: 4px;
  }

  /* Footer columns stack */
  .uh-footer-grid { grid-template-columns: 1fr 1fr !important; gap: 36px; }
}

@media (max-width: 560px) {
  /* Footer single column */
  .uh-footer-grid { grid-template-columns: 1fr !important; }

  /* Section heads stack */
  .section-head {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Smaller section titles on phone */
  .section-title {
    font-size: clamp(1.7rem, 6vw, 2.2rem) !important;
  }

  /* Buttons full width on phone for primary CTAs */
  .ic-help .btn-uh { width: 100%; justify-content: center; }
  .final-cta-actions .btn-uh { width: 100%; justify-content: center; }

  /* Hiring manager: back to centered column on tiny screens */
  .ic-hm {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .ic-hm-label { text-align: center; }
  .ic-hm-role { max-width: 24ch; }

  /* IC chips: smaller */
  .ic-chip { font-size: 12px; padding: 7px 12px; }

  /* Hero v3 keep title readable */
  .ch3-title { line-height: 1.08; }

  /* Quick filter row on internal-careers does not break grid */
  .ic-toolbar { gap: 12px; }
}

/* Cleanup: drop legacy v2 hero rules that affected the now-removed elements */
.career-hero.v3 .career-hero-grid,
.career-hero.v3 .ch-arc,
.career-hero.v3 .ch-dots,
.career-hero.v3 .job-search-panel { display: none; }

/* Reduce ring shimmer for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ic-hm-status { animation: none !important; }
}

/* =========================================================
   v3 hero — neutralise legacy base styles
   ========================================================= */
.career-hero.v3 {
  background: none !important;
}
.career-hero.v3::before {
  display: none !important;
}
