:root {
  --coal: #1d2429;
  --coal-deep: #101519;
  --slate: #52616a;
  --steel: #dce2e5;
  --paper: #f5f3ed;
  --white: #ffffff;
  --ink: #20282d;
  --muted: #59656c;
  --line: #cfd6da;
  --signal: #f4a923;
  --signal-dark: #8f4b00;
  --blue: #3e6d80;
  --shadow: 0 16px 38px rgba(16, 21, 25, 0.16);
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body {
  margin: 0;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

body,
button {
  font: inherit;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

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

[id] {
  scroll-margin-top: 92px;
}

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--coal-deep);
}

.skip-link {
  background: var(--signal);
  color: var(--coal-deep);
  font-weight: 900;
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: -100px;
  z-index: 2000;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 1.4rem;
  width: 100%;
}

.concept-banner {
  align-items: center;
  background: var(--signal);
  color: var(--coal-deep);
  display: flex;
  font-size: 0.88rem;
  font-weight: 900;
  gap: 1rem;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 1rem;
  text-align: center;
}

.concept-banner a {
  color: var(--coal-deep);
}

.roof-header {
  background: rgba(29, 36, 41, 0.98);
  border-bottom: 3px solid var(--signal);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.roof-header-inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  min-height: 76px;
  position: relative;
}

.roof-brand {
  align-items: center;
  color: var(--white);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 900;
  gap: 0.8rem;
  letter-spacing: 0;
  line-height: 1.2;
  max-width: 320px;
  text-decoration: none;
  text-transform: uppercase;
}

.roof-brand b {
  color: var(--signal);
}

.roof-mark {
  border-bottom: 15px solid var(--signal);
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  flex: 0 0 auto;
  height: 0;
  position: relative;
  width: 44px;
}

.roof-mark::after {
  background: var(--white);
  content: "";
  height: 15px;
  left: -13px;
  position: absolute;
  top: 15px;
  width: 26px;
}

.roof-nav {
  align-items: center;
  display: flex;
  gap: 0.1rem;
}

.roof-nav a {
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.89rem;
  font-weight: 800;
  padding: 0.65rem 0.62rem;
  text-decoration: none;
}

.roof-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.roof-nav .quote-link {
  background: var(--signal);
  color: var(--coal-deep);
  margin-left: 0.45rem;
  padding-inline: 0.9rem;
}

.roof-nav .quote-link:hover {
  background: #ffc04c;
}

.roof-toggle {
  align-items: center;
  background: var(--signal);
  border: 0;
  border-radius: var(--radius);
  color: var(--coal-deep);
  cursor: pointer;
  display: none;
  flex: 0 0 auto;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 44px;
}

.roof-toggle span:not(.sr-only) {
  background: currentColor;
  height: 2px;
  position: absolute;
  width: 22px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  font-size: 3.65rem;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
  max-width: 760px;
  text-transform: uppercase;
}

h2 {
  color: var(--coal-deep);
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

h3 {
  color: var(--coal-deep);
  font-size: 1.17rem;
  margin-bottom: 0.55rem;
}

.roof-eyebrow {
  color: var(--signal-dark);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.roof-hero {
  color: var(--white);
  min-height: 650px;
  overflow: hidden;
  position: relative;
}

.roof-hero-image,
.roof-hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.roof-hero-image {
  object-fit: cover;
  object-position: center;
}

.roof-hero-shade {
  background: linear-gradient(90deg, rgba(12, 17, 20, 0.94) 0%, rgba(12, 17, 20, 0.8) 44%, rgba(12, 17, 20, 0.2) 74%, rgba(12, 17, 20, 0.05) 100%);
}

.roof-hero-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 650px;
  padding-bottom: 5rem;
  padding-top: 5rem;
  position: relative;
  z-index: 1;
}

.roof-hero .roof-eyebrow {
  color: var(--signal);
}

.roof-lede {
  color: #eef2f3;
  font-size: 1.16rem;
  max-width: 680px;
}

.roof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.roof-actions.stacked {
  align-items: stretch;
  flex-direction: column;
  margin: 0;
}

.roof-button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 900;
  justify-content: center;
  min-height: 54px;
  padding: 0.8rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.roof-button span {
  font-size: 0.68rem;
  margin-left: 0.55rem;
  text-transform: none;
}

.roof-button-call {
  background: var(--signal);
  color: var(--coal-deep);
}

.roof-button-call:hover {
  background: #ffc04c;
}

.roof-button-quote {
  background: rgba(16, 21, 25, 0.62);
  border-color: rgba(255, 255, 255, 0.78);
  color: var(--white);
}

.roof-button-quote:hover {
  background: var(--white);
  color: var(--coal-deep);
}

.roof-button-dark {
  background: var(--coal);
  color: var(--white);
}

.roof-button-dark:hover {
  background: var(--blue);
}

.emergency-strip {
  background: var(--signal);
  color: var(--coal-deep);
  padding: 1.15rem 0;
}

.emergency-inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
}

.emergency-inner div {
  align-items: baseline;
  display: flex;
  gap: 1.1rem;
}

.emergency-inner strong {
  font-size: 1.05rem;
}

.emergency-inner span {
  color: #533a12;
}

.emergency-inner a {
  background: var(--coal-deep);
  border-radius: var(--radius);
  color: var(--white);
  flex: 0 0 auto;
  font-weight: 900;
  padding: 0.72rem 0.9rem;
  text-decoration: none;
}

.roof-section {
  padding: 5.6rem 0;
}

.roof-intro {
  margin-bottom: 2.6rem;
  max-width: 760px;
}

.roof-intro > p:last-child,
.project-intro > p,
.area-grid p,
.faq-grid p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.roof-service-list {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roof-service-list article {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 170px;
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.roof-service-list article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.roof-service-list article:nth-child(even) {
  padding-left: 1.5rem;
}

.roof-service-list article > span {
  color: var(--signal-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

.roof-service-list p {
  color: var(--muted);
  margin: 0;
}

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

.project-intro {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) 430px;
  max-width: none;
}

.project-intro > p {
  margin-bottom: 0.35rem;
}

.roof-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roof-project {
  background: var(--coal);
  box-shadow: 0 12px 30px rgba(15, 21, 24, 0.12);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.roof-project-wide {
  grid-column: 1 / -1;
}

.roof-project img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.roof-project-wide img {
  aspect-ratio: 16 / 7;
  object-position: center 46%;
}

.roof-project figcaption {
  align-items: center;
  background: linear-gradient(90deg, var(--coal-deep), var(--coal));
  color: var(--white);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.9rem 1rem;
}

.roof-project figcaption span {
  color: #c7d0d4;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.project-disclosure {
  border-left: 4px solid var(--signal);
  color: var(--muted);
  font-size: 0.84rem;
  margin: 1rem 0 0;
  padding: 0.55rem 0 0.55rem 0.9rem;
}

.areas {
  background: #e6eaeb;
}

.area-grid,
.faq-grid,
.roof-contact-panel {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr) 440px;
}

.area-list {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.area-list li {
  border-bottom: 1px solid #b8c2c7;
  color: var(--coal-deep);
  font-weight: 800;
  padding: 0.85rem 0.5rem 0.85rem 0;
}

.roof-process {
  background: var(--coal);
  color: var(--white);
}

.roof-process h2,
.roof-process h3 {
  color: var(--white);
}

.roof-process .roof-eyebrow {
  color: var(--signal);
}

.roof-process-list {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.roof-process-list li {
  background: #273138;
  min-height: 245px;
  padding: 1.5rem;
}

.roof-process-list span {
  color: var(--signal);
  display: block;
  font-size: 0.85rem;
  font-weight: 900;
  margin-bottom: 2rem;
}

.roof-process-list p {
  color: #d9e0e3;
  margin: 0;
}

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

.faq-grid {
  align-items: start;
}

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

details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

summary {
  color: var(--coal-deep);
  cursor: pointer;
  font-weight: 900;
  padding-right: 2rem;
}

details p {
  margin: 0.8rem 0 0;
}

.roof-standards {
  background: var(--white);
}

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

.standard-grid article {
  border: 1px solid var(--line);
  border-top: 5px solid var(--coal);
  min-height: 220px;
  padding: 1.5rem;
}

.standard-grid article:nth-child(2) {
  border-top-color: var(--signal);
}

.standard-grid span {
  color: var(--signal-dark);
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
}

.standard-grid p {
  color: #3f4b52;
}

.roof-contact {
  background: var(--signal);
  padding: 4.3rem 0;
}

.roof-contact-panel {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.roof-contact .roof-eyebrow {
  color: #5f3500;
}

.roof-contact p {
  color: #4b381b;
  margin-bottom: 0;
}

.roof-footer {
  background: var(--coal-deep);
  color: #ced7da;
  padding: 2.7rem 0;
}

.roof-footer-grid {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.25fr 1fr auto;
}

.roof-footer strong,
.roof-footer a {
  color: var(--white);
}

.roof-footer nav {
  display: grid;
  gap: 0.45rem;
}

.roof-footer p {
  margin-bottom: 0;
}

.roof-footer .studio-legal {
  color: #aebdc2;
  font-size: 0.8rem;
  grid-column: 1 / -1;
  line-height: 1.65;
  margin: 0;
}

.mobile-actions {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  a,
  button,
  summary,
  .roof-toggle span,
  .roof-project img { transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease, transform 220ms ease; }
  .roof-project:hover img { transform: scale(1.02); }
}

@media (max-width: 1040px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
  .roof-brand { max-width: 250px; }
  .roof-nav a { font-size: 0.83rem; padding-inline: 0.5rem; }
  .roof-process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roof-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .roof-toggle { display: inline-flex; }
  .roof-nav {
    align-items: stretch;
    background: var(--coal);
    border: 1px solid #3b484f;
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.15rem;
    left: 1.4rem;
    padding: 0.85rem;
    position: absolute;
    right: 1.4rem;
    top: 100%;
  }
  .js .roof-nav { display: none; }
  .js .roof-nav.is-open { display: grid; }
  .roof-nav a { font-size: 0.95rem; padding: 0.85rem; }
  .roof-nav .quote-link { margin: 0.35rem 0 0; text-align: center; }
  .project-intro,
  .area-grid,
  .faq-grid,
  .roof-contact-panel { grid-template-columns: 1fr; }
  .standard-grid { grid-template-columns: 1fr; }
  .standard-grid article { min-height: auto; }
  .emergency-inner div { align-items: flex-start; flex-direction: column; gap: 0.2rem; }
}

@media (max-width: 680px) {
  body { padding-bottom: 62px; }
  .container { padding-inline: 1rem; }
  .concept-banner { align-items: stretch; flex-direction: column; gap: 0.15rem; }
  .roof-header-inner { min-height: 68px; }
  .roof-brand { font-size: 0.78rem; max-width: 225px; }
  .roof-mark { border-bottom-width: 12px; border-left-width: 17px; border-right-width: 17px; width: 34px; }
  .roof-mark::after { height: 12px; left: -10px; top: 12px; width: 20px; }
  .roof-hero,
  .roof-hero-content { min-height: 610px; }
  .roof-hero-image { object-position: 64% center; }
  .roof-hero-shade { background: linear-gradient(90deg, rgba(12, 17, 20, 0.94), rgba(12, 17, 20, 0.72)); }
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.75rem; }
  .roof-lede { font-size: 1.05rem; }
  .roof-actions,
  .roof-button { width: 100%; }
  .roof-button { flex-direction: column; }
  .roof-button span { margin: 0.15rem 0 0; }
  .emergency-inner { align-items: stretch; flex-direction: column; gap: 0.9rem; }
  .emergency-inner a { text-align: center; }
  .roof-section { padding: 4.2rem 0; }
  .roof-service-list { grid-template-columns: 1fr; }
  .roof-service-list article,
  .roof-service-list article:nth-child(even) { border-right: 0; min-height: auto; padding: 1.25rem 0; }
  .roof-gallery { grid-template-columns: 1fr; }
  .roof-project-wide { grid-column: auto; }
  .roof-project-wide img { aspect-ratio: 4 / 3; }
  .roof-project figcaption { align-items: flex-start; flex-direction: column; gap: 0.15rem; }
  .area-list { grid-template-columns: 1fr; }
  .roof-process-list { grid-template-columns: 1fr; }
  .roof-process-list li { min-height: auto; }
  .roof-process-list span { margin-bottom: 1rem; }
  .mobile-actions {
    background: var(--coal-deep);
    bottom: 0;
    display: grid;
    gap: 1px;
    grid-template-columns: 1fr 1fr;
    left: 0;
    padding: 4px;
    position: fixed;
    right: 0;
    z-index: 80;
  }
  .mobile-actions a {
    align-items: center;
    background: var(--signal);
    color: var(--coal-deep);
    display: flex;
    font-size: 0.79rem;
    font-weight: 900;
    justify-content: center;
    min-height: 52px;
    padding: 0.45rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
  }
  .mobile-actions a:last-child { background: var(--white); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
