:root {
  --navy-950: #071522;
  --navy-900: #0b1f33;
  --navy-800: #123451;
  --navy-700: #315a7d;
  --steel-500: #6f879a;
  --steel-300: #b9c7d2;
  --steel-100: #e7edf2;
  --paper: #f7f8fa;
  --white: #ffffff;
  --ink: #172332;
  --muted: #5b6875;
  --amber: #f2a23a;
  --amber-dark: #d78518;
  --success: #176b48;
  --danger: #9a2f2f;
  --border: rgba(11, 31, 51, 0.13);
  --shadow-sm: 0 10px 28px rgba(7, 21, 34, 0.08);
  --shadow-lg: 0 28px 80px rgba(7, 21, 34, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container: 1180px;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

::selection { background: rgba(242, 162, 58, .28); }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 9999;
  padding: .7rem 1rem;
  background: var(--white);
  color: var(--navy-900);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--amber-dark);
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.section-title {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.section-copy {
  margin: 1rem 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(11, 31, 51, .08);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 44px; height: 44px; }
.brand-name {
  display: grid;
  color: var(--navy-900);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.025em;
}
.brand-name small {
  margin-top: .28rem;
  color: var(--steel-500);
  font-size: .66rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}
.site-nav > a {
  color: #334454;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease;
}
.site-nav > a:hover, .site-nav > a:focus-visible { color: var(--navy-900); }

.nav-toggle {
  display: none;
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--navy-900);
}
.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(242, 162, 58, .35); outline-offset: 2px; }
.btn-primary {
  color: var(--navy-950);
  background: #f5ad4c;
  box-shadow: 0 10px 24px rgba(215, 133, 24, .24);
}
.btn-primary:hover { background: #ffc064; box-shadow: 0 14px 30px rgba(215, 133, 24, .31); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-800); }
/* Keep CTA button text legible: navigation link rules are otherwise more specific. */
.site-nav > a.btn-dark,
.site-nav > a.btn-dark:hover,
.site-nav > a.btn-dark:focus-visible { color: var(--white); }
.site-nav > a.btn-dark:hover { background: var(--navy-800); }
.btn-outline { border-color: rgba(255,255,255,.28); color: var(--white); background: rgba(255,255,255,.03); }
.btn-outline:hover { border-color: rgba(255,255,255,.58); background: rgba(255,255,255,.06); }
.btn-light { background: var(--white); color: var(--navy-900); border-color: var(--border); }
.btn-light:hover { box-shadow: var(--shadow-sm); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(242, 162, 58, .11), transparent 28%),
    linear-gradient(180deg, #fbfcfd 0%, #f6f8fa 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(11,31,51,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(11,31,51,.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 78%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}
.hero h1 {
  margin: 0;
  max-width: 720px;
  color: var(--navy-900);
  font-size: clamp(3rem, 6vw, 5.65rem);
  line-height: .96;
  letter-spacing: -.06em;
}
.hero h1 span { color: var(--amber-dark); }
.hero-copy {
  max-width: 660px;
  margin: 1.45rem 0 0;
  color: #526170;
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.7rem;
  color: #506272;
  font-size: .92rem;
}
.hero-note .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(23, 107, 72, .1);
}
.hero-credential {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100%, 570px);
  margin-top: 1.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(11, 31, 51, .12);
  border-left: 3px solid var(--amber);
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 35px rgba(7, 21, 34, .07);
  backdrop-filter: blur(8px);
}
.credential-mark {
  display: grid;
  width: 56px;
  height: 44px;
  flex: 0 0 56px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--white);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .045em;
}
.credential-copy { min-width: 0; }
.credential-kicker {
  display: block;
  color: var(--steel-500);
  font-size: .69rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.credential-copy > strong {
  display: block;
  margin-top: .17rem;
  color: var(--navy-900);
  font-size: 1.02rem;
  line-height: 1.22;
}
.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin-top: .55rem;
}
.credential-tags span {
  padding: .22rem .52rem;
  border-radius: 999px;
  background: #edf3f7;
  color: var(--navy-800);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .025em;
}
.hero-visual {
  position: relative;
}
.hero-visual::after { content:"ENGINEERING DETAIL · ILLUSTRATIVE"; position:absolute; z-index:2; left:18px; bottom:16px; padding:.36rem .5rem; border-radius:5px; background:rgba(5,17,27,.72); color:#9eb1c0; font-size:.57rem; font-weight:850; letter-spacing:.11em; }
.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid rgba(11,31,51,.14);
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(7,21,34,.13);
}

.trust-bar {
  position: relative;
  z-index: 5;
  margin-top: -32px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.trust-item {
  padding: 1.25rem 1.35rem;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--navy-900); font-size: .95rem; }
