:root {
  --bg: #f2efe8;
  --surface: #ffffff;
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-dark: #0c1227;
  --surface-deep: #040920;
  --text: #040920;
  --muted: #5d6578;
  --line: rgba(4, 9, 32, 0.12);
  --brand: #040920;
  --brand-deep: #020511;
  --accent: #1a2753;
  --accent-strong: #26376f;
  --accent-soft: #d6def7;
  --surface-tint: #eaeef6;
  --shadow: 0 22px 56px rgba(4, 9, 32, 0.12);
  --radius: 4px;
  --container: min(1120px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 245, 239, 0.96);
  border-bottom: 1px solid rgba(4, 9, 32, 0.06);
}

.site-header-home {
  position: fixed;
  inset: 0 0 auto 0;
  padding-top: 1.25rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease, padding-top 0.2s ease;
}

.site-header-home.is-scrolled {
  padding-top: 0;
  background: var(--surface-deep);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

/* backdrop-filter on an ancestor creates a new containing block for
   position:fixed descendants, which breaks the full-screen .site-nav
   overlay. Drop it while the mobile menu is open so the overlay
   positions against the viewport instead of the header. */
body.nav-open .site-header,
body.nav-open .site-header-home,
body.nav-open .site-header-home.is-scrolled {
  backdrop-filter: none;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.site-header-home .nav-shell {
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: min(168px, 22vw);
  position: relative;
}

.brand-logo {
  width: 100%;
  min-width: 118px;
  max-width: 168px;
  height: auto;
}

.site-header-home .brand {
  max-width: min(210px, 20vw);
  min-height: 40px;
}

.site-header-home .brand-logo {
  min-width: 0;
  max-width: 210px;
}

.site-nav-logo {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.site-nav a {
  padding: 0.3rem 0;
  border-radius: 0;
  color: rgba(4, 9, 32, 0.68);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: transparent;
  color: var(--text);
  border-bottom-color: rgba(4, 9, 32, 0.88);
}

.site-header-home .site-nav {
  gap: 2.25rem;
}

.site-header-home .site-nav a {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 400;
}

.site-header-home .site-nav a:hover,
.site-header-home .site-nav a.is-active {
  background: transparent;
  color: white;
}

.site-nav .nav-cta {
  padding: 0.82rem 1.15rem;
  border-radius: 4px;
  border-bottom: 0;
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 24px rgba(26, 39, 83, 0.16);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.is-active {
  background: var(--accent-strong);
  color: white;
  border-bottom-color: transparent;
}

.site-header-home .site-nav .nav-cta {
  padding: 0.95rem 1.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 500;
}

.site-header-home .site-nav .nav-cta:hover,
.site-header-home .site-nav .nav-cta.is-active {
  background: rgba(255, 255, 255, 0.22);
}

.site-header-home.is-scrolled .site-nav .nav-cta {
  background: var(--accent);
}

.site-header-home.is-scrolled .site-nav .nav-cta:hover,
.site-header-home.is-scrolled .site-nav .nav-cta.is-active {
  background: var(--accent-strong);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.2rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.site-header-home .menu-toggle span {
  background: white;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 9, 32, 0.88) 0%, rgba(4, 9, 32, 0.58) 46%, rgba(4, 9, 32, 0.3) 100%),
    center / cover no-repeat;
}

.hero-home .hero-backdrop {
  background-image:
    linear-gradient(180deg, rgba(4, 9, 32, 0.66) 0%, rgba(4, 9, 32, 0.22) 24%, rgba(4, 9, 32, 0.28) 100%),
    linear-gradient(90deg, rgba(4, 9, 32, 0.92) 0%, rgba(4, 9, 32, 0.68) 22%, rgba(4, 9, 32, 0.3) 58%, rgba(4, 9, 32, 0.18) 100%);
  background-position: center center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-additions .hero-backdrop {
  background-image:
    linear-gradient(90deg, rgba(4, 9, 32, 0.88) 0%, rgba(4, 9, 32, 0.54) 55%, rgba(4, 9, 32, 0.26) 100%),
    url("https://images.unsplash.com/photo-1448630360428-65456885c650?auto=format&fit=crop&w=1800&q=80");
}

.hero-outdoor .hero-backdrop {
  background-image:
    linear-gradient(90deg, rgba(4, 9, 32, 0.86) 0%, rgba(4, 9, 32, 0.5) 52%, rgba(4, 9, 32, 0.24) 100%),
    url("https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1800&q=80");
}

.hero-quote .hero-backdrop {
  background-image:
    linear-gradient(90deg, rgba(4, 9, 32, 0.9) 0%, rgba(4, 9, 32, 0.66) 48%, rgba(4, 9, 32, 0.3) 100%),
    url("https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1800&q=80");
}

.page-intro {
  position: relative;
  overflow: hidden;
  padding: 2.8rem 0 2.45rem;
  background:
    linear-gradient(115deg, rgba(4, 9, 32, 0.9) 0%, rgba(4, 9, 32, 0.78) 24%, rgba(10, 22, 63, 0.66) 56%, rgba(19, 42, 107, 0.76) 100%),
    linear-gradient(180deg, rgba(4, 9, 32, 0.26) 0%, rgba(4, 9, 32, 0.48) 100%),
    url("assets/secondary-pages-bg.png");
  background-position: center center;
  background-size: cover;
  color: white;
}

.page-intro::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  z-index: 3;
  background: linear-gradient(90deg, rgba(214, 222, 247, 0.5), rgba(214, 222, 247, 0.1));
}

.page-intro::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
}

.page-intro-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-intro-video-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(4, 9, 32, 0.88) 0%, rgba(4, 9, 32, 0.72) 28%, rgba(10, 22, 63, 0.58) 58%, rgba(19, 42, 107, 0.7) 100%),
    linear-gradient(180deg, rgba(4, 9, 32, 0.3) 0%, rgba(4, 9, 32, 0.52) 100%);
}

