:root {
  --black: #111212;
  --ink: #212529;
  --muted: #666666;
  --line: #dbdbdb;
  --light: #f3f3f3;
  --white: #ffffff;
  --red: #dd3113;
  --red-bright: #ec4628;
  --pressura: "GT Pressura", "Arial Narrow", Impact, sans-serif;
  --hanken: "Hanken Grotesk", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--hanken);
  font-size: 16px;
  line-height: 1.45;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: min(100% - 48px, 1296px);
  margin: 0 auto;
}

.nsc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.utility-row {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav {
  min-height: 64px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--black);
}

.brand-mark {
  position: relative;
  width: 58px;
  height: 31px;
  background: repeating-linear-gradient(-12deg, var(--black) 0 7px, transparent 7px 12px);
  clip-path: polygon(0 12%, 78% 0, 100% 50%, 78% 100%, 0 88%);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 9px;
  width: 18px;
  height: 9px;
  background: var(--red);
  transform: skewX(-20deg);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-family: var(--pressura);
  font-size: 17px;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: block;
  padding: 26px 13px 24px;
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 4px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-item > a:hover,
.nav-item.active > a {
  color: var(--red);
  border-bottom-color: var(--red);
}

.nav-item.has-panel > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 270px;
  padding: 16px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
  transform: translate(-50%, 16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-item:hover .mega-panel,
.nav-item.panel-open .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega-panel a {
  display: block;
  padding: 10px 22px;
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
}

.mega-panel a:hover {
  color: var(--red);
  background: var(--light);
}

.mega-panel .view-all-link {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--red);
}

.mobile-trigger {
  display: none;
  border: 0;
  background: transparent;
  width: 34px;
  height: 30px;
  position: relative;
}

.mobile-trigger span,
.mobile-trigger::before,
.mobile-trigger::after {
  content: "";
  position: absolute;
  right: 0;
  width: 26px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-trigger::before {
  top: 7px;
}

.mobile-trigger span {
  top: 14px;
  overflow: hidden;
  text-indent: -999px;
}

.mobile-trigger::after {
  top: 21px;
}

.menu-open .mobile-trigger::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .mobile-trigger span {
  opacity: 0;
}

.menu-open .mobile-trigger::after {
  transform: translateY(-7px) rotate(-45deg);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--pressura);
  color: var(--black);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 0.98;
}

h1 {
  font-size: clamp(44px, 6.6vw, 88px);
}

h2 {
  font-size: clamp(32px, 4vw, 58px);
}

h3 {
  font-size: 24px;
}

p {
  margin: 0 0 20px;
}

.red-button,
.ghost-button,
.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 15px 30px 15px 22px;
  background: var(--red);
  border: 1px solid var(--red);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.red-button::after,
.ghost-button::after,
.arrow-link::after {
  content: "→";
  font-size: 18px;
  line-height: 1;
}

.red-button:hover,
.form-button:hover {
  background: var(--black);
  transform: translateY(-1px);
}

.ghost-button {
  background: var(--white);
  color: var(--black);
}

.ghost-button:hover {
  color: var(--red);
}

.full-hero {
  position: relative;
  min-height: 610px;
  background: var(--white);
  overflow: hidden;
}

.full-hero img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 72%;
  height: 100%;
  object-fit: cover;
}

.full-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.98) 0 30%, rgba(255,255,255,0.72) 46%, rgba(255,255,255,0.08) 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1296px);
  margin: 0 auto;
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 70px 0;
}

.hero-kicker,
.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 650px;
}

.hero-content p {
  max-width: 540px;
  margin-top: 20px;
  color: var(--black);
  font-size: 19px;
  font-weight: 800;
}

