@import url('/assets/css/fonts.css');

/* ==========================================================================
   Intelysource — "Bearing" design system
   Navy + brass precision-instrument identity. Fraunces / IBM Plex Sans / Mono.
   ========================================================================== */

:root {
  /* Palette — Ensign (blue ramp anchored on the logo blue #144e8a) */
  --navy:        #123f74;   /* primary dark blue — headings, sector names, CTA */
  --navy-800:    #16497f;
  --navy-700:    #144e8a;   /* logo blue — links & accents */
  --navy-900:    #0e3563;   /* deepest ground — hero, footer, cookie bar */
  --brand-navy:  #144e8a;   /* exact logo blue */
  /* Neutral steel-grey accents (blue-biased, chosen — not gold) */
  --steel:       #64707e;   /* decorative hairlines, label underscore */
  --steel-600:   #46515d;   /* muted label text on light */
  --steel-300:   #c3cad2;   /* muted accent on blue grounds */
  /* legacy aliases (kept so existing rules resolve to the steel palette) */
  --brass:       var(--steel);
  --brass-600:   var(--steel-600);
  --brass-300:   var(--steel-300);
  --btn-grey:    #e8e9ec;
  --btn-grey-2:  #dbdde1;
  /* Flag red — used sparingly as a government/service accent */
  --red:         #b22234;   /* Old Glory red */
  --red-bright:  #d23a4b;   /* brighter, for red on navy grounds */
  --bone:        #f4efe3;
  --paper:       #fcfaf4;
  --ink:         #14202c;
  --slate:       #5a6b7b;
  --slate-300:   #8b98a5;
  --line:        rgba(10, 41, 71, 0.14);
  --line-strong: rgba(10, 41, 71, 0.28);
  --line-light:  rgba(255, 255, 255, 0.16);

  /* Type */
  --display: 'Fraunces', 'Georgia', serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', 'Menlo', monospace;

  /* Rhythm */
  --wrap: 1140px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 78px;

  --ease: cubic-bezier(0.4, 0.01, 0.165, 0.99);
}

/* ---- reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; margin: 0; }
p { margin: 0 0 1.1em; }
::selection { background: #d3dceb; color: var(--navy-900); }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 20px; font-family: var(--mono); font-size: 13px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---- layout --------------------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap--wide { --wrap: 1320px; }

/* Monospace instrument label / eyebrow */
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-600);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin: 0;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px; background: var(--red); display: inline-block;
}
.kicker--plain::before { display: none; }
.on-navy .kicker { color: var(--steel-300); }
.on-navy .kicker::before { background: var(--red-bright); }

/* ---- buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--btn-grey);
  --btn-fg: #14202c;
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 15px 26px; border: 1px solid var(--line-strong); border-radius: 3px; cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  text-decoration: none;
}
.btn:hover { background: var(--btn-grey-2); color: #14202c; border-color: var(--slate-300); text-decoration: none; transform: translateY(-1px); }
/* On blue grounds: near-white button, black text — clean and high-contrast */
.on-navy .btn { --btn-bg: #eef1f4; --btn-fg: #14202c; border-color: transparent; }
.on-navy .btn:hover { background: #ffffff; border-color: transparent; }
.btn .arw { transition: transform 0.25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--navy);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --btn-bg: var(--navy); --btn-fg: #fff; border-color: var(--navy); }
.on-navy .btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,0.5); }
.on-navy .btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--navy); border-color: #fff; }

/* ---- header --------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(252, 250, 244, 0.88);
  backdrop-filter: saturate(1.2) blur(10px);
  border-top: 4px solid var(--navy);
  border-bottom: 1px solid var(--line);
  transition: transform 0.4s var(--ease);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink);
  padding: 10px 15px; border-radius: 3px; position: relative;
}
.nav a:hover { text-decoration: none; color: var(--navy-700); background: rgba(10,41,71,0.05); }
.nav a[aria-current="page"] { color: var(--brass-600); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px; background: var(--brass);
}
.nav .btn { margin-left: 12px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent;
  border-radius: 3px; cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 12px; width: 20px; height: 2px; background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---- generic section ------------------------------------------------------ */
main { padding-top: var(--header-h); }
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--bone { background: var(--bone); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: 16px; }
.section-head p { color: var(--slate); font-size: 1.15rem; margin-top: 18px; }
.lede { font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.5; font-weight: 400; letter-spacing: -0.01em; }