.page-intro-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 0;
}

.page-intro-copy h1 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(2.3rem, 4.1vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.page-intro-copy p {
  max-width: 38rem;
  margin: 0.95rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.68;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 2rem;
  align-items: end;
  padding: 4rem 0;
}

.hero-grid-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
}

.hero-grid-home {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: none;
  min-height: 100vh;
  align-items: center;
  padding: 7.1rem 0 3.25rem;
}

.hero-copy {
  color: white;
}

.hero-copy-home {
  max-width: calc(66rem + max(1rem, (100vw - 1120px) / 2));
  padding-left: max(1rem, (100vw - 1120px) / 2);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
  font-size: 0.82rem;
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: currentColor;
  opacity: 0.6;
}

.page-intro .eyebrow {
  color: var(--accent-soft);
}

.inner-page .page-intro .hero-actions {
  margin-top: 1.3rem;
}

.inner-page .page-intro .button-primary {
  border-color: rgba(255, 255, 255, 0.14);
}

.inner-page .page-intro .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.inner-page .page-intro .button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.quote-page .page-intro {
  background-position: center center;
}

.quote-page .page-intro::before {
  background: linear-gradient(90deg, rgba(214, 222, 247, 0.62), rgba(214, 222, 247, 0.14));
}

.quote-page .page-intro-shell {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
}

.quote-page .page-intro-copy {
  max-width: 44rem;
  padding: 1.6rem 1.55rem 1.55rem;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(4, 9, 32, 0.82) 0%, rgba(4, 9, 32, 0.7) 72%, rgba(4, 9, 32, 0.38) 100%);
  box-shadow: 0 24px 56px rgba(4, 9, 32, 0.18);
}

.quote-page .page-intro-copy p {
  max-width: 34rem;
}

.quote-page .contact-stack {
  margin-top: 1.3rem;
}

.quote-page .contact-pill {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  border: 1px solid rgba(4, 9, 32, 0.08);
  box-shadow: 0 14px 34px rgba(4, 9, 32, 0.12);
}

.quote-page .contact-note {
  color: rgba(255, 255, 255, 0.86);
  max-width: 32rem;
  text-shadow: 0 1px 2px rgba(4, 9, 32, 0.28);
}

.hero h1,
.section h2 {
  margin: 0;
}

.hero h1 {
  line-height: 1;
}

.section h2 {
  line-height: 1.12;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6.8vw, 5.5rem);
  letter-spacing: 0;
}

.hero-copy-home h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 5vw, 4.8rem);
}

.hero-text {
  max-width: 34rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-subtitle {
  margin: 1rem 0 0;
  color: white;
  max-width: 18ch;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.1;
}

.hero-copy-home .hero-subtitle {
  margin-top: 1.35rem;
  max-width: 26ch;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.18;
}

.hero-actions,
.footer-links,
.contact-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 1.6rem;
}

.button,
.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border-radius: 4px;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.contact-pill:hover {
  transform: translateY(-1px);
}

.button-primary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--accent);
  color: white;
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.button-invert {
  gap: 0.5rem;
  background: white;
  color: var(--text);
  border: 1px solid white;
  box-shadow: 0 14px 32px rgba(4, 9, 32, 0.28);
}

.button-invert:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.button-invert svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s ease;
}

.button-invert:hover svg {
  transform: translateY(2px);
}