.trust-item span { display: block; margin-top: .22rem; color: var(--muted); font-size: .82rem; }
.trust-credential { background: linear-gradient(135deg, #fffaf2 0%, var(--white) 72%); box-shadow: inset 3px 0 0 var(--amber); }
.trust-credential strong { color: var(--navy-950); }

.section { padding-block: clamp(5.5rem, 9vw, 8.5rem); }
.section-soft { background: var(--paper); }
.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 162, 58, .12), transparent 28%),
    var(--navy-950);
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-copy { color: #b9c6d1; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.6rem;
}
.section-head .section-copy { max-width: 570px; margin-top: 0; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.service-card {
  position: relative;
  display: flex;
  min-height: 315px;
  flex-direction: column;
  overflow: hidden;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(7,21,34,.04);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 162, 58, .5);
  box-shadow: var(--shadow-sm);
}
.service-index {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  background: #fff4e4;
  color: var(--amber-dark);
  font-weight: 900;
  font-size: .86rem;
}
.service-card h3 {
  margin: 2.8rem 0 .6rem;
  color: var(--navy-900);
  font-size: 1.3rem;
  line-height: 1.22;
  letter-spacing: -.02em;
}
.service-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.service-link {
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--navy-900);
  font-weight: 850;
  font-size: .9rem;
}
.service-link::after { content: " →"; color: var(--amber-dark); }

