@font-face {
  font-family: "Guardian Sans";
  font-weight: 300;
  src: url("/faithful/fonts/GuardianSans-Light-Web.woff2") format("woff2");
}

@font-face {
  font-family: "Guardian Sans";
  font-weight: 400;
  src: url("/faithful/fonts/GuardianTextSans-Regular-Web.woff2") format("woff2");
}

@font-face {
  font-family: "Guardian Sans";
  font-weight: 500;
  src: url("/faithful/fonts/GuardianTextSans-Medium-Web.woff2") format("woff2");
}

@font-face {
  font-family: "Sanomat-Medium-Web";
  font-weight: 500;
  src: url("/faithful/fonts/Sanomat-Medium-Web.woff2") format("woff2");
}

:root {
  --red: #ed2a28;
  --red-dark: #ca1715;
  --ink: #202020;
  --black: #050505;
  --soft: #f5f6f7;
  --muted: #6c6c6c;
  --line: #e8e8e8;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Guardian Sans", Arial, sans-serif;
  color: #666;
  background: #fff;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

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

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

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

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

iframe {
  border: 0;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 126px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0);
  transition: background 260ms ease, height 260ms ease, box-shadow 260ms ease;
}

.site-header.solid,
.site-header.is-scrolled {
  height: 106px;
  background: #242424;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.16);
}

.header-inner {
  width: min(1260px, calc(100% - 152px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.logo-link {
  flex: 0 0 auto;
  width: 286px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 31px;
  color: #fff;
  font-size: 16px;
  line-height: 28.8px;
  font-weight: 400;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--red);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 220ms ease, opacity 200ms ease;
}

/* Animate the burger bars into an X when the menu is open. */
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Visible close (X) button inside the mobile drawer. Hidden on desktop. */
.nav-close {
  display: none;
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.nav-close span {
  display: block;
  transform: translateY(-1px);
}

.nav-close:hover {
  color: var(--red);
}

/* Backdrop behind the open drawer. Hidden until opened. */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 19;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 260ms ease;
}

.nav-overlay.is-visible {
  opacity: 1;
}

.nav-overlay[hidden] {
  display: none;
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 190px 24px 104px;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 105%, rgba(255, 36, 36, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000 84%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
}

.hero-kicker {
  margin: 0 0 12px;
  color: #fff;
  font-family: "Sanomat-Medium-Web", Georgia, serif;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 10px;
}

.hero-title {
  margin: 0;
  font-family: "Sanomat-Medium-Web", Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6.4vw, 85px);
  line-height: 1.327;
  font-weight: 500;
  color: #fff;
}

.hero-title .red {
  color: var(--red);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 15px 36px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-family: "Guardian Sans", Arial, sans-serif;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.button.dark {
  background: #242424;
}

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

.button.dark:hover {
  background: #000;
}

.section {
  padding: 94px 24px;
  background: #fff;
}

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

.section.tight {
  padding-top: 62px;
  padding-bottom: 62px;
}

.content {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.1fr);
  gap: 74px;
  align-items: start;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: block;
  width: 70px;
  height: 1px;
  background: var(--red);
}

.eyebrow.left::after {
  display: none;
}

h1,
h2,
h3 {
  color: #151515;
  font-family: "Sanomat-Medium-Web", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.327;
}

h1 {
  font-size: clamp(42px, 4.2vw, 51.2px);
}

h2 {
  margin: 0;
  font-size: clamp(31px, 3vw, 36.8px);
}

h3 {
  margin: 0 0 13px;
  font-size: 24px;
  line-height: 32px;
}

.lead {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 28.8px;
}

.copy-stack {
  display: grid;
  gap: 22px;
}

.featured-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.roof-card {
  min-height: 390px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.roof-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

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

.roof-card-body {
  padding: 26px 28px 30px;
}

.roof-card-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.hover-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 410px;
}

.hover-tile {
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 410px;
  padding: 24px;
}

.hover-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transform: scale(1.03);
  transition: filter 300ms ease, transform 300ms ease;
  z-index: -2;
}

.hover-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

.hover-tile:hover img {
  filter: grayscale(0);
  transform: scale(1.09);
}

.hover-tile h3 {
  color: #fff;
  font-size: 30px;
  line-height: 1.08;
}

.black-cta {
  background: #000;
  color: #fff;
  padding: 76px 24px;
}

.black-cta .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.black-cta h2 {
  color: #fff;
  max-width: 710px;
}

.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 168px 24px 76px;
  color: #fff;
  background: #222;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 1;
}

