:root {
  --blue: #006291;
  --bright-blue: #1f96db;
  --black: #000;
  --white: #fff;
  --paper: #f2f2f2;
  --gray: #d9d9d9;
  --text: #202020;
  --max: 1280px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--black);
  font-family: "Hanken Grotesk", "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
img, iframe, video, svg, table, pre { max-width: 100%; }
iframe, video { height: auto; }
p { margin: 0 0 20px; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: aktiv-grotesk-extended, "Arial Black", Impact, sans-serif;
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
}

.wrap {
  width: min(var(--max), calc(100% - 160px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 40;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 152px;
  color: var(--white);
}

.header-inner {
  width: calc(100% - 160px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr 56px;
  align-items: start;
  padding-top: 30px;
}

.brand {
  display: inline-block;
  width: 230px;
  color: var(--white);
  font-family: aktiv-grotesk-extended, "Arial Black", Impact, sans-serif;
  line-height: .82;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-main {
  display: block;
  font-size: 31px;
  font-weight: 900;
  font-style: italic;
}

.brand-main span { color: var(--bright-blue); }

.brand-sub {
  display: block;
  margin-top: 9px;
  padding-left: 6px;
  font-family: "Hanken Grotesk", Arial, sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.nav-zone {
  display: grid;
  justify-items: end;
  gap: 16px;
}

.secondary-nav ul,
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 33px;
}

.secondary-nav a,
.main-nav a {
  color: var(--white);
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: color .2s ease, background-color .2s ease;
}

.secondary-nav .contact-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--blue);
}

.secondary-nav .header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  letter-spacing: .08em;
}

.secondary-nav a:hover,
.main-nav a:hover,
.main-nav .active > a { color: var(--bright-blue); }

.secondary-nav .contact-pill:hover { color: var(--white); background: var(--bright-blue); }

.menu-toggle {
  width: 48px;
  height: 48px;
  margin-top: 51px;
  border: 0;
  padding: 0;
  background: transparent;
  display: none;
  grid-auto-flow: row;
  gap: 9px;
  align-content: center;
  justify-items: end;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 30px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .25s ease, opacity .2s ease;
}

/* Show only the 3 explicit bars; suppress any legacy pseudo-bars */
.menu-toggle::before,
.menu-toggle::after { content: none; }

/* Animate burger -> X when the drawer is open */
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }

.mega-nav {
  position: absolute;
  top: 124px;
  right: 80px;
  width: min(720px, calc(100vw - 160px));
  padding: 42px;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  color: var(--white);
  background: rgba(0,0,0,.92);
  border-top: 4px solid var(--bright-blue);
}

.site-header:hover .mega-nav { display: grid; }
.mega-nav strong { display: block; margin-bottom: 15px; font-family: aktiv-grotesk-extended, "Arial Black", Impact, sans-serif; text-transform: uppercase; }
.mega-nav a { display: block; margin: 8px 0; font-weight: 800; }

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0,0,0,.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.menu-open .mobile-overlay { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 80;
  width: min(88vw, 390px);
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  padding: 22px 26px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: var(--white);
  background: #0b0b0b;
  border-left: 4px solid var(--bright-blue);
  box-shadow: -18px 0 50px rgba(0,0,0,.6);
  transform: translateX(100%);
  transition: transform .28s ease;
}

.menu-open .mobile-nav { transform: translateX(0); }
/* Lock background scroll while the drawer is open */
.menu-open { overflow: hidden; }

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.mobile-nav__brand {
  font-family: aktiv-grotesk-extended, "Arial Black", Impact, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font-size: 26px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.mobile-close:hover { color: var(--black); background: var(--white); border-color: var(--white); }

.mobile-nav a {
  display: block;
  padding: 15px 0;
  min-height: 44px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.mobile-nav a:hover { color: var(--bright-blue); }
.mobile-nav__cta {
  margin-top: 22px;
  padding: 15px 18px !important;
  border: 0 !important;
  border-radius: 4px;
  text-align: center;
  color: var(--white) !important;
  background: var(--blue);
  letter-spacing: .1em;
}
.mobile-nav__cta:hover { color: var(--white) !important; background: var(--bright-blue); }

.hero {
  position: relative;
  min-height: 1000px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero.hero-short {
  min-height: 690px;
  padding-top: 152px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.12) 48%, rgba(0,0,0,.54));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 160px));
  margin: 0 auto 88px;
}

