/*
Theme Name: Dolomite
Theme URI: https://dolomite-global.com/
Author: Xpose
Description: Bespoke theme for Dolomite Limited — ground risk management and MEC consultancy. No page builder, no framework, no jQuery. Built for static export.
Version: 0.1.0
License: Proprietary
Text Domain: dolomite
*/

/* ============================================================
   FONTS — self-hosted Figtree (no render-blocking third party)
   ============================================================ */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/figtree-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: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/figtree-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Brand — sampled from the Dolomite logo */
  --ink: #231F20;
  --lime: #BED630;
  --green: #44B549;

  /* Depth scale — drawn from the hero photograph's water */
  --abyss: #06141C;
  --deep: #0B2130;
  --slate: #16394C;
  --steel: #2C5468;

  /* Light */
  --paper: #FFFFFF;
  --mist: #F5F7F6;
  --fog: #E9EEEC;
  --line: #DDE4E1;
  --body: #4E5A5C;
  --muted: #7A8688;

  /* Type */
  /* Figtree carries no CJK glyphs, so the stack falls through to the platform's
     Japanese / Korean / Traditional Chinese faces when the language switches. */
  --sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'Hiragino Sans', 'Yu Gothic', Meiryo,
    'Malgun Gothic', 'PingFang TC', 'Microsoft JhengHei', sans-serif;

  /* Rhythm */
  --gut: clamp(1.25rem, 4vw, 2rem);
  --sect: clamp(4.5rem, 9vw, 8rem);
  --max: 1240px;
  --narrow: 780px;

  --r: 4px;
  --r-lg: 8px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, picture, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--lime); color: var(--ink);
  padding: 0.75rem 1.25rem; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: var(--narrow); }
.section { padding-block: var(--sect); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* Eyebrow label with the brand tick */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--lime); flex: none;
}
.dark .eyebrow { color: var(--lime); }

.h-display {
  font-size: clamp(2.5rem, 6.1vw, 4.9rem);
  letter-spacing: -0.042em;
  line-height: 0.99;
}
.h-section { font-size: clamp(1.95rem, 3.9vw, 3.1rem); letter-spacing: -0.035em; line-height: 1.06; }
.lede {
  font-size: clamp(1.075rem, 1.6vw, 1.3rem);
  line-height: 1.62;
  color: var(--body);
}

.dark { background: var(--abyss); color: rgba(255, 255, 255, 0.76); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lede { color: rgba(255, 255, 255, 0.78); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em;
  border-radius: var(--r);
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s,
    border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: #CBE23C; box-shadow: 0 10px 28px -10px rgba(190, 214, 48, 0.7); }

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.6); }

