/* Poppins (SIL Open Font License), self-hosted so no visitor data goes to Google */
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-400-latin.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: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-500-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-500-latin.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: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-600-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-600-latin.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: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/poppins-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/poppins-700-latin.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;
}

:root {
  /* Brand palette (Corporate Brand Guidelines) */
  --navy: #002D72;    /* PANTONE 288 C */
  --cyan: #00A9E0;    /* PANTONE 2995 C */
  --orange: #FD6300;  /* PANTONE 165 C */
  --grey: #898D8E;    /* PANTONE 423 C */
  --white: #FFFFFF;

  --ink: #1F2328;
  --ink-soft: #4A4F52;
  --surface: #F4F5F5;
  --line: #E3E5E6;
  --on-navy-soft: #C9D3E6;
  --on-navy-line: rgba(255, 255, 255, .16);

  --font-head: "Poppins", "Century Gothic", "Avenir", sans-serif;
  --font-body: Arial, "Helvetica Neue", Helvetica, sans-serif;

  --gutter: clamp(1.25rem, 6vw, 7rem);
  --max: 1600px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 1rem; top: 1rem; transform: translateY(-300%);
  background: var(--white); color: var(--navy);
  padding: .75rem 1rem; z-index: 100;
}
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.label {
  font-family: var(--font-head); font-weight: 500;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
}

/* Split-word masks for headline reveals */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: var(--navy); box-shadow: 0 1px 0 var(--on-navy-line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
  transition: height .3s ease;
}
.site-header.scrolled .wrap { height: 64px; }
.site-header img { width: 140px; }
.site-nav { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); }
.nav-link {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: var(--white); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
  background: linear-gradient(var(--orange), var(--orange)) 0 calc(100% - 8px) / 0 2px no-repeat;
  transition: background-size .25s var(--ease);
}
.nav-link:hover { background-size: 100% 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--navy); color: var(--white);
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: var(--header-h);
  overflow: hidden;
}
/* Full-bleed night-highway photo under a navy overlay that keeps text on the left readable */
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--navy); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; transform-origin: 70% 55%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 22, 60, .75) 0%, rgba(0, 22, 60, 0) 20%),
    linear-gradient(0deg, rgba(0, 22, 60, .92) 0%, rgba(0, 22, 60, 0) 32%),
    linear-gradient(90deg, rgba(0, 30, 80, .94) 0%, rgba(0, 35, 90, .8) 38%, rgba(0, 45, 114, .3) 72%, rgba(0, 45, 114, .12) 100%);
}

.hero-body { flex: 1; display: flex; align-items: center; padding: 3rem 0 4rem; }
.hero-text { position: relative; padding-left: clamp(1.25rem, 3vw, 2.75rem); max-width: min(66rem, 62vw); }
.hero .services li { text-shadow: 0 1px 12px rgba(0, 20, 60, .6); }
@media (max-width: 767px) {
  .hero-media img { object-position: 72% 50%; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(0, 30, 80, .88) 0%, rgba(0, 30, 80, .6) 45%, rgba(0, 30, 80, .78) 75%, rgba(0, 22, 60, .95) 100%);
  }
  .hero-text { max-width: none; }
}
.rule {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--orange); transform-origin: top;
}
.hero .label { color: var(--cyan); margin-bottom: 1.5rem; }
.hero h1 {
  font-size: clamp(2.75rem, 7.2vw, 7.5rem);
  line-height: 1.04; letter-spacing: -.03em;
}
.hero h1 .dot { color: var(--orange); }
.hero .lead {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem); line-height: 1.65;
  color: var(--on-navy-soft);
  max-width: 38rem; margin: 2rem 0 2.75rem;
}
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: .75rem;
  min-height: 56px; padding: 0 1.9rem;
  background: var(--orange); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 1.1875rem;
  text-decoration: none; border-radius: 2px;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #D95500; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.btn:hover::before { transform: scaleX(1); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateY(3px); }

