:root {
    color-scheme: light;
    --cream: #f8f5f0;
    --paper: #fffefa;
    --ink: #241c1b;
    --muted: #665754;
    --wine: #630727;
    --deep: #48051c;
    --rose: #edd8d9;
    --line: #ded2cc;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.62 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--wine); text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .54; }
a, button, input, textarea, select, summary { outline-offset: 4px; }
:focus-visible { outline: 3px solid #a02e53; }
[hidden] { display: none !important; }
h1, h2, h3 { color: var(--ink); line-height: 1.08; margin: 0 0 .42em; font: 400 clamp(1.45rem, 2.6vw, 2.35rem)/1.14 var(--serif); }
h1 { font-size: clamp(2.8rem, 5.8vw, 6.15rem); letter-spacing: -.061em; line-height: .99; }
h2 { font-size: clamp(2.05rem, 4.2vw, 3.9rem); letter-spacing: -.045em; }
h3 { letter-spacing: -.027em; }
p { margin: 0 0 1em; }
figure, ol { margin: 0; }
.wrap { width: min(100% - 88px, 1260px); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: .5rem; left: .5rem; transform: translateY(-150%); background: white; padding: .65rem 1rem; }
.skip:focus { transform: none; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem; color: var(--wine); font-size: .72rem; line-height: 1.5; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.small-rule { width: 25px; height: 1px; background: currentColor; }
.lead { max-width: 45rem; font-size: clamp(1.05rem, 1.7vw, 1.33rem); color: var(--muted); line-height: 1.57; }
.muted { color: var(--muted); font-size: .88rem; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.header-inner { min-height: 91px; display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.brand { width: 148px; display: block; flex-shrink: 0; }
.brand img { width: 100%; max-height: 66px; object-fit: contain; }
.desktop-nav { display: flex; gap: clamp(1rem, 3vw, 2.7rem); align-items: center; }
.desktop-nav a, .mobile-nav a { text-decoration: none; color: var(--ink); font-size: .94rem; }
.desktop-nav a[aria-current], .desktop-nav a:hover, .mobile-nav a[aria-current] { color: var(--wine); text-decoration: underline; }
.button, .quiet-button { display: inline-flex; width: fit-content; min-height: 45px; align-items: center; justify-content: center; gap: .85rem; padding: .7rem 1rem; color: #fff; background: var(--wine); border: 1px solid var(--wine); border-radius: 3px; font-weight: 690; font-size: .89rem; text-decoration: none; line-height: 1.35; }
.button:hover, .button:focus-visible { background: var(--deep); color: white; }
.quiet-button { background: transparent; color: var(--wine); }
.quiet-button:hover { background: var(--cream); }
.button-light { color: var(--wine); background: var(--paper); border-color: var(--paper); }
.button-light:hover { color: var(--wine); background: var(--rose); }
.text-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.mobile-nav { display: none; }
.hero { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(1.75rem, 5vw, 5.75rem); padding-block: 46px; }
.hero-copy h1 { max-width: 13ch; }
.hero-copy h1 em { color: var(--wine); font-weight: 400; white-space: normal; }
.hero-copy .lead { max-width: 28rem; }
.hero-image { position: relative; }
.hero-image img { width: 100%; height: auto; aspect-ratio: 1.23; object-fit: cover; background: var(--cream); }
.hero-image figcaption { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); padding: .65rem 0 0; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.actions { display: flex; gap: .55rem 1.25rem; align-items: center; flex-wrap: wrap; margin-top: 1.3rem; }
.service-strip { background: var(--wine); color: #fff; }
.service-strip .wrap { display: flex; justify-content: space-between; gap: .9rem; align-items: center; min-height: 55px; }
.service-strip span { font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.service-strip span + span::before { content: '✦'; margin-right: clamp(.4rem, 2vw, 1.35rem); color: #eabac8; }
.section { padding-block: clamp(3.2rem, 7vw, 6.8rem); }
.top-tight { padding-top: 0; }
.section-heading { display: flex; justify-content: space-between; gap: 1rem 3rem; align-items: flex-end; margin-bottom: 1.75rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 27rem; color: var(--muted); margin: 0; }
.cards, .gallery-grid, .process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.service-card { border: 1px solid var(--line); background: white; }
.service-card > img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.service-card > div { padding: clamp(1rem, 2.3vw, 1.65rem); }
.service-card h2, .service-card h3 { font-size: clamp(1.45rem, 2.6vw, 2.25rem); }
.service-card p, .process p, .split p { color: var(--muted); }
.gallery-section { background: var(--cream); }
.gallery-grid a { position: relative; display: block; overflow: hidden; }
.gallery-grid img { width: 100%; aspect-ratio: 1.27; object-fit: cover; transition: transform .25s ease; }
.gallery-grid a:hover img { transform: scale(1.03); }
.image-arrow { position: absolute; bottom: .6rem; right: .6rem; display: grid; place-items: center; height: 35px; width: 35px; background: var(--paper); color: var(--wine); }
.gallery-grid figcaption { margin-top: .55rem; color: var(--muted); font-size: .88rem; }
.process { list-style: none; padding: 0; }
.process li { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.process li > span { color: var(--wine); font-size: .76rem; font-weight: 700; letter-spacing: .13em; }
.process h3 { margin-top: .65rem; }
.estimate-banner { padding: clamp(2.35rem, 6vw, 4.5rem) 0; background: var(--wine); color: white; }
.estimate-banner .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.estimate-banner h2 { color: white; margin: 0; }
.estimate-banner .eyebrow { color: var(--rose); }
.page-intro { padding-top: clamp(2.8rem, 7vw, 6.2rem); padding-bottom: clamp(1.6rem, 5vw, 3.7rem); }
.page-intro h1 { max-width: 17ch; }
.page-intro .lead { margin: 1.25rem 0 0; }
.page-intro > .button { margin-top: 1rem; }
.split { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(1rem, 6vw, 5rem); align-items: center; }
.feature-image { width: 100%; object-fit: cover; aspect-ratio: 1.28; }
.prose { max-width: 43rem; }
.prose h2 { margin-top: 1.25rem; font-size: 2rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: 1.5rem; align-items: start; }
.form-card, .contact-aside { padding: clamp(1rem, 3.6vw, 2.5rem); border: 1px solid var(--line); background: #fff; }
.form-card h2, .contact-aside h2 { font-size: clamp(1.65rem, 3.5vw, 2.75rem); }
.contact-aside { background: var(--cream); }
.contact-line { border-top: 1px solid var(--line); padding: .9rem 0 .75rem; overflow-wrap: anywhere; }
.contact-line > span { display: block; color: var(--muted); font-size: .78rem; }
.contact-line a { font-weight: 700; }
.contact-line p { margin: .2rem 0; }
.quote-form, .admin-login, .photo-admin form { display: grid; gap: 1rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
form label { display: block; font-size: .91rem; font-weight: 650; }
form label small { color: var(--muted); margin-left: .35rem; font-weight: 400; }
input:not([type="checkbox"]), textarea, select { display: block; width: 100%; min-width: 0; border: 1px solid #a99591; border-radius: 2px; color: var(--ink); background: white; min-height: 46px; padding: .6rem .65rem; margin-top: .25rem; font-size: 1rem; }
textarea { resize: vertical; }
form p { margin-bottom: 0; }
.upload-field { background: var(--cream); border: 1px dashed #a99591; padding: .8rem; }
.upload-field input { background: transparent; }
.selected-files { list-style: none; padding-left: 0; margin: .5rem 0 0; overflow-wrap: anywhere; }
.selected-files li { display: flex; gap: .5rem; align-items: center; margin-top: .4rem; }
.selected-files img { width: 44px; height: 44px; object-fit: cover; }
.selected-files:empty { display: none; }
.selected-files button { margin-left: .4rem; min-height: 36px; background: white; color: var(--wine); border: 1px solid var(--line); }
.trap { display: none; }
.notice { background: #edf3e9; border: 1px solid #b5c5af; padding: .7rem .9rem; margin: .75rem 0; }
.notice-error { background: #faedef; border-color: #dbb4bc; }
.notice ul { margin: .35rem 0 0; padding-left: 1.25rem; }
.lightbox { border: 0; padding: 1rem; max-width: min(94vw, 1100px); background: var(--paper); }
.lightbox::backdrop { background: #21151ad9; }
.lightbox img { max-height: 75vh; object-fit: contain; margin-inline: auto; }
.lightbox p { text-align: center; margin: .6rem 0 0; }
.lightbox-close { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; margin-bottom: .5rem; border: 1px solid var(--line); background: var(--paper); color: var(--wine); font-size: 1.4rem; }
.testimonials { background: var(--cream); }
.testimonials-intro, .testimonials-link { text-align: center; }
.testimonials-intro { margin-bottom: 1.65rem; }
.testimonials-intro h2, .testimonial-stars, .testimonial-card figcaption { color: var(--wine); }
.testimonials-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * var(--review-gap)) / 3);
    gap: var(--review-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    list-style: none;
    margin: 0;
    padding: .25rem 0 .65rem;
}
.testimonials-carousel { --review-gap: 1rem; }
.testimonial-card {
    scroll-snap-align: start;
    min-width: 0;
    padding: clamp(1.15rem, 2.9vw, 2rem);
    border: 1px solid #dbb4bc;
    border-radius: .8rem;
    background: #fff;
    box-shadow: 0 3px 9px #43212b0b;
}
.testimonial-stars { font-size: 1.2rem; margin-bottom: .8rem; }
.testimonial-card blockquote { margin: 0; }
.testimonial-card figcaption { font-weight: 750; }
.testimonial-controls { display: flex; justify-content: center; gap: .75rem; margin-top: .85rem; }
.testimonial-controls button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--wine); color: #fff; font-size: 1.3rem; }
.testimonial-controls button:hover:not(:disabled) { background: var(--deep); }
.testimonials-link { margin: 1rem 0 0; }
.site-footer { padding-top: 3rem; color: #eadcdb; background: #251920; }
.footer-grid { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 1.5rem; }
.footer-grid .eyebrow { color: #f2c6d2; }
.footer-grid a, .footer-bottom a { color: #fff; overflow-wrap: anywhere; }
.footer-grid a { display: block; }
.footer-bottom { display: flex; gap: .6rem 1.3rem; flex-wrap: wrap; border-top: 1px solid #755863; margin-top: 1.6rem; padding-block: 1rem; font-size: .8rem; }
.admin-site { background: var(--cream); }
.admin-site .page-intro { padding-top: clamp(2rem, 5vw, 3.4rem); padding-bottom: 1.6rem; }
.admin-site .page-intro h1 { font-size: clamp(2.5rem, 5vw, 4.8rem); }
.admin-content { display: grid; gap: 1.25rem; }
.admin-login { max-width: 29rem; }
.admin-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; }
.admin-nav a { font-weight: 700; }
.admin-heading, .compact-form { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; margin-bottom: 1rem; }
.admin-heading { justify-content: space-between; }
.compact-form label { flex: 1 1 130px; }
.lead-row, .mail-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.lead-row { text-decoration: none; min-height: 55px; }
.lead-row:hover strong { text-decoration: underline; }
.lead-row small { display: block; color: var(--muted); }
.preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.note { border-left: 3px solid var(--line); padding-left: .7rem; }
.note small { display: block; color: var(--muted); }
.portfolio-admin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.photo-admin { border: 1px solid var(--line); padding: .75rem; }
.photo-admin img { width: 100%; aspect-ratio: 1.55; object-fit: cover; margin-bottom: .7rem; }
.mail-row p { margin: 0; }
.check { display: inline-flex; align-items: center; gap: .3rem; }
.admin-content form textarea + button, .admin-content form label + button { margin-top: .35rem; }
@media (max-width: 900px) {
    .wrap { width: calc(100% - 56px); }
    .hero { gap: 1.5rem; }
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .testimonials-track { grid-auto-columns: calc((100% - var(--review-gap)) / 2); }
}
@media (max-width: 730px) {
    .wrap { width: calc(100% - 36px); }
    .header-inner { min-height: 68px; }
    .brand { width: 115px; }
    .desktop-nav, .desktop-cta { display: none; }
    .mobile-nav { display: block; }
    .mobile-nav summary { display: flex; gap: .5rem; align-items: center; min-height: 44px; cursor: pointer; font-weight: 700; color: var(--wine); }
    .mobile-nav summary::-webkit-details-marker { display: none; }
    .mobile-nav nav { position: absolute; z-index: 2; top: 100%; right: 0; left: 0; background: var(--paper); padding: .5rem 18px 1rem; box-shadow: 0 12px 18px #43212b1a; }
    .mobile-nav a { display: block; min-height: 44px; padding: .65rem 0; border-bottom: 1px solid var(--line); }
    .hero, .split, .contact-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 2rem; padding-bottom: 1.6rem; }
    .hero-image img { aspect-ratio: 1.37; }
    .hero-image figcaption { font-size: .59rem; }
    .section-heading, .estimate-banner .wrap { display: grid; align-items: start; }
    .gallery-grid, .portfolio-admin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-strip span { font-size: .65rem; letter-spacing: .03em; }
    .service-strip span + span::before { display: none; }
    .process { grid-template-columns: 1fr; }
    .testimonials-track { grid-auto-columns: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 470px) {
    .cards, .fields, .portfolio-admin, .footer-grid { grid-template-columns: 1fr; }
    .service-strip .wrap { padding-block: .65rem; }
    .lead-row, .mail-row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
