/* Complect — website content v2 (Draft 1 PDF). Plain CSS, no build step. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  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: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #2700F1;
  --blue-deep: #1E00BD;
  --ink: #141414;
  --ink-2: #4D5259;      /* secondary text: 7.6:1 on white */
  --rule: #E3E5EA;
  --rule-strong: #C9CDD3;
  --wash: #F5F6F8;
  --cyan: #00D3FF;       /* decorative spark only */
  --magenta: #F3034D;    /* decorative spark only */
  --error: #C4003B;      /* 5.9:1 on white */
  --white: #fff;
  --navy: #0B0C2B;       /* hero + survey panel */
  --on-navy-2: #C2C6DE;  /* secondary text on navy */
  --on-navy-rule: rgba(255, 255, 255, .16);
  --grey-logo: #4D5259;  /* client wall names, greyscale until hover */

  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 72px;
  --radius: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "ss01" 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

.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: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--blue); color: var(--white);
  padding: 12px 18px; border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: currentColor;
}

.muted { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-primary::after {
  content: ""; width: 14px; height: 14px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 7h11M7.5 2.5 12 7l-4.5 4.5' fill='none' stroke='%23000' stroke-width='1.8'/%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 14 14'%3E%3Cpath d='M1 7h11M7.5 2.5 12 7l-4.5 4.5' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s var(--ease);
}
.btn-primary:hover::after { transform: translateX(3px); }
.btn-ghost { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-ghost-light { color: var(--white); border-color: rgba(255, 255, 255, .7); background: transparent; }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
          backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.header-sentinel { position: absolute; top: 0; height: 24px; width: 1px; pointer-events: none; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
  transition: height .25s var(--ease);
}
.site-header.is-compact { border-bottom-color: var(--rule); }
.site-header.is-compact .header-inner { height: 60px; }

.brand { display: inline-flex; padding: 6px 0; border-radius: 4px; }
.brand img { width: 128px; height: auto; transition: width .25s var(--ease); }
.site-header.is-compact .brand img { width: 112px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--ink); text-decoration: none; font-weight: 500; border-radius: var(--radius);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.site-nav a:hover { color: var(--blue); }
.site-nav .nav-cta { background: var(--blue); color: var(--white); padding: 0 20px; margin-left: 8px; font-weight: 600; }
.site-nav .nav-cta:hover { background: var(--blue-deep); color: var(--white); }

.menu-toggle {
  display: none;
  align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px;
  font: inherit; font-weight: 600; color: var(--ink);
  background: transparent; border: 1.5px solid var(--ink); border-radius: var(--radius);
  cursor: pointer;
}
.menu-toggle-icon { position: relative; width: 16px; height: 10px; }
.menu-toggle-icon::before, .menu-toggle-icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .2s var(--ease), top .2s var(--ease);
}
.menu-toggle-icon::before { top: 0; }
.menu-toggle-icon::after { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .site-header.is-compact .header-inner { height: 56px; }
  .brand img { width: 112px; }
  .site-header.is-compact .brand img { width: 104px; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 40px -24px rgba(20, 20, 20, .25);
    padding: 8px var(--gutter) 24px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--rule); }
  .site-nav a { min-height: 56px; padding: 0; font-size: 1.25rem; border-radius: 0; }
  .site-nav .nav-cta { background: none; color: var(--blue); margin: 0; padding: 0; }
  .site-nav .nav-cta:hover { background: none; color: var(--blue-deep); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: clip;
  background: var(--navy); color: var(--white);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-top: clamp(56px, 9vw, 128px);
  padding-bottom: clamp(56px, 8vw, 112px);
}
.hero-copy { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2.75rem, 7vw, 6.25rem);
  line-height: .98; letter-spacing: -0.045em; font-weight: 700;
  max-width: 13ch;
}
.hero-title span { display: block; color: var(--cyan); }
.hero-lede {
  margin-top: clamp(20px, 3vw, 32px);
  max-width: 44ch;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--on-navy-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 40px); }
