:root {
    --paper: #f4f1ec;
    --paper-deep: #e8e1d8;
    --ink: #181915;
    --muted: #626159;
    --green: #145c2a;
    --green-dark: #0b3d1a;
    --line: #c9c1b6;
    --white: #fffefb;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Arial, Helvetica, sans-serif;
    --shadow: 0 24px 65px rgba(31, 35, 25, .12);
    --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--serif);
    font-size: 1.125rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
    position: fixed;
    top: .5rem;
    left: .5rem;
    z-index: 100;
    padding: .7rem 1rem;
    background: var(--ink);
    color: white;
    transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    background: rgba(244, 241, 236, .96);
    border-bottom: 5px solid var(--green);
    position: relative;
    z-index: 10;
}

.header-inner {
    width: min(calc(100% - 3rem), var(--max));
    min-height: 132px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    line-height: 1.05;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.brand-mark {
    width: 78px;
    height: 78px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.45rem;
    font-size: 1.05rem;
}

.site-nav a {
    text-decoration: none;
    padding: .45rem 0;
    border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current='page'] { border-bottom-color: var(--green); }

.nav-toggle { display: none; }

main { min-height: 65vh; }

.home-hero,
.page-intro,
.repair-detail,
.service-strip,
.quiet-panel,
.contact-layout {
    width: min(calc(100% - 3rem), var(--max));
    margin-inline: auto;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(440px, 1.15fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
    min-height: 650px;
    padding: 5.5rem 0;
}

.hero-photo { position: relative; }

.hero-photo img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: 45% center;
    filter: grayscale(100%);
}

.photo-note {
    position: absolute;
    right: -1.5rem;
    bottom: -1.2rem;
    max-width: 16rem;
    padding: 1rem 1.25rem;
    background: var(--green);
    color: white;
    font-family: var(--sans);
    font-size: .85rem;
    line-height: 1.4;
    letter-spacing: .04em;
}

.photo-frame { border: 3px solid var(--green); }

.eyebrow {
    margin: 0 0 .75rem;
    color: var(--green);
    font-family: var(--sans);
    font-weight: 700;
    font-size: .8rem;
    line-height: 1.3;
    letter-spacing: .15em;
    text-transform: uppercase;
}

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

h1 {
    max-width: 15ch;
    margin-bottom: 1.5rem;
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: .96;
    letter-spacing: -.04em;
}

h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 3.7vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.025em;
}

h3 { font-size: 1.55rem; line-height: 1.15; }

.hero-copy > p:not(.eyebrow) { max-width: 61ch; }
.lead { font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.45; }

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: .75rem 1.25rem;
    border: 2px solid var(--green);
    background: var(--green);
    color: white;
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.button:hover,
.button:focus-visible {
    background: transparent;
    color: var(--green-dark);
    transform: translateY(-1px);
}

.text-link {
    color: var(--green-dark);
    font-weight: 700;
    text-underline-offset: .22em;
}

.service-strip {
    padding: 1rem 0 6rem;
}

.section-heading { max-width: 44rem; margin-bottom: 2rem; }

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

.service-card {
    display: block;
    min-height: 310px;
    padding: 2rem;
    text-decoration: none;
    border-right: 1px solid var(--line);
    transition: background .2s ease, color .2s ease;
}

