:root {
  --navy: #082a4a;
  --navy-2: #114f7f;
  --navy-3: #2d6f9f;
  --gold: #dfbb53;
  --gold-hover: #ebd07e;
  --gold-border: #c8a53b;
  --ink: #142435;
  --muted: #4b6071;
  --line: #cfd9e2;
  --surface: #ffffff;
  --surface-soft: #f4f8fb;
  --shadow: 0 18px 42px rgba(8, 42, 74, 0.14);
  --shadow-soft: 0 10px 24px rgba(8, 42, 74, 0.08);
  --container: min(1200px, 92vw);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html.motion-off { scroll-behavior: auto; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fcfdff, #f4f7fa 55%, #fff);
  line-height: 1.6;
}
button, input, select, textarea { font: inherit; }
p, li { text-align: justify; text-justify: inter-word; }
img { display: block; max-width: 100%; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(223, 187, 83, 0.85); outline-offset: 3px; }
.container { width: var(--container); margin-inline: auto; }

.topbar {
  background: #071d33;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.42rem 0;
}
.motion-wrap { display: flex; align-items: center; gap: 0.7rem; font-weight: 800; }
.motion-switch {
  display: inline-flex;
  padding: 0.16rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}
.motion-switch button {
  border: 0;
  border-radius: 10px;
  padding: 0.42rem 0.82rem;
  background: transparent;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.motion-switch button.active { background: var(--gold); color: #1b2735; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(8, 42, 74, 0.08);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0;
}
.brand { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.brand-logo {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark strong { display: block; color: var(--navy); font-size: 1.15rem; line-height: 1.1; }
.brand-mark small { display: block; color: var(--muted); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 1rem; }
.nav-links > a, .nav-parent > button {
  border: 0;
  background: none;
  color: var(--navy);
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
}
.nav-parent { position: relative; }
.subnav {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  display: none;
  min-width: 370px;
  padding: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.nav-parent:hover .subnav, .nav-parent:focus-within .subnav { display: block; }
.subnav a { display: block; padding: 0.8rem 0.9rem; border-radius: 12px; color: var(--ink); font-weight: 700; }
.subnav a:hover { background: #f4f8fb; text-decoration: none; }
.subnav a small { display: block; margin-top: 0.15rem; color: var(--muted); font-weight: 700; line-height: 1.35; }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-size: 1.15rem;
  cursor: pointer;
}
.mobile-panel { display: none; padding: 0 0 1rem; border-top: 1px solid var(--line); }
.mobile-panel.open { display: flex; flex-direction: column; gap: 0.7rem; }
.mobile-panel a, .mobile-panel summary { padding: 0.35rem 0; color: var(--ink); font-weight: 800; }
.mobile-panel details { padding-bottom: 0.45rem; border-bottom: 1px solid var(--line); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.88rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--gold);
  color: #1c2836 !important;
  border-color: var(--gold-border);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--gold-hover); }
.book-consult-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--gold) !important;
  color: #1c2836 !important;
  border-color: var(--gold-border) !important;
  box-shadow: 0 10px 24px rgba(90, 67, 12, 0.22);
}
.book-consult-btn::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -45%;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  transform: translateX(-180%) skewX(-18deg);
  transition: transform 0.48s ease;
}
.book-consult-btn:hover,
.book-consult-btn:focus-visible {
  background: var(--gold-hover) !important;
  color: #172332 !important;
  border-color: #b79228 !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(90, 67, 12, 0.3);
  text-decoration: none;
}
.book-consult-btn:hover::after,
.book-consult-btn:focus-visible::after { transform: translateX(520%) skewX(-18deg); }
.btn-secondary { background: var(--navy); color: #fff !important; }
.btn-secondary:hover { background: #0f395f; }
.btn-ghost-light { background: #fff; color: var(--navy) !important; border-color: var(--line); }
.btn-ghost-light:hover { background: #f8fbfe; }
.btn-ghost-dark { background: rgba(255, 255, 255, 0.12); color: #fff !important; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.8rem;
  border-radius: 10px;
  background: #f4ead0;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow::before { content: "★"; color: #8a6a17; font-size: 0.82em; line-height: 1; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 88% 18%, rgba(255, 242, 192, 0.18), transparent 18%), linear-gradient(135deg, var(--navy), #114f7f 56%, #2b6f9c);
}
.hero-grid, .page-hero-grid, .split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}
.hero-grid { padding: 5.2rem 0 4.5rem; }
.page-hero {
  background: radial-gradient(circle at 86% 18%, rgba(255, 246, 210, 0.58), transparent 15%), linear-gradient(180deg, #f7fbff, #e8f1f9);
  border-bottom: 1px solid var(--line);
}
.page-hero-grid { padding: 3.4rem 0; }
.hero h1, .page-hero h1 {
  margin: 1rem 0;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero p, .page-hero p { max-width: 68ch; font-size: 1.06rem; }
.hero p { color: rgba(255, 255, 255, 0.95); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.5rem 0 2rem; }

.hero-callout, .grid2, .grid3, .detail-grid, .interlink-row, .book-row, .form-grid, .stat-grid {
  display: grid;
  gap: 1rem;
}
.hero-callout, .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid2, .detail-grid, .form-grid, .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metric {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}
.metric strong { display: block; color: #ffe289; font-size: 1.2rem; }
.metric span { display: block; color: #fff; }

.card, .page-panel, .service-detail, .detail-box, .split-media, .form-shell, .link-node {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}
.card, .service-detail, .detail-box, .link-node { padding: 1.2rem; }
.page-panel, .split-media, .form-shell { padding: 1.25rem; }
.card h3, .service-detail h3, .detail-box h3 { margin-top: 0; color: var(--navy); }
.card p, .service-detail p, .detail-box p, .muted, .tagline { color: var(--muted); }
.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border: 1px solid rgba(8, 42, 74, 0.08);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff3c6, #fffbef);
  color: var(--navy);
  font-weight: 900;
}
.section { padding: 4.7rem 0; }
.section-sm { padding: 2.8rem 0; }
.section-title { max-width: 80ch; margin-bottom: 1.65rem; }
.section-title h2, .split h2 { margin: 0.7rem 0; color: var(--navy); font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.08; }
.band { background: linear-gradient(180deg, #f8fbff, #edf4fa); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.check-list, .feature-list, .meta-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.check-list li, .feature-list li, .meta-list li { position: relative; padding-left: 1.55rem; margin: 0.6rem 0; }
.check-list li::before, .feature-list li::before, .meta-list li::before {
  content: "★";
  position: absolute;
  left: 0.25rem;
  top: 0.08em;
  color: #8a6a17;
  font-size: 0.78em;
  font-weight: 900;
  line-height: 1.2;
}

/* One explicit wave divider follows each hero. It is 20% wider than the viewport. */
.wave-divider {
  position: relative;
  z-index: 4;
  width: 120vw;
  max-width: none;
  height: clamp(76px, 8vw, 118px);
  margin: -1px 0 0 calc(50% - 60vw);
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}
.wave-divider-dark { background: linear-gradient(180deg, #2b6f9c 0 18%, #f3f7fa 18% 100%); }
.wave-divider-light { background: #f3f7fa; }
.wave-divider img { width: 100%; height: 100%; max-width: none; object-fit: fill; }

/* Full-width video backgrounds are used for the hero and institutional solution section. */
.video-background-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.video-background-section > .section-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.video-background-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.video-background-section > .container { position: relative; z-index: 2; }

.hero-video-section {
  background-color: #082a4a;
  background-image: url("../video/hero-ocean-poster.jpg");
}
.hero-video-section::before {
  background:
    linear-gradient(90deg, rgba(4, 25, 45, 0.91) 0%, rgba(6, 35, 61, 0.86) 47%, rgba(8, 42, 74, 0.63) 75%, rgba(8, 42, 74, 0.52) 100%),
    linear-gradient(180deg, rgba(3, 19, 34, 0.22), rgba(3, 19, 34, 0.48));
}
.hero-video-section > .section-bg-video {
  object-position: center 52%;
  filter: saturate(0.9) contrast(1.04) brightness(0.79);
}

.attention-label {
  margin-bottom: 0.85rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.92;
  text-align: left;
}
.attention-head {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-align: left;
  text-shadow: 0 3px 12px rgba(5, 27, 48, 0.24);
}
.attention-body {
  max-width: 60ch;
  margin: 0;
  color: #fff !important;
  font-size: 1.08rem;
  line-height: 1.55;
  text-align: left;
}
.attention-head::after, .attention-body::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 0.12em;
  vertical-align: -0.08em;
  background: rgba(255, 255, 255, 0.85);
  animation: blink-caret 1s step-end infinite;
}
.attention-head::after { background: rgba(223, 187, 83, 0.95); }
@keyframes blink-caret { 50% { opacity: 0; } }

.solution-video-section {
  background-color: #eaf2f8;
  background-image: url("../video/video-1-poster.jpg");
}
.solution-video-section::before {
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.87), rgba(232, 241, 248, 0.9)),
    radial-gradient(circle at 84% 18%, rgba(255, 238, 190, 0.24), transparent 17%);
}
.solution-video-section > .section-bg-video { filter: saturate(0.78) contrast(0.94) brightness(0.9); }
.solution-video-section .card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
}

.animated-phrases { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0 0; }
.phrase-chip {
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(8, 42, 74, 0.1);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  color: var(--navy);
  font-weight: 900;
}
.motion-on .phrase-chip { animation: float-chip 6s ease-in-out infinite; }
.motion-on .phrase-chip:nth-child(2) { animation-delay: 0.7s; }
.motion-on .phrase-chip:nth-child(3) { animation-delay: 1.4s; }
.motion-on .phrase-chip:nth-child(4) { animation-delay: 2.1s; }
@keyframes float-chip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.typed-hero { min-height: 3.2em; }
.typed-line {
  margin: 0.7rem 0 0;
  color: var(--navy);
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.typed-rotator { display: inline-block; min-width: 16ch; padding-right: 0.08em; white-space: nowrap; border-right: 2px solid rgba(8, 42, 74, 0.45); }
.glow-word { color: var(--gold); text-shadow: 0 0 10px rgba(223, 187, 83, 0.35), 0 0 24px rgba(223, 187, 83, 0.2); }

.interlink-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.node-num { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 0.6rem; border-radius: 12px; background: #102f4c; color: #fff; font-weight: 900; }
.link-node { text-align: center; }
.link-node strong { display: block; margin-bottom: 0.4rem; color: var(--navy); }
.service-proof { display: grid; gap: 0.9rem; }
.service-proof .detail-box { background: #fff; }

.book-row { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.book-row img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); }

.form-shell label { display: block; margin-bottom: 0.3rem; color: var(--navy); font-weight: 800; }
.form-shell input, .form-shell select, .form-shell textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #aebfcd;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.form-shell input:focus, .form-shell select:focus, .form-shell textarea:focus { border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(17, 79, 127, 0.12); outline: none; }
.form-shell textarea { min-height: 150px; resize: vertical; }
.form-note { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.92rem; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { display: none; margin: 0 0 1.2rem; padding: 0.9rem 1rem; border-radius: 12px; font-weight: 800; }
.form-status.show { display: block; }
.form-status.success { background: #e8f6ec; border: 1px solid #8bc59b; color: #1b5b2c; }
.form-status.error { background: #fff1f0; border: 1px solid #e0a09c; color: #7d221d; }
.form-status.info { background: #eef5fb; border: 1px solid #9abbd6; color: #174b73; }

.footer { margin-top: 0; padding: 3rem 0 2rem; background: #071a30; color: #eef3f7; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 0.8fr 0.8fr 1fr; gap: 1.35rem; }
.footer h4 { margin-top: 0; color: #fff; }
.footer p { color: #d8e4ed; }
.footer a { color: #fff0b8; }
.footer .brand-logo { flex-basis: 70px; width: 70px; height: 70px; }
.footer .brand-logo img { filter: brightness(0) invert(1); }
.footer .btn-primary { color: #1c2836 !important; }

/* Privacy, protected phone, and first-party cookie controls. */
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd9e4;
  font-size: 0.92rem;
}
.footer-legal-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.65rem 1rem; }
.footer-legal a, .footer-link-button { color: #fff0b8; }
.footer-link-button, .phone-reveal-button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  cursor: pointer;
}
.footer-link-button:hover, .phone-reveal-button:hover { text-decoration-thickness: 2px; }
.protected-phone { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.38rem; }
.protected-phone-label { color: inherit; font-weight: 800; }
.protected-phone-output a { color: inherit; font-weight: 900; white-space: nowrap; }
.contact-phone-card { margin-top: 1rem; }
.contact-phone-card .phone-reveal-button { color: var(--navy-2); }


/* v30 footer phone: the visible number is a raster image, not scrapeable HTML text. */
.footer-phone-image {
  flex-wrap: nowrap;
  gap: 0.45rem;
}
.footer-phone-image-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.12rem 0.18rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}
.footer-phone-image-button img {
  display: block;
  width: auto;
  height: 22px;
  max-width: min(180px, 44vw);
  opacity: 0.98;
  transition: filter 0.16s ease, opacity 0.16s ease;
}
.footer-phone-image-button:hover,
.footer-phone-image-button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}
.footer-phone-image-button:hover img,
.footer-phone-image-button:focus-visible img {
  filter: brightness(1.14);
  opacity: 1;
}

.privacy-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.3rem, 3vw, 2rem);
}
.privacy-summary h2 { margin: 0 0 0.45rem; color: var(--navy); }
.privacy-summary p { margin: 0; color: var(--muted); }
.privacy-summary-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.policy-layout { display: grid; gap: 1rem; }
.policy-section {
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.policy-section h2 { margin: 0 0 0.65rem; color: var(--navy); font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.policy-section h3 { margin: 1.1rem 0 0.45rem; color: var(--navy); }
.policy-section p:first-of-type { margin-top: 0; }
.policy-section p:last-child, .policy-section ul:last-child { margin-bottom: 0; }
.cookie-table { width: 100%; border-collapse: collapse; margin-top: 0.8rem; }
.cookie-table th, .cookie-table td { padding: 0.75rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.cookie-table th { background: var(--surface-soft); color: var(--navy); }

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 120;
  width: min(920px, calc(100vw - 2rem));
  margin-inline: auto;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  border: 2px solid rgba(8, 42, 74, 0.2);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(2, 18, 32, 0.34);
  backdrop-filter: blur(12px);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem 1.4rem; }
.cookie-banner h2 { margin: 0 0 0.35rem; color: var(--navy); font-size: 1.25rem; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: 0.96rem; text-align: left; }
.cookie-banner p a { font-weight: 800; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.65rem; }
.cookie-banner-actions .btn { min-height: 44px; padding: 0.7rem 0.95rem; }
.cookie-choice-status { margin-top: 0.55rem !important; color: var(--navy) !important; font-weight: 800; }

@media (max-width: 760px) {
  .footer-legal, .privacy-summary, .cookie-banner-inner { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
  .footer-legal-links, .cookie-banner-actions { justify-content: flex-start; }
  .privacy-summary-actions { width: 100%; }
  .privacy-summary-actions .btn { width: 100%; }
  .cookie-banner-actions { margin-top: 0.2rem; }
  .cookie-banner-actions .btn { flex: 1 1 190px; }
  .cookie-table { display: block; overflow-x: auto; }
}

.motion-off video[data-autoplay-video] { opacity: 0 !important; animation: none !important; }
.motion-off .phrase-chip { animation: none !important; transform: none !important; }
.motion-off .attention-head::after, .motion-off .attention-body::after { animation: none; opacity: 0; }
.motion-off .typed-rotator { border-right-color: transparent; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

@media (max-width: 1120px) {
  .nav-links { gap: 0.72rem; }
  .nav-links > a, .nav-parent > button { font-size: 0.9rem; }
  .brand-mark small { max-width: 250px; line-height: 1.25; }
}

@media (max-width: 980px) {
  .hero-grid, .page-hero-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .hero-callout, .grid3, .interlink-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .subnav { position: static; min-width: 0; box-shadow: none; }
}

@media (max-width: 700px) {
  p, li { text-align: left; }
  .hero-callout, .grid2, .grid3, .detail-grid, .stat-grid, .form-grid, .interlink-row, .book-row { grid-template-columns: 1fr; }
  .hero-grid { padding: 3.8rem 0 3.3rem; }
  .page-hero-grid { padding: 2.8rem 0; }
  .section { padding: 3.4rem 0; }
  .section-sm { padding: 2.3rem 0; }
  .hero h1, .page-hero h1 { font-size: 2.25rem; }
  .brand-logo { flex-basis: 62px; width: 62px; height: 62px; }
  .brand-mark small { display: none; }
  .brand-mark strong { font-size: 1.02rem; }
  .motion-wrap > span { display: none; }
  .hero-actions .btn { width: 100%; }
  .typed-rotator { min-width: 0; white-space: normal; }
  .wave-divider { height: 78px; }
  .footer .brand-logo { flex-basis: 62px; width: 62px; height: 62px; }
}

/* v29: full-height service-focus glass card using the requested v28 transparency settings.
   The card aligns with the top and bottom of the hero copy column. Only the video seen
   through the card is grayscale/blurred; the logo and typed copy remain sharp. */
.hero-video-section .hero-grid { align-items: stretch; }
.hero-video-section .hero-grid > :first-child { min-width: 0; }

.hero-service-card {
  position: relative;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: var(--navy);
  background: transparent;
  border: 4px solid rgba(255, 255, 255, 0.98);
  border-radius: 22px;
  box-shadow: 0 22px 52px rgba(0, 17, 34, 0.28);
  contain: layout paint;
  container-type: inline-size;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-service-card-inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(190px, 1fr) auto minmax(9.4rem, auto) minmax(7.6rem, auto);
  align-content: stretch;
  gap: 0.6rem;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(1.4rem, 2.2vw, 2rem);
  overflow: hidden;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Requested background-only settings: monochrome, soft blur, high brightness. */
.hero-service-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.01);
  -webkit-backdrop-filter: grayscale(100%) blur(3px) brightness(3.25) contrast(1);
  backdrop-filter: grayscale(100%) blur(3px) brightness(3.25) contrast(1);
}

/* Requested low-opacity pure-white wash. */
.hero-service-card-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.15);
}

.hero-service-card-inner > * {
  position: relative;
  z-index: 2;
}

.hero-service-logo-wrap {
  display: grid;
  width: 100%;
  min-height: 190px;
  margin: 0;
  place-items: center;
}

.hero-service-logo {
  width: min(470px, 96%);
  max-height: 300px;
  margin-inline: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.hero-service-card .attention-label {
  margin: 0;
  color: rgba(8, 42, 74, 0.94);
  font-size: clamp(0.96rem, 2.7cqw, 1.12rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: left;
  filter: none;
  text-shadow: none;
}

.hero-service-card .attention-head {
  height: 3.8em;
  min-height: 3.8em;
  max-height: 3.8em;
  margin: 0;
  overflow: hidden;
  color: var(--gold);
  font-size: clamp(2.6rem, 3.8vw, 4.4rem);
  font-size: clamp(2.6rem, 10.5cqw, 4.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-align: left;
  text-wrap: balance;
  filter: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-service-card .attention-body {
  height: 5.6em;
  min-height: 5.6em;
  max-height: 5.6em;
  margin: 0;
  overflow: hidden;
  color: rgba(8, 42, 74, 0.98) !important;
  font-size: clamp(1.12rem, 3.5cqw, 1.35rem);
  font-weight: 800;
  line-height: 1.42;
  text-align: left;
  filter: none;
  text-shadow: none;
}

/* All content bullets and section markers use a true five-point star. */

.leadership-section {
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 240, 196, 0.23), transparent 18%),
    linear-gradient(180deg, #f7fbff, #eaf2f8);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.leadership-section .split {
  align-items: center;
  padding: 1.15rem 0;
}
.leadership-section .leadership-copy > h2,
.leadership-section .typed-line {
  color: var(--navy);
}
.leadership-section .tagline {
  color: var(--muted);
}
.leadership-section .typed-rotator {
  border-right-color: rgba(8, 42, 74, 0.45);
}
.leadership-section .detail-box {
  background: #fff;
}
.leadership-panel.video-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 460px;
  padding: 0;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 49, 84, 0.76), rgba(17, 79, 127, 0.78)),
    url("../video/video-3-poster.jpg") center / cover no-repeat;
  border: 1px solid rgba(141, 189, 222, 0.72);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(8, 42, 74, 0.2);
  backdrop-filter: none;
}
.leadership-panel .panel-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  pointer-events: none;
  filter: saturate(0.8) contrast(1.05) brightness(0.72);
}
.leadership-panel .panel-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 32, 55, 0.72), rgba(7, 42, 73, 0.64)),
    linear-gradient(90deg, rgba(5, 29, 51, 0.5), rgba(17, 79, 127, 0.22));
}
.leadership-panel .overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.5rem;
}
.leadership-panel .overlay h3,
.leadership-panel .overlay p,
.leadership-panel .overlay li,
.leadership-panel .overlay strong {
  color: #fff;
}
.leadership-panel .overlay p,
.leadership-panel .overlay li {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

@media (max-width: 980px) {
  .hero-service-card {
    justify-self: center;
    width: min(720px, 100%);
    height: 620px;
    min-height: 620px;
    max-height: 620px;
  }
  .hero-service-card-inner {
    grid-template-rows: minmax(210px, 1fr) auto minmax(9.5rem, auto) minmax(7.8rem, auto);
  }
  .hero-service-logo {
    width: min(470px, 94%);
    max-height: 250px;
  }
  .hero-service-card .attention-head {
    height: 3.4em;
    min-height: 3.4em;
    max-height: 3.4em;
    font-size: clamp(2.6rem, 8.5cqw, 3.8rem);
  }
  .leadership-panel.video-panel {
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .hero-service-card {
    width: 100%;
    height: 590px;
    min-height: 590px;
    max-height: 590px;
    padding: 0;
    border-width: 4px;
  }
  .hero-service-card-inner {
    grid-template-rows: minmax(165px, 1fr) auto minmax(9.2rem, auto) minmax(8.2rem, auto);
    height: 100%;
    min-height: 0;
    padding: 1.15rem;
    gap: 0.5rem;
  }
  .hero-service-logo-wrap {
    min-height: 165px;
  }
  .hero-service-logo {
    width: min(330px, 91%);
    max-height: 190px;
  }
  .hero-service-card .attention-label {
    font-size: 0.95rem;
  }
  .hero-service-card .attention-head {
    height: 3.35em;
    min-height: 3.35em;
    max-height: 3.35em;
    font-size: clamp(2.15rem, 10.5vw, 3.25rem);
  }
  .hero-service-card .attention-body {
    height: 6.4em;
    min-height: 6.4em;
    max-height: 6.4em;
    font-size: clamp(1.06rem, 4.7vw, 1.22rem);
  }
  .leadership-section .split {
    padding: 0.55rem 0;
  }
  .leadership-panel.video-panel {
    min-height: 390px;
  }
}

@media (max-width: 420px) {
  .hero-service-card {
    height: 610px;
    min-height: 610px;
    max-height: 610px;
  }
  .hero-service-card-inner {
    grid-template-rows: minmax(150px, 1fr) auto minmax(10rem, auto) minmax(9.2rem, auto);
    padding: 1rem;
  }
  .hero-service-logo {
    width: min(285px, 92%);
    max-height: 170px;
  }
  .hero-service-card .attention-head {
    font-size: clamp(2rem, 10.2vw, 2.65rem);
  }
  .hero-service-card .attention-body {
    font-size: 1.02rem;
  }
}
