/* ==========================================================================
   Sonergy Group site, built from concept 04 Atlas
   Red Hat Display / Text, a live dotted globe, an explorer by business line.
   ========================================================================== */

/* BRAND TOKENS — replace when palette arrives */
:root {
  --royal: #1E48C8;
  --gold: #D9A93F;

  --royal-950: color-mix(in oklab, var(--royal) 30%, #000);
  --royal-900: color-mix(in oklab, var(--royal) 50%, #000);
  --royal-700: color-mix(in oklab, var(--royal) 86%, #000);
  --royal-300: color-mix(in oklab, var(--royal) 40%, #fff);
  --royal-200: color-mix(in oklab, var(--royal) 22%, #fff);
  --royal-100: color-mix(in oklab, var(--royal) 10%, #fff);
  --royal-50: color-mix(in oklab, var(--royal) 5%, #fff);
  --gold-700: color-mix(in oklab, var(--gold) 56%, #000);
  --gold-300: color-mix(in oklab, var(--gold) 55%, #fff);
  --gold-100: color-mix(in oklab, var(--gold) 16%, #fff);

  --paper: #FFFFFF;
  --mist: #F3F5FA;
  --ink: #0E1733;
  --ink-2: #414B69;
  --ink-3: #69728D;
  --line: #E1E6F0;

  --font-display: 'Red Hat Display', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Red Hat Text', 'Segoe UI', system-ui, sans-serif;
  --font-label: 'Red Hat Text', 'Segoe UI', system-ui, sans-serif;
  --font-ui: 'Red Hat Text', 'Segoe UI', system-ui, sans-serif;
  --fs-h1: clamp(2.6rem, 1.45rem + 3.8vw, 5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.2vw, 3.3rem);
  --fs-body: 1.0625rem;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 1px 2px rgba(14, 23, 51, .05), 0 16px 36px -18px rgba(14, 23, 51, .22);
  --shadow-lift: 0 2px 6px rgba(14, 23, 51, .06), 0 30px 60px -26px rgba(14, 23, 51, .36);
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 9.5vw, 150px);
  --nav-h: 74px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);

  /* globe palette (read by shared/globe.js) */
  --g-sphere: color-mix(in oklab, var(--royal) 5%, #fff);
  --g-rim: color-mix(in oklab, var(--royal) 16%, #fff);
  --g-dot: var(--royal);
  --g-hl: var(--gold);
  --g-arc: var(--gold);
  --g-hq: var(--royal-900);
  --g-hub: var(--gold);
  --g-label: var(--ink);

  --focus: var(--royal);
  --chip-bg: color-mix(in oklab, var(--royal-950) 84%, transparent);
  --chip-dot: var(--gold);
  --ph-bg: var(--royal-100);
  --skip-bg: var(--royal-900);
}

body { background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/1.65 var(--font-body); }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
::selection { background: var(--gold-100); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: var(--fs-h1); line-height: 1.02; font-weight: 800; }
h2 { font-size: var(--fs-h2); line-height: 1.06; font-weight: 800; }
h3 { font-size: clamp(1.2rem, 1.05rem + .45vw, 1.42rem); line-height: 1.22; font-weight: 700; }
.accent { color: var(--royal); }


.tag { display: inline-flex; align-items: center; font: 700 clamp(.98rem, .92rem + .25vw, 1.12rem)/1.1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--royal); }
.lede { font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem); color: var(--ink-2); max-width: 60ch; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 14px; border: 1.5px solid var(--royal); background: var(--royal); color: #fff; font: 700 .95rem/1 var(--font-display);
  text-decoration: none; white-space: nowrap; transition: transform .3s var(--ease-out), box-shadow .3s, background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px color-mix(in oklab, var(--royal) 80%, transparent); background: var(--royal-700); border-color: var(--royal-700); }
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn--ghost { background: #fff; color: var(--royal); border-color: var(--royal-200); }
.btn--ghost:hover { background: var(--royal-50); color: var(--royal); border-color: var(--royal); box-shadow: none; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--royal-950); }
.btn--gold:hover { background: var(--gold-300); border-color: var(--gold-300); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9rem; border-radius: 12px; }
.btn--lg { min-height: 62px; padding: 0 36px; font-size: 1.08rem; border-radius: 16px; gap: 12px; }
.btn--lg .icon { width: 20px; height: 20px; }

/* Logo placeholder */
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--royal-900); text-decoration: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.5) blur(12px); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }
.nav-links { display: flex; gap: clamp(16px, 2.2vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; text-decoration: none; font: 600 .92rem/1 var(--font-display); color: var(--ink-2); transition: color .25s; }
.nav-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform .3s var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--royal); }
.nav-links a[aria-current="true"]::before, .nav-links a:hover::before { transform: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--royal-900); align-items: center; justify-content: center; }
.menu-btn .i-close { display: none; }
html.menu-open .menu-btn .i-open { display: none; }
html.menu-open .menu-btn .i-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 26px; font-size: clamp(2.5rem, 1.35rem + 3vw, 4.25rem); }
.hero h1 span { display: block; }
.hero .lede { margin-bottom: 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.globe-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; }
.globe-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
html.js .globe-wrap { opacity: 0; transform: scale(.94); transition: opacity 1.2s var(--ease-out) .2s, transform 1.4s var(--ease-out) .2s; }
html.is-loaded .globe-wrap { opacity: 1; transform: none; }

/* ---------- At a glance: figures that continue straight on from the hero, on the page's own white ---------- */
.stats { padding: 0 0 clamp(64px, 7vw, 104px); }
.stats-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat { display: grid; align-content: start; gap: 14px; padding: 6px clamp(14px, 2vw, 30px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font: 800 clamp(2.8rem, 2rem + 2.4vw, 4.4rem)/.9 var(--font-display); letter-spacing: -.035em; color: var(--royal-900); }
.stat-num .count-s { color: var(--gold); margin-left: 2px; }
.stat-label { display: flex; align-items: center; gap: 10px; font: 500 clamp(.92rem, .88rem + .2vw, 1.02rem)/1.3 var(--font-body); color: var(--ink-2); }
.stat-label .icon { width: 22px; height: 22px; color: var(--royal); stroke-width: 1.7; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--mist { background: var(--mist); }
.sec-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 72px); }
.sec-head .tag { margin-bottom: 18px; }
.sec-head h2 { margin-bottom: 18px; }
.sec-head--row { max-width: none; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px 60px; align-items: end; }

/* About: the section's statement, set larger than the rest of the page */
.about { padding: calc(var(--section) * 1.12) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.about-media { position: relative; }
.about-media .ph { --ar: 4 / 5; border-radius: 26px; box-shadow: var(--shadow-lift); }
.coord { position: absolute; right: -18px; top: 32px; padding: 14px 18px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lift); }
.coord small { display: block; font: 600 .72rem/1 var(--font-label); letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 6px; }
.coord b { font: 800 1.15rem/1.1 var(--font-display); color: var(--royal-900); }
/* Sized so "Grown Through Trust." holds one line in the two-column layout */
.about h2 { font-size: clamp(2.4rem, 4.4vw, 3.75rem); line-height: 1.04; }
.about h2 span { display: block; }
.mission { margin: clamp(30px, 3.4vw, 44px) 0 clamp(34px, 4vw, 52px); padding-left: clamp(20px, 2.4vw, 30px); border-left: 4px solid var(--gold); }
.mission .kicker { font: 700 .82rem/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 14px; }
.mission-text { font: 600 clamp(1.45rem, 1.05rem + 1.3vw, 2.2rem)/1.3 var(--font-display); letter-spacing: -.018em; color: var(--royal-900); text-wrap: pretty; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; padding-top: 30px; border-top: 1px solid var(--line); }
.facts h3 { font-size: 1.12rem; margin-bottom: 8px; }
.facts p { font-size: 1rem; color: var(--ink-2); }
.facts-wide { grid-column: 1 / -1; }

/* Milestones */
.mtl { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.mtl::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: repeating-linear-gradient(90deg, var(--royal-200) 0 6px, transparent 6px 12px); }
.mtl-fill { position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.mtl-item { position: relative; padding-top: 70px; }
.mtl-pin { position: absolute; left: 10px; top: 10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--royal-200); transition: background .4s, border-color .4s, color .4s; }
.mtl-pin::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--royal-200); transition: background .4s; }
.mtl-pin--icon { left: 0; top: 0; width: 48px; height: 48px; color: var(--royal-300); }
.mtl-pin--icon::after { display: none; }
.mtl-pin--icon .icon { width: 24px; height: 24px; }
.mtl-item.is-past .mtl-pin { border-color: var(--gold); }
.mtl-item.is-past .mtl-pin::after { background: var(--gold); }
.mtl-item.is-past .mtl-pin--icon { background: var(--royal); border-color: var(--royal); color: #fff; box-shadow: 0 0 0 4px var(--gold-100); }
.mtl-yr { display: inline-block; margin-bottom: 10px; font: 600 .82rem/1 var(--font-label); color: var(--royal); padding: 6px 10px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-card); }
.mtl-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.mtl-item p { font-size: .9rem; color: var(--ink-2); }