.quick-access {
  background: var(--black);
  color: var(--white);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-access a {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease;
}

.quick-access a:first-child {
  border-left: 0;
}

.quick-access a::before {
  display: none;
}

.quick-icon {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.quick-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-access a:hover,
.quick-access a.active-hover {
  background: var(--red);
}

.section {
  padding: 110px 0;
}

.white-section {
  background: var(--white);
}

.gray-section {
  background: var(--light);
}

.section-head {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: 90px;
  align-items: start;
  margin-bottom: 64px;
}

.section-head p {
  max-width: 620px;
  font-size: 18px;
}

.slash-rule {
  position: relative;
}

.slash-rule::after {
  content: "";
  position: absolute;
  top: 34px;
  right: 0;
  width: min(48vw, 560px);
  height: 1px;
  background: var(--red);
  transform: skewX(-18deg);
  transform-origin: right;
}

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

.story-card,
.taxonomy-card {
  background: var(--white);
  color: var(--black);
  min-height: 100%;
}

.story-card img,
.taxonomy-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.story-card .card-body,
.taxonomy-card .card-body {
  padding: 28px 0 0;
}

.taxonomy-card {
  padding: 0 0 26px;
  border-bottom: 1px solid var(--line);
}

.taxonomy-card .card-body {
  padding-inline: 22px;
}

.story-card h3,
.taxonomy-card h3 {
  margin-bottom: 14px;
  font-size: 25px;
  text-transform: none;
}

.story-card p,
.taxonomy-card p {
  color: var(--muted);
  font-weight: 600;
}

.arrow-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.arrow-link::after {
  color: var(--red);
}

.image-band {
  position: relative;
  min-height: 430px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.image-band img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  opacity: 0.7;
}

.image-band .band-copy {
  position: absolute;
  left: max(24px, calc((100vw - 1296px) / 2));
  bottom: 58px;
  max-width: 460px;
}

.image-band h2,
.image-band p {
  color: var(--white);
}

.line-field {
  position: relative;
  min-height: 310px;
  background: repeating-linear-gradient(110deg, transparent 0 18px, rgba(0,0,0,0.045) 18px 20px);
}

.location-carousel-section {
  position: relative;
  padding: 92px 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.84)),
    repeating-linear-gradient(110deg, transparent 0 18px, rgba(0,0,0,0.055) 18px 20px);
  overflow: hidden;
}

.carousel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.carousel-head h2 {
  max-width: 760px;
}

.carousel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.carousel-btn:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}

.location-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 31%);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 10px;
}

.location-slide {
  position: relative;
  min-height: 340px;
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.location-slide img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  opacity: .76;
  transition: transform .28s ease, opacity .28s ease;
}

.location-slide span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: var(--white);
  font-family: var(--pressura);
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}

.location-slide:hover img {
  transform: scale(1.04);
  opacity: .94;
}

.promo-banner {
  margin: 90px auto 30px;
  width: min(100% - 48px, 1180px);
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 38px 56px;
  background: linear-gradient(90deg, rgba(17,18,18,0.72), rgba(17,18,18,0.38)), var(--promo-image) center/cover;
  color: var(--white);
}

.promo-banner h3,
.promo-banner p {
  color: var(--white);
}

.promo-banner h3 {
  margin-bottom: 8px;
}

.interior-hero {
  background: var(--white);
}

.half-image {
  height: 290px;
}

