:root {
    --color-ink: #0f2220;
    --color-ink-soft: #2b3f3c;
    --color-sand: #f7f1e4;
    --color-mist: #e2f0ee;
    --color-sea: #0f6d6a;
    --color-sea-dark: #0a4f4d;
    --color-coral: #e0704c;
    --color-sun: #f2a44a;
    --color-slate: #5b6e6c;
    --color-white: #ffffff;
    --shadow-soft: 0 24px 50px rgba(15, 34, 32, 0.18);
    --shadow-card: 0 18px 36px rgba(15, 34, 32, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --wrap: 1120px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
    color: var(--color-ink);
    background: radial-gradient(circle at top left, #ffffff 0%, #fdf6ec 35%, #f6efe3 65%, #f1e8da 100%);
    line-height: 1.6;
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    filter: blur(0);
}

body::before {
    top: -140px;
    right: -140px;
    background: radial-gradient(circle, rgba(15, 109, 106, 0.35), rgba(242, 164, 74, 0));
}

body::after {
    bottom: -200px;
    left: -140px;
    background: radial-gradient(circle, rgba(224, 112, 76, 0.35), rgba(242, 164, 74, 0));
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--color-sea);
}

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

.wrap {
    width: min(var(--wrap), 92vw);
    margin: 0 auto;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 241, 228, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 34, 32, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-ink);
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fbe7c8, #f2a44a 45%, #0f6d6a 100%);
    border: 1px solid rgba(15, 34, 32, 0.12);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(15, 34, 32, 0.2);
    background: var(--color-white);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 14px;
    align-items: center;
}

.site-nav .menu li {
    margin: 0;
}

.site-nav .menu a {
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--color-ink-soft);
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav .menu a:hover,
.site-nav .menu .current-menu-item > a {
    background: var(--color-mist);
    color: var(--color-sea-dark);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--color-sea);
    color: var(--color-white);
    font-weight: 600;
    box-shadow: var(--shadow-card);
}

.header-cta:hover {
    color: var(--color-white);
    background: var(--color-sea-dark);
}

.site-main {
    flex: 1;
    padding-bottom: 40px;
}

.section {
    padding: 80px 0;
}

.section-head {
    max-width: 720px;
    margin-bottom: 40px;
}

.section-head h1,
.section-head h2 {
    font-family: "Fraunces", "Times New Roman", serif;
    font-weight: 700;
    margin: 10px 0 14px;
    line-height: 1.1;
}

.section-head p {
    margin: 0;
    color: var(--color-slate);
}

.results-intro {
    margin: 12px 0 24px;
}

.results-intro h2 {
    font-family: "Fraunces", "Times New Roman", serif;
    margin: 10px 0;
}

.eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-sea-dark);
    font-weight: 700;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    border: none;
    background: var(--color-sea);
    color: var(--color-white);
    font-weight: 600;
    box-shadow: var(--shadow-card);
    cursor: pointer;
}

.button:hover {
    background: var(--color-sea-dark);
    color: var(--color-white);
}

.button--ghost {
    background: transparent;
    border: 1px solid rgba(15, 34, 32, 0.2);
    color: var(--color-ink);
    box-shadow: none;
}

.button--ghost:hover {
    background: var(--color-mist);
    color: var(--color-sea-dark);
}

.button--compact {
    padding: 10px 16px;
    box-shadow: none;
}

.hero {
    padding: 72px 0 90px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 4vw, 3.9rem);
    margin: 12px 0 18px;
}

.hero-lede {
    font-size: 1.1rem;
    color: var(--color-ink-soft);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 26px 0 30px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
}

.stat {
    background: var(--color-white);
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
}

.stat-value {
    display: block;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-sea-dark);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-slate);
}

.hero-panel {
    display: grid;
    gap: 18px;
}

.search-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: visible;
}

.search-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(242, 164, 74, 0.15), rgba(15, 109, 106, 0.1));
    opacity: 0.6;
    pointer-events: none;
    border-radius: inherit;
}

.search-card > * {
    position: relative;
    z-index: 1;
}

.search-card h2 {
    margin: 0 0 6px;
    font-family: "Fraunces", "Times New Roman", serif;
}

.search-card p {
    margin: 0 0 16px;
    color: var(--color-slate);
}

.search-card-head {
    display: grid;
    gap: 6px;
}

