:root {
    --ink: #173137;
    --muted: #617071;
    --cream: #f6f5ef;
    --gold: #eec665;
    --line: #d9dfda
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px
}

body {
    margin: 0;
    font-family: Arial,Helvetica,sans-serif;
    background: #fff;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6
}

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

button,input,textarea,select {
    font: inherit
}

button,a,input,select,textarea {
    -webkit-tap-highlight-color: transparent
}

a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
    outline: 3px solid #9a7117;
    outline-offset: 5px
}

.wrap {
    max-width: 1240px;
    margin: auto;
    width: calc(100% - 96px)
}

.topbar {
    background: var(--ink);
    color: #e2e9e7;
    font-size: 10px;
    letter-spacing: 1.7px
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    padding: 9px 0
}

.topbar span:last-child {
    letter-spacing: .6px
}

header {
    background: var(--cream);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #e6e7df
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 92px;
    gap: 32px
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    line-height: 1;
    color: var(--ink)
}

.brand svg {
    width: 44px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: square
}

.brand>span {
    font-size: 25px;
    letter-spacing: 2px;
    font-weight: 800
}

.brand small {
    display: block;
    font-size: 10px;
    letter-spacing: 4px;
    margin-top: 8px
}

nav {
    display: flex;
    gap: 29px;
    font-size: 13px;
    font-weight: 600
}

nav a:hover {
    color: #976b12
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: var(--gold);
    color: var(--ink);
    padding: 17px 24px;
    border: 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s,transform .2s
}

.button:hover {
    background: #f5d78f;
    transform: translateY(-2px)
}

.button span {
    font-size: 22px;
    font-weight: 400;
    line-height: 1
}

.button.compact {
    font-size: 12px;
    padding: 14px 19px;
    gap: 26px
}

.menu {
    display: none
}

.hero {
    position: relative;
    min-height: 690px;
    background: var(--ink) url('assets/roof-hero.webp') center 53%/cover;
    color: #fff
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(8,27,32,.85),rgba(8,27,32,.50) 48%,rgba(8,27,32,.05)),linear-gradient(0deg,rgba(8,27,32,.5),transparent 30%)
}

.hero-inner {
    position: relative;
    padding-top: 98px
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 2.2px;
    font-weight: 700;
    color: #677675;
    margin-bottom: 24px
}

.eyebrow.light {
    color: #e0e5e1
}

.hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px
}

.hero .eyebrow span {
    background: var(--gold);
    height: 6px;
    width: 6px;
    border-radius: 50%
}

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

h1 {
    font-size: clamp(48px,5.8vw,83px);
    font-weight: 500;
    letter-spacing: -3.5px;
    line-height: 1.06;
    margin-bottom: 27px
}

em {
    font-family: Georgia,serif;
    font-weight: 400;
    color: var(--gold)
}

.hero p {
    font-size: 16px;
    line-height: 1.8;
    max-width: 490px;
    color: #e2e8e4;
    margin-bottom: 30px
}

.actions {
    display: flex;
    align-items: center;
    gap: 30px
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid #ffffff55;
    padding-bottom: 7px
}

.text-link.dark {
    border-color: #abb6b2
}

.hero-bottom {
    margin-top: 89px;
    padding: 21px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #ffffff30;
    font-size: 9px;
    letter-spacing: 1.5px
}

.hero-bottom a {
    letter-spacing: .3px;
    font-size: 11px
}

.image-note {
    position: absolute;
    bottom: 3px;
    right: 16px;
    font-size: 8px;
    opacity: .75
}

.service-ribbon {
    background: var(--ink);
    color: #dce6df
}

.service-ribbon .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 23px 0;
    gap: 20px;
    font-size: 13px;
    letter-spacing: .5px
}

.service-ribbon b {
    font-size: 13px;
    color: var(--gold);
    font-weight: 400
}

.section {
    padding-top: 104px;
    padding-bottom: 104px
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 55px;
    margin-bottom: 48px
}

.section-heading .eyebrow {
    margin-bottom: 17px
}

h2 {
    font-size: clamp(32px,3.5vw,49px);
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -1.9px;
    margin-bottom: 24px
}

