:root {
    --ink: #193e38;
    --green: #246650;
    --muted: #6c7d75;
    --line: #dce4dd;
    --cream: #f6f5ef
}

* {
    box-sizing: border-box
}

[hidden] {
    display: none !important
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 15px/1.65 system-ui, -apple-system, Segoe UI, sans-serif
}

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

button:disabled {
    opacity: .5;
    cursor: wait
}

a {
    color: inherit
}

.wrap {
    max-width: 1240px;
    margin: auto;
    padding: 0 28px
}

header {
    background: white;
    border-bottom: 1px solid var(--line)
}

.nav {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 16px 28px
}

.logo {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1.5px;
    text-decoration: none
}

.logo span {
    color: #ad9368
}

nav {
    display: flex;
    gap: 5px
}

nav button {
    background: none;
    border: 0;
    border-radius: 25px;
    color: var(--muted);
    padding: 9px 14px
}

nav button.active {
    background: #eaf1e8;
    color: var(--green);
    font-weight: 700
}

.row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap
}

.muted {
    font-size: 16px;
    color: var(--muted)
}

.hero {
    padding: 42px 0 35px;
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 45px;
    align-items: center
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 750;
    color: var(--green)
}

h1 {
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.12;
    letter-spacing: -2px;
    font-weight: 650;
    margin: 17px 0 22px
}

h1 em {
    font: italic 1em Georgia, serif;
    color: #6e8b70
}

.sub {
    color: var(--muted);
    max-width: 580px
}

.hero aside {
    border-left: 1px solid #cbd6ca;
    padding-left: 30px
}

.hero aside h2 {
    font: 29px/1.4 Georgia, serif;
    margin-top: 18px
}

h2 {
    font-size: 25px;
    letter-spacing: -.6px;
    margin: 0
}

h3 {
    font-size: 18px;
    margin: 0 0 12px
}

.search {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: end;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 24px #193e3806
}

.search label {
    flex: 1;
    min-width: 120px
}

.search label:first-child {
    flex: 1.5;
    min-width: 180px
}

label {
    display: block;
    font-size: 12px;
    font-weight: 650;
    color: var(--muted)
}

input,
select,
textarea {
    width: 100%;
    padding: 11px 10px;
    background: white;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-top: 6px;
    min-width: 0
}

textarea {
    min-height: 90px
}

.btn {
    padding: 11px 17px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: white;
    color: var(--ink);
    font-weight: 650
}

.btn.primary {
    background: var(--green);
    color: white;
    border-color: var(--green)
}

.btn.small {
    padding: 6px 12px;
    font-size: 12px
}

.btn.danger {
    color: #a83f3f
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 34px 0 22px
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 50px
}

.card {
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: white
}

.cover {
    height: 210px;
    background: #e7ece1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

.cover img {
    height: 100%;
    width: 100%;
    object-fit: cover
}

.placeholder {
    font: 55px Georgia;
    color: #90a18b
}

.cover .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fffffff0
}

.cardbody {
    padding: 22px
}

.cardbody h3 {
    font-size: 21px;
    margin: 5px 0 10px
}

.meta {
    color: var(--muted);
    font-size: 13px
}

.cardfoot {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    background: #e9f0e5;
    color: var(--green);
    border-radius: 20px;
    font-size: 12px
}

.empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 55px 20px;
    border: 1px dashed #bccdbd;
    border-radius: 15px;
    background: #ffffff80
}

.empty .placeholder {
    display: block;
    margin-bottom: 12px
}

.notice {
    padding: 13px 18px;
    border-radius: 10px;
    background: #eaf0e6;
    color: #4b6550;
    margin: 20px 0;
    font-size: 13px
}

.notice.warn {
    background: #fff0d5;
    color: #7a5926
}

.section {
    padding: 10px 0 45px
}

.panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    margin: 24px 0
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.stats>div {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px
}

.stats span {
    font-size: 12px;
    color: var(--muted)
}

.stats strong {
    display: block;
    font-size: 26px
}

.tablewrap {
    overflow: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px
}

td,
th {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    white-space: nowrap
}

th {
    color: var(--muted);
    background: #f5f8f2;
    font-weight: 650
}

.note {
    white-space: pre-wrap;
    min-width: 140px
}

.status {
    padding: 7px 9px;
    border: 0;
    border-radius: 7px;
    background: #edf0eb;
    color: #6c796f;
    min-width: 80px;
    font-size: 11px
}

.free {
    background: #e1f0e3;
    color: #2c643c
}

.lock {
    background: #fff0cc;
    color: #936219
}

.booked {
    background: #f9dddd;
    color: #a03b3b
}

dialog {
    border: 0;
    border-radius: 18px;
    padding: 0;
    width: min(680px, 94vw);
    max-height: 90vh;
    color: var(--ink);
    box-shadow: 0 25px 90px #0003
}