.service-card:last-child { border-right: 0; }
.service-card:hover, .service-card:focus-visible { background: var(--green); color: white; }
.service-card:hover .service-number, .service-card:focus-visible .service-number { color: white; }
.service-number { display: block; margin-bottom: 4rem; color: var(--green); font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.service-card p { color: inherit; font-size: 1rem; line-height: 1.55; }

.page-intro { padding: clamp(4rem, 8vw, 7rem) 0; }
.split-intro, .repair-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.page-intro h1 { text-decoration: underline; text-decoration-thickness: .045em; text-underline-offset: .1em; }
.feature-photo img { width: 100%; min-height: 420px; object-fit: cover; }
.repair-landscape img { width: 100%; min-height: 430px; object-fit: cover; filter: grayscale(100%); }

.quiet-panel {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 7rem;
    padding: 3.5rem;
    background: var(--green-dark);
    color: white;
}

.quiet-panel .eyebrow { color: #add6b8; }
.quiet-panel p:last-child { font-size: 1.25rem; }

.repair-detail {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(3rem, 8vw, 8rem);
    align-items: center;
    padding: 1rem 0 7rem;
}

.portrait-photo { max-width: 460px; justify-self: end; }
.portrait-photo img { width: 100%; }
.repair-copy { max-width: 43rem; }

.tick-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.tick-list li { position: relative; padding: .8rem 0 .8rem 1.8rem; border-bottom: 1px solid var(--line); }
.tick-list li::before { content: '—'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.simple-intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(3rem, 9vw, 9rem); align-items: center; min-height: 650px; }
.wide-copy { max-width: 50rem; }
.instrument-card { padding: 2.5rem; background: var(--green-dark); color: white; box-shadow: var(--shadow); }
.instrument-card .service-number { margin-bottom: 2.5rem; color: #add6b8; }
.instrument-card h2 { font-size: 2.25rem; }

.contact-layout {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.contact-intro { position: sticky; top: 2rem; }
.contact-intro h1 { max-width: 10ch; }
.contact-note { margin-top: 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-note strong { color: var(--green-dark); font-family: var(--sans); }
.contact-note p { margin: .4rem 0 0; }

.form-card { padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--white); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; margin-bottom: .4rem; font-family: var(--sans); font-size: .9rem; font-weight: 700; }
.optional { color: var(--muted); font-size: .75rem; font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 52px;
    padding: .75rem .85rem;
    border: 1px solid #8f8b83;
    border-radius: 0;
    background: white;
    color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(20, 92, 42, .25); border-color: var(--green); }
.field-help { margin: .3rem 0 0; color: var(--muted); font-family: var(--sans); font-size: .78rem; }
.check-field { display: flex; gap: .7rem; align-items: flex-start; margin: .5rem 0 1.5rem; font-family: var(--sans); font-size: .9rem; line-height: 1.5; }
.check-field input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: .15rem; accent-color: var(--green); }
.submit-button { width: 100%; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-bottom: 2rem; padding: 1.25rem; border-left: 5px solid; }
.form-status h2 { margin-bottom: .4rem; font-size: 1.45rem; }
.form-status p, .form-status ul { margin-bottom: 0; }
.form-status.success { background: #e7f3e9; border-color: var(--green); }
.form-status.error { background: #f8e8e5; border-color: #9b2e1f; }

.site-footer { background: var(--ink); color: white; }
.footer-inner {
    width: min(calc(100% - 3rem), var(--max));
    margin: 0 auto;
    padding: 3rem 0;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 3rem;
    align-items: end;
}
.footer-inner p { margin: 0; }
.footer-inner a { text-underline-offset: .2em; }
.copyright { color: #bebdb7; font-family: var(--sans); font-size: .8rem; }

@media (max-width: 980px) {
    .header-inner { min-height: 100px; }
    .brand-mark { width: 62px; height: 62px; }
    .nav-toggle {
        display: inline-flex;
        width: 48px;
        height: 48px;
        padding: 12px 9px;
        flex-direction: column;
        justify-content: space-around;
        border: 1px solid var(--ink);
        background: transparent;
        cursor: pointer;
    }
    .nav-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; background: var(--ink); }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 1.5rem 1.5rem;
        align-items: stretch;
        flex-direction: column;
        gap: .2rem;
        background: var(--paper);
        border-bottom: 5px solid var(--green);
        box-shadow: 0 18px 30px rgba(0, 0, 0, .1);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: .55rem 0; }
    .home-hero, .split-intro, .repair-intro, .repair-detail, .simple-intro, .contact-layout { grid-template-columns: 1fr; }
    .home-hero { min-height: 0; gap: 4rem; }
    .hero-photo { max-width: 650px; }
    .hero-photo img { height: 340px; }
    .repair-intro .repair-landscape { order: 2; }
    .quiet-panel { grid-template-columns: 1fr; gap: .5rem; }
    .portrait-photo { justify-self: start; }
    .simple-intro { min-height: 0; }
    .contact-intro { position: static; }
}

@media (max-width: 700px) {
    body { font-size: 1rem; }
    .header-inner, .home-hero, .page-intro, .repair-detail, .service-strip, .quiet-panel, .contact-layout, .footer-inner { width: min(calc(100% - 2rem), var(--max)); }
    .brand span { max-width: 10rem; font-size: 1.2rem; }
    .brand-mark { width: 55px; height: 55px; }
    h1 { font-size: clamp(2.7rem, 14vw, 4.5rem); }
    .home-hero, .page-intro, .contact-layout { padding: 3.5rem 0; }
    .hero-photo img { height: 300px; }
    .photo-note { right: -.4rem; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .service-card:last-child { border-bottom: 0; }
    .service-number { margin-bottom: 2rem; }
    .quiet-panel { padding: 2rem; margin-bottom: 4rem; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
}

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