/* ==========================================================================
   LT TUNIS — Design System
   Aesthetic: refined institutional / editorial. Light, airy, authoritative.
   Signature motif: the arc from the LT emblem, reused as a connective device.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Ground */
  --paper:        #FBFAF7;
  --paper-2:      #F3F1EB;
  --paper-3:      #EAE7DF;
  --white:        #FFFFFF;

  /* Ink */
  --navy:         #0B1F3B;
  --navy-800:     #12294A;
  --navy-600:     #21426E;
  --navy-400:     #4C6C99;
  --ink:          #16202E;
  --muted:        #5C6877;
  --muted-2:      #5F6976;

  /* Brand accents */
  --red:          #C8102E;
  --red-700:      #A20D25;
  --red-100:      #FBE9EC;
  --blue:         #1C6FD0;
  --blue-100:     #E9F1FB;
  --green:        #148C4B;

  /* Lines & shadow */
  --line:         #E4E0D7;
  --line-strong:  #D2CDC1;
  --line-navy:    rgba(11, 31, 59, .12);

  --shadow-sm:    0 1px 2px rgba(11,31,59,.05), 0 2px 8px rgba(11,31,59,.04);
  --shadow-md:    0 2px 6px rgba(11,31,59,.06), 0 12px 32px rgba(11,31,59,.07);
  --shadow-lg:    0 4px 12px rgba(11,31,59,.07), 0 28px 64px rgba(11,31,59,.10);

  /* Type */
  --font-display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body:    "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rhythm */
  --gutter:       clamp(1.25rem, 4vw, 3.5rem);
  --maxw:         1220px;
  --maxw-narrow:  760px;
  --section-y:    clamp(4.5rem, 9vw, 8.5rem);
  --radius:       3px;
  --radius-lg:    6px;

  --ease:         cubic-bezier(.22, .61, .36, 1);
  --ease-out:     cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

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

::selection { background: var(--navy); color: var(--paper); }

/* Page grain — atmosphere without weight */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .028;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. Typography ------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -.012em;
  text-wrap: balance;
}

.t-display {
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -.028em;
}
.t-h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.75rem); letter-spacing: -.022em; }
.t-h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.85rem); letter-spacing: -.018em; }
.t-h3 { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.6rem); letter-spacing: -.012em; }
.t-h4 { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); letter-spacing: -.006em; }

.t-serif-italic { font-style: italic; }

/* Optical accent: brand red on a single emphasised word */
.accent { color: var(--red); }
.accent-blue { color: var(--blue); }
.on-navy .accent { color: #FF5C74; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .70rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--red);
  flex: none;
}
.eyebrow--plain::before { display: none; }
.on-navy .eyebrow { color: rgba(255,255,255,.55); }