.section-heading h2 {
    margin: 0
}

.section-heading>p {
    max-width: 365px;
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line)
}

.service {
    padding: 29px 30px 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-height: 277px;
    transition: background .2s
}

.service:hover {
    background: var(--cream)
}

.number {
    font-size: 10px;
    letter-spacing: 1px;
    color: #7f8e87;
    margin-bottom: 27px
}

h3 {
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.5px
}

.service p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 300px
}

.service-foot {
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    font-weight: 700
}

.service-foot b {
    font-size: 22px;
    font-weight: 400
}

.about {
    background: var(--cream)
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: center
}

.about-image {
    height: 610px;
    position: relative;
    overflow: hidden
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center
}

.about-image:after {
    content: '';
    position: absolute;
    inset: 50% 0 0;
    background: linear-gradient(transparent,#102b35a8)
}

.about-image>span {
    position: absolute;
    bottom: 26px;
    left: 28px;
    color: #fff;
    z-index: 1;
    font-size: 10px;
    letter-spacing: 2px
}

.about p,.area-grid p,.estimate-grid>div>p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85
}

.about-points {
    margin: 30px 0
}

.about-points>div {
    display: flex;
    gap: 17px;
    margin: 18px 0
}

.about-points>div>span {
    border: 1px solid #cbd4cc;
    width: 34px;
    height: 34px;
    text-align: center;
    flex-shrink: 0
}

.about-points p {
    font-size: 12px;
    margin: 0
}

.about-points strong {
    display: block;
    font-size: 13px;
    color: var(--ink);
    margin-bottom: 3px
}

.options {
    display: grid;
    grid-template-columns: .85fr 1.4fr;
    gap: 64px
}

.options [role=tablist] {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line)
}

.options [role=tab] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 28px 23px;
    background: #fff;
    color: var(--ink);
    font-size: 16px;
    cursor: pointer
}

.options [role=tab][aria-selected=true] {
    background: var(--ink);
    color: white;
    border-color: var(--ink)
}

.options [role=tab] span {
    font-size: 23px;
    color: #9aa89e
}

.options [role=tabpanel] {
    padding: 39px 43px;
    background: var(--cream);
    border-left: 3px solid var(--gold)
}

.options h3 {
    font-size: 36px;
    line-height: 1.12;
    letter-spacing: -1px
}

.options .eyebrow {
    display: block;
    font-size: 9px;
    margin-bottom: 17px
}

.options p {
    font-size: 14px;
    color: var(--muted)
}

dl {
    font-size: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    border-top: 1px solid #d9dfd6;
    padding-top: 22px;
    margin-bottom: 28px
}

dt {
    font-weight: 700;
    margin-bottom: 6px
}

dd {
    margin: 0;
    color: var(--muted)
}

.process {
    background: var(--ink);
    color: #fff
}

.process h2 {
    color: #fff
}

.process .section-heading>p {
    color: #b5c2bd
}

.steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 38px;
    margin-top: 55px
}

.steps>article {
    border-top: 1px solid #53635e;
    padding-top: 24px
}

.steps span {
    color: var(--gold);
    font-size: 12px
}

.steps h3 {
    font-size: 20px;
    margin: 26px 0 16px
}

.steps p {
    font-size: 13px;
    color: #b5c2bd;
    line-height: 1.85;
    margin: 0
}

.area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 130px;
    align-items: center
}

.area-grid p {
    max-width: 350px;
    margin-bottom: 24px
}

.areas {
    border-top: 1px solid var(--line)
}

.areas>div {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 23px;
    letter-spacing: -.5px
}

.areas span {
    color: #8b9892;
    font-size: 10px;
    letter-spacing: 1px
}

.areas b {
    margin-left: auto;
    font-size: 20px;
    font-weight: 400;
    color: #8b9892
}

.faq {
    background: var(--cream)
}

.faq-grid {
    display: grid;
    grid-template-columns: .7fr 1.4fr;
    gap: 65px
}

details {
    border-bottom: 1px solid #d8ded6;
    padding: 20px 0
}

details:first-child {
    border-top: 1px solid #d8ded6
}

summary {
    font-size: 15px;
    font-weight: 500;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    cursor: pointer
}

