:root {
    color-scheme: light;
    --ink: #17202a;
    --dark: #151e28;
    --muted: #4b5663;
    --accent: #ffb632;
    --accent-hover: #ffc859;
    --paper: #f8f6f1;
    --white: #fff;
    --border: #e0dcd2;
    --display: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 1.125rem/1.6 "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 3px solid #b65c09; outline-offset: 4px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.875rem); font-weight: 850; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.65vw, 3.3rem); font-weight: 800; letter-spacing: -.035em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); letter-spacing: -.02em; }
p { margin: 0 0 1.25rem; }
h2 + p, h3 + p { margin-top: .9rem; }
.container { width: min(80rem, calc(100% - 5rem)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.skip-link {
    position: fixed;
    z-index: 20;
    inset: .75rem auto auto .75rem;
    transform: translateY(-200%);
    padding: .6rem 1rem;
    background: var(--accent);
    color: var(--ink);
}
.skip-link:focus { transform: none; }

.site-header { background: var(--white); position: relative; z-index: 2; }
.header-inner {
    display: flex;
    align-items: center;
    min-height: 5.55rem;
    gap: clamp(.85rem, 2.5vw, 2.55rem);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; line-height: 1.13; text-decoration: none; }
.brand img { flex: none; }
.brand strong { display: block; font-size: 1.17rem; font-weight: 800; letter-spacing: -.023em; }
.brand small { display: block; margin-top: .24rem; font-size: .88rem; font-weight: 600; color: var(--muted); }
.site-nav { display: flex; align-items: center; margin-left: auto; gap: clamp(.65rem, 1.75vw, 1.65rem); }
.site-nav a {
    position: relative;
    padding: .65rem .12rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}
.site-nav a:is(:hover, [aria-current])::after {
    content: "";
    position: absolute;
    height: 3px;
    background: #e89113;
    inset: auto 0 .32rem;
    border-radius: 2px;
}
.header-phone, .button, .floating-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.2;
}
.header-phone {
    min-height: 3rem;
    padding: .7rem .95rem;
    border: 1px solid var(--border);
    border-radius: .5rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-size: 1rem;
}
.header-phone:hover { background: var(--accent); border-color: var(--accent); }
.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.75rem;
    padding: .4rem .6rem;
    border: 1px solid var(--border);
    border-radius: .45rem;
    color: var(--ink);
    background: var(--white);
    font-size: 1rem;
    font-weight: 750;
    cursor: pointer;
}

.hero, .page-hero { position: relative; background: var(--dark); color: var(--white); }
.hero { isolation: isolate; overflow: hidden; }
.hero-image {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: -2;
    height: 100%;
    width: 74%;
    object-fit: cover;
    object-position: center 52%;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #151e28 0%, #151e28 26%, #151e28f2 32%, #151e28ae 47%, #151e283a 66%, #151e2810 100%);
}
.hero::after, .page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: .3rem;
    background: var(--accent);
}
.hero-inner {
    min-height: clamp(32rem, 43vw, 41rem);
    display: flex;
    align-items: center;
    padding-block: 4.25rem;
}
.hero-copy { max-width: 47rem; }
.hero h1 span { color: var(--accent); display: block; }
.hero p, .page-hero p { color: #eef0f4; font-size: clamp(1.12rem, 1.9vw, 1.35rem); }
.hero p { max-width: 33rem; margin-block: 1.3rem 1.8rem; }
.page-hero .container { padding-block: clamp(3rem, 7vw, 5.6rem); }
.page-hero p { margin: 1rem 0 0; max-width: 44rem; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button {
    width: fit-content;
    min-height: 3.3rem;
    padding: .76rem 1.15rem;
    border: 1px solid transparent;
    border-radius: .45rem;
    font-size: 1.05rem;
    transition: background-color .18s ease, color .18s ease;
}
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: var(--accent-hover); }
.button-light-outline { border-color: #ffffffa6; color: var(--white); background: #151e2840; }
.button-light-outline:hover { color: var(--ink); background: var(--white); }
.button-dark { background: var(--dark); color: var(--white); }
.button-dark:hover { background: #303e4d; }
.button-dark-outline { border-color: var(--ink); }
.button-dark-outline:hover { background: var(--dark); color: var(--white); }

.section { padding-block: clamp(3rem, 5.8vw, 5.3rem); }
.section-muted { background: #efece4; }
.section-heading { margin-bottom: 1.7rem; }
.service-grid, .gallery-grid, .contact-grid, .feature { display: grid; gap: 1.45rem; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card, .gallery-card, .contact-card { background: var(--white); border: 1px solid var(--border); border-radius: .7rem; }
.service-card { display: flex; flex-direction: column; overflow: hidden; }
.service-card img, .gallery-card img, .feature-image { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.35rem; }
.service-card p { color: var(--muted); }
.text-link { margin-top: auto; font-size: 1rem; font-weight: 800; text-underline-offset: .26em; text-decoration-color: #d3780d; text-decoration-thickness: 2px; }
.text-link:hover { color: #923d06; }
.feature { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1.5rem, 6vw, 5rem); }
.feature-image { border-radius: .7rem; }
.feature p { color: var(--muted); max-width: 45ch; }
.feature h3 { margin-top: 1.6rem; }
.service-detail { scroll-margin-top: 1.5rem; }
.service-detail + .service-detail { margin-top: 2.8rem; padding-top: 2.8rem; border-top: 1px solid var(--border); }
.callout { background: var(--accent); padding-block: 2.4rem; }
.callout-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem 3rem; }
.callout h2 { font-size: clamp(1.75rem, 4vw, 2.85rem); }
.callout p { margin: .5rem 0 0; }
.callout .button { flex: none; }

.gallery-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-card { margin: 0; overflow: hidden; }
.gallery-card figcaption { padding: .85rem 1.2rem; font-weight: 700; }
.gallery-link { display: block; position: relative; }
.gallery-link:focus-visible { outline-offset: -5px; }
.gallery-expand {
    position: absolute;
    inset: auto .75rem .75rem auto;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .4rem;
    background: var(--white);
    color: var(--ink);
}
.gallery-link:hover .gallery-expand { background: var(--accent); }
.gallery-dialog { padding: .85rem; border: 0; border-radius: .7rem; width: min(47rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); color: var(--white); background: var(--dark); }
.gallery-dialog::backdrop { background: #0c1118df; }
.gallery-dialog form { display: flex; justify-content: flex-end; margin-bottom: .45rem; }
.gallery-close { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: .4rem; background: var(--accent); color: var(--ink); cursor: pointer; }
.gallery-dialog figure { margin: 0; }
.gallery-dialog img { width: 100%; height: auto; max-height: 70dvh; object-fit: contain; }
.gallery-dialog figcaption { text-align: center; padding: .45rem .35rem 0; }
.contact-card { padding: clamp(1.3rem, 4vw, 2.7rem); overflow-wrap: anywhere; }
.contact-card > .icon { color: #a54b04; font-size: 1.65rem; margin-bottom: .6rem; }
.contact-card h2 { font-size: clamp(1.7rem, 3.5vw, 2.55rem); margin-bottom: .8rem; }
.contact-card p { margin: .95rem 0 0; color: var(--muted); }
.contact-number { font-size: clamp(1.45rem, 3vw, 2.25rem); font-weight: 800; text-decoration-color: #d3780d; text-underline-offset: .18em; }
.hours-list { margin: 0; }
.hours-list > div { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.hours-list dd { margin: 0; font-variant-numeric: tabular-nums; }
.contact-card .hours-list > div { padding: .5rem 0; border-bottom: 1px solid var(--border); }

.site-footer { color: var(--white); background: var(--dark); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .65fr 1.05fr; gap: clamp(1.5rem, 4vw, 4rem); padding-block: 3rem; }
.site-footer .brand small, .site-footer p, .site-footer .hours-list { color: #c8d0d9; }
.site-footer p { max-width: 30ch; margin: .9rem 0 0; }
.site-footer h2 { font-size: 1.28rem; margin-bottom: .85rem; letter-spacing: -.01em; }
.site-footer h3 { font-size: 1.02rem; margin: .8rem 0 .35rem; }
.site-footer .hours-list, .site-footer p { font-size: 1rem; }
.footer-links { padding: 0; margin: 0; list-style: none; }
.footer-links a, .footer-phone { text-decoration: none; }
.footer-links a:hover, .footer-phone:hover { color: var(--accent); text-decoration: underline; }
.footer-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 750; }
.site-credit { background: #0d141c; color: #c8d0d9; padding: 1rem 0; font-size: .9rem; }
.site-credit strong { color: var(--white); }
.floating-phone {
    position: fixed;
    z-index: 3;
    right: max(1.35rem, env(safe-area-inset-right));
    bottom: max(1.35rem, env(safe-area-inset-bottom));
    min-width: 3.4rem;
    min-height: 3.4rem;
    padding: .8rem 1.1rem;
    border: 1px solid #d18111;
    border-radius: 2rem;
    background: var(--accent);
    box-shadow: 0 .3rem 1rem #1019233d;
    color: var(--ink);
    font-size: 1rem;
}
.floating-phone:hover { background: var(--accent-hover); }

@media (max-width: 61rem) {
    .container { width: calc(100% - 3rem); }
    .header-inner { flex-wrap: wrap; min-height: 4.8rem; padding-block: .7rem; gap: .75rem; }
    .header-phone { order: 2; }
    .menu-toggle { margin-left: auto; order: 1; }
    .site-nav {
        order: 3;
        width: 100%;
        margin: 0;
        flex-wrap: wrap;
        justify-content: flex-start;
        border-top: 1px solid var(--border);
        gap: .2rem 1.3rem;
    }
    .hero-image { width: 84%; object-position: 63% center; }
    .hero::before { background: linear-gradient(90deg, #151e28 0%, #151e28 16%, #151e28f0 22%, #151e28aa 56%, #151e2838); }
    .footer-grid { grid-template-columns: 1fr .65fr 1.2fr; gap: 1.5rem; }
}

@media (max-width: 43rem) {
    .container { width: calc(100% - 2rem); }
    .brand img { width: 2.6rem; height: 2.6rem; }
    .brand { gap: .55rem; }
    .brand strong { font-size: 1.06rem; }
    .brand small { font-size: .82rem; }
    .header-phone { display: none; }
    .menu-toggle:not([hidden]) + .site-nav { display: grid; gap: 0; padding-block: .35rem; }
    .menu-toggle:not([hidden]) + .site-nav a { width: fit-content; }
    .hero-image { width: 100%; object-position: 63% center; }
    .hero::before { background: linear-gradient(90deg, #151e28d9, #151e2873), linear-gradient(0deg, #151e28b8, transparent); }
    .hero-inner { min-height: 30rem; padding-block: 3rem; }
    .hero h1 { font-size: clamp(2.35rem, 8.9vw, 3.85rem); }
    .service-grid, .gallery-grid, .contact-grid, .feature, .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .service-detail { gap: 1.15rem; }
    .callout-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { gap: 1.9rem; }
    .hours-list { max-width: 25rem; }
    .site-credit .container { padding-right: 3.8rem; }
    .floating-phone { right: max(.8rem, env(safe-area-inset-right)); bottom: max(.8rem, env(safe-area-inset-bottom)); width: 3.4rem; padding: .7rem; }
    .floating-phone span { display: none; }
}

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