:root {
  --red: #b10d0d;
  --red-dark: #7d0707;
  --graphite: #22272e;
  --ink: #101820;
  --muted: #64706c;
  --warm-grey: #d8d6d3;
  --soft-white: #ffffff;
  --neutral: #f7f6f2;
  --cool-grey: #eceff3;
  --soft-pink: #fad7dc;
  --light-blue: #d6e9f7;
  --sage: #e6f2e9;
  --peach: #ffe8d6;
  --lavender: #e8e1f6;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.12);
  --soft-shadow: 0 16px 44px rgba(16, 24, 32, 0.08);
  --radius: 8px;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(177, 13, 13, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(177, 13, 13, 0.035) 1px, transparent 1px),
    var(--neutral);
  background-size: 34px 34px;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: visible;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 78px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(34, 39, 46, 0.08);
  box-shadow: 0 8px 30px rgba(16, 24, 32, 0.05);
  backdrop-filter: blur(20px) saturate(1.1);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(177, 13, 13, 0.14));
}

.brand-copy {
  display: grid;
  gap: 0;
  line-height: 1;
  align-items: start;
}

.brand-name {
  width: 92px;
  height: 18px;
  display: block;
  overflow: hidden;
  color: transparent;
  background-image: url("../images/biofitt-wordmark.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  font-size: 0;
  line-height: 1;
}

.brand-tag {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(16, 24, 32, 0.74);
}

.desktop-nav a {
  position: relative;
  padding: 10px 8px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--red);
  background: rgba(177, 13, 13, 0.06);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(34, 39, 46, 0.12);
  border-radius: 999px;
  background: var(--soft-white);
  color: var(--graphite);
  cursor: pointer;
  box-shadow: var(--soft-shadow);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 78px 0 0;
  z-index: 45;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 46vw);
  background: rgba(16, 24, 32, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.mobile-menu-inner {
  grid-column: 2;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(177, 13, 13, 0.12), transparent 38%),
    var(--graphite);
  color: var(--soft-white);
  transform: translateX(18%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
}

.menu-open .mobile-menu-inner {
  transform: translateX(0);
}

.mobile-menu nav {
  display: grid;
  gap: 10px;
}

.mobile-menu nav a {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.1rem, 4.2vw, 1.35rem);
  font-weight: 700;
}

.mobile-menu .micro {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.68);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(16, 24, 32, 0);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--soft-white);
  box-shadow: 0 14px 28px rgba(177, 13, 13, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(177, 13, 13, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--red);
  border-color: rgba(177, 13, 13, 0.42);
}

.btn-secondary:hover {
  border-color: var(--red);
  box-shadow: var(--soft-shadow);
}

.btn-dark {
  background: var(--graphite);
  color: var(--soft-white);
}

.btn-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 136px 0 70px;
  display: grid;
  align-items: end;
  background: var(--soft-white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 34%, rgba(255, 255, 255, 0.58) 60%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 64%, rgba(247, 246, 242, 0.9) 100%);
}

.hero-content::before,
.section-head::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 112px;
  background-image: radial-gradient(rgba(177, 13, 13, 0.24) 1px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.36;
  pointer-events: none;
}

.hero-content::before {
  right: -32px;
  bottom: -26px;
}

.hero-home {
  --hero-image: url("../images/young-family.png");
}

.hero-home::before {
  background-position: center right;
  transform: scale(1);
}

.hero-home::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.94) 32%, rgba(255, 255, 255, 0.56) 56%, rgba(255, 255, 255, 0.03) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 66%, rgba(247, 246, 242, 0.86) 100%);
}

.hero-about {
  --hero-image: url("../images/about-care.png");
}

.hero-solutions {
  --hero-image: url("../images/corporate-session.png");
}

.hero-ecosystem {
  --hero-image: url("../images/analytics-consult.png");
}

.hero-app {
  --hero-image: url("../images/journey-app.png");
}

.hero-contact {
  --hero-image: url("../images/patient-care.png");
}

.hero-member-value {
  --hero-image: url("../images/family-rewards.png");
}

.hero-home-visits {
  --hero-image: url("../images/home-visit-route.png");
}

.hero-home-visits::before {
  background-position: center right;
  transform: scale(1);
}

