:root {
  --pf-primary: #011c4e;
  --pf-secondary: #486b91;
  --navy: var(--pf-primary);
  --navy-deep: #000d20;
  --navy-soft: #082753;
  --white: #f6f8fc;
  --muted: #b6c2d2;
  --line: color-mix(in srgb, var(--pf-secondary) 42%, transparent);
  --card-radius: 13px;
  --shadow: 0 16px 36px rgba(0, 4, 17, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #000b1b;
  color: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.45;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
.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; }

.site-shell {
  min-width: 320px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 28%, color-mix(in srgb, var(--pf-secondary) 16%, transparent), transparent 28%),
    linear-gradient(180deg, #00142e 0%, #001329 48%, #000b1d 100%);
}
.container { width: min(1380px, calc(100% - 72px)); margin-inline: auto; }
.section { position: relative; padding: 40px 0; }
.eyebrow { margin: 0 0 10px; color: var(--pf-secondary); font-size: 13px; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; }
.section-heading h2, .about-copy h2, .process-heading h2 {
  margin: 0;
  color: #f8f9fc;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}
.section-heading.centered { margin-bottom: 22px; text-align: center; }
.section-heading.compact { margin-bottom: 20px; }

/* Brand and navigation */
.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 245px 1fr 180px;
  align-items: center;
  width: min(1380px, calc(100% - 72px));
  min-height: 86px;
  margin-inline: auto;
  gap: 24px;
}
.brand { display: inline-flex; height: 54px; align-items: center; gap: 8px; width: max-content; }
.brand-symbol, .brand-wordmark { position: relative; display: block; overflow: hidden; flex: 0 0 auto; }
.brand-symbol { width: 40px; height: 50px; }
.brand-wordmark { width: 174px; height: 50px; }
.brand-symbol img, .brand-wordmark img {
  position: absolute;
  max-width: none;
  height: auto;
}
.brand-symbol img { top: -25px; left: -54px; width: 148px; }
.brand-wordmark img { top: -115px; left: -22px; width: 215px; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.2vw, 37px); }
.main-nav a { position: relative; color: rgba(255,255,255,.88); font-size: 13px; font-weight: 500; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; right: 50%; bottom: -8px; left: 50%; height: 2px; background: var(--pf-secondary); transition: left .2s, right .2s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; left: 0; }
.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 31px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pf-secondary);
  border-radius: 4px;
  background: linear-gradient(135deg, var(--pf-secondary), var(--pf-secondary));
  box-shadow: 0 10px 28px color-mix(in srgb, var(--pf-secondary) 25%, transparent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s, background .2s, border-color .2s;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--pf-secondary); border-color: var(--pf-secondary); }
.button-small { min-height: 42px; padding: 0 23px; font-size: 13px; }
.button-outline { border-color: rgba(255,255,255,.7); background: rgba(0, 15, 37, .45); box-shadow: none; }
.button-outline:hover, .button-outline:focus-visible { background: color-mix(in srgb, var(--pf-secondary) 42%, transparent); }
.header-cta { position: relative; left: 54px; justify-self: end; }
.menu-toggle { display: none; }