.lead {
  font-size: clamp(1.075rem, 1rem + .45vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
  font-weight: 400;
}
.on-navy .lead { color: rgba(255,255,255,.72); }

p { text-wrap: pretty; }
p + p { margin-top: 1.05em; }

.prose p, .prose li { color: var(--muted); }
.prose > * + * { margin-top: 1.1em; }

/* Tricolore rule — lifted from the logo lockup */
.rule-tricolore {
  display: flex;
  width: 84px;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
}
.rule-tricolore i { flex: 1; }
.rule-tricolore i:nth-child(1) { background: var(--green); }
.rule-tricolore i:nth-child(2) { background: var(--line-strong); }
.rule-tricolore i:nth-child(3) { background: var(--red); }
.on-navy .rule-tricolore i:nth-child(2) { background: rgba(255,255,255,.7); }

/* ---------- 4. Layout ---------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(var(--maxw-narrow) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--paper2 { background: var(--paper-2); }
.section--white  { background: var(--white); }

.section--navy {
  background: var(--navy);
  color: rgba(255,255,255,.82);
}
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

/* Hairline separators that read as drawn, not default */
.hairline { height: 1px; background: var(--line); border: 0; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* Editorial split: sticky heading beside flowing content */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.split__aside { position: sticky; top: 7rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__aside { position: static; }
}

.stack-sm > * + * { margin-top: .85rem; }
.stack    > * + * { margin-top: 1.35rem; }
.stack-lg > * + * { margin-top: 2.25rem; }

.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }
.center .rule-tricolore { margin-inline: auto; }

/* ---------- 5. Buttons --------------------------------------------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateY(101%);
  transition: transform .42s var(--ease-out);
  z-index: -1;
}
.btn:hover { border-color: var(--red); box-shadow: var(--shadow-md); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(1px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --btn-fg: #fff; color: #fff; }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--navy);
  border-color: #fff;
}
.btn--light:hover { color: #fff; }

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

/* Text link with an underline that draws in */
.link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
  color: var(--navy);
  padding-bottom: 2px;
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .4s var(--ease-out), color .3s var(--ease);
}
.link:hover { color: var(--red); background-size: 100% 1.5px; }
.link svg { transition: transform .4s var(--ease-out); }
.link:hover svg { transform: translateX(3px); }
.on-navy .link { color: #fff; }
.on-navy .link:hover { color: #fff; }

/* ---------- 6. Header ---------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(11,31,59,.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand { display: flex; align-items: center; gap: .8rem; flex: none; }
.brand__mark { width: 42px; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: .16em;
  color: var(--navy);
  font-weight: 500;
}
.brand__tag {
  font-size: .5rem;
  letter-spacing: .175em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: .34rem;
  font-weight: 600;
}
@media (max-width: 420px) { .brand__tag { display: none; } .brand__mark { width: 36px; } }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__link {
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .015em;
  color: var(--navy-600);
  position: relative;
  padding-block: .4rem;
  transition: color .25s var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1.5px; width: 0;
  background: var(--red);
  transition: width .35s var(--ease-out);
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--navy); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 1rem; }

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: .48rem .7rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.lang__btn:hover { border-color: var(--navy); background: var(--white); }
.lang__btn svg { transition: transform .3s var(--ease); }
.lang__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  min-width: 148px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: .3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.lang__menu[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: .55rem .7rem;
  font-size: .84rem;
  color: var(--navy-600);
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang__opt:hover { background: var(--paper-2); color: var(--navy); }
.lang__opt[aria-selected="true"] { color: var(--navy); font-weight: 600; }
.lang__opt[aria-selected="true"]::after { content: "●"; color: var(--red); font-size: .5rem; }

/* Mobile nav */
.burger {
  display: none;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  flex: none;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 18px; height: 1.5px;
  background: var(--navy);
  transition: transform .35s var(--ease-out), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1140px) {
  .burger { display: block; }
  .header__nav {
    position: fixed;
    inset: 78px 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    box-shadow: var(--shadow-md);
  }
  .header__nav[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
  .header__nav .nav__link {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .header__nav .nav__link::after { display: none; }
  .header__nav .btn { margin-top: 1.5rem; width: 100%; }
}
.header__cta { display: inline-flex; white-space: nowrap; }
.header__cta--mobile { display: none; }
@media (max-width: 1140px) {
  .header__cta--desktop { display: none; }
  .header__cta--mobile { display: inline-flex; }
}

/* ---------- 7. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 7rem) clamp(4rem, 8vw, 7.5rem);
  overflow: hidden;
}
.hero::before {
  /* soft directional wash — Tunisia (warm) to Europe (cool) */
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 130%;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(28,111,208,.10), transparent 62%),
    radial-gradient(48% 48% at 12% 82%, rgba(200,16,46,.055), transparent 65%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__grid > .arc-art { max-width: 520px; margin-inline: auto; }
}

.hero__title { margin-top: 1.4rem; }
.hero__title .l2 { display: block; color: var(--navy-600); }
.hero__lead { margin-top: 1.6rem; }
.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.hero__meta {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 4vw, 3rem);
}
.hero__meta div { display: flex; flex-direction: column; gap: .28rem; }
.hero__meta dt {
  font-size: .66rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}
.hero__meta dd {
  font-family: var(--font-display);
  font-size: 1.16rem;
  color: var(--navy);
  margin: 0;
}

/* ---------- 8. Cards ----------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card:hover::before { transform: scaleX(1); }
.card__title { margin-bottom: .6rem; }
.card__body { color: var(--muted); font-size: .95rem; }
.card__foot { margin-top: auto; padding-top: 1.4rem; }

.card--flat { background: transparent; border: 0; padding: 0; }
.card--flat:hover { transform: none; box-shadow: none; }
.card--flat::before { display: none; }

.card--navy {
  background: var(--navy);
  border-color: var(--navy);
  color: rgba(255,255,255,.78);
}
.card--navy .card__body { color: rgba(255,255,255,.72); }

/* Icon plate */
.plate {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--navy);
  margin-bottom: 1.2rem;
  flex: none;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.plate svg { width: 24px; height: 24px; }
.card:hover .plate { background: var(--navy); color: #fff; }
.plate--red { background: var(--red-100); color: var(--red); }
.card:hover .plate--red { background: var(--red); color: #fff; }

/* Feature list with a drawn check */
.checks { display: grid; gap: .72rem; }
.checks li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .95rem;
  color: var(--muted);
}
.checks li::before {
  content: "";
  flex: none;
  width: 17px; height: 17px;
  margin-top: .28rem;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.checks--red li::before { background-color: var(--red); }
.on-navy .checks li { color: rgba(255,255,255,.75); }

/* ---------- 9. Process (numbered editorial) ------------------------------ */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: clamp(3.5rem, 7vw, 6rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-block: clamp(1.8rem, 3.5vw, 2.6rem);
  border-top: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: .9;
  color: var(--paper-3);
  font-weight: 400;
  transition: color .5s var(--ease);
  font-variant-numeric: lining-nums;
}
.step:hover .step__num { color: var(--red); }
.step__title { margin-bottom: .55rem; }
.step__body { color: var(--muted); max-width: 62ch; font-size: .97rem; }
.on-navy .step { border-color: rgba(255,255,255,.14); }
.on-navy .step__num { color: rgba(255,255,255,.22); }
.on-navy .step:hover .step__num { color: #FF5C74; }
.on-navy .step__body { color: rgba(255,255,255,.7); }

/* ---------- 10. Statement band ------------------------------------------- */
.statement {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.statement::before {
  /* the emblem arc, blown up as a watermark */
  content: "";
  position: absolute;
  right: -8%;
  top: 50%;
  translate: 0 -50%;
  width: min(560px, 60vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.09);
  pointer-events: none;
}
.statement::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 50%;
  translate: 0 -50%;
  width: min(390px, 42vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(200,16,46,.28);
  pointer-events: none;
}
.statement__inner { position: relative; z-index: 1; max-width: 40rem; }
.statement__quote {
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -.018em;
  color: #fff;
}

/* ---------- 11. Sector tiles --------------------------------------------- */
.sector {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .45s var(--ease-out), transform .45s var(--ease-out);
}
.sector:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.sector__head {
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(180deg, var(--paper-2), var(--white));
}
.sector__body { padding: clamp(1.5rem, 2.6vw, 2rem); display: flex; flex-direction: column; gap: 1.2rem; flex: 1; }

/* ---------- 12. Values row ----------------------------------------------- */
.values {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}
@media (max-width: 820px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .values { grid-template-columns: minmax(0, 1fr); } }
.value { display: flex; flex-direction: column; align-items: center; gap: .85rem; padding: 1.2rem .5rem; }
.value__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.value:hover .value__icon { background: var(--red); border-color: var(--red); }
.value__label {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

/* ---------- 13. Notice / disclaimer -------------------------------------- */
.notice {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  background: var(--blue-100);
  border: 1px solid rgba(28,111,208,.18);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
}
.notice__icon { flex: none; color: var(--blue); margin-top: .1rem; }
.notice__text { font-size: .93rem; color: var(--navy-600); }
.notice__text strong { color: var(--navy); font-weight: 600; }
.notice--red { background: var(--red-100); border-color: rgba(200,16,46,.18); border-left-color: var(--red); }
.notice--red .notice__icon { color: var(--red); }

/* ---------- 14. Forms ---------------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field__label {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy-600);
}
.field__label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 148px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6877' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.6rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28,111,208,.13);
}
.field input:user-invalid, .field textarea:user-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,.1);
}
.field input::placeholder, .field textarea::placeholder { color: #6B7686; opacity: 1; }
.field__hint { font-size: .8rem; color: var(--muted-2); }
.field__error {
  font-size: .8rem;
  color: var(--red);
  font-weight: 500;
  display: none;
}
.field.has-error .field__error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }

.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: .18rem; flex: none; accent-color: var(--navy); }
.consent a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

.form__status {
  padding: .95rem 1.1rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  display: none;
}
.form__status[data-state="ok"] { display: block; background: #E8F5EE; color: #0E6B3A; border: 1px solid #B7E0C8; }
.form__status[data-state="err"] { display: block; background: var(--red-100); color: var(--red-700); border: 1px solid rgba(200,16,46,.2); }

/* Honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ---------- 15. Contact aside -------------------------------------------- */
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.contact-item:first-of-type { border-top: 1px solid var(--line); }
.contact-item__icon { color: var(--red); flex: none; margin-top: .15rem; }
.contact-item__label {
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 600; margin-bottom: .2rem;
}
.contact-item__value { color: var(--navy); font-weight: 500; word-break: break-word; }
.contact-item__value a:hover { color: var(--red); }

/* ---------- 16. FAQ ------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  color: var(--navy);
  transition: color .25s var(--ease);
}
.faq__q:hover { color: var(--red); }
.faq__icon { flex: none; position: relative; width: 16px; height: 16px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: currentColor; border-radius: 1px;
  transition: transform .35s var(--ease-out), opacity .3s var(--ease);
}
.faq__icon::before { top: 7.25px; left: 0; width: 16px; height: 1.5px; }
.faq__icon::after  { left: 7.25px; top: 0; width: 1.5px; height: 16px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; visibility: hidden; transition: visibility .4s var(--ease-out); }
.faq__item.is-open .faq__a > div { visibility: visible; }
.faq__a p { padding-bottom: 1.6rem; color: var(--muted); max-width: 70ch; font-size: .96rem; }

/* ---------- 17. CTA band ------------------------------------------------- */
.cta {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #0E2749 55%, #123356 100%);
  color: #fff;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 70% at 88% 15%, rgba(28,111,208,.28), transparent 60%),
    radial-gradient(40% 60% at 6% 92%, rgba(200,16,46,.20), transparent 62%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 2.2rem; }

/* ---------- 18. Footer --------------------------------------------------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.62);
  font-size: .9rem;
  padding-top: clamp(3.5rem, 6vw, 5rem);
}
.footer a { color: rgba(255,255,255,.7); transition: color .25s var(--ease); }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }
.footer__brand { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.3rem; }
.footer__brand img { width: 46px; }
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: .16em;
  color: #fff;
}
.footer__title {
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  margin-bottom: 1.15rem;
}
.footer__list { display: grid; gap: .7rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__disclaimer {
  font-size: .82rem;
  line-height: 1.6;
  color: rgba(255,255,255,.58);
  border-left: 2px solid var(--red);
  padding-left: 1rem;
  margin-top: 1.4rem;
  max-width: 46ch;
}

/* ---------- 19. Motion --------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal], [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 20. Utilities ------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px; left: var(--gutter);
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: .85rem;
  font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.75rem; }
.mt-4 { margin-top: 2.5rem; }
.mt-5 { margin-top: 3.5rem; }
.text-muted { color: var(--muted); }
.no-wrap { white-space: nowrap; }

/* ---------- 21. Page hero (interior pages) ------------------------------- */
.pagehero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.pagehero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 90% at 82% 8%, rgba(28,111,208,.09), transparent 60%);
  pointer-events: none;
}
.pagehero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
@media (max-width: 860px) { .pagehero__inner { grid-template-columns: minmax(0, 1fr); align-items: start; } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .78rem; color: var(--muted-2); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li { display: flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb [aria-current] { color: var(--navy); }

/* ---------- 22. Connection diagram (hero art) ---------------------------- */
.arc-art { position: relative; width: 100%; }
.arc-art svg { width: 100%; height: auto; overflow: visible; }
.arc-art .dash {
  stroke-dasharray: 5 7;
  animation: dashflow 2.8s linear infinite;
}
@keyframes dashflow { to { stroke-dashoffset: -24; } }
.arc-art .pulse {
  offset-path: path("M 158 306 C 196 214, 306 160, 386 190");
  offset-rotate: 0deg;
  animation: pulseTravel 5.2s var(--ease) infinite;
}
/* With motion off the dot parks mid-corridor instead of snapping to the origin. */
@media (prefers-reduced-motion: reduce) {
  .arc-art .pulse { offset-distance: 56%; opacity: 1; }
}
@keyframes pulseTravel {
  0%   { offset-distance: 0%;   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.arc-art .ring { transform-box: fill-box; transform-origin: center; animation: ringPulse 4s var(--ease) infinite; }
@keyframes ringPulse {
  0%, 100% { opacity: .25; transform: scale(1); }
  50%      { opacity: .6;  transform: scale(1.05); }
}

/* ---------- 23. Profile / role chips ------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .85rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: .82rem;
  color: var(--navy-600);
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex: none; }
.on-navy .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.82); }

/* ---------- 24. Comparison table ----------------------------------------- */
.compare { width: 100%; border-collapse: collapse; font-size: .93rem; }
.compare th, .compare td { padding: 1.05rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th {
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
}
.compare tbody th { font-family: var(--font-body); font-weight: 600; color: var(--navy); width: 32%; }
.compare td { color: var(--muted); }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: var(--paper-2); }
.compare .yes { color: #0F7440; font-weight: 600; }
.compare .no { color: var(--muted-2); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 620px) { .compare { min-width: 520px; } }

/* ---------- 25. Split variant: wide content, narrow aside ---------------- */
.split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 900px) { .split--reverse { grid-template-columns: minmax(0, 1fr); } }

/* Values row on light grounds */
.values--light .value__icon { border-color: var(--line-strong); color: var(--navy); }
.values--light .value__label { color: var(--navy-600); }
.values--light .value:hover .value__icon { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- 26. Dark-surface corrections -------------------------------- */
/* Any band that paints itself navy must re-assert light ink on headings and
   outline buttons, which default to navy for the light ground. */
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4,
.cta h1, .cta h2, .cta h3, .cta h4,
.statement h1, .statement h2, .statement h3 { color: #fff; }

.on-navy .btn--ghost {
  --btn-fg: #fff;
  color: #fff;
  border-color: rgba(255, 255, 255, .34);
}
.on-navy .btn--ghost:hover { border-color: var(--red); color: #fff; }

.on-navy .text-muted { color: rgba(255, 255, 255, .68); }
.on-navy .prose p, .on-navy .prose li { color: rgba(255, 255, 255, .72); }
.on-navy .compare td { color: rgba(255, 255, 255, .7); }

/* ---------- 27. Sector tiles: align the head rows across the row -------- */
.sector { grid-template-rows: auto 1fr; }
@supports (grid-template-rows: subgrid) {
  .sector-grid { grid-template-rows: auto 1fr; }
  .sector-grid > .sector { grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
}

/* ---------- 28. Field alignment inside a two-up row ---------------------- */
/* Grid items stretch by default, so a field carrying a hint pushed its
   neighbour's input out of alignment. Pin every field's rows to the top. */
.field { align-content: start; }

.consent.has-error { color: var(--red-700); }
.consent.has-error input { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- 29. Comfortable touch targets on small screens -------------- */
@media (pointer: coarse), (max-width: 640px) {
  .lang__btn { min-height: 44px; padding-inline: .85rem; }
  .lang__opt { min-height: 44px; }
  .burger { width: 44px; height: 44px; }
  .burger span { left: 12px; }
  .burger span:nth-child(1) { top: 16px; }
  .burger span:nth-child(2) { top: 21px; }
  .burger span:nth-child(3) { top: 26px; }
}

/* ---------- 30. Review fixes: focus + error messaging ------------------- */
/* The skip link needs a focusable target, but must not paint a ring on it. */
#main:focus { outline: none; }

/* The consent error was signalled by colour alone. */
.consent.has-error .field__error { display: block; margin-top: .35rem; }
