@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Lexend:wght@400;500;600&family=Poppins:wght@400;600&display=swap');

:root {
  --orange: #eb4c00;
  --bright: #ff7a1b;
  --ink: #44382e;
  --body: #5d5650;
  --paper: #f0ece9;
  --paper-deep: #e6e0dc;
  --dark: #5a554f;
  --line: #dcd5d0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: #fff; font-family: Lexend, Arial, sans-serif; }
body:has(.lightbox) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
::selection { color: #fff; background: var(--orange); }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 4px; }
.page-width { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.pattern-bg { background-color: var(--paper); background-image: url('../images/renovate4-about-bg1.svg'); background-repeat: repeat; background-size: 520px auto; }

/* Header */
.site-header { position: relative; z-index: 20; height: 104px; padding: 0 max(26px, calc((100% - 1420px) / 2)); display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid #ece8e5; }
.header-logo { flex: 0 0 auto; }
.site-header img { width: 200px; height: auto; }
.nav { display: flex; align-items: center; gap: 42px; }
.nav a { position: relative; padding: 42px 0; font: 600 13px/1 Inter, sans-serif; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 29px; height: 2px; background: var(--orange); transform: scaleX(0); transition: .22s ease; }
.nav a:hover, .nav a.active { color: var(--orange); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 6px auto; background: var(--ink); transition: .2s ease; }
.menu-toggle.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Reusable */
.primary-button, .small-button { display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--orange); font: 600 13px/1 Poppins, sans-serif; transition: transform .2s ease, background .2s ease; }
.primary-button { gap: 12px; padding: 17px 25px; }
.small-button { min-width: 126px; padding: 13px 18px; }
.primary-button:hover, .small-button:hover { background: var(--bright); transform: translateY(-2px); }
.round-arrow { width: 86px; height: 86px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--orange); background: #fff; font-size: 22px; transition: .25s ease; }
.round-arrow:hover { color: #fff; background: var(--orange); border-color: var(--orange); transform: translateX(4px); }

/* Home */
.home-hero { min-height: 690px; display: grid; grid-template-columns: 340px 1fr; align-items: center; gap: 50px; }
.hero-copy h1 { margin: 0 0 35px; color: var(--orange); font: 500 clamp(42px, 4.7vw, 68px)/1.04 Lexend, sans-serif; letter-spacing: -.035em; }
.hero-copy p { max-width: 300px; margin: 0 0 40px; color: #645d57; font: 400 17px/1.5 Poppins, sans-serif; }
.hero-image-wrap { position: relative; overflow: hidden; max-width: 760px; justify-self: end; background: #f7c7b1; }
.hero-image-wrap::before { content: ''; position: absolute; z-index: 1; inset: 18% 19% 19%; background: var(--orange); transform: rotate(45deg); opacity: .92; }
.hero-image-wrap img { position: relative; z-index: 2; width: 100%; aspect-ratio: 1.27; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
.services-preview { padding: 85px 0 120px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 65px; }
.section-heading h2 { margin: 0; font: 500 clamp(28px, 3vw, 44px)/1.18 Lexend, sans-serif; }
.section-heading h2 span { display: block; color: var(--bright); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { min-width: 0; }
.service-card > a:first-child { display: block; overflow: hidden; }
.service-card img { width: 100%; aspect-ratio: 1.24; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.service-card:hover img { transform: scale(1.035); filter: saturate(.82); }
.service-card h3 { margin: 22px 0 0; font: 500 23px/1.2 Lexend, sans-serif; }
.service-card .small-button { margin-top: 14px; }
.why-home { padding: 105px 0 115px; background: var(--paper); }
.why-home h2, .why-about h2 { margin: 0 0 50px; font: 500 clamp(32px, 3.2vw, 48px)/1.15 Lexend, sans-serif; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.values-grid article { min-width: 0; }
.value-icon { width: 88px; height: 88px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 50%; }
.value-icon img { width: 42px; height: 42px; object-fit: contain; }
.values-grid h3 { margin: 0 0 14px; font-size: 20px; font-weight: 500; }
.values-grid p { max-width: 190px; margin: 0; color: var(--body); font: 400 14px/1.55 Poppins, sans-serif; }

/* Inner page heroes */
.inner-hero { min-height: 690px; display: flex; align-items: center; }
.inner-hero__grid { display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: clamp(50px, 8vw, 135px); }
.inner-hero__copy h1 { margin: 0 0 28px; color: var(--orange); font: 500 clamp(43px, 4vw, 64px)/1.05 Lexend, sans-serif; letter-spacing: -.025em; }
.inner-hero__copy > div { margin-bottom: 42px; }
.inner-hero__copy p { margin: 0; color: #2e2e2e; font: 400 17px/1.5 Poppins, sans-serif; }
.inner-hero__copy .round-arrow { margin-top: 52px; }
.inner-hero__image { position: relative; width: min(100%, 720px); overflow: hidden; background: var(--orange); }
.inner-hero__image::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(68,56,46,.06); pointer-events: none; }
.inner-hero__image img { width: 100%; height: 430px; object-fit: cover; object-position: center; }

/* About */
.mission { padding: 120px 0 130px; }
.mission__grid { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(440px, 1.15fr); gap: clamp(55px, 8vw, 125px); align-items: center; }
.mission__image { align-self: stretch; display: flex; align-items: center; }
.mission__image img { width: 100%; }
.mission__copy { padding: 35px 0; }
.mission__copy h2 { margin: 0 0 25px; font-size: clamp(36px, 3.2vw, 50px); font-weight: 500; }
.mission__copy p, .mission__copy li { color: var(--body); font: 400 15px/1.65 Poppins, sans-serif; }
.mission__copy ul { margin: 27px 0 0; padding-left: 20px; }
.mission__copy li { margin-bottom: 12px; }
.mission__copy strong { color: var(--ink); }
.why-about { position: relative; overflow: hidden; padding: 110px 0 125px; color: #fff; background: var(--dark); }
.why-about::after { content: ''; position: absolute; right: -40px; bottom: -80px; width: 540px; height: 420px; opacity: .11; background: url('../images/renovate4-about-bg2.svg') center/contain no-repeat; }
.why-about__layout { position: relative; min-height: 410px; }
.why-about .values-grid { position: relative; z-index: 2; grid-template-columns: repeat(2, 250px); justify-content: space-between; row-gap: 50px; }
.values-grid--light .value-icon { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.04); }
.values-grid--light .value-icon img { filter: grayscale(1) brightness(0) invert(1); }
.values-grid--light p { color: rgba(255,255,255,.62); }
.why-about__roof { position: absolute; z-index: 1; left: 50%; top: 51%; width: min(390px, 36vw); transform: translate(-50%, -50%); }
.stats { padding: 115px 0 130px; background: var(--paper); }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(820px, calc(100% - 48px)); }
.stats article, .stats figure { min-height: 280px; margin: 0; }
.stats article { display: flex; flex-direction: column; justify-content: flex-end; padding: 48px; background: #fff; }
.stats article strong { font: 500 clamp(42px, 5vw, 72px)/1 Lexend, sans-serif; }
.stats article span { margin-top: 8px; font: 400 14px/1.4 Poppins, sans-serif; }
.stats .stats__orange { color: #fff; background: var(--bright); }
.stats figure { overflow: hidden; }
.stats figure img { width: 100%; height: 100%; object-fit: cover; }

/* Services */
.services-page { padding: 115px 0 135px; background-color: #fff; background-size: 500px auto; }
.services-page__intro { max-width: 1020px; margin: 0 auto 85px; text-align: center; }
.services-page__intro > p { margin: 0 0 12px; color: var(--orange); font-size: 18px; }
.services-page__intro h2 { margin: 0 0 36px; font-size: clamp(38px, 4vw, 58px); font-weight: 500; }
.services-page__intro > div { color: var(--body); font: 400 15px/1.65 Poppins, sans-serif; }

/* Work */
.work-page { padding: 0 0 125px; background: var(--paper); }
.work-page .page-width { width: min(1320px, 100%); }
.work-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.work-page > .page-width > .work-gallery:first-child { grid-template-columns: repeat(3, 1fr); }
.work-gallery button { position: relative; overflow: hidden; min-height: 220px; padding: 0; border: 0; background: #ddd; }
.work-gallery img { width: 100%; height: 100%; aspect-ratio: 1.08; object-fit: cover; transition: transform .45s ease, filter .3s ease; }
.work-page > .page-width > .work-gallery:first-child img { aspect-ratio: 1.45; }
.work-gallery button > span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(235,76,0,.58); font-size: 30px; opacity: 0; transition: opacity .25s ease; }
.work-gallery button:hover img { transform: scale(1.045); }
.work-gallery button:hover > span { opacity: 1; }
.work-story { display: grid; grid-template-columns: 130px 1fr; gap: 35px; align-items: center; max-width: 1090px; margin: 110px auto; padding: 0 24px; }
.work-story > img { width: 112px; height: 112px; object-fit: cover; border-radius: 50%; background: var(--bright); }
.work-story h2 { margin: 0 0 8px; color: var(--orange); font-size: 19px; font-weight: 500; }
.work-story p { margin: 0; color: var(--body); font: 400 15px/1.6 Poppins, sans-serif; }
.lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 70px 100px; color: #fff; background: rgba(38,33,29,.95); }
.lightbox > img { max-width: min(1300px, 90vw); max-height: 82vh; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,.4); }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; color: #fff; background: transparent; }
.lightbox__close { top: 26px; right: 34px; padding: 10px; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.lightbox__nav { top: 50%; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: 22px; transform: translateY(-50%); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* Contact */
.contact-hero-copy { font-size: 20px !important; font-weight: 500 !important; }
.inspection { padding: 105px 0 0; background: var(--paper); text-align: center; }
.inspection h2 { margin: 0 0 32px; font-size: clamp(34px, 4vw, 56px); font-weight: 500; }
.inspection__phone { display: inline-block; margin-bottom: 70px; color: var(--bright); font-size: clamp(32px, 4vw, 54px); font-weight: 500; }
.contact-details { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto -95px; padding: 50px 35px; background: #fff; box-shadow: 0 18px 45px rgba(68,56,46,.04); }
.contact-details article { display: flex; flex-direction: column; align-items: center; padding: 0 25px; }
.contact-details article + article { border-left: 1px solid var(--line); }
.contact-details span { width: 74px; height: 74px; display: grid; place-items: center; margin-bottom: 25px; border: 1px solid var(--line); border-radius: 50%; }
.contact-details img { width: 35px; height: 35px; }
.contact-details p { margin: 0; color: var(--body); font: 400 14px/1.55 Poppins, sans-serif; }
.contact-panel { padding: 195px 0 140px; color: #fff; background-color: var(--dark); background-image: url('../images/renovate4-contact-bg2.svg'); background-repeat: repeat; background-size: 620px auto; }
.contact-panel__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(70px, 10vw, 150px); align-items: center; }
.contact-panel__grid > h2 { max-width: 430px; margin: 0; font-size: clamp(38px, 4.5vw, 68px); font-weight: 500; }
.contact-form { padding: clamp(35px, 5vw, 65px); background: rgba(255,255,255,.045); }
.contact-form h3 { margin: 0 0 40px; font-size: 30px; font-weight: 500; }
.contact-form label { display: block; }
.contact-form label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.contact-form input, .contact-form textarea { width: 100%; margin-bottom: 18px; padding: 14px 15px; color: #fff; border: 1px solid rgba(255,255,255,.38); border-radius: 0; outline: 0; background: transparent; font: 400 14px/1.4 Poppins, sans-serif; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--bright); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input[name='name']::placeholder { content: 'Full Name *'; }
.contact-form button { padding: 15px 24px; border: 0; color: #fff; background: var(--bright); font: 600 13px/1 Poppins, sans-serif; }
.form-status { min-height: 18px; margin: 13px 0 0; color: rgba(255,255,255,.7); font-size: 12px; }

/* CTA and footer */
.roofing-cta { padding: 55px 0; background: #f6f2ef; }
.roofing-cta__grid { display: grid; grid-template-columns: 1fr minmax(280px, 460px) 100px; gap: 40px; align-items: center; }
.roofing-cta p { margin: 0 0 10px; color: var(--orange); font-size: 15px; font-weight: 500; }
.roofing-cta h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); font-weight: 500; line-height: 1.18; }
.roofing-cta h2 a { color: var(--bright); }
.roofing-cta__grid > img { width: 100%; }
.footer { color: #fff; background: var(--dark); }
.footer__top { min-height: 300px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; align-items: center; }
.footer__top > div { font: 400 14px/1.65 Poppins, sans-serif; }
.footer__top > div:first-child { text-align: right; }
.footer__top strong { font-weight: 600; }
.footer__top p { margin: 13px 0 0; color: rgba(255,255,255,.82); }
.footer__top > a { justify-self: center; }
.footer__top img { width: 185px; }
.footer__bottom { padding: 30px 24px; border-top: 1px solid rgba(255,255,255,.11); text-align: center; color: rgba(255,255,255,.78); font: 400 12px/1.4 Poppins, sans-serif; }
.footer a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 980px) {
  .site-header { height: 84px; }
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 84px; left: 0; right: 0; display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 28px 24px; background: #fff; box-shadow: 0 16px 30px rgba(68,56,46,.1); }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 14px 0; }
  .nav a::after { right: auto; bottom: 7px; width: 34px; }
  .home-hero { grid-template-columns: 1fr; padding-top: 65px; padding-bottom: 65px; }
  .hero-image-wrap { justify-self: stretch; max-width: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  .inner-hero__grid { grid-template-columns: 260px 1fr; gap: 45px; }
  .inner-hero__image img { height: 380px; }
  .mission__grid { grid-template-columns: 1fr; }
  .mission__image { max-width: 640px; }
  .why-about .values-grid { grid-template-columns: repeat(2, 220px); }
  .work-gallery { grid-template-columns: repeat(3, 1fr); }
  .contact-panel__grid { grid-template-columns: 1fr; }
  .contact-panel__grid > h2 { max-width: 620px; }
  .roofing-cta__grid { grid-template-columns: 1fr minmax(240px, 390px) 86px; }
}

@media (max-width: 720px) {
  .page-width { width: min(100% - 32px, 1180px); }
  .site-header { padding: 0 16px; }
  .site-header img { width: 158px; }
  .hero-copy h1 { font-size: 44px; }
  .section-heading { align-items: flex-end; }
  .round-arrow { width: 62px; height: 62px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  .inner-hero { min-height: auto; padding: 70px 0; }
  .inner-hero__grid { grid-template-columns: 1fr; }
  .inner-hero__copy { max-width: 520px; }
  .inner-hero__copy .round-arrow { margin-top: 35px; }
  .inner-hero__image { width: 100%; }
  .mission { padding: 85px 0 95px; }
  .mission__grid { gap: 35px; }
  .why-about { padding: 85px 0 95px; }
  .why-about__layout { padding-bottom: 320px; }
  .why-about .values-grid { grid-template-columns: repeat(2, 1fr); }
  .why-about__roof { top: auto; bottom: -10px; width: 330px; }
  .stats { padding: 85px 0 100px; }
  .stats__grid { width: min(100% - 32px, 820px); }
  .stats article, .stats figure { min-height: 220px; }
  .stats article { padding: 28px; }
  .services-page { padding: 85px 0 100px; }
  .work-page .page-width { width: 100%; }
  .work-page > .page-width > .work-gallery:first-child, .work-gallery { grid-template-columns: repeat(2, 1fr); }
  .work-story { grid-template-columns: 90px 1fr; margin: 80px auto; padding: 0 20px; }
  .work-story > img { width: 82px; height: 82px; }
  .lightbox { padding: 70px 20px; }
  .lightbox__nav { top: auto; bottom: 18px; }
  .inspection { padding-top: 80px; }
  .contact-details { grid-template-columns: 1fr; gap: 34px; padding: 38px 24px; }
  .contact-details article + article { padding-top: 34px; border-top: 1px solid var(--line); border-left: 0; }
  .contact-panel { padding-top: 150px; }
  .roofing-cta__grid { grid-template-columns: 1fr 70px; }
  .roofing-cta__grid > img { grid-row: 2; grid-column: 1 / -1; max-width: 420px; }
  .roofing-cta .round-arrow { grid-column: 2; grid-row: 1; }
  .footer__top { grid-template-columns: 1fr; gap: 38px; padding: 65px 0; text-align: center; }
  .footer__top > div:first-child { text-align: center; }
  .footer__top > div:last-child { grid-row: 2; }
}

@media (max-width: 520px) {
  .home-hero { gap: 38px; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 30px 12px; }
  .service-card h3 { margin-top: 12px; font-size: 18px; }
  .service-card .small-button { min-width: 0; width: 100%; }
  .why-home { padding: 75px 0 85px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-icon { width: 74px; height: 74px; }
  .inner-hero__image img { height: 285px; }
  .why-about .values-grid { grid-template-columns: 1fr 1fr; gap: 38px 14px; }
  .why-about .values-grid h3 { font-size: 17px; }
  .why-about .values-grid p { font-size: 12px; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats article, .stats figure { min-height: 190px; }
  .stats figure { aspect-ratio: 1.45; }
  .work-gallery, .work-page > .page-width > .work-gallery:first-child { grid-template-columns: 1fr 1fr; }
  .work-gallery button { min-height: 160px; }
  .work-gallery img, .work-page > .page-width > .work-gallery:first-child img { aspect-ratio: 1; }
  .work-story { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .inspection__phone { font-size: 27px; }
  .roofing-cta__grid { gap: 22px; }
}

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