/* =====================================================================
   Ashcombe Partners — Stylesheet
   Palette sourced from thisisnoa.com computed styles.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Colour (Noa palette) */
  --cream:      #FCF8F4;
  --white:      #FFFFFF;
  --tint:       #EBEFFC;
  --ink:        #212121;
  --navy:       #0D0961;
  --navy-2:     #17128F;
  --blue:       #393CFB;
  --blue-mid:   #2E73F6;
  --blue-deep:  #1863DC;
  --slate:      #4D5564;
  --green:      #36B580;
  --line:       rgba(33, 33, 33, .12);
  --line-strong:rgba(33, 33, 33, .2);
  --line-light: rgba(255, 255, 255, .18);

  /* Semantic */
  --bg:         var(--cream);
  --fg:         var(--ink);
  --muted:      var(--slate);
  --accent:     var(--blue);
  --accent-ink: var(--white);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body:    'Jost', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 10vw, 160px);
  --radius: 8px;
  --radius-lg: 14px;

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur: .35s;

  /* Header */
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
sup { font-size: .45em; vertical-align: super; line-height: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 10px 16px; background: var(--navy); color: var(--white);
  border-radius: 999px; transform: translateY(-200%);
  transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.section { padding-block: var(--section); }

.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Typography ---------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.7rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
.h-display em { font-style: italic; color: var(--blue); }
.h-display--light { color: var(--white); }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
}
.eyebrow--light { color: rgba(255,255,255,.72); }
.lede { font-size: clamp(1.15rem, 1.4vw, 1.35rem); line-height: 1.5; color: var(--ink); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 500; font-size: 15px; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
  border: 1.5px solid transparent;
}
.btn .icon { transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 24px -12px rgba(57,60,251,.6); }
.btn--primary:hover { background: var(--navy); box-shadow: 0 14px 28px -12px rgba(13,9,97,.5); }

.btn--outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

.btn--ghost { color: var(--ink); background: transparent; }
.btn--ghost:hover { background: rgba(33,33,33,.06); }

.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--tint); }

.btn--outline-light { border-color: var(--line-light); color: var(--white); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 15px; color: var(--ink); padding-bottom: 2px;
  min-height: 44px;
}
.link-arrow::after {
  content: ''; width: 18px; height: 18px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform var(--dur) var(--ease-out);
}
.link-arrow::before {
  content: ''; position: absolute; left: 0; bottom: 8px; height: 1px; width: calc(100% - 26px);
  background: currentColor; transform-origin: left; transform: scaleX(.35); opacity: .35;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.link-arrow:hover::before { transform: scaleX(1); opacity: 1; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out),
              box-shadow .4s var(--ease-out), backdrop-filter .4s, transform .4s var(--ease-out);
}
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line); opacity: 0; transition: opacity .4s;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(252, 248, 244, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
          backdrop-filter: saturate(160%) blur(14px);
}
.site-header.is-scrolled::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.menu-open { color: var(--white); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.menu-open::after { opacity: 0; }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }

.brand { display: inline-flex; align-items: baseline; gap: 6px; line-height: 1; }
.brand__mark { font-family: var(--font-display); font-weight: 600; font-size: 32px; letter-spacing: -.01em; }
.brand__sub { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }

.nav__list { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 14.5px; font-weight: 500; opacity: .92;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease-out);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 6px; }
.site-header:not(.is-scrolled) .btn--ghost { color: var(--white); }
.site-header:not(.is-scrolled) .btn--ghost:hover { background: rgba(255,255,255,.12); }
.site-header:not(.is-scrolled) .btn--outline { color: var(--white); border-color: rgba(255,255,255,.4); }
.site-header:not(.is-scrolled) .btn--outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px; margin-left: 4px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy); color: var(--white);
  clip-path: circle(0 at calc(100% - 42px) 42px);
  transition: clip-path .6s var(--ease-in-out);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 42px) 42px); visibility: visible; }
