/* We Believe — Hope Night · mobile-first shell */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0b1a26;
    --surface: #15293a;
    --bg-nav: #050f18;
    --text: #ffffff;
    --text-muted: #9db3c6;
    --accent: #f35f1a;
    --accent-dark: #1d4a73;
    --card: #ffffff;
    --card-text: #1b3b5c;
    --card-heading: #12395e;
    --button-text: #ffffff;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --nav-height: 68px;
    --header-height: 56px;
    --radius: 14px;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

/* Our `display` rules below would otherwise beat the browser default
   for [hidden], leaving the menu and read-more button always visible. */
[hidden] {
    display: none !important;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100dvh;
    max-width: 480px;
    margin: 0 auto;
    overflow-x: hidden;
    padding-bottom: calc(var(--nav-height) + var(--safe-bottom));
}

img {
    display: block;
    max-width: 100%;
}

/* ── Top bar ── */

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 18px;
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 300;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    -webkit-tap-highlight-color: transparent;
}

.brand__logo {
    max-height: 30px;
    max-width: 150px;
    object-fit: contain;
}

.brand__wordmark {
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.brand__wordmark-bold {
    font-weight: 800;
}

.brand__wordmark-light {
    font-weight: 300;
    margin-left: 5px;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    border-radius: 50%;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s;
}

.icon-btn:active {
    background: rgba(255, 255, 255, 0.08);
}

.icon-btn svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.menu-btn__open,
.menu-btn__close {
    display: flex;
}

.menu-btn__close,
.menu-btn.is-open .menu-btn__open {
    display: none;
}

.menu-btn.is-open .menu-btn__close {
    display: flex;
}

/* ── Slide-down menu ── */

.site-menu {
    position: sticky;
    top: var(--header-height);
    z-index: 290;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    animation: menu-in 0.18s ease-out;
}

@keyframes menu-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.site-menu__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    -webkit-tap-highlight-color: transparent;
}

.site-menu__item:last-child {
    border-bottom: none;
}

.site-menu__item svg {
    width: 18px;
    height: 18px;
    fill: var(--accent);
    flex-shrink: 0;
}

/* ── Hero ── */

.hero {
    position: relative;
    padding: 0 0 18px;
    text-align: center;
}

/* Top band sized to the hero photo's own aspect, so it isn't zoomed and
   side-cropped by the full height of the hero section. */
.hero__media {
    position: absolute;
    inset: 0 0 auto 0;
    aspect-ratio: 1024 / 482;
    min-height: 215px;
    overflow: hidden;
    background: linear-gradient(170deg, #1b3a55 0%, #0b1a26 75%);
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 26, 38, 0.15) 0%,
        rgba(11, 26, 38, 0.32) 45%,
        rgba(11, 26, 38, 0.58) 80%,
        var(--bg) 100%
    );
}

.hero__inner {
    position: relative;
    z-index: 1;
    padding: 96px 22px 0;
}

.hero__title {
    line-height: 0.88;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

.hero__title-line1 {
    display: block;
    font-size: 3.3rem;
    font-weight: 900;
    color: var(--text);
}

.hero__title-line2 {
    display: block;
    font-size: 4.1rem;
    font-weight: 900;
    color: var(--accent);
}

.hero__underline {
    width: 62%;
    max-width: 240px;
    height: 4px;
    margin: 6px auto 0;
    border-radius: 4px;
    background: var(--accent);
}

.hero__subtitle {
    margin-top: 14px;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-indent: 0.34em;
    text-transform: uppercase;
    color: var(--text);
}

.hero__intro {
    margin: 18px auto 0;
    max-width: 330px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

/* ── Primary orange CTA ── */

.cta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 16px;
    padding: 16px 18px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--button-text);
    background: linear-gradient(100deg, var(--accent) 0%, #dc4e0c 100%);
    box-shadow: 0 8px 22px rgba(243, 95, 26, 0.24);
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.12s, filter 0.15s;
}

.cta:active {
    transform: scale(0.985);
    filter: brightness(0.95);
}

.cta__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.cta__text {
    flex: 1;
    min-width: 0;
}

.cta__title {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cta__sub {
    display: block;
    margin-top: 2px;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.92;
}

.cta__chevron {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
    opacity: 0.9;
}

/* ── Week list ── */

.weeks {
    padding: 26px 16px 8px;
}

.weeks__label {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.weeks__subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: -6px 0 14px;
}

.weeks__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.week-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: var(--text);
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.12s, background 0.15s;
}

.week-row:active {
    transform: scale(0.99);
    background: #1b3247;
}

.week-row__number {
    flex-shrink: 0;
    width: 40px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    text-align: center;
    line-height: 1;
}

.week-row__divider {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.14);
}

.week-row__text {
    flex: 1;
    min-width: 0;
}

.week-row__title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.week-row__subtitle {
    display: block;
    margin-top: 2px;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.week-row__chevron {
    width: 18px;
    height: 18px;
    fill: var(--text-muted);
    flex-shrink: 0;
}

.empty-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 32px 16px;
}

/* ── Bottom nav ── */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: calc(var(--nav-height) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    background: var(--bg-nav);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 400;
}

.bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s;
}

.bottom-nav__item svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.bottom-nav__item.is-active {
    color: var(--accent);
}

/* ── Tablet / desktop: keep the phone frame ── */

@media (min-width: 481px) {
    body {
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 360px) {
    .hero__title-line1 { font-size: 2.8rem; }
    .hero__title-line2 { font-size: 3.4rem; }
    .hero__subtitle    { font-size: 1.1rem; letter-spacing: 0.26em; }
}
