/* ==========================================================================
   SUNO Global Logistics
   ========================================================================== */

/* Poppins, self-hosted (SIL Open Font License, see assets/fonts/OFL.txt).
   Latin covers English and French; Latin Extended loads only if a page needs it. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-ext-400-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: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-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: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-ext-500-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: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-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: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-ext-600-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: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-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: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-ext-700-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: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-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: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-ext-800-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: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-800-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; }

:root {
  --navy: #002b53;
  --navy-900: #001d3a;
  --navy-700: #0b3b6e;
  --accent: #ff7f04;        /* SUNO orange, from the logo */
  --accent-hover: #ff9a3c;  /* lighter, so navy button text stays readable (6.8:1) */
  --accent-deep: #cc5a00;   /* for small accent icons on white backgrounds (4.2:1) */
  --ink: #0e2340;
  --muted: #4a5a72;
  --line: #dfe6ee;
  --bg-soft: #f4f8fb;
  --white: #fff;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0, 29, 58, .10);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Chinese: Poppins has no Chinese characters, so they come from the device's own
   Chinese font (Apple, Windows, Android/Linux); numbers and Latin text stay in Poppins. */
:root:lang(zh) {
  --font: "Poppins", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
}
:lang(zh) body { line-height: 1.7; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; } /* let <img> inside <picture> be styled and laid out directly */

/* Section with a photo behind its content: <section class="has-bg"> + picture(..., class "bg-img").
   The overlay colour comes from --overlay so each section can set its own. */
.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.has-bg .bg-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none; object-fit: cover;
}
.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--overlay, transparent); }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.15; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- shared bits ---------- */

.ico {
  width: 1.1em; height: 1.1em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

.rule {
  display: block;
  width: 56px; height: 5px;
  background: var(--accent);
  border-radius: 2px;
}
.rule-sm { width: 28px; height: 3px; margin-top: 10px; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 12px;
  font-size: .8rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy);
}
.eyebrow::before {
  content: ""; width: 40px; height: 4px;
  background: var(--accent); border-radius: 2px;
}

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .8em 1.5em;
  border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s;
}
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--accent-hover); }
.btn:hover .ico { transform: translateX(3px); }
.btn .ico { transition: transform .2s; }

/* ---------- logo ---------- */