.mobile-menu__inner {
  height: 100%; padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 32px; overflow-y: auto;
}
.mobile-menu__list a {
  display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 8.5vw, 3rem);
  line-height: 1.25; padding: 4px 0; opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__list a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(1) a { transition-delay: .18s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) a { transition-delay: .23s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) a { transition-delay: .28s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) a { transition-delay: .33s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) a { transition-delay: .38s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(6) a { transition-delay: .43s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(7) a { transition-delay: .48s; }
.mobile-menu__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.mobile-menu__meta { font-size: 13px; opacity: .6; letter-spacing: .06em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; isolation: isolate;
  background: var(--navy);
}
.hero__media { position: absolute; inset: -10% 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; will-change: transform; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,9,97,.55) 0%, rgba(13,9,97,.15) 35%, rgba(13,9,97,.35) 65%, rgba(13,9,97,.92) 100%),
    linear-gradient(90deg, rgba(13,9,97,.45) 0%, rgba(13,9,97,0) 60%);
}
.hero__content { position: relative; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(56px, 8vh, 110px); }

.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(3.6rem, 11vw, 10rem); line-height: .96; letter-spacing: -.015em;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.hero__line { display: block; overflow: hidden; }
.hero__line > * { display: inline-block; }
.hero__dot { color: var(--blue-mid); }
.rotator {
  display: inline-block; font-style: italic; color: #C9D1FF;
  vertical-align: bottom; overflow: hidden; line-height: inherit;
}
.rotator__word { display: inline-block; will-change: transform; }

.search {
  display: flex; align-items: stretch; max-width: 640px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 6px; gap: 6px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: border-color var(--dur), background-color var(--dur);
}
.search:focus-within { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.14); }
.search__input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
  color: var(--white); padding: 0 20px; font-size: 16px; min-height: 48px;
}
.search__input::placeholder { color: rgba(255,255,255,.6); }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__btn { flex: none; }

.hero__links { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 22px; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .7;
}
.hero__scroll-line { width: 1px; height: 56px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ''; position: absolute; inset: 0; background: var(--white);
  animation: scroll-line 2.2s var(--ease-in-out) infinite;
}
@keyframes scroll-line { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Intro ---------- */
.intro { background: var(--cream); position: relative; }
.intro__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.intro__lead { position: sticky; top: calc(var(--header-h) + 32px); }
.intro__lead .h-display { margin-bottom: 36px; }
.intro__body { display: grid; gap: 22px; color: var(--slate); padding-top: 8px; }
.intro__body .lede { color: var(--ink); margin-bottom: 8px; }

/* ---------- Sectors ---------- */
.sectors { padding-top: 0; }
.sectors__panel {
  display: grid; grid-template-columns: 1fr 1fr; background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(13,9,97,.25);
}
.sectors__panel > * { min-width: 0; }
.sectors__list-wrap { padding: clamp(36px, 5vw, 72px); }
.sectors__list-wrap .h-display { margin-bottom: 36px; }
.sectors__list { display: grid; gap: 2px; }
.sector-tab {
  position: relative; display: block; width: 100%; text-align: left;
  min-height: 46px; padding: 8px 0 8px 0; font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--slate);
  transition: color var(--dur) var(--ease-out), padding-left var(--dur) var(--ease-out);
}
.sector-tab::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 26px; height: 1.5px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.sector-tab:hover { color: var(--ink); }
.sector-tab.is-active { color: var(--ink); font-weight: 500; padding-left: 40px; }
.sector-tab.is-active::before { transform: scaleX(1); }

