/* ============================================================================
   NL Bridge Solutions — draft stylesheet

   Direction: "the chart plate".
   The product is not workers, it is a legal corridor into Cyprus. So the page
   is built from the artefacts of that world — approach routes, depth contours,
   reference codes, stage tracks, clearance stamps — rather than generic
   marketing cards.

   Palette is Aegean: sunlight on water. Deep abyss teal grounds the page,
   turquoise is the clearance accent, and everything sits on a cool near-white.

   Type roles are deliberately inverted from the usual B2B default:
     display = expanded grotesque  → institutional signage, permit forms
     body    = serif               → document text
     utility = mono                → codes, labels, data

   Each top-level <section> maps 1:1 onto an Elementor section.
   Brand changes belong in the :root block below, not scattered in the rules.
   ========================================================================= */

:root {
  /* --- ground ---
     Every neutral carries the same blue-green cast as the accents (hue ~190°)
     so the greys never drift green against them. */
  --ink:        #10262B;   /* primary text — deep teal-black */
  --ink-soft:   #234049;
  --paper:      #F6FAFC;   /* page background — cool near-white */
  --shallow:    #E4F0F5;   /* alternate section banding */
  --line:       #C6DDE6;   /* hairlines */
  --muted:      #5A6F74;   /* secondary text — clears 4.5:1 on BOTH grounds */

  /* --- accents ---
     All at hue ~190°, deliberately blue of cyan. Split by contrast duty, which
     is what stops the palette going muddy:

     --sea        carries small text (eyebrows, links) on BOTH the paper and the
                  band, so it is capped twice over. It cannot go brighter than
                  this without failing 4.5:1 on the band.
     --sea-bright is the same hue with the cap lifted — graphics only, where the
                  floor is 3:1 non-text. This is what makes the island fill and
                  the sector icons read bright rather than algae.
     --turquoise  never meets a light ground at all, so it runs brightest. */
  --sea:        #0A7691;   /* text on light: 4.98:1 paper · 4.51:1 band */
  --sea-dk:     #075B70;   /* link hover: 7.3:1 */
  --sea-bright: #1495B4;   /* GRAPHICS ONLY — never text. 3.0:1 on the band */
  --turquoise:  #2AC8E2;   /* on dark, and CTA fill — 6.9:1 on abyss */
  --turquoise-dk: #1FB0C8;
  --abyss:      #0B3138;   /* dark ground */
  --abyss-rgb:  11, 49, 56;/* same value, for the fade-to-transparent veil */
  --abyss-deep: #072429;   /* footer */

  /* --- type --- */
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* --- metrics --- */
  --max:    1140px;
  --gap:    2rem;
  --radius: 3px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

img, svg { max-width: 100%; }

/* ---------------------------------------------------------------- type ---- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.018em;
  line-height: 1.02;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 0.98; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.1rem; font-weight: 600; font-variation-settings: "wdth" 106; letter-spacing: -0.005em; line-height: 1.25; margin-bottom: .4rem; }
h4 { font-size: .95rem; font-weight: 600; font-variation-settings: "wdth" 106; letter-spacing: 0; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--sea-dk); }

em { font-style: italic; }
strong { font-weight: 600; }

.lead {
  font-size: 1.24rem;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 44rem;
}

/* Section code + eyebrow, set as one mono line. The code doubles as the
   file's section reference — structure that carries real information. */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .715rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--sea);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.eyebrow .code { color: var(--muted); }

/* --------------------------------------------------------- layout base ---- */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.6rem; }

