/* Coringa Golf Club — public site */
:root {
  --pine: #0E2A1F;
  --pine-2: #163B2C;
  --pine-3: #1B4433;
  --line-dark: #2C5A44;
  --edge-dark: #4E7A63;
  --mist: #F4F6F0;
  --paper: #FFFFFF;
  --ink: #12211A;
  --muted: #4B5A52;
  --soft: #C9D6CC;
  --line: #DCE3D8;
  --line-2: #E6EBE3;
  --fairway: #2B5A43;
  --accent: #CDEB6B;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-lg: 32px;
  --r-md: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--pine); }
a:hover { color: var(--fairway); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--accent); padding: 12px 16px; border-radius: 12px; }

.eyebrow { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--fairway); }
.dark .eyebrow, .eyebrow.on-dark { color: var(--accent); }
.h-xl { font-weight: 800; font-size: clamp(46px, 6.2vw, 92px); line-height: 0.92; letter-spacing: -0.035em; }
.h-lg { font-weight: 800; font-size: clamp(36px, 4.5vw, 60px); }
.h-md { font-weight: 800; font-size: 34px; letter-spacing: -0.02em; }
.lede { font-size: 19px; line-height: 1.6; max-width: 34em; color: var(--muted); }
.dark .lede { color: var(--soft); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-accent { background: var(--accent); color: var(--pine); }
.btn-accent:hover { color: var(--pine); filter: brightness(1.04); }
.btn-dark { background: var(--pine); color: var(--mist); }
.btn-dark:hover { color: #fff; background: var(--pine-2); }
.btn-ghost { border-color: #B9C6B8; color: var(--ink); }
.dark .btn-ghost { border-color: var(--edge-dark); color: var(--mist); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-weight: 600; font-size: 16px; }

.lift { transition: transform .25s ease, box-shadow .25s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(14,42,31,.35); }
@media (prefers-reduced-motion: reduce) { .lift, .lift:hover { transition: none; transform: none; } }

/* ---------- header ---------- */
.site-head { position: relative; overflow: hidden; background: var(--pine); color: var(--mist); }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.nav { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--mist); text-decoration: none; }
.brand:hover { color: var(--mist); }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1; }
.brand-name small { display: block; font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-top: 2px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav-links a { color: #E8EFE6; text-decoration: none; padding: 6px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links .btn { min-height: 44px; padding: 0 20px; font-size: 15px; color: var(--pine); }
.nav-toggle { display: none; }
@media (max-width: 960px) {
  .nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--edge-dark); background: transparent; color: var(--mist); cursor: pointer; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 18px; }
  .nav-links .btn { margin-top: 16px; min-height: 56px; border: 0; }
  .nav.open .nav-links { display: flex; }
}

.hero { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 56px; align-items: center; padding: 96px 0 120px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-art { position: relative; min-height: 520px; }
.hero-photo { position: absolute; inset: 0 0 0 48px; border-radius: var(--r-lg); background: var(--pine-3); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.no-photo { display: grid; place-items: center; background: radial-gradient(circle at 50% 62%, #2B5A43 0 22%, #1F4A37 22% 40%, var(--pine-3) 40%); }
.hero-photo.no-photo svg { width: 46%; height: auto; }
.tee-card { position: absolute; left: 0; bottom: 40px; width: 280px; background: var(--mist); color: var(--ink); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.tee-card .t { display: flex; justify-content: space-between; align-items: baseline; }
.tee-card .t b { font-family: var(--display); font-size: 18px; }
.tee-card .t span { font-size: 12px; color: var(--muted); }
.tee-row { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.tee-row span:nth-child(2) { flex: 1; }
.tee-row b { font-variant-numeric: tabular-nums; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.badge { position: absolute; right: -12px; top: 36px; background: var(--accent); color: var(--pine); border-radius: 20px; padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; transform: rotate(3deg); }
.badge small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.badge b { font-family: var(--display); font-weight: 800; font-size: 22px; }
@media (max-width: 640px) {
  .hero { padding: 56px 0 64px; gap: 40px; }
  .hero-art { min-height: 380px; }
  .hero-photo { inset: 0; }
  .tee-card { left: 16px; bottom: 16px; width: 240px; padding: 18px; }
  .badge { right: 8px; top: 16px; }
}

.page-head { position: relative; padding: 72px 0 88px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }
.page-head .h-xl { font-size: clamp(44px, 6.5vw, 92px); }
.page-head .lede { margin-top: 20px; }

/* ---------- notices ---------- */
.notices { background: var(--accent); color: var(--pine); }
.notice { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; padding: 16px 0; }
.notice + .notice { border-top: 1px solid rgba(14,42,31,.15); }
.notice b { font-size: 17px; }
.notice .body p { display: inline; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 48px 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 40px; }
.sec-head > div { display: flex; flex-direction: column; gap: 12px; }
.grid { display: grid; gap: 16px; }
.cols-auto-270 { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
.cols-auto-220 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.cols-auto-480 { grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); }
.cols-auto-420 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 64px; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; }
.day { display: flex; flex-direction: column; gap: 20px; }
.day .dname { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; color: var(--fairway); line-height: 1; }
.day.dark { background: var(--pine); color: var(--mist); border-color: var(--pine); }
.day.dark .dname { color: var(--accent); }
.item b { display: block; font-size: 17px; }
.item span { display: block; font-size: 15px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.day.dark .item span { color: var(--soft); }

.latest { position: relative; text-decoration: none; background: var(--accent); color: var(--pine); border-radius: var(--r-lg); padding: 40px; min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.latest:hover { color: var(--pine); }
.latest .top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.pill { background: var(--pine); color: var(--mist); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.latest .big { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7vw, 96px); letter-spacing: -0.04em; line-height: .9; }
.latest .sub { font-size: 18px; font-weight: 600; }
.latest .open { display: flex; align-items: center; gap: 8px; font-weight: 500; margin-top: 8px; }
.cat-list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 32px; display: flex; flex-direction: column; }
.cat-list a { text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-2); min-height: 44px; }
.cat-list a:last-child { border-bottom: 0; }
.cat-list b { font-size: 17px; display: block; }
.cat-list small { font-size: 14px; color: var(--muted); display: block; }
.cat-list .arrow { font-size: 20px; transition: transform .2s ease; }
.cat-list a:hover .arrow { transform: translateX(4px); }

.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.fact { background: var(--mist); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.fact b { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; line-height: 1.05; }
.fact span { font-size: 15px; color: var(--muted); }

.member { position: relative; overflow: hidden; background: var(--pine); color: var(--mist); border-radius: 40px; padding: clamp(32px, 6vw, 80px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 48px; align-items: center; }
.member > *:not(.contours) { position: relative; }
.member .h-lg { font-size: clamp(36px, 4.5vw, 64px); }
.facts { margin: 0; border: 1px solid var(--line-dark); background: rgba(14,42,31,.6); border-radius: var(--r-md); padding: 8px 28px; }
.facts div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--soft); }
.facts dd { margin: 0; font-weight: 600; }
.stat { border: 1px solid var(--line-dark); background: rgba(14,42,31,.6); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.stat b { font-family: var(--display); font-weight: 800; font-size: 56px; letter-spacing: -0.04em; color: var(--accent); line-height: 1; }
.stat span { color: var(--soft); }

.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.feature .pic { height: 240px; background: #DDE6DA; }
.feature .pic img { width: 100%; height: 100%; object-fit: cover; }
.feature .pic.sign { background: var(--pine); display: flex; align-items: center; justify-content: center; padding: 32px; }
.sign-board { width: 100%; max-width: 360px; aspect-ratio: 1200 / 350; border-radius: 10px; background: var(--mist); display: grid; place-items: center; color: var(--pine); font-family: var(--display); font-weight: 800; font-size: 22px; border: 3px solid var(--accent); }
.feature .txt { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.feature .txt p { color: var(--muted); }

.sponsors { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.sponsor { text-decoration: none; min-width: 220px; height: 96px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; padding: 12px 24px; font-weight: 600; color: var(--muted); }
.sponsor img { max-height: 68px; max-width: 200px; object-fit: contain; }

/* ---------- results ---------- */
.searchbox { display: flex; flex-direction: column; gap: 8px; width: min(380px, 100%); }
.searchbox span { font-size: 14px; color: var(--soft); }
.searchbox input { font: inherit; font-size: 17px; padding: 16px 20px; border-radius: 999px; border: 1px solid var(--edge-dark); background: var(--pine-2); color: var(--mist); width: 100%; }
.searchbox input::placeholder { color: #9FB8A8; }
.tabs { display: flex; gap: 8px; margin-top: -28px; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px; width: fit-content; max-width: 100%; overflow-x: auto; box-shadow: 0 20px 40px -24px rgba(14,42,31,.35); scrollbar-width: none; }
.tabs a { white-space: nowrap; text-decoration: none; font-size: 15px; font-weight: 600; min-height: 44px; padding: 0 18px; border-radius: 999px; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.tabs a span { font-size: 13px; opacity: .7; font-variant-numeric: tabular-nums; }
.tabs a[aria-current="page"] { background: var(--pine); color: var(--mist); }
.tabs a:not([aria-current]):hover { background: var(--mist); }
.latest-wide { margin-top: 40px; text-decoration: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--pine); color: var(--mist); border-radius: var(--r-lg); padding: 36px 40px; }
.latest-wide:hover { color: var(--mist); }
.latest-wide .big { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.03em; line-height: 1; display: block; margin-top: 8px; }
.months { margin-top: 48px; display: flex; flex-direction: column; gap: 40px; }
.month { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: start; }
.month h2 { flex: 1 1 220px; font-weight: 800; font-size: 32px; letter-spacing: -0.02em; }
.month .list { flex: 999 1 560px; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.res { text-decoration: none; display: flex; align-items: center; gap: 20px; padding: 20px 28px; border-bottom: 1px solid var(--line-2); transition: background .2s ease; }
.res:last-child { border-bottom: 0; }
.res:hover { background: var(--mist); }
.res .d { width: 64px; flex-shrink: 0; display: flex; flex-direction: column; line-height: 1; }
.res .d b { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; }
.res .d span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.res .m { flex: 1; min-width: 0; }
.res .m b { display: block; font-size: 17px; }
.res .m span { font-size: 14px; color: var(--muted); }
.res .go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
@media (max-width: 640px) { .res { padding: 16px 18px; gap: 14px; } .res .d { width: 48px; } }
.empty { background: var(--paper); border: 1px dashed #B9C6B8; border-radius: var(--r-md); padding: 64px 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.empty b { font-family: var(--display); font-size: 28px; }
.empty span { color: var(--muted); max-width: 28em; }

/* ---------- content pages ---------- */
.prose { max-width: 720px; font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h3 { font-size: 28px; margin-top: 1.6em; letter-spacing: -0.02em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--fairway); }
.page-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px; align-items: start; }
.page-pic { border-radius: var(--r-lg); overflow: hidden; background: #DDE6DA; }
.aside-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 12px; }

.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.person { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.person b { font-size: 17px; }
.person span { font-size: 15px; color: var(--muted); }
.person a { font-size: 15px; }
.group + .group { margin-top: 48px; }
.group h2 { font-size: 28px; margin-bottom: 16px; }

.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.album { text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.album .cover { aspect-ratio: 4 / 3; background: #DDE6DA; }
.album .cover img { width: 100%; height: 100%; object-fit: cover; }
.album .txt { padding: 18px 22px; }
.album b { display: block; font-size: 18px; }
.album span { font-size: 14px; color: var(--muted); }
.gallery { columns: 3 300px; column-gap: 12px; }
.gallery a { display: block; margin-bottom: 12px; border-radius: 16px; overflow: hidden; break-inside: avoid; }
.gallery figcaption { font-size: 14px; color: var(--muted); padding: 6px 4px 0; }

/* ---------- footer ---------- */
.site-foot { background: var(--pine); color: var(--soft); }
.site-foot a { color: var(--soft); }
.site-foot a:hover { color: var(--accent); }
.foot-grid { padding: 80px 0 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 8px; line-height: 1.5; }
.foot-name { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--mist); }
.foot-label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.foot-phone { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--mist) !important; text-decoration: none; }
.foot-bottom { border-top: 1px solid var(--line-dark); padding: 24px 0 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