dialog::backdrop {
    background: #193e3880;
    backdrop-filter: blur(4px)
}

.modalhead {
    padding: 22px 25px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.modalhead h3 {
    margin: 0
}

.close {
    background: none;
    border: 0;
    font-size: 26px;
    color: var(--muted)
}

.modalbody {
    padding: 24px
}

.modalbody>label {
    margin: 14px 0
}

.formgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.full {
    grid-column: 1/-1
}

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.consent input {
    width: auto;
    margin-top: 5px
}

.actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    gap: 10px
}

.detailtext {
    white-space: pre-wrap
}

.detailphoto {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px
}

.googlearea {
    border-top: 1px solid var(--line)
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 22px;
    background: var(--ink);
    color: rgb(255, 255, 255);
    border-radius: 12px;
    z-index: 100;
    max-width: 90vw;
    box-shadow: 0 8px 25px #0002
}

footer {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    margin-top: 30px
}

footer .row {
    justify-content: space-between
}

footer .logo {
    font-size: 21px
}

@media(max-width:950px) {
    .cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .hero {
        grid-template-columns: 1fr
    }

    .hero aside {
        display: none
    }

    .nav {
        justify-content: flex-start
    }
}

@media(max-width:600px) {
    .wrap {
        padding-left: 17px;
        padding-right: 17px
    }

    .cards {
        grid-template-columns: 1fr
    }

    .formgrid {
        grid-template-columns: 1fr
    }

    .full {
        grid-column: auto
    }

    .stats {
        gap: 8px
    }

    .stats>div {
        padding: 12px
    }

    .stats strong {
        font-size: 18px
    }

    .search {
        padding: 16px
    }

    .search label {
        min-width: 100px
    }

    .hero {
        padding-top: 20px
    }

    .panel {
        padding: 17px
    }

    .modalbody {
        padding: 18px
    }

    nav button {
        padding: 8px;
        font-size: 12px
    }

    .nav {
        gap: 12px
    }

    .toolbar {
        align-items: flex-start
    }
}

/* Homepage image slots: backgrounds are neutral until your own files are added. */
.home-frame {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px dashed #a8b8a6;
    border-radius: 22px;
    background: #e7ecdf;
    color: var(--ink)
}

.home-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2
}

.home-frame:after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none
}

.home-frame.has-image {
    border-style: solid;
    border-color: transparent;
    color: white
}

.home-frame.has-image:after {
    background: linear-gradient(90deg, #102e29e6, #102e294d)
}

.home-frame.has-image .eyebrow,
.home-frame.has-image .sub {
    color: white
}

.home-frame.has-image h1 em {
    color: #e4edda
}

.home-copy {
    position: relative;
    z-index: 1
}

.home-hero {
    min-height: 490px;
    display: flex;
    align-items: center;
    padding: 52px;
    margin: 25px 0
}

.home-hero .home-copy {
    max-width: 690px
}

.home-cta {
    display: inline-block;
    text-decoration: none;
    background: white;
    color: #1b3e35;
    margin-top: 12px
}

.home-image-hint {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border: 1px solid #afbfac;
    border-radius: 30px;
    background: #ffffffc9;
    color: #526a57;
    font-size: 11px
}

.home-collections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.home-tile {
    min-height: 285px;
    display: flex;
    align-items: flex-end;
    padding: 26px
}

.home-tile h3 {
    font-size: 25px;
    margin: 12px 0 0
}

.home-tile.has-image:after {
    background: linear-gradient(0deg, #102e29eb, #102e291a)
}

.home-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 38px 0
}

.home-story h2 {
    font-size: 32px;
    line-height: 1.3;
    margin: 14px 0
}

.home-story-image {
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center
}

.home-story-image.has-image:after {
    background: none
}

.home-empty-label {
    padding: 25px;
    text-align: center;
    font: italic 24px Georgia, serif;
    color: #7a9178
}

.home-banner {
    min-height: 250px;
    display: flex;
    align-items: center;
    padding: 40px;
    margin: 30px 0 45px
}

.home-banner h2 {
    margin-top: 12px
}

.crop-center {
    object-position: center
}

.crop-top {
    object-position: top
}

.crop-bottom {
    object-position: bottom
}

.crop-left {
    object-position: left
}

.crop-right {
    object-position: right
}

@media(max-width:700px) {

    .home-collections,
    .home-story {
        grid-template-columns: 1fr
    }

    .home-hero {
        padding: 65px 25px 30px;
        min-height: 450px
    }

    .home-tile {
        min-height: 250px
    }

    .home-story {
        gap: 22px
    }

    .home-story-image {
        height: 290px
    }

    .home-banner {
        padding: 60px 25px 30px
    }

    .home-image-hint {
        font-size: 10px
    }

    .brand-logo {
        display:block;
        height: 48px;
        width: auto;
        max-width: 180px;
        object-fit: contain;
    }
}