/* Poly Golf Association of Arizona — colours drawn from the club logo */
:root {
  --cream: #f5f5ee;
  --sand: #efe6d4;
  --paper: #fffdf7;
  --ink: #2b1e14;
  --ink-soft: #5a4636;
  --muted: #7a6858;
  --terra: #b94e26;
  --terra-dark: #923a19;
  --sun: #f2a93b;
  --sun-dark: #d98d1c;
  --navy: #1f2f55;
  --navy-deep: #152240;
  --cactus: #66753a;
  --line: #e2d7c2;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(43, 30, 20, 0.06), 0 8px 24px rgba(43, 30, 20, 0.07);
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  /* Tapa-style band: an original repeating triangle pattern */
  --tapa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath d='M0 24 12 4 24 24z' fill='%231f2f55'/%3E%3Cpath d='M24 24 36 4 48 24z' fill='%23b94e26'/%3E%3Cpath d='M8 24 12 17 16 24z' fill='%23f2a93b'/%3E%3Cpath d='M32 24 36 17 40 24z' fill='%23f2a93b'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terra-dark); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.sand { background: var(--sand); }
.eyebrow { font: 600 0.8rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); margin: 0 0 12px; }
.eyebrow.light { color: var(--sun); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.lede { font-size: 1.2rem; line-height: 1.6; color: rgba(255, 255, 255, 0.9); max-width: 46ch; }
.lede.dark { color: var(--ink-soft); margin: 0 auto 24px; }

/* ── buttons & links ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 1rem/1 var(--body); text-decoration: none;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.15s, background 0.15s, color 0.15s;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 0.92rem; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #f6b955; color: var(--ink); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--terra-dark); }
.text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform 0.15s; }
.text-link:hover svg { transform: translateX(3px); }

/* ── header ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 245, 238, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img, .badge { border-radius: 50%; background: var(--cream); object-fit: contain; }
.brand img { border: 1px solid var(--line); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 700 1.35rem/1 var(--display); letter-spacing: 0.04em; color: var(--navy); text-transform: uppercase; }
.brand-text small { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current] { border-color: var(--terra); color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span:not(.sr) { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform 0.2s, opacity 0.2s; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 420px) { .brand-text small { display: none; } }

/* ── hero ── */
.hero { position: relative; color: #fff; background: radial-gradient(ellipse at 15% 20%, #263a68 0%, var(--navy-deep) 60%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 78px; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); text-transform: uppercase; max-width: 14ch; margin-bottom: 18px; }
.hero .lede { margin-bottom: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { position: relative; margin: 0; }
.hero-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); }
.hero-logo { position: absolute; left: -40px; bottom: -40px; width: 148px; height: 148px; border-radius: 50%; background: var(--cream); padding: 0; border: 4px solid var(--cream); object-fit: contain; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); }
.hero-tapa { position: absolute; left: 0; right: 0; bottom: 0; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 28px; padding-bottom: 60px; }
  .hero-figure { order: -1; }
  .hero-logo { left: auto; right: 14px; bottom: -34px; width: 108px; height: 108px; }
}

