/* ==========================================================================
   Kaleidoscope — site stylesheet (shared by every page)
   1. Fonts  2. Base & layout  3. Components  4. Page-specific sections
   ========================================================================== */

/* ---------- 1. Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/montserrat-latin-ext-wght-normal.woff2")
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* ---------- 2. Base, header, hero, strips, footer ---------- */
:root {
  --navy-950: #041530;
  --navy-900: #061d3a;
  --navy-800: #0a2a55;
  --ink: #0d1b4f; /* headings */
  --text: #24324d; /* body */
  --muted: #51607a;
  --blue-700: #0b4f9a;
  --blue-600: #1462d6;
  --blue-500: #2b7de9;
  --sky-50: #f2f7fd;
  --sky-100: #e6f0fb;
  --line: #d3e0ef;
  --yellow: #ffc928;
  --yellow-hover: #ffd95a;
  --green: #22a447;
  --hero-grad: linear-gradient(115deg, #041a3a 0%, #072e60 55%, #0b4c96 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(6, 29, 58, 0.1);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body:
    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(18px, 4vw, 48px);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Icons come from /assets/icons.svg; individual components size and colour them below */
:where(.icon) {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
a {
  color: var(--blue-600);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  font-weight: 800;
}
p {
  margin: 0 0 1em;
}
ul {
  margin: 0;
  padding: 0;
}
:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--yellow);
  color: var(--navy-900);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 750;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s,
    transform 0.15s;
  white-space: nowrap;
}
.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}
.btn-primary {
  background: var(--yellow);
  color: var(--navy-900);
}
.btn-primary:hover {
  background: var(--yellow-hover);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: #fff;
  border-radius: 10px;
}
.btn-outline:hover {
  background: var(--sky-100);
}
.btn-lg {
  font-size: 1.08rem;
  padding: 17px 32px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow:
    0 1px 0 var(--line),
    0 4px 14px rgba(6, 29, 58, 0.06);
}
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand img {
  width: 44px;
  height: 44px;
}
.brand sup {
  font-size: 0.4em;
  font-weight: 600;
  margin-left: -4px;
  top: -1.2em;
}
.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav > a,
.nav-trigger {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 12px;
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.nav-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s;
}
.main-nav > a:hover,
.nav-trigger:hover {
  color: var(--blue-600);
}
.main-nav .is-current::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue-700);
}
.nav-group {
  position: relative;
}
.nav-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 300px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(6, 29, 58, 0.16);
  display: none;
  flex-direction: column;
}
.nav-panel a {
  color: var(--ink);
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-panel a:hover,
.nav-panel a:focus-visible {
  background: var(--sky-100);
}
.nav-panel a[aria-current="page"] {
  color: var(--blue-600);
}
.nav-group.is-open .nav-panel {
  display: flex;
}
.nav-group.is-open .nav-trigger svg {
  transform: rotate(180deg);
}
@media (hover: hover) and (min-width: 1081px) {
  .nav-group:hover .nav-panel {
    display: flex;
  }
  .nav-group::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
  }
}
.header-cta {
  margin-left: 18px;
  padding: 13px 22px;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 8px;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle svg {
  width: 30px;
  height: 30px;
}
.mobile-nav {
  display: none;
}

@media (max-width: 1080px) {
  :root {
    --header-h: 66px;
  }
  .main-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .brand {
    font-size: 1.4rem;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .mobile-nav {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #fff;
    overflow-y: auto;
    padding: 8px var(--gutter) 40px;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.2s ease,
      visibility 0s 0.2s;
    border-top: 1px solid var(--line);
  }
  .site-header.menu-open .mobile-nav {
    transform: none;
    visibility: visible;
    transition: transform 0.2s ease;
  }
  .mobile-nav details {
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav summary,
  .mobile-nav > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 4px;
    font-family: var(--font-head);
    font-weight: 750;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav summary svg {
    transition: transform 0.15s;
  }
  .mobile-nav details[open] summary svg {
    transform: rotate(180deg);
  }
  .mobile-nav > a {
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav details a {
    display: block;
    padding: 10px 12px 10px 16px;
    color: var(--text);
    text-decoration: none;
    font-weight: 550;
  }
  .mobile-nav details div {
    padding-bottom: 10px;
  }
  .mobile-nav .btn,
  .mobile-nav > a.btn {
    width: 100%;
    margin-top: 24px;
    justify-content: center;
    border-bottom: 0;
    font-size: 1.05rem;
  }
  body.no-scroll {
    overflow: hidden;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--hero-grad);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--photo-w, 58%);
  clip-path: polygon(var(--cut, 22%) 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 60% center);
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 28, 60, 0.35),
    rgba(5, 28, 60, 0) 30%
  );
  pointer-events: none;
}
.hero-inner {
  min-height: var(--hero-min, 440px);
  display: flex;
  align-items: center;
  padding-block: clamp(36px, 5vw, 64px);
}
.hero-copy {
  max-width: var(--copy-w, 46%);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-weight: 750;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #fff;
}
.eyebrow::after {
  content: "";
  width: 80px;
  height: 2px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.no-rule::after {
  display: none;
}
.eyebrow .accent {
  color: #7ec4ff;
}
.eyebrow.yellow {
  color: var(--yellow);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 3.6vw, 3.3rem);
  line-height: 1.04;
  margin-bottom: 0.35em;
  letter-spacing: -0.03em;
}
.hero h1 .hl {
  color: var(--yellow);
}
.hero .hero-sub {
  font-family: var(--font-head);
  font-weight: 650;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.25;
  color: #fff;
  margin: 0 0 0.7em;
  letter-spacing: -0.01em;
}
.hero .lead {
  font-size: clamp(1.02rem, 1.3vw, 1.22rem);
  line-height: 1.5;
  color: #e6effa;
  margin-bottom: 1.3em;
  max-width: 31em;
}
.hero-checks {
  list-style: none;
  margin: 0 0 1.6em;
  display: grid;
  gap: 8px;
}
.hero-checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 1.05rem;
}
.hero-checks svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--navy-900);
  fill: var(--yellow);
  margin-top: 1px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.breadcrumb {
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  align-items: center;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb li + li::before {
  content: "›";
  opacity: 0.8;
}
.breadcrumb a {
  color: #fff;
}
.breadcrumb svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-inner {
    min-height: 0;
    order: 1;
    padding-block: 34px 30px;
  }
  .hero-copy {
    max-width: none;
  }
  .hero-photo {
    position: relative;
    order: 2;
    width: 100%;
    height: clamp(200px, 52vw, 340px);
    clip-path: none;
    z-index: 0;
  }
  .hero-photo::before {
    display: none;
  }
  .hero-photo > img {
    width: 128%;
    max-width: none;
    margin-left: -28%;
  }
}