.eyebrow {
  display: block;
  margin-bottom: 28px;
  font-family: aktiv-grotesk-extended, "Arial Black", Impact, sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1080px;
  color: var(--white);
  font-size: clamp(58px, 7vw, 112px);
  letter-spacing: 0;
}

.hero p {
  max-width: 760px;
  margin-top: 28px;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}

.subnav {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  color: var(--white);
  background: var(--black);
}

.subnav ul {
  width: min(950px, calc(100% - 70px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

.subnav a {
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .03em;
}

.subnav .active { color: var(--bright-blue); }

.black-field {
  position: relative;
  padding: 150px 0;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}

.black-field::before,
.black-field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 95px;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.28) 1px, transparent 1px);
  background-size: 9px 9px;
  opacity: .18;
}

.black-field::before { top: 0; }
.black-field::after { bottom: 0; }

.intro-copy {
  width: min(840px, calc(100% - 160px));
  margin: 0 auto;
  text-align: center;
}

.intro-copy h2,
.section-heading {
  font-size: clamp(42px, 5.2vw, 82px);
}

.intro-copy p {
  margin-top: 28px;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.blue { color: var(--bright-blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 2px solid currentColor;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.btn:hover { transform: translateY(-2px); color: var(--black); background: var(--white); }
.btn-primary { border-color: var(--blue); background: var(--blue); }
.btn-light { color: var(--blue); background: var(--white); border-color: var(--white); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.roof-card {
  position: relative;
  min-height: 430px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--white);
  background: #161616;
}

.roof-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-image);
  background-position: center;
  background-size: cover;
  transition: transform .35s ease, opacity .35s ease;
}

.roof-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.76));
}

.roof-card:hover::before { transform: scale(1.05); opacity: .82; }
.roof-card > * { position: relative; z-index: 2; }
.roof-card h3 { margin-bottom: 13px; font-size: 24px; }
.roof-card p { color: var(--white); font-weight: 700; }
.roof-card .card-action { margin-top: 20px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.panel {
  padding: 120px 0;
  color: var(--white);
  background: var(--black);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.split h2 { font-size: clamp(42px, 5vw, 78px); }
.split p, .detail-copy p { font-size: 18px; font-weight: 700; color: var(--white); }

.image-panel {
  min-height: 530px;
  background-image: var(--panel-image);
  background-position: center;
  background-size: cover;
}

.blue-band {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--blue);
}

.blue-band::after {
  content: "";
  position: absolute;
  right: 80px;
  top: -44px;
  width: 250px;
  height: 120px;
  transform: skewX(-35deg);
  border: 2px solid rgba(31,150,219,.65);
  border-left-width: 0;
  box-shadow: 64px 0 0 rgba(31,150,219,.25), 128px 0 0 var(--bright-blue);
}

.blue-band .wrap { position: relative; z-index: 2; }

.listing {
  padding: 120px 0;
  background: var(--black);
  color: var(--white);
}

.listing-head {
  display: flex;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 58px;
  align-items: end;
}

.listing-head p { max-width: 560px; color: var(--white); font-weight: 700; }

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.listing-card {
  position: relative;
  min-height: 285px;
  padding: 30px;
  color: var(--white);
  background: #111;
  overflow: hidden;
}

.listing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-image);
  background-size: cover;
  background-position: center;
  opacity: .42;
  filter: grayscale(.25);
  transition: transform .28s ease, opacity .28s ease;
}