.section { padding: 6rem 0; }
.section--alt  { background: var(--shallow); }
.section--dark { background: var(--abyss); color: #C3DBDD; }

.section--dark h2,
.section--dark h3 { color: var(--paper); }
.section--dark .lead { color: #BBD6D8; }
.section--dark .eyebrow { color: var(--turquoise); }
.section--dark .eyebrow::after { background: rgba(255,255,255,.2); }
.section--dark .eyebrow .code { color: #7FA0A4; }

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

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247,251,251,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; min-height: 72px; flex-wrap: wrap;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 118;
  font-size: 1.02rem;
  letter-spacing: .015em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex; align-items: baseline; gap: .45rem;
}
/* The rule between the two words reads as the bridge in the name. */
.brand span {
  color: var(--sea);
  position: relative;
  padding-left: .6rem;
}
.brand span::before {
  content: "";
  position: absolute; left: 0; bottom: .28em;
  width: .28rem; height: 1px;
  background: var(--sea);
}

.nav { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.nav a {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding: .25rem 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover,
.nav a:focus-visible { color: var(--sea); border-bottom-color: var(--sea); }
.nav a[aria-current="page"] { color: var(--sea); border-bottom-color: var(--sea); }

.lang {
  font-family: var(--font-mono);
  font-size: .74rem; letter-spacing: .06em;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 1.2rem;
}
.lang .is-active { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------- buttons ---- */

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

/* Primary reads as the clearance stamp: turquoise, struck on the dark ink. */
.btn--primary { background: var(--turquoise); color: var(--abyss-deep); }
.btn--primary:hover { background: var(--turquoise-dk); color: var(--abyss-deep); }

/* Secondary is a text action, not a second box — one less accessory. */
.btn--text {
  padding: .95rem 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.btn--text:hover { color: var(--sea); border-bottom-color: var(--sea); }
.section--dark .btn--text { color: var(--paper); border-bottom-color: rgba(255,255,255,.3); }
.section--dark .btn--text:hover { color: var(--turquoise); border-bottom-color: var(--turquoise); }

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

.hero {
  padding: 4.5rem 0 4.5rem;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}
.hero h1 { max-width: 15ch; }
.hero .hero-sub {
  font-size: 1.24rem;
  line-height: 1.58;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-top: 1.5rem;
}
.hero-actions {
  display: flex; gap: 1.8rem; flex-wrap: wrap; align-items: center;
  margin-top: 2.2rem;
}

/* The chart: the hero's thesis. Not a stat row — the route itself, plotted. */
.hero-figure { margin: 0; }
.hero-figure img { display: block; width: 100%; height: auto; }
.hero-figure figcaption {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .9rem;
  padding-top: .7rem;
  border-top: 1px solid var(--line);
}

/* ------------------------------------------------- two-column statement ---- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}
.split--narrow { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }

.plate { margin: 0; }
.plate img { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------------ services ---- */
/* Hairline rows, not cards. These are capabilities, not a sequence, so they
   carry no numbers — the numbering belongs to the track alone. */

.handles { margin-top: 3rem; border-top: 1px solid var(--line); }
.handle {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 2.5rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
}
.handle h3 { margin: 0; }
.handle p { margin: 0; color: var(--muted); }

/* ------------------------------------------------------------- sectors ---- */
/* Each sector is a role manifest — the roster is the content, so the roster
   is what gets the emphasis. */

.manifests {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}
.manifest {
  background: var(--shallow);
  border-radius: var(--radius);
  border-top: 2px solid var(--sea-bright);   /* a rule, not text — takes the bright value */
  padding: 1.4rem 1.4rem 1.2rem;
}
/* Invert the fill if the section itself is ever set to the banding colour. */
.section--alt .manifest { background: var(--paper); }
.manifest img { display: block; width: 40px; height: 40px; margin-bottom: .9rem; }
.manifest h3 { margin-bottom: 1rem; }
.manifest ul { list-style: none; margin: 0; padding: 0; }
.manifest li {
  font-family: var(--font-mono);
  font-size: .755rem;
  letter-spacing: .02em;
  line-height: 1.4;
  color: var(--muted);
  padding: .55rem 0;
  border-top: 1px solid var(--line);
}

/* ------------------------------------------------------- THE TRACK -------- */
/* The signature element.
   Two lanes — yours and ours — so the page shows, structurally, that the
   employer acts at only a couple of points and we carry everything else.
   This is the sales argument rendered as layout, not decoration. */

.track-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr);
  gap: 0;
  margin-top: 3.2rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.track-head span {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7FA0A4;
}
.track-head .lane-you  { grid-column: 1; }
.track-head .lane-ours { grid-column: 3; }

.track { position: relative; list-style: none; margin: 0; padding: 0; }
/* The spine: one continuous line the whole file travels down. */
.track::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 1px;
  margin-left: -.5px;
  background: rgba(255,255,255,.22);
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr);
  align-items: start;
  padding: 1.6rem 0;
}
.stage-body { grid-column: 1; text-align: right; }
.stage--ours .stage-body { grid-column: 3; text-align: left; }

.stage-mark {
  grid-column: 2;
  justify-self: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
/* Employer stages are the struck turquoise marks — the moments that need you. */
.stage--you .stage-mark  { background: var(--turquoise); color: var(--abyss-deep); }
/* Ours are outlined — carried, not demanded. */
.stage--ours .stage-mark { background: var(--abyss); color: #8FB3B7; border: 1px solid rgba(255,255,255,.3); }

.stage h3 { margin-bottom: .35rem; }
.stage p  { margin: 0; font-size: .97rem; color: #AFC9CC; }
.stage .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: .45rem;
}

/* --- collapsing the track ---
   Progressive enhancement: with no JavaScript the track renders in full and
   the toggle stays hidden, so nothing is ever unreachable. The `js` class is
   set by an inline script in <head>, which means the collapsed state is in
   place before first paint — no flash of the full list. */

.track-wrap { position: relative; }

.js .track-wrap[data-collapsible] {
  max-height: 280px;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.22,.61,.36,1);
}
/* No `overflow: visible` when open — it would apply the moment the animation
   starts and let the stages spill outside the box, cancelling the reveal.
   Once max-height is released to `none` there is nothing left to clip. */

/* The vague area: the spine and the stages dissolve into the ground. */
.track-veil {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 190px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  background: linear-gradient(
    to bottom,
    rgba(var(--abyss-rgb), 0) 0%,
    rgba(var(--abyss-rgb), .72) 48%,
    rgba(var(--abyss-rgb), 1) 100%
  );
}
.js .track-wrap[data-collapsible] .track-veil { opacity: 1; }
.js .track-wrap[data-collapsible].is-open .track-veil { opacity: 0; }

.track-toggle {
  display: none;
  margin-top: 1.5rem;
  align-items: center;
  gap: .65rem;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.3);
  border-radius: 0;
  padding: .7rem 0;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease;
}
.js .track-toggle { display: inline-flex; }
.track-toggle:hover { color: var(--turquoise); border-bottom-color: var(--turquoise); }
.track-toggle .chev { transition: transform .3s ease; flex: none; }
.track-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* The count is the argument. State it plainly. */
.track-total {
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.22);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .9rem 2.6rem;
}
.track-total p {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 108;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.track-total .qualifier {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: #94B4B8;
  letter-spacing: 0;
}

/* --------------------------------------------------------------- team ---- */
/* Initials rather than portraits — the draft should not ship placeholder faces
   that read as real staff. Swap the mark for a photo when there are real ones. */

.people {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}
.person { border-top: 1px solid rgba(255,255,255,.22); padding-top: 1.3rem; }
.person-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--turquoise);
  color: var(--abyss-deep);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: .85rem; font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.1rem;
}
.person h3 { margin-bottom: .2rem; }
.person .role {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin: 0 0 .7rem;
}
.person p { margin: 0; font-size: .94rem; color: #AFC9CC; }

/* ---------------------------------------------------------- assurances ---- */

.assurances { list-style: none; margin: 0; padding: 0; }
.assurances li {
  padding: 1.15rem 0 1.15rem 1.6rem;
  border-top: 1px solid var(--line);
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: .99rem;
  transition: border-left-color .18s ease;
}
.assurances li:hover { border-left-color: var(--sea); }
.assurances li:last-child { border-bottom: 1px solid var(--line); }
.assurances strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: .15rem; }

/* ----------------------------------------------------------------- FAQ ---- */

.faq { margin-top: 3rem; border-top: 1px solid var(--line); }
.faq-item {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 2.5rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
}
.faq-item h3 { margin: 0; }
.faq-item p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- form ---- */
/* Field styling borrows from a paper form: a filled rule to write on, rather
   than a floating rounded box. */

.form { display: grid; gap: 1.3rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { display: grid; gap: .45rem; }
.field label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  padding: .7rem .8rem;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--muted);
  border-radius: var(--radius) var(--radius) 0 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8AA2A6; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--sea);
  outline-offset: 1px;
  border-bottom-color: var(--sea);
}
.form-note { font-family: var(--font-mono); font-size: .7rem; line-height: 1.6; color: var(--muted); }

