@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500&display=swap");

:root {
  --navy: #14295b;
  --navy-deep: #0f1f46;
  --green: #2e7d3b;
  --ink: #2b3440;
  --slate: #5b6573;
  --mist: #eef1f4;
  --line: #d8dde3;
  --white: #ffffff;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--white); padding: 8px 12px; }

/* Preview strip */
.strip {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.4;
  padding: 7px 0;
  text-align: center;
}

/* Header: transparent over the hero photo, solid on inner pages */
.site-header { position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 24px; }
.brand img { width: 118px; height: auto; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); align-items: center; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: 0.01em; padding-block: 6px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.menu-toggle { display: none; }

.site-header--over { position: absolute; inset: auto 0 auto 0; color: var(--white); }
.site-header--over .brand { background: var(--white); padding: 10px 14px; }
.site-header--solid { color: var(--navy); border-bottom: 1px solid var(--line); }

/* Hero */
.hero { position: relative; min-height: min(84vh, 780px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--navy); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,31,70,0.80) 0%, rgba(15,31,70,0.55) 38%, rgba(15,31,70,0.08) 70%, rgba(15,31,70,0) 100%), linear-gradient(0deg, rgba(15,31,70,0.55) 0%, rgba(15,31,70,0) 45%); }
.hero__body { position: relative; z-index: 1; padding-block: 0 clamp(48px, 8vh, 96px); }
.hero h1 { margin: 0; font-weight: 300; font-size: clamp(42px, 6vw, 86px); line-height: 1.04; letter-spacing: -0.025em; }
.hero p { margin: 22px 0 0; max-width: 36ch; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,0.88); }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Page hero for inner pages: image band with title below */
.page-title { padding-block: clamp(56px, 9vw, 112px) clamp(32px, 4vw, 48px); }
.page-title h1 { margin: 0; color: var(--navy); font-weight: 300; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -0.02em; max-width: 16ch; }
.page-title p { margin: 20px 0 0; max-width: 46ch; color: var(--slate); font-size: 20px; }
.band { height: clamp(260px, 42vw, 560px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons and links */
.button { display: inline-block; margin-top: 32px; padding: 15px 26px; background: var(--white); color: var(--navy); text-decoration: none; font-weight: 500; font-size: 16px; border: 1px solid var(--white); }
.button:hover { background: transparent; color: var(--white); }
.button--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.button--navy:hover { background: var(--white); color: var(--navy); }
.more { display: inline-block; margin-top: 14px; color: var(--navy); font-weight: 500; font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.more:hover { border-bottom-color: var(--navy); }

/* Facts */
.facts { padding-block: clamp(72px, 9vw, 128px); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.facts li { border-top: 2px solid var(--navy); padding-top: 22px; }
.facts strong { display: block; color: var(--navy); font-weight: 300; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.02em; }
.facts span { display: block; margin-top: 10px; color: var(--slate); font-size: 17px; }

/* Section heading */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--mist { background: var(--mist); }
.section h2 { margin: 0; color: var(--navy); font-weight: 300; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.08; letter-spacing: -0.02em; max-width: 20ch; }
.section .lede { margin: 18px 0 0; max-width: 48ch; color: var(--slate); font-size: 19px; }

/* Three photo tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 5vw, 64px); }
.tile { text-decoration: none; color: var(--ink); }
.tile figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile:hover img { transform: scale(1.03); }
.tile h3 { margin: 20px 0 6px; color: var(--navy); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--slate); font-size: 16px; max-width: 30ch; }

/* Split: photo and text */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split figure { margin: 0; aspect-ratio: 5 / 4; overflow: hidden; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.split--flip figure { order: 2; }

/* The program sequence: a real four-step order, so numbers are content */
.steps { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); color: var(--green); font-weight: 500; font-size: 16px; line-height: 1.75; }
.steps strong { display: block; color: var(--navy); font-weight: 500; font-size: 18px; }
.steps span { display: block; color: var(--slate); font-size: 16px; }

/* Closing photo */
.closing { position: relative; color: var(--white); min-height: 520px; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.closing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,31,70,0.82) 0%, rgba(15,31,70,0.35) 60%, rgba(15,31,70,0.1) 100%); }
.closing .wrap { position: relative; z-index: 1; }
.closing h2 { margin: 0; font-weight: 300; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -0.02em; max-width: 16ch; }

/* Detail rows (compliance, company) */
.rows { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.row h3 { margin: 0; color: var(--navy); font-weight: 400; font-size: 22px; }
.row p { margin: 0; }
.row p + p { margin-top: 8px; }

/* Placeholders: visible, quiet */
.ph { display: inline; padding: 1px 6px; background: #f3efe3; color: #5d5440; font-size: 0.82em; white-space: normal; }

/* People */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); }
.person { border-top: 2px solid var(--navy); padding-top: 20px; }
.person h3 { margin: 0; color: var(--navy); font-weight: 400; font-size: 26px; }
.person p { margin: 6px 0 0; }

/* Form */
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 24px; margin-top: 36px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 15px; font-weight: 500; }
.form input, .form textarea { width: 100%; padding: 13px 14px; border: 1px solid #b9c1cb; border-radius: 0; background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.form textarea { min-height: 140px; resize: vertical; }
.form .button { margin-top: 6px; border: 1px solid var(--navy); cursor: pointer; font-family: inherit; }
.note { margin: 0; color: var(--slate); font-size: 15px; }
.aside h3 { margin: 0 0 6px; color: var(--navy); font-weight: 500; font-size: 16px; }
.aside p { margin: 0 0 22px; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.82); padding-block: 72px 36px; font-size: 16px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer .brand img { width: 132px; }
.site-footer h2 { margin: 0 0 14px; color: var(--white); font-size: 15px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.18); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,0.64); }
.site-footer .ph { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.86); }

