/* Morgan Sports — baize green & trophy brass.
   Display: Cinzel (engraved plaque caps). Body: Archivo. */

:root {
    --baize:       #0E3B2C;
    --baize-deep:  #092A1F;
    --brass:       #B8913D;
    --brass-hi:    #E3C77C;
    --chalk:       #FAF8F1;
    --ink:         #17231D;
    --ink-soft:    #4A5A50;
    --red-ball:    #B33A2E;
    --line:        rgba(23, 35, 29, 0.14);
    --shadow:      0 18px 40px -18px rgba(9, 42, 31, 0.35);
    --wrap:        1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    font-family: 'Archivo', system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--chalk);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--baize); }
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--brass);
    outline-offset: 2px;
}

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -999px; top: 0;
    background: var(--baize); color: #fff; padding: 10px 18px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Type ---------- */

h1, h2, h3 { font-weight: 600; line-height: 1.15; }

.display, .hero h1, .page-hero h1, .cta-band h2, .section-head h2 {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Plaque eyebrow: the engraved-plate label that opens each section */
.plaque-eyebrow {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 14px;
}

/* Brass rule with a single snooker-red dot — the site's recurring divider */
.brass-rule {
    display: flex; align-items: center; gap: 10px;
    margin: 18px 0 26px;
}
.brass-rule::before {
    content: ""; flex: 0 0 64px; height: 1px;
    background: linear-gradient(90deg, var(--brass), var(--brass-hi));
}
.brass-rule::after {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--red-ball);
}
.brass-rule.centered { justify-content: center; }
.brass-rule.centered::before { flex: 0 0 64px; }

/* ---------- Top bar ---------- */

.topbar {
    background: var(--baize-deep);
    color: rgba(250, 248, 241, 0.85);
    font-size: 0.85rem;
}
.topbar-inner {
    display: flex; justify-content: space-between; gap: 16px;
    padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap;
}
.topbar a { color: var(--brass-hi); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-links { display: flex; gap: 10px; align-items: center; }

/* ---------- Header / nav ---------- */

.site-header {
    background: var(--baize);
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid rgba(227, 199, 124, 0.25);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px; padding-bottom: 14px; gap: 24px;
}
.wordmark { text-decoration: none; display: block; }
.wordmark-name {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.45rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--chalk);
}
.wordmark-sub {
    display: block;
    font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--brass-hi); margin-top: 2px;
}

.site-nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
.site-nav a {
    display: block; padding: 10px 14px;
    color: var(--chalk); text-decoration: none;
    font-weight: 500; font-size: 0.95rem;
    border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--brass-hi); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--brass); color: var(--brass-hi); }

.caret {
    display: inline-block; margin-left: 7px;
    width: 7px; height: 7px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
}

.has-sub { position: relative; }
.site-nav ul.sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 230px;
    background: var(--baize-deep);
    border: 1px solid rgba(227, 199, 124, 0.3);
    border-top: 2px solid var(--brass);
    box-shadow: var(--shadow);
    display: none; z-index: 60;
    padding: 6px 0;
}
.sub-menu li { width: 100%; }
.sub-menu a { padding: 9px 18px; font-size: 0.9rem; border-bottom: none; }
.site-nav .has-sub:hover ul.sub-menu,
.site-nav .has-sub:focus-within ul.sub-menu { display: block; }

.nav-toggle {
    display: none;
    background: none; border: 1px solid rgba(227, 199, 124, 0.5);
    border-radius: 4px; padding: 10px 9px; cursor: pointer;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--chalk); margin: 4px 0;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-block; padding: 14px 34px;
    font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 0.95rem;
    letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none; border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease;
}
.btn-brass {
    background: linear-gradient(135deg, var(--brass-hi), var(--brass));
    color: var(--baize-deep);
}
.btn-brass:hover { background: var(--brass-hi); }
.btn-outline {
    border-color: var(--brass); color: var(--baize);
    background: transparent;
}
.btn-outline:hover { background: var(--brass); color: var(--baize-deep); }
.btn-outline-light { border-color: var(--brass-hi); color: var(--chalk); background: transparent; }
.btn-outline-light:hover { background: var(--brass-hi); color: var(--baize-deep); }

/* ---------- Home hero: the engraved plaque ---------- */

.hero {
    position: relative;
    background: var(--baize-deep);
    color: var(--chalk);
    overflow: hidden;
}
.hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.42;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(9, 42, 31, 0.55) 0%, rgba(9, 42, 31, 0.25) 45%, rgba(9, 42, 31, 0.9) 100%);
}
.hero-inner {
    position: relative; z-index: 2;
    padding: 110px 24px 120px;
    text-align: center;
}