.hero-home-visits::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 31%, rgba(255, 255, 255, 0.34) 55%, rgba(255, 255, 255, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 67%, rgba(247, 246, 242, 0.82) 100%);
}

.hero-digital {
  --hero-image: url("../images/analytics-consult.png");
}

.hero-emma {
  --hero-image: url("../images/home-visit-app.png");
}

.hero-emma::before {
  background-position: center 76px;
}

.hero-core-story {
  --hero-image: url("../images/chronic-care.png");
}

.hero-core-story::before {
  background-position: right center;
}

.hero-solutions {
  --hero-image: url("../images/solutions-team.png");
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(240px, 360px);
  gap: 46px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--red);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--graphite);
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.55rem, 5.05vw, 4.75rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  text-wrap: balance;
}

h3 {
  font-size: 1.2rem;
}

.red {
  color: var(--red);
}

.script-line {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 18px 0 0;
  color: var(--red);
  font-family: "Brittany Signature", "Great Vibes", "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(1.32rem, 2.05vw, 1.82rem);
  line-height: 1.15;
  word-spacing: 0.12em;
  white-space: nowrap;
  text-wrap: nowrap;
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-panel {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 10px;
  padding-bottom: 8px;
}

.signal-card {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(34, 39, 46, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.signal-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--red);
}

.signal-card strong {
  display: block;
  color: var(--graphite);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.75rem;
  line-height: 1;
}

.signal-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.about-hero-stat {
  display: block;
  padding: 20px 24px;
}

.about-hero-stat > span {
  margin-top: 0;
}

.about-hero-stat strong {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.about-hero-stat small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.stat-icon,
.possible-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--soft-white);
  box-shadow: 0 12px 24px rgba(177, 13, 13, 0.18);
}

.stat-icon {
  width: 52px;
  height: 52px;
}

.stat-icon svg,
.possible-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-band {
  position: relative;
  z-index: 1;
  padding: 28px 0;
  background:
    linear-gradient(rgba(210, 198, 177, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210, 198, 177, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(250, 248, 243, 0.98), rgba(255, 255, 255, 1));
  background-size: 40px 40px, 40px 40px, auto;
}

.quick-strip {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  border-radius: var(--radius);
  overflow: visible;
  background: transparent;
}

.quick-item {
  position: relative;
  min-height: 112px;
  padding: 22px;
  border: 1px solid rgba(34, 39, 46, 0.08);
  border-left: 4px solid rgba(177, 13, 13, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 249, 246, 0.94));
  color: var(--graphite);
  box-shadow: 0 14px 30px rgba(16, 24, 32, 0.055);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.quick-item::after {
  content: "→";
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: rgba(177, 13, 13, 0.68);
  font-size: 1.25rem;
  transition: transform 220ms ease, color 220ms ease;
}

.quick-item:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: rgba(177, 13, 13, 0.18);
  box-shadow: 0 18px 34px rgba(16, 24, 32, 0.075);
}

.quick-item:hover::after {
  color: var(--red);
  transform: translateX(4px);
}

.quick-item:nth-child(2) {
  border-left-color: rgba(177, 13, 13, 0.56);
}

.quick-item:nth-child(3) {
  border-left-color: rgba(177, 13, 13, 0.56);
}

.quick-item:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(255, 249, 249, 0.98), rgba(255, 255, 255, 0.94));
  border-left-color: var(--red);
}

.quick-item h3 {
  margin: 0;
  color: var(--graphite);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.18;
}

.quick-item p {
  display: block;
  margin: 14px 0 0;
  color: var(--muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section.alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 1)),
    radial-gradient(rgba(177, 13, 13, 0.16) 1px, transparent 1.5px);
  background-size: auto, 13px 13px;
}

.section.soft {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(247, 246, 242, 0.9)),
    radial-gradient(rgba(177, 13, 13, 0.11) 1px, transparent 1.5px);
  background-size: auto, 14px 14px;
}

.hero-core-story {
  min-height: 84vh;
  padding-bottom: 50px;
}

.hero-core-story + .section,
.hero-core-story + .section + .section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-core-story + .section .media-split {
  gap: 42px;
  align-items: stretch;
}

