:root {
    --orange: #c1560a;
    --orange-deep: #994006;
    --cream: #f1e4ce;
    --cream-light: #fff8ea;
    --green: #008d21;
    --green-deep: #00781c;
    --kicker: #cf8f42;
    --white: #fffdf7;
    --display: "Teko", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    --condensed: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
    --body: "Segoe UI", Arial, sans-serif;
    --script: "Shadows Into Light", "Segoe Script", "Bradley Hand", cursive;
    --kicker-line-thickness: 1px;
    --coming-soon-hero-pines: url("../img/hero-pine-branches.png");
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    overscroll-behavior: none;
}

body {
    color: var(--green-deep);
    background: var(--cream);
    font-family: var(--body);
    line-height: 1.45;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    z-index: 20;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    color: var(--green);
    background: var(--cream-light);
    border-radius: 8px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.stage {
    position: relative;
    height: 100svh;
    height: 100dvh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 28%, rgb(255 255 255 / 48%), transparent 38%),
        repeating-linear-gradient(104deg, transparent 0 24px, rgb(113 71 35 / 3%) 25px 26px),
        var(--cream);
}

.pines {
    position: absolute;
    inset: -4%;
    z-index: 0;
    pointer-events: none;
    background-image: var(--coming-soon-hero-pines);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.55;
}

.copy-inner {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100% - 48px));
    padding: clamp(16px, 3vh, 32px) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand-plaque {
    position: relative;
    width: clamp(220px, 28vw, 340px);
    margin-bottom: clamp(12px, 2.2vh, 22px);
    padding: 12px 28px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(95deg, rgb(255 255 255 / 42%), transparent 38%, rgb(118 69 31 / 8%)),
        repeating-linear-gradient(0deg, transparent 0 15px, rgb(92 55 26 / 5%) 16px 17px),
        #ead6b5;
    border: 3px solid #754321;
    border-radius: 13px 16px 12px 15px;
    box-shadow: 0 6px 0 #482711, 0 14px 26px rgb(0 0 0 / 18%);
    transform: rotate(-0.4deg);
    transform-origin: top center;
    opacity: 0;
}

.brand-plaque::before,
.brand-plaque::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    top: 8px;
    border-radius: 50%;
    background: #7e664e;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 65%);
}

.brand-plaque::before {
    left: 12px;
}

.brand-plaque::after {
    right: 12px;
}

.brand-plaque img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: clamp(42px, 5.4vh, 58px);
    object-fit: contain;
    mix-blend-mode: multiply;
}