.half-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-tabs {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.tab-scroll {
  display: flex;
  overflow-x: auto;
}

.section-tabs a {
  flex: 0 0 auto;
  padding: 19px 22px 16px;
  border-bottom: 4px solid transparent;
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-tabs a:hover,
.section-tabs a.active,
.section-tabs a.active-hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.text-hero {
  padding: 70px 0 64px;
  text-align: center;
}

.site-breadcrumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-breadcrumbs a {
  color: var(--black);
  border-bottom: 1px solid transparent;
}

.site-breadcrumbs a:hover {
  color: var(--red);
  border-bottom-color: currentColor;
}

.text-hero p {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--black);
  font-weight: 700;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.detail-copy {
  background: var(--white);
  padding: 54px 0;
}

.detail-copy h2 {
  margin-bottom: 26px;
}

.detail-copy p {
  max-width: 930px;
  font-size: 18px;
  font-weight: 600;
}

.detail-copy .faq {
  margin-top: 44px;
  max-width: 930px;
  border-top: 1px solid var(--line);
}

.detail-copy .faq h2 {
  margin: 38px 0 18px;
}

.detail-copy details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.detail-copy summary {
  cursor: pointer;
  color: var(--black);
  font-weight: 900;
}

.detail-copy details p {
  margin-top: 14px;
  color: var(--muted);
}

.side-panel {
  position: sticky;
  top: 118px;
  background: var(--black);
  color: var(--white);
  padding: 34px;
}

.side-panel h2,
.side-panel h3,
.side-panel p,
.side-panel a {
  color: var(--white);
}

.side-panel h2 {
  margin-bottom: 18px;
  font-size: 30px;
}

.side-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.side-list a {
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 10px;
  font-weight: 800;
}

.side-list a:hover {
  color: var(--red-bright);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-card {
  background: var(--black);
  color: var(--white);
  padding: 44px;
}

.contact-card h2,
.contact-card p,
.contact-card a {
  color: var(--white);
}

.contact-lines {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  font-weight: 800;
}

.roof-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.roof-form label {
  display: grid;
  gap: 8px;
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.roof-form label:last-of-type,
.roof-form .full-span {
  grid-column: 1 / -1;
}

.roof-form input,
.roof-form textarea,
.roof-form select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px;
  background: var(--white);
  border-radius: 0;
}

.roof-form select,
.contact-form select {
  min-height: 52px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--red) 50%), linear-gradient(135deg, var(--red) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.roof-form textarea {
  min-height: 150px;
}

.form-button {
  width: fit-content;
  grid-column: 1 / -1;
}

.nowrap-email {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.footer {
  background: #1d2224;
  color: var(--white);
  padding: 62px 0 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(5, 1fr);
  gap: 34px;
}

.footer h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 14px;
  font-family: var(--hanken);
  font-style: normal;
  line-height: 1.2;
}

.footer ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #d4d4d4;
  font-size: 13px;
  font-weight: 700;
}

.footer address,
.footer p {
  margin: 0;
  color: #d4d4d4;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}

.footer a:hover {
  color: var(--red-bright);
}

.footer-brand {
  margin-bottom: 50px;
}

.footer .brand {
  color: var(--white);
}

.footer .brand-mark {
  background: repeating-linear-gradient(-12deg, var(--white) 0 7px, transparent 7px 12px);
}

.footer .brand-subtitle {
  color: #d4d4d4;
}

.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 90px 24px;
  text-align: center;
}

@media (max-width: 1100px) {
  .main-nav {
    grid-template-columns: 180px auto;
    justify-content: space-between;
  }

  .mobile-trigger {
    display: block;
  }

  .nav-list {
    position: fixed;
    inset: 92px 0 auto;
    max-height: calc(100vh - 92px);
    overflow: auto;
    display: grid;
    justify-content: stretch;
    background: var(--white);
    transform: translateY(-120%);
    transition: transform 0.24s ease;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  }

  .menu-open .nav-list {
    transform: translateY(0);
  }

  .nav-item > a {
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
  }

  .mega-panel {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    border-top: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-item.panel-open .mega-panel {
    display: block;
  }

  .section-head,
  .detail-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1296px);
  }

  .utility-row {
    display: none;
  }

  .main-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 56px;
  }

  .brand {
    min-width: 0;
  }

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

  .nav-list {
    inset-top: 56px;
    max-height: calc(100vh - 56px);
  }

  .brand-mark {
    width: 38px;
    height: 22px;
  }

  .brand-name {
    font-size: 13px;
  }

  .brand-subtitle {
    font-size: 9px;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 31px;
  }

  .full-hero,
  .hero-content {
    min-height: 470px;
  }

  .full-hero img {
    width: 100%;
  }

  .full-hero::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.66));
  }

  .quick-grid,
  .card-row,
  .card-grid,
  .footer-grid,
  .roof-form {
    grid-template-columns: 1fr;
  }

  .carousel-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .carousel-actions {
    justify-content: flex-start;
  }

  .location-carousel {
    grid-auto-columns: minmax(260px, 88%);
  }

  .location-slide,
  .location-slide img {
    min-height: 280px;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    gap: 28px;
    margin-bottom: 42px;
  }

  .slash-rule::after {
    display: none;
  }

  .promo-banner {
    grid-template-columns: 1fr;
    padding: 28px;
    margin-top: 60px;
  }

  .half-image {
    height: 230px;
  }

  .detail-copy {
    padding: 36px 0;
  }

  .side-panel {
    position: static;
  }
}

/* ============================================================
   MOBILE OPTIMIZATION + UPGRADED HAMBURGER DRAWER (Pass B)
   Appended last so these rules win the cascade. On-theme:
   --red drawer accents, --black text, GT Pressura headings.
   ============================================================ */

/* Horizontal-overflow safety net + media fluidity */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

img,
iframe,
video,
svg,
canvas {
  max-width: 100%;
}

iframe {
  height: auto;
}

/* Desktop: drawer-only chrome stays hidden */
.nav-close-li,
.nav-phone-li,
.nav-overlay {
  display: none;
}

