:root {
      color-scheme: dark;
      --black: #0c0c0b;
      --panel: #191918;
      --yellow: #ffd400;
      --paper: #f7f5ee;
      --muted: #c1beb6;
      --line: #373734;
      --edge: clamp(20px, 5vw, 80px);
      --wrap: 1400px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; background: var(--black); color: var(--paper); font: 17px/1.55 Arial, Helvetica, sans-serif; }
    h1, h2, h3, p, figure, blockquote { margin: 0; }
    h1, h2, h3 { text-wrap: balance; }
    h1, h2 { letter-spacing: -.055em; }
    h2 { font-size: clamp(32px, 3.7vw, 54px); line-height: 1.07; }
    h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.1; letter-spacing: -.035em; }
    a { color: inherit; }
    img { display: block; max-width: 100%; }
    button, input, select, textarea { font: inherit; }
    :focus-visible { outline: 3px solid #5fb9ff; outline-offset: 4px; }
    .wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--edge); }
    .skip { position: absolute; top: 8px; left: 10px; z-index: 9; padding: 8px 12px; background: var(--paper); color: #111; transform: translateY(-180%); }
    .skip:focus { transform: none; }
    .top { background: #050505; }
    .nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
    .brand { display: block; flex: none; }
    .brand img { width: 112px; height: auto; }
    .nav-links { display: flex; gap: clamp(18px, 2.8vw, 46px); align-items: center; }
    .nav-links a, .header-phone { text-decoration: none; font-size: 15px; font-weight: 700; }
    .nav-links a:hover, .footer a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
    .header-phone { display: inline-flex; align-items: center; gap: 9px; color: var(--yellow); }
    .header-phone svg { width: 17px; height: 17px; }
    .menu-wrap { display: none; }
    .hero { position: relative; isolation: isolate; background: #111; overflow: hidden; }
    .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 59% 50%; z-index: -2; }
    .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,5,5,.94) 0%, rgba(5,5,5,.85) 23%, rgba(5,5,5,.47) 48%, rgba(5,5,5,.04) 77%), linear-gradient(0deg,rgba(5,5,5,.27),transparent 32%); }
    .hero-inner { padding-block: clamp(48px, 5vw, 82px); min-height: clamp(428px, 35vw, 560px); display: flex; align-items: center; }
    .hero-copy { max-width: 590px; }
    .kicker { display: flex; gap: 10px; align-items: center; font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
    .kicker::before { content: ""; width: 28px; height: 3px; background: var(--yellow); flex: none; }
    h1 { font-size: clamp(48px, 5.6vw, 87px); line-height: .99; margin: 19px 0 17px; }
    h1 span { display: block; color: var(--yellow); }
    .hero-copy > p:not(.kicker) { max-width: 43ch; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.5; }
    .hero-actions { margin-top: 25px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 25px; }
    .button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; background: var(--yellow); color: #10100d; border: 0; border-radius: 4px; padding: 13px 20px; min-height: 48px; font-size: 16px; line-height: 1.3; font-weight: 750; text-decoration: none; cursor: pointer; }
    .button:hover { background: #ffe353; }
    .arrow { font-size: 1.18em; line-height: 1; font-weight: 400; }
    .text-link { font-size: 15px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
    .section { padding-block: clamp(44px, 5.4vw, 84px); }
    .services { border-bottom: 1px solid var(--line); }
    .service-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
    .cert { color: var(--muted); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
    .cert svg { width: 17px; height: 17px; color: var(--yellow); }
    .service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-block: 1px solid var(--line); }
    .service { display: flex; flex-direction: column; align-items: flex-start; padding: 23px clamp(17px, 2vw, 34px) 23px 0; color: inherit; text-decoration: none; }
    .service + .service { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.5vw, 42px); }
    .service svg { width: 36px; height: 30px; color: var(--yellow); margin-bottom: 17px; }
    .service p { color: var(--muted); max-width: 33ch; margin: 10px 0 18px; font-size: 16px; }
    .service .more { display: flex; align-items: center; gap: 9px; margin-top: auto; color: var(--yellow); font-size: 14px; font-weight: 700; }
    .service:hover .more { text-decoration: underline; text-underline-offset: 4px; }
    .anchor { display: block; height: 0; }
    .projects { background: var(--panel); }
    .project-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 26px; }
    .project-grid img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
    figcaption { margin-top: 10px; font-size: 16px; font-weight: 700; }
    .review { border-bottom: 1px solid var(--line); }
    .review-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: baseline; }
    .review h2 { color: var(--yellow); font-size: clamp(22px, 2.4vw, 33px); }
    blockquote { max-width: 32ch; font: 500 clamp(27px, 3.15vw, 47px)/1.15 Georgia, serif; letter-spacing: -.025em; }
    .review-credit { display: block; margin-top: 17px; color: var(--muted); font-weight: 700; font-size: 14px; }
    .estimate { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); grid-template-rows: auto 1fr; column-gap: clamp(30px, 6vw, 100px); }
    .estimate-intro p { color: var(--muted); margin-block: 15px 23px; max-width: 39ch; }
    .business-details a { text-underline-offset: 4px; }
    .contact-phone { display: block; width: fit-content; color: var(--yellow); font-size: clamp(22px, 2.2vw, 34px); font-weight: 700; letter-spacing: -.035em; }
    .contact-email { display: block; width: fit-content; font-size: 15px; margin-top: 7px; overflow-wrap: anywhere; }
    .business-details { grid-column: 1; grid-row: 2; }
    .estimate form { grid-column: 2; grid-row: 1 / span 2; }
    .business-details address { margin-top: 23px; color: var(--muted); font-style: normal; }
    form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(16px, 2.2vw, 32px); background: var(--panel); border: 1px solid var(--line); border-radius: 5px; }
    .field { display: flex; flex-direction: column; min-width: 0; gap: 5px; }
    label { font-size: 14px; font-weight: 700; }
    .full { grid-column: 1/-1; }
    input, textarea, select { width: 100%; min-height: 46px; padding: 10px 12px; background: #10100f; border: 1px solid #66655f; border-radius: 3px; color: var(--paper); font-size: 16px; }
    input::placeholder, textarea::placeholder { color: #aaa9a2; }
    textarea { min-height: 95px; resize: vertical; }
    .form-note { color: var(--muted); font-size: 13px; line-height: 1.5; }
    .estimate-spam { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .estimate-spam input { min-height: 0; }
    .footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
    .foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 24px; }
    .footer a { color: var(--paper); text-underline-offset: 4px; }
    .quick-bar { display: none; }
    [id] { scroll-margin-top: 18px; }
    @media (max-width: 950px) {
      .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
      .nav-links { gap: 18px; }
    }
    @media (max-width: 720px) {
      body { padding-bottom: calc(57px + env(safe-area-inset-bottom)); }
      .nav { min-height: 65px; gap: 12px; }
      .brand img { width: 92px; }
      .desktop-nav { display: none; }
      .menu-wrap { display: block; }
      .menu-wrap summary { display: flex; align-items: center; gap: 8px; padding: 10px 0 10px 6px; cursor: pointer; font-size: 15px; font-weight: 700; }
      .menu-wrap summary::-webkit-details-marker { display: none; }
      .menu-wrap summary svg { width: 17px; height: 17px; color: var(--yellow); }
      .menu-wrap .nav-links { position: absolute; left: 0; right: 0; top: 100%; z-index: 4; align-items: stretch; padding: 6px var(--edge) 12px; gap: 0; flex-direction: column; background: #0b0b0a; border-bottom: 1px solid var(--line); }
      .menu-wrap .nav-links a { padding: 10px 0; border-top: 1px solid var(--line); }
      .top { position: relative; z-index: 3; }
      .header-phone { margin-left: auto; font-size: 14px; }
      .header-phone svg { display: none; }
      .hero { display: flex; flex-direction: column; }
      .hero-photo { position: static; height: auto; aspect-ratio: 2.6/1; object-position: center; z-index: auto; }
      .hero::after { display: none; }
      .hero-inner { min-height: auto; margin: 0; padding-block: 24px 30px; }
      .hero-actions { margin-top: 19px; gap: 15px; }
      h1 { font-size: clamp(44px, 7.7vw, 57px); margin: 11px 0; }
      .hero .kicker { font-size: 10px; }
      .service-head { gap: 9px; margin-bottom: 18px; }
      .service-grid { grid-template-columns: 1fr; }
      .service, .service + .service { display: grid; grid-template-columns: 32px 1fr auto; gap: 4px 14px; align-items: start; border-left: 0; padding: 19px 0; }
      .service + .service { border-top: 1px solid var(--line); }
      .service svg { width: 30px; height: 25px; margin: 0; }
      .service h3 { grid-column: 2; }
      .service p { grid-column: 2; margin: 2px 0 0; font-size: 15px; }
      .service .more { grid-column: 3; grid-row: 1; margin: 0; }
      .service .more .link-label { display: none; }
      .project-grid { gap: 18px 12px; }
      figcaption { font-size: 14px; margin-top: 6px; }
      .review-grid, .estimate { grid-template-columns: 1fr; }
      .estimate { gap: 21px; }
      .estimate-intro p { margin-bottom: 0; }
      .business-details, .estimate form { grid-row: auto; grid-column: auto; }
      .review-grid { gap: 17px; }
      .section { padding-block: 36px; }
      .quick-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 5; display: grid; grid-template-columns: 1fr 1fr; background: #0c0c0b; border-top: 1px solid #3c3c36; padding-bottom: env(safe-area-inset-bottom); }
      .quick-bar a { min-height: 52px; display: flex; align-items: center; justify-content: center; color: var(--paper); font-size: 15px; font-weight: 700; text-decoration: none; }
      .quick-bar a:last-child { color: #121210; background: var(--yellow); }
    }
    @media (max-width: 480px) {
      form { grid-template-columns: 1fr; }
      .hero-copy > p:not(.kicker) { font-size: 16px; }
      .button { padding-inline: 15px; }
    }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  /* Keep the photo, headline and estimate action together at phone widths. */
@media (max-width: 720px) {
  .hero { display: block; }
  .hero .hero-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center var(--photo-position, 48%);
  }
  .hero::after {
    display: block;
    background: linear-gradient(0deg,rgba(5,5,5,.94) 0%,rgba(5,5,5,.79) 33%,rgba(5,5,5,.47) 62%,rgba(5,5,5,.08) 94%);
  }
  .hero .hero-inner {
    width: 100%;
    min-height: clamp(365px,72vw,450px);
    padding-block: 90px 30px;
    align-items: flex-end;
  }
  .hero .hero-copy { max-width: 520px; }
  .hero .hero-actions { gap: 13px 18px; }
  .hero .text-link { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 720px) {
  .nav { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; padding-block: 6px 0; }
  .nav .brand { grid-column: 1; grid-row: 1; }
  .nav .header-phone { grid-column: 2; grid-row: 1; justify-self: end; }
  .nav .desktop-nav { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: space-between; gap: 6px; border-top: 1px solid #292925; margin-top: 4px; }
  .nav .desktop-nav a { display: inline-flex; align-items: center; min-height: 42px; font-size: 14px; }
  .nav .menu-wrap { display: none; }
}


/* The same foreground, shade and photograph on each roofing page. */
.hero { background: #0c0c0b; }
.hero .hero-photo {
  z-index: 0;
  object-position: center center;
}
.hero::after {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5,5,5,.89), rgba(5,5,5,.79) 23%, rgba(5,5,5,.27) 52%, rgba(5,5,5,.04) 78%);
}
.hero .hero-inner { position: relative; z-index: 2; }
@media (max-width: 720px) {
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(9,9,9,.73), rgba(9,9,9,.85)), url("/mansion-roofing-9acbe730a9.jpg") center bottom / auto 425% no-repeat;
  }
  .hero .hero-photo {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 64%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 64%, transparent 100%);
    height: clamp(122px, 36vw, 245px);
    width: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .hero::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(12,12,11,.04) 43%, rgba(12,12,11,.28) 74%, transparent 100%);
    bottom: auto;
    height: clamp(122px, 36vw, 245px);
  }
  .hero .hero-inner {
    min-height: 0;
    padding-block: clamp(83px, 25vw, 185px) 30px;
    align-items: flex-end;
  }
  .hero .kicker { text-shadow: 0 1px 3px #000; }
}

    .service .cert { grid-column: 2 / -1; margin-bottom: 14px; }
    .service .cert svg { width: 17px; height: 17px; margin: 0; }
    @media (max-width: 720px) { .service .cert { margin: 3px 0 0; } }

/* Service page content and navigation */
.service-content { border-bottom: 1px solid var(--line); }
.service-content.soft { background: var(--panel); }
.service-content h2 { max-width: 22ch; }
.service-content p, .service-content li { color: var(--muted); }
.service-content p + p { margin-top: 14px; }
.service-content a { color: var(--paper); text-underline-offset: 4px; }
.service-tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 24px; border-top: 1px solid var(--line); }
.service-tile { padding: 21px 28px 24px 0; border-bottom: 1px solid var(--line); }
.service-tile h3 { margin: 0 0 10px; }
.service-tile p { max-width: 46ch; font-size: 16px; }
.service-tile h3::before { content: ""; display: block; width: 21px; height: 3px; background: var(--yellow); margin-bottom: 15px; }
.service-content .heading-copy { max-width: 70ch; margin-top: 16px; }
.info-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(26px,6vw,95px); }
.copy-stack { max-width: 72ch; }
.copy-stack ul { padding: 0; list-style: none; margin: 0; }
.copy-stack p + ul, .copy-stack ul + p { margin-top: 18px; }
.copy-stack li { position: relative; padding: 9px 0 9px 20px; border-bottom: 1px solid var(--line); }
.copy-stack li::before { content: ""; position: absolute; left: 1px; top: 1.18em; background: var(--yellow); width: 6px; height: 6px; }
.gallery-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 25px; }
.gallery-list img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 16px 1px; cursor: pointer; font-weight: 700; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; display: block; color: var(--yellow); font-size: 23px; line-height: 1; font-weight: 400; flex: none; }
.questions details[open] summary::after { content: '−'; }
.questions details p { padding-bottom: 18px; }
.service-switch { border-bottom: 1px solid var(--line); }
.service-switch .wrap { display: flex; flex-wrap: wrap; gap: 10px 25px; align-items: center; padding-block: 17px; }
.service-switch a { display: inline-flex; align-items: center; min-height: 38px; color: var(--paper); text-decoration: none; font-size: 15px; font-weight: 700; }
.service-switch a:hover { text-decoration: underline; text-underline-offset: 4px; }
.service-switch [aria-current] { color: var(--yellow); border-bottom: 2px solid var(--yellow); }
@media (max-width: 950px) {
  .service-tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .service-tile { padding: 18px 16px 18px 0; }
  .info-split { grid-template-columns: 1fr; gap: 18px; }
  .gallery-list { gap: 16px 12px; }
  .service-switch .wrap { gap: 0 18px; padding-block: 9px; }
  .service-switch a { font-size: 14px; }
}
@media (max-width: 540px) {
  .service-tiles { grid-template-columns: 1fr; }
  .service-tile { padding: 18px 0; }
  .service-tile h3 { display: flex; align-items: baseline; gap: 10px; }
  .service-tile h3::before { width: 14px; height: 2px; flex: none; transform: translateY(-.25em); margin: 0; }
  .gallery-list { grid-template-columns: 1fr; }
  .gallery-list img { aspect-ratio: 16/9; }
}