summary::-webkit-details-marker {
    display: none
}

summary span {
    font-size: 23px;
    font-weight: 400;
    color: #76847c
}

details[open] summary span {
    transform: rotate(45deg)
}

details p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
    margin: 18px 35px 0 0
}

.estimate-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 96px;
    align-items: start
}

.estimate-grid h2 em {
    color: #937225
}

.estimate-grid>div>p {
    max-width: 345px
}

.contact-note {
    border-left: 2px solid var(--gold);
    padding: 5px 0 5px 20px;
    margin-top: 43px;
    max-width: 350px
}

.contact-note strong {
    font-size: 12px
}

.contact-note p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin: 8px 0 0
}

form {
    padding: 35px;
    background: var(--cream)
}

label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: .3px
}

input,textarea,select {
    width: 100%;
    display: block;
    margin-top: 7px;
    background: #fff;
    color: var(--ink);
    border: 1px solid #d5dbd3;
    border-radius: 0;
    padding: 13px 12px;
    font-size: 13px;
    min-height: 46px
}

textarea {
    resize: vertical
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

form .button {
    width: 100%;
    margin-top: 2px
}

.form-fine {
    font-size: 10px;
    color: var(--muted);
    margin: 12px 0 0
}

#form-result {
    font-size: 13px;
    margin-top: 20px;
    border-top: 1px solid var(--line);
    padding-top: 20px
}

#form-result a {
    text-decoration: underline
}

footer {
    background: var(--ink);
    color: #d4dfd8
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 50px 0
}

.footer-top .brand {
    color: #fff
}

.footer-top p {
    font-size: 13px;
    color: #b0beb8;
    margin: 0
}

.footer-top>a:last-child {
    font-size: 13px;
    color: var(--gold)
}

.footer-bottom {
    border-top: 1px solid #40574e;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 24px 0;
    font-size: 9px;
    color: #afbeb8;
    letter-spacing: .3px
}

@media(min-width: 1600px) {
    .hero {
        min-height:770px
    }

    .hero-inner {
        padding-top: 125px
    }

    .hero-bottom {
        margin-top: 110px
    }
}

@media(max-width: 1050px) {
    .wrap {
        width:calc(100% - 56px)
    }

    nav {
        gap: 18px
    }

    .nav {
        gap: 16px
    }

    .brand>span {
        font-size: 21px
    }

    .button.compact {
        gap: 16px
    }

    .about-grid {
        gap: 45px
    }

    .about-image {
        height: 600px
    }

    .area-grid {
        gap: 65px
    }

    .estimate-grid {
        gap: 45px
    }

    .options {
        gap: 30px
    }

    .service {
        padding: 24px
    }

    .steps {
        gap: 24px
    }
}

