/* RP Biotech — design system layer on top of Bootstrap grid/utilities.
   Tokens first; components below only use tokens. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand + neutrals (all text pairings verified >= 4.5:1) */
  --navy-950: #04152a;
  --navy-900: #061a30;
  --navy-800: #0a2a4a;
  --brand: #0a4d8c;
  --brand-600: #0b61ae;
  --brand-700: #083d70;
  --cyan: #0e8fc9;
  --cyan-300: #7dd3fc;
  --cyan-100: #d8f1fd;
  --ink: #0e2438;
  --muted: #4a6072;
  --line: #d8e2ea;
  --surface: #f3f7fb;
  --surface-2: #e8f0f7;
  --white: #fff;
  --focus: #0a6aa1;

  --grad-brand: linear-gradient(135deg, #0a4d8c 0%, #0c7bc4 100%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(6 26 48 / .06), 0 4px 14px rgb(6 26 48 / .05);
  --shadow-md: 0 2px 4px rgb(6 26 48 / .05), 0 14px 34px rgb(6 26 48 / .10);
  --shadow-lg: 0 30px 70px -20px rgb(6 26 48 / .35);
  --ease: cubic-bezier(.22, .8, .24, 1);

  --header-h: 76px;
  --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--muted);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.65;
  --bs-border-color: var(--line);
  --bs-link-color: var(--brand);
  --bs-link-hover-color: var(--brand-700);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { background: var(--white); cursor: default; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body * { cursor: default; }
[hidden] { display: none !important; }
.container { max-width: 1200px; padding-right: 24px; padding-left: 24px; }
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.035em; margin-bottom: 1.2rem; }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
p { text-wrap: pretty; }
a { text-underline-offset: 4px; }
a, button, [role="button"], select, summary { cursor: pointer; }
a, button, input, textarea { touch-action: manipulation; }
input, textarea { cursor: text; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { box-shadow: none !important; }
::selection { background: var(--cyan-100); color: var(--navy-900); }

.section-space { padding: clamp(72px, 9vw, 120px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.eyebrow:not(.mb-0)::before { content: ""; width: 28px; height: 2px; background: var(--cyan); border-radius: 2px; }
.eyebrow.light { color: var(--cyan-300); }
.eyebrow.light::before { background: var(--cyan-300); }
.section-heading { margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p:last-child { max-width: 440px; font-size: 1.05rem; }
.section-lead { color: var(--ink); font-size: 1.15rem; line-height: 1.7; max-width: 500px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: .94rem; transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-600); --bs-btn-hover-border-color: var(--brand-600); --bs-btn-active-bg: var(--brand-700); --bs-btn-active-border-color: var(--brand-700); --bs-btn-disabled-bg: #5c7081; --bs-btn-disabled-border-color: #5c7081; --bs-btn-disabled-opacity: 1; box-shadow: 0 8px 20px -6px rgb(10 77 140 / .55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -8px rgb(10 77 140 / .6); }
.btn-outline-secondary { --bs-btn-color: var(--muted); --bs-btn-border-color: #7d92a2; --bs-btn-disabled-color: var(--muted); --bs-btn-disabled-border-color: #9db0be; --bs-btn-disabled-opacity: 1; }
.btn-outline-primary { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); }
.btn:disabled { cursor: not-allowed; }
.skip-link { position: fixed; left: 16px; top: 0; transform: translateY(-150%); background: #fff; color: var(--ink); font-weight: 600; padding: 12px 20px; border-radius: 0 0 10px 10px; box-shadow: var(--shadow-md); z-index: 1100; }
.skip-link:focus { transform: translateY(0); }

/* Icon chips */
.icon-chip { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); color: var(--brand); }
.icon-chip svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-chip.lg { width: 56px; height: 56px; border-radius: 16px; background: var(--grad-brand); color: #fff; box-shadow: 0 10px 22px -8px rgb(10 77 140 / .6); }
.icon-chip.lg svg { width: 26px; height: 26px; }
.icon-chip.dark { background: rgb(255 255 255 / .1); color: var(--cyan-300); border: 1px solid rgb(255 255 255 / .14); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1020; background: rgb(255 255 255 / .86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgb(216 226 234 / .8); transition: box-shadow .25s var(--ease), background-color .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgb(6 26 48 / .08); background: rgb(255 255 255 / .94); }
.navbar { padding: 10px 0; min-height: var(--header-h); }
.navbar-brand { margin: 0; padding: 0; }
.navbar-brand img, .footer-logo img { display: block; width: 176px; height: auto; }
.nav-link { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 14px !important; color: var(--ink); font-size: .94rem; font-weight: 600; transition: color .2s; }
.nav-link:hover { color: var(--brand-600); }
.navbar-nav .nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: var(--brand); }
.navbar-toggler { min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; }
html:not(.nav-enhanced) .navbar-collapse { display: block !important; }
html:not(.nav-enhanced) .navbar-toggler { display: none; }

/* Hero */
.hero-showcase { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; user-select: none; }
.tagline-strip { padding: 9px 16px; text-align: left; background: var(--navy-950); }
.tagline-strip .container { display: block; }
.tagline-strip h1 { color: var(--cyan-100); font-size: .78rem; font-weight: 700; line-height: 1.5; letter-spacing: .24em; text-transform: uppercase; margin: 0; }
.tagline-strip .container > span { display: none; }
.hero-showcase .carousel-inner { position: relative; overflow: hidden; }
.hero-showcase .carousel-item { position: absolute; inset: 0; display: block; float: none; width: 100%; height: clamp(560px, calc(100svh - 200px), 720px); margin: 0; transform: none; opacity: 0; pointer-events: none; background: var(--navy-950); overflow: hidden; transition: opacity .9s ease-in-out; }
.hero-showcase .carousel-item.active { position: relative; z-index: 10; opacity: 1; pointer-events: auto; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.001); }
.carousel-item.active .hero-image { animation: kenburns 7s ease-out both; }
@keyframes kenburns { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero-scrim { position: absolute; z-index: 1; inset: 0; background:
  linear-gradient(180deg, rgb(4 21 42 / .66) 0%, rgb(4 21 42 / .08) 28%, rgb(4 21 42 / .12) 55%, rgb(4 21 42 / .9) 100%),
  linear-gradient(90deg, rgb(4 21 42 / .96) 0%, rgb(4 21 42 / .82) 42%, rgb(4 21 42 / .38) 100%); }
.hero-content { position: relative; z-index: 15; display: flex; align-items: center; height: 100%; padding-top: 24px; padding-bottom: 150px; }
.hero-click-zone { position: absolute; top: 0; bottom: 0; width: 8%; min-width: 44px; max-width: 90px; z-index: 20; cursor: pointer; outline: none; }
.hero-click-zone.left { left: 0; }
.hero-click-zone.right { right: 0; }
.hero-text { max-width: 700px; }
.hero-text .eyebrow { margin-bottom: 26px; padding: 7px 14px 7px 10px; border: 1px solid rgb(125 211 252 / .35); border-radius: 999px; background: rgb(4 21 42 / .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .74rem; }
.hero-text .eyebrow::before { display: none; }
.hero-rule { width: 22px; height: 2px; background: var(--cyan-300); flex-shrink: 0; }
.hero-text h2 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.75rem); line-height: 1.03; letter-spacing: -.045em; margin-bottom: 24px; text-shadow: 0 2px 30px rgb(4 21 42 / .4); }
.hero-text h2 span { background: linear-gradient(90deg, #9be3ff, #4cc3f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-description { max-width: 500px; font-size: 1.15rem; color: #dfeaf4; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-actions .hero-primary { color: var(--navy-900); border-color: #fff; background: #fff; box-shadow: 0 14px 32px -10px rgb(0 0 0 / .6); }
.hero-actions .hero-primary:hover { color: var(--navy-900); border-color: var(--cyan-100); background: var(--cyan-100); transform: translateY(-2px); }
.hero-text-link { color: #fff; font-size: .94rem; font-weight: 600; display: inline-flex; gap: 12px; align-items: center; min-height: 48px; padding: 11px 24px; border: 1.5px solid rgb(255 255 255 / .55); border-radius: 999px; text-decoration: none; transition: background-color .2s, border-color .2s; }
.hero-text-link:hover { color: #fff; border-color: #fff; background: rgb(255 255 255 / .14); }
/* Staggered entrance for the active slide */
.carousel-item.active .hero-text > * { animation: rise .8s var(--ease) both; }
.carousel-item.active .hero-text > :nth-child(2) { animation-delay: .08s; }
.carousel-item.active .hero-text > :nth-child(3) { animation-delay: .16s; }
.carousel-item.active .hero-text > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero-control-bar { position: absolute; z-index: 30; right: 0; bottom: 78px; left: 0; pointer-events: none; }
.hero-control-bar .container { position: relative; display: flex; justify-content: flex-end !important; align-items: center; pointer-events: none; }
.hero-territory { position: absolute; top: 50%; left: 24px; transform: translateY(-50%); display: block; font-size: .9rem; color: #cfe0ee; }
.hero-territory strong { color: #fff; }
.hero-controls { display: flex; align-items: center; justify-content: center; gap: 7px; pointer-events: auto; }
.hero-capsule { display: flex; align-items: center; gap: 3px; padding: 3px 10px; border: 1px solid rgb(255 255 255 / .16); border-radius: 999px; background: rgb(4 21 42 / .66); box-shadow: 0 8px 24px -8px rgb(0 0 0 / .48); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.arrow-control { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgb(255 255 255 / .16); border-radius: 50%; color: rgb(255 255 255 / .88); background: rgb(4 21 42 / .66); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .2s, transform .2s var(--ease); }
.arrow-control:hover { background: rgb(255 255 255 / .2); transform: scale(1.06); }
.arrow-control:focus-visible, .pause-control:focus-visible, .slide-selectors button:focus-visible { outline: 3px solid var(--cyan-300); outline-offset: 2px; }
.arrow-control svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pause-control { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; color: rgb(255 255 255 / .88); background: transparent; transition: background-color .2s; }
.pause-control:hover { background: rgb(255 255 255 / .16); }
.rotation-icon { position: relative; display: block; width: 16px; height: 16px; }
.rotation-icon::before { content: ""; position: absolute; top: 2px; bottom: 2px; left: 3px; width: 3.5px; border-radius: 1px; background: currentColor; box-shadow: 6px 0 currentColor; }
.pause-control[aria-pressed="true"] .rotation-icon::before { top: 1px; left: 4px; bottom: auto; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid currentColor; border-radius: 0; background: none; box-shadow: none; }
.slide-selectors { display: flex; align-items: center; }
.slide-selectors button { width: 25px; height: 40px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; }
.slide-selectors button span { display: block; width: 8px; height: 8px; border-radius: 999px; background: #8fa6bb; transition: width .3s var(--ease), background-color .2s; }
.slide-selectors button[aria-current="true"] span { width: 28px; background: var(--cyan-300); }
.slide-count { padding: 0 3px 0 10px; border-left: 1px solid rgb(255 255 255 / .16); font-size: .68rem; font-weight: 500; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: rgb(227 238 247 / .62); white-space: nowrap; }

.industry-bar { padding: 44px 0 4px; }
.industry-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.industry-list li { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid #d6e4ed; border-radius: 999px; background: linear-gradient(180deg, #fff, #f9fcfe); color: var(--ink); font-size: .92rem; font-weight: 600; box-shadow: 0 5px 16px rgb(6 26 48 / .045); transition: border-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.industry-list li:hover { transform: translateY(-2px); border-color: #a9cbe0; box-shadow: var(--shadow-sm); }
.industry-list svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* About */
.team-photo { position: relative; }
.team-photo::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: var(--radius-lg); background: var(--grad-brand); opacity: .14; z-index: 0; }
.team-photo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.team-photo figcaption { position: relative; z-index: 1; font-size: .9rem; font-weight: 500; margin-top: 20px; padding-left: 14px; border-left: 3px solid var(--cyan); color: var(--ink); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 72px; }
.principles li { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid #e1e9ef; border-radius: var(--radius); background: linear-gradient(145deg, #fff, #f6f9fc); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.principles li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: #fff; }
.principles li > span:last-child { font-size: 1rem; color: var(--ink); font-weight: 600; line-height: 1.35; }

/* Services */
.capabilities-section { background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); }
.capability-card { position: relative; overflow: hidden; background: linear-gradient(155deg, #fff 0%, #fff 76%, #f8fbfd 100%); border: 1px solid #dce6ed; border-radius: var(--radius-lg); padding: 34px 30px 0; display: flex; flex-direction: column; box-shadow: 0 8px 26px rgb(6 26 48 / .055); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.capability-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-brand); transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease); }
.capability-card:hover { transform: translateY(-6px); box-shadow: 0 20px 42px -18px rgb(6 26 48 / .24); border-color: #b9d3e6; }
.capability-card:hover::before { transform: scaleX(1); }
.capability-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.capability-tag { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); color: var(--brand-700); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: right; line-height: 1.3; }
.capability-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.capability-description { font-size: .98rem; min-height: 52px; margin-bottom: 22px; }
.capability-list { list-style: none; padding: 0; margin: 0 0 30px; font-size: .96rem; color: #2f4a5f; }
.capability-list li { position: relative; padding-left: 30px; margin-bottom: 14px; line-height: 1.5; }
.capability-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--cyan-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a4d8c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.capability-footer { margin: auto -30px 0; padding: 18px 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; border-top: 1px solid var(--line); background: var(--surface); font-size: .86rem; min-height: 64px; }
.footer-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.capability-footer a { color: var(--brand); text-decoration: none; font-weight: 600; padding: 6px 0; }
.capability-footer a:hover { text-decoration: underline; }
.cta-link { font-size: .96rem; }
.business-strip { display: flex; align-items: center; gap: 32px; padding: 26px 32px; margin-top: 48px; border-radius: var(--radius); background: var(--navy-900); }
.business-strip .eyebrow { color: var(--cyan-300); flex-shrink: 0; }
.business-strip ul { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; justify-content: flex-end; }
.business-strip li { padding: 9px 18px; border: 1px solid rgb(255 255 255 / .2); border-radius: 999px; color: #fff; font-size: .9rem; font-weight: 600; background: rgb(255 255 255 / .05); }

/* Brands */
.brand-link { position: relative; height: 100%; min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 28px; border: 1px solid #e0e8ee; border-radius: var(--radius); background: linear-gradient(155deg, #fff, #fbfdfe); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.brand-link:hover, .brand-link:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #91cde8; }
.brand-link img { display: block; max-width: 88%; width: 220px; height: 68px; object-fit: contain; }
.brand-visit { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; border: 1px solid #dce8ef; border-radius: 999px; background: #f7fafc; font-size: .82rem; font-weight: 600; color: var(--brand); transition: color .2s, background-color .2s, border-color .2s; }
.brand-link:hover .brand-visit, .brand-link:focus-visible .brand-visit { color: #fff; border-color: var(--brand); background: var(--brand); }

/* Clients */
.clients-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.client-heading { margin-bottom: 40px; }
.client-heading h2 { margin-bottom: 10px; }
.client-context { font-size: 1.02rem; }
.client-count { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font-size: .9rem; font-weight: 600; }
.client-count span { color: var(--brand); font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.client-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.client-card { min-width: 0; min-height: 144px; padding: 20px 14px 16px; background: linear-gradient(160deg, #fff, #fbfcfd); border: 1px solid #e0e8ee; border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; box-shadow: 0 4px 14px rgb(6 26 48 / .035); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s var(--ease); }
.client-card:hover { transform: translateY(-4px); border-color: #a9cbe0; box-shadow: var(--shadow-md); }
.client-card img { display: block; width: 100%; max-width: 172px; height: 52px; object-fit: contain; opacity: .94; transition: transform .3s var(--ease), opacity .3s; }
.client-card:hover img { opacity: 1; transform: scale(1.04); }
.client-card > span { color: var(--muted); font-size: .82rem; line-height: 1.35; font-weight: 600; text-align: center; }
.client-help { font-size: .84rem; color: var(--muted); }

/* Contact (dark) */
.contact-section { position: relative; overflow: hidden; color: #c4d6e6; background: radial-gradient(900px 500px at 85% -10%, rgb(14 143 201 / .35), transparent 60%), radial-gradient(700px 500px at -10% 110%, rgb(11 97 174 / .4), transparent 60%), var(--navy-900); }
.contact-section::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .09) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.contact-section .container { position: relative; }
.contact-section h2 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.contact-lead { font-size: 1.15rem; color: #d3e2ee; }
.office { display: flex; gap: 16px; margin-top: 28px; }
.office h3 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.office address { font-size: .98rem; font-style: normal; margin-bottom: 0; color: #c4d6e6; }
#direct-contact { margin-top: 26px; }
#direct-contact a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: 1.1rem; font-weight: 700; text-decoration-color: var(--cyan-300); text-decoration-thickness: 2px; }
#direct-contact a:hover { color: var(--cyan-300); }
.social-controls .btn { --bs-btn-color: #e6f0f8; --bs-btn-border-color: rgb(255 255 255 / .35); --bs-btn-disabled-color: #b8cddd; --bs-btn-disabled-border-color: rgb(255 255 255 / .3); --bs-btn-hover-bg: rgb(255 255 255 / .12); --bs-btn-hover-color: #fff; }
.social-letter { font-weight: 800; font-size: 1.05rem; color: var(--cyan-300); }
#social-note { color: #b8cddd; }
.optional { font-size: .82rem; font-weight: 500; color: var(--muted); }
.inquiry-panel { color: var(--muted); padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6); }
.form-title { font-size: 1.7rem; margin-bottom: 6px; }
.inquiry-confirmation { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 8px; text-align: center; }
.confirmation-check { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 26px; border-radius: 50%; background: #0f7a4a; color: #fff; }
.confirmation-check svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.inquiry-confirmation h3 { margin-bottom: 8px; font-size: 1.5rem; }
.inquiry-confirmation > p:not(.confirmation-fallback) { max-width: 560px; margin-bottom: 22px; font-size: .98rem; }
.confirmation-fallback { margin: 22px 0 0; font-size: .86rem; }
.form-label { font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-control { min-height: 50px; padding: 12px 16px; border: 1.5px solid #7d92a2; border-radius: var(--radius-sm); color: var(--ink); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.form-control:hover { border-color: var(--brand); }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(14 143 201 / .22) !important; outline: 0; }
.form-control:user-invalid { border-color: #b42318; }
.form-control:disabled { background: #f3f6f9; border-color: #b3c2cd; }
.form-status { padding-left: 12px; border-left: 3px solid var(--cyan); color: var(--muted); }
.form-status[data-state="error"] { border-color: #b42318; color: #9a1d13; }
.form-status[data-state="success"] { border-color: #0f7a4a; color: #0b6339; }

/* Footer */
.site-footer { padding: 48px 0 0; background: var(--navy-950); color: #b9cde0; border-top: 1px solid rgb(125 211 252 / .18); }
.site-footer .footer-logo img { filter: brightness(0) invert(1); }
.footer-tagline { color: #c4d6e6; max-width: 300px; margin-bottom: 16px !important; }
.footer-heading { margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-300); }
.footer-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 6px; }
.footer-item svg { flex: none; width: 20px; height: 20px; margin-top: 4px; fill: none; stroke: var(--cyan-300); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-item address { margin: 0; font-style: normal; color: #dbe8f3; line-height: 1.6; }
.footer-item a { display: inline-flex; align-items: center; min-height: 34px; color: #fff; font-weight: 600; }
.footer-links li a { display: inline-flex; align-items: center; min-height: 34px; font-size: .96rem; font-weight: 500; color: #dbe8f3; text-decoration: none; }
.site-footer a:hover { color: var(--cyan-300); text-decoration: underline; }
.footer-social { display: flex; gap: 12px; }
.social-icon { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgb(255 255 255 / .3); border-radius: 50%; background: rgb(255 255 255 / .06); color: #fff; transition: background-color .2s, border-color .2s, transform .2s var(--ease), color .2s; }
.social-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a.social-icon:hover { background: #fff; color: var(--navy-900); border-color: #fff; transform: translateY(-3px); text-decoration: none; }
.social-icon:disabled { color: #b8cddd; border-style: dashed; cursor: not-allowed; }
.footer-bottom { display: flex; align-items: center; padding: 8px 0; border-top: 1px solid rgb(255 255 255 / .12); margin-top: 32px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .88rem; color: #dbe8f3; text-decoration: none; }

/* Scroll reveal (only when JS is running; content is visible otherwise) */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
  :root { --header-h: 68px; }
  .navbar-collapse { padding: 12px 0 8px; }
  .navbar-nav .btn { margin-top: 10px; width: 100%; }
  .hero-showcase .carousel-item { height: clamp(600px, calc(100svh - 190px), 700px); }
  .hero-control-bar .container { justify-content: center !important; }
  .hero-territory { display: none; }
  .industry-list { justify-content: flex-start; }
  .principles { grid-template-columns: 1fr; margin-top: 56px; }
  .capability-description { min-height: 0; }
  .business-strip { align-items: flex-start; flex-direction: column; gap: 16px; }
  .business-strip ul { justify-content: flex-start; }
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-photo::before { inset: 16px -8px -12px 16px; }
}
@media (max-width: 575.98px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .navbar-brand img { width: 150px; }
  .tagline-strip h1 { font-size: .68rem; letter-spacing: .14em; }
  .hero-content { padding-bottom: 150px; }
  .hero-text .eyebrow { font-size: .68rem; letter-spacing: .1em; }
  .hero-text h2 { font-size: clamp(2.35rem, 11.5vw, 3.1rem); }
  .hero-description { font-size: 1.02rem; margin-bottom: 28px; }
  .hero-image { object-position: 62% center; }
  .hero-actions .btn, .hero-text-link { flex: 1 1 100%; }
  .hero-control-bar { bottom: 70px; }
  .industry-list li { font-size: .86rem; padding: 9px 14px; }
  .capability-card { padding: 28px 24px 0; }
  .capability-footer { margin: auto -24px 0; padding: 16px 24px; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .client-card { min-height: 128px; padding: 16px 10px 12px; }
  .client-card img { height: 46px; }
  .client-card > span { font-size: .78rem; }
  .business-strip { padding: 22px 20px; }
  .office { gap: 14px; }
  .inquiry-panel { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
  .industry-list li:hover, .principles li:hover, .capability-card:hover, .brand-link:hover, .brand-link:focus-visible, .client-card:hover { transform: none; }
}
