@font-face {
  font-family: "Brittany Signature";
  src: url("Fonts/BrittanySignature.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("Fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("Fonts/Poppins-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("Fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("Fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("Fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #002e54;
  --white: #ffffff;
  --accent-1: #1d4ed8;
  --accent-2: #2563eb;
  --accent-3: #0091B9;
  --accent-4: #0ea5e9;
  --divider: #40627f;
  --light: #f7f9fb;
  --gray-accent: #a6a6a6;
  --shadow: 0 14px 30px rgb(190, 190, 190);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

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

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.hero-container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.hero-cta .hero-container {
  max-width: 800px;
  margin-left: calc((100% - min(1200px, 92vw)) / 2);
  margin-right: auto;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 58px);
  font-weight: 700;
  margin: 0 0 12px;
}

h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.8rem, 3vw, 38px);
  font-weight: 600;
  margin: 0 0 14px;
}

.h2-signature {
  font-family: "Brittany Signature", Helvetica, Arial, sans-serif;
  font-size: clamp(2.0rem, 3vw, 42px);
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 14px;
}

.h2-signature.center {
  text-align: center;
}


h3 {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px;
}


h4 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
}

h5 {
  font-size: 18px;
  margin: 0 0 8px;
}

h6 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 8px;
}

p {
  margin: 0 0 24px;
}

li {
  margin-bottom: 16px;
}

strong {
  font-weight: 600;
}

small {
  font-size: 12px;
}

.site-header {
  --header-dark-alpha: 1;
  --header-light-alpha: 0;
  --header-shadow-alpha: 0;
  --header-text-color: #ffffff;
  --header-text-shadow-alpha: 0.5;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, calc(0.6 * var(--header-dark-alpha))) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  background-color: rgba(255, 255, 255, var(--header-light-alpha));
  border-bottom: none;
  color: var(--header-text-color);
  box-shadow: 0 8px 18px rgba(0, 24, 46, var(--header-shadow-alpha));
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: calc(var(--header-height, 0px) * -1);
}

.site-header .header-wrap {
  position: relative;
  z-index: 1;
}

.site-header .logo,
.site-header .logo *,
.site-header .nav a {
  text-shadow: 0 2px 12px rgba(0, 0, 0, var(--header-text-shadow-alpha));
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(4px);
}

.logo-name {
  font-family: "Brittany Signature", Helvetica, Arial, sans-serif;
  font-size: 25px;
  line-height: 1;
}

.logo-tagline {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav a {
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.nav a[aria-current="page"] {
  border-bottom-color: #ffffff;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--accent-4);
  color: var(--white);
  border-radius: 6px;
  font-weight: 400;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--accent-3);
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-submit {
  border: none;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
}

.btn-resume {
  background: var(--accent-4);
  color: var(--white);
  border: none;
  box-shadow: none;
  transform: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn-resume:hover {
  background: var(--accent-3);
  color: var(--white);
  box-shadow: none;
  transform: translateY(-2px);
}

.section {
  padding: 48px 0;
}

.section.center {
  text-align: center;
}

.experience {
  text-align: left;
}

.experience .signature-center {
  text-align: center;
}

.experience-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-underline {
  display: block;
  max-width: 400px;
  width: 100%;
  margin: -10px auto 0;
}

.section-underline--experience {
  margin-top: -20px;
}

.experience-subtitle {
  margin: 8px 0 6px;
  font-weight: 600;
}

.experience-link {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
}

.experience-link:hover {
  color: #0ea5e9;
  text-decoration: underline;
}

.experience-list {
  max-width: 600px;
  margin: 0 auto;
}

.experience-role {
  margin-bottom: 34px;
}

.experience-role h3 {
  font-family: "Poppins";
  font-size: 28px;
  margin: 0 0 6px;
}

.experience-meta {
  letter-spacing: 0.08em;
  font-size: 16px;
  margin-bottom: 6px;
}

.experience-role ul {
  margin: 10px 0 0 18px;
}

.experience-role li {
  margin-bottom: 8px;
  margin-left: -20px;
}

.experience-toggle {
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: #0ea5e9;
  text-decoration: none;
  font-family: "Poppins";
  font-weight: 500;
  font-size: 18px;
  cursor: pointer;
}

.experience-toggle:hover {
  color: #0ea5e9;
  text-decoration: underline;
}

.section .split a:hover {
  color: #0ea5e9;
}

.contact-links-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 20px;
}

.contact-link-item {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.2;
}

.contact-link-item:hover,
.contact-link-item:focus-visible {
  color: #0ea5e9;
}

.contact-link-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: none;
}

.contact-link-icon--mail {
  transform: none;
}

@media (max-width: 760px) {
  .contact-links-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .contact-link-item {
    justify-content: center;
  }
}

.experience-toggle::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #0EA5E9;
  border-bottom: 2px solid #0EA5E9;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform 0.2s ease;
}