/* ---- hero ----------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: url('/assets/images/stars.svg');
  background-size: 240px 240px;
  mask-image: radial-gradient(circle at 80% 26%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero__photo {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.20; filter: grayscale(1) contrast(1.05);
  mix-blend-mode: luminosity;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, var(--navy-900) 30%, rgba(6,25,46,0.65) 100%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; padding: clamp(96px, 15vh, 168px) 0 clamp(64px, 9vh, 104px); }
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.6rem, 6.6vw, 5.4rem); line-height: 1.03; letter-spacing: -0.02em;
  max-width: none; margin: 26px 0 0; text-wrap: pretty;
}
.hero h1 em { font-style: normal; color: inherit; }
.hero__sub { color: rgba(255,255,255,0.78); font-size: clamp(1.05rem, 1.8vw, 1.28rem); max-width: none; margin: 26px 0 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__rule { margin-top: 54px; height: 3px; background: linear-gradient(90deg, var(--red-bright) 0 33.333%, #ffffff 33.333% 66.666%, #6aa5e0 66.666% 100%); }
.hero__manifest {
  display: flex; flex-wrap: wrap; gap: 28px 40px; margin-top: 22px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.hero__manifest b { color: var(--brass-300); font-weight: 500; }

/* ---- intro statement ------------------------------------------------------ */
.statement p { font-size: clamp(1.35rem, 3vw, 2.05rem); line-height: 1.42; font-family: var(--display); font-weight: 300; letter-spacing: -0.015em; max-width: 24ch; }
.statement .body { font-family: var(--sans); font-size: 1.12rem; line-height: 1.7; color: var(--slate); font-weight: 400; max-width: 52ch; letter-spacing: 0; }
.statement__cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }

/* ---- sector index (Who We Serve) ------------------------------------------ */
.sectors { border-top: 1px solid var(--line); }
.sector {
  display: grid; grid-template-columns: 88px 1.4fr 2fr auto; align-items: center; gap: 28px;
  padding: 26px 8px; border-bottom: 1px solid var(--line);
  position: relative; transition: background 0.3s var(--ease); color: var(--ink);
}
.sector:hover { background: var(--bone); text-decoration: none; }
.sector__tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--slate-300); }
.sector__name { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 500; color: var(--navy); letter-spacing: -0.01em; }
.sector__desc { color: var(--slate); font-size: 1rem; line-height: 1.55; }
.sector__go {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--navy); flex: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.sector:hover .sector__go { background: var(--navy-700); border-color: var(--navy-700); color: #fff; transform: translateX(4px); }
.sector__thumb { display: none; }

/* ---- card grid (services etc.) -------------------------------------------- */
.cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  background: var(--paper); padding: 32px 30px 34px; display: flex; flex-direction: column; gap: 10px;
  color: var(--ink); transition: background 0.3s var(--ease); position: relative;
}
a.card:hover { text-decoration: none; background: var(--bone); }
.card__tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-600); }
.card h3 { font-size: 1.5rem; color: var(--navy); margin: 4px 0 6px; }
.card p { color: var(--slate); font-size: 1rem; margin: 0; }
.card ul { margin: 8px 0 0; padding: 0; list-style: none; }
.card ul li { position: relative; padding-left: 18px; color: var(--ink); font-size: 0.98rem; line-height: 1.9; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 7px; height: 1px; background: var(--brass); }
.card__more { margin-top: auto; padding-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-700); display: inline-flex; align-items: center; gap: 8px; }
a.card:hover .card__more { color: var(--navy-700); }
a.card:hover .card__more .arw { transform: translateX(4px); }
.card__more .arw { transition: transform 0.25s var(--ease); }

/* ---- breadcrumbs ---------------------------------------------------------- */
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-300); padding: 22px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs a { color: var(--slate); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--slate-300); }
.crumbs li[aria-current] { color: var(--brass-600); }

/* ---- page hero (interior) ------------------------------------------------- */
.pagehero { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.pagehero__photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.28; filter: grayscale(1) contrast(1.04); mix-blend-mode: luminosity; }
.pagehero::after { content:""; position:absolute; inset:0; background: linear-gradient(100deg, var(--navy-900) 34%, rgba(6,25,46,0.55)); }
.pagehero__inner { position: relative; z-index: 2; padding: clamp(70px, 12vh, 130px) 0 clamp(48px, 7vh, 84px); }
.pagehero .kicker { color: var(--brass-300); }
.pagehero h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 400; max-width: 20ch; margin-top: 20px; }
.pagehero__lead { color: rgba(255,255,255,0.82); font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 40ch; margin-top: 22px; line-height: 1.5; }