.travel-search {
    display: grid;
    gap: 10px;
}

.search-input {
    display: flex;
    gap: 10px;
}

.search-field {
    flex: 1;
    border-radius: 999px;
    border: 1px solid rgba(15, 34, 32, 0.2);
    padding: 12px 16px;
    font-size: 1rem;
}

.search-field:focus {
    outline: 2px solid rgba(15, 109, 106, 0.4);
    border-color: var(--color-sea);
}

.search-submit {
    padding: 12px 20px;
    box-shadow: none;
}

.search-hint {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-slate);
}

.search-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.travel-search .field {
    display: grid;
    gap: 6px;
}

.travel-search label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-ink-soft);
}

.travel-search input[type="text"],
.travel-search input[type="number"],
.travel-search input[type="date"],
.travel-search select {
    border: 1px solid rgba(15, 34, 32, 0.18);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.95rem;
    background: var(--color-white);
}

.travel-search input[type="date"] {
    font-family: "Fraunces", "Times New Roman", serif;
    letter-spacing: 0.02em;
}

.travel-search select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--color-ink-soft) 50%),
        linear-gradient(135deg, var(--color-ink-soft) 50%, transparent 50%);
    background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 32px;
}

.search-filters {
    margin-top: 16px;
    background: var(--color-mist);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    border: 1px solid rgba(15, 34, 32, 0.08);
}

.search-filters > summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--color-sea-dark);
    list-style: none;
}

.search-filters > summary::-webkit-details-marker {
    display: none;
}

.search-filters[open] {
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.filter-grid {
    display: grid;
    gap: 20px;
    margin-top: 16px;
}

.filter-group h3 {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: var(--color-ink);
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
}

.option-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-ink-soft);
}

.option-grid input {
    margin: 0;
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.chip {
    border: 1px solid rgba(15, 34, 32, 0.15);
    background: var(--color-white);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-ink-soft);
    cursor: pointer;
}

.chip:hover {
    border-color: var(--color-sea);
    color: var(--color-sea-dark);
}

.search-meta {
    margin-top: 18px;
    display: grid;
    gap: 12px;
    background: var(--color-mist);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-sea-dark);
    display: block;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.mini-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-card);
}

.mini-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-sea-dark);
    display: block;
    margin-bottom: 6px;
}

.mini-caption {
    display: block;
    margin-top: 6px;
    color: var(--color-slate);
    font-size: 0.85rem;
}

.destination-grid,
.deal-grid,
.step-grid,
.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.destination-card,
.deal-card,
.step-card,
.journal-card,
.content-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: grid;
}