.hero-core-story + .section .media-frame.challenge-frame {
  align-self: stretch;
  height: 100%;
  min-height: 100%;
}

.section.dark {
  background:
    linear-gradient(135deg, rgba(177, 13, 13, 0.12), transparent 38%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    var(--graphite);
  background-size: auto, 36px 36px, auto;
  color: var(--soft-white);
}

.section.dark h2,
.section.dark h3 {
  color: var(--soft-white);
}

.section.dark .lead,
.section.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.section-head::before {
  top: -28px;
  right: 0;
}

.section-head .lead {
  max-width: 520px;
  margin-top: 0;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  min-height: 100%;
  padding: 26px;
  border: 1px solid rgba(34, 39, 46, 0.09);
  border-radius: var(--radius);
  background: var(--soft-white);
  box-shadow: 0 10px 34px rgba(16, 24, 32, 0.06);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 4px;
  height: 100%;
  background: var(--red);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 54px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent, var(--red)) 8%, white));
  opacity: 0;
  transition: opacity 220ms ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent, var(--red)) 28%, white);
  box-shadow: 0 22px 52px rgba(16, 24, 32, 0.1);
}

.card:hover::after {
  opacity: 1;
}

.card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.about-value-grid {
  align-items: stretch;
  gap: 18px;
}

.about-values-section {
  padding: 28px 0;
  background:
    linear-gradient(rgba(210, 198, 177, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210, 198, 177, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(250, 248, 243, 0.98), rgba(255, 255, 255, 1));
  background-size: 40px 40px, 40px 40px, auto;
}

.about-value-card {
  min-height: 178px;
  padding: 24px;
  text-align: left;
  display: block;
  border-left: 4px solid var(--red);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 249, 246, 0.94));
  box-shadow: 0 14px 30px rgba(16, 24, 32, 0.055);
}

.about-value-card::before {
  display: none;
}

.about-value-card p {
  max-width: none;
  margin: 14px 0 0;
  color: var(--muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.about-value-card h3 {
  margin: 0;
  color: var(--graphite);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
  text-transform: none;
}

.principle-section {
  min-height: 640px;
  padding: 72px 0 64px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 35%, rgba(255, 255, 255, 0.68) 48%, rgba(255, 255, 255, 0.14) 68%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(247, 246, 242, 0.18)),
    url("../images/our-commitment-background.png");
  background-size: auto, auto, cover;
  background-position: center, center, center right;
  overflow: hidden;
}

.stories-section {
  padding-top: 54px;
}

.principle-layout {
  position: relative;
  display: block;
}

.principle-stack {
  display: grid;
  gap: 12px;
  max-width: 430px;
  margin-top: 22px;
}

.principle-heading {
  max-width: 520px;
}

.principle-heading .eyebrow {
  margin-bottom: 12px;
  color: var(--red);
}

.principle-heading h2 {
  max-width: 520px;
  font-size: clamp(2.05rem, 3.1vw, 3rem);
}

.principle-heading .lead {
  max-width: 470px;
  margin-top: 18px;
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.5;
}

.principle-stack article {
  min-height: auto;
  padding: 17px 22px;
  border: 1px solid rgba(34, 39, 46, 0.08);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 249, 246, 0.94));
  box-shadow: 0 14px 30px rgba(16, 24, 32, 0.055);
}

.principle-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(177, 13, 13, 0.08);
  color: var(--red);
}

.principle-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.principle-stack h3 {
  margin: 0;
  color: var(--graphite);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.18;
}

.principle-stack p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.34;
}

.section-head.centered {
  display: grid;
  justify-content: center;
  text-align: center;
}

.section-head.centered::before {
  display: none;
}

.section-head.centered .eyebrow {
  justify-content: center;
}

.section-head.centered .eyebrow::before {
  display: none;
}

.section-head.centered h2::after {
  content: "";
  width: 44px;
  height: 3px;
  display: block;
  margin: 16px auto 0;
  background: var(--red);
}

.section-head.centered .lead {
  max-width: 840px;
  margin: 18px auto 0;
}

.story-grid {
  align-items: stretch;
}

.story-card {
  min-height: 320px;
  padding: 30px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(34, 39, 46, 0.08);
  border-radius: var(--radius);
  background: var(--soft-white);
  box-shadow: var(--soft-shadow);
}