.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}
.panel-visual {
  position: relative;
}
.panel-visual img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(7,21,34,.09);
}
.panel-visual .mini-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(260px, 72%);
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.mini-card strong { display: block; font-size: 1.05rem; }
.mini-card span { display: block; margin-top: .25rem; color: #c2cfda; font-size: .84rem; }

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
  margin-top: 2rem;
}
.pillar {
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}
.pillar strong { display: block; color: var(--navy-900); font-size: .94rem; }
.pillar span { color: var(--muted); font-size: .84rem; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2.8rem;
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.process-step {
  padding: 1.8rem 1.5rem 1.9rem;
  border-right: 1px solid rgba(255,255,255,.12);
  background: transparent;
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child { border-right: 0; padding-right: 0; }
.process-number { color: var(--amber); font-weight: 900; font-size: .85rem; letter-spacing: .08em; }
.process-step h3 { margin: 1.9rem 0 .55rem; color: var(--white); font-size: 1.12rem; }
.process-step p { margin: 0; color: #b8c5d0; font-size: .9rem; }

.team-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 1.25rem;
  margin-top: 2.7rem;
}
.team-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}

.team-card:first-child {
  border-top: 3px solid var(--amber);
}
.team-avatar {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--amber);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -.03em;
}
.team-card h3 { margin: .1rem 0 .15rem; color: var(--navy-900); font-size: 1.22rem; }
.team-role { color: var(--amber-dark); font-size: .88rem; font-weight: 850; }
.team-credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin-top: .9rem;
}
.team-credentials span {
  display: block;
  min-width: 0;
  padding: .7rem .72rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--paper);
}
.team-credentials b { display: block; color: var(--navy-900); font-size: .8rem; line-height: 1.1; }
.team-credentials small { display: block; margin-top: .18rem; color: var(--muted); font-size: .65rem; line-height: 1.3; }
.team-card p { margin: .9rem 0 0; color: var(--muted); font-size: .92rem; }
.team-links { display: flex; flex-wrap: wrap; gap: .8rem 1.1rem; margin-top: .85rem; }
.team-links a { color: var(--navy-700); font-size: .86rem; font-weight: 800; text-decoration: none; }
.team-links a:hover { text-decoration: underline; }

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-wrap > * { min-width: 0; }
.contact-list {
  display: grid;
  gap: .75rem;
  margin-top: 2rem;
}
.contact-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--paper);
}
.contact-item span { display: block; color: var(--steel-500); font-size: .76rem; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }
.contact-item a, .contact-item strong { display: block; margin-top: .28rem; color: var(--navy-900); font-weight: 850; text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { text-decoration: underline; }

.contact-form {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field { display: grid; gap: .42rem; }
.field-full { grid-column: 1 / -1; }
.field label { color: #344555; font-size: .85rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #cfd8df;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  padding: .82rem .9rem;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(49, 90, 125, .1);
}
.hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-meta { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-top: 1rem; }
.form-meta p { margin: 0; color: var(--muted); font-size: .78rem; }
.form-status { display: none; margin: 0 0 1rem; padding: .85rem 1rem; border-radius: 10px; font-size: .9rem; font-weight: 750; }
.form-status.success { display: block; background: #e8f5ef; color: var(--success); }
.form-status.error { display: block; background: #faecec; color: var(--danger); }

.page-hero {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 4.5rem;
  background:
    radial-gradient(circle at 84% 8%, rgba(242,162,58,.12), transparent 26%),
    var(--navy-950);
  color: var(--white);
}
.page-hero .eyebrow { color: var(--amber); }
.page-hero h1 {
  margin: 0;
  max-width: 880px;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.page-hero p { max-width: 720px; margin: 1.3rem 0 0; color: #bdc9d3; font-size: 1.1rem; }
.page-credential {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.45rem;
  padding: .72rem .92rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(255,255,255,.055);
}
.page-credential-icon {
  display: grid;
  width: 52px;
  height: 34px;
  flex: 0 0 52px;
  place-items: center;
  border-radius: 6px;
  background: var(--amber);
  color: var(--navy-950);
  font-size: .64rem;
  font-weight: 950;
  letter-spacing: .035em;
}
.page-credential strong { display: block; color: var(--white); font-size: .9rem; line-height: 1.2; }
.page-credential small { display: block; margin-top: .15rem; color: #aebfcd; font-size: .72rem; }
.page-hero .hero-actions { margin-top: 2rem; }

.service-detail-grid { display: grid; gap: 1rem; margin-top: 2.8rem; }
.service-detail {
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}
.service-detail .num { color: var(--amber-dark); font-weight: 900; font-size: .82rem; letter-spacing: .1em; }
.service-detail h2 { margin: .45rem 0 0; color: var(--navy-900); font-size: 1.65rem; line-height: 1.15; letter-spacing: -.025em; }
.service-detail p { margin: 0; color: var(--muted); }
.service-detail ul { margin: 1rem 0 0; padding-left: 1.2rem; color: #415161; }
.service-detail li + li { margin-top: .45rem; }

.cta-strip {
  padding: 2.5rem;
  border-radius: 16px;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-strip h2 { margin: 0; color: var(--white); font-size: clamp(1.7rem, 4vw, 2.8rem); letter-spacing: -.035em; line-height: 1.05; }
.cta-strip p { margin: .65rem 0 0; color: #c2ced8; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; flex-shrink: 0; }

.site-footer {
  padding: 3.8rem 0 2rem;
  background: #06121d;
  color: #b7c3cd;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr .75fr;
  gap: 3rem;
}
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-name small { color: #8195a6; }
.footer-intro { max-width: 450px; margin: 1rem 0 0; color: #91a3b1; font-size: .9rem; }
.footer-col strong { display: block; margin-bottom: .75rem; color: var(--white); font-size: .84rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-col a { display: block; width: max-content; max-width: 100%; margin: .35rem 0; color: #aebdca; text-decoration: none; font-size: .9rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #778b9b;
  font-size: .78rem;
}
.footer-bottom a { color: inherit; }

.prose {
  max-width: 820px;
}
.prose h2 { margin: 2.2rem 0 .8rem; color: var(--navy-900); }
.prose p, .prose li { color: var(--muted); }

@media (max-width: 1040px) {
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 760px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(var(--header-h) - 2px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: .75rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-lg);
  }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: .8rem .9rem; border-radius: 10px; }
  .site-nav > a:hover { background: var(--paper); }
  .site-nav .btn { margin-top: .3rem; }
  .section-head { align-items: start; flex-direction: column; }
  .section-head .section-copy { margin-top: .2rem; }
  .split { grid-template-columns: 1fr; }
  .panel-visual .mini-card { right: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 1rem; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .brand-name { font-size: .93rem; }
  .brand-name small { font-size: .57rem; }
  .brand img { width: 40px; height: 40px; }
  .hero-grid { padding-block: 3.5rem 5.4rem; gap: 2.7rem; }
  .hero h1 { font-size: clamp(2.72rem, 13vw, 4.3rem); }
  .hero-actions .btn { width: 100%; }
  .hero-visual img { border-radius: 22px; }
  .trust-bar { margin-top: -22px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 265px; }
  .pillars { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step:first-child, .process-step:last-child { padding: 1.35rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.10); }
  .process-step:last-child { border-bottom: 0; }
  .team-card { grid-template-columns: 1fr; }
  .team-avatar { width: 62px; height: 62px; }
  .team-credentials { grid-template-columns: 1fr; }
  .hero-credential { align-items: flex-start; }
  .credential-copy > strong { font-size: .96rem; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .form-meta { align-items: stretch; flex-direction: column; }
  .form-meta .btn { width: 100%; }
  .panel-visual .mini-card { position: relative; right: auto; bottom: auto; width: 92%; margin: -20px auto 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .cta-strip { padding: 1.7rem; }
  .cta-actions, .cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Security/CSP-safe utility classes */
.page-hero-404{min-height:100vh;display:grid;place-items:center}
.footer-bottom-tight{margin-top:0!important}