.btn .arw { transition: transform 0.25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* Text link with animated underline */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; color: var(--ink);
}
.link-arrow .arw { transition: transform 0.25s var(--ease); }
.link-arrow:hover .arw { transform: translateX(5px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    padding 0.35s var(--ease);
  padding-block: 1.15rem;
}
.site-header.is-stuck {
  background: rgba(6, 20, 28, 0.92);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  padding-block: 0.7rem;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { flex: none; }
.brand img { width: clamp(132px, 15vw, 168px); transition: width 0.35s var(--ease); }
.is-stuck .brand img { width: clamp(120px, 13vw, 146px); }

.nav { display: flex; align-items: center; gap: clamp(0.9rem, 1.9vw, 1.75rem); }
.nav a {
  position: relative;
  font-size: 0.92rem; font-weight: 600; color: rgba(255, 255, 255, 0.88);
  padding-block: 0.4rem;
  white-space: nowrap;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--lime);
  transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 700; font-size: 0.9rem; color: #fff;
  white-space: nowrap;
}
.header-phone svg { opacity: 0.6; flex: none; }

/* The phone number is the first thing to go when the bar gets tight — it is
   repeated in the contact section and the footer, the nav is not. */
@media (max-width: 1320px) { .header-phone { display: none; } }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span {
  position: absolute; left: 10px; width: 24px; height: 2px; background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1050px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column;
    justify-content: center; gap: 1.75rem;
    background: rgba(6, 20, 28, 0.98); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .nav a { font-size: 1.4rem; font-weight: 700; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .header-cta .btn { display: none; }
  .nav-open .header-cta .btn { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex; align-items: flex-end;
  background: var(--abyss);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  /* Very slow push-in. Enough to feel alive on a long look, not enough to
     notice as movement — 1.06 over 26 seconds. */
  animation: heroDrift 26s ease-out forwards;
  transform-origin: 52% 55%;
}
@keyframes heroDrift {
  from { transform: scale(1.055); }
  to   { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: none; }
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(97deg, rgba(6,20,28,0.95) 0%, rgba(6,20,28,0.86) 30%,
      rgba(6,20,28,0.42) 58%, rgba(6,20,28,0.20) 100%),
    linear-gradient(to top, rgba(6,20,28,0.85) 0%, rgba(6,20,28,0) 45%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding-top: clamp(9rem, 18vh, 12rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  width: 100%;
}
.hero-text { max-width: 46rem; }
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero h1 .accent { color: var(--lime); }
.hero-sub {
  font-size: clamp(1.075rem, 1.75vw, 1.32rem);
  line-height: 1.6; color: rgba(255, 255, 255, 0.85);
  max-width: 36rem; margin-bottom: 2.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Hero credential strip */
.hero-strip {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 1.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.hero-strip .item { color: rgba(255, 255, 255, 0.72); }
.hero-strip .k {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 0.4rem;
}
.hero-strip .v { font-size: 0.95rem; font-weight: 600; color: #fff; line-height: 1.35; }
@media (max-width: 780px) {
  .hero-strip { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

/* ============================================================
   SECTOR MARQUEE STRIP
   ============================================================ */
.sectors {
  background: var(--ink); color: rgba(255, 255, 255, 0.6);
  padding-block: 1.15rem;
  border-bottom: 3px solid var(--lime);
}
.sectors-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 0.5rem clamp(1.25rem, 3vw, 2.5rem);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.sectors-inner .sep { color: var(--green); }
.sectors-inner .lbl { color: rgba(255,255,255,0.42); letter-spacing: 0.14em; }

/* ============================================================
   POSITIONING / INTRO
   ============================================================ */
.split {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-sticky { position: sticky; top: 7rem; }

.rule-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.rule-list li {
  display: flex; gap: 0.85rem; align-items: flex-start;
  font-weight: 600; color: var(--ink);
}
.rule-list .tick { flex: none; margin-top: 0.28em; }

/* ============================================================
   DISCIPLINE CARDS
   ============================================================ */
.disciplines { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (max-width: 820px) { .disciplines { grid-template-columns: 1fr; } }

.dcard {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-lg); background: var(--deep);
  isolation: isolate;
}
.dcard-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.dcard-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.dcard:hover .dcard-media img { transform: scale(1.05); }
.dcard-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,20,28,0.97) 22%, rgba(6,20,28,0.78) 48%, rgba(6,20,28,0.28) 78%, rgba(6,20,28,0.08) 100%);
}
.dcard-body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.dcard-num {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em;
  color: var(--lime); margin-bottom: 0.7rem; display: block;
}
.dcard h3 { color: #fff; font-size: clamp(1.3rem, 2.1vw, 1.65rem); margin-bottom: 0.7rem; }
.dcard p {
  color: rgba(255, 255, 255, 0.78); font-size: 0.97rem; line-height: 1.6;
  margin-bottom: 1.1rem;
  /* Reveal on hover for large screens */
}
.dcard .link-arrow { color: var(--lime); font-size: 0.94rem; }
.dcard::after {
  content: ''; position: absolute; inset: 0; z-index: 3;
  border: 2px solid transparent; border-radius: var(--r-lg);
  transition: border-color 0.35s var(--ease); pointer-events: none;
}
.dcard:hover::after { border-color: var(--lime); }

/* ============================================================
   FILM GRAIN
   Dark flat colour bands on a cheap display; a little noise
   restores the depth photographs have and vectors don't.
   ============================================================ */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.grain > * { position: relative; z-index: 2; }

/* ============================================================
   TARGET DISCRIMINATION
   ============================================================ */
.disc-section {
  background:
    radial-gradient(80% 100% at 20% 0%, rgba(22, 57, 76, 0.5) 0%, rgba(6, 20, 28, 0) 62%),
    var(--abyss);
  overflow: hidden;
}
/* The swath graphic is tall enough to carry the section on its own — the
   default section padding underneath it left a dead band. */
.disc-section { padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.disc { margin: clamp(2rem, 4vw, 3rem) 0 0; }
.disc-svg { width: 100%; height: auto; display: block; overflow: visible; }

/* The survey track lines have to read, or the whole thing looks like
   decorative confetti instead of survey data. */
.disc-lanes line {
  stroke: rgba(126, 166, 186, 0.3);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}
.disc-ticks line {
  stroke: rgba(126, 166, 186, 0.16);
  stroke-width: 1;
}
.disc-frame {
  fill: none;
  stroke: rgba(126, 166, 186, 0.22);
  stroke-width: 1;
}

.disc-core { fill: #6E93A6; transition: none; }
.disc-ring { fill: none; stroke: var(--lime); stroke-width: 1.6; opacity: 0; }

/* Each dot resolves as the bar reaches it — delay is its own x position. */
.disc-dot .disc-core { animation: discClear var(--sweep) linear infinite; animation-delay: var(--d); }
.disc-dot.is-target .disc-core { animation-name: discFlagCore; }
.disc-dot.is-target .disc-ring { animation: discFlagRing var(--sweep) linear infinite; animation-delay: var(--d); }

@keyframes discClear {
  0%,  1%  { fill: #6E93A6; opacity: 0.95; }
  4%       { fill: #BED630; opacity: 1; }
  14%      { fill: #37596B; opacity: 0.5; }
  96%      { fill: #37596B; opacity: 0.5; }
  100%     { fill: #6E93A6; opacity: 0.95; }
}
@keyframes discFlagCore {
  0%,  1%  { fill: #6E93A6; opacity: 0.95; }
  4%       { fill: #BED630; opacity: 1; }
  100%     { fill: #BED630; opacity: 1; }
}
@keyframes discFlagRing {
  0%, 2%   { opacity: 0; transform: scale(0.35); }
  9%       { opacity: 1; transform: scale(1); }
  96%      { opacity: 0.9; transform: scale(1); }
  100%     { opacity: 0; transform: scale(1); }
}
.disc-ring { transform-box: fill-box; transform-origin: center; }

.disc-scan {
  animation: discSweep var(--sweep) linear infinite;
  transform: translateX(-150px);
}
.disc-scan line { stroke: var(--lime); stroke-width: 1.6; opacity: 0.85; }
@keyframes discSweep {
  from { transform: translateX(-150px); }
  to   { transform: translateX(1200px); }
}

.disc { --sweep: 7s; }

.disc-legend {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.7rem clamp(1.25rem, 3vw, 2.25rem);
  margin-top: 1.75rem; padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.66);
}
.disc-key { display: inline-flex; align-items: center; gap: 0.55rem; }
.disc-key i { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.disc-key .k-raw { background: #6E93A6; }
.disc-key .k-clear { background: #37596B; }
.disc-key .k-target { background: var(--lime); box-shadow: 0 0 0 3px rgba(190, 214, 48, 0.28); }
.disc-count { margin-left: auto; color: rgba(255,255,255,0.82); }
.disc-count strong { color: var(--lime); font-size: 1.05rem; }
@media (max-width: 720px) { .disc-count { margin-left: 0; } }

@media (prefers-reduced-motion: reduce) {
  .disc-scan { animation: none; transform: translateX(1200px); }
  .disc-dot .disc-core { animation: none; fill: #37596B; opacity: 0.5; }
  .disc-dot.is-target .disc-core { fill: #BED630; opacity: 1; }
  .disc-dot.is-target .disc-ring { animation: none; opacity: 1; }
}

/* ============================================================
   METHODOLOGY SCHEMATIC
   ============================================================ */
.method { background: var(--mist); }
.method-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.flow::before {
  content: ''; position: absolute;
  top: 27px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(to right, var(--green), var(--lime));
  opacity: 0.35;
}
.step { position: relative; padding: 0 0.85rem; text-align: left; }
.step-node {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line);
  display: grid; place-items: center;
  font-weight: 800; font-size: 1rem; color: var(--ink);
  position: relative; z-index: 2; margin-bottom: 1.25rem;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease),
    color 0.4s var(--ease), transform 0.4s var(--ease);
}
.step:hover .step-node,
.step.is-active .step-node {
  border-color: var(--lime); background: var(--lime); color: var(--ink);
  transform: scale(1.08);
}
.step h3 {
  font-size: 1.02rem; margin-bottom: 0.55rem; letter-spacing: -0.02em;
  line-height: 1.25;
}
.step p { font-size: 0.895rem; line-height: 1.6; color: var(--muted); }

@media (max-width: 980px) {
  .flow { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 1rem; }
  .flow::before { display: none; }
  .step { padding: 0; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; gap: 1.75rem; }
  .step { display: grid; grid-template-columns: 54px 1fr; gap: 1.15rem; align-items: start; }
  .step-node { margin-bottom: 0; }
}

/* ============================================================
   DIFFERENCE GRID (dark)
   ============================================================ */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.1); }
@media (max-width: 900px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .diff-grid { grid-template-columns: 1fr; } }

/* Spotlight: a soft light that follows the cursor across a tiled grid.
   --mx/--my are written by site.js on pointer move; with no JS they never
   appear and the plain hover background below is what shows. */
.spot { position: relative; overflow: hidden; }
.spot::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  opacity: 0; transition: opacity 0.4s var(--ease);
  background: radial-gradient(
    18rem circle at var(--mx, 50%) var(--my, 50%),
    rgba(190, 214, 48, 0.13) 0%,
    rgba(190, 214, 48, 0.05) 38%,
    transparent 70%
  );
  pointer-events: none;
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

.diff {
  background: var(--abyss);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: background 0.4s var(--ease);
  position: relative;
}
.diff:hover { background: var(--deep); }
.diff-i { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem; }
.diff-n {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em;
  color: var(--lime);
}
.diff h3 { font-size: 1.12rem; margin-bottom: 0.65rem; }
.diff p { font-size: 0.93rem; line-height: 1.65; color: rgba(255,255,255,0.68); }

/* ============================================================
   REACH + WORLD MAP
   ============================================================ */
.reach-section {
  background:
    radial-gradient(90% 120% at 70% 10%, rgba(22, 57, 76, 0.55) 0%, rgba(6, 20, 28, 0) 60%),
    var(--abyss);
  overflow: hidden;
}

.map-wrap {
  margin: clamp(2rem, 4vw, 3.25rem) 0 clamp(2rem, 4vw, 3rem);
  position: relative;
}
/* Bleed the map slightly wider than the text column so it feels expansive. */
@media (min-width: 1100px) {
  .map-wrap { margin-inline: calc(var(--gut) * -1.5); }
}
.worldmap { width: 100%; height: auto; display: block; overflow: visible; }

.wm-land {
  fill: #12303F;
  stroke: rgba(126, 166, 186, 0.22);
  stroke-width: 0.4;
  stroke-linejoin: round;
}
.wm-hot {
  fill: var(--green);
  stroke: var(--lime);
  stroke-width: 0.7;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(68, 181, 73, 0.55));
}

.wm-arc {
  fill: none;
  stroke: url(#arcGrad);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 5 260;
  animation: arcRun 5.5s linear infinite;
  animation-delay: calc(var(--i) * 0.85s);
}
@keyframes arcRun {
  from { stroke-dashoffset: 265; }
  to   { stroke-dashoffset: 0; }
}

.wm-dot { fill: var(--lime); }
.wm-pin-home .wm-dot { fill: #fff; }
.wm-ping {
  fill: none; stroke: var(--lime); stroke-width: 1.4;
  transform-box: fill-box; transform-origin: center;
  animation: ping 3s var(--ease) infinite;
  animation-delay: calc(var(--i, 0) * 0.4s);
}
@keyframes ping {
  0%   { transform: scale(0.6); opacity: 0.9; }
  70%  { transform: scale(3.4); opacity: 0; }
  100% { transform: scale(3.4); opacity: 0; }
}
.wm-label {
  fill: rgba(255, 255, 255, 0.92);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  paint-order: stroke;
  stroke: rgba(6, 20, 28, 0.85);
  stroke-width: 3.5px;
  stroke-linejoin: round;
}
.wm-pin-home .wm-label { fill: #fff; }
.wm-pin { transition: opacity 0.3s var(--ease); }
.wm-pins:hover .wm-pin { opacity: 0.42; }
.wm-pins .wm-pin:hover { opacity: 1; }

@media (max-width: 640px) {
  .wm-label { font-size: 19px; stroke-width: 5px; }
  .wm-dot { r: 5; }
}
@media (prefers-reduced-motion: reduce) {
  .wm-arc { animation: none; stroke-dasharray: none; opacity: 0.5; }
  .wm-ping { animation: none; opacity: 0; }
}

.reach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.11); }
@media (max-width: 860px) { .reach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .reach-grid { grid-template-columns: 1fr; } }

.reach {
  padding: 1.6rem 1.5rem;
  background: var(--abyss);
  transition: background 0.35s var(--ease);
}
.reach:hover { background: var(--deep); }
.reach .k {
  display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 0.6rem;
}
.reach h3 { font-size: 1.02rem; margin-bottom: 0.5rem; }
.reach p { font-size: 0.9rem; color: rgba(255,255,255,0.66); line-height: 1.6; }

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem; font-weight: 700; color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--r);
  transition: border-color 0.25s, background 0.25s;
}
.lang-btn:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.07); }
.lang-btn .chev { transition: transform 0.25s var(--ease); }
.lang.open .lang-btn .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 0.6rem); right: 0;
  min-width: 15rem; padding: 0.4rem;
  background: rgba(11, 33, 48, 0.97);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  box-shadow: 0 22px 50px -18px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 120;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }

.lang-menu button {
  display: flex; width: 100%; align-items: baseline; gap: 0.6rem;
  padding: 0.65rem 0.75rem; border-radius: var(--r);
  text-align: left; color: rgba(255, 255, 255, 0.86);
  transition: background 0.2s, color 0.2s;
}
.lang-menu button:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.lang-menu button[aria-current="true"] { color: var(--lime); }
.lang-menu .native { font-weight: 700; font-size: 0.95rem; }
.lang-menu .latin { font-size: 0.78rem; opacity: 0.6; }
.lang-menu .tag {
  margin-left: auto; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--lime);
  border: 1px solid rgba(190, 214, 48, 0.45); border-radius: 999px;
  padding: 0.1rem 0.45rem; align-self: center;
}

/* Notice shown when a partially-localised language is selected. Lives inside
   the fixed header, so it needs its own opaque background rather than the
   header's transparent-until-scrolled treatment. */
.lang-notice {
  display: none;
  background: rgba(190, 214, 48, 0.16);
  backdrop-filter: blur(14px) saturate(1.3);
  border-block: 1px solid rgba(190, 214, 48, 0.32);
  color: #fff;
  font-size: 0.87rem;
  padding: 0.6rem 0;
  margin-top: 0.9rem;
}
body.lang-partial .lang-notice { display: block; }
/* The bar makes the header taller; give the hero room so nothing is covered. */
body.lang-partial .hero-inner { padding-top: clamp(11rem, 21vh, 14rem); }
.lang-notice .wrap { display: flex; gap: 0.7rem; align-items: center; justify-content: center; text-align: center; }
.lang-notice a { color: var(--lime); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .lang { order: -1; }
  .lang-menu { right: auto; left: 0; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 0.92fr 1.08fr; } }

.form {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }

.field { display: block; }
.field > span {
  display: block; margin-bottom: 0.45rem;
  font-size: 0.73rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
}
.field .req { color: var(--lime); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit; font-size: 0.97rem;
  color: #fff;
  background: rgba(6, 20, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,0.32); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(190, 214, 48, 0.18);
  background: rgba(6, 20, 28, 0.9);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23BED630' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field select option { background: var(--deep); color: #fff; }

/* Honeypot — never shown, never announced. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1.35rem; }
.form-note { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); max-width: 22rem; line-height: 1.5; }
.form .btn-primary { padding-inline: 1.9rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta {
  background:
    radial-gradient(120% 140% at 15% 0%, rgba(68, 181, 73, 0.22) 0%, rgba(68,181,73,0) 55%),
    var(--deep);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; right: -6%; top: -40%;
  width: 46rem; height: 46rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(190,214,48,0.12) 0%, rgba(190,214,48,0) 62%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.25fr 1fr; } }
.cta h2 { margin-bottom: 1rem; }
.cta-contacts { display: grid; gap: 1rem; }
.cta-contact {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.cta-contact:hover { border-color: var(--lime); background: rgba(255,255,255,0.07); transform: translateX(4px); }
.cta-contact .ico { flex: none; color: var(--lime); }
.cta-contact .k {
  display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.15rem;
}
.cta-contact .v { font-weight: 700; color: #fff; font-size: 1.02rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.62); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-top {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1.4fr 1fr 1.2fr;
  padding-bottom: 3rem;
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.footer-logo img { width: 172px; margin-bottom: 1.25rem; }
.footer-blurb { font-size: 0.93rem; line-height: 1.65; max-width: 24rem; }

.footer-h {
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.1rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.93rem; }
.footer-list a { transition: color 0.25s; }
.footer-list a:hover { color: var(--lime); }

.footer-contact { font-size: 0.93rem; line-height: 1.75; }
.footer-contact a:hover { color: var(--lime); }
.footer-office { display: flex; gap: 0.6rem; margin-bottom: 0.35rem; }
.footer-office .ico { flex: none; color: var(--green); margin-top: 0.3em; }

.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-top: 1.25rem;
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.social:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: 0.85rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-bottom a:hover { color: var(--lime); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
/* Progressive enhancement: content is visible by default and only hidden for the
   reveal when JavaScript is actually running. Without this, a JS failure — or any
   renderer that doesn't run IntersectionObserver — leaves the page blank. */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
.rv-d4 { transition-delay: 0.32s; }
.rv-d5 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .dcard-media img, .btn, .reach { transition: none !important; }
}

/* Utility */
.mockup-note {
  background: var(--lime); color: var(--ink);
  font-size: 0.82rem; font-weight: 700; text-align: center;
  padding: 0.55rem 1rem; letter-spacing: 0.01em;
}