/* Business line cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.card .ph { --ar: 4 / 3; }
.card .ph img { transition: transform 1.1s var(--ease-out); }
.card:hover .ph img { transform: scale(1.05); }

/* Card photo carousels, like a multi-photo post: swipe or trackpad on the snap track, arrows on hover, count and dots */
.car-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.car-slide { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.car-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card:hover .car img { transform: none; }
.car-btn { position: absolute; top: 50%; z-index: 2; width: 34px; height: 34px; margin-top: -17px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 4px 14px rgba(14, 23, 51, .24); opacity: 0; transition: opacity .2s, transform .2s var(--ease-out); }
.car-btn .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.car-prev { left: 10px; }
.car-next { right: 10px; }
.car:hover .car-btn, .car-btn:focus-visible { opacity: 1; }
.car-btn:hover { transform: scale(1.06); }
.car-btn[disabled] { opacity: 0 !important; pointer-events: none; }
.car-count { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 5px 9px; border-radius: 999px; background: rgba(14, 23, 51, .62); color: #fff; font: 600 .74rem/1 var(--font-label); letter-spacing: .04em; font-variant-numeric: tabular-nums; pointer-events: none; }
.car-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.car-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 3px rgba(0, 0, 0, .35); transition: background .2s, transform .2s; }
.car-dots i.is-on { background: #fff; transform: scale(1.25); }
html.reduced .car-track { scroll-behavior: auto; }
@media (hover: none) { .car-btn { display: none; } }

.card-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 30px 24px 22px; }
.card-badge { position: absolute; left: 22px; top: -24px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--royal); color: #fff; box-shadow: 0 10px 20px -10px color-mix(in oklab, var(--royal) 80%, transparent); }
.card-badge .icon { width: 24px; height: 24px; }
.card--primary .card-badge { background: var(--gold); color: var(--royal-950); }
.card-meta { display: flex; justify-content: flex-end; margin: -14px 0 12px; font: 500 .74rem/1 var(--font-label); letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
.card-meta b { color: var(--gold-700); font-weight: 600; margin-right: auto; padding-left: 60px; }
.card h3 { min-height: 2.44em; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .96rem; margin-bottom: 16px; }
.where { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; }
.where li { padding: 5px 10px; border-radius: 999px; background: var(--royal-50); color: var(--royal); font: 600 .74rem/1.2 var(--font-body); }
.where li.tbc { background: var(--mist); color: var(--ink-3); border: 1px dashed var(--line); }
.card-links { margin-top: auto; display: flex; justify-content: flex-end; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--royal); font: 700 .86rem/1 var(--font-display); text-decoration: none; }
.card-links a .icon { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.card-links a:hover .icon { transform: translateX(3px); }
.card-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Who we serve */
.serve { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 22px; margin-top: clamp(56px, 6vw, 88px); }
/* The photos take the list card's height: the grid row stretches and the photos fill it */
.serve-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.serve-photos .ph { aspect-ratio: auto; height: 100%; min-height: 300px; border-radius: 22px; }
.serve-list { list-style: none; margin: 0; padding: clamp(24px, 3vw, 36px); border-radius: 22px; background: var(--royal-900); color: #fff; display: grid; align-content: center; gap: 4px; }
.serve-list h3 { color: #fff; margin-bottom: 14px; }
.serve-list h3 small { display: block; font: 600 .74rem/1 var(--font-label); letter-spacing: .1em; color: var(--gold-300); text-transform: uppercase; margin-bottom: 10px; }
.serve-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); font: 600 1rem/1.3 var(--font-display); }
.serve-list li .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--gold-300); }

