.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  background: rgba(7,26,41,.94);
  box-shadow: 0 8px 34px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.27rem;
  font-weight: 500;
}
.brand-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 5px rgba(228,200,113,.12);
}
.desktop-nav { display: flex; gap: 34px; margin-left: auto; }
.desktop-nav a {
  position: relative;
  color: rgba(255,255,255,.78);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--gold-300);
  transition: width var(--transition);
}
.desktop-nav a:hover,
.desktop-nav a.active { color: var(--white); }
.desktop-nav a:hover::after,
.desktop-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 16px;
  right: 16px;
  padding: 18px;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  background: var(--navy-950);
  box-shadow: var(--shadow-lg);
}
.mobile-menu a:not(.button) {
  display: block;
  padding: 15px 6px;
  border-bottom: 1px solid var(--line-light);
  font-weight: 600;
}
.mobile-menu .button { margin-top: 16px; width: 100%; }

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--hero-parallax, 0), 0);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,26,41,.92) 0%, rgba(7,26,41,.68) 56%, rgba(7,26,41,.3) 100%),
    linear-gradient(180deg, rgba(7,26,41,.18) 0%, rgba(7,26,41,.72) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 90px; }
.hero-eyebrow {
  margin-bottom: 24px;
  color: var(--gold-300);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 { max-width: 900px; margin-bottom: 26px; color: var(--white); }
.hero-copy {
  max-width: 670px;
  margin-bottom: 34px;
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.64);
  font-size: .82rem;
}
.hero-proof li::before { content: "•"; color: var(--gold-300); margin-right: 10px; }
.scroll-indicator {
  position: absolute;
  right: 38px;
  bottom: 34px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.7);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  min-height: 270px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.32);
  transition: background var(--transition), transform var(--transition);
}
.service-card:hover { background: var(--white); transform: translateY(-3px); }
.service-number { display: block; margin-bottom: 54px; color: var(--gold-500); font-size: .72rem; font-weight: 700; }
.service-card h3 { margin-bottom: 16px; }
.service-card p { margin: 0; font-size: .94rem; }

.project-stack { display: grid; gap: 70px; }
.project-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream-100);
  box-shadow: var(--shadow-sm);
}
.project-card-reverse { grid-template-columns: .85fr 1.15fr; }
.project-card-reverse .project-media { order: 2; }
.project-media {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: var(--navy-900);
}
.project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-status {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(7,26,41,.82);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  backdrop-filter: blur(8px);
}
.project-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-300);
}
.project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 72px);
}
.project-category {
  margin-bottom: 13px;
  color: var(--gold-500);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.project-content h3 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 20px; }

.why-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 90px;
  align-items: start;
}
.why-copy { position: sticky; top: 130px; }
.why-copy h2,
.why-item h3 { color: var(--white); }
.why-copy p { color: rgba(255,255,255,.68); }
.why-copy .button { margin-top: 18px; }
.why-list { border-top: 1px solid var(--line-light); }
.why-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-light);
}
.why-item > span { color: var(--gold-300); font-size: .72rem; font-weight: 700; }
.why-item h3 { margin-bottom: 10px; }
.why-item p { margin: 0; color: rgba(255,255,255,.62); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-card {
  min-height: 300px;
  padding: 30px 26px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.process-card:last-child { border-right: 0; }
.process-card > span { display: block; margin-bottom: 72px; color: var(--gold-500); font-size: .74rem; font-weight: 700; }
.process-card h3 { margin-bottom: 14px; }
.process-card p { margin: 0; font-size: .92rem; }

.contact-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 80px;
  align-items: start;
}
.contact-copy { position: sticky; top: 130px; }
.contact-copy h2 { margin-bottom: 20px; }
.contact-direct {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact-direct span { display: block; margin-bottom: 5px; color: var(--ink-muted); font-size: .78rem; }
.contact-direct a { font-weight: 700; }

.brief-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream-100);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  background: var(--navy-900);
  color: rgba(255,255,255,.45);
  list-style: none;
}
.stepper li {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-right: 1px solid var(--line-light);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.stepper li:last-child { border-right: 0; }
.stepper span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.stepper li.active,
.stepper li.complete { color: var(--gold-300); }
.form-step { padding: clamp(30px, 5vw, 54px); }
.form-step h3 { margin-bottom: 10px; }
.form-step > p { margin-bottom: 28px; }
.generated-outline {
  margin-bottom: 28px;
  padding: 20px;
  border-left: 3px solid var(--gold-500);
  background: var(--white);
}
.generated-outline p { margin: 0; color: var(--ink); }
.success-step { text-align: center; }
.success-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(24,115,59,.1);
  color: var(--success);
  font-size: 1.5rem;
  font-weight: 700;
}

.site-footer { padding: 76px 0 28px; background: var(--navy-950); color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 50px;
}
.footer-brand p { max-width: 350px; margin-top: 18px; color: rgba(255,255,255,.55); }
.footer-grid h2 {
  margin-bottom: 18px;
  color: var(--gold-300);
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a,
.footer-grid span { color: rgba(255,255,255,.65); font-size: .86rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  color: rgba(255,255,255,.42);
  font-size: .76rem;
}

@media (max-width: 980px) {
  .desktop-nav,
  .desktop-cta { display: none; }
  .menu-button { display: block; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card,
  .project-card-reverse { grid-template-columns: 1fr; }
  .project-card-reverse .project-media { order: 0; }
  .project-media { min-height: 380px; }
  .why-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 52px; }
  .why-copy,
  .contact-copy { position: static; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card:nth-child(2) { border-right: 0; }
  .process-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 74px; }
  .hero { min-height: 720px; height: auto; padding: 140px 0 100px; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(7,26,41,.72), rgba(7,26,41,.92));
  }
  .hero-content { padding-top: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-proof { gap: 10px 18px; }
  .scroll-indicator { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .service-number { margin-bottom: 38px; }
  .project-media { min-height: 270px; }
  .project-content { padding: 32px 24px 38px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-card > span { margin-bottom: 44px; }
  .stepper li { min-height: 58px; font-size: 0; }
  .stepper li span { font-size: .68rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