.experience-toggle.is-open::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.experience-older {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: max-height 0.6s ease, opacity 0.35s ease, clip-path 0.6s ease;
}

.experience-older.is-open {
  max-height: 2000px;
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.domain-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 60px 0;
  border-top: 1px solid #e0e0e0;
}

.domain-rail {
  text-align: left;
}

.domain-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #007bff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.domain-title {
  font-family: "Poppins";
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.0;
  margin: 8px 0 12px;
}

.domain-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 16px;
  justify-items: start;
}

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

@media (max-width: 860px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .domain-section {
    grid-template-columns: 1fr;
  }
}

.education {
  background: #f2f2f2;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px 60px;
  margin-top: 18px;
}

.about-me {
  text-align: left;
}

.philosophy {
  text-align: left;
}

.philosophy-header {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.philosophy-header .signature-center {
  margin-bottom: 10px;
}

.philosophy-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.philosophy-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 260px;
  width: 2px;
  background: rgba(0, 0, 0, 0.2);
  transform: translateX(-1px);
}

.philosophy-item {
  display: grid;
  grid-template-columns: 220px 24px 1fr;
  column-gap: 28px;
  align-items: start;
  padding: 60px 0;
}

.philosophy-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.25;
  margin: 0;
}

.philosophy-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy);
  justify-self: center;
  margin-top: 2px;
}

.philosophy-desc {
  margin: 0;
  line-height: 1.6;
}

.skills-section {
  background: linear-gradient(rgba(9, 32, 58, 0.72), rgba(9, 32, 58, 0.72)),
    url("Images/portfolio10.png") center/cover no-repeat;
  background-attachment: scroll;
  text-align: center;
  color: var(--white);
  padding-bottom: 80px;
}

.skills-section .signature-center {
  color: var(--white);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 450px));
  row-gap: 80px;
  column-gap: 80px;
  margin-top: 30px;
  justify-content: center;
}

.skill-card {
  background: var(--white);
  color: var(--navy);
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
  padding: 22px 24px;
  text-align: center;
  width: 100%;
  max-width: 450px;
  position: relative;
  overflow: hidden;
}

.skill-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(0);
  opacity: 0;
}

.skill-card > * {
  position: relative;
  z-index: 1;
}

.skills-grid.is-visible .skill-card::after {
  opacity: 1;
  animation: skill-wipe 0.8s ease forwards;
  animation-fill-mode: forwards;
}

.skills-grid.is-visible .skill-card:nth-child(2n)::after {
  animation-delay: 0.12s;
}

.skill-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.skill-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@keyframes skill-wipe {
  to {
    transform: translateX(100%);
  }
}

.philosophy-title,
.philosophy-dot,
.philosophy-desc {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.philosophy-title {
  transform: translateX(-36px);
}

.philosophy-desc {
  transform: translateX(30px);
}

.philosophy-dot {
  transform: translateY(36px);
}

.philosophy-item.is-visible .philosophy-title,
.philosophy-item.is-visible .philosophy-desc,
.philosophy-item.is-visible .philosophy-dot {
  opacity: 1;
  transform: translateX(0);
}

.philosophy-item.is-visible .philosophy-dot {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .philosophy-timeline::before {
    left: 8px;
  }

  .philosophy-item {
    grid-template-columns: 16px 1fr;
    column-gap: 16px;
    padding: 48px 0;
  }

  .philosophy-title {
    grid-column: 2 / 3;
    text-align: left;
    margin-bottom: 8px;
  }

  .philosophy-dot {
    grid-row: 1 / span 2;
    margin-top: 6px;
  }

  .philosophy-desc {
    grid-column: 2 / 3;
  }
}

.hero {
  position: relative;
  color: var(--white);
  min-height: 800px;
  height: 800px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  margin-top: -80px;
  padding-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 18, 34, 0.55) 0%,
    rgba(0, 18, 34, 0.35) 40%,
    rgba(0, 18, 34, 0.05) 70%,
    rgba(0, 18, 34, 0) 100%
  );
}

