/* Site chrome: inner-page header, rivet rails, home hero.
   Load on every page after main.css. */

/* ── Rivet side-rails ──────────────────────────────────────── */

.rivet-rail {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 34px;
    z-index: 5;
    pointer-events: none;
}

.rivet-rail-left  { left: 0; }
.rivet-rail-right { right: 0; }

.rivet-rail svg { display: block; height: 100%; }

/* Give page content room so it never slides under the rails.
   Rails are decorative, so drop them on smaller screens. */
@media (min-width: 1100px) {
    body { padding-left: 34px; padding-right: 34px; }
}

@media (max-width: 1099px) {
    .rivet-rail { display: none; }
}

/* ── Inner-page header ─────────────────────────────────────── */

.site-header {
    border-bottom: 1px solid #3a281d;
    background: #100b08;
}

.site-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #f5ead6;
}

.site-header-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.site-header-brand span {
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-header-brand em {
    font-style: normal;
    color: #c6924b;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    display: block;
    margin-top: -2px;
}

.site-nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.site-nav a {
    color: #dfc9a8;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover {
    color: #c6924b;
}

.site-nav a.is-active {
    color: #c6924b;
    border-bottom-color: #c6924b;
}

@media (max-width: 640px) {
    .site-header-inner { flex-direction: column; align-items: flex-start; }
    .site-nav { gap: 16px; }
}

/* ── Home hero: centred logo ───────────────────────────────── */

.home-hero-centred {
    text-align: center;
    padding: 46px 0 40px;
}

.home-hero-logo {
    width: clamp(180px, 30vw, 300px);
    height: auto;
    margin: 0 auto 8px;
    display: block;
}

.home-hero-centred h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    margin: 6px 0 14px;
}

.home-hero-centred .intro {
    margin: 0 auto 26px;
    max-width: 620px;
}

.home-hero-centred .search-box {
    margin: 0 auto;
}
