:root {
    --cream: #f7efe2;
    --sand: #e8d5b7;
    --tan: #c59b6b;
    --saddle: #7b4f2c;
    --dark: #2f241c;
    --cedar: #4d3828;
    --sage: #7d8769;
    --wire: rgba(80, 58, 40, .45);
    --white: #fffaf2;
    --shadow: 0 20px 60px rgba(47, 36, 28, .15);
    --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    background: rgba(247, 239, 226, .96);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 35px rgba(47, 36, 28, .08);
}

.top-wire {
    height: 10px;
    background:
        linear-gradient(90deg, transparent 0 10px, var(--wire) 10px 12px, transparent 12px 24px),
        linear-gradient(0deg, transparent 0 4px, rgba(80, 58, 40, .34) 4px 5px, transparent 5px 10px);
    background-size: 24px 10px, 100% 10px;
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    letter-spacing: .02em;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border: 2px solid var(--saddle);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: Cinzel, serif;
    color: var(--saddle);
    font-weight: 700;
    box-shadow: inset 0 0 0 5px rgba(123, 79, 44, .09);
}

.brand strong {
    display: block;
    font-family: Cinzel, serif;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.1;
}

.brand em {
    display: block;
    font-style: normal;
    color: var(--saddle);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .18em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.main-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--cedar);
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(123, 79, 44, .1);
    color: var(--saddle);
}

.main-nav .admin-link {
    border: 1px solid rgba(123, 79, 44, .25);
}

.nav-toggle {
    display: none;
    border: 0;
    background: var(--dark);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.35rem;
}

