/* Yeoman & Company — site stylesheet.
   Sections: fonts · tokens · base · layout · type · buttons · header · footer · components · utilities */

/* ---------- fonts (self-hosted, SIL OFL — see /fonts/OFL-*.txt) ---------- */
@font-face { font-family: "Hanken Grotesk"; src: url(/fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  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: "Hanken Grotesk"; src: url(/fonts/hanken-grotesk-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; src: url(/fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2"); font-weight: 200 900; font-display: swap;
  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: "Source Serif 4"; src: url(/fonts/source-serif-4-latin-ext-opsz-normal.woff2) format("woff2"); font-weight: 200 900; font-display: swap;
  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 palette */
  --c-ink: #021929;        /* page background */
  --c-deep: #000f19;       /* footer */
  --c-panel: #052234;      /* raised panels / cards */
  --c-panel-2: #0b2d45;    /* drawer, hover */
  --c-line: #073657;       /* hairlines on dark */
  --c-sky: #3bcbff;        /* accent */
  --c-sky-dim: #1d5f80;
  --c-text: #ffffff;
  --c-muted: #a9bccb;

  /* type — swap these two to change the whole site's fonts
     (e.g. to licensed brand fonts once Yeoman confirms the licence) */
  --f-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --fs-body: 1.1rem;
  --fs-small: .9rem;
  --fs-nav: .9rem;
  --fs-lede: clamp(1.4rem, 2.2vw, 2.4rem);         /* serif intro paragraphs */
  --fs-h3: clamp(1.5rem, 2vw, 1.9rem);              /* card titles */
  --fs-h2: clamp(2.1rem, 3.6vw, 3.4rem);            /* section titles */
  --fs-h1: clamp(3.2rem, 8.4vw, 7.7rem);            /* page heroes */
  --fs-sub: clamp(1.4rem, 3.2vw, 2.9rem);           /* sans sub-heads beside heroes */

  --gutter: 25px;
  --maxw: 1440px;
  --space-s: 1rem;
  --space-m: 2rem;
  --space-l: clamp(3rem, 6vw, 6rem);
  --space-xl: clamp(4rem, 9vw, 9rem);
  --header-h: 86px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 767px) { :root { --gutter: 15px; --header-h: 72px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--c-ink); color: var(--c-text);
  font: 400 var(--fs-body)/1.45 var(--f-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-sky); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-serif); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--c-sky); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--c-sky); color: var(--c-ink); padding: .6rem 1rem; }
.skip-link:focus { left: var(--gutter); top: .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-l); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-m) clamp(2rem, 5vw, 5rem); align-items: start; }
.grid { display: grid; gap: 15px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1023px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .split { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
}
.panel { background: var(--c-panel); padding: clamp(1.5rem, 5vw, 5.3rem); }

/* ---------- type ---------- */
.display { font-size: var(--fs-h1); line-height: .96; letter-spacing: -.04em; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.15; }
.lede { font-family: var(--f-serif); font-size: var(--fs-lede); line-height: 1.17; }
.sub { font-family: var(--f-sans); font-size: var(--fs-sub); line-height: 1.07; font-weight: 400; }
.eyebrow { font-family: var(--f-serif); font-size: 1.7rem; color: var(--c-sky); line-height: 1.2; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 1.05rem 2.2rem 1.15rem; border: 1px solid var(--c-sky);
  color: var(--c-sky); background: transparent; font: inherit; font-size: var(--fs-body); line-height: 1;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--c-sky); color: var(--c-ink); }
