/* Irrigarden — Ghost theme by Abstract27
   Keeps the original layout (centred logo, ruled navigation, boxed banners, centred navy type)
   with a lighter, more modern finish. */

@font-face {
    font-family: "Questrial";
    src: url("../fonts/questrial-latin-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy: #043152;
    --navy-soft: #2c5677;
    --muted: #5d7183;
    --line: rgba(4, 49, 82, .18);
    --bg: #fff;
    --bg-soft: #f2f6f8;
    --green: #5b8a3c;
    --font: "Questrial", "Century Gothic", "Avenir Next", system-ui, sans-serif;
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --radius: 4px;
    --ghost-accent-color: var(--navy);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--navy);
    font-family: var(--gh-font-body, var(--font));
    font-size: 18px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--gh-font-heading, var(--font)); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.icon { width: 1em; height: 1em; flex: none; }

/* ---------- Header ---------- */

.site-header { padding-top: 22px; background: var(--bg); }

.header-top { position: relative; display: flex; justify-content: center; padding-bottom: 22px; }

.header-logo { display: block; color: var(--navy); width: 150px; }
.logo { display: block; width: 100%; height: auto; }

.header-contact {
    position: absolute; right: var(--gutter); top: 4px;
    display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
    font-size: 13px; letter-spacing: .02em;
}
.header-contact a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--navy-soft); }
.header-contact a:hover { color: var(--navy); text-decoration: underline; }

.site-nav .nav { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); }
.site-nav .nav a {
    display: block; padding: 14px 0; text-decoration: none;
    font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
    background: linear-gradient(var(--navy), var(--navy)) no-repeat center bottom 9px / 0 1px;
    transition: background-size .25s ease;
}
.site-nav .nav a:hover, .site-nav .nav-current a { background-size: 100% 1px; }

.menu-toggle { display: none; }

/* ---------- Banner & slider ---------- */

.banner { margin: 22px auto 0; }
.banner img { width: 100%; aspect-ratio: 12 / 5; object-fit: cover; border-radius: var(--radius); }