.hero .container,
.hero .hero-container {
  position: relative;
  z-index: 2;
  padding-top: 0;
}

.hero .headline-accent {
  color: var(--accent-4);
}

.headline-accent {
  color: var(--accent-4);
}

.hero-actions {
  display: flex;
  gap: 24px;
  margin-top: 54px;
  flex-wrap: wrap;
  align-items: center;
}

.hero h1 {
  font-size: 50px;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0;
  line-height: 1.15;
}

.hero-headline-wrap {
  position: relative;
  display: inline-block;
  padding: 32px 0;
  margin-left: 0;
}

.hero-headline-wrap::before {
  content: "";
  position: absolute;
  inset: -40px -20px;
  background: none;
  filter: none;
  z-index: 0;
}

.hero-portfolio .hero-headline-wrap::before {
  inset: -32px 92px -32px -8px;
  filter: blur(8px);
}

.hero-headline-wrap h1 {
  position: relative;
  z-index: 1;
}

.hero-gradient {
  background: linear-gradient(90deg, #39BEF9 0%, #2364EC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-portfolio {
  background: url("Images/portfolio01.png") center/cover no-repeat;
}

.hero-portfolio::before {
  background: linear-gradient(
    90deg,
    rgba(0, 18, 34, 0.55) 0%,
    rgba(0, 18, 34, 0.35) 40%,
    rgba(0, 18, 34, 0.05) 70%,
    rgba(0, 18, 34, 0) 100%
  );
}


.hero-list {
  max-width: 600px;
  color: var(--white);
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  font-size: 16pt;
}

.hero-list li {
  margin-bottom: 18px;
  position: relative;
  padding-left: 1.2em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: currentColor;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.case-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  column-gap: 30px;
  row-gap: 30px;
}

.project-grid.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 16px;
  justify-items: start;
}

.project-grid.case-grid.is-centered {
  grid-template-columns: repeat(3, 320px);
  justify-items: stretch;
  justify-content: center;
  column-gap: 64px;
  row-gap: 64px;
}

.project-grid.case-grid.is-centered .card {
  max-width: none;
  width: 100%;
}

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

@media (max-width: 860px) {
  .project-grid.case-grid {
    grid-template-columns: 1fr;
  }
}

.case-grid .card {
  padding: 0 0 24px;
  overflow: hidden;
  box-shadow: 9px 7px 15px 2px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.case-grid .card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin: 0 0 16px;
  display: block;
}

.case-grid .card h4 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
}

.case-grid .card > :not(img) {
  padding: 0 24px;
}

.case-grid .card.card-wide-title > :not(img) {
  padding-left: 8px;
  padding-right: 8px;
}

.case-grid .card .btn {
  margin: 0 24px 24px;
  padding: 8px 36px;
  min-width: 220px;
  text-align: center;
}

.case-grid .card:hover {
  transform: scale(1.02);
  box-shadow: 12px 9px 20px 3px rgba(0, 0, 0, 0.25);
}

.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px;
  border: none;
}

.card img {
  border-radius: 10px;
  margin-bottom: 14px;
}

.card .tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-accent);
}

.card .metric {
  font-weight: 600;
  margin-top: 10px;
}

.hero-logos {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(10px, 2vw, 28px);
  align-items: center;
  justify-content: space-between;
}