.page-hero .content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--red);
  margin: 0 0 18px;
  max-width: 850px;
  font-size: clamp(42px, 4.2vw, 51.2px);
  line-height: 65.3722px;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #f2f2f2;
  font-size: 16px;
  line-height: 28.8px;
}

.crumbbar {
  background: #252525;
  color: #d6d6d6;
  padding: 20px 24px;
  font-size: 14px;
}

.crumbbar .content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.crumbbar a {
  color: #fff;
}

.slash {
  color: var(--red);
  font-weight: 700;
}

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

.index-card {
  min-height: 356px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.index-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.index-card img {
  width: 100%;
  aspect-ratio: 1.48;
  object-fit: cover;
}

.index-card-body {
  padding: 26px 26px 30px;
  flex: 1;
}

.index-card h2 {
  font-size: 21px;
  line-height: 29px;
  margin-bottom: 14px;
}

.index-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

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

.detail-copy {
  display: grid;
  gap: 28px;
}

.detail-copy p {
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 28.8px;
}

.detail-copy img {
  width: 100%;
  aspect-ratio: 1.85;
  object-fit: cover;
  margin: 12px 0 16px;
}

.detail-panel {
  border-left: 3px solid var(--red);
  padding: 28px;
  background: var(--soft);
}

.sidebar {
  position: sticky;
  top: 130px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
}

.sidebar h3 {
  font-size: 25px;
}

.sidebar a {
  display: block;
  padding: 12px 0;
  color: #555;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

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

.faq {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

details {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px 22px;
}

summary {
  color: #151515;
  cursor: pointer;
  font-weight: 500;
}

details p {
  margin-top: 13px;
}

.about-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
}

.image-overlay {
  position: relative;
}

.image-overlay img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
}

.overlay-card {
  position: absolute;
  right: -34px;
  bottom: 34px;
  width: 330px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
}

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

.mini-card {
  background: #fff;
  padding: 34px;
  border: 1px solid var(--line);
}

.mini-card .marker {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin-bottom: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 68px;
  align-items: start;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  gap: 7px;
}

.field-label {
  color: #2a2a2a;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.field {
  width: 100%;
  border: 0;
  background: #f0f0f0;
  min-height: 58px;
  padding: 16px 18px;
  font: inherit;
  color: #202020;
  border-radius: 0;
}

.field:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
  background: #fff;
}

select.field {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%23ed2a28' d='M7 9 0 2l1.4-1.4L7 6.2 12.6.6 14 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

textarea.field {
  min-height: 140px;
  resize: vertical;
}

.contact-list {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
}

.icon-dot {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 25px;
}

.map-band {
  min-height: 300px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.68) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.68) 1px, transparent 1px),
    #dfe7e5;
  background-size: 52px 52px;
  display: grid;
  place-items: center;
  color: #242424;
}

.map-card {
  background: #fff;
  padding: 26px 34px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  border-left: 4px solid var(--red);
}

.site-footer {
  background: #f0f1f2;
  color: #606060;
  padding: 68px 24px 0;
}

.footer-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.75fr 1fr;
  gap: 58px;
}

.footer-logo {
  width: 220px;
  padding: 14px 16px;
  margin-bottom: 26px;
  background: #242424;
}

.footer-col h3 {
  font-size: 24px;
  margin: 0 0 24px;
}

.footer-col h3::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--red);
  margin-top: 14px;
}

.footer-col a {
  display: block;
  margin: 8px 0;
  color: #454545;
}

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