.btn--solid { background: #7cc6f6; border-color: #7cc6f6; color: var(--c-ink); font-weight: 600; }
.btn--solid:hover { background: var(--c-sky); border-color: var(--c-sky); }
.arrow-link { display: inline-flex; width: 34px; height: 34px; border: 1px solid var(--c-sky); border-radius: 50%; align-items: center; justify-content: center; color: var(--c-sky); transition: background .25s, color .25s; }
.arrow-link svg { width: 16px; height: 16px; }
.arrow-link:hover { background: var(--c-sky); color: var(--c-ink); }

/* ---------- header ---------- */
/* sticky: transparent at the top of the page, deep navy bar once the page scrolls (.is-stuck set by yc.js) */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.is-stuck { background: var(--c-deep); box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 8px 24px rgba(0,0,0,.25); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header--overlay { position: fixed; inset: 0 0 auto 0; }
/* over a light hero (About): dark logo + navy links until the bar turns dark */
.brand__dark { display: none; }
.site-header--on-light:not(.is-stuck) .brand__light { display: none; }
.site-header--on-light:not(.is-stuck) .brand__dark { display: block; }
.site-header--on-light:not(.is-stuck) .nav > ul > li > a,
.site-header--on-light:not(.is-stuck) .nav-toggle { color: #082e49; }
.site-header--on-light:not(.is-stuck) .nav .nav-cta a { color: #082e49; border-color: #082e49; }
.site-header--on-light:not(.is-stuck) .nav > ul > li > a[aria-current="page"],
.site-header--on-light:not(.is-stuck) .nav > ul > li > a:hover { color: #0a6fa8; }
.site-header--on-light:not(.is-stuck) .nav .nav-cta a:hover { background: #082e49; color: #fff; }
.brand { display: inline-flex; align-items: center; color: var(--c-text); }
.brand img { width: 182px; height: auto; }
@media (max-width: 767px) { .brand img { width: 158px; } }
.nav { display: flex; align-items: center; }
.nav ul { list-style: none; display: flex; align-items: center; gap: .1rem; }
.nav a { display: block; padding: .8rem .65rem; font-size: var(--fs-nav); text-transform: uppercase; letter-spacing: .01em; line-height: 1.2; }
.nav a[aria-current="page"] { color: var(--c-sky); }
.nav .has-sub { position: relative; }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 260px; width: max-content; max-width: 380px; /* longer French labels stay on one line */
  flex-direction: column; align-items: stretch; gap: 0;
  background: var(--c-panel-2); padding: .4rem 0; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.nav .sub a { text-transform: none; font-size: .95rem; padding: .6rem 1.1rem; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .nav-cta a { display: inline-flex; align-items: center; gap: .45rem; margin-left: .5rem; padding: .7rem .8rem; border: 1px solid var(--c-sky); color: var(--c-sky); font-size: .8rem; }
.nav .nav-cta a:hover { background: var(--c-sky); color: var(--c-ink); }
.nav .nav-cta svg { width: 16px; height: 12px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--c-text); cursor: pointer; }
.nav-toggle svg { width: 30px; height: 21px; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.75); opacity: 0; transition: opacity .3s; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(400px, 100%); background: var(--c-panel-2); padding: 1.2rem var(--gutter) 2rem;
  transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; display: flex; flex-direction: column; }
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { align-self: flex-end; background: none; border: 0; color: var(--c-text); padding: 10px; cursor: pointer; }
.drawer__close svg { width: 22px; height: 22px; }
.drawer nav ul { list-style: none; }
.drawer nav > ul > li { border-bottom: 1px solid var(--c-line); }
.drawer nav a { display: block; padding: 1rem 0; text-transform: uppercase; font-size: 1rem; letter-spacing: .02em; }
.drawer nav .sub a { text-transform: none; padding: .55rem 0 .55rem 1rem; font-size: .95rem; color: var(--c-muted); }
.drawer nav .sub { padding-bottom: .6rem; }
body.drawer-open { overflow: hidden; }
@media (max-width: 1023px) { .site-header .nav { display: none; } .nav-toggle { display: block; } }

/* ---------- footer ---------- */
.site-footer { background: var(--c-deep); padding: 2.6rem 0 2.2rem; }
.site-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.site-footer .brand img { width: 260px; }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem 1.6rem; }
.footer-nav a { font-size: .8rem; text-transform: uppercase; }
.site-footer__mid { margin-top: 3.4rem; }
.site-footer address { font-style: normal; }
.site-footer__name { margin: 1rem 0 0; font-size: .85rem; }
.site-footer__name a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--c-sky); }
.site-footer__name a:hover { color: var(--c-sky); }
.social { display: inline-flex; width: 28px; height: 28px; margin-bottom: .7rem; color: var(--c-text); }
.legal-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.legal-nav a { font-size: .85rem; }
.legal-nav a:hover { color: var(--c-sky); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; margin-top: 3rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 767px) {
  .site-footer .brand img { width: 220px; }
  .site-footer__top { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .footer-nav ul { flex-direction: column; gap: .5rem; }
}

/* ---------- breadcrumb ---------- */
.breadcrumb { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.2rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "»"; margin-right: .4rem; color: var(--c-sky); }
.breadcrumb a { color: var(--c-sky); opacity: .8; }
.breadcrumb [aria-current] { color: var(--c-sky); font-weight: 600; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(2rem, 6vw, 5rem); padding-bottom: var(--space-m); }

/* ---------- bars (animated stripe field — our own canvas renderer, see yc.js) ---------- */
.bars { position: relative; height: var(--bars-h, 300px); color: var(--c-sky); }
.bars canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 767px) { .bars { height: var(--bars-h-m, 200px); } }
/* a block that sits over the lower part of a bar field */
.over-bars { position: relative; z-index: 1; margin-top: calc(-1 * var(--overlap, 120px)); }

/* ---------- media ---------- */
.media { position: relative; overflow: hidden; background: var(--c-panel); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 1390 / 400; }
.media--banner { aspect-ratio: 1390 / 460; }
.media--card { aspect-ratio: 16 / 10.5; }
.media--portrait { aspect-ratio: 4 / 5; }
@media (max-width: 767px) { .media--wide, .media--banner { aspect-ratio: 16 / 9; } }

/* ---------- cards ---------- */
.card { display: flex; flex-direction: column; background: var(--c-panel); }
.card__body { padding: clamp(1.4rem, 2.2vw, 1.9rem) clamp(1.2rem, 2.2vw, 1.9rem) 2rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.card__body .h3 { margin-bottom: .1rem; }
.card__body p { font-size: 1rem; line-height: 1.45; }
a.card { transition: background .25s; }
a.card:hover { background: var(--c-panel-2); color: inherit; }
a.card:hover .arrow-link { background: var(--c-sky); color: var(--c-ink); }

/* ---------- CTA band (photo with an inset panel) ---------- */
.cta-band { position: relative; padding: clamp(2.5rem, 6vw, 5.3rem) var(--gutter); background: var(--c-panel) center / cover no-repeat; }
.cta-band__panel { max-width: var(--maxw); margin-inline: auto; background: var(--c-panel); padding: clamp(2rem, 4vw, 3.6rem) clamp(1.2rem, 4vw, 3rem); text-align: center; }
.cta-band__panel > * { max-width: 46rem; margin-inline: auto; }
.cta-band__panel .h2 { margin-bottom: 1.2rem; }
.cta-band__panel .btn { margin-top: 1.6rem; }

/* ---------- feature (wide photo above a two-column panel) ---------- */
.feature__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 6vw, 6rem); background: var(--c-panel); padding: clamp(2rem, 4vw, 3.6rem) clamp(1.4rem, 8vw, 7.5rem); align-items: start; }
.feature__panel .btn { margin-top: 1.6rem; }
@media (max-width: 767px) { .feature__panel { grid-template-columns: 1fr; } }

/* ---------- accordion (native <details>) ---------- */
.accordion { border-bottom: 1px solid var(--c-sky); }
.accordion details { border-top: 1px solid var(--c-sky); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .55rem .4rem; font-family: var(--f-serif); font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.2; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; flex: none; width: 10px; height: 10px; border: solid var(--c-sky); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s; }
.accordion details[open] summary { color: var(--c-sky); }
.accordion details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.accordion summary:hover { color: var(--c-sky); }
.accordion__body { padding: 0 .4rem 1rem; font-size: .95rem; max-width: 42rem; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.2rem; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; }
.field .req { color: var(--c-sky); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--c-line); color: var(--c-text);
  font: inherit; padding: .7rem .2rem; border-radius: 0; appearance: none; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%233bcbff'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E") right .4rem center no-repeat; padding-right: 2rem; }
.field select option { color: #000; }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--c-sky); }
@media (max-width: 767px) { .form { grid-template-columns: 1fr; } }
.status { padding: .9rem 1.1rem; margin-bottom: 1.4rem; border-left: 3px solid; }
.status--ok { border-color: var(--c-sky); background: rgba(59,203,255,.1); }
.status--err { border-color: #ff7a7a; background: rgba(255,122,122,.1); }

/* ---------- long-form text (legal pages) ---------- */
.prose { max-width: 50rem; }
.prose h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 2.4rem 0 .8rem; }
.prose h3 { font-size: 1.35rem; margin: 1.8rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--c-sky); text-decoration: underline; text-underline-offset: 2px; }
.prose table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.6rem; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--c-line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.prose th { background: var(--c-panel); }
.note { border-left: 3px solid var(--c-sky); padding: .8rem 1rem; background: var(--c-panel); font-size: .95rem; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- utilities ---------- */
.mt-m { margin-top: var(--space-m); }