/* Double brass hairline frame, like an engraved trophy plate */
.plaque {
    max-width: 780px; margin: 0 auto;
    border: 1px solid var(--brass);
    outline: 1px solid rgba(227, 199, 124, 0.45);
    outline-offset: 6px;
    padding: 54px 40px 48px;
    background: rgba(9, 42, 31, 0.45);
    backdrop-filter: blur(2px);
    animation: plaque-in 0.9s ease both;
}
@keyframes plaque-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    color: var(--chalk);
    margin: 14px 0 18px;
}
.hero-tagline {
    max-width: 560px; margin: 0 auto 30px;
    color: rgba(250, 248, 241, 0.85);
    font-size: 1.1rem;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
    background: var(--baize);
    color: var(--chalk);
    text-align: center;
    padding: 64px 24px 58px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 120px; height: 3px;
    background: linear-gradient(90deg, var(--brass), var(--brass-hi));
}
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); color: var(--chalk); margin-top: 10px; }
.page-hero .plaque-eyebrow { margin-bottom: 0; color: var(--brass-hi); }
.page-hero p.lede {
    max-width: 620px; margin: 16px auto 0;
    color: rgba(250, 248, 241, 0.82);
}

/* ---------- Sections ---------- */

.section { padding: 84px 0; }
.section-tight { padding: 60px 0; }
.section-green { background: var(--baize); color: var(--chalk); }
.section-green h2, .section-green h3 { color: var(--chalk); }
.section-green p { color: rgba(250, 248, 241, 0.85); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--baize); }
.section-green .section-head h2 { color: var(--chalk); }
.section-head p { margin-top: 16px; color: var(--ink-soft); }
.section-green .section-head p { color: rgba(250, 248, 241, 0.8); }

/* ---------- Cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.kit-card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex; flex-direction: column;
}
.kit-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.kit-card-body { padding: 24px 26px 28px; }
.kit-card h3 {
    font-family: 'Cinzel', serif; text-transform: uppercase; letter-spacing: 0.06em;
    font-size: 1.05rem; color: var(--baize);
}
.kit-card p { margin-top: 6px; color: var(--ink-soft); font-size: 0.95rem; }

a.kit-card { text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; }
a.kit-card:hover { transform: translateY(-5px); box-shadow: 0 26px 48px -18px rgba(9, 42, 31, 0.45); }
.kit-card .card-more {
    margin-top: 14px; font-weight: 600; font-size: 0.85rem;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass);
}

/* ---------- Split (image + text) ---------- */

.split {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.split.reverse .split-img { order: 2; }
.split-img {
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    position: relative;
}
.split-img::after {
    content: ""; position: absolute; inset: 12px;
    border: 1px solid rgba(227, 199, 124, 0.55);
    pointer-events: none;
}
.split-img img { width: 100%; object-fit: cover; }
.split-body h2 { font-family: 'Cinzel', serif; text-transform: uppercase; letter-spacing: 0.05em; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--baize); }
.split-body p { margin-top: 18px; color: var(--ink-soft); }
.section-green .split-body h2 { color: var(--chalk); }
.section-green .split-body p { color: rgba(250, 248, 241, 0.85); }
.split-body .btn { margin-top: 28px; }

/* ---------- Feature trio (Why choose us) ---------- */

.feature { text-align: center; padding: 0 12px; }
.feature-medal {
    width: 64px; height: 64px; margin: 0 auto 18px;
    border-radius: 50%;
    border: 1.5px solid var(--brass);
    display: grid; place-items: center;
    color: var(--brass);
    background: radial-gradient(circle at 35% 30%, rgba(227, 199, 124, 0.25), transparent 65%);
}
.feature h3 { font-family: 'Cinzel', serif; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.05rem; color: var(--baize); }
.feature p { margin-top: 10px; color: var(--ink-soft); font-size: 0.97rem; }
.section-green .feature h3 { color: var(--brass-hi); }
.section-green .feature p { color: rgba(250, 248, 241, 0.85); }

/* ---------- Brochure grid ---------- */

.brochure-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.brochure-card { text-decoration: none; display: block; }
.brochure-cover {
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brochure-card:hover .brochure-cover {
    transform: translateY(-6px);
    box-shadow: 0 28px 50px -18px rgba(9, 42, 31, 0.5);
}
.brochure-cover img { width: 100%; aspect-ratio: 683 / 1024; object-fit: cover; }
.brochure-card h3 {
    margin-top: 14px;
    font-size: 0.95rem; font-weight: 600;
    color: var(--baize); text-align: center;
}
.brochure-card .ext-note {
    display: block; text-align: center; margin-top: 3px;
    font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--brass);
}

/* ---------- Framed photos & gallery ---------- */

/* White mat + brass hairline, like a framed photo beside the trophy shelves */
.framed {
    background: #fff;
    padding: 10px;
    border: 1px solid var(--brass);
    box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(184, 145, 61, 0.35), var(--shadow);
}
.framed img { width: 100%; display: block; }