.listing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.86));
}

.listing-card:hover::before { transform: scale(1.06); opacity: .65; }
.listing-card > * { position: relative; z-index: 2; }
.listing-card h3 { margin-bottom: 18px; font-size: 28px; }
.listing-card p { color: var(--white); font-weight: 700; }
.kicker { display: block; margin-top: 24px; color: var(--bright-blue); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }

.detail {
  padding: 130px 0;
  color: var(--white);
  background: var(--black);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 90px;
  align-items: start;
}

.detail-copy h2 { margin-bottom: 34px; font-size: clamp(40px, 5vw, 80px); }
.check-list li {
  position: relative;
  margin: 18px 0;
  padding-left: 30px;
  color: var(--white);
  font-weight: 800;
}
.check-list li::before { content: "›"; position: absolute; left: 0; top: -3px; color: var(--bright-blue); font-size: 26px; font-weight: 900; }

.aside {
  position: sticky;
  top: 116px;
  align-self: start;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding: 44px;
  background: #111;
  border-top: 4px solid var(--bright-blue);
}
.aside h3 { margin-bottom: 28px; font-size: 34px; }
.aside a { display: block; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.18); color: var(--white); font-weight: 800; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.info-card {
  min-height: 250px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(31, 150, 219, .22), rgba(0, 0, 0, 0) 58%),
    #111;
  border-top: 4px solid var(--bright-blue);
  transition: transform .2s ease, background-color .2s ease;
}

a.info-card:hover {
  transform: translateY(-4px);
  background-color: #171717;
}

.info-card h3 {
  margin-bottom: 18px;
  font-size: 26px;
}

.info-card p {
  margin: 0;
  color: var(--white);
  font-weight: 700;
}

.listing-tight {
  padding-top: 0;
}

.faq-stack {
  display: grid;
  gap: 18px;
}

.faq-item {
  padding: 30px;
  background: #111;
  border-left: 4px solid var(--bright-blue);
}

.faq-item h3 {
  margin-bottom: 14px;
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.05;
}

.faq-item p {
  margin: 0;
}

.contact-block {
  padding: 120px 0 210px;
  color: var(--white);
  background: var(--black);
  text-align: center;
}
.contact-block h2 { max-width: 1050px; margin: 0 auto 36px; font-size: clamp(40px, 5vw, 78px); }
.contact-lines { font-size: 19px; font-weight: 800; }
.contact-lines a {
  overflow-wrap: anywhere;
}

.contact-form {
  width: min(860px, calc(100% - 60px));
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  text-align: left;
}
.contact-form label { display: grid; gap: 8px; color: var(--white); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255,255,255,.5);
  padding: 12px 14px;
  color: var(--white);
  background: rgba(255,255,255,.08);
  font: inherit;
}
.contact-form textarea, .contact-form .full { grid-column: 1 / -1; }
.contact-form textarea { min-height: 140px; }