.hero-logos img {
  width: clamp(120px, 12vw, 190px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  flex: 0 0 auto;
}

.footer {
  background: linear-gradient(180deg, #06385f 0%, #042e4f 55%, #02233d 100%);
  color: var(--white);
  padding: 80px 0 50px;
}

.footer a {
  color: inherit;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-signature {
  font-family: "Brittany Signature", Helvetica, Arial, sans-serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.2;
  color: #f2f6fb;
}

.footer-tagline {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-icons {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}

.footer-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-icon:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-nav a {
  color: inherit;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

@media (max-width: 700px) {
  .footer {
    padding: 60px 0 40px;
  }

  .footer-signature {
    font-size: 40px;
  }

  .footer-tagline {
    letter-spacing: 0.22em;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
  }
}

.signature-center {
  font-family: "Brittany Signature", Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: 400;
  text-align: center;
  line-height: 2;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 1150px) {
  .hero-logos img:nth-child(5) {
    display: none;
  }
}

@media (max-width: 1020px) {
  .hero-logos img:nth-child(4) {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-logos img:nth-child(3) {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero-logos img:nth-child(2) {
    display: none;
  }
}

.hero-cta {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 8px 0 24px;
}

.hero-logos-wrap {
  margin-top: auto;
  padding: 0 0 32px;
}

/* -----------------------------
   Case Study Page (Fixing the Funnel)
   Added: 2026-01-28
-------------------------------- */

.case-hero {
  position: relative;
  color: var(--white);
  padding: 84px 0 56px;
  margin-bottom: 32px;
  background: url("Images/Bariatrics01.png") center top/cover no-repeat;
  margin-top: -80px;
  padding-top: calc(84px + 80px);
}

.case-studies-link {
  margin-top: 28px;
  text-align: center;
}

.case-studies-link-text {
  font-size: 18px;
  font-weight: 500;
  color: #0ea5e9;
  text-decoration: none;
  transition: color 0.2s ease;
}

.case-studies-link-text:hover {
  color: #0ea5e9;
  text-decoration: underline;
}

.case-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 18, 34, 0.7) 0%,
    rgba(0, 18, 34, 0.5) 38%,
    rgba(0, 18, 34, 0.12) 68%,
    rgba(0, 18, 34, 0) 100%
  );
}

.case-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(
    90deg,
    rgba(14, 165, 233, 0) 0%,
    rgba(14, 165, 233, 0.45) 20%,
    rgba(14, 165, 233, 0.85) 50%,
    rgba(14, 165, 233, 0.45) 80%,
    rgba(14, 165, 233, 0) 100%
  );
  z-index: 2;
}

.case-hero .container {
  position: relative;
  z-index: 2;
}

.case-breadcrumbs {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.95;
  margin-bottom: 14px;
}

.case-breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.case-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2.35rem, 4.4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.case-hero .case-subtitle {
  font-size: 18px;
  max-width: 660px;
  margin: 0 0 22px;
  opacity: 0.98;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.case-hero .case-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 46, 84, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.case-hero .case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.case-hero .case-actions .btn {
  min-width: 220px;
  text-align: center;
}

@media (max-width: 560px) {
  .case-hero .case-actions .btn {
    width: 100%;
  }
}

.btn.btn-ghost {
  background: transparent;
  border: none;
  color: var(--white);
}

.btn.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.case-main {
  padding: 0 0 24px;
}

.case-wrap {
  width: min(1040px, 92vw);
  margin: 0 auto;
}

.case-body {
  margin-top: 24px;
}

.case-skim {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 46, 84, 0.08);
  padding: 22px 22px;
  width: 100%;
  margin: 0 auto;
}

.case-skim-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px 26px;
  align-items: start;
}

.case-skim h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.case-skim ul {
  margin: 0;
  padding-left: 18px;
}

.case-skim li {
  margin-bottom: 8px;
}

.case-meta {
  border-left: 1px solid rgba(0, 46, 84, 0.12);
  padding-left: 18px;
}

.case-meta .meta-row {
  margin-bottom: 12px;
}

.case-meta .meta-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 46, 84, 0.72);
  margin-bottom: 4px;
}

.case-meta .meta-value {
  font-size: 15px;
  margin: 0;
}

.case-toc {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 14px 0 0 14px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(0, 24, 46, 0.12);
  width: 165px;
}

.case-toc-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.case-toc a {
  font-size: 14px;
  color: #4875A3;
  text-decoration: none;
  white-space: nowrap;
  padding-left: 22px;
  position: relative;
  font-weight: 400;
}

.case-toc a:hover {
  color: var(--accent-1);
}

.case-toc .toc-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 46, 84, 0.72);
  margin-bottom: 6px;
}