.card-media {
    height: 140px;
    background: linear-gradient(120deg, #f6d5a8, #f0a67b);
}

.destination-card--sunset .card-media {
    background: linear-gradient(120deg, #f4b36c, #e0704c);
}

.destination-card--moss .card-media {
    background: linear-gradient(120deg, #cce0c2, #6da47c);
}

.destination-card--coast .card-media {
    background: linear-gradient(120deg, #9fe3e2, #2f8b88);
}

.destination-card--glacier .card-media {
    background: linear-gradient(120deg, #cfe2f6, #5b7aa6);
}

.destination-card--terra .card-media {
    background: linear-gradient(120deg, #f6cba1, #b0564b);
}

.destination-card--pine .card-media {
    background: linear-gradient(120deg, #c8e5d8, #3b7a61);
}

.card-body {
    padding: 20px 22px 24px;
    display: grid;
    gap: 12px;
}

.card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--color-slate);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--color-mist);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-sea-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price {
    font-weight: 700;
    color: var(--color-sea-dark);
}

.text-link {
    font-weight: 600;
    color: var(--color-sea-dark);
}

.text-link:hover {
    color: var(--color-sea);
}

.deal-card {
    grid-template-rows: auto 1fr;
}

.deal-media {
    height: 180px;
    overflow: hidden;
}

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

.deal-media-fallback {
    height: 100%;
    background: linear-gradient(140deg, #f1c38f, #c66b4f, #347d75);
}

.deal-body {
    padding: 20px 22px 24px;
    display: grid;
    gap: 10px;
}

.deal-body h3 {
    margin: 0;
}

.deal-location {
    margin: 0;
    color: var(--color-slate);
    font-size: 0.9rem;
}

.deal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.hotel-results {
    margin-bottom: 40px;
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.hotel-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
}

.hotel-media {
    height: 180px;
    overflow: hidden;
}

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

.hotel-media-fallback {
    height: 100%;
    background: linear-gradient(140deg, #f3caa2, #e07a56, #0f6d6a);
}

.hotel-body {
    padding: 20px 22px 24px;
    display: grid;
    gap: 10px;
}

.hotel-body h2,
.hotel-body h3 {
    margin: 0;
}

.hotel-location {
    margin: 0;
    color: var(--color-slate);
    font-size: 0.9rem;
}

.hotel-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.hotel-rating {
    font-weight: 600;
    color: var(--color-sea-dark);
    font-size: 0.95rem;
}

.section-footer {
    margin-top: 28px;
}

.step-card {
    padding: 24px;
    gap: 12px;
}

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-sea);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.journal-card {
    grid-template-rows: auto 1fr;
}

.journal-media {
    height: 170px;
    overflow: hidden;
}

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

.journal-media-fallback {
    height: 100%;
    background: linear-gradient(135deg, #f5d8b8, #f2a44a, #0f6d6a);
}

.journal-body {
    padding: 20px 22px 24px;
    display: grid;
    gap: 10px;
}

.content {
    padding-top: 60px;
}

.content-card {
    padding: 32px;
    gap: 16px;
}

.page-title {
    font-family: "Fraunces", "Times New Roman", serif;
    margin: 0;
}

.entry-content {
    color: var(--color-ink-soft);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: "Fraunces", "Times New Roman", serif;
    color: var(--color-ink);
}

.entry-content a {
    color: var(--color-sea-dark);
    text-decoration: underline;
}

.entry-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--color-sea);
    background: var(--color-mist);
    border-radius: var(--radius-sm);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--color-slate);
    font-size: 0.9rem;
}

.post-hero {
    margin-top: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.post-footer {
    color: var(--color-slate);
    font-size: 0.9rem;
}

.tag-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-nav {
    margin-top: 24px;
}

.pagination {
    margin-top: 28px;
}

.debug-panel {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-card);
    margin-bottom: 28px;
}

.debug-panel h2 {
    margin: 0 0 12px;
    font-family: "Fraunces", "Times New Roman", serif;
}

.debug-code {
    margin: 0;
    padding: 14px;
    border-radius: 12px;
    background: #0b1f1d;
    color: #e8f0ee;
    font-size: 0.82rem;
    overflow: auto;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 34, 32, 0.15);
    margin-right: 6px;
    color: var(--color-ink-soft);
}

.page-numbers.current {
    background: var(--color-sea);
    color: var(--color-white);
    border-color: var(--color-sea);
}

.empty-state {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 12px;
}

.cta {
    background: linear-gradient(135deg, #0f6d6a, #063c3b);
    color: var(--color-white);
}

.cta-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cta-copy h2 {
    color: var(--color-white);
}

.cta .button {
    background: var(--color-sun);
    color: #2a1a0a;
    box-shadow: none;
}

.cta .button--ghost {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-white);
    background: transparent;
}

.site-footer {
    background: #0b1f1d;
    color: #e8f0ee;
    padding: 70px 0 40px;
}

.site-footer .brand {
    color: #e8f0ee;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.footer-links h2 {
    font-family: "Fraunces", "Times New Roman", serif;
    margin: 0 0 14px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.footer-menu a {
    color: #e8f0ee;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-form {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.footer-form input {
    flex: 1;
    border-radius: 999px;
    border: none;
    padding: 10px 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #cdd8d6;
}

.travel-shell .reveal {
    opacity: 0;
    transform: translateY(16px);
}

.travel-loaded .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

@media (max-width: 960px) {
    .menu-toggle {
        display: inline-flex;
    }

    .header-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-sand);
        padding: 16px 20px 24px;
        border-radius: 0 0 22px 22px;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: var(--shadow-card);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-open .header-links {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav .menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

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

    .cta-grid {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 60px 0 70px;
    }

    .search-input {
        flex-direction: column;
        align-items: stretch;
    }

    .search-fields {
        grid-template-columns: 1fr;
    }

    .option-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .footer-form {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .travel-shell .reveal,
    .travel-loaded .reveal {
        transition: none;
    }
}