.story-card > strong {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 3.4rem;
  line-height: 0.8;
}

.story-card p {
  margin: 8px 0 28px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.5;
}

.story-card > div {
  padding-top: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid rgba(177, 13, 13, 0.18);
}

.mini-person {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 39, 46, 0.3);
  border-radius: 999px;
  color: var(--graphite);
}

.mini-person svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-card b {
  display: block;
  color: var(--red);
}

.story-card small {
  color: var(--muted);
}

.possible-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 52px;
  align-items: start;
}

.possible-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  height: 2px;
  background: var(--red);
  opacity: 0.7;
}

.possible-track article {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 96px auto;
  justify-items: center;
  align-items: start;
}

.possible-icon {
  width: 96px;
  height: 96px;
  border: 7px solid var(--graphite);
  box-shadow: 0 18px 34px rgba(177, 13, 13, 0.25);
}

.possible-track .possible-icon svg {
  width: 38px;
  height: 38px;
  stroke-width: 2.45;
}

.section.dark .possible-track p {
  width: 100%;
  height: 226px;
  margin: 18px 0 0;
  padding: 30px 24px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.97);
  color: var(--muted) !important;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.42;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.section.dark .possible-track b {
  color: var(--red) !important;
  font-weight: 700;
}

.icon-pill {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, var(--red)) 16%, white);
  color: var(--accent, var(--red));
}

.icon-pill svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
}

.media-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}

.media-split.align-start {
  align-items: start;
}

.programme-section .media-split {
  align-items: stretch;
}

.media-split.visual-priority {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
}

.media-split.about-foundation {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.06fr);
  align-items: stretch;
}

.media-frame {
  position: relative;
  min-height: 430px;
  border-radius: var(--radius);
  background-image: var(--image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(34, 39, 46, 0.08);
  isolation: isolate;
  overflow: hidden;
}

.media-frame.frame-large {
  min-height: 510px;
}

.media-frame.image-focus-right {
  background-position: right center;
}

.media-frame.home-intelligence-frame {
  border: 0;
  background-image: url("../images/analytics-consult.png");
  background-size: auto calc(100% + 28px);
  background-position: center calc(50% + 14px);
  box-shadow: 0 24px 58px rgba(16, 24, 32, 0.08);
}

.media-frame.home-intelligence-frame::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.34) 10%, rgba(255, 255, 255, 0) 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.62) 16%, rgba(255, 255, 255, 0.18) 36%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(247, 246, 242, 0.16));
}

.media-frame.digital-insights-frame {
  border: 0;
  background-image: url("../images/data-insights.png");
  background-position: 72% center;
  box-shadow: 0 24px 58px rgba(16, 24, 32, 0.08);
}

.media-frame.digital-insights-frame::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 56%, rgba(255, 255, 255, 0.48) 84%, rgba(255, 255, 255, 0.92) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(247, 246, 242, 0.18));
}

.media-frame.challenge-frame {
  min-height: 510px;
  border: 0;
  background-image: url("../images/risk-becomes-costly.png");
  background-position: center right;
  box-shadow: 0 24px 58px rgba(16, 24, 32, 0.08);
}

.media-frame.challenge-frame::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.46) 16%, rgba(255, 255, 255, 0.08) 34%, rgba(255, 255, 255, 0) 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(247, 246, 242, 0.18));
}

.media-frame.programme-frame {
  min-height: 0;
  height: 100%;
  border: 0;
  background-image: url("../images/results-grandpa.png");
  background-position: center right;
  box-shadow: 0 24px 58px rgba(16, 24, 32, 0.08);
}

.media-frame.programme-frame::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.12) 12%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(247, 246, 242, 0.12));
}

.media-frame.emma-app-frame {
  border: 0;
  background-color: transparent;
}

.media-frame.emma-app-frame::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(34, 39, 46, 0.08));
}

.about-foundation .media-frame {
  min-height: 560px;
  background-position: 92% center;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(0deg, rgba(34, 39, 46, 0.08), transparent 45%);
  pointer-events: none;
}