.sectors__media { position: relative; min-height: 560px; overflow: hidden; background: var(--navy); }
.sectors__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: center 20%; filter: saturate(.85); }
.sector-card {
  position: absolute; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 40px); background: rgba(13,9,97,.88); color: var(--white);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12);
}
.sector-card__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 2.4vw, 2.2rem); line-height: 1.1; margin-bottom: 12px; }
.sector-card__text { font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.sector-card__links { display: flex; flex-direction: column; }
.sector-card .link-arrow { color: var(--white); min-height: 40px; font-size: 14.5px; }

/* ---------- Roles ---------- */
.roles { background: var(--tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-head__actions { display: flex; align-items: center; gap: 16px; }

.carousel-nav { display: flex; gap: 8px; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink);
  transition: background-color var(--dur), color var(--dur), border-color var(--dur), opacity var(--dur);
}
.carousel-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.carousel-btn[disabled] { opacity: .35; cursor: default; pointer-events: none; }

.carousel { position: relative; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow: hidden; }
.carousel__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); padding-bottom: 8px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { scroll-snap-align: start; flex: none; }

.role-card {
  position: relative; display: flex; flex-direction: column;
  width: clamp(280px, 26vw, 360px); min-height: 320px;
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.role-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(13,9,97,.35); border-color: rgba(57,60,251,.25); }
.role-card__sector { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.role-card__title { font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; line-height: 1.12; margin-bottom: 12px; }
.role-card__text { font-size: 15px; color: var(--slate); line-height: 1.55; flex: 1; }
.role-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.role-card__meta span { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--navy); }
.role-card__link { position: absolute; inset: 0; border-radius: inherit; }
.role-card__link:focus-visible { outline-offset: -2px; }

/* ---------- Services ---------- */
.services { background: var(--cream); }
.services__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.services__head .h-display { margin-bottom: 22px; }
.services__intro { color: var(--slate); }
.services__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.services__tabs { display: grid; border-top: 1px solid var(--line); }
.service-tab {
  position: relative; display: flex; align-items: center; gap: 22px; width: 100%; text-align: left;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--slate);
  transition: color var(--dur), padding-left var(--dur) var(--ease-out);
}
.service-tab__num { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--blue); opacity: .6; transition: opacity var(--dur); }
.service-tab::after {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.service-tab:hover { color: var(--ink); }
.service-tab.is-active { color: var(--ink); font-weight: 500; }
.service-tab.is-active .service-tab__num { opacity: 1; }
.service-tab.is-active::after { transform: scaleX(1); }

.services__panel { display: grid; grid-template-rows: auto auto; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(13,9,97,.25); }
.services__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.services__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.services__copy { padding: clamp(28px, 3.5vw, 48px); }
.services__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.85rem, 2.6vw, 2.5rem); line-height: 1.1; margin-bottom: 14px; }
.services__text { color: var(--slate); margin-bottom: 20px; max-width: 58ch; }

/* ---------- Credentials ---------- */
.credentials { position: relative; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.credentials__bg { position: absolute; inset: -10% 0; z-index: -1; opacity: .16; }
.credentials__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.credentials::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 80% 20%, rgba(57,60,251,.45), transparent 70%);
}
.credentials .h-display { margin-bottom: clamp(48px, 6vw, 80px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.stat { padding: 40px 32px 0 0; position: relative; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line-light); }
.stat__number { font-family: var(--font-display); font-weight: 500; font-size: clamp(3.4rem, 5.8vw, 5.8rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.stat__suffix { color: #8B8DFF; }
.stat__label { font-weight: 500; font-size: 1.05rem; margin-bottom: 12px; }
.stat__text { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.7); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--cream); }
.testimonials__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.testimonials__lead .h-display { margin-bottom: 32px; }
.testimonials__lead { position: sticky; top: calc(var(--header-h) + 32px); }
.quotes__track { gap: 24px; }
.quote { width: 100%; padding: 8px 0 0; }
.quote__text p, .quote__org { max-width: 720px; }
.quote__role { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.quote__text { position: relative; padding-left: 44px; }
.quote__mark { position: absolute; left: 0; top: 4px; width: 28px; height: 28px; stroke: var(--blue); stroke-width: 1.5; fill: none; }
.quote__text p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.55rem, 2.2vw, 2.05rem); line-height: 1.3; color: var(--ink); text-wrap: pretty; }
.quote__org { margin-top: 22px; padding-left: 44px; color: var(--slate); font-size: 15px; }

/* ---------- FAQs ---------- */
.faqs { background: var(--white); }
.faqs__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faqs__lead .h-display { margin-bottom: 28px; }
.faqs__lead { position: sticky; top: calc(var(--header-h) + 32px); }
.accordion { border-top: 1px solid var(--line-strong); }
.accordion__item { border-bottom: 1px solid var(--line-strong); }
.accordion__summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  list-style: none; cursor: pointer; padding: 24px 0;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.2;
  transition: color var(--dur);
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary:hover { color: var(--blue); }
.accordion__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: transform .4s var(--ease-out), background-color var(--dur), border-color var(--dur); }
.accordion__icon::before, .accordion__icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease-out); }
.accordion__item[open] .accordion__icon { background: var(--navy); border-color: var(--navy); color: var(--white); }
.accordion__item[open] .accordion__icon::after { transform: translate(-50%, -50%) rotate(0); }
.accordion__body { overflow: hidden; }
.accordion__body p { color: var(--slate); padding-bottom: 28px; max-width: 64ch; }

