@font-face {
  font-family: "Zilla Slab";
  src: url("https://commercialroofingcontractorsknoxville.com/assets/uploads/2025/12/Sentinel-Medium.woff2") format("woff2");
  font-weight: 500;
}

:root {
  --deep: #052f42;
  --teal: #005576;
  --teal-2: #0079a4;
  --sky: #67c8e5;
  --red: #aa2a27;
  --ink: #2f2e2c;
  --paper: #f7f7f5;
  --mist: #efefec;
  --line: #ddd9d0;
  --max: 1220px;
  --sans: "brandon-grotesque", "Arial Narrow", Arial, sans-serif;
  --serif: "Sentinel", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  line-height: 1.45;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  z-index: 1000;
  left: -999px;
  top: 10px;
  padding: 10px 16px;
  background: #fff;
  color: var(--teal);
}

.skip-link:focus {
  left: 10px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  color: #fff;
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.utility-bar {
  height: 29px;
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  padding: 0 24px;
  font-family: var(--serif);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.utility-bar a,
.utility-bar button {
  color: #fff;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-bar {
  width: min(var(--max), calc(100vw - 42px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  color: currentColor;
  display: inline-flex;
  align-items: center;
  width: 310px;
  text-decoration: none;
}

.brand svg,
.brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-button {
  min-height: 58px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: currentColor;
  font-family: var(--serif);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .35px;
  text-decoration: none;
  cursor: pointer;
}

.nav-link::after,
.nav-button::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .85;
}

.nav-link.single::after {
  display: none;
}

.mega {
  position: absolute;
  right: 0;
  top: 100%;
  width: 310px;
  padding: 23px 28px 25px;
  background: rgba(247, 247, 245, .98);
  color: var(--teal);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(9px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega a {
  display: block;
  padding: 9px 0;
  color: var(--teal);
  text-decoration: none;
  font-size: 17px;
}

.mega a:first-child {
  font-size: 19px;
  font-weight: 600;
  color: var(--deep);
  text-transform: uppercase;
}

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

.search-shell {
  position: relative;
}

.search-toggle {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.search-toggle::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  margin: 4px auto 0;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-toggle::after {
  content: "";
  display: block;
  width: 9px;
  height: 2px;
  margin: -1px 0 0 17px;
  background: currentColor;
  transform: rotate(45deg);
}

.search-box {
  position: absolute;
  top: 38px;
  right: 0;
  width: 260px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(0, 0, 0, .2);
}

.search-box input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  padding: 0 12px;
}

.is-scrolled .site-header {
  background: rgba(247, 247, 245, .98);
  color: var(--deep);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .16);
}

.is-scrolled .utility-bar {
  background: var(--deep);
  color: #fff;
}

.menu-button {
  display: none;
  width: 46px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 31px;
  height: 2px;
  margin: 8px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-button span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-button span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: 105px 0 0;
  z-index: 59;
  background: var(--paper);
  color: var(--teal);
  overflow-y: auto;
  padding: 15px 26px 48px;
}

.drawer-link,
.drawer-toggle {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 19px;
  text-decoration: none;
}

.drawer-links {
  padding: 10px 0 13px 17px;
}

.drawer-links a {
  display: block;
  padding: 8px 0;
  color: var(--teal);
  text-decoration: none;
}

.hero {
  min-height: 650px;
  padding-top: 105px;
  padding-bottom: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
  background: #111 center / cover no-repeat;
}

.home-hero {
  min-height: 760px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, .12), rgba(0, 0, 0, .42));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100vw - 42px));
  margin: 0 auto;
  transform: translateY(18px);
}

.hero h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(54px, 7.6vw, 118px);
  line-height: .96;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
}

.hero .subhead {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.1vw, 54px);
  line-height: 1.04;
  font-weight: 500;
}

.hero .intro {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: 19px;
  line-height: 1.5;
  color: #fff;
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  width: 100%;
  height: 88px;
  color: #fff;
}