.hero :focus-visible { outline-color: var(--white); }

.hero-art { justify-self: end; width: 100%; max-width: 380px; }
.hero-art img { width: 100%; height: auto; }

.hero-strip { border-top: 1px solid var(--on-navy-rule); }
.strip-grid {
  list-style: none; margin-block: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.strip-grid li { padding: 28px clamp(20px, 2.4vw, 32px) 32px; }
.strip-grid li:first-child { padding-left: 0; }
.strip-grid li + li { border-left: 1px solid var(--on-navy-rule); }
.strip-title { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; }
.strip-grid p:not(.strip-title) { margin-top: 6px; color: var(--on-navy-2); font-size: 1rem; line-height: 1.5; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art {
    position: absolute; z-index: 0; top: 24px; right: -110px;
    width: 280px; opacity: .35;
  }
}
@media (max-width: 640px) {
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid li { padding: 20px 0; }
  .strip-grid li + li { border-left: 0; border-top: 1px solid var(--on-navy-rule); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--rule); }
.section-wash { background: var(--wash); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  column-gap: clamp(24px, 4vw, 64px); row-gap: 16px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .eyebrow { grid-column: 1 / -1; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.section-intro { color: var(--ink-2); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); max-width: 56ch; align-self: end; }

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Introduction + values ---------- */
.hero + .intro { border-top: 0; }
.intro-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(24px, 4vw, 64px); row-gap: 28px;
}
.intro-grid .section-title { margin-top: 16px; font-size: clamp(2rem, 3.8vw, 3rem); }
.intro-body { display: grid; gap: 18px; color: var(--ink-2); max-width: 62ch; }
.intro-body .intro-lead { color: var(--ink); font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.5; }

.values {
  list-style: none; margin: clamp(56px, 7vw, 88px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.value { padding: 24px clamp(16px, 2vw, 28px) 8px 0; }
.value + .value { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--rule); }
.value h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
.value h3::before {
  content: ""; display: block; width: 10px; height: 10px; margin-bottom: 18px;
  border-radius: 50%; background: var(--blue);
}
.value p { margin-top: 10px; color: var(--ink-2); font-size: 1rem; }

@media (max-width: 960px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value:nth-child(n) { padding-left: 0; border-left: 0; }
  .value:nth-child(2n) { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--rule); }
  .value:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 16px; }
}
@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .value:nth-child(n) { padding: 20px 0; border-left: 0; margin-top: 0; }
  .value + .value { border-top: 1px solid var(--rule); }
  .value h3::before { margin-bottom: 12px; }
}

/* ---------- Services ---------- */
.services { background: var(--wash); }
.service-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px);
}
.service {
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
}
.service-num {
  display: block; font-size: .9375rem; font-weight: 700; color: var(--blue);
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
}
.service h3 { margin-top: 14px; font-size: clamp(1.3125rem, 1.9vw, 1.625rem); letter-spacing: -0.025em; line-height: 1.15; }
.service p { margin-top: 12px; color: var(--ink); }
.service ul { margin: 16px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--rule); display: grid; gap: 8px; }
.service li, .project-list li {
  position: relative; padding-left: 20px; color: var(--ink-2); font-size: 1rem; line-height: 1.5;
}
.service li::before, .project-list li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px;
  border-radius: 1px; background: var(--blue);
}

@media (max-width: 760px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ---------- Industries ---------- */
.industry-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px);
}
.industry { padding: 24px 0 0; border-top: 2px solid var(--blue); }
.industry h3 { font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; }
.industry p { margin-top: 12px; color: var(--ink-2); font-size: 1rem; }

@media (max-width: 960px) {
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 560px) {
  .industry-grid { grid-template-columns: 1fr; row-gap: 32px; }
}