.gallery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px;
}
.gallery-grid .framed img { aspect-ratio: 3 / 4; object-fit: cover; }

.wide-banner { margin-top: 56px; }
.wide-banner img { width: 100%; display: block; }
.wide-banner figcaption {
    margin-top: 16px; text-align: center;
    font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ink-soft);
}

@media (max-width: 980px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- Testimonials placeholder ---------- */

.testimonials-embed {
    min-height: 220px;
    border: 1px dashed rgba(184, 145, 61, 0.6);
    display: grid; place-items: center;
    color: var(--ink-soft);
    font-size: 0.9rem;
    background: rgba(227, 199, 124, 0.06);
}

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-block { margin-bottom: 30px; }
.contact-block h3 {
    font-family: 'Cinzel', serif; text-transform: uppercase; letter-spacing: 0.1em;
    font-size: 0.95rem; color: var(--brass); margin-bottom: 8px;
}
.contact-block a { color: var(--baize); font-weight: 600; text-decoration: none; font-size: 1.15rem; }
.contact-block a:hover { text-decoration: underline; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hours-table td:first-child { font-weight: 600; color: var(--baize); width: 38%; }
.contact-map {
    border: 1px solid var(--line); box-shadow: var(--shadow);
}
.contact-map iframe { width: 100%; height: 420px; border: 0; display: block; }
.social-row { display: flex; gap: 12px; margin-top: 6px; }
.social-row a {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1.5px solid var(--brass);
    display: grid; place-items: center; color: var(--baize);
}
.social-row a:hover { background: var(--brass); color: #fff; }

/* ---------- CTA band ---------- */

.cta-band {
    background: linear-gradient(180deg, var(--baize) 0%, var(--baize-deep) 100%);
    color: var(--chalk);
    text-align: center;
    padding: 90px 24px;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: var(--chalk); }
.cta-band .plaque-eyebrow { color: var(--brass-hi); }
.cta-copy { max-width: 540px; margin: 18px auto 34px; color: rgba(250, 248, 241, 0.85); }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--baize-deep);
    color: rgba(250, 248, 241, 0.78);
    font-size: 0.92rem;
}
.footer-grid {
    display: grid; grid-template-columns: 1.3fr 0.8fr 1.5fr 0.7fr;
    gap: 40px; padding-top: 64px; padding-bottom: 48px;
}
.footer-wordmark {
    font-family: 'Cinzel', serif; text-transform: uppercase; letter-spacing: 0.1em;
    font-size: 1.15rem; font-weight: 700; color: var(--chalk); margin-bottom: 12px;
}
.footer-col h3 {
    font-family: 'Cinzel', serif; text-transform: uppercase; letter-spacing: 0.14em;
    font-size: 0.85rem; color: var(--brass-hi); margin-bottom: 14px;
}
.footer-col a { color: rgba(250, 248, 241, 0.85); text-decoration: none; }
.footer-col a:hover { color: var(--brass-hi); }
.footer-hours, .footer-links { list-style: none; }
.footer-hours li {
    display: flex; gap: 12px; align-items: baseline;
    padding: 4px 0; white-space: nowrap; font-size: 0.88rem;
}
.footer-hours span { flex: 0 0 84px; color: var(--brass-hi); }
@media (max-width: 980px) {
    .footer-hours li { white-space: normal; }
}
.footer-links li { padding: 3px 0; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(227, 199, 124, 0.5);
    display: grid; place-items: center;
    color: var(--brass-hi);
}
.footer-social a:hover { background: var(--brass); color: var(--baize-deep); }
.footer-base {
    border-top: 1px solid rgba(227, 199, 124, 0.2);
    padding-top: 20px; padding-bottom: 24px;
    font-size: 0.82rem; color: rgba(250, 248, 241, 0.5);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
    .card-grid, .card-grid.four { grid-template-columns: repeat(2, 1fr); }
    .brochure-grid { grid-template-columns: repeat(3, 1fr); }
    .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .split.reverse .split-img { order: 0; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--baize-deep);
        border-bottom: 2px solid var(--brass);
        box-shadow: var(--shadow);
    }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
    .site-nav a { padding: 13px 24px; }
    .site-nav ul.sub-menu {
        position: static; display: block; box-shadow: none;
        border: none; border-left: 2px solid var(--brass);
        margin: 0 0 6px 24px; padding: 0;
    }
    .topbar-inner { justify-content: center; text-align: center; }
    .topbar-place { display: none; }
    .section { padding: 60px 0; }
    .hero-inner { padding: 70px 18px 80px; }
    .plaque { padding: 38px 22px 34px; }
}

@media (max-width: 520px) {
    .card-grid, .card-grid.four { grid-template-columns: 1fr; }
    .brochure-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .footer-grid { grid-template-columns: 1fr; }
}