/* Big screens: cap the photo and keep it centred with the page content
   instead of stretching to the right edge. */
@media (min-width: 901px) {
  .hero-photo {
    width: min(var(--photo-w, 58%), 820px);
    right: max(0px, calc((100% - 1500px) / 2));
  }
}

/* ---------- Feature strip ---------- */
.strip {
  background: var(--sky-50);
  border-bottom: 1px solid #e3edf8;
}
.strip-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
  padding-block: 22px;
}
.strip-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 16px;
  border-left: 1px solid var(--line);
}
.strip-item:first-child {
  border-left: 0;
  padding-left: 0;
}
.strip-item > svg {
  flex: none;
  width: 34px;
  height: 34px;
  color: var(--blue-600);
  stroke-width: 1.6;
}
.strip-item h3,
.strip-item .strip-title {
  font-size: 1.02rem;
  margin: 2px 0 4px;
  letter-spacing: -0.01em;
}
.strip-item p {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
  line-height: 1.45;
}
.strip.compact .strip-item {
  align-items: center;
}
.strip.compact .strip-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 750;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.strip.white {
  background: #fff;
}
@media (max-width: 1080px) {
  .strip-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 0;
  }
  .strip-item,
  .strip-item:first-child {
    border-left: 0;
    padding: 6px 12px 6px 0;
  }
}
@media (max-width: 560px) {
  .strip-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(44px, 6vw, 80px);
}
.section.tight {
  padding-block: clamp(32px, 4vw, 52px);
}
.section.alt {
  background: var(--sky-50);
}
.h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.45rem);
}
.bar-under::after {
  content: "";
  display: block;
  width: 100px;
  height: 5px;
  border-radius: 4px;
  background: var(--yellow);
  margin-top: 18px;
}
.prose {
  font-size: 1.08rem;
  color: var(--text);
}
.center {
  text-align: center;
}