.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative;
}
.services::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--on-navy-line); transform-origin: left;
}
.services li {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.6rem 0;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
}
.services svg { flex: none; color: var(--cyan); }

/* ---------- About ---------- */
.about { background: var(--surface); padding: clamp(5rem, 11vw, 9rem) 0; }
.about .grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); align-items: center; }
.about-media { margin: 0; }
.about-media .frame { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 1 / 1; background: var(--navy); }
.about-media .frame::before { /* orange brand rule down the left edge */
  content: ""; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange);
}
.about-media img { width: 100%; height: 115%; object-fit: cover; display: block; }
.about-media figcaption {
  margin-top: 1rem; font-family: var(--font-head); font-weight: 500; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.about .label { color: var(--ink-soft); margin-bottom: 1.5rem; display: block; }
.about h2 { font-size: clamp(2.25rem, 4.4vw, 4.25rem); line-height: 1.1; letter-spacing: -.025em; color: var(--navy); }
.about-copy { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.75; max-width: 38rem; margin-top: 2rem; }
.about-copy p + p { margin-top: 1.1rem; }
.about-copy strong { color: var(--navy); font-weight: 700; }
.facts { display: grid; gap: 0; margin: clamp(2.5rem, 4vw, 3.5rem) 0 0; }
.facts div { padding: 1.25rem 0; border-top: 1px solid #D9DCDD; }
.facts dt { font-family: var(--font-head); font-weight: 500; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { margin: .35rem 0 0; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--navy); }

/* ---------- Business ---------- */
.business { padding: clamp(5rem, 11vw, 9rem) 0; }
.business .grid { display: grid; gap: 3rem; }
.business .label { color: var(--ink-soft); margin-bottom: 1.5rem; display: block; }
.business h2, .contact h2 {
  font-size: clamp(2.25rem, 4.4vw, 4.25rem);
  line-height: 1.1; letter-spacing: -.025em; color: var(--navy);
}
.business .intro { color: var(--ink-soft); font-size: 1.125rem; line-height: 1.7; max-width: 34rem; margin-top: 2rem; }
.supply { list-style: none; margin: 0; padding: 0; }
.supply li {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 4rem 1fr auto; align-items: center;
  padding: clamp(1.75rem, 2.6vw, 2.6rem) 0;
}
/* Active row: a navy panel sweeps in from the left and out to the right */
.supply .fill {
  position: absolute; inset: -1px -1rem; z-index: -1;
  background: var(--navy);
  transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease);
}
.supply li.is-on { z-index: 1; } /* sit above neighbours so the panel covers the divider lines */
.supply li.is-on .fill { transform: scaleX(1); transform-origin: left; }
.supply li::before, .supply li:last-child::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line);
  transform-origin: left; transform: scaleX(var(--line-s, 1));
  z-index: -2;
}
.supply li::before { top: 0; }
.supply li:last-child::after { bottom: 0; }
.supply .n { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--orange); }
.supply h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 500; color: var(--navy); line-height: 1.2; }
.supply .ico { color: var(--cyan); }
.supply .n, .supply h3, .supply .ico {
  transition: color .35s ease .05s, transform .5s var(--ease);
}
.supply li.is-on .n { color: var(--cyan); }
.supply li.is-on h3 { color: var(--white); transform: translateX(.75rem); }
.supply li.is-on .ico { color: var(--orange); transform: rotate(-10deg) scale(1.15); }
@media (prefers-reduced-motion: reduce) {
  .supply .fill, .supply .n, .supply h3, .supply .ico { transition: none; }
  .supply li.is-on h3, .supply li.is-on .ico { transform: none; }
}