.image-band {
  min-height: 530px;
  padding: 80px 0;
  display: grid;
  align-items: end;
  background-image:
    linear-gradient(90deg, rgba(34, 39, 46, 0.9), rgba(34, 39, 46, 0.42), rgba(34, 39, 46, 0.12)),
    var(--image);
  background-size: cover;
  background-position: var(--band-position, center);
  color: var(--soft-white);
}

.page-snapshot {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius);
  background-image: var(--image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-snapshot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.08) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(34, 39, 46, 0.08));
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(177, 13, 13, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 800;
}

.image-band h2 {
  color: var(--soft-white);
}

.image-band .lead {
  color: rgba(255, 255, 255, 0.78);
}

.route-intelligence {
  position: relative;
  min-height: 680px;
  padding: 94px 0 86px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 28%, rgba(255, 255, 255, 0.48) 48%, rgba(255, 255, 255, 0.02) 82%),
    url("../images/home-visit-map.png");
  background-size: cover;
  background-position: center right;
}

.route-intelligence::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(rgba(177, 13, 13, 0.16) 1px, transparent 1.5px) left 26px bottom 32px / 13px 13px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(247, 246, 242, 0.66));
  pointer-events: none;
}

.route-intelligence-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(260px, 360px);
  gap: 34px;
  align-items: end;
}

.route-copy {
  max-width: 540px;
}

.route-copy h2 {
  max-width: 560px;
}

.route-copy .lead {
  color: var(--muted);
}

.route-metrics {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.route-metrics span,
.route-panel article {
  border: 1px solid rgba(34, 39, 46, 0.08);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(16, 24, 32, 0.08);
  backdrop-filter: blur(10px);
}

.route-metrics span {
  padding: 15px 18px;
  color: var(--muted);
  font-weight: 400;
}

.route-metrics b {
  color: var(--red);
}

.route-panel {
  display: grid;
  gap: 14px;
}

.route-panel article {
  padding: 20px 22px;
}

.route-panel strong {
  display: block;
  color: var(--graphite);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.2rem;
}

.route-panel span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.48;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(34, 39, 46, 0.1);
}

.stat {
  padding: 28px;
  background: var(--soft-white);
  transition: background 180ms ease;
}

.stat:hover {
  background: #fbfbf8;
}

.stat strong {
  display: block;
  color: var(--red);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  padding: 24px 24px 24px 76px;
  border: 1px solid rgba(34, 39, 46, 0.1);
  border-radius: var(--radius);
  background: var(--soft-white);
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.05);
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--soft-white);
  font-size: 0.8rem;
  font-weight: 900;
}

.service-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.service-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--red);
}

.feature-panel {
  position: relative;
  padding: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.feature-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--red);
}

.ecosystem-image {
  width: min(1180px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 24px 54px rgba(0, 0, 0, 0.16));
}

.architecture-panel {
  padding: 24px;
  border: 1px solid rgba(34, 39, 46, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.journey-value-showcase {
  display: grid;
  grid-template-columns: minmax(390px, 0.78fr) minmax(620px, 1.22fr);
  gap: 48px;
  align-items: stretch;
}

.journey-value-head h2 {
  max-width: 680px;
}

.journey-value-showcase .timeline {
  margin-top: 0;
}

.journey-value-art {
  position: relative;
  min-height: 0;
  border-radius: var(--radius);
  background-image: url("../images/journey-value.png");
  background-color: #fbfaf7;
  background-size: cover;
  background-position: 100% center;
  background-repeat: no-repeat;
  box-shadow: 0 24px 58px rgba(16, 24, 32, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.journey-value-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 246, 242, 0.72) 0%, rgba(247, 246, 242, 0.36) 13%, rgba(247, 246, 242, 0.08) 30%, rgba(247, 246, 242, 0) 52%),
    linear-gradient(180deg, rgba(247, 246, 242, 0.2) 0%, rgba(247, 246, 242, 0) 12%, rgba(247, 246, 242, 0) 88%, rgba(247, 246, 242, 0.18) 100%);
  pointer-events: none;
}

.phone-art {
  border-radius: var(--radius);
  background: var(--soft-white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(34, 39, 46, 0.08);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 44px;
  align-items: stretch;
}

.contact-reach-section {
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 1)),
    radial-gradient(rgba(177, 13, 13, 0.1) 1px, transparent 1.5px);
  background-size: auto, 13px 13px;
}