html.is-ready .brand-plaque {
    opacity: 1;
    animation: plaque-hang 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.is-ready .brand-plaque.is-hung {
    opacity: 1;
    animation: plaque-sway 7.5s ease-in-out infinite;
}

@keyframes plaque-hang {
    0% {
        opacity: 0;
        transform: rotate(-9deg) translateY(-36px);
    }

    62% {
        opacity: 1;
        transform: rotate(1.4deg) translateY(5px);
    }

    100% {
        opacity: 1;
        transform: rotate(-0.4deg) translateY(0);
    }
}

@keyframes plaque-sway {
    0%,
    100% {
        opacity: 1;
        transform: rotate(-0.7deg);
    }

    50% {
        opacity: 1;
        transform: rotate(0.5deg);
    }
}

.kicker-wrap {
    width: fit-content;
}

.kicker-pines {
    width: clamp(54px, 6vh, 78px);
    margin: 0 auto -2px;
    animation: pine-breathe 4.8s ease-in-out infinite;
}

.kicker {
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--kicker);
    font-family: var(--display);
    font-size: clamp(1.05rem, 2.2vh, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.kicker::before,
.kicker::after {
    content: "";
    width: clamp(28px, 4vw, 64px);
    height: var(--kicker-line-thickness);
    background: #8c5d2d;
    opacity: 0.6;
    transform: scaleX(0);
}

html.is-ready .kicker::before,
html.is-ready .kicker::after {
    animation: line-draw 0.7s 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

h1 {
    margin: 0;
    font-weight: 400;
}

.title-main {
    display: block;
}

.title-line {
    display: block;
    color: var(--green);
    font-family: var(--display);
    font-size: clamp(3.2rem, 8.6vh, 6.6rem);
    font-weight: 600;
    letter-spacing: 0.005em;
    line-height: 0.74;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 rgb(255 255 255 / 35%);
}

.title-script {
    display: block;
    width: fit-content;
    margin: 6px auto 0;
    transform: rotate(-2.5deg);
}

.title-script-text {
    display: block;
    color: var(--orange);
    font-family: var(--script);
    font-size: clamp(1.85rem, 4.6vh, 3.8rem);
    font-weight: 700;
    line-height: 1.05;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .title-script-text {
        color: transparent;
        background-image: linear-gradient(90deg, #6e351a 0%, #8f4215 32%, #b84f0c 62%, #d8751f 100%, #8f4215 100%);
        background-size: 220% 100%;
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    html.is-ready .title-script-text.is-revealed {
        animation: script-shimmer 9s ease-in-out infinite;
    }
}

.lede {
    max-width: 36rem;
    margin: clamp(12px, 2vh, 22px) 0 0;
    color: #3e493c;
    font-size: clamp(0.92rem, 1.7vh, 1.12rem);
    line-height: 1.5;
}

.phone-cta-wrap {
    width: fit-content;
    margin-top: clamp(16px, 2.4vh, 26px);
}

.phone-cta {
    position: relative;
    width: fit-content;
    margin-top: 0;
    padding: 12px 26px 11px;
    overflow: hidden;
    display: grid;
    justify-items: center;
    gap: 4px;
    color: var(--white);
    background: linear-gradient(#d96c18, var(--orange));
    border: 2px solid #e47720;
    border-radius: 12px;
    box-shadow: 0 5px 0 rgb(78 28 0 / 32%), 0 9px 18px rgb(40 18 6 / 22%);
    text-decoration: none;
    isolation: isolate;
    transition: background 160ms ease, box-shadow 160ms ease;
}

html.is-ready .phone-cta {
    animation: cta-glow 3.6s 2s ease-in-out infinite;
}

.phone-cta::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: -40% -60%;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 42%, rgb(255 255 255 / 34%) 50%, transparent 58%);
    transform: translateX(-70%);
}

html.is-ready .phone-cta::after {
    animation: sheen 5.8s 2.2s ease-in-out infinite;
}

.phone-cta:hover,
.phone-cta:focus-visible {
    background: linear-gradient(#e17622, #ac4808);
}

.phone-cta-label,
.phone-cta-number {
    position: relative;
    z-index: 2;
}

.phone-cta-label {
    color: rgb(255 248 235 / 86%);
    font-family: var(--condensed);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.phone-cta-number {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-size: clamp(2rem, 4.4vh, 3.1rem);
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1;
}

.phone-cta-number .icon {
    width: 0.62em;
    height: 0.62em;
    flex: 0 0 auto;
    fill: currentColor;
    transform: rotate(-12deg);
}

.services {
    margin: clamp(16px, 2.6vh, 26px) 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
}

.services li {
    padding: 8px 13px 7px;
    color: var(--green-deep);
    background: rgb(255 253 247 / 78%);
    border: 1px solid rgb(110 53 26 / 22%);
    border-radius: 999px;
    font-family: var(--condensed);
    font-size: clamp(0.78rem, 1.5vh, 0.92rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.services li:hover,
.services li:focus-visible {
    color: var(--orange-deep);
    background: var(--white);
    border-color: var(--orange);
    box-shadow: 0 8px 16px rgb(110 53 26 / 14%);
    transform: translateY(-3px);
}

.services-emergency {
    color: var(--white) !important;
    background: linear-gradient(#d15e0d, #a73e05) !important;
    border-color: #e27a28 !important;
}

.services-emergency:hover,
.services-emergency:focus-visible {
    color: var(--white) !important;
    filter: brightness(1.08);
}

.proof {
    margin: clamp(14px, 2vh, 20px) 0 0;
    color: var(--kicker);
    font-family: var(--display);
    font-size: clamp(1rem, 2vh, 1.3rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.facts {
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
    list-style: none;
    color: #3e493c;
    font-family: var(--condensed);
    font-size: clamp(0.88rem, 1.6vh, 1.02rem);
    font-weight: 700;
}

.facts a {
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: color 160ms ease, background-size 220ms ease;
}

.facts a:hover,
.facts a:focus-visible {
    color: var(--orange);
    background-size: 100% 1px;
}

.social {
    margin-top: 14px;
    display: flex;
    gap: 10px;
}

.social a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--cream-light);
    background: var(--green-deep);
    border-radius: 50%;
    font-size: 1.05rem;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.social a:hover,
.social a:focus-visible {
    color: var(--cream-light);
    background: var(--orange);
    transform: translateY(-3px) scale(1.08);
}

.social .icon {
    width: 1.05rem;
    height: 1.05rem;
    fill: currentColor;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
}

html.is-ready [data-reveal] {
    animation: reveal-up 0.8s var(--delay, 0s) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html.is-ready [data-reveal].is-revealed {
    animation: none;
    opacity: 1;
    transform: none;
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes line-draw {
    to {
        transform: scaleX(1);
    }
}

html.is-ready .title-script-text.is-revealed {
    animation: script-shimmer 9s ease-in-out infinite;
}

@keyframes pine-breathe {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

@keyframes script-shimmer {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes cta-glow {
    0%,
    100% {
        box-shadow: 0 5px 0 rgb(78 28 0 / 32%), 0 9px 18px rgb(40 18 6 / 22%), 0 0 0 0 rgb(193 86 10 / 0%);
    }

    50% {
        box-shadow: 0 5px 0 rgb(78 28 0 / 32%), 0 9px 18px rgb(40 18 6 / 22%), 0 0 26px 4px rgb(193 86 10 / 32%);
    }
}

@keyframes sheen {
    0%,
    62%,
    100% {
        transform: translateX(-70%);
    }

    78% {
        transform: translateX(70%);
    }
}

html.is-compact .title-line {
    font-size: clamp(2.6rem, 7vh, 4.8rem);
}

html.is-compact .lede {
    display: none;
}

html.is-compact .kicker-pines {
    display: none;
}

html.is-compact .brand-plaque {
    margin-bottom: 10px;
    padding: 8px 18px 7px;
}

html.is-compact .phone-cta-wrap {
    margin-top: 12px;
}

html.is-compact .phone-cta {
    padding: 9px 18px 8px;
}

html.is-compact .services {
    margin-top: 12px;
}

@media (max-width: 720px) {
    .title-line {
        font-size: clamp(2.7rem, 9vh, 4.4rem);
    }

    .title-script-text {
        font-size: clamp(1.55rem, 5vh, 2.4rem);
        white-space: normal;
    }

    .phone-cta-wrap,
    .phone-cta {
        width: 100%;
    }
}

@media (max-height: 700px) {
    .kicker-pines,
    .lede {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pines,
    .kicker-pines,
    .brand-plaque,
    html.is-ready .brand-plaque,
    html.is-ready .brand-plaque.is-hung,
    html.is-ready .kicker::before,
    html.is-ready .kicker::after,
    html.is-ready .title-script-text,
    html.is-ready .phone-cta,
    html.is-ready .phone-cta::after,
    html.is-ready [data-reveal] {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .brand-plaque {
        transform: rotate(-0.4deg);
    }

    .title-script {
        transform: rotate(-2.5deg);
    }

    .kicker::before,
    .kicker::after {
        transform: scaleX(1);
    }
}