.checks {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1.06rem;
  color: var(--ink);
}
.checks svg {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 0;
  color: #fff;
}
.checks.blue svg {
  fill: var(--blue-600);
}
.checks.yellow svg {
  fill: var(--yellow);
  color: var(--navy-900);
}
.checks.green svg {
  fill: var(--green);
}
.checks.outline svg {
  fill: none;
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
@media (max-width: 960px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* ---------- Benefits row ---------- */
.benefits {
  background: var(--sky-50);
  padding-block: clamp(40px, 5vw, 64px);
}
.benefits h2 {
  text-align: center;
  margin-bottom: 30px;
}
.benefit-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.benefit {
  text-align: center;
  padding: 4px 24px;
  border-left: 1px solid var(--line);
}
.benefit:first-child {
  border-left: 0;
}
.benefit svg {
  width: 46px;
  height: 46px;
  color: var(--ink);
  stroke-width: 1.6;
  margin: 0 auto 12px;
}
.benefit h3 {
  font-size: 1.22rem;
  margin-bottom: 6px;
}
.benefit p {
  margin: 0;
  color: var(--text);
}
@media (max-width: 900px) {
  .benefit-list {
    grid-template-columns: 1fr 1fr;
    gap: 28px 0;
  }
  .benefit:nth-child(odd) {
    border-left: 0;
  }
}
@media (max-width: 520px) {
  .benefit-list {
    grid-template-columns: 1fr;
  }
  .benefit {
    border-left: 0;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--hero-grad);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-band .cta-photo {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
  z-index: -1;
}
.cta-band .cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band .cta-copy {
  margin-left: auto;
  width: 52%;
  padding: clamp(36px, 4.5vw, 60px) 0 clamp(36px, 4.5vw, 60px)
    clamp(10px, 2vw, 30px);
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
}
.cta-band p {
  font-size: 1.15rem;
  color: #e6effa;
  margin-bottom: 1.4em;
  max-width: 560px;
}
@media (max-width: 860px) {
  .cta-band {
    display: flex;
    flex-direction: column;
  }
  .cta-band .cta-photo {
    position: relative;
    width: 100%;
    height: 200px;
    clip-path: none;
    order: 2;
  }
  .cta-band .cta-copy {
    width: 100%;
    padding: 36px 0;
  }
}

/* ---------- Cards / tiles ---------- */
.photo-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  background: var(--navy-800);
  box-shadow: 0 6px 16px rgba(6, 29, 58, 0.18);
}
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
a.photo-tile:hover img {
  transform: scale(1.04);
}
.photo-tile .tile-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 14px 12px;
  background: linear-gradient(transparent, rgba(4, 21, 48, 0.92) 60%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 750;
  font-size: 1.02rem;
  line-height: 1.15;
}
.photo-tile .tile-label svg {
  flex: none;
  width: 30px;
  height: 30px;
  stroke-width: 1.7;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #fff;
  padding-block: 30px 22px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.site-footer .brand {
  color: #fff;
  font-size: 1.45rem;
}
.site-footer .brand img {
  width: 38px;
  height: 38px;
}
.footer-nav {
  display: flex;
  gap: 6px 26px;
  flex-wrap: wrap;
  list-style: none;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 550;
  font-size: 0.97rem;
}
.footer-nav a:hover {
  text-decoration: underline;
}
.footer-nav a[aria-current="page"] {
  font-weight: 800;
}
.copyright {
  margin: 0;
}
.footer-meta .copyright {
  color: #fff;
  margin-right: auto;
}
.footer-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
  color: #b9c8dc;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.footer-meta a {
  color: #dbe7f5;
}
@media (max-width: 900px) {
  .footer-row {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
  }
  .footer-meta {
    justify-content: center;
    text-align: center;
  }
  .footer-meta .copyright {
    margin-right: 0;
    width: 100%;
  }
}

/* ---------- 3. Product mockup (laptop + phone) ---------- */
.mock {
  container-type: inline-size;
  width: 100%;
}
.mock-inner {
  position: relative;
  font-size: 1.62cqw;
  font-family: var(--font-body);
  color: #1b2a48;
  line-height: 1.25;
  padding-bottom: 2%;
}
.mock svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.lap {
  position: relative;
  width: 100%;
}
.has-phone .lap {
  width: 86%;
}
.lap-lid {
  background: #171b22;
  border-radius: 1.3em 1.3em 0.5em 0.5em;
  padding: 1em 1em 1.3em;
  box-shadow: 0 1.6em 3em rgba(6, 29, 58, 0.25);
}
.lap-screen {
  display: grid;
  grid-template-columns: 10em minmax(0, 1fr);
  background: #f7f9fc;
  border-radius: 0.25em;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.has-map .lap-screen {
  grid-template-columns: 10em minmax(0, 1fr) 10.5em;
}
.lap-base {
  height: 1.5em;
  width: 110%;
  margin-left: -5%;
  background: linear-gradient(#eef1f5, #b3b9c3 70%, #8d949f);
  border-radius: 0 0 1.6em 1.6em;
  position: relative;
  box-shadow: 0 1em 1.6em rgba(6, 29, 58, 0.18);
}
.lap-base::before {
  content: "";
  position: absolute;
  left: 42%;
  right: 42%;
  top: 0;
  height: 0.55em;
  background: #c6ccd5;
  border-radius: 0 0 0.6em 0.6em;
}

.m-side {
  background: linear-gradient(180deg, #0c2b5a, #071d40);
  color: #dbe6f6;
  padding: 1em 0.7em;
}
.m-logo {
  display: flex;
  align-items: center;
  gap: 0.35em;
  color: #fff;
  font-weight: 800;
  font-size: 1.12em;
  letter-spacing: -0.03em;
  margin-bottom: 1.1em;
}
.m-logo img {
  width: 1.5em;
  height: 1.5em;
}
.m-side ul {
  list-style: none;
  display: grid;
  gap: 0.25em;
}
.m-side li {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.55em 0.6em;
  border-radius: 0.4em;
  font-size: 0.9em;
  font-weight: 550;
}
.m-side li.on {
  background: #1f6fe0;
  color: #fff;
}

.m-main {
  padding: 1.1em 1.2em;
  background: #fff;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.has-phone .m-main.padded {
  padding-right: 6.8em;
}
.ls,
.tb {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ls-row,
.tb-row:not(.tb-head) {
  flex: 1;
  max-height: 4.2em;
}
.tl {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tl > .tl-row:not(.tl-times) {
  flex: 1;
  max-height: 4.6em;
}
.m-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7em;
}
.m-title {
  font-weight: 800;
  font-size: 1.45em;
  color: #0d1b4f;
  letter-spacing: -0.02em;
}
.m-action {
  background: #1f6fe0;
  color: #fff;
  font-weight: 700;
  font-size: 0.8em;
  padding: 0.5em 0.8em;
  border-radius: 0.4em;
}
.m-tabs {
  display: flex;
  gap: 0.4em;
  margin-bottom: 0.8em;
}
.m-tabs span {
  font-size: 0.8em;
  font-weight: 650;
  padding: 0.35em 0.75em;
  border-radius: 0.35em;
  background: #eef3fa;
  color: #24324d;
}
.m-tabs span.on {
  background: #1f6fe0;
  color: #fff;
}

.tl-date {
  text-align: center;
  font-weight: 700;
  font-size: 0.8em;
  margin-bottom: 0.2em;
}
.tl-row {
  display: grid;
  grid-template-columns: 6.6em minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid #e8eef6;
  min-height: 2.75em;
}
.tl-times {
  min-height: 1.8em;
  border-bottom: 1px solid #dfe7f2;
}
.tl-track {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  align-items: center;
}
.tl-times .tl-track span {
  font-size: 0.7em;
  font-weight: 700;
  text-align: center;
  color: #3a4866;
}
.tl-track.grid {
  background-image: linear-gradient(90deg, #eef2f8 1px, transparent 1px);
  background-size: calc(100% / var(--cols)) 100%;
  min-height: 2.75em;
}
.tl-label {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.78em;
  font-weight: 650;
  color: #1b2a48;
  white-space: nowrap;
}
.tl-label svg {
  width: 1.4em;
  height: 1.4em;
  color: #16305e;
}
.tl-bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 1.85em;
  border-radius: 0.35em;
  color: #fff;
  font-size: 0.72em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 0.15em 0.3em rgba(0, 0, 0, 0.08);
}

.ls-row,
.tb-row {
  display: grid;
  grid-template-columns: 6em minmax(0, 1fr) 6.2em;
  gap: 0.6em;
  align-items: center;
  padding: 0.75em 0;
  border-bottom: 1px solid #e8eef6;
  font-size: 0.82em;
}
.ls-row b,
.tb-row b {
  font-weight: 750;
}
.ls-row span,
.tb-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tb-head {
  font-weight: 750;
  color: #0d1b4f;
  padding: 0.45em 0;
  border-bottom: 1px solid #d5dfec;
  background: #f3f7fc;
}
.tb.team .tb-row {
  grid-template-columns: 8.4em minmax(0, 1fr) 5.6em;
  padding: 0.55em 0;
}
.who {
  display: flex !important;
  align-items: center;
  gap: 0.45em;
  font-weight: 650;
}
.who i {
  font-style: normal;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #d7e4f6;
  color: #16305e;
  font-size: 0.8em;
  font-weight: 800;
  flex: none;
}

.pill {
  justify-self: start;
  font-size: 0.88em;
  font-weight: 700;
  padding: 0.3em 0.7em;
  border-radius: 0.35em;
  color: #fff;
  background: #8a96a8;
  text-align: center;
}
.pill-in-progress,
.pill-on-job {
  background: #2fae55;
}
.pill-assigned {
  background: #2b7de9;
}
.pill-en-route {
  background: #f2c230;
  color: #3b2f00;
}
.pill-open {
  background: #e3eefc;
  color: #1f4f9a;
}
.pill-completed {
  background: #9ba6b7;
}
.pill-on-hold {
  background: #f08a24;
}
.tb .pill-in-progress {
  background: #dbeafc;
  color: #1f4f9a;
}
.tb .pill-completed {
  background: #c9efd4;
  color: #186b33;
}
.tb.team .pill-on-job {
  background: #2fae55;
  color: #fff;
}
.tb.team .pill-en-route {
  background: #2b7de9;
  color: #fff;
}

.tm-filter {
  display: inline-flex;
  align-items: center;
  gap: 2em;
  border: 1px solid #d5dfec;
  border-radius: 0.35em;
  padding: 0.3em 0.6em;
  font-size: 0.78em;
  margin-bottom: 0.7em;
}
.tm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5em;
  margin-bottom: 0.8em;
}
.tm-stats div {
  border: 1px solid #dfe7f2;
  border-radius: 0.45em;
  padding: 0.45em 0.5em;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.35em;
  align-items: center;
}
.tm-stats b {
  font-size: 1.35em;
  font-weight: 800;
}
.tm-stats small {
  grid-column: 1 / -1;
  font-size: 0.72em;
  text-align: center;
}

.m-map {
  border-left: 1px solid #dfe7f2;
}
.m-map svg {
  width: 100%;
  height: 100%;
  display: block;
}

.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24%;
  aspect-ratio: 9 / 18.4;
  background: #101215;
  border-radius: 2.1em;
  padding: 0.55em;
  box-shadow: 0 1.6em 3em rgba(6, 29, 58, 0.35);
}
.ph-screen {
  background: #fff;
  border-radius: 1.65em;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ph-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6em 1.1em 0.3em;
  font-size: 0.62em;
  font-weight: 700;
}
.ph-notch {
  width: 30%;
  height: 1.4em;
  background: #101215;
  border-radius: 1em;
}
.ph-bar {
  display: flex;
  align-items: center;
  gap: 0.6em;
  background: #0c2b5a;
  color: #fff;
  font-weight: 700;
  font-size: 0.85em;
  padding: 0.7em 0.9em;
}
.ph-body {
  padding: 0.8em 0.85em;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.ph-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.4em;
  margin-bottom: 0.6em;
}
.ph-wo {
  font-size: 1.12em;
  font-weight: 800;
  color: #0d1b4f;
}
.ph-sub {
  font-size: 0.78em;
  font-weight: 600;
  margin-bottom: 0.6em;
  color: #34425f;
}
.ph-body ul {
  list-style: none;
  display: grid;
  gap: 0.45em;
}
.ph-body li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.78em;
  font-weight: 650;
  padding: 0.35em 0.3em;
  border-bottom: 1px solid #eef2f7;
}
.ph-body li span {
  flex: 1;
}
.ph-body .ok {
  color: #fff;
  fill: #2fae55;
  width: 1.5em;
  height: 1.5em;
}
.ph-body .todo {
  color: #9aa5b5;
  width: 1.5em;
  height: 1.5em;
}
.ph-body .aux {
  color: #34425f;
}
.ph-btn {
  margin-top: auto;
  text-align: center;
  color: #fff;
  font-weight: 750;
  font-size: 0.82em;
  padding: 0.75em;
  border-radius: 0.5em;
  background: #22a447;
}
.ph-btn.blue {
  background: #1f6fe0;
}
.ph-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #eef3fa;
  border-radius: 0.4em;
  padding: 0.2em;
  margin-bottom: 0.6em;
  font-size: 0.72em;
  font-weight: 700;
  text-align: center;
}
.ph-seg span {
  padding: 0.4em;
  border-radius: 0.3em;
}
.ph-seg .on {
  background: #1f6fe0;
  color: #fff;
}
.ph-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4em;
  padding: 0.55em 0.2em;
  border-bottom: 1px solid #eef2f7;
}
.ph-job b {
  display: block;
  font-size: 0.72em;
}
.ph-job small {
  font-size: 0.65em;
  color: #51607a;
}
.ph-tabs {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  font-size: 0.58em;
  font-weight: 650;
  color: #51607a;
  border-top: 1px solid #e3e9f2;
  padding-top: 0.5em;
}
.ph-tabs span {
  display: grid;
  justify-items: center;
  gap: 0.2em;
}
.ph-tabs .on {
  color: #1f6fe0;
}
.ph-tabs svg {
  width: 1.6em;
  height: 1.6em;
}

/* ---------- 3. Laurel badge (About) ---------- */
.laurel {
  position: relative;
  width: 200px;
  aspect-ratio: 200 / 180;
  flex: none;
}
.laurel svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.laurel p {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--ink);
  font-family: var(--font-head);
  line-height: 1;
}
.laurel strong {
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.laurel span {
  font-size: 1.6rem;
  font-weight: 750;
  margin-top: 2px;
}

/* ---------- 4. Page: index ---------- */
.hero-industries {
  list-style: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 1% 0 4%;
  background: linear-gradient(transparent, rgba(4, 21, 48, 0.78) 45%);
}
.hero-industries a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(0.8rem, 1.05vw, 1.05rem);
  line-height: 1.15;
  padding: 34px 8px 16px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.hero-industries a:hover span {
  text-decoration: underline;
}
.hero-industries svg {
  width: 34px;
  height: 34px;
  flex: none;
  stroke-width: 1.6;
}

/* Home hero (desktop): the panorama is split into four full-height panels,
   one per industry, so each label sits under its own picture at any width.
   The block is capped and centred so it doesn't stretch on big screens. */
.hero-panels {
  display: none;
}
@media (min-width: 901px) {
  /* The text block spans the hero and sits above the photo labels; let clicks
     pass through it so the industry labels are clickable. */
  .home-hero .hero-inner {
    pointer-events: none;
  }
  .home-hero .hero-copy a,
  .home-hero .hero-copy h1,
  .home-hero .hero-copy p {
    pointer-events: auto;
  }
  .home-hero .hero-photo {
    clip-path: none;
    --slant: 80px;
  }
  .home-hero .hero-photo > img {
    display: none;
  }
  .home-hero .hero-photo::before {
    display: none;
  }
  .hero-panels {
    display: block;
    position: absolute;
    inset: 0;
  }
  .hero-panels > span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc(25% + var(--slant));
    overflow: hidden;
    clip-path: polygon(
      var(--slant) 0,
      calc(100% - 5px) 0,
      calc(100% - var(--slant) - 5px) 100%,
      0 100%
    );
  }
  .hero-panels > span:nth-child(1) { left: 0; }
  .hero-panels > span:nth-child(2) { left: 25%; }
  .hero-panels > span:nth-child(3) { left: 50%; }
  .hero-panels > span:nth-child(4) { left: 75%; }
  .hero-panels img {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: auto;
    max-width: none;
    transform: translateX(calc(var(--cx) * -100%));
  }
  .hero-industries {
    padding: 0;
  }
  .hero-industries a {
    padding-left: 14px;
    gap: 8px;
    font-size: clamp(0.78rem, 0.85vw, 0.9rem);
  }
  .hero-industries svg {
    width: 28px;
    height: 28px;
  }
}
.hl.underline {
  background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 100% /
    100% 4px;
  padding-bottom: 4px;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(0, 4fr) minmax(0, 4.6fr);
  gap: clamp(20px, 2.4vw, 36px);
  align-items: center;
}
.home-intro .prose {
  margin: 20px 0 26px;
}
.industry-cards {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.industry-cards .photo-tile {
  aspect-ratio: 16 / 10;
}
.industry-cards .tile-label {
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  padding: 30px 10px 10px;
  gap: 8px;
}
.industry-cards .tile-label svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1180px) {
  .home-grid {
    grid-template-columns: 1fr 1.25fr;
  }
  .home-mock {
    grid-column: 1 / -1;
    max-width: 760px;
    margin: 12px auto 0;
    width: 100%;
  }
}
.home-hero h1 {
  font-size: clamp(2rem, 2.85vw, 2.9rem);
}
.hero.home-hero .lead {
  max-width: 29em;
}
.home-intro .h2 {
  font-size: clamp(1.7rem, 2.1vw, 2.05rem);
}
@media (max-width: 600px) {
  .hero-industries {
    display: none;
  }
}
@media (max-width: 900px) {
  .hero-industries {
    padding: 0 2%;
  }
  .hero-industries a {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    font-size: 0.78rem;
    padding: 30px 4px 12px;
  }
  .hero-industries a br {
    display: none;
  }
  .hero-industries svg {
    width: 26px;
    height: 26px;
  }
}
@media (max-width: 760px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 4. Page: marine ---------- */
.marine-grid {
  display: grid;
  grid-template-columns: minmax(0, 3.6fr) minmax(0, 4.6fr) minmax(0, 2.6fr);
  gap: clamp(20px, 2.5vw, 36px);
  align-items: center;
}
.marine-tiles {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 330px;
  margin-top: 28px;
}
.marine-tiles .photo-tile {
  aspect-ratio: 4 / 3;
}
.marine-tiles .tile-label {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  padding: 26px 8px 8px;
}
.marine-tiles .tile-label svg {
  width: 20px;
  height: 20px;
}
.benefit-card {
  background: var(--sky-50);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.benefit-card h2 {
  font-size: 1.75rem;
  margin-bottom: 4px;
}
@media (max-width: 1180px) {
  .marine-grid {
    grid-template-columns: 1fr 1fr;
  }
  .marine-grid > :first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .marine-grid {
    grid-template-columns: 1fr;
  }
  .marine-tiles {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 4. Page: construction ---------- */
.con-grid {
  display: grid;
  grid-template-columns: minmax(0, 4.4fr) minmax(0, 4.4fr) minmax(0, 2.8fr);
  gap: clamp(20px, 2.5vw, 36px);
  align-items: center;
}
.con-grid .h2 {
  font-size: clamp(1.6rem, 2.1vw, 2rem);
}
.side-photo {
  width: 100%;
  aspect-ratio: 382 / 330;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 1180px) {
  .con-grid {
    grid-template-columns: 1fr 1fr;
  }
  .side-photo {
    display: none;
  }
}
@media (max-width: 860px) {
  .con-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 4. Page: industrial ---------- */
.reference {
  position: relative;
  background: var(--hero-grad);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.ref-photo {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
  z-index: -1;
}
.ref-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ref-copy {
  margin: 0 0 0 auto;
  width: 62%;
  padding: 44px 0;
}
.ref-copy blockquote {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  line-height: 1.35;
}
.ref-copy figcaption {
  color: #cfe0f4;
}
.closing {
  background: linear-gradient(#f5f8fc, #fff);
}
.closing .prose {
  max-width: 720px;
  margin: 0 auto 26px;
  font-size: 1.15rem;
}
@media (max-width: 760px) {
  .ref-photo {
    position: relative;
    width: 100%;
    height: 170px;
    clip-path: none;
  }
  .reference {
    display: flex;
    flex-direction: column;
  }
  .ref-copy {
    width: 100%;
    padding: 32px 0;
  }
}

/* ---------- 4. Page: field-services ---------- */
.fs-grid {
  display: grid;
  grid-template-columns: minmax(0, 3.3fr) minmax(0, 6.7fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}
.fs-grid .h2 {
  font-size: clamp(1.6rem, 2.1vw, 2rem);
}
.fs-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.fs-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.fs-card img {
  width: 100%;
  aspect-ratio: 322 / 200;
  object-fit: cover;
}
.fs-card div {
  padding: 16px 18px 20px;
  background: linear-gradient(#0d2c58, #071d40);
  flex: 1;
}
.fs-card h3 {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.fs-card h3 svg {
  width: 26px;
  height: 26px;
}
.fs-card p {
  margin: 0;
  color: #dfe9f6;
  font-size: 0.97rem;
}
@media (max-width: 1080px) {
  .fs-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .fs-cards {
    grid-template-columns: 1fr;
  }
  .fs-card img {
    aspect-ratio: 16 / 8;
  }
}

/* ---------- 4. Page: features ---------- */
.feature-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.feature-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 18px;
  padding: 10px;
  align-items: stretch;
  position: relative;
}
.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border-radius: 8px;
}
.feature-card div {
  display: flex;
  flex-direction: column;
  padding: 14px 8px 10px 0;
}
.feature-card h2 {
  font-size: 1.45rem;
}
.feature-card p {
  flex: 1;
}
.explore {
  font-family: var(--font-head);
  font-weight: 750;
  color: var(--blue-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.explore::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.feature-card:hover {
  border-color: #a9c4e6;
}
.explore svg {
  width: 20px;
  height: 20px;
}
.ways {
  padding-block: 30px;
}
.ways-row {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.ways h2 {
  margin: 0;
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  padding-right: 30px;
  border-right: 1px solid var(--line);
}
.ways ul {
  list-style: none;
  display: flex;
  flex: 1;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}
.ways li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 750;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  white-space: nowrap;
  color: var(--ink);
}
.ways li svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.6;
}
@media (max-width: 1180px) {
  .feature-cards {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }
}
@media (max-width: 560px) {
  .feature-card {
    grid-template-columns: 1fr;
  }
  .feature-card img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .feature-card div {
    padding: 4px 8px 10px;
  }
  .ways h2 {
    border: 0;
    padding: 0;
  }
  .ways ul {
    justify-content: flex-start;
    flex-direction: column;
  }
}

/* ---------- 4. Page: partners ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.partner-grid > div:first-child {
  padding-right: clamp(0px, 3vw, 44px);
  border-right: 1px solid var(--line);
}
.become {
  background: var(--sky-100);
  border-radius: 18px;
  padding: 30px clamp(24px, 3.5vw, 52px);
}
.become h2 {
  font-size: 1.9rem;
  margin-bottom: 4px;
}
.become .btn {
  margin-top: 24px;
}
.resources {
  margin-top: clamp(40px, 5vw, 64px);
}
.resources::before {
  content: "";
  display: block;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(28px, 3vw, 40px);
}
.resources ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 26px;
}
.resources li {
  display: flex;
  gap: 16px;
  padding: 4px 22px;
  border-left: 1px solid var(--line);
}
.resources li:first-child {
  border-left: 0;
  padding-left: 0;
}
.resources li svg {
  width: 46px;
  height: 46px;
  flex: none;
  color: var(--blue-600);
  stroke-width: 1.5;
}
.resources h3 {
  font-size: 1.12rem;
  margin: 2px 0 4px;
}
.resources p {
  margin: 0;
  font-size: 0.95rem;
}
@media (max-width: 960px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }
  .partner-grid > div:first-child {
    border: 0;
    padding: 0;
  }
  .resources ul {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
  }
  .resources li:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
}
@media (max-width: 560px) {
  .resources ul {
    grid-template-columns: 1fr;
  }
  .resources li {
    border: 0;
    padding-left: 0;
  }
}

/* ---------- 4. Page: about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.story {
  padding-right: clamp(0px, 3vw, 44px);
  border-right: 1px solid var(--line);
}
.story .h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}
.story .prose {
  font-size: 1.15rem;
  line-height: 1.6;
}
.experience {
  display: flex;
  gap: 28px;
  align-items: center;
}
.experience > div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.experience h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}
.experience p {
  margin: 0;
  font-size: 1.04rem;
}
.expertise {
  margin-top: 26px;
  background: var(--sky-100);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}
.expertise h3 {
  font-size: 1.7rem;
  margin: 0;
  max-width: 7em;
  padding-right: 24px;
  border-right: 1px solid #b9cde6;
}
.expertise ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.expertise li {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 750;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.2;
  padding: 0 10px;
  border-left: 1px solid #b9cde6;
}
.expertise li:first-child {
  border-left: 0;
}
.expertise li svg {
  width: 50px;
  height: 50px;
  stroke-width: 1.5;
}
.served {
  margin-top: clamp(36px, 4vw, 52px);
  background: var(--sky-100);
  border-radius: var(--radius);
  padding: 22px 30px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.served h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  padding-right: 28px;
  border-right: 1px solid #b9cde6;
  white-space: nowrap;
}
.served ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex: 1;
}
.served a,
.served span {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 18px;
  font-family: var(--font-head);
  font-weight: 750;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}
.served li + li {
  border-left: 1px solid #b9cde6;
}
.served a:hover {
  color: var(--blue-600);
}
.served svg {
  width: 46px;
  height: 46px;
  flex: none;
  stroke-width: 1.5;
}
@media (max-width: 1080px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .story {
    border: 0;
    padding: 0;
  }
  .served {
    flex-direction: column;
    align-items: flex-start;
  }
  .served h2 {
    border: 0;
    padding: 0;
    white-space: normal;
  }
  .served ul {
    grid-template-columns: 1fr 1fr;
    gap: 12px 0;
    width: 100%;
  }
  .served li + li {
    border: 0;
  }
}
@media (max-width: 640px) {
  .experience {
    flex-direction: column;
    text-align: center;
  }
  .experience > div {
    border: 0;
    padding: 0;
  }
  .expertise {
    grid-template-columns: 1fr;
  }
  .expertise h3 {
    border: 0;
    padding: 0;
    max-width: none;
    text-align: center;
  }
  .served ul {
    grid-template-columns: 1fr;
  }
  .served a,
  .served span {
    padding-left: 0;
  }
}

/* ---------- 4. Page: contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: clamp(28px, 4vw, 60px);
}
.contact-info {
  padding-right: clamp(0px, 3vw, 44px);
  border-right: 1px solid var(--line);
}
.contact-list {
  list-style: none;
  display: grid;
  gap: 22px;
  margin: 26px 0;
}
.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-list address {
  font-style: normal;
  line-height: 1.35;
}
.contact-list a {
  font-weight: 700;
}
.contact-list svg {
  width: 36px;
  height: 36px;
  flex: none;
  stroke-width: 1.6;
  color: var(--ink);
}
.calendly {
  background: var(--sky-100);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.calendly h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-bottom: 20px;
}
.fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 650;
  color: var(--ink);
  font-size: 0.97rem;
}
.fields em {
  color: #d3263a;
  font-style: normal;
}
.fields .full {
  grid-column: 1 / -1;
}
.fields input,
.fields textarea {
  font: inherit;
  font-weight: 400;
  color: var(--text);
  border: 1px solid #a9bcd8;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  width: 100%;
}
.fields input:focus,
.fields textarea:focus {
  outline: 3px solid rgba(43, 125, 233, 0.3);
  border-color: var(--blue-500);
}
.was-validated :invalid {
  border-color: #d3263a;
}
.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  font-weight: 600;
}
.form-status[data-kind="ok"] {
  color: #17803a;
}
.form-status[data-kind="err"] {
  color: #c21f33;
}
.form-note {
  font-size: 0.88rem;
  color: var(--muted);
}
button[disabled] {
  opacity: 0.6;
  cursor: progress;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info {
    border: 0;
    padding: 0;
  }
}
@media (max-width: 560px) {
  .fields {
    grid-template-columns: 1fr;
  }
}