/* ---------- How we work ---------- */
.process { padding-top: 0; border-top: 0; }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: none;
}
.step { position: relative; padding: 0 clamp(12px, 1.6vw, 24px) 0 0; }
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--blue); color: var(--white);
  font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 24px; left: 56px; right: 8px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--rule-strong) 0 6px, transparent 6px 12px);
}
.step h3 { margin-top: 20px; font-size: 1.375rem; letter-spacing: -0.02em; }
.step p { margin-top: 6px; color: var(--ink-2); font-size: 1rem; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px;
    padding: 0 0 28px;
  }
  .step-num { grid-row: 1 / span 2; }
  .step h3 { margin-top: 2px; }
  .step p { margin-top: 2px; }
  .step:not(:last-child)::after {
    top: 56px; bottom: 6px; left: 23px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--rule-strong) 0 6px, transparent 6px 12px);
  }
}

/* ---------- Projects ---------- */
.work { background: var(--wash); }
.projects {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: clamp(16px, 2vw, 24px);
}
.project {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--blue);
  border-radius: 6px 14px 14px 6px;
}
.project-meta {
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); line-height: 1.5;
}
.project h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); letter-spacing: -0.025em; line-height: 1.15; }
.project-desc { color: var(--ink-2); }
.project:not(.project-feature) {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(24px, 4vw, 64px); row-gap: 10px; align-items: start;
}
.project:not(.project-feature) .project-meta,
.project:not(.project-feature) h3 { grid-column: 1; }
.project:not(.project-feature) .project-desc { grid-column: 2; grid-row: 1 / span 2; max-width: 62ch; }
.project-feature h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.project-feature .project-desc { color: var(--ink); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); max-width: 70ch; }
.project-list {
  list-style: none; margin: 12px 0 0; padding: 20px 0 0;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px clamp(24px, 4vw, 56px);
}

@media (max-width: 860px) {
  .project:not(.project-feature) { display: flex; }
}
@media (max-width: 640px) {
  .project-list { grid-template-columns: 1fr; }
}

/* ---------- Clients (typographic logo wall) + partners ---------- */
.logo-wall {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px);
}
.logo-tile, .logo-tile-cta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 148px; padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--rule); border-radius: 14px;
  background: var(--white);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.logo-tile.logo-tile-cta { padding: 0; border: 0; min-height: 0; display: block; background: none; }
.logo-tile-cta a { height: 100%; text-decoration: none; border-style: dashed; border-color: var(--rule-strong); }
.logo-name {
  font-weight: 700; font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.15;
  color: var(--grey-logo);
  transition: color .2s var(--ease);
}
.logo-sector {
  font-size: .8125rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); line-height: 1.5;
}
.logo-tile:hover { border-color: var(--blue); }
.logo-tile:hover .logo-name { color: var(--blue); }
.logo-tile-cta a:hover, .logo-tile-cta a:focus-visible { border-color: var(--blue); border-style: solid; background: #F1EEFE; }
.logo-tile-cta .logo-name { color: var(--blue); }
.logo-tile-cta .logo-sector { color: var(--blue); font-weight: 700; }
.logo-tile-cta .logo-sector::after { content: " →"; }

.partners {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(24px, 4vw, 64px); row-gap: 12px;
  margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule);
}
.partners-title {
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
  line-height: 1.6;
}
.partners p { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; max-width: 60ch; }
.partners strong { font-weight: 700; }

