:root {
    --black: #080808;
    --black-soft: #111111;
    --red: #d71920;
    --red-dark: #b81319;
    --white: #ffffff;
    --paper: #f3f1ed;
    --ink: #121212;
    --muted: #626262;
    --line: #e1e1de;
    --container: 1400px;
    --header-height: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.home-shell { width: min(calc(100% - 64px), var(--container)); margin: 0 auto; }

/* Header */
.site-header {
    position: relative;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid #ededeb;
}
.site-header__inner {
    width: min(calc(100% - 64px), var(--container));
    height: var(--header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 46px;
}
.site-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 410px;
}
.site-brand__logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    flex: 0 0 auto;
}
.site-brand__copy { display: flex; flex-direction: column; line-height: 1; }
.site-brand__name {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 2.15rem;
    color: #0a0a0a;
    white-space: nowrap;
}
.site-brand__est {
    margin-top: 7px;
    color: var(--red);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.site-nav { display: flex; align-items: stretch; gap: 30px; height: 100%; }
.site-nav a {
    position: relative;
    display: flex;
    align-items: center;
    color: #111;
    font-size: .73rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 24px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform .16s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--red); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 0; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: #111; margin: 5px auto; }

/* Hero */
.home-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
}
.home-hero__photo {
    position: absolute;
    inset: 0;
    background-image: url('/images/dobcross-band-hero.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--home-hero-position-x, 59%) var(--home-hero-position-y, 49%);
    filter: saturate(1.08) contrast(1.03);
}
.home-hero__shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 52%, rgba(215,25,32,.08), transparent 30%),
        linear-gradient(90deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.06) 44%, rgba(0,0,0,0) 68%);
}
.home-hero__inner {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 64px), var(--container));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}
.home-hero__content { width: 650px; max-width: 46%; padding-top: 2px; }
.home-kicker {
    margin: 0 0 14px;
    color: var(--red);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}