.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid #d4d4d4;
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
}

.footer-bottom strong {
  color: var(--red);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .site-header,
  .site-header.solid,
  .site-header.is-scrolled {
    height: 82px;
    background: #000;
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .logo-link {
    width: 188px;
  }

  .menu-toggle {
    display: block;
  }

  /* Mobile nav becomes a full-height slide-in drawer from the right. */
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(86vw, 340px);
    max-width: 100%;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: #141414;
    box-shadow: -18px 0 48px rgba(0, 0, 0, 0.4);
    padding: 78px 28px 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(105%);
    transition: transform 300ms ease;
    visibility: hidden;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-close {
    display: block;
  }

  .site-nav a {
    padding: 16px 2px;
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a.active {
    color: var(--red);
  }

  .home-hero {
    min-height: 520px;
    padding-top: 128px;
  }

  .split-heading,
  .detail-grid,
  .about-feature,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .featured-strip,
  .index-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hover-grid {
    grid-template-columns: 1fr;
  }

  .hover-tile {
    min-height: 230px;
  }

  .black-cta .content {
    display: block;
  }

  .black-cta .button {
    margin-top: 26px;
  }

  .page-hero {
    min-height: 380px;
    padding-top: 128px;
  }

  .sidebar {
    position: static;
  }

  .overlay-card {
    position: static;
    width: auto;
    margin: -36px 20px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  /* Comfortable tap targets on mobile. */
  .button {
    min-height: 50px;
    padding: 15px 30px;
  }

  .footer-col a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 4px 0;
  }

  .contact-item a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  .map-card {
    width: calc(100% - 40px);
    max-width: 520px;
  }
}

/* Tablet / large-phone: stack the dense card decks to 2 columns. */
@media (max-width: 768px) {
  .featured-strip,
  .index-grid,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .section {
    padding: 72px 22px;
  }

  .black-cta {
    padding: 60px 22px;
  }

  .form-grid {
    margin-top: 22px !important;
  }
}

/* Phone: single-column card decks + tighter spacing. */
@media (max-width: 600px) {
  .featured-strip,
  .index-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .section {
    padding: 68px 20px;
  }

  .hero-kicker {
    font-size: 12px;
    letter-spacing: 5px;
  }

  .hero-title {
    font-size: 33px;
    line-height: 1.2;
  }

  .eyebrow::before,
  .eyebrow::after {
    width: 42px;
  }

  .roof-card {
    min-height: 0;
  }

  .page-hero {
    min-height: 320px;
    padding: 112px 20px 48px;
  }

  .page-hero h1 {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.2;
  }

  h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  h2 {
    font-size: clamp(26px, 6.5vw, 32px);
  }

  .black-cta h2 {
    font-size: clamp(26px, 6.5vw, 32px);
  }

  .footer-grid {
    padding: 0 4px;
  }
}

/* ===== Dayton polish: hero bg, mini-card links, mobile sticky CTA (?v=dpolish1) ===== */
.home-hero{ background-image:url('/images/hero/hero-commercial-roofing-dayton-oh-01.jpg') !important; background-size:cover !important; background-position:center !important; background-repeat:no-repeat !important; }
.mini-card--link{ display:block; text-decoration:none; color:inherit; transition:transform .18s, box-shadow .18s, border-color .18s; }
.mini-card--link:hover{ transform:translateY(-4px); box-shadow:0 16px 36px rgba(0,0,0,.16); border-color:#ed2a28; }
.mini-card--link h3::after{ content:" →"; color:#ed2a28; font-weight:800; }
.sticky-call{ position:fixed; right:16px; bottom:16px; z-index:140; display:none; align-items:center; gap:10px; padding:14px 20px;
  border-radius:999px; background:#ed2a28; color:#fff; font-weight:800; text-decoration:none; box-shadow:0 12px 30px rgba(0,0,0,.32); }
.sticky-call svg{ display:block }
@media (max-width:900px){ .sticky-call{ display:inline-flex; } }