.logo { display: inline-block; line-height: 0; flex: none; }
.logo img { height: 46px; width: auto; }
.site-footer .logo img { height: 58px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 32px;
  min-height: 76px;
}
.main-nav { margin-left: 24px; }
.main-nav ul { display: flex; gap: 36px; }
.main-nav a {
  position: relative; white-space: nowrap;
  font-size: .9rem; font-weight: 500;
  text-decoration: none; color: var(--navy);
  padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform .2s;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav-toggle { display: none; }
/* Language menu (<details> dropdown in the header) */
.lang-menu { position: relative; }
.lang-menu summary {
  display: flex; align-items: center; gap: 4px; cursor: pointer; list-style: none;
  font-size: .8rem; font-weight: 600; letter-spacing: .05em; color: var(--navy);
  padding: 6px 8px 6px 10px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: var(--accent); background: rgba(255,127,4,.1); }
.lang-menu summary .ico { width: 14px; height: 14px; transition: transform .2s; }
.lang-menu[open] summary .ico { transform: rotate(180deg); }
.lang-menu ul {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 150px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(0,29,58,.12); padding: 6px 0;
}
.lang-menu a { display: block; padding: 9px 16px; font-size: .9rem; color: var(--navy); text-decoration: none; white-space: nowrap; }
.lang-menu a:hover { background: var(--bg-soft); }
.lang-menu a[aria-current] { font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: clamp(420px, 42vw, 600px);
  display: flex; align-items: center;
  --overlay: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 28%, rgba(255,255,255,0) 52%);
  color: var(--navy);
}
.hero .bg-img { object-position: right center; }
.hero-inner { position: relative; padding-block: 64px 96px; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -.01em;
}
.hero .rule { margin: 26px 0 30px; }
.hero-lede {
  margin: 0 0 32px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 500;
  text-transform: uppercase;
}
.hero-tagline {
  position: absolute; top: 32px; right: var(--gutter);
  margin: 0;
  font-size: .85rem; font-weight: 600; line-height: 1.5;
  text-transform: uppercase; letter-spacing: .03em;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

/* ---------- services ---------- */

.services { position: relative; z-index: 2; margin-top: -48px; padding-bottom: 32px; }
.service-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 28px 0;
}
.service {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 8px 18px;
  border-left: 1px solid var(--line);
}
.service:first-child { border-left: 0; }
.service-icon {
  width: 48px; height: 48px; margin-bottom: 20px;
  fill: none; stroke: var(--navy); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.service h3 { font-size: .85rem; font-weight: 700; text-transform: uppercase; color: var(--navy); }
.service .rule-sm { margin: 14px auto 16px; }
.service p { margin: 0; font-size: .82rem; color: var(--muted); }

/* ---------- global reach ---------- */

.reach { background: var(--navy); color: var(--white); padding-block: 48px; overflow: hidden; }
.reach-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "copy  map   map"
    "stats stats regions";
  gap: 32px 48px; align-items: center;
}
.reach-copy { grid-area: copy; }
.reach-map { grid-area: map; }
.stats { grid-area: stats; }
.reach-regions { grid-area: regions; }
.reach h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; text-transform: uppercase; margin: 22px 0 0; }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 24px; margin: 0; }
.stats div { padding-right: 24px; border-right: 1px solid rgba(255,255,255,.2); }
.stats div:last-child { border-right: 0; }
.stats dt { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 700; color: var(--accent); line-height: 1.1; }
.stats dd { margin: 4px 0 0; font-size: .8rem; opacity: .9; white-space: nowrap; }
.reach-map { width: 100%; }
.reach-regions { margin: 0; align-self: end; text-align: right; font-size: .75rem; font-weight: 500; line-height: 1.7; text-transform: uppercase; }
.reach-regions .rule-sm { margin-left: auto; }

/* ---------- about ---------- */

.about { position: relative; display: grid; grid-template-columns: 1fr; min-height: 440px; }
.about-inner { grid-area: 1 / 1; display: flex; align-items: center; padding-block: 56px; }
.about-copy { max-width: 46%; }
.about h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.about-copy > p:not(.eyebrow) { margin: 0 0 28px; font-size: 1.05rem; color: var(--ink); }
.about-media {
  grid-area: 1 / 1;
  justify-self: end; width: 52%;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- industries ---------- */

.industries { background: var(--bg-soft); padding-block: 56px; }
.industries h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; color: var(--navy); margin-bottom: 36px; }
.industry-grid { display: grid; grid-template-columns: repeat(8, 1fr); }
.industry-grid li {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center; font-size: .8rem; color: var(--ink);
  padding: 4px 8px;
  border-left: 1px solid var(--line);
}
.industry-grid li:first-child { border-left: 0; }
.industry-grid svg {
  width: 38px; height: 38px;
  fill: none; stroke: var(--navy); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  color: var(--white);
  background-color: var(--navy);
  --overlay: linear-gradient(90deg, rgba(0,29,58,.85) 0%, rgba(0,29,58,.45) 35%, rgba(0,29,58,0) 60%, rgba(0,29,58,.35) 100%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 260px; padding-block: 40px; }
.cta-banner h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; text-transform: uppercase; margin-bottom: 14px; }
.cta-banner p { margin: 0; font-size: 1rem; }

/* ---------- news ---------- */