/* Specs */
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.spec-card { padding: clamp(22px, 3vw, 34px); border-radius: 22px; background: #fff; box-shadow: var(--shadow-card); }
.spec-card header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.spec-card header .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--gold-100); color: var(--gold-700); }
.spec-card header p { font-size: .88rem; color: var(--ink-3); }
.fam { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.fam dt { font: 600 .74rem/1.2 var(--font-label); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.fam dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gc { padding: 6px 11px; border-radius: 10px; background: var(--royal); color: #fff; font: 700 .85rem/1.2 var(--font-display); }
.gc small { font: 500 .7rem/1 var(--font-body); opacity: .8; margin-left: 3px; }
.gc--soft { background: var(--royal-50); color: var(--royal-900); }
.spec-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.spec-foot b { font: 600 .72rem/1.2 var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); display: block; margin-bottom: 3px; }
/* Sonergy Group Brands */
.brands { margin-top: clamp(56px, 6vw, 88px); display: grid; gap: 18px; }
.brands-title { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.1; font-weight: 800; margin-bottom: 8px; }
.brand-card { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(24px, 3vw, 34px) clamp(24px, 3vw, 38px); border-radius: 22px; background: #fff; box-shadow: var(--shadow-card); }
.brand-card h4 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); line-height: 1.2; margin-bottom: 8px; }
.brand-card p { color: var(--ink-2); font-size: 1rem; max-width: 70ch; }
.brand-card .brand-kick { font: 700 .76rem/1 var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 10px; }
.brand-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--royal); font: 700 .92rem/1 var(--font-display); text-decoration: none; }
.brand-link .icon { width: 16px; height: 16px; }
.brand-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.brand-logo { justify-self: center; display: block; width: 188px; max-width: 100%; height: auto; }
.brand-logo:not(.brand-logo--square) { border-radius: 9px; box-shadow: 0 10px 24px -14px rgba(60, 10, 20, .55); }
.brand-logo--square { width: 150px; }