/* ---------- Contact ---------- */
.contact { background: var(--surface); padding: clamp(5rem, 11vw, 9rem) 0 2.5rem; }
.contact .grid { display: grid; gap: 3rem; }
.contact address { font-style: normal; color: var(--ink-soft); display: grid; gap: clamp(2rem, 3vw, 2.75rem); line-height: 1.7; }
.contact .label { color: var(--ink-soft); display: block; margin-bottom: .75rem; font-size: .75rem; }
.tel {
  font-family: var(--font-head); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  color: var(--navy); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
  background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 2px no-repeat;
  transition: background-size .25s var(--ease);
}
.tel:hover { background-size: 100% 4px; }
.foot {
  margin-top: clamp(4.5rem, 9vw, 7.5rem); padding: 2rem 0 .5rem; border-top: 1px solid #D9DCDD;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  font-size: .9rem; color: var(--ink-soft);
}
.foot img { width: 160px; }
.foot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 3rem; }
.legal-links { display: flex; gap: 2.25rem; }
.legal-links a {
  color: var(--navy); text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; min-height: 44px;
  background: linear-gradient(var(--orange), var(--orange)) 0 calc(100% - 10px) / 0 2px no-repeat;
  transition: background-size .25s var(--ease);
}
.legal-links a:hover { background-size: 100% 2px; }

/* ---------- Legal dialogs (Privacy Notice, Terms of Use) ---------- */
html:has(dialog.legal[open]) { overflow: hidden; }
dialog.legal {
  width: min(720px, calc(100% - 2rem)); max-height: min(85vh, 900px);
  padding: 0; border: 0; border-radius: 4px;
  background: var(--white); color: var(--ink);
  box-shadow: 0 24px 64px rgba(0, 20, 60, .35);
  display: none; flex-direction: column; overflow: hidden;
}
dialog.legal[open] { display: flex; animation: dlg-in .35s var(--ease); }
dialog.legal::backdrop { background: rgba(0, 35, 90, .55); backdrop-filter: blur(4px); animation: fade-in .3s ease; }
.legal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem 1.1rem clamp(1.25rem, 4vw, 2.25rem);
  border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--orange);
}
.legal-head h2 { font-size: 1.35rem; color: var(--navy); }
.legal-close {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer;
  transition: background-color .2s ease, transform .25s var(--ease);
}
.legal-close:hover { background: var(--surface); transform: rotate(90deg); }
.legal-body {
  overflow-y: auto; overscroll-behavior: contain;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.25rem) 2.25rem;
  font-size: .95rem; color: var(--ink-soft);
}
.legal-body h3 { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin: 1.75rem 0 .5rem; }
.legal-body p, .legal-body ul { margin: 0 0 .75rem; }
.legal-body ul { padding-left: 1.2rem; }
.legal-body li { margin-bottom: .4rem; }
.legal-body li::marker { color: var(--orange); }
.legal-body a { color: var(--navy); font-weight: 600; }
.legal-date { font-size: .8rem; letter-spacing: .04em; color: var(--ink-soft); }
.legal-contact { padding: 1rem 1.25rem; background: var(--surface); border-left: 3px solid var(--cyan); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  dialog.legal[open], dialog.legal::backdrop { animation: none; }
  .legal-close:hover { transform: none; }
}

@media (min-width: 768px) {
  .site-header img { width: 168px; }
  .services { grid-template-columns: repeat(4, 1fr); }
  .services li + li { padding-left: 1.5rem; border-left: 1px solid var(--on-navy-line); }
  .about .grid { grid-template-columns: 5fr 6fr; gap: clamp(4rem, 8vw, 9rem); }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .business .grid { grid-template-columns: 1fr 1fr; gap: clamp(4rem, 8vw, 9rem); align-items: start; }
  .business .head { position: sticky; top: 7rem; }
  .contact .grid { grid-template-columns: 1fr 1fr; gap: clamp(4rem, 8vw, 9rem); align-items: start; }
}
@media (max-width: 767px) {
  :root { --header-h: 68px; }
  .services li:nth-child(odd) { padding-right: 1rem; }
  .services li:nth-child(n+3) { border-top: 1px solid var(--on-navy-line); }
}

/* Pre-animation state (only when motion is allowed and JS is running) */
.anim [data-a] { visibility: hidden; }