@media (max-width: 860px) {
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-tile.logo-tile-cta { grid-column: 1 / -1; }
  .partners { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .logo-tile, .logo-tile-cta a { min-height: 124px; padding: 20px 12px; }
  .logo-name { font-size: 1.125rem; }
  .logo-sector { font-size: .75rem; letter-spacing: .06em; }
}

/* ---------- Site survey / contact ---------- */
.survey { border-top: 0; padding-top: 0; }
.clients + .survey { padding-top: 0; }
.survey-panel {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
  padding: clamp(28px, 5vw, 64px);
  background: var(--navy); color: var(--white);
  border-radius: 20px;
  position: relative; overflow: hidden;
}
.survey-panel::after {
  content: ""; position: absolute; left: -90px; bottom: -120px; width: 300px; height: 300px;
  background: url("/assets/ring.svg") center / contain no-repeat;
  opacity: .5; pointer-events: none;
}
.survey-info { position: relative; z-index: 1; }
.eyebrow-light { color: var(--cyan); }
.survey-info .section-title { margin-top: 16px; font-size: clamp(2rem, 3.6vw, 3rem); }
.survey-lede { margin-top: 20px; color: var(--on-navy-2); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; max-width: 44ch; }
.survey-facts { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--on-navy-rule); }
.survey-facts dt { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.survey-facts dd { margin: 4px 0 0; font-weight: 600; font-size: 1.125rem; }
.survey-panel > .survey-info :focus-visible { outline-color: var(--white); }

.survey-form-wrap {
  position: relative; z-index: 1;
  padding: clamp(22px, 3vw, 36px);
  background: var(--white); color: var(--ink);
  border-radius: 14px;
}

.contact-form { display: grid; gap: 22px; }
.form-legend { font-size: .9375rem; color: var(--ink-2); }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field label { font-weight: 600; font-size: .9375rem; }
.req { color: var(--blue); }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--rule-strong); border-radius: 6px;
  padding: 13px 14px; min-height: 52px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8F959D; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(39, 0, 241, .22);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgba(196, 0, 59, .2); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field-hint { font-size: .875rem; color: var(--ink-2); }
.field-error { font-size: .9375rem; font-weight: 500; color: var(--error); display: flex; gap: 8px; align-items: baseline; }
.field-error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: var(--white); font-size: .75rem; font-weight: 700; transform: translateY(2px); }
.field-error[hidden] { display: none; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit { justify-self: start; min-width: 220px; }
.btn-submit[disabled] { opacity: .6; cursor: progress; }

.form-status {
  padding: 20px 22px; border-radius: 6px;
  border-left: 4px solid var(--blue); background: #F1EEFE;
  font-size: 1rem; line-height: 1.55;
}
.form-status:focus { outline: none; }
.form-status:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.form-status strong { display: block; margin-bottom: 4px; }
.form-status.is-error { border-left-color: var(--error); background: #FDEEF2; }
.form-status[hidden] { display: none; }

@media (max-width: 960px) {
  .survey-panel { grid-template-columns: 1fr; }
  .survey-panel::after { left: auto; right: -110px; top: -110px; bottom: auto; width: 260px; height: 260px; opacity: .35; }
}
@media (max-width: 600px) {
  .survey > .wrap { padding-inline: 12px; }
  .survey-panel { padding: 28px 16px 16px; border-radius: 16px; }
  .survey-info { padding-inline: 8px; }
  .survey-form-wrap { padding: 20px 16px; }
  .field-row { grid-template-columns: 1fr; }
  .btn-submit { justify-self: stretch; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: var(--white); padding: clamp(56px, 8vw, 96px) 0 40px; }
.footer-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: end;
}
.footer-brand { display: inline-flex; justify-self: start; border-radius: 4px; }
.footer-brand img { width: clamp(160px, 22vw, 240px); height: auto; }
.footer-tag { grid-column: 1; font-size: 1.125rem; font-weight: 500; }
.footer-links { grid-column: 2; grid-row: 1 / span 2; list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 28px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); font-weight: 500; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links .staff-link { color: rgba(255, 255, 255, .86); font-size: .9375rem; }
.footer-legal {
  grid-column: 1 / -1; margin-top: clamp(32px, 5vw, 64px); padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .3);
  font-size: .875rem; color: rgba(255, 255, 255, .86);
}
.site-footer :focus-visible { outline-color: var(--white); }

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1; grid-row: auto; justify-content: flex-start; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