/* ── pillars ── */
.pillars { background: var(--paper); border-bottom: 1px solid var(--line); }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 40px 28px; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--sand); color: var(--terra); margin-bottom: 18px; }
.pillar-icon svg, .placeholder svg, .empty-state svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h2 { font-size: 1.35rem; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.pillar p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
@media (max-width: 960px) {
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .pillar { padding: 30px 22px; }
  .pillar:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pillar:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { border-left: 0 !important; padding-left: 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 0; }
}

/* ── layout helpers ── */
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.split .muted { margin-bottom: 24px; max-width: 38ch; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head .h2 { margin: 0; }

/* ── events ── */
.event-list { display: grid; gap: 14px; }
.event { display: grid; grid-template-columns: 84px 1fr; gap: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--navy); color: #fff; border-radius: 12px; padding: 10px 6px; text-transform: uppercase; font: 600 0.78rem/1.1 var(--body); letter-spacing: 0.1em; align-self: start; }
.event-date strong { font: 700 2.1rem/1 var(--display); letter-spacing: 0; margin: 4px 0; }
.event-date span:last-child { color: var(--sun); }
.event-type { font: 700 0.74rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; color: var(--cactus); }
.event-type.other { color: var(--terra); }
.event h3 { font-size: 1.4rem; color: var(--ink); margin-bottom: 8px; }
.event-meta { list-style: none; padding: 0; margin: 0 0 10px; color: var(--ink-soft); display: grid; gap: 4px; }
.event-meta li { display: flex; align-items: center; gap: 8px; }
.event-meta svg { width: 18px; height: 18px; fill: none; stroke: var(--terra); stroke-width: 2; flex-shrink: 0; }
.event-details { color: var(--ink-soft); }
.event-details p:last-child { margin-bottom: 10px; }
.event.compact { padding: 16px; grid-template-columns: 70px 1fr; gap: 16px; }
.event.compact .event-date strong { font-size: 1.7rem; }
.event.compact h3 { font-size: 1.2rem; }
.event.compact .event-meta { margin-bottom: 4px; }
.month { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--terra); margin: 34px 0 14px; }
.month:first-child { margin-top: 0; }
@media (max-width: 480px) { .event, .event.compact { grid-template-columns: 64px 1fr; gap: 14px; padding: 14px; } .event-date strong { font-size: 1.6rem; } }

.empty-state { display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: 22px; color: var(--ink-soft); }
.empty-state svg { color: var(--terra); flex-shrink: 0; }
.empty-state p { margin: 0; }
.empty-state.big { flex-direction: column; text-align: center; padding: 48px 24px; }
.empty-state.big svg { width: 40px; height: 40px; }

/* ── highlight cards ── */
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .hl-grid { grid-template-columns: 1fr; } }
.hl-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.hl-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--sand), #e7d8bd); color: var(--terra); }
.placeholder svg { width: 54px; height: 54px; opacity: 0.75; }
.hl-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.hl-body h3 { font-size: 1.45rem; color: var(--navy); margin-bottom: 6px; }
.hl-body p { color: var(--ink-soft); }
.hl-body .text-link { margin-top: auto; }
.hl-kind { font: 700 0.74rem/1.3 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--terra); margin-bottom: 8px; }
.hl-name { font-weight: 700; color: var(--ink) !important; margin-bottom: 8px; }
.hl-card.empty h3 { color: var(--muted); }

.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; background: var(--paper); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); margin-top: 28px; }
.feature-photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.feature-body { padding: 36px 36px 36px 0; }
.feature-body h3 { font-size: 2rem; color: var(--navy); margin-bottom: 8px; }
.feature.empty .feature-body h3 { color: var(--muted); }
.feature .btn { margin-top: 8px; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; gap: 0; } .feature-photo { min-height: 240px; aspect-ratio: 16 / 10; } .feature-body { padding: 26px; } }
.intro { max-width: 60ch; }
.prose p { color: var(--ink-soft); }
.prose.big p { font-size: 1.15rem; }
.prose.small p { font-size: 0.98rem; }

.archive { margin-top: 26px; }
.archive summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 10px 0; }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 10px; }
.archive-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.archive-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.archive-item > div { padding: 18px; }
.archive-item h4 { font-size: 1.2rem; color: var(--navy); margin-bottom: 6px; }
.archive .event-list { margin-top: 10px; }