.case-toc select {
  display: none;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 46, 84, 0.18);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.case-article {
  width: min(700px, 92vw);
  margin: 0 auto;
}

.case-toc a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: transparent;
}

.case-toc a.is-active {
  color: var(--accent-1);
  font-weight: 400;
}

.case-toc a.is-active::before {
  background: currentColor;
}

.case-section {
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 46, 84, 0.10);
  width: min(700px, 92vw);
  margin: 0 auto;
}

.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 32px 0;
}

.full-bleed--light {
  background: #f6f6f6;
}

.full-bleed--action3 {
  background: url("Images/Bariatrics08.png") center/cover no-repeat;
}

.case-section.case-section-wide {
  width: min(1000px, 92vw);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.case-section:last-child {
  border-bottom: none;
}

.case-section h3 {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 10px;
}

.case-kicker {
  font-size: 14px;
  font-weight: 800;
  line-height: 0.8;
  color: var(--accent-4);
  text-transform: uppercase;
  margin-bottom: 1px;
}

.case-pull {
  background: var(--white);
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px;
  margin: 14px 0 0;
}

.case-pull-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 980px) {
  .case-pull-grid {
    grid-template-columns: 1fr;
  }
}

.case-img {
  margin: 40px 0 16px;
  border-radius: 14px;
  overflow: hidden;
  border: none;
}

.case-img img {
  width: 100%;
  height: auto;
}

.case-two-col {
  width: min(1000px, 92vw);
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.case-pull-grid-wide {
  width: min(1000px, 92vw);
  margin-top: 14px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.case-two-col-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px;
}

.case-two-col-media {
  margin: 0 -24px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 24, 46, 0.14);
}

.case-two-col-media img {
  width: 100%;
  height: auto;
  display: block;
}

.case-two-col-text {
  margin: 0;
}

.case-two-col ul,
.case-two-col ol,
.case-article ul,
.case-article ol {
  padding-left: 24px;
}

.case-caption {
  font-size: 13px;
  color: rgba(0, 46, 84, 0.72);
  margin-top: 8px;
}

.case-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.case-card {
  background: var(--white);
  border: none;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.case-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.case-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.case-results .case-card {
  text-align: center;
}

.case-results .result-value {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-4);
  margin: 0 0 6px;
}

.case-results .result-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-4);
  margin: 0 0 6px;
}

.case-results .result-detail {
  font-size: 14px;
  color: rgba(0, 46, 84, 0.72);
}

.case-result {
  background: var(--white);
  border: 1px solid rgba(0, 46, 84, 0.10);
  border-radius: 14px;
  padding: 14px 14px;
  box-shadow: 0 10px 22px rgba(0, 24, 46, 0.07);
}

.case-result .big {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}

.case-result .label {
  font-size: 13px;
  color: rgba(0, 46, 84, 0.72);
  margin: 0;
}

.case-cta {
  margin-top: 22px;
  padding: 18px 18px;
  border-radius: 14px;
  background: rgba(0, 46, 84, 0.06);
  border: 1px solid rgba(0, 46, 84, 0.10);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  justify-content: space-between;
}

.case-cta p {
  margin: 0;
  max-width: 520px;
}

.case-cta .btn {
  min-width: 220px;
  text-align: center;
}

/* Accessibility helpers */
.visually-hidden-focusable {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: #ffffff;
  color: #000000;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.2);
  z-index: 9999;
}

.visually-hidden-focusable:focus {
  left: 10px;
}

@media (max-width: 900px) {
  .case-skim-grid {
    grid-template-columns: 1fr;
  }
  .case-body {
    margin-top: 16px;
  }
  .case-toc {
    width: 100%;
    position: static;
    border-radius: 14px;
    margin: 20px auto 0;
    right: auto;
    top: auto;
    transform: none;
  }
  .case-two-col {
    grid-template-columns: 1fr;
  }
  .case-meta {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(0, 46, 84, 0.12);
    padding-top: 14px;
  }
  .case-cards {
    grid-template-columns: 1fr;
  }
  .case-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .case-toc a {
    display: none;
  }
  .case-toc .toc-label {
    display: none;
  }
  .case-toc select {
    display: block;
  }
  .case-hero {
    padding: 70px 0 44px;
  }
  .case-hero .case-subtitle {
    font-size: 16px;
  }
}