.hero {
    position: relative;
    min-height: 72vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(47,36,28,.86), rgba(47,36,28,.42)),
        radial-gradient(circle at 80% 20%, rgba(197,155,107,.28), transparent 35%),
        linear-gradient(135deg, #5b3b26 0%, #9c7048 42%, #d8b988 100%);
    color: var(--white);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 180px;
    background: linear-gradient(0deg, var(--cream), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 90px 0 130px;
    max-width: 760px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #f3d6ab;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-weight: 800;
    font-size: .78rem;
}

.kicker::before,
.kicker::after {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

h1, h2, h3 {
    font-family: Cinzel, Georgia, serif;
    line-height: 1.1;
    margin: 0 0 18px;
}

h1 { font-size: clamp(2.7rem, 8vw, 5.8rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: 1.35rem; }

.hero p {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    max-width: 680px;
    color: rgba(255, 250, 242, .88);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(47, 36, 28, .22); }
.btn-primary { background: var(--tan); color: var(--dark); }
.btn-secondary { background: rgba(255,255,255,.11); color: var(--white); border-color: rgba(255,255,255,.34); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-soft { background: rgba(123,79,44,.12); color: var(--saddle); }
.btn-danger { background: #8b2f22; color: white; }

.section {
    padding: 86px 0;
}

.section-tight { padding: 54px 0; }
.section-header {
    max-width: 760px;
    margin-bottom: 38px;
}
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header p { font-size: 1.08rem; color: rgba(47,36,28,.75); }

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

.card {
    background: rgba(255, 250, 242, .78);
    border: 1px solid rgba(123, 79, 44, .13);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.card .icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(197,155,107,.24);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 50px;
    align-items: center;
}

.photo-panel {
    min-height: 430px;
    border-radius: 30px;
    background:
        linear-gradient(0deg, rgba(47,36,28,.22), rgba(47,36,28,.04)),
        radial-gradient(circle at 30% 20%, rgba(255,250,242,.65), transparent 28%),
        linear-gradient(135deg, #a9774d, #d2b078 55%, #806040);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.photo-panel::before {
    content: "";
    position: absolute;
    inset: 26px;
    border: 1px solid rgba(255, 250, 242, .5);
    border-radius: 24px;
}

.photo-panel::after {
    content: "Wide-open Texas skies • Quiet trails • Native wildlife";
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    color: var(--white);
    font-weight: 800;
    letter-spacing: .04em;
}

.barbed-divider {
    height: 28px;
    display: grid;
    place-items: center;
    opacity: .85;
}
.barbed-divider::before {
    content: "";
    width: min(760px, 88vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--wire), transparent);
}
.barbed-divider span::after {
    content: "◆  ◆  ◆";
    color: rgba(123, 79, 44, .46);
    font-size: .72rem;
    letter-spacing: 2.2em;
    margin-left: 2.2em;
    position: relative;
    top: -14px;
}

.feature-list {
    display: grid;
    gap: 16px;
    margin: 28px 0;
}
.feature-list div {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.feature-list b { color: var(--saddle); }

.page-hero {
    padding: 92px 0 70px;
    background:
        linear-gradient(90deg, rgba(47,36,28,.78), rgba(47,36,28,.46)),
        linear-gradient(135deg, #4c3222, #b1885f);
    color: var(--white);
}

.page-hero p { max-width: 760px; color: rgba(255,250,242,.86); font-size: 1.15rem; }

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

.gallery-card, .post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(123,79,44,.14);
    box-shadow: var(--shadow);
}

.gallery-card img, .post-card img, .post-hero-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-card-content, .post-card-content { padding: 22px; }
.meta {
    color: var(--saddle);
    font-size: .84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.post-card img { height: 280px; }
.post-card h2 { font-size: 1.7rem; margin-top: 8px; }
.post-body {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.08rem;
}
.post-hero-image {
    max-width: 980px;
    margin: -26px auto 46px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.post-hero-image img { height: min(56vw, 520px); }

.empty-state {
    padding: 44px;
    border-radius: var(--radius);
    border: 1px dashed rgba(123,79,44,.35);
    background: rgba(255,250,242,.7);
    text-align: center;
}

.direction-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 28px;
    align-items: stretch;
}

.map-wrap {
    border-radius: 28px;
    overflow: hidden;
    min-height: 460px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(123,79,44,.15);
    background: var(--white);
}

.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }

.notice {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(125,135,105,.16);
    border: 1px solid rgba(125,135,105,.22);
}

.admin-body {
    background: var(--cream);
    min-height: 100vh;
}

.admin-shell {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 80px;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(123,79,44,.13);
    margin-bottom: 26px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

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

label { display: grid; gap: 8px; font-weight: 800; color: var(--cedar); }
input, textarea, select {
    width: 100%;
    border: 1px solid rgba(123,79,44,.24);
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    background: #fffdf8;
    color: var(--dark);
}
textarea { min-height: 160px; resize: vertical; }
.small-help { color: rgba(47,36,28,.62); font-size: .9rem; }
.alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-weight: 700;
}
.alert.success { background: rgba(125,135,105,.18); color: #465237; }
.alert.error { background: rgba(139,47,34,.12); color: #8b2f22; }

.admin-list {
    display: grid;
    gap: 16px;
}
.admin-row {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 16px;
    align-items: center;
    background: rgba(255,250,242,.9);
    border: 1px solid rgba(123,79,44,.12);
    border-radius: 18px;
    padding: 14px;
}
.admin-row img {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--sand);
}
.admin-row.placeholder { grid-template-columns: 1fr; }

.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}
.login-card {
    width: min(460px, 100%);
    background: var(--white);
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(123,79,44,.14);
}

@media (max-width: 860px) {
    .nav-toggle { display: grid; place-items: center; }
    .main-nav {
        display: none;
        position: absolute;
        top: 88px;
        left: 20px;
        right: 20px;
        padding: 14px;
        border-radius: 20px;
        background: var(--white);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }
    .main-nav.open { display: flex; }
    .cards, .gallery-grid, .post-grid, .split, .direction-grid, .form-grid { grid-template-columns: 1fr; }
    .hero { min-height: 64vh; }
    .section { padding: 64px 0; }
    .admin-row { grid-template-columns: 80px 1fr; }
    .admin-row form { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 28px, 1120px); }
    .brand em { letter-spacing: .1em; }
    .brand-mark { width: 46px; height: 46px; font-size: .9rem; }
    .hero-content { padding: 64px 0 110px; }
    .button-row { align-items: stretch; flex-direction: column; }
    .btn { width: 100%; }
    .card, .form-card, .login-card { padding: 22px; }
}