/* ── photos ── */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 10px; }
.mosaic a { border-radius: 12px; overflow: hidden; display: block; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic .m0 { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .mosaic .m0 { grid-column: span 2; grid-row: span 1; } }

.gallery { columns: 3 280px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; }
.gallery-open img { width: 100%; height: auto; transition: transform 0.4s; }
.gallery-open:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: 0.92rem; color: var(--muted); padding: 6px 2px 0; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 14, 26, 0.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(92vw, 1400px); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #eee; margin-top: 12px; }
.lightbox button { position: fixed; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ── page heads ── */
.page-head { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 72px); background: var(--navy); color: #fff; overflow: hidden; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); text-transform: uppercase; max-width: 20ch; margin-bottom: 14px; }
.page-head .eyebrow { color: var(--sun); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--tapa) repeat-x bottom / auto 12px; }

/* ── about ── */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.about-photo { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-photo { aspect-ratio: 16 / 11; } }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.steps > div { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps span { font: 700 1rem/1 var(--display); color: var(--sun-dark); letter-spacing: 0.1em; }
.steps h3 { font-size: 1.3rem; color: var(--navy); margin: 10px 0 8px; text-transform: uppercase; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.join-logo { margin: 0 auto 20px; border-radius: 50%; background: var(--paper); padding: 0; box-shadow: var(--shadow); }

/* ── join band & footer ── */
.join-band { position: relative; background: var(--terra); color: #fff; padding: 56px 0 48px; }
.tapa { height: 14px; background: var(--tapa) repeat-x top / auto 14px; }
.join-band > .tapa { position: absolute; top: 0; left: 0; right: 0; }
.join-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.join-band h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); text-transform: uppercase; margin-bottom: 6px; }
.join-band p { margin: 0; color: rgba(255, 255, 255, 0.9); max-width: 52ch; }

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.78); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 36px; }
.footer-brand img { border-radius: 50%; background: var(--cream); padding: 0; margin-bottom: 16px; }
.footer-brand p { max-width: 36ch; }
.site-footer h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sun); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; padding-bottom: 24px; font-size: 0.88rem; }
.footer-base p { margin: 0; }
.footer-base a { color: rgba(255, 255, 255, 0.55); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

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

/* ── event registration ── */
.reg { grid-column: 1 / -1; border-top: 1px dashed var(--line); padding-top: 18px; scroll-margin-top: 90px; }
.event { scroll-margin-top: 90px; }
.reg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.reg-head h4 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); }
.reg-count { font-weight: 700; font-size: 0.9rem; color: var(--cactus); }
.reg-list { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: reg; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 14px; }
.reg-list li { counter-increment: reg; display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: var(--cream); border-radius: 10px; font-weight: 600; }
.reg-list li::before { content: counter(reg); flex-shrink: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.75rem; }
.reg-list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reg-remove { background: none; border: 0; color: #b42318; font: 600 0.8rem var(--body); cursor: pointer; text-decoration: underline; padding: 0; }
.reg-empty, .reg-closed { color: var(--muted); margin: 0 0 14px; }
.reg-closed { font-weight: 700; color: var(--terra-dark); }
.reg-form { background: var(--cream); border-radius: 14px; padding: 16px; }
.reg-form label { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-weight: 700; font-size: 0.9rem; }
.reg-form label em { font-weight: 400; font-style: normal; color: var(--muted); }
.reg-form input { font: inherit; font-weight: 400; font-size: 1rem; padding: 10px 12px; border-radius: 10px; border: 1px solid #cfc2a8; background: #fff; color: var(--ink); width: 100%; }
.reg-form input:focus { outline: 2px solid var(--sun); border-color: var(--sun-dark); }
.reg-names { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 560px) { .reg-names { grid-template-columns: 1fr; } }
.reg-add { background: none; border: 0; color: var(--navy); font: 700 0.9rem var(--body); cursor: pointer; padding: 0 0 12px; text-decoration: underline; text-underline-offset: 3px; }
.reg-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.reg-actions small { color: var(--muted); }
.reg-msg { margin: 10px 0 0; font-weight: 700; min-height: 1.2em; }
.reg-msg.good { color: var(--cactus); }
.reg-msg.bad { color: #b42318; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reg-msg:empty { display: none; }

/* ── shout-out bar ── */
.announce { display: block; background: var(--sun); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem; overflow: hidden; white-space: nowrap; position: relative; z-index: 51; }
.announce:hover { color: var(--ink); background: #f6b955; }
.ann-item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 40px 10px 0; }
.ann-item svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ann-link { text-decoration: underline; text-underline-offset: 3px; color: var(--terra-dark); }
.announce.static { text-align: center; white-space: normal; padding: 0 16px; }
.announce.static .ann-item { padding: 10px 0; flex-wrap: wrap; justify-content: center; }
.ann-track { display: inline-flex; animation: ann-scroll 40s linear infinite; }
.announce.scroll:hover .ann-track, .announce.scroll:focus .ann-track { animation-play-state: paused; }
@keyframes ann-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ann-track { animation: none; } }

/* ── home spotlight ── */
.spotlight { background: linear-gradient(135deg, #fff6e4, var(--sand)); border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.spot-inner { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.spot-badge { width: 120px; height: 120px; border-radius: 50%; background: var(--navy); color: var(--sun); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(242, 169, 59, 0.35); }
.spot-badge svg { width: 60px; height: 60px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.spot-inner.has-photo { grid-template-columns: auto 1fr auto; }
.spot-photo { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 4px var(--sun), var(--shadow); }
.spot-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.spot-body .prose p { font-size: 1.1rem; max-width: 62ch; }
.spot-body .prose p:last-child { margin-bottom: 14px; }
@media (max-width: 900px) { .spot-inner.has-photo { grid-template-columns: 1fr auto; } .spot-inner.has-photo .spot-badge { display: none; } .spot-photo { width: 170px; height: 170px; } }
@media (max-width: 640px) { .spot-inner, .spot-inner.has-photo { grid-template-columns: 1fr; gap: 20px; } .spot-badge { width: 84px; height: 84px; } .spot-badge svg { width: 42px; height: 42px; } .spot-photo { order: -1; width: 160px; height: 160px; } }

/* ── results ── */
.wrap.narrow-wide { max-width: 1000px; }
.result-head { margin-bottom: 22px; }
.result-head .h2 { margin-bottom: 6px; }
.champ { display: flex; align-items: center; gap: 20px; background: linear-gradient(135deg, #fff6e4, var(--sand)); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 30px; box-shadow: var(--shadow); }
.champ h3 { font-size: 1.8rem; color: var(--navy); text-transform: uppercase; }
.champ p { margin: 0; }
.spot-badge.small { width: 72px; height: 72px; flex-shrink: 0; box-shadow: 0 0 0 5px rgba(242, 169, 59, 0.35); }
.spot-badge.small svg { width: 36px; height: 36px; }
.flight { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; box-shadow: var(--shadow); }
.flight > h3 { font-size: 1.4rem; text-transform: uppercase; color: var(--terra); letter-spacing: 0.06em; margin-bottom: 14px; }
.podium { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.podium li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; background: var(--cream); border-radius: 12px; padding: 12px; }
.podium .place { font: 700 0.85rem var(--display); text-transform: uppercase; background: var(--navy); color: #fff; border-radius: 8px; padding: 6px 8px; }
.podium .pos1 { background: #fff1d1; box-shadow: inset 0 0 0 2px var(--sun); }
.podium .pos1 .place { background: var(--sun); color: var(--ink); }
.podium .who { font-weight: 700; line-height: 1.2; min-width: 0; }
.podium .who small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.podium .score { font: 700 1.5rem var(--display); color: var(--navy); }
@media (max-width: 860px) { .podium { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .podium { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.board { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.board th, .board td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.board th:nth-child(2), .board tbody th { text-align: left; }
.board thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.board tbody th { font-weight: 600; }
td.tot { font-weight: 700; color: var(--navy); }
.cards { margin-top: 14px; }
.cards summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 6px 0; }
.scorecard { border-collapse: collapse; font-size: 0.85rem; min-width: 900px; margin-top: 8px; }
.scorecard th, .scorecard td { padding: 6px 5px; text-align: center; border: 1px solid var(--line); min-width: 28px; }
.scorecard thead th { background: var(--navy); color: #fff; font-weight: 600; }
.scorecard tbody th { text-align: left; white-space: nowrap; background: var(--paper); position: sticky; left: 0; font-weight: 600; padding-right: 10px; }
.scorecard thead th:first-child { position: sticky; left: 0; z-index: 1; text-align: left; }
.scorecard tr.par td, .scorecard tr.par th { background: var(--sand); font-weight: 700; }
.scorecard td.sub { background: var(--cream); font-weight: 700; }
.scorecard td.birdie, .legend .birdie { background: #e3f0d4; color: #2f5d12; font-weight: 700; border-radius: 50%; }
.scorecard td.eagle, .legend .eagle { background: var(--sun); color: var(--ink); font-weight: 700; }
.scorecard td.dbl, .legend .dbl { color: #a3301a; }
.legend { font-size: 0.85rem; color: var(--muted); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.legend span { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line); margin-right: 4px; }
.result-note { margin-top: 8px; }
.result + .result, .archive .result { margin-top: 36px; }
.results-teaser { background: var(--paper); border-bottom: 1px solid var(--line); padding: 48px 0; }
.results-teaser .section-head .muted { margin: 4px 0 0; }
.teaser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.teaser { background: var(--cream); border-radius: 14px; padding: 16px 18px; }
.teaser ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.teaser li { display: grid; grid-template-columns: 1fr auto; column-gap: 8px; }
.teaser li span { font-weight: 700; }
.teaser li b { font: 700 1.1rem var(--display); color: var(--navy); }
.teaser li small { grid-column: 1 / -1; color: var(--muted); font-size: 0.78rem; margin-top: -2px; }
.champ-card { background: var(--navy); color: #fff; }
.champ-card svg { width: 32px; height: 32px; fill: none; stroke: var(--sun); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.champ-card .hl-kind { color: var(--sun); margin: 8px 0 4px; }
.champ-card h3 { font-size: 1.5rem; text-transform: uppercase; }
.champ-card p:last-child { margin: 4px 0 0; color: rgba(255, 255, 255, 0.8); }

/* ── videos ── */
.videos-section { padding-bottom: 20px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; align-items: start; }
.video { margin: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-play, .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; position: relative; cursor: pointer; }
.video.vertical .video-play, .video.vertical iframe { aspect-ratio: 9 / 16; max-height: 640px; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: opacity 0.2s; }
.video-play:hover img { opacity: 1; }
.play-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(185, 78, 38, 0.92); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); transition: transform 0.15s; }
.video-play:hover .play-icon { transform: translate(-50%, -50%) scale(1.08); }
.play-icon svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.video figcaption { padding: 14px 16px; display: grid; gap: 4px; }
.video figcaption strong { font-family: var(--display); font-size: 1.15rem; color: var(--navy); text-transform: uppercase; letter-spacing: 0.02em; }
.video figcaption span { color: var(--ink-soft); font-size: 0.95rem; }
@media (min-width: 900px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video.vertical { max-width: 360px; }

/* ── Zelle payment ── */
.reg-list li .pay-tag { font-style: normal; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.reg-list li.unpaid .pay-tag { background: #ece6da; color: var(--muted); }
.reg-list li.paid { background: #e6f2dc; }
.reg-list li.paid::before { background: #3d7a1f; }
.reg-list li.paid .pay-tag { background: #3d7a1f; color: #fff; }
.zelle { margin-top: 16px; border: 2px solid #6d1ed4; border-radius: 14px; padding: 16px 18px; background: #faf6ff; transition: box-shadow 0.3s; }
.zelle.highlight { box-shadow: 0 0 0 6px rgba(109, 30, 212, 0.18); }
.zelle-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.zelle-head strong { display: block; font-size: 1.1rem; color: #4b1696; }
.zelle-head small { color: var(--muted); }
.zelle-badge { width: 40px; height: 40px; border-radius: 10px; background: #6d1ed4; color: #fff; display: grid; place-items: center; font: 700 1.3rem var(--display); flex-shrink: 0; }
.zelle-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.zelle-steps li { color: var(--ink-soft); }
.zelle-id { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.zelle-id code { background: #fff; border: 1px solid #d9c9f5; border-radius: 8px; padding: 3px 8px; font-size: 0.95rem; color: var(--ink); word-break: break-all; }
.zelle-copy { border: 0; background: #6d1ed4; color: #fff; font: 700 0.8rem var(--body); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.zelle-copy:hover { background: #5513b0; }
.zelle-name { display: block; color: var(--muted); margin-top: 4px; }
.zelle-note { margin: 10px 0 0; font-size: 0.9rem; color: var(--muted); }
.reg.pay-on .reg-list { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.reg.pay-on .reg-list li { flex-wrap: wrap; }
.reg.pay-on .reg-list li span { white-space: normal; overflow: visible; }
.zelle-namefield { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; max-width: 340px; font-weight: 700; font-size: 0.9rem; color: #4b1696; }
.zelle-namefield input { font: inherit; font-weight: 400; font-size: 1rem; padding: 10px 12px; border-radius: 10px; border: 2px solid #b48ef0; background: #fff; color: var(--ink); }
.zelle-namefield input:focus { outline: 3px solid rgba(109, 30, 212, 0.25); border-color: #6d1ed4; }
.memo-name { font-style: normal; background: #ffe58a; color: #7a4b00; padding: 0 4px; border-radius: 4px; font-weight: 700; }
.memo-name.filled { background: transparent; color: inherit; font-weight: 400; padding: 0; }
.zelle-warn { display: block; color: #b42318; font-weight: 700; margin-top: 6px; }
.zelle-warn[hidden] { display: none; }