/* Hero */
.hero-shell {
  position: relative;
  min-height: 920px;
  border-bottom: 0;
  box-shadow: inset 0 -3px 0 #000f25;
  background-image:
    linear-gradient(90deg, rgba(0, 12, 31, .96) 0%, rgba(0, 17, 39, .82) 29%, rgba(0, 16, 38, .19) 61%, rgba(0, 7, 19, .14) 100%),
    linear-gradient(180deg, rgba(1, 20, 45, .05) 63%, rgba(0, 11, 27, .95) 87%, #000d20 100%),
    url("assets/hero.webp");
  background-position: center, center, right top;
  background-size: cover, cover, auto 100%;
  background-repeat: no-repeat;
}
.hero { position: relative; z-index: 2; display: flex; min-height: 650px; align-items: center; padding-bottom: 38px; }
.hero-content { width: min(610px, 47%); margin-top: -15px; }
.hero-content > .eyebrow { padding-left: 4px; }
.hero-content h1 {
  margin: 0 0 22px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(58px, 5.7vw, 86px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: .98;
  text-transform: uppercase;
  text-shadow: 0 8px 30px rgba(0,0,0,.32);
}
.hero-content h1 span { color: var(--pf-secondary); }
.hero-lead, .hero-support { max-width: 590px; color: #eef2f8; line-height: 1.5; text-shadow: 0 2px 8px #001029; }
.hero-lead { margin: 0 0 12px; font-size: 19px; }
.hero-support { margin: 0 0 30px; color: #d6deea; font-size: 17px; }
.button-row { display: flex; flex-wrap: wrap; gap: 25px; }
.button-row .button { min-width: 207px; }
.pillars { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); min-height: 165px; padding: 19px 0 29px; align-items: center; }
.pillar { display: grid; grid-template-columns: 75px 1fr; min-height: 105px; padding: 15px 26px; align-items: center; border-right: 1px solid color-mix(in srgb, var(--pf-secondary) 42%, transparent); gap: 15px; }
.pillar:first-child { padding-left: 8px; }
.pillar:last-child { border-right: 0; }
.pillar-icon { display: grid; width: 64px; height: 64px; place-items: center; color: var(--pf-secondary); font-size: 57px; font-weight: 400; line-height: 1; }
.person-icon { border: 3px solid var(--pf-secondary); border-radius: 50% 50% 8px 8px; font-size: 0; transform: scale(.76); }
.person-icon::after { content: ""; width: 23px; height: 23px; margin-top: -31px; border: 3px solid var(--pf-secondary); border-radius: 50%; background: #00132e; }
.pillar h2 { margin: 0 0 8px; font-size: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pillar p { margin: 0; color: #c3ccda; font-size: 14px; line-height: 1.45; }

/* Service cards */
.services-section { padding-top: 32px; background: linear-gradient(180deg, #000f25, #00172f 58%, #001126); }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.service-card { min-width: 0; overflow: hidden; border: 1px solid #c8cfdb; border-radius: var(--card-radius); background: #f5f6f8; box-shadow: var(--shadow); color: #041638; }
.card-image { height: 178px; padding: 8px 8px 0; overflow: hidden; }
.card-image img { width: 100%; height: 100%; border-radius: 8px; object-fit: cover; }
.card-body { min-height: 200px; padding: 17px 16px 16px; }
.card-title { display: grid; grid-template-columns: 31px 1fr; min-height: 53px; align-items: start; gap: 7px; }
.card-title span { color: var(--pf-secondary); font-size: 30px; line-height: 1; }
.card-title h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.15; }
.card-body p { margin: 11px 0 0; color: #233757; font-size: 14px; line-height: 1.57; }

/* Build cards */
.builds-section { padding-top: 25px; padding-bottom: 35px; background: linear-gradient(180deg, #001126, #000f22); }
.build-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, .96fr) minmax(0, 1.3fr); gap: 17px; }
.build-card { overflow: hidden; border: 1px solid color-mix(in srgb, var(--pf-secondary) 58%, transparent); border-radius: 10px; background: rgba(0, 20, 45, .65); box-shadow: 0 18px 40px rgba(0,4,16,.2); }
.build-media { height: 235px; padding: 12px 12px 0; }
.build-media > img { width: 100%; height: 100%; border-radius: 6px; object-fit: cover; }
.build-copy { min-height: 137px; padding: 14px 20px 21px; }
.build-copy h3 { margin: 0 0 7px; color: #fff; font-size: 21px; font-weight: 700; line-height: 1.12; }
.build-copy p { margin: 0; color: #c6ceda; font-size: 15px; }
.social-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 7px; overflow: hidden; }
.social-tiles img { width: 100%; height: auto; max-height: 100%; border-radius: 6px; background: #f5f6f8; object-fit: contain; object-position: center; }

/* About */
.about-section { position: relative; min-height: 320px; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--pf-secondary) 20%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--pf-secondary) 23%, transparent); background: #001126; }
.about-visual { position: absolute; z-index: 0; inset: 0 0 0 43%; overflow: hidden; }
.about-visual::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #001126 0%, rgba(0,17,38,.84) 18%, transparent 52%), linear-gradient(180deg, rgba(0,17,38,.12), rgba(0,12,28,.35)); }
.about-visual img { width: 200%; max-width: none; height: 100%; object-fit: cover; object-position: right center; transform: translateX(-50%); }
.about-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 37% 27%; min-height: 320px; align-items: center; gap: 42px; }
.about-copy { align-self: center; }
.about-copy h2 { margin-bottom: 19px; font-size: 36px; }
.about-copy > p:not(.eyebrow) { max-width: 510px; margin: 0 0 16px; color: #d0d8e4; font-size: 15px; line-height: 1.52; }
.text-link { color: var(--pf-secondary); font-size: 14px; font-weight: 600; }
.text-link span { margin-left: 5px; }
.about-capabilities { display: grid; grid-template-columns: 110px 1fr; min-height: 215px; padding-left: 30px; align-items: center; border-left: 1px solid color-mix(in srgb, var(--pf-secondary) 45%, transparent); gap: 18px; }
.mini-brand .brand-symbol { transform: scale(1.65); transform-origin: center; }
.about-capabilities ul { display: grid; margin: 0; padding: 0; gap: 14px; list-style: none; }
.about-capabilities li { display: grid; grid-template-columns: 36px 1fr; align-items: center; color: #eef2f8; font-size: 16px; font-weight: 500; gap: 8px; }
.about-capabilities li span { color: var(--pf-secondary); font-size: 29px; text-align: center; }

/* Process */
.process-section { padding: 34px 0 28px; background: linear-gradient(180deg, #00132a, #001025); }
.process-heading { margin-bottom: 22px; }
.process-heading .eyebrow { display: none; }
.process-heading h2 { font-size: 34px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 42px; counter-reset: work; }
.process-step { position: relative; display: grid; grid-template-columns: 40px 67px 1fr; align-items: center; gap: 13px; }
.process-step:not(:last-child)::after { content: "→"; position: absolute; right: -31px; color: var(--pf-secondary); font-size: 34px; font-weight: 300; }
.step-number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--pf-secondary); color: white; font-size: 18px; font-weight: 500; }
.step-icon { display: grid; width: 64px; height: 64px; place-items: center; border: 1px solid color-mix(in srgb, var(--pf-secondary) 65%, transparent); border-radius: 50%; color: var(--pf-secondary); font-size: 37px; }
.process-step:first-child .step-icon { position: relative; font-size: 0; }
.process-step:first-child .step-icon::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 20px;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.process-step:first-child .step-icon::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 37px;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}
.process-step h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.process-step p { margin: 0; color: #b9c4d3; font-size: 13px; line-height: 1.45; }

/* CTA */
.cta-wrap { padding: 0 0 26px; background: #001025; }
.cta-card { position: relative; display: grid; grid-template-columns: 360px 1.2fr .75fr; min-height: 165px; overflow: hidden; align-items: center; border: 1px solid color-mix(in srgb, var(--pf-secondary) 62%, transparent); border-radius: 9px; background: linear-gradient(100deg, rgba(3,24,51,.8), #00142c 55%, #001329); }
.cta-image { align-self: stretch; background: linear-gradient(90deg, transparent 58%, #00142c 100%), url("assets/hero.webp") center 63% / cover; }
.cta-card h2 { margin: 0; padding-left: 24px; font-family: "Segoe UI", Arial, sans-serif; font-size: 31px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.15; text-transform: uppercase; }
.cta-card h2 span { color: var(--pf-secondary); }
.cta-card > p { margin: 0; padding: 0 28px 0 22px; color: #cad3df; font-size: 15px; }

/* Contact */
.contact-section { padding: 55px 0 62px; background: #001025; }
.contact-shell { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); align-items: start; gap: clamp(38px, 5vw, 78px); }
.contact-intro { position: sticky; top: 32px; padding-top: 28px; }
.contact-intro h2 {
  margin: 0 0 22px;
  color: #f8f9fc;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(36px, 3.7vw, 54px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-transform: uppercase;
}
.contact-intro h2 span { display: block; color: var(--pf-secondary); }
.contact-intro > p:not(.eyebrow) { max-width: 480px; margin: 0 0 22px; color: #c9d2df; font-size: 16px; line-height: 1.65; }
.contact-mail { display: inline-flex; align-items: center; color: #dce4ef; font-size: 15px; font-weight: 600; gap: 9px; }
.contact-mail span { color: var(--pf-secondary); font-size: 20px; transition: transform .2s; }
.contact-mail:hover span, .contact-mail:focus-visible span { transform: translateX(4px); }
.contact-form-card { padding: clamp(24px, 3vw, 42px); border: 1px solid color-mix(in srgb, var(--pf-secondary) 62%, transparent); border-radius: var(--card-radius); background: linear-gradient(145deg, rgba(4, 34, 70, .96), rgba(0, 18, 42, .98)); box-shadow: var(--shadow); }
.contact-form { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.form-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field > label:not(.checkbox-label) { color: #f1f4f8; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.form-field label > span[aria-hidden="true"] { color: #93abc4; }
.optional { margin-left: 5px; color: #91a0b2; font-size: 11px; font-weight: 400; }
.form-field input:not([type="checkbox"]), .form-field textarea {
  width: 100%;
  border: 1px solid rgba(198, 210, 225, .62);
  border-radius: 5px;
  outline: none;
  background: #f6f8fb;
  color: #071b39;
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-field input:not([type="checkbox"]) { min-height: 48px; padding: 10px 13px; }
.form-field textarea { min-height: 158px; padding: 12px 13px; line-height: 1.55; resize: vertical; }
.form-field input:not([type="checkbox"]):focus, .form-field textarea:focus { border-color: var(--pf-secondary); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-secondary) 28%, transparent); }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: #d98b8b; }
.field-error { color: #ffc0c0; font-size: 12px; line-height: 1.4; }
.privacy-field { gap: 7px; }
.checkbox-label { display: flex; align-items: flex-start; color: #cdd6e2; font-size: 13px; line-height: 1.5; cursor: pointer; gap: 11px; }
.checkbox-label input { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--pf-secondary); }
.checkbox-label a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--pf-secondary); text-underline-offset: 3px; }
.checkbox-label a:hover, .checkbox-label a:focus-visible { color: #b9cce0; }
.form-actions { display: flex; margin-top: 2px; align-items: center; gap: 18px; }
.form-actions .button { border: 1px solid var(--pf-secondary); cursor: pointer; }
.form-actions p { margin: 0; color: #8e9daf; font-size: 12px; }
.form-notice { display: flex; margin: 0 0 24px; padding: 15px 17px; border: 1px solid; border-radius: 6px; flex-direction: column; font-size: 14px; line-height: 1.45; gap: 3px; }
.form-notice strong { color: #fff; }
.form-notice span { color: #d7dfe9; }
.form-notice-success { border-color: var(--pf-secondary); background: color-mix(in srgb, var(--pf-secondary) 20%, transparent); }
.form-notice-error { border-color: rgba(217, 139, 139, .72); background: rgba(115, 25, 35, .22); }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Legal pages */
.legal-site-shell { min-height: 100vh; }
.legal-header {
  border-bottom: 1px solid color-mix(in srgb, var(--pf-secondary) 30%, transparent);
  background: rgba(0, 13, 32, .94);
}
.legal-main { background: linear-gradient(180deg, #00142e 0%, #001025 38%, #000d20 100%); }
.legal-hero {
  padding: clamp(62px, 8vw, 112px) 0 clamp(42px, 5vw, 64px);
  border-bottom: 1px solid color-mix(in srgb, var(--pf-secondary) 24%, transparent);
  background:
    radial-gradient(circle at 76% 20%, color-mix(in srgb, var(--pf-secondary) 20%, transparent), transparent 30%),
    linear-gradient(135deg, rgba(1, 28, 78, .52), rgba(0, 13, 32, .2));
}
.legal-hero-content { max-width: 920px; }
.legal-hero h1 {
  margin: 0 0 18px;
  color: #f8f9fc;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  text-transform: uppercase;
}
.legal-hero-description { max-width: 720px; margin: 0; color: #c9d2df; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.65; }
.legal-content-section { padding: clamp(44px, 6vw, 74px) 0 clamp(68px, 8vw, 108px); }
.legal-document { max-width: 880px; margin-inline: auto; }
.legal-section { padding: 32px 0; border-bottom: 1px solid color-mix(in srgb, var(--pf-secondary) 25%, transparent); }
.legal-section:first-child { padding-top: 0; }
.legal-section:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-section h2 { margin: 0 0 18px; color: #f7f9fc; font-size: clamp(23px, 2.3vw, 30px); font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.legal-section h3 { margin: 25px 0 10px; color: #edf2f8; font-size: 18px; line-height: 1.4; }
.legal-section p, .legal-section li, .legal-address { color: #c8d2df; font-size: 16px; line-height: 1.75; }
.legal-section p { margin: 0 0 14px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { margin: 12px 0 18px; padding-left: 24px; }
.legal-section li + li { margin-top: 7px; }
.legal-section a { color: #f4f7fb; font-weight: 600; text-decoration: underline; text-decoration-color: var(--pf-secondary); text-underline-offset: 4px; }
.legal-section a:hover, .legal-section a:focus-visible { color: #b9cce0; }
.legal-address { margin: 0; font-style: normal; }
.legal-contact-card { margin-top: 24px; padding: 22px 24px; border-left: 3px solid var(--pf-secondary); background: rgba(72, 107, 145, .12); }
.legal-contact-card h2 { margin-bottom: 12px; font-size: 21px; }
.legal-meta { margin-top: 34px; color: #91a0b2; font-size: 13px; }
.footer-column a[aria-current="page"] { color: #fff; }

/* Footer */
.site-footer { padding: 15px 0 21px; border-top: 1px solid color-mix(in srgb, var(--pf-secondary) 15%, transparent); background: #000d20; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .72fr .72fr 1.05fr; padding: 10px 20px 18px; gap: 45px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 260px; margin: 0; color: #9eabba; font-size: 13px; }
.footer-column { display: flex; padding-top: 7px; flex-direction: column; align-items: flex-start; }
.footer-column:not(:last-child) { border-right: 1px solid color-mix(in srgb, var(--pf-secondary) 28%, transparent); }
.footer-column h2 { margin: 0 0 8px; color: #f1f4f8; font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.footer-column a, .footer-column p { margin: 0; color: #9daaba; font-size: 11px; line-height: 1.45; }
.footer-column a { font-weight: 500; }
.footer-column a:hover, .footer-column a:focus-visible { color: #fff; }
.footer-contact p { max-width: 260px; margin-bottom: 12px; }
.footer-contact .button { color: #fff; font-size: 12px; }
.copyright { color: #8190a3; font-size: 12px; text-align: center; }

@media (max-width: 1180px) {
  .container, .site-header { width: min(100% - 42px, 1060px); }
  .site-header { grid-template-columns: 230px 1fr 160px; }
  .header-cta { left: 0; }
  .brand-wordmark { width: 174px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 12px; }
  .hero-content { width: 53%; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .card-image { height: 220px; }
  .pillar { grid-template-columns: 55px 1fr; padding-inline: 15px; }
  .pillar-icon { width: 50px; height: 50px; font-size: 45px; }
  .about-layout { grid-template-columns: 45% 39%; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .process-step:nth-child(2)::after { display: none; }
  .cta-card { grid-template-columns: 260px 1.1fr .8fr; }
  .contact-shell { gap: 38px; }
}

@media (max-width: 1024px) {
  .container, .site-header { width: min(100% - 34px, 760px); }
  .site-header { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; width: 44px; height: 42px; padding: 9px; place-content: center; border: 1px solid color-mix(in srgb, var(--pf-secondary) 45%, transparent); border-radius: 5px; background: rgba(0,17,39,.75); gap: 5px; }
  .menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: white; }
  .main-nav { position: fixed; z-index: 50; top: 75px; right: 17px; left: 17px; display: none; padding: 24px; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 13, 32, .98); box-shadow: 0 20px 50px rgba(0,0,0,.5); flex-direction: column; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px; font-size: 15px; }
  .hero-shell { min-height: auto; background-position: center, center, 64% top; }
  .hero { min-height: 650px; align-items: end; padding-bottom: 64px; }
  .hero-content { width: min(640px, 100%); padding: 32px; border: 1px solid color-mix(in srgb, var(--pf-secondary) 30%, transparent); border-radius: 12px; background: rgba(0,13,32,.8); backdrop-filter: blur(4px); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid color-mix(in srgb, var(--pf-secondary) 28%, transparent); }
  .build-grid { grid-template-columns: 1fr; }
  .build-card { display: grid; grid-template-columns: 1.25fr 1fr; }
  .build-media { height: 220px; }
  .build-copy { align-self: center; }
  .about-visual { left: 0; opacity: .55; }
  .about-layout { grid-template-columns: 1fr 1fr; }
  .about-capabilities { background: rgba(0, 17, 38, .58); }
  .cta-card { grid-template-columns: 190px 1fr 240px; }
  .contact-shell { grid-template-columns: 1fr; }
  .contact-intro { position: static; max-width: 650px; padding-top: 0; }
  .legal-header { position: relative; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container, .site-header { width: min(100% - 26px, 520px); }
  .site-header { min-height: 72px; }
  .brand { transform: scale(.88); transform-origin: left center; }
  .hero-shell { background-position: center, center, 61% 0; background-size: cover, cover, auto 610px; background-repeat: no-repeat; }
  .hero { min-height: 620px; padding-bottom: 24px; align-items: end; }
  .hero-content { padding: 25px 22px; }
  .hero-content .eyebrow { display: none; }
  .hero-content h1 { font-size: clamp(44px, 14vw, 62px); }
  .hero-lead, .hero-support { font-size: 15px; }
  .button-row { gap: 10px; }
  .button-row .button { width: 100%; min-width: 0; }
  .pillars { grid-template-columns: 1fr; padding-block: 18px; }
  .pillar, .pillar:first-child { padding: 14px 8px; border-right: 0; border-bottom: 1px solid color-mix(in srgb, var(--pf-secondary) 25%, transparent); }
  .pillar:last-child { border-bottom: 0; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .card-image { height: 240px; }
  .card-body { min-height: 0; }
  .build-card { display: block; }
  .build-media { height: 210px; }
  .social-tiles { gap: 4px; }
  .about-section { padding: 35px 0; }
  .about-visual { inset: 0; }
  .about-layout { display: block; min-height: 0; }
  .about-copy { padding: 22px; background: rgba(0,13,32,.82); }
  .about-capabilities { margin-top: 18px; padding: 18px 22px; border: 1px solid color-mix(in srgb, var(--pf-secondary) 35%, transparent); background: rgba(0,13,32,.82); grid-template-columns: 80px 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-step:not(:last-child)::after { display: none; }
  .cta-card { display: block; padding: 24px 20px; }
  .cta-image { position: absolute; inset: 0; opacity: .18; }
  .cta-card h2, .cta-card > p { position: relative; z-index: 2; padding: 0; }
  .cta-card > p { display: block; margin: 14px 0; }
  .contact-section { padding: 42px 0 48px; }
  .contact-form-card { padding: 22px 18px; }
  .contact-form { grid-template-columns: 1fr; gap: 18px; }
  .form-field-wide { grid-column: auto; }
  .form-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .form-actions .button { width: 100%; }
  .legal-hero { padding-top: 48px; }
  .legal-hero h1 { font-size: clamp(38px, 12vw, 52px); overflow-wrap: anywhere; }
  .legal-content-section { padding-top: 34px; }
  .legal-section { padding: 27px 0; }
  .legal-section p, .legal-section li, .legal-address { font-size: 15px; line-height: 1.7; }
  .legal-contact-card { padding: 19px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-inline: 0; gap: 28px; }
  .footer-column { border-right: 0 !important; }
  .footer-contact { grid-column: 1 / -1; }
}

/* About PolityForge page */
.main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"]::after { right: 0; left: 0; }
.about-page-main { background: #001025; }
.about-page-section { position: relative; padding: clamp(76px, 8vw, 118px) 0; }
.about-page-section + .about-page-section { border-top: 1px solid color-mix(in srgb, var(--pf-secondary) 22%, transparent); }
.about-page-section-heading { max-width: 760px; }
.about-page-section-heading h2,
.about-page-origin-copy h2,
.about-page-cta h2 {
  margin: 0;
  color: #f8f9fc;
  font-size: clamp(36px, 4.3vw, 62px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-transform: uppercase;
}
.about-page-section-heading h2 span,
.about-page-cta h2 span { color: var(--pf-secondary); }
.about-page-heading-centered { max-width: 920px; margin: 0 auto clamp(34px, 4vw, 54px); text-align: center; }
.about-page-heading-centered > p:not(.eyebrow) { max-width: 650px; margin: 22px auto 0; color: #c5cfdd; font-size: 17px; line-height: 1.65; }
.about-page-prose p { margin: 0 0 18px; color: #c8d2df; font-size: 17px; line-height: 1.72; }
.about-page-prose p:last-child { margin-bottom: 0; }
.about-page-prose .about-page-emphasis { padding: 24px 0 0 25px; border-left: 2px solid var(--pf-secondary); color: #eef2f7; font-size: 18px; }

.about-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 8vw, 126px) 0 clamp(86px, 9vw, 138px);
  border-bottom: 1px solid color-mix(in srgb, var(--pf-secondary) 32%, transparent);
  background:
    linear-gradient(115deg, rgba(0, 13, 32, .24), rgba(1, 28, 78, .38)),
    radial-gradient(circle at 82% 26%, color-mix(in srgb, var(--pf-secondary) 29%, transparent), transparent 31%),
    linear-gradient(180deg, #00172f 0%, #001025 100%);
}
.about-page-hero::before {
  content: "";
  position: absolute;
  top: 11%;
  right: -13%;
  width: min(680px, 48vw);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--pf-secondary) 35%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 74px color-mix(in srgb, var(--pf-secondary) 5%, transparent), 0 0 0 148px color-mix(in srgb, var(--pf-secondary) 4%, transparent);
}
.about-page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(350px, .75fr); align-items: end; gap: clamp(50px, 7vw, 110px); }
.about-page-hero-copy { min-width: 0; max-width: 830px; }
.about-page-hero-copy h1 {
  margin: 0 0 32px;
  color: #fff;
  font-size: clamp(58px, 6.5vw, 94px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .94;
  text-transform: uppercase;
}
.about-page-hero-copy h1 span { display: block; color: var(--pf-secondary); }
.about-page-hero-copy > p:not(.eyebrow) { max-width: 760px; margin: 0 0 17px; color: #d0d9e5; font-size: 17px; line-height: 1.67; }
.about-page-hero-copy .about-page-lead { color: #f2f5f9; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.55; }
.about-page-hero-panel { padding: clamp(28px, 3vw, 42px); border: 1px solid color-mix(in srgb, var(--pf-secondary) 63%, transparent); border-radius: var(--card-radius); background: linear-gradient(145deg, rgba(5, 39, 78, .9), rgba(0, 17, 38, .96)); box-shadow: var(--shadow); }
.about-page-panel-kicker { margin: 0 0 17px; color: #9eb1c6; font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.about-page-panel-statement { margin: 0 0 17px; color: #fff; font-size: clamp(23px, 2.1vw, 31px); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
.about-page-hero-panel > p:not(.about-page-panel-kicker, .about-page-panel-statement) { margin: 0; color: #c5cfdb; font-size: 15px; line-height: 1.65; }
.about-page-disciplines { display: flex; margin-top: 27px; padding-top: 19px; border-top: 1px solid color-mix(in srgb, var(--pf-secondary) 36%, transparent); flex-wrap: wrap; gap: 8px; }
.about-page-disciplines span { padding: 7px 10px; border: 1px solid color-mix(in srgb, var(--pf-secondary) 46%, transparent); border-radius: 3px; color: #dbe3ed; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

.about-page-experience { background: linear-gradient(180deg, #001126, #00152d); }
.about-page-split { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); align-items: start; gap: clamp(50px, 8vw, 130px); }
.about-page-split .about-page-section-heading { position: sticky; top: 32px; }

.about-page-competences { background: linear-gradient(180deg, #00152d, #000f22); }
.about-page-competence-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.about-page-card { min-width: 0; min-height: 360px; padding: 27px 23px 29px; border: 1px solid #c8cfdb; border-radius: var(--card-radius); background: #f5f6f8; box-shadow: var(--shadow); color: #041638; }
.about-page-card-number { display: block; margin-bottom: 53px; color: var(--pf-secondary); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.about-page-card h3 { margin: 0 0 18px; color: #061a3b; font-size: 20px; line-height: 1.15; }
.about-page-card p { margin: 0; color: #2b3e5c; font-size: 14px; line-height: 1.6; }

.about-page-origin { background: #000f22; }
.about-page-origin-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(400px, 1.15fr); gap: 28px clamp(60px, 8vw, 125px); }
.about-page-origin-copy h2 { margin-bottom: 29px; }
.about-page-origin-copy > p:not(.eyebrow, .about-page-callout) { margin: 0 0 18px; color: #c8d2df; font-size: 17px; line-height: 1.72; }
.about-page-origin-copy .about-page-callout { margin: 0 0 27px; color: var(--pf-secondary); font-size: clamp(23px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.025em; line-height: 1.18; }
.about-page-needs { display: grid; margin: 0; padding: clamp(28px, 3.5vw, 46px); border: 1px solid color-mix(in srgb, var(--pf-secondary) 55%, transparent); border-radius: var(--card-radius); background: linear-gradient(145deg, rgba(4, 34, 70, .93), rgba(0, 18, 42, .96)); box-shadow: var(--shadow); list-style: none; gap: 0; }
.about-page-needs li { position: relative; padding: 13px 8px 13px 32px; border-bottom: 1px solid color-mix(in srgb, var(--pf-secondary) 24%, transparent); color: #d6dfe9; font-size: 15px; line-height: 1.45; }
.about-page-needs li:last-child { border-bottom: 0; }
.about-page-needs li::before { content: "→"; position: absolute; left: 0; color: var(--pf-secondary); font-size: 18px; }
.about-page-origin-conclusion { grid-column: 1 / -1; margin: 18px 0 0; padding: 28px 31px; border-left: 3px solid var(--pf-secondary); background: rgba(72, 107, 145, .12); color: #edf2f7; font-size: clamp(19px, 2vw, 25px); font-weight: 600; line-height: 1.45; }

.about-page-approach { background: linear-gradient(180deg, #001126, #00172f); }
.about-page-approach .about-page-section-heading { max-width: 970px; margin-bottom: clamp(38px, 5vw, 66px); }
.about-page-approach-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr); align-items: start; gap: clamp(55px, 8vw, 125px); }
.about-page-system { margin: 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--pf-secondary) 48%, transparent); list-style: none; }
.about-page-system li { display: grid; grid-template-columns: 60px 1fr; padding: 17px 4px; align-items: center; border-bottom: 1px solid color-mix(in srgb, var(--pf-secondary) 34%, transparent); color: #f1f4f8; font-size: clamp(21px, 2.3vw, 31px); font-weight: 600; letter-spacing: -.02em; }
.about-page-system li span { color: var(--pf-secondary); font-size: 12px; font-weight: 700; letter-spacing: .12em; }

.about-page-technology { background: linear-gradient(180deg, #00172f, #001126); }
.about-page-values { background: #001126; }
.about-page-values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid color-mix(in srgb, var(--pf-secondary) 42%, transparent); border-left: 1px solid color-mix(in srgb, var(--pf-secondary) 42%, transparent); }
.about-page-value { min-height: 250px; padding: clamp(27px, 3vw, 42px); border-right: 1px solid color-mix(in srgb, var(--pf-secondary) 42%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--pf-secondary) 42%, transparent); background: rgba(0, 23, 50, .54); }
.about-page-value > span { display: block; margin-bottom: 39px; color: var(--pf-secondary); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.about-page-value h3 { margin: 0 0 13px; color: #f2f5f9; font-size: 20px; line-height: 1.25; }
.about-page-value p { margin: 0; color: #bfc9d7; font-size: 15px; line-height: 1.6; }

.about-page-cta { position: relative; overflow: hidden; padding: clamp(88px, 10vw, 150px) 0; border-top: 1px solid color-mix(in srgb, var(--pf-secondary) 35%, transparent); background: radial-gradient(circle at 72% 40%, color-mix(in srgb, var(--pf-secondary) 25%, transparent), transparent 32%), linear-gradient(135deg, #011c4e, #000d20 74%); text-align: center; }
.about-page-cta-inner { position: relative; z-index: 1; max-width: 940px; }
.about-page-cta h2 { margin-bottom: 27px; font-size: clamp(42px, 5.7vw, 78px); }
.about-page-cta p:not(.eyebrow) { max-width: 750px; margin: 0 auto 14px; color: #d0d9e5; font-size: 17px; line-height: 1.65; }
.about-page-cta .button { margin-top: 23px; }

@media (max-width: 1180px) {
  .about-page-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(330px, .75fr); gap: 48px; }
  .about-page-competence-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-page-card { min-height: 310px; }
  .about-page-card-number { margin-bottom: 35px; }
}

@media (max-width: 1024px) {
  .about-page-hero { padding-top: 68px; }
  .about-page-hero-grid,
  .about-page-split,
  .about-page-origin-grid,
  .about-page-approach-grid { grid-template-columns: 1fr; }
  .about-page-hero-grid { align-items: start; }
  .about-page-hero-copy { max-width: 760px; }
  .about-page-hero-panel { max-width: 680px; }
  .about-page-split .about-page-section-heading { position: static; }
  .about-page-origin-conclusion { grid-column: auto; }
  .about-page-approach-grid { gap: 42px; }
  .about-page-system { max-width: 680px; }
  .about-page-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .about-page-section { padding: 62px 0; }
  .about-page-section-heading h2,
  .about-page-origin-copy h2 { font-size: clamp(34px, 10.5vw, 46px); overflow-wrap: anywhere; }
  .about-page-hero { padding: 55px 0 68px; }
  .about-page-hero::before { top: 6%; right: -42%; width: 95vw; }
  .about-page-hero-grid { gap: 36px; }
  .about-page-hero-copy h1 { margin-bottom: 25px; font-size: clamp(40px, 11.2vw, 48px); overflow-wrap: normal; }
  .about-page-hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .about-page-hero-copy .about-page-lead { font-size: 18px; }
  .about-page-hero-panel { padding: 25px 21px; }
  .about-page-heading-centered { text-align: left; }
  .about-page-heading-centered > p:not(.eyebrow) { margin-inline: 0; font-size: 15px; }
  .about-page-prose p,
  .about-page-origin-copy > p:not(.eyebrow, .about-page-callout) { font-size: 15px; }
  .about-page-prose .about-page-emphasis { padding: 18px 0 0 18px; font-size: 16px; }
  .about-page-competence-grid,
  .about-page-values-grid { grid-template-columns: 1fr; }
  .about-page-card { min-height: 0; padding: 24px 21px 27px; }
  .about-page-card-number { margin-bottom: 28px; }
  .about-page-needs { padding: 20px 18px; }
  .about-page-needs li { padding-right: 0; font-size: 14px; }
  .about-page-origin-conclusion { padding: 22px 21px; font-size: 18px; }
  .about-page-system li { grid-template-columns: 46px 1fr; font-size: 21px; }
  .about-page-value { min-height: 0; padding: 28px 22px 31px; }
  .about-page-value > span { margin-bottom: 25px; }
  .about-page-cta { padding: 76px 0 82px; text-align: left; }
  .about-page-cta h2 { font-size: clamp(39px, 12vw, 55px); overflow-wrap: anywhere; }
  .about-page-cta p:not(.eyebrow) { font-size: 15px; }
  .about-page-cta .button { width: 100%; }
}