.hero { margin-top: 22px; }
.slider { position: relative; aspect-ratio: 12 / 5; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 28px 20px;
    background: linear-gradient(transparent, rgba(4, 49, 82, .6));
    font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
}
.slide figcaption a { color: #fff; text-decoration: none; }
.slider-btn {
    position: absolute; top: 50%; z-index: 2; translate: 0 -50%;
    width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center; font-size: 20px;
    background: rgba(255, 255, 255, .85); color: var(--navy);
    transition: background .2s;
}
.slider-btn:hover { background: #fff; }
.slider-prev { left: 18px; }
.slider-prev .icon { rotate: 180deg; }
.slider-next { right: 18px; }
.slider:not(.has-many) .slider-btn { display: none; }

/* ---------- Sections & type ---------- */

.section { padding: clamp(48px, 7vw, 88px) var(--gutter) 0; }
.section-title, .page-title {
    text-align: center; font-size: clamp(28px, 3.4vw, 36px); letter-spacing: .02em;
}
.section-title { text-transform: uppercase; margin-bottom: 1.1em; }
.section-more { text-align: center; margin: 40px 0 0; }

.page-header { text-align: center; padding-top: clamp(36px, 5vw, 56px); }
.page-lede { max-width: 760px; margin: -.2em auto 0; font-size: 20px; color: var(--navy-soft); }
.eyebrow { margin: 0 0 .6em; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow a { color: var(--muted); text-decoration: none; }
.eyebrow a:hover { color: var(--navy); }

.content { max-width: calc(860px + var(--gutter) * 2); margin-left: auto; margin-right: auto; text-align: center; padding-top: 24px; }
.intro .content { padding-top: 0; }
.content > * { margin: 0 0 1em; }
.content h2, .content h3 {
    margin: 1.8em 0 .6em; text-transform: uppercase; letter-spacing: .04em;
}
.content h2 { font-size: 24px; }
.content h3 { font-size: 20px; }
.content ul, .content ol { text-align: left; max-width: 720px; margin-left: auto; margin-right: auto; padding-left: 1.2em; }
.content li { margin-bottom: .5em; }
.content li::marker { color: var(--green); }
.content a { color: var(--navy); }
.content strong { font-weight: 400; color: var(--navy); background: linear-gradient(transparent 62%, rgba(91, 138, 60, .18) 0); }
.content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em auto; max-width: 160px; }
.content blockquote { margin: 1.6em auto; font-size: 22px; color: var(--navy-soft); }

/* Ghost cards */
.content .kg-card { margin: 2em auto; }
.kg-width-wide { position: relative; width: min(1100px, 100vw - var(--gutter) * 2); left: 50%; translate: -50% 0; }
.kg-width-full { position: relative; width: 100vw; left: 50%; translate: -50% 0; }
.kg-image-card img, .kg-gallery-image img { border-radius: var(--radius); }
.kg-image-card figcaption, .kg-gallery-card figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.kg-gallery-card { width: min(1200px, 100vw - var(--gutter) * 2); position: relative; left: 50%; translate: -50% 0; }
.kg-gallery-image img { cursor: zoom-in; }
.content .kg-button-card { margin: .8em auto; }
.gh-content iframe.tally-embed { width: 100%; border: 0; display: block; text-align: left; }
.gh-content .tally-fallback { height: 1250px; }
.kg-button-card a.kg-btn {
    font-family: var(--font); font-weight: 400; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
    padding: 12px 28px; height: auto; border-radius: 999px; background: var(--navy); color: #fff;
}
.kg-button-card a.kg-btn:hover { background: var(--navy-soft); opacity: 1; }

/* ---------- Cards & grids ---------- */

.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

.card-link { display: block; text-decoration: none; text-align: center; }
.card-image {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
    transition: transform .5s ease, filter .5s ease;
}
.card-link:hover .card-image { filter: brightness(1.05) saturate(1.08); }
.card { overflow: hidden; }
.card-title { margin: 18px 0 6px; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; }
.card-excerpt { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.55; }

/* ---------- Buttons & CTA ---------- */

.button {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 26px; border-radius: 999px; border: 1px solid var(--navy);
    background: var(--navy); color: #fff; text-decoration: none;
    font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
    transition: background .2s, color .2s;
}
.button:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.button-outline { background: transparent; color: var(--navy); }
.button-outline:hover { background: var(--navy); color: #fff; }

.cta-band { margin-top: clamp(56px, 8vw, 96px); background: var(--bg-soft); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; padding-top: 36px; padding-bottom: 36px; text-align: center; }
.cta-title { margin: 0; font-size: clamp(22px, 2.6vw, 28px); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.page-contact-us .cta-band { display: none; }
.page-contact-us .site-footer { margin-top: clamp(56px, 8vw, 96px); }

/* ---------- Notice & chips ---------- */

.notice {
    max-width: 860px; margin: 0 auto; text-align: center; padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); background: #fff;
}
.notice-eyebrow { margin: 0 0 .4em; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.notice-title { font-size: clamp(22px, 2.6vw, 28px); }
.notice p { color: var(--navy-soft); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips a {
    display: inline-block; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px;
    text-decoration: none; font-size: 15px; transition: border-color .2s, background .2s;
}
.chips a:hover { border-color: var(--navy); background: var(--bg-soft); }

/* ---------- Footer ---------- */

.site-footer { border-top: 4px solid var(--navy); text-align: center; }
.footer-inner { padding-top: 40px; padding-bottom: 32px; }
.footer-logo { display: inline-block; width: 110px; color: var(--navy); }
.footer-title { margin: 18px 0 10px; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }
.footer-address { font-style: normal; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--muted); }
.footer-address a { color: var(--muted); text-decoration: none; }
.footer-address a:hover { color: var(--navy); text-decoration: underline; }
.footer-nav .nav { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; padding: 0; margin: 22px 0 0; font-size: 14px; }
.footer-bar { background: var(--bg-soft); font-size: 13px; color: var(--muted); }
.footer-bar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 14px; padding-bottom: 14px; }
.footer-bar a { color: var(--muted); }

/* ---------- Pagination, error ---------- */

.pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 48px; font-size: 15px; }
.pagination a { text-decoration: none; }
.error-page { text-align: center; padding-bottom: 80px; }
.error-page .header-logo { margin: 0 auto 32px; width: 140px; }

/* ---------- Lightbox ---------- */

.lightbox {
    position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
    background: rgba(2, 20, 34, .92); padding: 4vh 4vw;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; width: auto; border-radius: var(--radius); }
.lightbox button {
    position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff;
    width: 48px; height: 48px; border-radius: 50%; font-size: 22px; cursor: pointer;
    display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox-prev .icon { rotate: 180deg; }
.lightbox-next { right: 16px; top: 50%; translate: 0 -50%; }

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
    .header-top { justify-content: center; flex-direction: column; align-items: center; gap: 12px; }
    .header-contact { position: static; align-items: center; order: 2; }
    .header-logo { width: 120px; }
    .menu-toggle {
        display: grid; place-items: center; position: absolute; right: var(--gutter); top: 0;
        width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius);
        background: #fff; color: var(--navy); cursor: pointer;
    }
    .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
        display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s, opacity .25s;
    }
    .menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
    .menu-toggle-bars::before { top: -6px; }
    .menu-toggle-bars::after { top: 6px; }
    .menu-open .menu-toggle-bars { background: transparent; }
    .menu-open .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
    .menu-open .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

    .site-nav { display: none; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
    .card-title { font-size: 14px; margin-top: 12px; }
    .card-excerpt { display: none; }
    .menu-open .site-nav { display: block; }
    .site-nav .nav { flex-direction: column; align-items: center; padding: 8px 0; }
    .site-nav .nav a { padding: 11px 0; font-size: 14px; }

    .banner img, .slider { aspect-ratio: 4 / 3; }
    .slide figcaption { font-size: 13px; padding: 30px 18px 14px; }
    .slider-btn { width: 38px; height: 38px; font-size: 17px; }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
    body { font-size: 17px; }
    .footer-bar .container { justify-content: center; text-align: center; }
}

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