/* S.C. Anderson — production stylesheet */
:root {
  --navy: #071a32;
  --navy-2: #0d2948;
  --blue: #1745b8;
  --blue-soft: #9bb5f7;
  --blue-pale: #c7d5f8;
  --orange: #f0643c;
  --orange-deep: #d64f2a;
  --peach: #f0a48c;
  --cream: #f6f4ef;
  --ink: #14191f;
  --gray: #5e6874;
  --line: #d6d9db;
  --container: min(1380px, calc(100% - clamp(40px, 6vw, 96px)));
  --display: "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-width: 320px; overflow-x: clip;
  background: var(--cream); color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(16px, 15.5px + .12vw, 17px); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
input, textarea, button { font: inherit; color: inherit; }
::placeholder { color: #8b95a1; opacity: 1; }

.container { width: var(--container); margin-inline: auto; }
.kicker { margin: 0 0 24px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.kicker.light { color: var(--blue-pale); }
.kicker.blue { color: var(--blue); }
.muted { color: var(--gray); }
.muted-light { color: #aebbd0; }
.lead-strong { margin: 0 0 18px; color: var(--ink); font-size: clamp(17px, 1vw + 12px, 20px); font-weight: 650; line-height: 1.5; text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; }
h2 { font-size: clamp(44px, 2.4vw + 26px, 88px); letter-spacing: -.045em; line-height: .96; color: var(--navy); text-wrap: pretty; }
.section-navy h2, .scale-story h2, #contact h2 { color: #fff; }
p { text-wrap: pretty; }

@keyframes heroIn { from { transform: scale(1.06); opacity: .55; } to { transform: scale(1); opacity: 1; } }
@keyframes riseFill { from { background-size: 100% 0%; } to { background-size: 100% 100%; } }

/* ---------- Header ---------- */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: #fff;
  background: rgba(7,26,50,0); border-bottom: 1px solid rgba(255,255,255,.26);
  transition: background .3s, border-color .3s;
}
#site-header.solid { background: rgba(7,26,50,.97); border-color: rgba(255,255,255,.12); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(16px, 3vw, 44px); min-height: 88px; padding: 0 clamp(18px, 4vw, 64px);
}
.brand img { display: block; width: clamp(190px, 19vw, 270px); height: auto; filter: brightness(0) invert(1); }
.primary-nav { display: flex; gap: clamp(16px, 2vw, 30px); }
.primary-nav a {
  display: flex; align-items: center; min-height: 88px;
  font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; box-shadow: inset 0 -2px 0 transparent;
}
.primary-nav a:hover { color: var(--peach); }
.primary-nav a.active { color: var(--peach); box-shadow: inset 0 -2px 0 var(--orange); }
.header-right { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.phone { font-size: 13px; font-weight: 750; letter-spacing: .06em; color: #fff; }
.phone:hover { color: var(--peach); }

.btn-start {
  display: inline-flex; align-items: center; gap: 26px; min-height: 48px; padding: 0 18px;
  border: 1px solid rgba(255,255,255,.7); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.rise-fill {
  background-color: transparent; background-repeat: no-repeat; background-position: bottom;
  transition: color .2s, border-color .2s;
}
.rise-fill:hover {
  background-image: linear-gradient(var(--orange), var(--orange)); background-size: 100% 100%;
  border-color: var(--orange); color: var(--navy);
  animation: riseFill .28s cubic-bezier(.22,1,.36,1) 1;
}
.rise-fill:active {
  background-image: linear-gradient(var(--orange-deep), var(--orange-deep)); background-size: 100% 100%;
  border-color: var(--orange-deep); color: #fff; animation: none;
}

.burger { display: none; place-content: center; gap: 6px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.7); background: transparent; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .25s; }
.burger.open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mega menu */
.mega { border-top: 1px solid rgba(255,255,255,.12); background: rgba(7,26,50,.98); backdrop-filter: blur(10px); }
.mega-inner {
  width: var(--container); margin-inline: auto;
  display: grid; grid-template-columns: minmax(280px,1fr) minmax(300px,1.1fr);
  gap: 5vw; padding: 44px 0 52px;
}
.mega-label { margin: 0 0 14px; color: var(--blue-soft); font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.mega-desc { margin: 0; max-width: 440px; color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.55; }
.mega-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 32px; align-content: start; }
.mega-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 46px;
  border-bottom: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 14px; font-weight: 650;
}
.mega-links a:hover { color: var(--peach); }
.mega-links a b { color: var(--blue-soft); font-weight: 400; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 88px 0 0; z-index: 55; display: flex; flex-direction: column;
  justify-content: space-between; overflow-y: auto;
  padding: 38px clamp(22px,5vw,40px) 34px; background: var(--navy); color: #fff;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  font-family: var(--display); font-size: clamp(28px,6vw,36px); font-weight: 500; letter-spacing: -.03em;
}
.mobile-menu nav a span { font-size: 20px; color: var(--blue-soft); }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 22px; margin-top: 40px; }
.mobile-menu-foot p { margin: 0; color: #b6c1d2; font-size: 14px; }
.mobile-menu-foot p a { color: #fff; font-weight: 700; }

.btn-orange {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 58px;
  padding: 0 22px; border: none; background: var(--orange); color: var(--navy);
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  transition: background .3s;
}
.btn-orange:hover { background: #fff; }
.btn-orange:active { background: var(--orange-deep); }
.btn-orange.big { display: inline-flex; min-height: 64px; padding: 0 26px; gap: 46px; font-size: 13.5px; }

/* ---------- Hero ---------- */
#hero {
  position: relative; min-height: max(690px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: var(--navy); color: #fff;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 56%;
  animation: heroIn 1.8s cubic-bezier(.22,1,.36,1) both;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2,12,27,.9) 0%, rgba(2,12,27,.5) 48%, rgba(2,12,27,.08) 82%),
              linear-gradient(0deg, rgba(2,12,27,.6), transparent 55%);
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(38px, 5vw, 90px);
  padding: clamp(130px, 16vh, 180px) 0 clamp(56px, 7vh, 84px);
}
.hero-main { flex: 999 1 560px; min-width: min(100%, 560px); }
.hero-main .kicker { margin-bottom: clamp(18px, 2.6vh, 28px); }
h1 { font-size: clamp(52px, 4vw + 28px, 116px); letter-spacing: -.055em; line-height: .88; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.04em; }
h1 em { color: #d8e1fa; font-size: .82em; }
#work h2 em { color: var(--blue-soft); letter-spacing: -.03em; }
#contact h2 em { color: var(--peach); letter-spacing: -.035em; }
.hero-lead {
  max-width: 620px; margin: clamp(22px,3vh,34px) 0 clamp(22px,3vh,30px);
  color: rgba(255,255,255,.88); font-size: clamp(17px, 1vw + 12px, 20px); line-height: 1.55;
}
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.btn-explore {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 40px;
  min-height: 58px; padding: 0 22px; background: #fff; color: var(--navy);
  font-size: 13px; font-weight: 750; letter-spacing: .075em; text-transform: uppercase;
  transform: translate(0,0); transition: all .18s cubic-bezier(.22,1,.36,1);
}
.btn-explore:hover { background: var(--orange); color: var(--navy); transform: translate(-3px,-3px); box-shadow: 8px 8px 0 #000; }
.btn-explore:active { background: var(--orange-deep); transform: translate(0,0); box-shadow: 0 0 0 #000; }
.explore-arrow { display: inline-block; font-size: 18px; transition: transform .25s cubic-bezier(.22,1,.36,1); }
.btn-explore:hover .explore-arrow { transform: translateX(6px); }
.btn-explore:active .explore-arrow { transform: translateX(10px); }

.btn-underline {
  display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 0 10px;
  border: none; border-bottom: 2px solid var(--orange); color: #fff;
  font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.btn-underline span { font-size: 16px; }

.hero-aside { flex: 1 1 260px; max-width: 330px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.55); }
.hero-aside span { color: var(--blue-pale); font-size: 11.5px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.hero-aside p { margin: 16px 0 0; font-size: 17px; line-height: 1.55; }

.hero-strip {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(50%, 280px), 1fr));
  border-top: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(10px); background: rgba(5,22,44,.64);
}
.hero-strip span {
  display: flex; align-items: center; gap: 12px; min-height: 64px;
  padding: 8px clamp(14px,2vw,26px);
  border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); margin-bottom: -1px;
  font-size: clamp(10.5px, .3vw + 9px, 11.5px); font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
}
.hero-strip b { color: var(--blue-soft); font-weight: 800; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(90px, 10vw, 170px); }
.section-cream { background: var(--cream); }
.section-white { background: #fff; }
.section-navy { background: var(--navy); color: #fff; }

.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 64px); margin-bottom: clamp(44px, 5vw, 78px); }
.split.align-end { align-items: flex-end; }
.split-main { flex: 999 1 460px; min-width: min(100%, 460px); }
.split-side { flex: 1 1 300px; max-width: 460px; margin: 0; }
.split-side.pad-top { padding-top: clamp(0px, 4vw, 52px); max-width: 520px; }
.link-underline {
  display: inline-flex; gap: 16px; align-items: center; min-height: 44px;
  border-bottom: 1px solid currentColor; color: var(--navy);
  font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
}
.link-underline:hover { color: var(--blue); }

#company .split { margin-bottom: 0; }
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  margin-top: clamp(56px, 7vw, 100px); border-block: 1px solid var(--line);
}
.stats div {
  display: grid; align-content: center; gap: 8px; min-height: 140px; padding: 22px 26px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats strong { color: var(--blue); font-family: var(--display); font-size: clamp(30px, 2.4vw, 40px); font-weight: 500; line-height: 1; }
.stats span { color: var(--gray); font-size: 14.5px; }
.cert-line { margin: 22px 0 0; color: var(--gray); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Capabilities */
.cap-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.cap-grid article {
  position: relative; display: grid; grid-template-rows: auto 1fr auto;
  gap: clamp(30px, 3vw, 54px); min-height: clamp(320px, 26vw, 420px);
  padding: clamp(26px, 2.6vw, 40px); background: #fff; color: var(--navy);
  transition: background .35s, color .35s;
}
.cap-grid article:hover { background: var(--navy); color: #fff; }
.cap-top { display: flex; justify-content: space-between; align-items: flex-start; }
.cap-no { font-family: var(--display); font-size: clamp(56px, 4.5vw, 88px); font-weight: 500; letter-spacing: -.05em; line-height: .85; color: currentColor; opacity: .3; }
.cap-arrow { color: var(--orange); font-size: 20px; }
.cap-body { align-self: end; }
.cap-body h3 { margin: 0 0 14px; font-size: clamp(26px, 1.4vw + 16px, 36px); letter-spacing: -.03em; line-height: 1.02; color: inherit; }
.cap-body p { margin: 0; color: inherit; opacity: .62; font-size: 15.5px; line-height: 1.55; }
.cap-grid button {
  display: flex; gap: 18px; align-items: center; min-height: 44px; padding: 0;
  border: none; border-top: 1px solid currentColor; background: transparent; color: inherit;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; opacity: .85;
}
.cap-grid button:hover { color: var(--peach); opacity: 1; }

/* Markets */
#markets .split { margin-bottom: clamp(44px, 5vw, 70px); }
.market-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.market-grid > div {
  display: grid; align-content: start; gap: 10px; min-height: 170px; padding: 26px 28px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.market-grid span { color: var(--blue); font-size: 12px; font-weight: 800; }
.market-grid h3 { font-size: 22px; letter-spacing: -.02em; color: var(--navy); }
.market-grid p { margin: 0; color: var(--gray); font-size: 14.5px; line-height: 1.5; }

/* Work */
#work .split { margin-bottom: clamp(44px, 5vw, 72px); }
.tag { color: var(--blue-soft); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project { position: relative; display: block; background: var(--navy-2); overflow: hidden; }
.project-feature { margin-bottom: 18px; }
.project-img { overflow: hidden; }
.project-img img {
  display: block; width: 100%; height: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.project-feature .project-img img { aspect-ratio: 16/8; }
.project:hover .project-img img { transform: scale(1.04); }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; min-height: 96px; padding: 18px 24px; }
.project-feature .project-meta { min-height: 100px; padding: 20px 28px; }
.project-meta .tag { flex: 0 0 110px; }
.project-feature .project-meta .tag { flex-basis: 120px; }
.project-meta strong { flex: 1 1 200px; font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.project-feature .project-meta strong { flex-basis: 260px; font-size: clamp(20px, 1.4vw, 25px); }
.project-meta b { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.also-strip {
  display: flex; flex-wrap: wrap; gap: 10px 36px; align-items: center;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.22);
  color: #aebbd0; font-size: 14px;
}

/* Scale story */
.scale-story {
  position: relative; min-height: min(88svh, 860px);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; color: #fff; background: var(--navy);
}
.scale-story > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scale-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,17,35,.91), rgba(4,17,35,.22) 70%),
              linear-gradient(0deg, rgba(4,17,35,.78), transparent 60%);
}
.scale-content { position: relative; z-index: 2; padding: clamp(120px, 14vw, 180px) 0 clamp(40px, 5vw, 64px); }
.scale-lead { max-width: 600px; margin: 32px 0 0; font-size: clamp(16px, 1vw + 11px, 19px); }
.phase-strip { position: relative; z-index: 2; display: flex; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.4); }
.phase-strip div {
  flex: 1 1 170px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 92px; padding: 0 clamp(14px, 2vw, 26px); border-right: 1px solid rgba(255,255,255,.26);
}
.phase-strip span { color: #b9caf5; font-size: 12px; }
.phase-strip strong { font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; }

/* Approach */
.approach { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(44px, 6vw, 100px); }
.approach-img { position: relative; flex: 1 1 420px; min-width: min(100%, 420px); }
.approach-img img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.approach-img span {
  position: absolute; left: 0; bottom: 0; padding: 14px 20px; background: var(--navy); color: #fff;
  font-size: 11.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
}
.approach-copy { flex: 1 1 420px; min-width: min(100%, 420px); }
.approach-copy .lead-strong { max-width: 560px; margin: 30px 0 40px; }
.commitments { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.commitments li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.commitments li > span { color: var(--blue); font-size: 12px; font-weight: 800; }
.commitments strong { color: var(--navy); font-family: var(--display); font-size: 20px; font-weight: 600; }
.commitments p { margin: 4px 0 0; color: var(--gray); }
.muted.small { margin: 28px 0 0; font-size: 14.5px; }

/* Quote band */
.quote-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); background: var(--orange); }
.quote-img img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.quote-band blockquote { align-self: center; margin: 0; padding: clamp(56px,7vw,110px) clamp(24px,5vw,90px); color: var(--ink); }
.quote-band blockquote p { margin: 0; font-family: var(--serif); font-size: clamp(30px, 1.6vw + 20px, 58px); letter-spacing: -.035em; line-height: 1.1; }
.quote-band cite { display: block; margin-top: 38px; font-size: 12px; font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Contact */
#contact { position: relative; overflow: hidden; background: #0b2143; color: #fff; }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .34; }
.contact-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,22,45,.96) 0%, rgba(7,22,45,.82) 55%, rgba(7,22,45,.55) 100%); }
.contact-content { position: relative; z-index: 2; padding-block: clamp(100px, 11vw, 180px); }
.contact-content .kicker { margin-bottom: clamp(22px, 3vw, 34px); }
.contact-content h2 { max-width: 1100px; font-size: clamp(52px, 4.6vw + 22px, 124px); letter-spacing: -.05em; line-height: .92; text-wrap: balance; }
.contact-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; margin-top: clamp(36px, 4vw, 56px); }
.contact-cta p { margin: 0; max-width: 380px; color: rgba(255,255,255,.82); font-size: 15.5px; line-height: 1.55; }
.contact-info-rule { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.28); }
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1px; }
.contact-info > div { display: grid; align-content: center; gap: 6px; min-height: 110px; padding: 22px clamp(0px, 1vw, 10px); }
.contact-info span:first-child { color: var(--blue-soft); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-info address { font-style: normal; font-size: 15px; line-height: 1.5; }
.contact-info .tel { font-size: clamp(19px, 1.4vw, 24px); font-weight: 650; letter-spacing: -.01em; color: #fff; }
.contact-info .mail { font-size: clamp(16px, 1.2vw, 19px); font-weight: 650; color: #fff; }
.contact-info .tel:hover, .contact-info .mail:hover { color: var(--peach); }
.contact-info .states { font-size: 15px; line-height: 1.5; }

/* Footer */
footer { background: var(--navy); color: #b6c1d2; padding: clamp(56px, 6vw, 78px) 0 30px; }
.footer-main { display: flex; flex-wrap: wrap; gap: clamp(36px, 6vw, 90px); padding-bottom: clamp(44px, 5vw, 66px); }
.footer-brand { flex: 999 1 320px; min-width: min(100%, 320px); }
.footer-brand img { display: block; width: 280px; max-width: 100%; height: auto; }
.footer-brand p { max-width: 400px; margin: 18px 0 0; }
footer nav { display: flex; flex-direction: column; gap: 6px; flex: 1 1 150px; }
footer nav strong { margin-bottom: 10px; color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
footer nav a { display: flex; align-items: center; min-height: 32px; font-size: 14.5px; }
footer nav a:hover { color: #fff; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 40px;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12px;
}

/* ---------- Form overlay ---------- */
.form-overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: clamp(0px, 3vw, 44px); background: rgba(4,14,28,.74); backdrop-filter: blur(6px);
}
.form-panel {
  position: relative; display: flex; flex-direction: column;
  width: min(860px, 100%); max-height: 100%; overflow-y: auto;
  background: var(--cream); color: var(--ink);
}
.form-head { position: sticky; top: 0; z-index: 2; background: var(--cream); }
.progress { height: 5px; background: var(--line); }
.progress div { height: 100%; width: 33.33%; background: var(--orange); transition: width .4s cubic-bezier(.22,1,.36,1); }
.form-head-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px clamp(22px,5vw,52px) 0; }
.form-head-row .kicker { margin: 0; }
.form-head-row > div { display: flex; align-items: center; gap: 18px; }
#step-label { color: var(--gray); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.form-close { display: grid; place-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.form-close:hover { background: var(--navy); color: #fff; }
.form-body { padding: clamp(20px,4vw,36px) clamp(22px,5vw,52px) clamp(28px,5vw,48px); }
.form-step h3 { margin: 0 0 30px; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.035em; line-height: 1.05; color: var(--navy); }
.field-label { margin: 0 0 14px; color: var(--navy); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chips:last-child { margin-bottom: 0; }
.chips button {
  min-height: 46px; padding: 0 18px; border: 1px solid var(--line); background: #fff; color: var(--navy);
  font-size: 14px; font-weight: 650; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.chips button:hover { border-color: var(--navy); }
.chips button.selected { background: var(--navy); color: #fff; border-color: var(--navy); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.fields label { display: grid; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.fields label.full { grid-column: 1 / -1; }
.fields input { min-height: 52px; padding: 0 16px; border: 1px solid var(--line); background: #fff; font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.fields textarea { padding: 14px 16px; border: 1px solid var(--line); background: #fff; font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.5; resize: vertical; }
.summary { display: grid; gap: 2px; margin: 26px 0 30px; border: 1px solid var(--line); background: #fff; padding: 22px 26px; }
.summary > div { display: flex; gap: 18px; min-height: 34px; align-items: center; }
.summary span { flex: 0 0 110px; color: var(--gray); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.summary strong { color: var(--navy); font-size: 15px; font-weight: 650; }
.done-actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.btn-navy {
  display: inline-flex; align-items: center; gap: 30px; min-height: 56px; padding: 0 22px;
  border: none; background: var(--navy); color: #fff;
  font-size: 13px; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; cursor: pointer;
  transition: background .3s, opacity .3s;
}
.btn-navy:hover { background: var(--blue); color: #fff; }
.btn-navy.disabled { opacity: .4; cursor: not-allowed; }
.btn-underline-dark {
  min-height: 44px; border: none; border-bottom: 1px solid currentColor; background: transparent; color: var(--navy);
  font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.btn-underline-dark:hover { color: var(--blue); }
.form-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 26px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
}
.form-foot > div { display: flex; align-items: center; gap: 26px; }
#btn-back {
  min-height: 44px; border: none; background: transparent; color: var(--gray);
  font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
#btn-back:hover { color: var(--navy); }
.form-foot p { margin: 0; color: var(--gray); font-size: 13px; }
.form-foot p a { color: var(--navy); font-weight: 700; border-bottom: 1px solid currentColor; }

[hidden] { display: none !important; }
body.locked { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .primary-nav, .btn-start, .mega { display: none; }
  .burger { display: grid; }
}
@media (max-width: 640px) {
  .phone { display: none; }
}