/* Phone */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .menu-toggle { display: inline-block; background: none; border: 1px solid currentColor; color: inherit; font: inherit; font-size: 15px; padding: 8px 14px; cursor: pointer; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--gutter) 20px; background: var(--white); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { color: var(--navy); font-size: 18px; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .site-header .wrap { min-height: 76px; }
  .brand img { width: 96px; }
  .site-header--over .brand { padding: 8px 10px; }
  .hero { min-height: 640px; }
  .facts ul, .tiles, .people { grid-template-columns: 1fr; }
  .tile figure { aspect-ratio: 3 / 2; }
  .split { grid-template-columns: 1fr; }
  .split--flip figure { order: 0; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .form { grid-template-columns: 1fr; }
  .site-footer .top { grid-template-columns: 1fr; gap: 32px; }
  .closing { min-height: 440px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__img { animation: none; }
  .tile img { transition: none; }
  html { scroll-behavior: auto; }
}

/* Rows directly under a photo band: no double gap */
.band + .section { padding-top: clamp(48px, 6vw, 80px); }
.section .wrap > .rows:first-child { margin-top: 0; }

/* v2.1: one navy header on every page; photo titles on inner pages */
.site-header--solid { background: var(--navy); color: var(--white); border-bottom: 0; }
.site-header--solid .nav a:hover, .site-header--solid .nav a[aria-current="page"] { border-bottom-color: var(--green); }
.hero--inner { min-height: clamp(380px, 52vh, 560px); }
.hero--inner h1 { font-size: clamp(38px, 5vw, 70px); max-width: 16ch; }
.facts li { border-top: 0; padding-top: 0; }
.facts li::before { content: ""; display: block; width: 40px; height: 2px; background: var(--green); margin-bottom: 22px; }
@media (max-width: 900px) {
  .hero--inner { min-height: 420px; }
  .nav { background: var(--navy); }
  .nav a { color: var(--white); border-bottom-color: rgba(255,255,255,0.16); }
}