/* ---------- CTA panels ---------- */
.cta-panels { background: var(--cream); padding-top: var(--section); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta-card {
  position: relative; min-height: 520px; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; align-items: flex-end; color: var(--white); background: var(--navy); isolation: isolate;
}
.cta-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.cta-card:hover .cta-card__img { transform: scale(1.04); }
.cta-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,9,97,.15) 0%, rgba(13,9,97,.8) 55%, rgba(13,9,97,.96) 100%);
}
.cta-card__body { padding: clamp(28px, 4vw, 48px); }
.cta-card__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.05rem, 3vw, 2.8rem); line-height: 1.08; margin-bottom: 14px; }
.cta-card__text { font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.82); margin-bottom: 26px; max-width: 46ch; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__lead .h-display { margin-bottom: 24px; }
.contact__lead .lede { color: var(--slate); margin-bottom: 32px; }
.contact__details { display: grid; gap: 8px; color: var(--ink); }
.contact__details a { position: relative; }
.contact__details a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; opacity: .3; transition: opacity var(--dur); }
.contact__details a:hover::after { opacity: 1; }

.form { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(13,9,97,.25); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field__label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field__label span { color: var(--blue); }
.field__input {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius);
  border: 1.5px solid var(--line-strong); background: var(--cream); outline: 0;
  transition: border-color var(--dur), box-shadow var(--dur), background-color var(--dur);
}
.field__input:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(57,60,251,.12); }
.field.is-invalid .field__input { border-color: #D93025; }
.field__error { font-size: 13px; color: #B3261E; min-height: 0; }
.field__error:empty { display: none; }
textarea.field__input { resize: vertical; min-height: 140px; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ''; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; pointer-events: none;
  border-right: 1.5px solid var(--slate); border-bottom: 1.5px solid var(--slate); transform: translateY(-70%) rotate(45deg);
}
select.field__input { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form__note { font-size: 13.5px; color: var(--slate); max-width: 34ch; }
.form.is-sending .btn { opacity: .7; pointer-events: none; }
.form__success {
  display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 18px 20px;
  border-radius: var(--radius); background: rgba(54,181,128,.12); color: #1B6B49; font-size: 15px;
}
.form__success .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.form__success[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer__top { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
.brand--footer { margin-bottom: 24px; }
.footer__address { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.75); }
.footer__address a:hover { color: var(--white); }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 40px; font-size: 15px; color: rgba(255,255,255,.8); transition: color var(--dur); }
.footer__nav a:hover { color: var(--white); }
.footer__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.social { display: flex; gap: 8px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); transition: background-color var(--dur), border-color var(--dur); }
.social a:hover { background: var(--blue); border-color: var(--blue); }
.social .icon { width: 18px; height: 18px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13.5px; color: rgba(255,255,255,.6); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 32px; transition: color var(--dur); }
.footer__legal a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__list { gap: 14px; }
  .nav__link { font-size: 14px; }
  .header__actions .btn--ghost { display: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .header__actions .btn--outline { display: none; }
  .menu-toggle { display: flex; }
  .brand__mark { font-size: 28px; }

  .intro__grid, .services__grid, .testimonials__grid, .faqs__grid, .contact__grid { grid-template-columns: 1fr; }
  .intro__lead, .testimonials__lead, .faqs__lead { position: static; }
  .sectors__panel { grid-template-columns: 1fr; }
  .sectors__media { min-height: 520px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 24px 32px 0; }
  .stat + .stat { padding-left: 24px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__social { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head__actions { width: 100%; justify-content: space-between; }
  .hero__content { padding-top: calc(var(--header-h) + 40px); }
  .hero__title { font-size: clamp(3.4rem, 16vw, 6rem); }
  .search { flex-direction: column; border-radius: 22px; }
  .search__input { min-height: 52px; text-align: center; }
  .search__btn { justify-content: center; }
  .hero__scroll { display: none; }

  .sectors__list-wrap { padding: 28px 22px 8px; }
  .sectors__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -22px; padding: 0 22px 22px; }
  .sectors__list::-webkit-scrollbar { display: none; }
  .sectors__list li { flex: none; }
  .sector-tab { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; white-space: nowrap; gap: 0; }
  .sector-tab::before { display: none; }
  .sector-tab.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
  .sectors__media { min-height: 460px; }
  .sector-card { left: 14px; right: 14px; bottom: 14px; }

  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 28px 0 0; border-left: 0; }
  .stat:nth-child(n+2) { border-top: 1px solid var(--line-light); padding-bottom: 8px; }
  .stat:first-child { padding-top: 32px; }

  .cta-grid { grid-template-columns: 1fr; }
  .cta-card { min-height: 440px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__foot .btn { width: 100%; justify-content: center; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__scroll-line::after { animation: none; }
  .mobile-menu { transition: none; }
}