/* ---------- Explorer ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ex-controls { display: grid; gap: 18px; margin-bottom: 22px; }
.ex-group p { font: 600 .74rem/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.ex-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ex-chip, .ex-region {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 .88rem/1 var(--font-display); transition: background .25s, border-color .25s, color .25s;
}
.ex-chip .icon { width: 18px; height: 18px; color: var(--royal); }
.ex-chip:hover, .ex-region:hover { border-color: var(--royal-300); }
.ex-chip[aria-pressed="true"] { background: var(--royal); border-color: var(--royal); color: #fff; }
.ex-chip[aria-pressed="true"] .icon { color: var(--gold-300); }
.ex-region { min-height: 34px; font-size: .8rem; }
.ex-region[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--royal-950); }
.ex-panel { padding: 24px 26px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); min-height: 250px; }
.ex-panel .kick { font: 600 .72rem/1 var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
.ex-panel h3 { margin: 8px 0 8px; font-size: 1.4rem; }
.ex-panel > p { color: var(--ink-2); font-size: .96rem; margin-bottom: 14px; }
.ex-panel .extra { font-size: .86rem; color: var(--ink-3); margin-bottom: 14px; }
.ex-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ex-panel li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; font-size: .92rem; color: var(--ink-2); }
.ex-panel li::before { content: ""; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--gold); }
.ex-panel li b { color: var(--ink); font-weight: 700; }
.ex-panel .ex-lines { display: flex; flex-wrap: wrap; gap: 8px; }
.ex-panel .ex-lines li { display: block; }
.ex-panel .ex-lines li::before { display: none; }
.ex-panel .ex-lines button { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--royal-200); background: var(--royal-50); color: var(--royal); font: 700 .82rem/1 var(--font-display); }
.ex-fade { transition: opacity .2s; }
.ex-fade.is-swapping { opacity: 0; }
.ex-globe { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.ex-globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.locs { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.locs table { width: 100%; font-size: .92rem; }
.locs caption { text-align: left; font: 600 .74rem/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 10px; }
.locs th, .locs td { text-align: left; padding: 11px 10px 11px 0; border-top: 1px solid var(--line); vertical-align: top; }
.locs thead th { font: 600 .7rem/1.2 var(--font-label); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.locs td.num { font: 600 .86rem/1.4 var(--font-label); color: var(--gold-700); width: 34px; }
.locs tbody th { font-weight: 700; white-space: nowrap; }
.locs td { color: var(--ink-2); }

/* Process */
.flow { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.flow-line { position: absolute; left: 10%; right: 10%; top: 40px; height: 2px; overflow: visible; }
.flow-line svg { width: 100%; height: 6px; overflow: visible; }
.flow-line path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 12; }
html.is-loaded .flow.is-in .flow-line path { animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -14; } }
.flow-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; }
.flow-ic { position: relative; z-index: 1; width: 80px; height: 80px; border-radius: 24px; display: grid; place-items: center; margin-bottom: 20px; background: #fff; border: 1.5px solid var(--royal-200); color: var(--royal); box-shadow: var(--shadow-card); transition: transform .5s var(--ease-out), background .5s, color .5s, border-color .5s; transition-delay: calc(var(--i) * 200ms + .2s); }
.flow.is-in .flow-ic { background: var(--royal); color: #fff; border-color: var(--royal); }
.flow-ic .icon { width: 32px; height: 32px; }
.flow-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.flow-step p { font-size: .92rem; color: var(--ink-2); max-width: 24ch; }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.why-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); }
.why-item .icon { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--royal-50); color: var(--royal); }
.why-item h3 { font-size: 1.08rem; margin-bottom: 4px; }
.why-item p { font-size: .92rem; color: var(--ink-2); }
.why-aside { position: relative; border-radius: 22px; overflow: hidden; min-height: 420px; background: var(--royal-900); display: flex; flex-direction: column; }
/* Photo above the quote, not behind it, so the logo on the hard hat is never covered. */
.why-aside .ph { flex: 1 1 auto; min-height: 260px; aspect-ratio: auto; }
.why-aside blockquote { position: relative; z-index: 4; margin: -36px 16px 16px; padding: 22px 22px 20px; border-radius: 16px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-lift); }
.why-aside blockquote p { font: 600 1.02rem/1.45 var(--font-display); color: var(--royal-900); }
.why-aside cite { display: block; margin-top: 10px; font: 600 .7rem/1 var(--font-label); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.contact h2 { margin: 18px 0 16px; }
.contact-copy > p { color: var(--ink-2); margin-bottom: 12px; }
.contact-copy > .tag { color: var(--royal); margin-bottom: 0; }
.contact-copy .alt { color: var(--royal); font-weight: 600; }
.contact-photo { margin-top: 26px; }
.contact-photo .ph { --ar: 16 / 10; border-radius: 18px; }
.cdetails { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.cdetails li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--mist); }
.cdetails .icon { width: 22px; height: 22px; color: var(--royal); margin-top: 2px; }
.cdetails b { display: block; font: 600 .74rem/1.2 var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.cdetails address { font-style: normal; }
.cdetails a { display: block; width: fit-content; color: var(--ink); text-decoration: none; }
.cdetails a:hover { color: var(--royal); text-decoration: underline; text-underline-offset: 3px; }
/* The form card matches the left column's height; the details box takes up the slack */
.form-card { display: flex; flex-direction: column; padding: clamp(24px, 3.4vw, 40px); border-radius: 24px; background: #fff; box-shadow: var(--shadow-lift); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.form-note { font-size: .88rem; color: var(--ink-3); margin-bottom: 22px; }
.form { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr auto; gap: 16px 18px; }
.field--grow { grid-template-rows: auto 1fr auto; }
.field--grow textarea { height: 100%; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .86rem; color: var(--ink-3); max-width: 40ch; }
.form-legal a { color: var(--royal); }
.form-error { grid-column: 1 / -1; padding: 12px 14px; border-radius: 12px; background: #FEF3F2; color: #B42318; font-size: .92rem; font-weight: 600; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.field { display: grid; gap: 7px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 .86rem/1.2 var(--font-display); }
.field .req { color: var(--gold-700); margin-left: 2px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #D5DBE8; background: #fff; font-size: 1rem; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 124px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231E48C8' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px color-mix(in oklab, var(--royal) 16%, transparent); }
.field [aria-invalid="true"] { border-color: #B42318; }
.hint { font-size: .8rem; color: var(--ink-3); }
.err { font-size: .8rem; font-weight: 600; color: #B42318; }
.err:empty { display: none; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.success { margin-top: 18px; padding: 20px 22px; border-radius: 16px; background: var(--gold-100); border: 1px solid var(--gold-300); }
.success:focus { outline: 2px solid var(--royal); outline-offset: 3px; }
.success h4 { margin: 0 0 6px; font-size: 1.2rem; color: var(--royal-900); }
.success p { color: var(--ink-2); margin-bottom: 12px; }

/* Footer */
.site-footer { background: var(--royal-950); color: color-mix(in oklab, #fff 72%, var(--royal)); padding: clamp(34px, 3.6vw, 48px) 0 20px; }
/* One row: brand on the left, the HQ address in the centre, links on the right */
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px 48px; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-line { margin-top: 10px; font-size: .88rem; }
.foot-addr { font-style: normal; font-size: .92rem; line-height: 1.5; color: #fff; text-align: center; }
.foot-addr b { display: block; margin-bottom: 4px; font: 700 .74rem/1.2 var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); }
.foot-nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 10px 30px; justify-content: end; font-size: .95rem; }
.foot-nav a { color: #fff; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 16px; font-size: .86rem; }
.foot-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot-legal a { color: #fff; text-decoration: none; }
.foot-legal a:hover, .foot-legal a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: .86rem; }
}
@media (max-width: 1023px) {
  :root { --nav-h: 68px; }
  .menu-btn { display: inline-flex; }
  .nav-links { position: fixed; left: 12px; right: 12px; top: calc(var(--nav-h) + 6px); flex-direction: column; gap: 0; padding: 8px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lift); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease-out); }
  html.menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links li + li { border-top: 1px solid var(--line); }
  .nav-links a { padding: 16px 0; font-size: 1rem; }
  .hero-grid, .about-grid, .explorer, .contact, .why, .serve { grid-template-columns: 1fr; }
  .globe-wrap { max-width: 520px; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .stat:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
  .sec-head--row { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
  .mtl { grid-template-columns: 1fr; gap: 0; }
  .mtl::before, .mtl-fill { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .mtl::before { background: repeating-linear-gradient(180deg, var(--royal-200) 0 6px, transparent 6px 12px); }
  .mtl-fill { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .mtl-item { padding: 10px 0 32px 72px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .serve-photos .ph { aspect-ratio: 3 / 4; height: auto; min-height: 0; }
  .spec-grid, .locs { grid-template-columns: 1fr; }
  .ex-globe { max-width: 460px; order: -1; }
  .flow { grid-template-columns: 1fr; gap: 18px; }
  .flow-line { display: none; }
  .flow-step { display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 20px; text-align: left; align-items: start; }
  .flow-ic { grid-row: span 2; margin: 0; }
  .flow-step p { max-width: none; }
  .why-aside { min-height: 0; }
  .why-aside .ph { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .form { grid-template-rows: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .foot-addr { text-align: left; }
  .foot-nav { grid-column: 1 / -1; justify-content: start; }
  .field--grow textarea { height: auto; }
}
@media (max-width: 767px) {
  :root { --nav-h: 62px; }
  .nav-actions .btn { padding: 0 14px; min-height: 42px; font-size: .84rem; }
  .nav-actions .btn .icon { display: none; }
  .menu-btn { width: 42px; height: 42px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3n + 1) { border-left: 1px solid var(--line); padding-left: clamp(14px, 2vw, 30px); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:last-child { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr; }
  .coord { right: 12px; top: 12px; }
  .cards { grid-template-columns: 1fr; }
  .card h3 { min-height: 0; }
  .serve-photos .ph { aspect-ratio: 4 / 5; }
  .fam { grid-template-columns: 1fr; gap: 6px; }
  .brand-card { grid-template-columns: 1fr; }
  .brand-logo { justify-self: start; order: -1; }
  .brand-logo--square { width: 120px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-aside .ph { aspect-ratio: 4 / 3; }
  .form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-nav { grid-template-columns: 1fr 1fr; justify-content: start; }
}
@media (max-width: 420px) {
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Legal pages (terms, privacy) ---------- */
.legal-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(36px, 4.4vw, 56px); background: var(--mist); }
.legal-hero h1 { margin: 16px 0 12px; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); }
.legal-meta { font: 600 .92rem/1.3 var(--font-label); color: var(--ink-3); margin-bottom: 18px; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(44px, 5.5vw, 80px) clamp(64px, 7vw, 110px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow: auto; }
.legal-toc > p { font: 700 .76rem/1 var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px 10px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-toc a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .9rem; line-height: 1.35; }
.legal-toc a:hover { background: var(--mist); color: var(--royal); }
.legal-body { max-width: 74ch; }
.legal-body section { margin-bottom: clamp(32px, 3.4vw, 44px); scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal-body h2 { font-size: clamp(1.32rem, 1.18rem + .5vw, 1.62rem); line-height: 1.25; margin-bottom: 14px; }
.legal-body h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin: 12px 0; padding-left: 1.25em; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--gold-700); }
.legal-body strong, .legal-body b { color: var(--ink); }
.legal-body a { color: var(--royal); }
.legal-caps { text-transform: uppercase; font-size: .9rem; letter-spacing: .01em; }
.legal-callout { padding: 20px 22px; border-radius: 16px; background: var(--gold-100); border: 1px solid var(--gold-300); }
.legal-address { font-style: normal; margin-top: 12px; padding: 18px 20px; border-radius: 14px; background: var(--mist); color: var(--ink-2); line-height: 1.6; }
.legal-address b { display: block; margin-bottom: 4px; }
@media (max-width: 1023px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; padding: 18px; border-radius: 16px; background: var(--mist); }
  .legal-toc ol { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
}

/* ---------- Brand assets ---------- */
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { display: block; width: auto; height: 40px; }
.site-footer .logo img { height: 40px; }
@media (max-width: 767px) { .logo img { height: 34px; } .site-footer .logo img { height: 36px; } }
@media (max-width: 420px) { .logo img { height: 30px; } }
