/* Next Generation Construction LLC
   Starter stylesheet: responsive header, hero, and footer.
   All text sizes are 17px or larger unless used for decorative labels. */

:root {
  --navy: #071d31;
  --navy-deep: #041321;
  --navy-soft: #12344f;
  --gold: #e8bd62;
  --gold-light: #f5d995;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --text: #172533;
  --muted: #aebbc7;
  --border: rgba(255, 255, 255, 0.14);
  --container: 1200px;
  --radius: 4px;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-heading: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

/* Top information bar */
.topbar {
  position: relative;
  z-index: 20;
  background: var(--navy-deep);
  color: #e7edf2;
  border-bottom: 1px solid rgba(232, 189, 98, 0.25);
}
.topbar-inner {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar-note, .topbar-links { margin: 0; display: flex; align-items: center; gap: 10px; }
.topbar-note { color: #c4ced7; }
.topbar-note i, .topbar-links i { color: var(--gold); }
.topbar-links { gap: 20px; }
.topbar-links a { transition: color .25s ease; }
.topbar-links a:hover { color: var(--gold-light); }
.topbar-divider { width: 1px; height: 17px; background: rgba(255,255,255,.25); }

/* Main header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 35;
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 51px; height: 51px; display: grid; place-items: center; color: var(--gold); }
.brand-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: miter; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-heading); font-size: 21px; font-weight: 800; letter-spacing: -.7px; }
.brand-subtitle { margin-top: 6px; color: var(--gold); font-size: 17px; font-weight: 700; letter-spacing: 3px; }
.main-navigation { display: flex; align-items: center; gap: clamp(18px, 2.1vw, 31px); }
.nav-link { position: relative; color: #e2e8ed; font-weight: 600; transition: color .25s ease; }
.nav-link::after { content: ""; position: absolute; right: 0; bottom: -10px; left: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 47px; padding: 10px 17px; }
.button-gold { background: var(--gold); color: var(--navy-deep); }
.button-gold:hover { background: var(--gold-light); }
.nav-cta { white-space: nowrap; }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.55); background: rgba(4,19,33,.25); }
.button-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.menu-toggle { display: none; }

/* Hero */
.hero {
  min-height: 680px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  color: var(--white);
}
.hero-image, .hero-overlay { position: absolute; inset: 0; z-index: -1; }
.hero-image {
  background-image: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=88");
  background-position: center 55%;
  background-size: cover;
  transform: scale(1.02);
  animation: hero-image-reveal 1.2s ease-out both;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3,17,30,.96) 0%, rgba(5,25,43,.88) 43%, rgba(5,25,43,.48) 73%, rgba(5,25,43,.28) 100%),
    linear-gradient(0deg, rgba(3,17,30,.5), transparent 40%);
}
.hero-content { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 100px 110px; }
.hero-copy { max-width: 760px; }
.eyebrow, .section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--gold-light);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}
.eyebrow span, .gold-line { display: inline-block; width: 38px; height: 2px; background: var(--gold); }
.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -2.8px;
}
.hero h1 span { color: var(--gold); }
.hero-description { max-width: 620px; margin: 25px 0 32px; color: #d7e0e7; font-size: 19px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); max-width: 430px; }
.trust-icon { width: 47px; height: 47px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(232,189,98,.55); font-size: 21px; }
.hero-trust p { display: flex; flex-direction: column; margin: 0; line-height: 1.5; }
.hero-trust strong { font-size: 17px; }
.hero-trust p span { color: #c4ced7; }
.hero-side-note { align-self: flex-end; display: flex; align-items: center; gap: 15px; margin-bottom: 45px; color: var(--gold-light); }
.side-note-line { width: 48px; height: 1px; background: var(--gold); }
.hero-side-note p { margin: 0; font-family: var(--font-heading); font-size: 17px; font-weight: 700; line-height: 1.55; }
.scroll-cue { position: absolute; bottom: 26px; left: max(24px, calc((100% - var(--container)) / 2)); display: flex; align-items: center; gap: 12px; color: #c4ced7; font-size: 17px; letter-spacing: 1.5px; }
.scroll-cue span { display: block; width: 30px; height: 1px; background: var(--gold); }

/* Short intro strip and future section placeholders */
.intro-strip { background: var(--gold); color: var(--navy-deep); }
.intro-inner { min-height: 126px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; }
.intro-label { display: flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 800; letter-spacing: 1.4px; }
.intro-label .gold-line { background: var(--navy); }
.intro-inner > p { margin: 0; font-family: var(--font-heading); font-size: 19px; font-weight: 700; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 800; }
.text-link i { transition: transform .25s ease; }
.text-link:hover i { transform: translateX(5px); }
.placeholder-section { padding: 85px 0; background: var(--white); }
.placeholder-muted { background: var(--off-white); }
.placeholder-inner { text-align: center; max-width: 780px; }
.placeholder-inner .section-kicker { display: block; margin-bottom: 13px; color: #997127; }
.placeholder-inner h2 { margin: 0; font-family: var(--font-heading); font-size: clamp(30px, 4vw, 43px); line-height: 1.2; letter-spacing: -1px; color: var(--navy); }
.placeholder-inner p { margin: 17px auto 0; max-width: 660px; color: #526170; font-size: 18px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #d7e0e7; }
.footer-main { padding: 68px 0 58px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 55px; }
.brand-footer .brand-name { color: var(--white); }
.footer-brand-col > p { max-width: 360px; margin: 23px 0 0; color: #aebbc7; font-size: 17px; }
.footer-contact h2, .footer-cta h2 { margin: 0 0 20px; font-family: var(--font-heading); font-size: 23px; line-height: 1.35; color: var(--white); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-contact h2 { margin-bottom: 4px; }
.footer-contact a, .footer-contact p { display: flex; align-items: flex-start; gap: 11px; margin: 0; overflow-wrap: anywhere; }
.footer-contact i { width: 20px; margin-top: 6px; color: var(--gold); }
.footer-contact a:hover { color: var(--gold-light); }
.footer-cta .section-kicker { display: block; margin-bottom: 13px; font-size: 17px; letter-spacing: 1.2px; }
.footer-cta h2 { max-width: 300px; font-size: 30px; }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-inner { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-bottom p { margin: 0; color: #aebbc7; }

/* Motion */
@keyframes hero-image-reveal {
  from { opacity: .55; transform: scale(1.07); }
  to { opacity: 1; transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Responsive */
@media (max-width: 1050px) {
  .header-inner { gap: 18px; }
  .brand-name { font-size: 19px; }
  .brand-subtitle { letter-spacing: 2.4px; }
  .brand-mark { width: 45px; height: 45px; }
  .main-navigation { gap: 17px; }
  .nav-link { font-size: 17px; }
  .hero-side-note { display: none; }
  .intro-inner { grid-template-columns: 1fr auto; gap: 18px 28px; padding-block: 24px; }
  .intro-inner > p { grid-column: 1; grid-row: 2; }
  .intro-inner > .text-link { grid-column: 2; grid-row: 1 / span 2; }
  .footer-grid { gap: 32px; }
}
@media (max-width: 800px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .topbar-inner { min-height: 43px; justify-content: center; }
  .topbar-note { display: none; }
  .topbar-links { gap: 14px; }
  .topbar-links a { font-size: 17px; }
  .header-inner { min-height: 82px; }
  .brand-mark { width: 43px; height: 43px; }
  .brand-name { font-size: 19px; }
  .brand-subtitle { font-size: 17px; letter-spacing: 2px; }
  .menu-toggle {
    width: 48px; height: 48px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    border: 1px solid rgba(255,255,255,.2); border-radius: 3px; background: transparent; cursor: pointer;
  }
  .menu-toggle span { width: 22px; height: 2px; background: var(--gold); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }
  .main-navigation {
    position: fixed; top: 125px; right: 0; bottom: 0; left: 0; z-index: 30;
    display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 24px 35px;
    background: var(--navy-deep); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .main-navigation.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { padding: 15px 4px; border-bottom: 1px solid var(--border); }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 22px; }
  .hero { min-height: 650px; }
  .hero-content { padding-block: 80px 95px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,17,30,.94), rgba(5,25,43,.72)), linear-gradient(0deg, rgba(3,17,30,.45), transparent 50%); }
  .hero h1 { font-size: clamp(43px, 9vw, 65px); letter-spacing: -1.8px; }
  .hero-description { font-size: 18px; }
  .intro-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding-block: 26px; }
  .intro-inner > p { font-size: 18px; }
  .intro-inner > .text-link { margin-top: 4px; }
  .placeholder-section { padding: 65px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-bottom-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding-block: 16px; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .topbar-links { width: 100%; justify-content: space-between; gap: 8px; }
  .topbar-links a { font-size: 17px; }
  .topbar-divider { display: none; }
  .header-inner { min-height: 76px; }
  .brand { gap: 8px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 17px; letter-spacing: -.3px; }
  .brand-subtitle { margin-top: 5px; font-size: 17px; letter-spacing: 1.2px; }
  .menu-toggle { flex: 0 0 44px; width: 44px; height: 44px; }
  .main-navigation { top: 119px; }
  .hero { min-height: 630px; }
  .hero-content { padding-block: 67px 100px; }
  .eyebrow { font-size: 17px; letter-spacing: 1.2px; gap: 8px; }
  .eyebrow span { width: 24px; flex-shrink: 0; }
  .hero h1 { font-size: clamp(40px, 11vw, 54px); }
  .hero-description { margin-top: 20px; font-size: 18px; line-height: 1.7; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-trust { margin-top: 30px; }
  .scroll-cue { left: 16px; bottom: 20px; font-size: 17px; }
  .footer-main { padding: 50px 0 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-brand-col { grid-column: auto; }
  .footer-cta h2 { font-size: 27px; }
  .footer-bottom p { font-size: 17px; }
}
