:root {
    --navy: #094d85;
    --navy-deep: #063763;
    --gold: #cca564;
    --ink: #1c1c1c;
    --muted: #5c6570;
    --line: #e6e1d8;
    --paper: #ffffff;
    --cream: #f7f4ef;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Epilogue, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    background: var(--navy);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-bar {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 10px 16px;
}

.brand {
    justify-self: center;
}

.brand img {
    height: 54px;
    width: auto;
    margin: 0 auto;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    padding: 0;
}

.menu-toggle-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
    margin: 0 auto;
}

.menu-toggle-box span {
    display: block;
    height: 2px;
    background: #fff;
}

.book-link {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 2px;
}

.header-book,
.nav-book {
    display: none;
}

.site-nav {
    display: none;
    background: var(--navy-deep);
    padding: 8px 20px 18px;
}

.site-nav.is-open {
    display: grid;
}

.site-nav a {
    color: #fff;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 500;
}

.hero {
    position: relative;
    min-height: 320px;
    display: grid;
    align-items: end;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(6, 24, 42, 0.82) 0%, rgba(6, 24, 42, 0.55) 46%, rgba(6, 24, 42, 0.28) 100%),
        url("https://citycentermotelphx.com/images/hero-bg.jpg") center 40% / cover no-repeat;
}

.wrap,
.article,
.related {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-inner {
    width: min(620px, calc(100% - 32px));
    margin-left: max(16px, calc((100% - 1100px) / 2));
    margin-right: auto;
}

.hero-inner {
    padding: 48px 0 36px;
}

.eyebrow {
    margin: 0 0 8px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
}

.hero h1,
.article h1,
.card h2,
.page-hero h1 {
    font-family: Marcellus, Georgia, serif;
    font-weight: 400;
    line-height: 1.15;
}

.hero h1 {
    margin: 0 0 10px;
    max-width: 11em;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.hero p {
    max-width: 38rem;
    margin: 0 0 18px;
}

.hero .book-link,
.page-hero .book-link {
    padding: 14px 28px;
}

.section {
    padding: 48px 0 72px;
}

.section-heading {
    margin: 0 0 22px;
    font-family: Marcellus, Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
}

.post-grid {
    display: grid;
    gap: 22px;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
}

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

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

.card-body {
    padding: 18px 18px 22px;
}

.meta {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
}

.card h2 {
    margin: 0 0 8px;
    font-size: 1.45rem;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.page-hero {
    background: var(--cream);
    padding: 28px 0;
}

.crumbs {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.92rem;
}

.crumbs a {
    color: var(--navy);
}

.article {
    padding: 28px 0 10px;
}

.article img.feature {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    margin-bottom: 22px;
}

.article h1 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy-deep);
}

.article .meta {
    margin-bottom: 18px;
}

.article p {
    font-size: 1.05rem;
}

.article h2,
.article h3 {
    font-family: Marcellus, Georgia, serif;
    font-weight: 400;
    color: var(--navy-deep);
    line-height: 1.25;
}

.article h2 {
    margin: 2rem 0 0.6rem;
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.article h3 {
    margin: 1.35rem 0 0.4rem;
    font-size: 1.35rem;
}

.article a:not(.book-link) {
    color: var(--navy);
    font-weight: 600;
}

.article .book-link {
    margin-top: 8px;
    color: #fff;
}

.related {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 80px;
}

.sitemap-page h1 {
    margin-top: 0;
}

.sitemap-page h2 {
    margin: 8px 0 0;
    font-family: Marcellus, Georgia, serif;
    font-weight: 400;
    font-size: 1.6rem;
}

.sitemap-note {
    color: var(--muted);
    max-width: 40rem;
}

.sitemap-note a {
    color: var(--navy);
    font-weight: 600;
}

.sitemap-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}

.sitemap-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.sitemap-list a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
}

.sitemap-list span {
    color: var(--muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .sitemap-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

.empty {
    padding: 48px 0 80px;
}

.site-footer {
    background: var(--navy);
    color: #fff;
    padding: 40px 16px 28px;
}

.footer-grid {
    width: min(1100px, 100%);
    margin: 0 auto 24px;
    display: grid;
    gap: 24px;
}

.footer-brand,
.footer-label {
    margin: 0 0 8px;
    font-family: Marcellus, Georgia, serif;
    font-size: 1.25rem;
}

.site-footer a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin: 6px 0;
}

.site-footer a:hover,
.site-nav a:hover,
.card a:hover h2 {
    color: var(--gold);
}

.copyright {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
}

.sticky-book {
    position: fixed;
    right: 0;
    top: 42%;
    z-index: 30;
    writing-mode: vertical-rl;
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 16px 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
}

@media (max-width: 767px) {
    .hero {
        background-position: 18% center, 18% center;
    }

    .hero h1 {
        max-width: 8em;
    }
}

@media (min-width: 768px) {
    .site-header {
        display: flex;
        align-items: center;
        gap: 28px;
        width: 100%;
        margin: 0;
        padding: 0 max(16px, calc((100% - 1100px) / 2));
        background: var(--navy);
    }

    .menu-toggle,
    .sticky-book {
        display: none;
    }

    .header-bar {
        display: contents;
    }

    .brand {
        justify-self: start;
        order: 1;
    }

    .header-book {
        display: inline-block;
        order: 3;
        padding: 12px 18px;
    }

    .site-nav {
        order: 2;
        display: flex;
        flex: 1;
        justify-content: flex-end;
        align-items: center;
        gap: 22px;
        width: auto;
        margin: 0;
        padding: 18px 0;
        background: transparent;
    }

    .site-nav a {
        border: 0;
        padding: 0;
    }

    .nav-book {
        display: none;
    }

    .post-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
