/* Engineering-first homepage. */
#hero-section { min-height: 680px; min-height: min(760px, 100svh); text-align: left; }
#hero-section .hero-content { width: min(1200px, 100%); min-height: 0; margin: 0 auto; padding: 128px 22px 88px; display: block; }
#hero-section .bg-video-wrap { left: 30%; }
#hero-section .bg-video-overlay { background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.88) 12%, rgba(0,0,0,.3) 68%, rgba(0,0,0,.3)), linear-gradient(0deg, #000, transparent 30%) !important; }
#hero-section .hero-eyebrow { color: #d7b9fa; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 24px; line-height: 1.6; }
#hero-section h1 { max-width: 800px; font-size: clamp(44px, 4.8vw, 66px); letter-spacing: -2.4px; line-height: 1.08; margin: 0 0 28px; text-wrap: balance; }
#hero-section h1 span { color: #d7b9fa; }
#hero-section .subtitle { max-width: 570px; font-size: 20px; line-height: 1.6; font-weight: 400; color: #e3dfe8; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions a { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 22px; border-radius: 10px; min-height: 54px; font-size: 16px; font-weight: 700; text-decoration: none; transition: background .2s; }
.primary-action { background: #c5a0ef; color: #170b27; border: 1px solid #c5a0ef; }
.primary-action:hover { background: #dcc1fa; }
.secondary-action { background: #100d16; color: #f3edf9; border: 1px solid #756483; }
.secondary-action:hover { background: #25192f; }
#hero-section .hero-location { color: #c7bfd0; font-size: 13px; line-height: 1.6; margin-top: 24px; max-width: 550px; }
.direction-section { position: relative; background: #08060c; border-block: 1px solid #2c2235; }
.direction-inner { max-width: 1200px; margin: auto; padding: 32px 22px; }
.direction-inner h2 { font-size: 15px; color: #cfc7da; font-weight: 400; margin-bottom: 18px; }
.direction-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; }
.direction-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 22px 46px 22px 22px; background: #110d18; border: 1px solid #3c3049; border-radius: 12px; text-decoration: none; color: #fff; }
.direction-main { background: #21142f; border-color: #9471b8; }
.direction-card:hover { border-color: #d7b9fa; }
.direction-kicker { color: #cbb7df; font-size: 12px; line-height: 1.4; margin-bottom: 12px; }
.direction-card strong { font-size: 22px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.direction-caption { font-size: 14px; line-height: 1.5; color: #c5bdce; }
.direction-arrow { position: absolute; right: 18px; top: 20px; color: #d7b9fa; font-size: 22px; }
#gravity-canvas { z-index: 0; opacity: .25; }
#projects, #approach, #about { position: relative; background: #08060c; }
#projects .projects-header { padding-top: 64px; }
.projects-header p, .project-work, .project-year-tag { color: #bdb4c7; }
.additional-directions { position: relative; max-width: 1200px; margin: auto; padding: 80px 22px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.additional-group { min-width: 0; scroll-margin-top: 72px; }
.additional-eyebrow { color: #cbb7df; font-size: 13px; margin-bottom: 14px; }
.additional-group h2 { font-size: 32px; line-height: 1.15; letter-spacing: -.8px; margin-bottom: 16px; text-wrap: balance; }
.additional-intro { color: #bdb4c7; font-size: 16px; line-height: 1.6; min-height: 52px; margin-bottom: 28px; }
.additional-list { display: grid; gap: 12px; }
.additional-service { display: grid; grid-template-columns: 76px minmax(0, 1fr) 18px; gap: 18px; align-items: center; color: #f2edf7; text-decoration: none; border: 1px solid #382b44; border-radius: 12px; padding: 14px; background: #100b17; }
.additional-service:hover { border-color: #b695d7; background: #1a1123; }
.additional-service img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; }
.additional-service strong { display: block; font-size: 19px; line-height: 1.2; margin-bottom: 8px; }
.additional-service strong + span { display: block; color: #bdb4c7; font-size: 14px; line-height: 1.5; }
.additional-arrow { color: #d7b9fa; font-size: 20px; }
#approach, #about { padding-bottom: 64px; }
#approach .process-image { display: none; }
@media (max-width: 900px) {
  #hero-section .hero-content { padding-inline: 32px; }
  #hero-section h1 { font-size: 50px; }
  .direction-grid { grid-template-columns: 1fr 1fr; }
  .direction-main { grid-column: 1 / -1; }
  .additional-directions { gap: 24px; }
  .additional-service { grid-template-columns: 56px minmax(0, 1fr) 16px; gap: 12px; }
  .additional-service img { width: 56px; height: 64px; }
}
@media (max-width: 600px) {
  #hero-section { min-height: 0; }
  #hero-section .hero-content { padding: 92px 22px 46px; }
  #hero-section .bg-video-wrap { left: 0; }
  #hero-section .bg-video-overlay { background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.73)), linear-gradient(0deg, #000, transparent 35%) !important; }
  #hero-section .hero-eyebrow { font-size: 11px; letter-spacing: 1px; margin-bottom: 20px; }
  #hero-section h1 { font-size: clamp(32px, 8.7vw, 44px); line-height: 1.12; letter-spacing: -1.1px; margin-bottom: 22px; }
  #hero-section .subtitle { font-size: 17px; line-height: 1.55; margin-bottom: 26px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-actions a { min-height: 50px; padding: 14px 18px; }
  #hero-section .hero-location { font-size: 12px; margin-top: 20px; }
  .direction-grid { grid-template-columns: 1fr; gap: 10px; }
  .direction-card { padding: 18px 44px 18px 18px; }
  .direction-card strong { font-size: 21px; margin-bottom: 6px; }
  .direction-kicker { margin-bottom: 8px; }
  .additional-directions { grid-template-columns: 1fr; padding-top: 56px; gap: 44px; }
  .additional-group h2 { font-size: 29px; }
  .additional-intro { min-height: 0; margin-bottom: 22px; }
  .additional-service strong { font-size: 18px; }
  #approach, #about { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #gravity-canvas { display: none; }
  .marquee-content { animation: none; }
  .hero-actions a { transition: none; }
}
@media (max-width: 600px) and (max-height: 700px) {
  #hero-section .hero-content { padding-top: 76px; }
  #hero-section .subtitle { font-size: 16px; line-height: 1.5; }
}