/* Long contact email shouldn't blow out its black card on small screens */
.contact-lines a:not(.nowrap-email),
.contact-card a:not(.nowrap-email),
.detail-sidebar p {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.contact-lines .nowrap-email,
.contact-card .nowrap-email,
.side-panel .nowrap-email {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  font-size: clamp(11px, 2.6vw, 14px);
}

/* Give the otherwise-unstyled slug contact form a native, themed look
   and make sure its submit button matches the site's red CTA. */
.contact-band {
  display: grid;
  gap: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  padding: 14px;
  background: var(--white);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.generic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 15px 30px 15px 22px;
  background: var(--red);
  border: 1px solid var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease;
}

.generic-btn:hover {
  background: var(--black);
}

.generic-btn.full {
  width: 100%;
}

/* ---------- The hamburger drawer (mobile) ---------- */
@media (max-width: 1100px) {
  .main-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .main-nav > nav {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 0;
    height: 0;
    justify-self: stretch;
  }

  /* Burger toggle visible */
  .mobile-trigger {
    display: block;
    width: 44px;
    height: 44px;
    z-index: 120;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
  }

  /* Dim overlay behind the drawer */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(17, 18, 18, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0.24s ease;
  }

  .menu-open .nav-overlay {
    opacity: 1;
    visibility: visible;
  }
  .nav-overlay[hidden] {
    display: block; /* keep it usable even with the hidden attr; visibility handles state */
  }

  /* Right-side full-height drawer card */
  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    max-width: 100%;
    max-height: 100vh;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    padding: 78px 0 32px;
    background: var(--white);
    box-shadow: -18px 0 48px rgba(0, 0, 0, 0.28);
    transform: translateX(110%);
    transition: transform 0.28s ease;
  }

  .menu-open .nav-list {
    transform: translateX(0);
  }

  /* Close (X) button, top-right of the drawer */
  .nav-close-li {
    display: block;
    position: absolute;
    top: 14px;
    right: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    background: var(--light);
    color: var(--black);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.18s ease, color 0.18s ease;
  }

  .nav-close:hover,
  .nav-close:focus {
    background: var(--red);
    color: var(--white);
  }

  /* Drawer items: tappable + spaced */
  .nav-item {
    position: relative;
    width: 100%;
  }

  .nav-item > a {
    display: block;
    padding: 16px 24px;
    min-height: 48px;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }

  .nav-item.has-panel > a::after {
    float: right;
    margin-top: 4px;
  }

  /* Sub-menus inside the drawer */
  .mega-panel {
    position: static;
    display: none;
    min-width: 0;
    padding: 0;
    box-shadow: none;
    border-top: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: var(--light);
  }

  .nav-item.panel-open .mega-panel {
    display: block;
  }

  .mega-panel a {
    padding: 13px 24px 13px 38px;
    min-height: 46px;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
  }

  /* Phone CTA pinned visually at the foot of the drawer list */
  .nav-phone-li {
    display: block;
    margin-top: 18px;
    padding: 0 18px;
  }

  .nav-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 14px 18px;
    background: var(--red);
    color: var(--white);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: 0 !important;
  }

  .nav-phone:hover {
    background: var(--black);
    color: var(--white);
  }

  /* Lock body scroll while the drawer is open */
  .menu-open,
  .menu-open body {
    overflow: hidden;
  }
}

/* ---------- General mobile stacking / readability ---------- */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.55;
  }

  .container {
    width: min(100% - 32px, 1296px);
  }

  h1 {
    font-size: clamp(30px, 8.5vw, 44px);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(26px, 6.6vw, 38px);
    line-height: 1.08;
  }

  h3 {
    font-size: 21px;
  }

  /* Stack every multi-column layout to a single column */
  .quick-grid,
  .card-row,
  .card-grid,
  .footer-grid,
  .roof-form,
  .section-head,
  .detail-layout,
  .grid-container,
  .contact-grid,
  .contact-band {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    gap: 22px;
    margin-bottom: 34px;
  }

  /* Tame oversized fixed-height bands on phones */
  .image-band,
  .image-band img {
    height: auto;
    min-height: 320px;
  }

  .image-band img {
    height: 320px;
  }

  .image-band .band-copy {
    left: 24px;
    right: 24px;
    bottom: 32px;
    max-width: none;
  }

  .full-hero,
  .hero-content {
    min-height: 440px;
  }

  .full-hero img {
    width: 100%;
  }

  .hero-content p,
  .section-head p,
  .detail-copy p {
    font-size: 16px;
  }

  /* Cards / form fields readable + tappable */
  .story-card img,
  .taxonomy-card img {
    height: 200px;
  }

  .contact-card {
    padding: 30px 24px;
  }

  .side-panel {
    position: static;
    padding: 28px 24px;
  }

  /* Tap targets: links, buttons, fields */
  .red-button,
  .ghost-button,
  .form-button,
  .generic-btn,
  .arrow-link,
  .quick-access a,
  .section-tabs a {
    min-height: 48px;
  }

  .roof-form input,
  .roof-form select,
  .roof-form textarea,
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 48px;
    font-size: 16px; /* prevents iOS zoom-on-focus */
  }

  .roof-form textarea,
  .contact-form textarea {
    min-height: 140px;
  }

  .promo-banner {
    grid-template-columns: 1fr;
    padding: 26px;
    margin-top: 50px;
  }

  .footer {
    padding: 48px 0 36px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-list {
    width: min(92vw, 360px);
  }
}

/* brand-logo-img */
.brand{display:flex;align-items:center}
.brand-logo{height:40px;width:auto;display:block;max-width:300px}
.footer .brand-logo{height:42px}
@media (max-width:600px){.brand-logo{height:34px;max-width:64vw}}