.contact-reach-section::before {
  content: none;
}

.contact-reach-section .contact-layout::before {
  content: "";
  position: absolute;
  inset: 0 0 0 690px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.52) 18%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(270deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0) 18%),
    url("../images/contact-heart-background.png");
  background-size: auto, auto, contain;
  background-position: center, center, 58% center;
  background-repeat: no-repeat;
  box-shadow: 0 22px 54px rgba(16, 24, 32, 0.04);
  z-index: 0;
}

.contact-reach-section .contact-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 650px);
  justify-content: start;
  min-height: 520px;
  align-items: stretch;
}

.contact-reach-section .contact-card {
  position: relative;
  z-index: 1;
}

.contact-layout-single {
  grid-template-columns: minmax(0, 880px);
  justify-content: center;
}

.contact-card {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--soft-white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(34, 39, 46, 0.08);
}

.contact-card-feature {
  padding: clamp(34px, 5vw, 54px);
  background:
    radial-gradient(rgba(177, 13, 13, 0.13) 1px, transparent 1.5px) right 28px top 28px / 13px 13px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 249, 246, 0.94));
}

.contact-visual {
  min-height: 460px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.24) 26%, rgba(255, 255, 255, 0) 52%),
    url("../images/contact-heart-background.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 54px rgba(16, 24, 32, 0.055);
  border: 1px solid rgba(34, 39, 46, 0.06);
}

.contact-card-feature h2 {
  max-width: none;
  white-space: nowrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin-top: 24px;
}

.contact-row {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(34, 39, 46, 0.1);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.address-lines {
  line-height: 1.45;
}

.email-card {
  min-height: 100%;
  display: grid;
  align-content: center;
}

.email-card .lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
}

.email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-brief-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-brief-list article {
  padding: 16px 18px;
  border: 1px solid rgba(34, 39, 46, 0.08);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.contact-brief-list strong {
  display: block;
  color: var(--graphite);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
}

.contact-brief-list span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--graphite);
  font-size: 0.82rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(34, 39, 46, 0.16);
  border-radius: var(--radius);
  background: var(--soft-white);
  padding: 13px 14px;
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(177, 13, 13, 0.1);
  outline: none;
}

.field textarea {
  min-height: 136px;
  resize: vertical;
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(177, 13, 13, 0.12), transparent 38%),
    var(--graphite);
  color: var(--soft-white);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 34px;
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(150px, 1fr));
  gap: 34px;
}

.site-footer .brand-tag,
.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  transition: color 180ms ease;
}

.site-footer .brand-mark {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.22));
}

.site-footer .brand-name {
  background-image: url("../images/biofitt-wordmark-light.png");
}

.site-footer .footer-inner > div:first-child > p,
.mobile-menu .micro {
  font-family: "Brittany Signature", "Great Vibes", "Segoe Script", "Brush Script MT", cursive;
  font-size: 1.45rem;
  line-height: 1.2;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #a21c21;
  color: var(--soft-white);
  box-shadow: 0 10px 22px rgba(162, 28, 33, 0.18);
}

.social-icon svg {
  width: 23px;
  height: 23px;
  fill: var(--soft-white);
  stroke: var(--soft-white);
  stroke-width: 1.7;
}

.social-linkedin svg,
.social-youtube svg,
.social-tiktok svg {
  width: 24px;
  height: 24px;
  stroke: none;
}

.social-instagram svg {
  fill: none;
  stroke-width: 1.8;
}

.social-instagram svg circle:last-child {
  fill: var(--soft-white);
  stroke: none;
}

.social-website svg {
  fill: none;
}

.site-footer a:hover {
  color: var(--soft-white);
}