.home-hero h1 {
    margin: 0;
    color: var(--white);
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(3.15rem, 4.8vw, 4.75rem);
    font-weight: 400;
    line-height: .92;
    letter-spacing: -.02em;
    white-space: nowrap;
}
.home-hero__rule { display: block; width: 220px; height: 2px; background: var(--red); margin: 18px 0; }
.home-hero__intro { max-width: 470px; margin: 0; color: rgba(255,255,255,.88); font-size: 1rem; line-height: 1.55; }
.home-hero__actions { display: flex; gap: 12px; margin-top: 20px; }
.home-btn {
    height: 48px;
    min-width: 176px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid transparent;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.home-btn--primary { background: var(--red); color: var(--white); }
.home-btn--primary:hover { background: var(--red-dark); }
.home-btn--outline { border-color: rgba(255,255,255,.82); color: var(--white); background: rgba(0,0,0,.12); }
.home-hero__champions { display: flex; gap: 8px; align-items: baseline; margin-top: 19px; font-size: .72rem; color: rgba(255,255,255,.74); }
.home-hero__champions strong { color: var(--white); text-transform: uppercase; }

/* Highlights */
.home-highlights { position: relative; z-index: 5; margin-top: -46px; padding: 0 0 16px; background: transparent; }
.home-highlights__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.highlight-card {
    min-height: 205px;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 18px 46px rgba(0,0,0,.12);
    border-top: 3px solid var(--red);
}
.highlight-card__label { margin: 0 0 16px; color: var(--red); font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.highlight-card h2 { margin: 0; font-family: "DM Serif Display", Georgia, serif; font-size: 1.55rem; font-weight: 400; line-height: 1.03; }
.highlight-card p { color: var(--muted); font-size: .83rem; }
.highlight-card a { display: inline-block; margin-top: 9px; color: var(--red); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.highlight-event { display: grid; grid-template-columns: 92px 1fr; gap: 20px; align-items: center; }
.highlight-event__date { min-height: 122px; background: var(--red); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.highlight-event__date strong { font-family: "DM Serif Display", Georgia, serif; font-size: 3.2rem; line-height: .85; }
.highlight-event__date span { margin-top: 8px; font-weight: 800; }
.highlight-event__date small { margin-top: 5px; font-weight: 700; }
.highlight-event__copy p { margin: 8px 0 0; }
.highlight-news { display: grid; grid-template-columns: 126px 1fr; gap: 20px; align-items: center; }
.highlight-news__image { width: 126px; height: 122px; background: url('/images/dobcross-village.jpeg') center/cover no-repeat; }
.highlight-news p { margin: 8px 0 0; }
.highlight-result { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; }
.highlight-result__trophy {
    width: 106px; height: 106px; border-radius: 50%; background: var(--red); color: var(--white);
    display: grid; place-items: center; font-size: 3.2rem;
}
.highlight-result h2 { text-transform: uppercase; }
.highlight-result h2 span { display: block; font-size: 1.15rem; }
.highlight-result p { margin: 8px 0 0; }

/* Explore */
.home-explore { padding: 10px 0 34px; background: var(--paper); }
.home-explore__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.explore-tile { position: relative; min-height: 250px; overflow: hidden; background-color: #222; background-size: cover; background-position: center; }
.explore-tile--band { background-image: url('/images/dobcross-band.jpg'); background-position: 17% 54%; }
.explore-tile--events { background-image: url('/images/dobcross-village.jpeg'); }
.explore-tile--gallery { background-image: url('/images/dobcross-band.jpg'); background-position: 68% 54%; }
.explore-tile--media { background-image: url('/images/dobcross-village.jpeg'); background-position: 72% center; }
.explore-tile__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02) 12%, rgba(0,0,0,.18) 46%, rgba(0,0,0,.94) 100%); }
.explore-tile__content { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; color: var(--white); display: flex; flex-direction: column; align-items: flex-start; }
.explore-tile__content strong { font-family: "DM Serif Display", Georgia, serif; font-size: 1.9rem; font-weight: 400; }
.explore-tile__content small { margin-top: 5px; max-width: 270px; font-size: .8rem; line-height: 1.45; }
.explore-tile__content em { margin-top: 12px; color: #ff343a; font-size: .69rem; font-style: normal; font-weight: 800; text-transform: uppercase; }
.explore-tile:hover .explore-tile__shade { background: linear-gradient(180deg, rgba(0,0,0,.04) 20%, rgba(0,0,0,.82) 100%); }

/* Footer */
.site-footer { background: var(--black); color: var(--white); }
.site-footer__inner { width: min(calc(100% - 64px), var(--container)); margin: 0 auto; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 0; }
.site-footer__grid section { min-height: 100px; padding: 0 28px; border-right: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: .79rem; color: rgba(255,255,255,.82); }
.site-footer__grid section:first-child { padding-left: 0; }
.site-footer__grid section:last-child { border-right: 0; }
.site-footer__grid strong { color: var(--white); }
.site-footer__eyebrow { margin: 0 0 7px; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.site-footer__cta { margin-top: 8px; color: #ff343a; font-weight: 800; text-transform: uppercase; }
.site-footer__bottom { min-height: 48px; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.5); font-size: .7rem; }
.site-footer__links { display: flex; gap: 22px; }
.site-footer__links a:hover { color: var(--white); }

@media (max-width: 1180px) {
    .site-brand { min-width: 315px; }
    .site-brand__name { font-size: 1.6rem; }
    .site-nav { gap: 18px; }
    .site-nav a { font-size: .66rem; }
    .home-hero__content { max-width: 48%; }
}

@media (max-width: 900px) {
    :root { --header-height: 88px; }
    .site-header__inner, .home-shell, .home-hero__inner, .site-footer__inner { width: min(calc(100% - 36px), var(--container)); }
    .site-brand { min-width: auto; }
    .site-brand__logo { width: 68px; height: 68px; }
    .site-brand__name { font-size: 1.35rem; }
    .site-brand__est { font-size: .62rem; }
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 100%; height: auto;
        padding: 10px 18px 18px;
        background: var(--white);
        border-bottom: 2px solid var(--red);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 13px 4px; font-size: .74rem; }
    .site-nav a::after { display: none; }

    .home-hero { height: 520px; }
    .home-hero__photo { background-position: var(--home-hero-position-x, 59%) var(--home-hero-position-y, 49%); }
    .home-hero__shade { background: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.10) 60%, rgba(0,0,0,0) 100%); }
    .home-hero__content { width: 62%; max-width: none; }
    .home-hero h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); white-space: normal; }
    .home-highlights__grid { grid-template-columns: 1fr; }
    .home-explore__grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid section:nth-child(2) { border-right: 0; }
    .site-footer__grid section:nth-child(n+3) { margin-top: 24px; }
}

@media (max-width: 620px) {
    .site-brand__copy { display: none; }
    .site-brand__logo { width: 70px; height: 70px; }
    .home-hero { height: auto; min-height: 620px; }
    .home-hero__photo { background-size: cover; background-position: var(--home-hero-position-x, 59%) var(--home-hero-position-y, 49%); background-color: var(--black); }
    .home-hero__shade { background: linear-gradient(180deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.95) 45%, rgba(0,0,0,.38) 72%, rgba(0,0,0,.08) 100%); }
    .home-hero__inner { align-items: flex-start; padding-top: 42px; }
    .home-hero__content { width: 100%; }
    .home-hero h1 { font-size: 2.8rem; }
    .home-hero__intro { max-width: 92%; }
    .home-hero__actions { flex-direction: column; align-items: stretch; width: 230px; }
    .home-btn { width: 100%; }
    .home-hero__champions { flex-direction: column; gap: 2px; }
    .highlight-event, .highlight-news, .highlight-result { grid-template-columns: 88px 1fr; }
    .highlight-news__image { width: 88px; height: 104px; }
    .highlight-result__trophy { width: 84px; height: 84px; font-size: 2.5rem; }
    .home-explore__grid { grid-template-columns: 1fr; }
    .explore-tile { min-height: 220px; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer__grid section { padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); min-height: 0; }
    .site-footer__grid section:nth-child(n+3) { margin-top: 0; }
    .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 10px; padding: 16px 0; }
    .site-footer__links { flex-wrap: wrap; gap: 10px 18px; }
}