.quote-form {
  background: var(--surface-strong);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.section {
  padding: 5.5rem 0;
}

.home-page .section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--surface-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-band {
  background: var(--surface-deep);
  color: white;
  scroll-margin-top: 92px;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
}

.service-grid,
.project-grid {
  display: grid;
  gap: 1.2rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.project-card {
  background: var(--surface);
  border: 1px solid rgba(4, 9, 32, 0.08);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 12px 32px rgba(4, 9, 32, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(4, 9, 32, 0.14);
}

.service-card:hover {
  border-color: rgba(38, 55, 111, 0.38);
}

.project-card img {
  transition: transform 0.35s ease;
}

.project-card:hover img {
  transform: scale(1.03);
}

.service-kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.service-card h3,
.feature-list h3,
.project-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.24rem;
}

.service-card p,
.feature-list p,
.project-card p,
.site-footer p,
.contact-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-card ul,
.seo-bullet-list,
.area-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card ul {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  line-height: 1.6;
}

.service-card li::before,
.seo-bullet-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.55rem;
}

.service-card li,
.seo-bullet-list li {
  padding-left: 0;
}

.service-card-video {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 0;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.service-card-media,
.service-card-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface-deep);
}

.service-card-media {
  z-index: 0;
  transform: scale(1.02);
  transition: opacity 0.9s ease, transform 8s ease;
}

.service-card-still {
  z-index: 1;
  opacity: 1;
  transition: opacity 0.9s ease;
}

.service-card-video.is-active .service-card-still {
  opacity: 0;
}

.service-card-video.is-active .service-card-media {
  transform: scale(1.06);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(4, 9, 32, 0.3) 0%, rgba(4, 9, 32, 0.86) 100%);
  transition: background 0.3s ease;
}

.service-card-video.is-active .service-card-overlay {
  background: linear-gradient(180deg, rgba(4, 9, 32, 0.14) 0%, rgba(4, 9, 32, 0.66) 100%);
}

.service-card-content {
  position: relative;
  z-index: 3;
  padding: 1.5rem;
}

.service-card-content h3 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: white;
  text-shadow: 0 2px 12px rgba(4, 9, 32, 0.45);
}

.section-band .eyebrow,
.section-band h2,
.section-band h3 {
  color: white;
}

.section-band .feature-list p {
  color: rgba(255, 255, 255, 0.74);
}

.static-card {
  pointer-events: none;
}

.feature-layout,
.split-layout,
.cta-shell,
.footer-shell {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.feature-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.split-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.split-layout.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.feature-list,
.copy-stack {
  display: grid;
  gap: 1rem;
}

.feature-list article {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.section-band .feature-list article {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.feature-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

.image-stack img,
.project-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.projects-section .project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  padding: 0.8rem;
}

.project-card div {
  padding: 1rem 0.4rem 0.4rem;
}

.cta-strip {
  background:
    linear-gradient(135deg, rgba(4, 9, 32, 0.98), rgba(12, 18, 39, 0.96)),
    var(--surface-deep);
  color: white;
}

.cta-shell {
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta-strip .eyebrow,
.cta-strip h2 {
  color: white;
}

.cta-strip h2 {
  max-width: 28rem;
}

.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(4, 9, 32, 0.28);
  text-align: center;
}

.cta-card-note {
  margin: 0;
  max-width: 16rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 3.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface-deep);
  color: white;
}

.footer-shell {
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  padding-bottom: 2.75rem;
}

.footer-brand {
  display: grid;
  gap: 0.9rem;
  max-width: 26rem;
}

.footer-brand strong {
  font-size: 1.15rem;
  line-height: 1.15;
}

.footer-areas {
  margin: -0.3rem 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-cta {
  justify-self: start;
  margin-top: 0.3rem;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  font-size: 0.92rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  justify-items: start;
}

.footer-group {
  display: grid;
  gap: 1.1rem;
}

.footer-heading {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 0.75rem;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  line-height: 1.35;
}

.footer-list a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.85rem;
}

.quote-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.95fr);
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.4rem;
  align-items: start;
}

.seo-content,
.seo-sidebar {
  display: grid;
  gap: 1.2rem;
}

.seo-panel {
  background: var(--surface);
  border: 1px solid rgba(4, 9, 32, 0.08);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 12px 32px rgba(4, 9, 32, 0.08);
}

.seo-panel h3,
.seo-panel h4 {
  margin: 0 0 0.65rem;
}