.site-footer h3 {
  margin-bottom: 14px;
  color: var(--soft-white);
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1160px) {
  .desktop-nav,
  .header-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-content,
  .media-split,
  .app-showcase,
  .journey-value-showcase,
  .contact-layout,
  .route-intelligence-inner {
    grid-template-columns: 1fr;
  }

  .contact-layout-single {
    justify-content: stretch;
  }

  .contact-reach-section {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 1)),
      radial-gradient(rgba(177, 13, 13, 0.1) 1px, transparent 1.5px);
    background-size: auto, 13px 13px;
  }

  .contact-reach-section::before {
    content: none;
  }

  .contact-reach-section .contact-layout::before {
    inset: 0 -120px 0 24%;
    opacity: 0.86;
  }

  .contact-visual {
    min-height: 330px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    min-height: 260px;
    background-position: center right;
  }

  .media-split.visual-priority,
  .media-split.about-foundation {
    grid-template-columns: 1fr;
  }

  .media-split.about-foundation {
    align-items: start;
  }

  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-strip,
  .grid-4,
  .stat-grid,
  .possible-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .principle-layout {
    max-width: 540px;
  }

  .principle-section {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.94) 48%, rgba(255, 255, 255, 0.52) 74%, rgba(255, 255, 255, 0.12) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(247, 246, 242, 0.2)),
      url("../images/our-commitment-background.png");
    background-size: auto, auto, cover;
    background-position: center, center, center right;
  }

  .route-intelligence {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.86) 48%, rgba(255, 255, 255, 0.32) 100%),
      url("../images/home-visit-map.png");
    background-size: cover;
    background-position: center right;
  }

  .route-panel {
    max-width: 560px;
  }

  .principle-image,
  .principle-image img {
    height: 360px;
    min-height: 360px;
    max-height: 380px;
  }

  .media-frame.programme-frame {
    min-height: 430px;
    height: auto;
  }

  .possible-track::before {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .contact-card-feature h2 {
    white-space: normal;
  }

  .script-line {
    width: auto;
    white-space: normal;
    text-wrap: balance;
  }

  .site-header {
    height: 68px;
  }

  .nav-shell,
  .wrap,
  .hero-content,
  .quick-strip,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 28px, var(--max));
  }

  .brand-tag {
    display: none;
  }

  .mobile-menu {
    top: 68px;
    grid-template-columns: 1fr;
  }

  .mobile-menu-inner {
    grid-column: 1;
    padding: 26px;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 58px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.86)),
      linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(247, 246, 242, 0.95) 100%);
  }

  .hero-content::before,
  .section-head::before {
    display: none;
  }

  .hero-panel,
  .quick-strip,
  .grid-2,
  .grid-3,
  .grid-4,
  .stat-grid,
  .possible-track {
    grid-template-columns: 1fr;
  }

  .quick-strip {
    margin-top: 0;
  }

  .quick-item:hover,
  .card:hover {
    transform: none;
  }

  .section {
    padding: 70px 0;
  }

  .about-values-section {
    padding: 28px 0;
  }

  .principle-section {
    min-height: auto;
    padding: 56px 0 42px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
      url("../images/our-commitment-background.png");
    background-size: auto, cover;
    background-position: center, center right;
  }

  .stories-section {
    padding-top: 48px;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .media-frame {
    min-height: 290px;
  }

  .media-frame.programme-frame {
    min-height: 330px;
    height: auto;
  }

  .journey-value-art {
    min-height: 420px;
  }

  .about-value-card {
    min-height: auto;
    padding: 32px 24px;
  }

  .principle-layout {
    max-width: none;
  }

  .principle-heading {
    max-width: none;
  }

  .principle-image,
  .principle-image img {
    height: 310px;
    min-height: 310px;
    max-height: 330px;
  }

  .principle-stack article {
    min-height: auto;
    padding: 16px 18px;
  }

  .story-card {
    min-height: auto;
  }

  .possible-track {
    gap: 24px;
  }

  .possible-track article {
    grid-template-rows: 74px auto;
  }

  .possible-icon {
    width: 74px;
    height: 74px;
    border-width: 6px;
  }

  .section.dark .possible-track p {
    height: auto;
  }

  .about-foundation .media-frame {
    min-height: 360px;
    background-position: 90% center;
  }

  .image-band {
    min-height: 460px;
  }

  .route-intelligence {
    min-height: auto;
    padding: 78px 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 56%, rgba(255, 255, 255, 0.54) 100%),
      url("../images/home-visit-map.png");
    background-size: cover;
    background-position: 64% center;
  }

  .route-intelligence-inner {
    gap: 26px;
  }

  .route-metrics span,
  .route-panel article {
    background: rgba(255, 255, 255, 0.92);
  }

  .footer-inner,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