.news { padding-block: 56px 40px; }
.news-inner { display: grid; grid-template-columns: 200px 1fr; gap: 24px 40px; }
.news-head h2 { font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  display: grid; grid-template-columns: 42% 1fr;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,29,58,.16); }
.news-card img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.news-thumb-icon {
  display: grid; place-items: center; min-height: 150px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
}
.news-thumb-icon svg { width: 40%; height: 40%; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.news-body { position: relative; display: flex; flex-direction: column; padding: 18px 16px 44px; }
.news-body h3, .post-body h2 { hyphens: auto; overflow-wrap: break-word; } /* long French words in narrow cards */
.news-body time { font-size: .72rem; color: var(--muted); margin-bottom: 8px; }
.news-body h3 { font-size: .88rem; font-weight: 500; color: var(--navy); }
.news-body h3 a { text-decoration: none; }
.news-body h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.news-arrow { position: absolute; right: 16px; bottom: 16px; color: var(--accent-deep); font-size: 1.3rem; }
.view-all {
  grid-column: 2; justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: .9rem; color: var(--navy); text-decoration: none;
}
.view-all .ico { color: var(--accent-deep); font-size: 1.4rem; }

/* ---------- footer ---------- */

.site-footer { background: var(--navy); color: var(--white); padding-top: 56px; }
.footer-top {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 32px 56px; align-items: start;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-tagline { margin: 6px 0 0; font-size: .85rem; font-weight: 500; text-transform: uppercase; }
.footer-contact li { display: flex; align-items: center; gap: 16px; font-size: .9rem; margin-bottom: 12px; }
.footer-contact .ico { font-size: 1.2rem; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-block: 24px; font-size: .78rem;
}
.footer-bottom p { margin: 0; }
.legal { display: flex; }
.legal li + li::before { content: "|"; margin: 0 14px; opacity: .6; }
.legal a { text-decoration: none; }
.legal a:hover { text-decoration: underline; }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* home service cards link to their detail section */
.service { position: relative; }
.service h3 a { text-decoration: none; }
.service h3 a::after { content: ""; position: absolute; inset: 0; }
.service:hover h3 { color: var(--navy-700); }

/* ---------- page hero ---------- */

.page-hero {
  color: var(--white);
  padding-block: 72px 80px;
  background-color: var(--navy);
  --overlay: linear-gradient(90deg, rgba(0,29,58,.92) 0%, rgba(0,29,58,.72) 50%, rgba(0,29,58,.38) 100%);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; text-transform: uppercase; }
.page-hero .rule { margin: 22px 0; }
.page-hero-lede { margin: 0; max-width: 560px; font-size: clamp(1rem, 1.5vw, 1.2rem); }

.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 20px; padding: 0; font-size: .8rem; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; opacity: .6; }
.breadcrumb a { text-decoration: none; opacity: .85; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--accent); }

/* ---------- generic sections ---------- */

.section { padding-block: clamp(56px, 7vw, 88px); }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy .eyebrow, .section-navy h2 { color: var(--white); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .eyebrow { justify-content: center; }
.section h2, .service-detail h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; color: var(--navy); }
.section-navy h2 { color: var(--white); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy > p:not(.eyebrow) { margin: 0 0 16px; color: var(--muted); font-size: 1.02rem; }
.split-copy .btn { margin-top: 12px; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); }

/* ---------- cards ---------- */

