@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #102437;
  --ink: #14283a;
  --muted: #455663;
  --gold: #efbd86;
  --gold-light: #ffd7ad;
  --focus: #ad5d25;
  --cream: #fbf8f3;
  --paper: #fffdf9;
  --line: #dddcd5;
  --radius: 8px;
  --gutter: clamp(18px, 4vw, 55px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 "DM Sans", Arial, sans-serif; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: 750; line-height: 1.07; text-wrap: balance; }
h1 { font-size: clamp(3.25rem, 5.95vw, 5.7rem); letter-spacing: -.065em; }
h1 em { color: var(--gold); font-style: normal; }
h2 { font-size: clamp(2.15rem, 4.1vw, 3.65rem); letter-spacing: -.05em; }
h3 { font-size: 1.35rem; letter-spacing: -.03em; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.site-header, .photo-backdrop { --focus: #ffd7ad; }
.form-card { --focus: #ad5d25; }
.wrap { width: min(100% - var(--gutter) * 2, 1200px); margin-inline: auto; }
.icon { display: inline-block; flex: none; width: 1em; height: 1em; fill: currentColor; vertical-align: -.12em; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 5; padding: 10px 14px; color: var(--navy); background: var(--gold-light); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 1; background: #0c1e2f; color: white; border-bottom: 1px solid #fff3; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; padding-block: 9px; }
.brand { display: block; flex: none; border-radius: 3px; }
.brand img { width: 174px; }
.site-nav, .header-actions, .hero-actions { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.site-nav a { padding-block: 8px; color: #e0e8f0; font-size: .875rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--gold-light); }
.contact-link { display: inline-flex; align-items: center; gap: .6em; width: fit-content; font-weight: 700; text-decoration: none; transition: color .18s ease; }
.contact-link:hover, .contact-link:focus-visible { color: #8d461b; }
.site-header .contact-link:hover, .site-header .contact-link:focus-visible,
.photo-backdrop .contact-link:hover, .photo-backdrop .contact-link:focus-visible { color: var(--gold-light); }
.header-phone { font-size: .875rem; white-space: nowrap; }
.header-phone .icon { color: var(--gold); }

.button { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: .65em; min-height: 54px; padding: .72em 1.15em; border: 1px solid transparent; border-radius: var(--radius); background: var(--gold); color: var(--navy); font-size: .975rem; font-weight: 800; text-align: center; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.button:hover { background: var(--gold-light); }
.button-small { min-height: 43px; font-size: .845rem; }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: #244760; }

.photo-backdrop { color: white; background-color: var(--navy); background-repeat: no-repeat; background-size: cover; background-position: center; }
.hero { background-image: linear-gradient(105deg, #0d2336f7 5%, #102a40eb 42%, #142d40bd 100%), url("/assets/roof-ridge.webp"); background-position: center 45%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 78px); padding-block: clamp(55px, 6vw, 100px); }
.hero h1 span { white-space: nowrap; }
.eyebrow { display: flex; align-items: center; gap: .65em; margin-bottom: 14px; color: #754322; font-size: .75rem; font-weight: 800; letter-spacing: .145em; line-height: 1.4; text-transform: uppercase; }
.photo-backdrop .eyebrow { color: var(--gold-light); }
.hero-description { max-width: 34rem; margin-top: 21px; color: #e5ebf1; font-size: clamp(1.05rem, 1.7vw, 1.275rem); line-height: 1.54; }
.hero-actions { flex-wrap: wrap; margin-top: 29px; }
.hero-actions .contact-link { min-height: 44px; color: #ecf1f5; font-size: .925rem; }
.hero-actions .contact-link .icon { color: var(--gold); width: .78em; }
.hero-image { overflow: hidden; border: 1px solid #f7e7d88a; border-radius: var(--radius); background: #1a3547; box-shadow: 0 22px 48px #06121c50; }
.hero-image img { aspect-ratio: 4 / 3; object-fit: cover; }

.service-strip { background: #efe9e0; border-bottom: 1px solid #e0d7cb; }
.service-strip-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; list-style: none; }
.service-strip li { display: flex; align-items: center; justify-content: center; gap: .65em; padding: 20px 10px; font-size: .925rem; font-weight: 750; }
.service-strip li + li { border-left: 1px solid #d9d1c7; }
.service-strip .icon { color: #8c5229; }

.section { padding-block: clamp(61px, 7.5vw, 110px); scroll-margin-top: 18px; }
.section-intro { margin-bottom: clamp(25px, 3.2vw, 42px); }
.section-intro > p:last-child { max-width: 40rem; margin-top: 13px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.115rem); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(15px, 2.2vw, 28px); }
.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.service-card img { aspect-ratio: 8 / 5; object-fit: cover; background: #e6e5df; }
.service-copy { padding: clamp(18px, 2.3vw, 28px); }
.service-copy p { margin-top: 10px; color: var(--muted); }
.other-services { margin-top: 24px; color: var(--muted); }
.other-services strong { color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6.2vw, 90px); }
.process { background: #edf1f3; }
.process .section-intro { margin-bottom: 24px; }
.process-steps { list-style: none; padding: 0; margin-bottom: 25px; border-top: 1px solid #ccd5db; }
.process-steps li { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 16px; padding-block: 15px; border-bottom: 1px solid #ccd5db; }
.step-number { display: grid; min-width: 39px; min-height: 39px; place-items: center; color: #764423; background: #f8e8d6; border-radius: var(--radius); font-weight: 800; font-size: .83rem; }
.process-steps h3 { font-size: 1.14rem; }
.process-steps p { margin-top: 5px; color: var(--muted); }
.process-image, .questions-image { overflow: hidden; border-radius: var(--radius); background: #e6e5df; }
.process-image img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 25% center; }
.questions-image img { aspect-ratio: 5 / 4; object-fit: cover; }

.questions { background: var(--cream); }
.questions .section-intro { margin-bottom: 24px; }
.faq-list { display: grid; gap: 8px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.faq-list details[data-animating] { overflow: hidden; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 17px; border-radius: var(--radius); list-style: none; cursor: pointer; font-weight: 750; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: #f4efe8; }
.faq-list summary:focus-visible { outline-offset: -3px; }
.faq-list .faq-icon { color: #865127; width: .82em; transition: transform .25s ease; }
.faq-list details[open]:not([data-closing]) .faq-icon { transform: rotate(180deg); }
.faq-list details p { padding: 0 17px 16px; color: var(--muted); }

.enquiry { background-image: linear-gradient(102deg, #0e2639f5, #132b3ce0), url("/assets/roof-detail.webp"); background-position: center 49%; }
.enquiry-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: center; gap: clamp(30px, 6vw, 85px); }
.enquiry-copy > p:not(.eyebrow) { max-width: 35rem; margin-top: 15px; color: #e5ebf1; font-size: 1.12rem; }
.enquiry-copy address { display: grid; gap: 6px; margin-top: 23px; }
.enquiry-copy address .contact-link { min-height: 36px; overflow-wrap: anywhere; }
.enquiry-copy address .icon { color: var(--gold); }
.form-card { min-width: 0; padding: clamp(18px, 3vw, 34px); border-radius: var(--radius); background: white; color: var(--ink); box-shadow: 0 14px 40px #06121c40; scroll-margin-top: 18px; }
.form-card h3 { font-size: clamp(1.55rem, 2.8vw, 2rem); }
.form-card > p { margin-top: 8px; color: var(--muted); font-size: .925rem; }
.form-frame { display: block; width: 100%; max-width: 100%; margin-top: 9px; border: 0; border-radius: 4px; background: white; }

.site-footer { background-image: linear-gradient(#0a1d2df5, #0a1d2dfa), url("/assets/roof-detail.webp"); border-top: 1px solid #fff2; }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-block: 25px; font-size: .9rem; }
.footer-main .brand img { width: 146px; }
.footer-area { display: flex; align-items: center; gap: .6em; color: #e0e8ef; }
.footer-area .icon, .footer-main .contact-link .icon { color: var(--gold); }
.footer-legal { border-top: 1px solid #fff3; padding-block: 15px 19px; color: #c7d4df; font-size: .82rem; }

.confirmation-page { display: flex; flex-direction: column; min-height: 100vh; }
.confirmation { display: grid; align-items: center; flex: 1; background-image: linear-gradient(110deg, #0c2235f7, #122c41d9), url("/assets/roof-detail.webp"); }
.confirmation h1 { font-size: clamp(3rem, 5.5vw, 5rem); }
.confirmation .header-inner { justify-content: space-between; }

@media (max-width: 960px) {
  .site-nav { display: none; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 68px; gap: 10px; }
  .brand img { width: clamp(113px, 29vw, 155px); }
  .header-actions { gap: 9px; }
  .header-actions .header-phone { display: none; }
  .button-small { padding-inline: .7em; font-size: .79rem; }
  .hero { background-image: linear-gradient(155deg, #0d2336f5 5%, #102a40e8 48%, #142d40bc 100%), url("/assets/roof-ridge-small.webp"); }
  .hero-grid, .split, .enquiry-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-block: 42px; }
  .hero h1 { font-size: clamp(2.5rem, 13vw, 3.65rem); }
  .hero h1 span { display: block; white-space: normal; }
  .hero-description { margin-top: 14px; }
  .hero-actions { gap: 9px 18px; margin-top: 20px; }
  .desktop-break { display: none; }
  .service-strip li { flex-direction: column; justify-content: flex-start; text-align: center; gap: 7px; padding: 12px 6px; font-size: .76rem; line-height: 1.25; }
  .service-strip .icon { font-size: .94rem; }
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .process-image img, .questions-image img { aspect-ratio: 4 / 3; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 13px; }
  .confirmation-page .header-inner .contact-link { font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