@media(max-width: 800px) {
    .wrap {
        width:calc(100% - 40px)
    }

    .topbar span:last-child {
        display: none
    }

    .topbar {
        font-size: 8px
    }

    .nav {
        height: 77px
    }

    .nav>.button {
        margin-left: auto
    }

    .menu {
        display: block;
        border: 0;
        background: none;
        font-size: 23px;
        color: var(--ink);
        padding: 5px
    }

    .nav nav {
        display: none;
        position: absolute;
        top: 77px;
        left: 0;
        right: 0;
        background: var(--cream);
        padding: 24px;
        box-shadow: 0 10px 15px #17313712
    }

    .nav nav.open {
        display: flex;
        flex-direction: column;
        gap: 20px
    }

    .hero {
        min-height: 650px;
        background-position: 61% center
    }

    .hero-inner {
        padding-top: 80px
    }

    .hero-shade {
        background: linear-gradient(90deg,#08202bda,#08202b80)
    }

    h1 {
        letter-spacing: -2px;
        font-size: 64px
    }

    .hero p {
        max-width: 460px
    }

    .hero-bottom {
        margin-top: 65px;
        flex-direction: column;
        align-items: start;
        gap: 12px
    }

    .service-ribbon .wrap {
        font-size: 11px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px
    }

    .service-ribbon b {
        font-size: 10px
    }

    .section {
        padding-top: 70px;
        padding-bottom: 70px
    }

    .section-heading {
        display: block;
        margin-bottom: 33px
    }

    .section-heading>p {
        margin: 22px 0 0;
        max-width: 480px
    }

    .services-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .about-image {
        height: 430px
    }

    .about-image img {
        object-position: center 60%
    }

    .about-grid>div:last-child {
        max-width: 550px
    }

    .options {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .options [role=tablist] {
        flex-direction: row;
        border: none
    }

    .options [role=tab] {
        flex: 1;
        font-size: 13px;
        padding: 20px 15px;
        gap: 10px;
        border: 1px solid var(--line)
    }

    .options [role=tab] span {
        display: none
    }

    .steps {
        grid-template-columns: repeat(2,1fr);
        gap: 35px
    }

    .area-grid,.faq-grid,.estimate-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .area-grid p {
        max-width: 460px
    }

    .faq-grid {
        gap: 10px
    }

    .footer-top {
        flex-wrap: wrap
    }

    .footer-bottom {
        flex-wrap: wrap;
        justify-content: flex-start
    }

    .footer-bottom>a {
        margin-left: auto
    }
}

@media(max-width: 480px) {
    .nav>.button {
        font-size:10px;
        padding: 12px;
        gap: 12px
    }

    .brand svg {
        width: 31px
    }

    .brand {
        gap: 7px
    }

    .brand>span {
        font-size: 18px;
        letter-spacing: 1.5px
    }

    .brand small {
        font-size: 8px;
        letter-spacing: 3px
    }

    .hero {
        min-height: 690px
    }

    .hero .eyebrow {
        font-size: 8px;
        letter-spacing: 1.5px;
        line-height: 1.7;
        max-width: 270px
    }

    h1 {
        font-size: 56px;
        letter-spacing: -2.4px
    }

    .hero-inner {
        padding-top: 70px
    }

    .hero p {
        font-size: 14px
    }

    .actions {
        align-items: start;
        flex-direction: column;
        gap: 22px
    }

    .hero-bottom {
        margin-top: 50px
    }

    .service-ribbon .wrap {
        gap: 9px;
        font-size: 9px
    }

    .service-ribbon b {
        font-size: 7px
    }

    h2 {
        font-size: 35px;
        letter-spacing: -1.1px
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .service {
        min-height: 230px
    }

    .number {
        margin-bottom: 17px
    }

    .service p {
        max-width: 100%
    }

    .about-image {
        height: 360px
    }

    .about-image>span {
        font-size: 8px;
        left: 20px
    }

    .options [role=tab] {
        padding: 17px 10px;
        font-size: 11px
    }

    .options [role=tabpanel] {
        padding: 27px
    }

    .options h3 {
        font-size: 30px
    }

    dl {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .steps {
        gap: 25px
    }

    .steps h3 {
        font-size: 18px
    }

    .steps p {
        font-size: 12px
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0
    }

    form {
        padding: 24px
    }

    .footer-top {
        gap: 25px
    }

    .footer-top p {
        width: 100%
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px
    }

    .footer-bottom>a {
        margin-left: 0
    }

    .eyebrow {
        font-size: 9px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,*:before,*:after {
        transition: none!important
    }
}

.company-logo {
    width: 190px;
    height: auto;
    display: block
}

.footer-top .brand {
    background: #fff;
    padding: 12px 16px
}

.topbar a {
    letter-spacing: .5px
}

.contact-note a {
    text-decoration: underline;
    text-underline-offset: 3px
}

.form-captcha {
    margin: 4px 0 16px;
    min-height: 78px
}

#form-result.error {
    color: #b3261e
}

form .button:disabled {
    opacity: .6;
    cursor: wait
}

@media(max-width: 1050px) {
    .company-logo {
        width:160px
    }
}

@media(max-width: 800px) {
    .topbar a {
        margin-left:auto;
        font-size: 9px
    }

    .topbar .wrap {
        gap: 16px
    }

    .topbar span {
        font-size: 7px;
        letter-spacing: .7px
    }
}

@media(max-width: 480px) {
    .company-logo {
        width:142px
    }

    .topbar span {
        font-size: 6px
    }
}