.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.card--line { box-shadow: none; border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.card-icon {
  width: 44px; height: 44px; margin-bottom: 18px;
  fill: none; stroke: var(--navy); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.stats-band { background: var(--navy); color: var(--white); padding-block: 48px; }
.stats-band .stats { justify-content: space-between; }

.check-list { margin: 8px 0 20px; display: grid; gap: 12px; }
.check-list--2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check-list .ico {
  margin-top: 2px; padding: 3px; width: 1.4em; height: 1.4em;
  background: var(--accent); color: var(--navy); border-radius: 50%; stroke-width: 3;
}

/* ---------- services page ---------- */

.chip-nav {
  position: sticky; top: 76px; z-index: 40;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.chip-nav ul { display: flex; gap: 8px; overflow-x: auto; padding-block: 14px; scrollbar-width: none; }
.chip-nav ul::-webkit-scrollbar { display: none; }
.chip-nav a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; font-weight: 500; color: var(--navy); text-decoration: none;
  transition: background .2s, border-color .2s;
}
.chip-nav a:hover { background: var(--accent); border-color: var(--accent); }
.chip-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.service-detail { padding-block: clamp(56px, 7vw, 88px); scroll-margin-top: 140px; }
.service-detail--alt { background: var(--bg-soft); }
.service-panel {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,127,4,.18), transparent 55%),
    linear-gradient(135deg, var(--navy-700), var(--navy-900));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.service-panel svg {
  width: 42%; height: 42%;
  fill: none; stroke: var(--accent); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.service-num {
  position: absolute; left: 28px; top: 20px;
  font-size: 3.2rem; font-weight: 800; line-height: 1;
  color: rgba(255,255,255,.14);
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li {
  position: relative; counter-increment: step;
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 10px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; right: 20px; top: 16px;
  font-size: 1.8rem; font-weight: 800; color: rgba(255,255,255,.12);
}
.steps .card-icon { stroke: var(--accent); }
.steps h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.steps p { margin: 0; font-size: .9rem; opacity: .85; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- news page ---------- */

.post-featured, .post-card {
  background: var(--white); border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow); scroll-margin-top: 100px;
}
.post-featured { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 32px; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.post-media { position: relative; min-height: 240px; }
.post-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-card .post-media { aspect-ratio: 16 / 9; min-height: 0; }
.post-media--icon {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,127,4,.18), transparent 55%),
    linear-gradient(135deg, var(--navy-700), var(--navy-900));
}
.post-media--icon svg {
  width: 30%; height: 50%;
  fill: none; stroke: var(--accent); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.post-body { padding: 32px; }
.post-featured .post-body { padding: clamp(28px, 4vw, 48px); align-self: center; }
.post-meta { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: .8rem; color: var(--muted); }
.post-tag {
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,127,4,.2); color: var(--navy);
  font-weight: 600; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
}
.post-body h2 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.post-featured h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.post-body > p:last-child { margin: 0; color: var(--muted); }

/* news cards link to their article */
.post-featured, .post-card { position: relative; transition: transform .2s, box-shadow .2s; }
.post-featured:hover, .post-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,29,58,.16); }
.post-body h2 a { text-decoration: none; }
.post-body h2 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.post-body > p:last-of-type { margin: 0; color: var(--muted); }
.read-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: .88rem; font-weight: 600; color: var(--navy);
}
.read-more .ico { color: var(--accent-deep); transition: transform .2s; }
.post-featured:hover .read-more .ico, .post-card:hover .read-more .ico { transform: translateX(3px); }

/* ---------- article page ---------- */

.page-hero--article {
  background-image:
    radial-gradient(circle at 85% 20%, rgba(255,127,4,.14), transparent 50%),
    linear-gradient(135deg, var(--navy-700), var(--navy-900));
}
.page-hero--article h1 { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: none; max-width: 820px; margin-bottom: 18px; }
.page-hero--article .post-meta { color: rgba(255,255,255,.8); }
.page-hero--article .post-tag { background: var(--accent); }
.page-hero--article .page-hero-lede { max-width: 720px; opacity: .9; }
.breadcrumb [aria-current] { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.article-inner { max-width: 820px; }
.article-figure { margin: 0 0 40px; }
.article-figure img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 10px; box-shadow: var(--shadow);
}

.prose { font-size: 1.06rem; line-height: 1.75; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.25em; }
.prose h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; color: var(--navy); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.15rem; font-weight: 600; color: var(--navy); margin: 1.5em 0 .5em; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: .5em; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .7em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.prose ol { padding-left: 1.4em; }
.prose strong { color: var(--navy); }
.prose a { color: var(--navy-700); font-weight: 500; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--navy); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); color: var(--muted); font-style: italic; }