.wave path:first-child {
  fill: var(--red);
}

.wave path:last-child {
  fill: #fff;
}

.section {
  padding: 88px 0;
  background: #fff;
}

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

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

.section.teal {
  background: var(--teal);
  color: #fff;
}

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

.center {
  text-align: center;
}

.section-label {
  margin: 0 0 8px;
  color: var(--red);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.headline {
  margin: 0 0 22px;
  color: var(--teal);
  font-family: var(--sans);
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: .96;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.lead {
  max-width: 880px;
  margin: 0 auto 26px;
  font-size: 19px;
  line-height: 1.55;
}

.small-btn,
.outline-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 30px;
  border: 0;
  background: var(--sky);
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.small-btn:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

.outline-btn {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
}

.outline-btn:hover {
  background: #fff;
  color: var(--teal);
}

.two-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.image-panel {
  min-height: 480px;
  background: center / cover no-repeat;
}

.copy-panel {
  min-height: 480px;
  padding: clamp(46px, 7vw, 104px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #315846;
  color: #fff;
}

.copy-panel h2,
.copy-panel p {
  color: #fff;
}

.copy-panel .section-label {
  color: #e7f1ef;
}

.copy-panel .headline {
  font-size: clamp(34px, 4vw, 58px);
}

.accordion-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 60px;
  align-items: start;
}

.accordion-list {
  border-top: 1px solid var(--line);
}

.accordion-button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-family: var(--serif);
  cursor: pointer;
}

.accordion-button::after {
  content: "+";
  color: var(--teal);
  font-size: 24px;
}

.accordion-button[aria-expanded="true"]::after {
  content: "-";
}

.accordion-panel {
  padding: 15px 0 22px;
  border-bottom: 1px solid var(--line);
}

.map-card {
  min-height: 420px;
  background: var(--mist);
  border: 1px solid var(--line);
  overflow: hidden;
}

.map-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

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

.roof-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.roof-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 28px rgba(0, 0, 0, .13);
}

.roof-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.roof-card-body {
  padding: 24px 28px 28px;
  flex: 1;
}

.roof-card .tag {
  display: block;
  margin-bottom: 13px;
  color: var(--red);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.roof-card h3 {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.roof-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.teal-band {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  background: var(--teal) center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.teal-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 85, 118, .82);
}

.teal-band .wrap {
  position: relative;
  z-index: 2;
  text-align: center;
}

.teal-band .headline,
.teal-band .section-label,
.teal-band p {
  color: #fff;
}

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

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

.contact-card h2 {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: clamp(38px, 4.8vw, 70px);
  line-height: .98;
  font-weight: 400;
  text-transform: uppercase;
}

.contact-card p {
  font-size: 19px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.contact-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hp-field {
  display: none !important;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #bdbdb6;
  background: #fff;
  padding: 9px 11px;
}

.contact-form textarea,
.contact-form .full,
.contact-form button,
.contact-form .form-status {
  grid-column: 1 / -1;
}

.contact-form textarea {
  min-height: 120px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-family: var(--serif);
}

.newsletter {
  padding: 42px 0;
  background: #f0efeb;
  border-top: 1px solid var(--line);
}

.newsletter .wrap {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 42px;
  align-items: center;
}

.newsletter h2 {
  margin: 0;
  color: var(--teal);
  font-size: clamp(28px, 3.3vw, 48px);
  line-height: 1;
  font-weight: 400;
}

.newsletter p {
  margin: 6px 0 0;
}

.newsletter .contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 0;
}

.newsletter input,
.newsletter textarea {
  border: 1px solid #bdbdb6;
  padding: 10px;
}

.newsletter textarea {
  min-height: 88px;
}

.map-embed {
  width: 100%;
  min-height: 290px;
  border: 1px solid var(--line);
  background: var(--mist);
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 290px;
  display: block;
  border: 0;
  filter: saturate(.95) contrast(1.02);
}

.footer {
  background: #efefec;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-main {
  width: min(var(--max), calc(100vw - 58px));
  margin: 0 auto;
  padding: 52px 0 58px;
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 42px;
}

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

.footer-brand svg,
.footer-brand img {
  width: 310px;
  max-width: 100%;
  color: var(--ink);
}

.footer-contact {
  margin: 18px 0 0;
  font-family: var(--serif);
  line-height: 1.5;
}

.footer-contact a {
  display: block;
  width: max-content;
}

.footer .map-embed {
  margin-top: 20px;
  min-height: 210px;
}

.footer .map-embed iframe {
  min-height: 210px;
}

.footer h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}