.site-footer {
  position: relative;
  padding: 76px 0 86px;
  color: #333;
  background: var(--paper);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, .8fr);
  gap: 54px;
}
.footer-logo .brand { color: var(--blue); }
.footer-logo .brand-main span { color: var(--bright-blue); }
.footer-grid h3 { margin-bottom: 18px; color: #333; font-size: 19px; }
.footer-grid li { margin: 8px 0; font-weight: 700; }
.footer-bottom {
  margin-top: 74px;
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.family-row { display: flex; gap: 34px; color: #999; font-family: aktiv-grotesk-extended, "Arial Black", Impact, sans-serif; font-size: 22px; font-weight: 900; }
.legal-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.footer-angle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 190px;
  height: 56px;
  background: var(--blue);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 1050px) {
  .wrap, .header-inner { width: calc(100% - 40px); }
  .header-inner { grid-template-columns: 1fr 54px; align-items: center; padding-top: 22px; }
  .nav-zone { display: none; }
  .site-header { min-height: 96px; }
  .brand { width: 220px; }
  .menu-toggle { display: grid; margin-top: 0; align-self: center; justify-self: end; }
  .site-header:hover .mega-nav { display: none; }
  .mega-nav { display: none !important; }
  .hero { min-height: 560px; }
  .hero.hero-short {
    min-height: 500px;
    padding-top: 110px;
  }
  .hero-copy { width: calc(100% - 60px); margin-bottom: 62px; }
  .hero h1 { font-size: clamp(36px, 12vw, 64px); }
  .hero p { font-size: 16px; }
  .subnav ul { min-height: 96px; flex-wrap: wrap; gap: 22px 40px; }
  .black-field, .panel, .listing, .detail, .contact-block { padding: 80px 0; }
  .card-grid, .listing-grid, .info-grid { grid-template-columns: 1fr; }
  .roof-card { min-height: 300px; }
  .split, .detail-grid, .footer-grid { grid-template-columns: 1fr; gap: 42px; }
  .aside { position: static; max-height: none; overflow: visible; }
  .image-panel { min-height: 330px; }
  .blue-band { min-height: 260px; }
  .contact-form { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 16px; line-height: 1.55; }
  .wrap, .header-inner { width: calc(100% - 32px); }
  /* Stack every multi-column layout to a single column on phones */
  .card-grid, .listing-grid, .split, .detail-grid, .footer-grid,
  .secondary-nav ul, .main-nav ul { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; gap: 16px; }
  /* Reduce vertical section padding so content isn't sparse */
  .black-field { padding: 64px 0; }
  .panel, .listing, .detail { padding: 64px 0; }
  .contact-block { padding: 64px 0 90px; }
  .hero.hero-short {
    min-height: 460px;
    padding-top: 96px;
  }
  .hero-copy { width: calc(100% - 32px); margin-bottom: 48px; }
  .hero h1 { font-size: clamp(32px, 9vw, 54px); }
  .hero p { font-size: 16px; }
  .intro-copy { width: calc(100% - 32px); }
  .intro-copy h2, .section-heading, .split h2, .detail-copy h2, .contact-block h2 { font-size: clamp(28px, 8vw, 44px); }
  .listing-head { display: block; }
  .listing-head p { margin-top: 16px; }
  /* Contain decorative skew/box-shadow + tame footer angle to kill side overflow */
  .blue-band, .black-field, .hero, .listing, .panel, .detail { overflow: hidden; }
  .blue-band::after { display: none; }
  .footer-angle { width: 120px; height: 40px; }
  .footer-bottom { margin-top: 48px; }
  /* Readable body text + comfortable tap targets on cards/buttons/links */
  .roof-card p, .listing-card p, .split p, .detail-copy p, .intro-copy p,
  .contact-lines, .footer-grid li, .check-list li { font-size: 16px; }
  .btn { min-height: 48px; padding: 0 22px; }
  .roof-card, .listing-card { min-height: 220px; }
  .footer-grid li a, .aside a, .subnav a { display: inline-block; padding: 6px 0; min-height: 32px; }
}

@media (max-width: 560px) {
  .brand-main { font-size: 24px; }
  .brand-sub { font-size: 7px; }
  .hero h1 { font-size: 35px; line-height: 1.04; }
  .eyebrow { font-size: 12px; }
  .intro-copy { width: calc(100% - 44px); }
  .intro-copy h2, .section-heading, .split h2, .detail-copy h2, .contact-block h2 { font-size: 30px; }
  .listing-head { display: block; }
  .family-row { display: none; }
  .legal-row { display: grid; gap: 12px; }
}

/* brand-logo-sizing */
.site-header__logo{display:flex;align-items:center}.brand-logo{height:30px;width:auto;display:block;max-width:340px}.site-footer .brand-logo,footer .brand-logo{height:26px}