.article-foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line);
}
.back-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--navy); text-decoration: none; }
.back-link .ico { transform: rotate(180deg); color: var(--accent-deep); transition: transform .2s; }
.back-link:hover .ico { transform: rotate(180deg) translateX(3px); }

/* ---------- contact page ---------- */

.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.contact-info > p:not(.eyebrow) { margin: 0 0 32px; color: var(--muted); }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-icon {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--accent); font-size: 1.3rem;
}
.contact-list h3 { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
.contact-list p { margin: 0; font-weight: 500; color: var(--navy); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.quote-form {
  background: var(--white); border-radius: 10px; box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 44px); border-top: 5px solid var(--accent);
  scroll-margin-top: 100px;
}
.quote-form h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: 6px; }
.form-note { margin: 0 0 24px; font-size: .85rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 24px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 500; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(11,59,110,.15);
}
.field [aria-invalid="true"] { border-color: #c62828; }
.field-error { margin: 6px 0 0; font-size: .8rem; color: #c62828; }
.quote-form .btn { border: 0; cursor: pointer; }
.quote-form .btn[disabled] { opacity: .6; cursor: wait; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius); font-size: .92rem; background: var(--bg-soft); color: var(--navy); }
.form-status.is-success { background: #e8f5ec; color: #1b5e34; }
.form-status.is-error { background: #fdecea; color: #b3261e; }
.form-status:empty { display: none; }
.form-privacy { margin: 14px 0 0; font-size: .8rem; color: var(--muted); }
.form-privacy a { color: var(--navy-700); }

.faq-wrap { max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1280px) {
  .header-inner { gap: 24px; }
  .main-nav { margin-left: 8px; }
  .main-nav ul { gap: 26px; }
}

/* Below 1080px the full menu no longer fits (French labels are longer): switch to the menu button */
@media (max-width: 1080px) {
  .nav-toggle {
    display: grid; gap: 5px; place-content: center;
    width: 42px; height: 42px; padding: 0;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--white); box-shadow: 0 12px 24px rgba(0,29,58,.12);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }

  .main-nav ul { gap: 22px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .service:nth-child(4) { border-left: 0; }
  .reach-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stats" "map"; }
  .reach-regions { display: none; }
  .reach-map { max-width: 640px; justify-self: center; }
  .industry-grid { grid-template-columns: repeat(4, 1fr); row-gap: 32px; }
  .industry-grid li:nth-child(5) { border-left: 0; }
  .news-inner { grid-template-columns: 1fr; }
  .view-all { grid-column: 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .card-grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header-inner { gap: 16px; }
  .header-actions .btn { display: none; }
  .site-header .logo img { height: 38px; }
  .hero {
    --overlay: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.82) 55%, rgba(255,255,255,.1) 88%);
    align-items: flex-start;
  }
  .hero .bg-img { object-position: 72% center; }
  .hero-tagline { display: none; }

  .stats { grid-template-columns: repeat(2, auto); }
  .stats div:nth-child(2) { border-right: 0; }

  .about { min-height: 0; }
  .about-inner { grid-area: auto; padding-block: 48px 32px; }
  .about-copy { max-width: none; }
  .about-media { grid-area: auto; width: 100%; clip-path: none; }
  .about-media img { aspect-ratio: 16 / 10; }

  .news-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .service-panel { aspect-ratio: 16 / 7; }
  .service-panel svg { width: 28%; height: 60%; }
  .card-grid--3 { grid-template-columns: 1fr; }
  .post-featured, .post-grid, .contact-layout { grid-template-columns: 1fr; }
  .post-featured .post-media { aspect-ratio: 4 / 3; min-height: 0; }
  .chip-nav { top: 76px; }
  .cta-inner { flex-direction: column; align-items: flex-start; justify-content: center; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(4) { border-left: 1px solid var(--line); }
  .service:nth-child(odd) { border-left: 0; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid li { border-left: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .card-grid--4, .steps, .check-list--2, .form-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