.footer a {
  display: block;
  margin: 0 0 9px;
  color: var(--teal);
  text-decoration: none;
}

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

.detail-body-section {
  padding-bottom: 64px;
}

.detail-copy {
  max-width: 940px;
  margin: 0 auto;
  padding: 10px 0;
  color: var(--ink);
}

.detail-copy h2,
.detail-copy h3,
.detail-copy h4 {
  margin: 38px 0 14px;
  color: var(--teal);
  font-size: clamp(30px, 3.7vw, 54px);
  line-height: 1.02;
  font-weight: 400;
  text-transform: uppercase;
}

.detail-copy p,
.detail-copy blockquote {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.62;
}

.detail-copy table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  background: #fff;
}

.detail-copy th,
.detail-copy td {
  border: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
}

.detail-faq-section {
  padding-top: 72px;
}

.faq-stack {
  max-width: 940px;
  margin: 28px auto 0;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.footer-bottom .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.footer-bottom a {
  display: inline;
  margin: 0 0 0 24px;
}

@media (max-width: 1060px) {
  .desktop-nav,
  .search-shell {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .brand {
    width: 270px;
  }

  .utility-bar {
    justify-content: center;
    font-size: 12px;
  }
}

@media (max-width: 880px) {
  .hero {
    min-height: 650px;
    padding-top: 96px;
    padding-bottom: 116px;
  }

  .home-hero {
    min-height: 710px;
  }

  .hero-content {
    transform: translateY(0);
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 66px);
  }

  .hero .subhead {
    font-size: clamp(26px, 7vw, 38px);
  }

  .section {
    padding: 62px 0;
  }

  .wrap {
    width: min(var(--max), calc(100vw - 34px));
  }

  .two-panels,
  .accordion-grid,
  .card-grid,
  .contact-grid,
  .newsletter .wrap,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .image-panel,
  .copy-panel {
    min-height: 360px;
  }

  .copy-panel {
    padding: 48px 32px;
  }

  .newsletter form,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-main {
    gap: 32px;
    width: min(var(--max), calc(100vw - 34px));
  }

  .footer-bottom .wrap {
    display: block;
  }

  .footer-bottom a {
    margin: 8px 18px 0 0;
  }
}

@media (max-width: 520px) {
  .utility-bar {
    gap: 16px;
    padding-inline: 12px;
  }

  .nav-bar {
    width: min(var(--max), calc(100vw - 22px));
    height: 68px;
  }

  .brand {
    width: 235px;
  }

  .mobile-drawer {
    inset-top: 97px;
  }

  .hero {
    min-height: 660px;
  }

  .home-hero {
    min-height: 735px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero .intro {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.42;
  }

  .headline {
    font-size: clamp(34px, 11vw, 50px);
  }
}

/* brand-logo: raster brand logo (replaces text/SVG wordmark) — added 2026-06-25 */
.brand-logo{height:30px;width:auto;max-width:100%;display:block}
.brand{width:auto}
.brand .brand-logo{height:30px;width:auto}
/* header flips between transparent-over-hero (white logo) and scrolled pale bg (black logo) */
.brand .brand-logo-dark{display:none}
.is-scrolled .brand .brand-logo-light{display:none}
.is-scrolled .brand .brand-logo-dark{display:block}
/* footer sits on a pale background → black logo, slightly larger */
.footer-brand .brand-logo{height:34px;width:auto}
