:root {
    color-scheme: light;
    --ink: #203c35;
    --muted: #586962;
    --paper: #f7f8f4;
    --line: #dce2db;
    --accent: #cce0bc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}
button, input, textarea { font: inherit; }
a { color: inherit; text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #357c65; outline-offset: 5px; }
main:focus { outline: none; }
.container { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    padding: .75rem 1rem;
    background: var(--ink);
    color: white;
    transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.25rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; }
.brand-name { font-weight: 750; font-size: 1.35rem; letter-spacing: .16em; line-height: 1.3; }
.brand-description { font-size: .8rem; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; }
.main-content { padding-block: clamp(2rem, 5vw, 4rem); min-height: 70vh; }
h1, h2 { line-height: 1.15; font-weight: 600; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 4.5vw, 3.75rem); letter-spacing: -.04em; max-width: 24ch; margin: .75rem 0 1.5rem; text-wrap: balance; }
h2 { font-size: clamp(1.45rem, 2.3vw, 1.8rem); letter-spacing: -.025em; margin: 0 0 1.25rem; }
p { margin: 0 0 1rem; }
.eyebrow { font-size: .75rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .75rem; }
.hero { margin-bottom: 2.5rem; }
.hero-intro { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.hero-intro p { color: var(--muted); font-size: 1.15rem; margin: 0; }
.button { display: inline-flex; flex-shrink: 0; align-items: center; gap: 1.5rem; min-height: 48px; padding: .75rem 1.25rem; background: var(--ink); color: #fff; border-radius: .25rem; text-decoration: none; font-weight: 600; }
.button:hover { background: #315b4e; }
.gallery { margin-bottom: 3rem; }
.gallery-track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; border: 1px solid var(--line); border-radius: .5rem; background: #edf0eb; }
.gallery-slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.gallery-image { aspect-ratio: 12 / 5; max-height: 38rem; display: flex; align-items: center; justify-content: center; }
.gallery-image img { width: 100%; height: 100%; object-fit: contain; }
.gallery-slide figcaption { padding: .65rem 1rem; background: var(--ink); color: #fff; font-size: .9rem; }
.gallery.is-enhanced .gallery-track { scrollbar-width: none; }
.gallery.is-enhanced .gallery-track::-webkit-scrollbar { display: none; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-top: .75rem; }
.gallery-arrows, .gallery-dots { display: flex; gap: .5rem; }
.icon-button { width: 44px; height: 44px; padding: 0; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 50%; font-size: 1.35rem; }
.icon-button:hover { background: var(--accent); }
.gallery-status { color: var(--muted); font-size: .85rem; margin: 0; }
.gallery-dots { gap: 0; }
.gallery-dot { display: grid; place-items: center; width: 32px; min-height: 44px; border: 0; background: transparent; padding: 0; }
.gallery-dot span { width: 8px; height: 8px; border-radius: 50%; background: #a6b4a9; }
.gallery-dot[aria-current="true"] span { background: var(--ink); outline: 1px solid var(--ink); outline-offset: 3px; }
.gallery-hint { color: var(--muted); margin: .5rem 0 0; font-size: .8rem; }
.details-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 1rem; align-items: stretch; }
.detail-card { min-width: 0; padding: clamp(1.25rem, 2.5vw, 2rem); background: #fff; border: 1px solid var(--line); border-radius: .5rem; overflow-wrap: anywhere; }
.detail-card .eyebrow { color: var(--muted); }
.feature-list { margin: 0; padding-left: 1.15rem; }
.feature-list li { padding-left: .2rem; margin-bottom: .6rem; }
.feature-list li:last-child { margin-bottom: 0; }
.feature-list li::marker { color: #65956b; }
.contact-card { background: var(--ink); color: white; scroll-margin-top: 1rem; }
.contact-card .eyebrow { color: var(--accent); }
.contact-link { display: block; width: fit-content; max-width: 100%; padding-block: .6rem; }
.contact-link:hover { color: var(--accent); }
address { font-style: normal; margin-bottom: 1.5rem; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 2rem; padding-block: 1.5rem; }
.footer-content p { margin: 0; }
.footer-content a { display: inline-flex; align-items: center; min-height: 44px; }
.text-danger { color: #a12b2b; }
code { overflow-wrap: anywhere; }

@media (max-width: 60rem) {
    .details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-card { grid-column: 1 / -1; }
}

@media (max-width: 40rem) {
    .container { width: calc(100% - 2rem); }
    .header-content { flex-wrap: wrap; padding-block: 1rem; }
    .site-nav { gap: 1rem; }
    .hero { margin-bottom: 1.5rem; }
    .hero-intro { align-items: flex-start; flex-direction: column; }
    .hero-intro p { font-size: 1rem; }
    .gallery-image { aspect-ratio: 16 / 9; }
    .gallery-controls { flex-wrap: wrap; }
    .gallery-dots { width: 100%; justify-content: center; }
    .gallery { margin-bottom: 2rem; }
    .details-grid { grid-template-columns: minmax(0, 1fr); }
    .contact-card { grid-column: auto; }
}

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