.contact-details { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.contact-details div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-details .k {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: .25rem;
}

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

.site-footer {
  background: var(--abyss-deep);
  color: #8FA9AD;
  padding: 4rem 0 2rem;
  font-size: .92rem;
}
.site-footer a { color: #C3DBDD; text-decoration: none; }
.site-footer a:hover { color: var(--turquoise); text-decoration: underline; }
.site-footer h4 {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  font-variation-settings: normal;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gap); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .06em;
}

/* ------------------------------------------------- draft banner (temp) ---- */

.draft-banner {
  background: var(--ink);
  color: var(--shallow);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  padding: .6rem 1rem;
}

/* ---------------------------------------------------------- a11y floor ---- */

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--paper);
  padding: .7rem 1.2rem; z-index: 50;
  font-family: var(--font-mono); font-size: .8rem;
}
.skip-link:focus { left: 1rem; top: .5rem; }

@media (prefers-reduced-motion: reduce) {
  .js .track-wrap[data-collapsible],
  .track-veil,
  .track-toggle,
  .track-toggle .chev { transition: none; }
}

/* --------------------------------------------------------- responsive ----- */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero h1 { max-width: 18ch; }
  .manifests { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--narrow { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  /* The track collapses to a single lane with the spine on the left. The
     lane a stage belongs to survives as its tag, so no information is lost. */
  .track-head { display: none; }
  .track::before { left: 17px; }
  .stage { grid-template-columns: 34px minmax(0, 1fr); gap: 1.2rem; padding: 1.3rem 0; }
  .stage-body,
  .stage--ours .stage-body { grid-column: 2; text-align: left; }
  .stage-mark { grid-column: 1; justify-self: start; }
  .stage--ours .tag { color: #7FA0A4; }
  .track-total p { font-size: 1.15rem; }
  .js .track-wrap[data-collapsible] { max-height: 230px; }
  .track-veil { height: 150px; }
}

@media (max-width: 640px) {
  .section { padding: 3.8rem 0; }
  .hero { padding: 3rem 0 3rem; }
  .manifests { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .handle, .faq-item { grid-template-columns: 1fr; gap: .6rem; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { gap: 1rem; align-items: stretch; flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .btn--text { text-align: left; }
  .contact-details div { grid-template-columns: 1fr; gap: .1rem; }
}