.seo-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.seo-bullet-list {
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
  line-height: 1.65;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.area-list li {
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(4, 9, 32, 0.1);
  border-radius: 999px;
  background: #fbfaf7;
  color: var(--text);
  font-weight: 600;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.quote-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 600;
}

.quote-form span {
  font-size: 0.92rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(4, 9, 32, 0.14);
  background: #fbfaf7;
  color: var(--text);
}

.quote-form textarea {
  resize: vertical;
  min-height: 144px;
}

.full-width {
  grid-column: 1 / -1;
}

.quote-status {
  margin: 0 0 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.quote-status-success {
  background: rgba(38, 140, 90, 0.12);
  border: 1px solid rgba(38, 140, 90, 0.32);
  color: #1d6b47;
}

.quote-status-error {
  background: rgba(196, 60, 60, 0.1);
  border: 1px solid rgba(196, 60, 60, 0.32);
  color: #b23a3a;
}

.contact-pill {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-note {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
}

.inner-page .contact-pill {
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  border: 1px solid rgba(4, 9, 32, 0.08);
  box-shadow: 0 14px 38px rgba(4, 9, 32, 0.06);
}

.inner-page .contact-note {
  color: var(--muted);
}

.trust-band {
  background: var(--surface-deep);
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1.35rem 0;
}

.trust-grid article {
  display: grid;
  gap: 0.55rem;
  padding-right: 1rem;
}

.trust-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.trust-value {
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
}

@media (max-width: 960px) {
  .hero,
  .hero-grid,
  .page-intro-shell,
  .feature-layout,
  .split-layout,
  .projects-section .project-grid,
  .quote-grid,
  .service-grid,
  .trust-grid,
  .seo-layout,
  .cta-shell,
  .footer-nav,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 6rem 0 3rem;
  }

  .page-intro {
    padding: 2.6rem 0 2.6rem;
  }

  .quote-page .page-intro-copy {
    padding: 1.3rem 1.15rem 1.2rem;
  }

  .quote-page .page-intro-shell {
    grid-template-columns: 1fr;
  }

  .hero-grid-home {
    min-height: 100vh;
    padding: 6.5rem 0 3rem;
    align-items: end;
  }

  .hero-copy-home {
    max-width: 22rem;
    padding-left: 0;
  }

  .hero-copy-home h1 {
    max-width: 8ch;
    font-size: clamp(2.8rem, 10vw, 4.2rem);
  }

  .hero-copy-home .hero-subtitle {
    max-width: 16ch;
    font-size: clamp(1.1rem, 4vw, 1.45rem);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    background: var(--surface-deep);
    z-index: 40;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav-logo {
    display: block;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 150px;
    height: auto;
  }

  .site-nav a,
  .site-header-home .site-nav a {
    width: 100%;
    max-width: 20rem;
    text-align: center;
    padding: 1rem;
    border-bottom: 0;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.3rem;
  }

  .site-nav a:hover,
  .site-nav a.is-active,
  .site-header-home .site-nav a:hover,
  .site-header-home .site-nav a.is-active {
    color: white;
    background: rgba(255, 255, 255, 0.08);
  }

  .site-nav .nav-cta,
  .site-header-home .site-nav .nav-cta {
    margin-top: 1rem;
    background: var(--accent);
    color: white;
  }

  .site-nav .nav-cta:hover,
  .site-nav .nav-cta.is-active,
  .site-header-home .site-nav .nav-cta:hover,
  .site-header-home .site-nav .nav-cta.is-active {
    background: var(--accent-strong);
    color: white;
  }

  .menu-toggle {
    display: inline-block;
    position: relative;
    z-index: 50;
  }

  .menu-toggle span {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-toggle[aria-expanded="true"] span {
    background: white;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.6rem, 11vw, 4.4rem);
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: auto;
  }

  .footer-nav {
    justify-items: start;
  }

  .footer-cta {
    justify-self: stretch;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .nav-shell {
    min-height: 72px;
  }

  .brand {
    max-width: min(146px, calc(100vw - 7rem));
  }

  .brand-logo {
    min-width: 0;
  }

  .section {
    padding: 4.25rem 0;
  }

  .home-page .section {
    padding: 3.25rem 0;
  }

  .site-header-home .nav-shell {
    min-height: 78px;
  }

  .site-header-home .brand {
    max-width: min(120px, calc(100vw - 7rem));
  }

  .site-header-home .brand-logo {
    max-width: 120px;
  }

  .hero-home::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 9, 32, 0.42) 0%, rgba(4, 9, 32, 0.28) 38%, rgba(4, 9, 32, 0.48) 100%);
    z-index: 0;
    pointer-events: none;
  }

  .hero-grid-home {
    min-height: 100svh;
    padding: 5.85rem 0 3rem;
    align-items: center;
  }

  .hero-copy-home {
    max-width: 21rem;
    padding-left: 1.5rem;
  }

  .hero-copy-home h1 {
    max-width: 17ch;
    font-size: clamp(2.1rem, 10vw, 2.9rem);
    line-height: 1.04;
  }

  .hero-copy-home .hero-subtitle {
    margin-top: 1rem;
    max-width: 24ch;
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .button,
  .contact-pill {
    width: 100%;
  }

  .hero-actions,
  .footer-links,
  .contact-stack {
    flex-direction: column;
  }

  .quote-form {
    padding: 1rem;
  }
}