/* ---- prose (privacy, about, etc.) ----------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.6rem; color: var(--navy); margin: 2em 0 0.5em; }
.prose h3 { font-size: 1.25rem; color: var(--navy); margin: 1.6em 0 0.4em; font-weight: 600; font-family: var(--sans); }
.prose h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; margin: 1.4em 0 0.3em; }
.prose p, .prose li { color: var(--ink); font-size: 1.02rem; line-height: 1.8; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

/* ---- feature list (capabilities on service/sector pages) ------------------ */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--paper); padding: 30px 28px; }
.feature .n { font-family: var(--mono); font-size: 12px; color: var(--brass-600); letter-spacing: 0.1em; }
.feature h3 { font-size: 1.28rem; color: var(--navy); margin: 12px 0 8px; font-weight: 500; }
.feature p { color: var(--slate); font-size: 0.98rem; margin: 0; line-height: 1.65; }

/* ---- leadership ----------------------------------------------------------- */
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.leader { border: 1px solid var(--line); border-radius: 4px; padding: 26px; background: var(--paper); text-align: left; }
.leader__photo { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; filter: grayscale(1); border: 1px solid var(--line); background: var(--bone); }
.leader h3 { font-size: 1.4rem; color: var(--navy); margin: 18px 0 2px; }
.leader .role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-600); }
.leader p { color: var(--slate); font-size: 0.97rem; margin: 12px 0 0; }
.leader a.leader__more { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy-700); display: inline-block; margin-top: 14px; }

/* ---- split (bio pages) ---------------------------------------------------- */
.split { display: grid; grid-template-columns: 300px 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.split__aside img { width: 100%; border-radius: 4px; filter: grayscale(1); border: 1px solid var(--line); }
.split__aside .role { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brass-600); margin-top: 18px; }
.split__aside h1 { font-size: 2.1rem; color: var(--navy); margin-top: 6px; }

/* ---- checklist (About "what sets us apart", careers) ---------------------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 4px 40px; }
.checklist li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 17px; width: 16px; height: 9px;
  border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg);
}

/* ---- CTA band ------------------------------------------------------------- */
.cta {
  background: var(--navy); color: #fff; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('/assets/images/stars.svg');
  background-size: 220px 220px; opacity: 0.9;
  mask-image: radial-gradient(circle at 88% 116%, #000, transparent 74%);
}
.cta__inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(52px, 8vw, 88px) 0; }
.cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.9rem); font-weight: 400; max-width: none; white-space: nowrap; }
.cta h2 em { font-style: italic; color: var(--brass-300); }

/* ---- forms ---------------------------------------------------------------- */
.form-card { background: var(--bone); border: 1px solid var(--line); border-radius: 5px; padding: clamp(26px, 4vw, 40px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 4px; padding: 12px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(185,138,52,0.16); }
.field textarea { resize: vertical; min-height: 128px; }
.form-status { font-family: var(--mono); font-size: 13px; margin-top: 10px; }

/* contact detail rows */
.contact-lines { display: grid; gap: 2px; }
.contact-line { border-top: 1px solid var(--line); padding: 20px 0; }
.contact-line:last-child { border-bottom: 1px solid var(--line); }
.contact-line .k { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brass-600); }
.contact-line h3 { font-size: 1.25rem; color: var(--navy); margin: 8px 0 2px; font-weight: 500; }
.contact-line p { color: var(--slate); margin: 0; font-size: 0.98rem; }
.contact-line a { font-weight: 500; }

/* ---- footer --------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: clamp(52px, 7vw, 80px) 0 44px; border-bottom: 1px solid var(--line-light); }
.footer-brand img { height: 30px; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand p { max-width: 34ch; font-size: 0.96rem; color: rgba(255,255,255,0.6); }
.footer-col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-300); font-weight: 500; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 0.96rem; text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 22px 0 30px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { font-size: 11.5px; }

/* ---- misc ----------------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt0 { margin-top: 0; }

/* Scroll reveal — only hide when JS is available (never hide for no-JS/SEO) */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .statement__cols { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__aside img { max-width: 260px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; transform: translateY(-120%); transition: transform 0.4s var(--ease);
    box-shadow: 0 20px 40px rgba(6,25,46,0.12); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .nav { transform: translateY(0); }
  .nav a { padding: 15px 6px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 16px 6px 0; justify-content: center; }
  .nav-toggle { display: block; }

  .sector { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 22px 4px; }
  .sector__tag { grid-column: 1; grid-row: 1; }
  .sector__go { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .sector__name { grid-column: 1; grid-row: 2; }
  .sector__desc { grid-column: 1; grid-row: 3; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta h2 { white-space: normal; }
}
