:root {
  --ink: #17241e;
  --forest: #173f2f;
  --forest-deep: #0c251b;
  --eucalypt: #2f7254;
  --gold: #d4a843;
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --mist: #e5ece4;
  --line: #d7ded5;
  --muted: #627067;
  --danger: #a3422a;
  --shadow: 0 18px 55px rgba(12, 37, 27, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Trebuchet MS", "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 30; padding: .7rem 1rem; background: var(--gold); color: var(--forest-deep); font-weight: 800; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(12, 37, 27, .97); color: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.18); }
.topline { display: none; }
.topline__inner, .nav-wrap, .container { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.topline__inner { padding: .35rem 0; display: flex; justify-content: space-between; gap: 1rem; }
.grasshopper-banner { grid-column: 3; grid-row: 1; justify-self: end; position: relative; display: inline-flex; width: 180px; height: 96px; align-items: center; justify-content: center; color: var(--forest-deep); }
.grasshopper-banner img { width: 180px; height: 96px; object-fit: fill; }
.grasshopper-banner__top, .grasshopper-banner__bottom { position: absolute; z-index: 1; font-family: Georgia, serif; font-weight: 900; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.grasshopper-banner__top { top: 7px; font-size: .64rem; }
.grasshopper-banner__bottom { bottom: 7px; font-size: .49rem; }
.nav-wrap { width: min(1360px, calc(100% - 2rem)); min-height: 180px; display: grid; grid-template-columns: 180px minmax(0, 1fr) 180px; grid-template-rows: 112px 52px; align-items: center; gap: .35rem 1rem; }
.brand { grid-column: 1; grid-row: 1; display: inline-flex; align-items: center; color: #fff; text-decoration: none; min-width: 0; }
.brand img { width: 180px; height: 96px; object-fit: contain; }
.brand > span { display: none; }
.brand__name { display: block; font-family: Georgia, serif; font-size: 1.05rem; font-weight: 700; line-height: 1.1; }
.brand__tag { display: block; margin-top: .2rem; color: #b7cfbd; font-size: .71rem; letter-spacing: .08em; text-transform: uppercase; }
.header-title { grid-column: 2; grid-row: 1; justify-self: center; color: #fff; text-align: center; text-decoration: none; white-space: nowrap; }
.header-title__name { display: block; font-family: Georgia, serif; font-size: clamp(1.75rem, 3vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.header-title__tag { display: block; margin-top: .45rem; color: #d7e5d9; font-size: .82rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.nav-toggle { display: none; padding: .55rem .7rem; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; background: transparent; color: #fff; }
.site-nav { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: .4rem; width: 100%; white-space: nowrap; }
.site-nav a { padding: .6rem .72rem; border-radius: 4px; color: #eaf1eb; font-size: .85rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(255,255,255,.13); color: #fff; }
.site-nav .nav-cta { background: var(--gold); color: var(--forest-deep); }
.site-nav .nav-cta:hover { background: #f0c45c; color: var(--forest-deep); }

.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--forest-deep); }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(7, 27, 19, .94) 5%, rgba(11, 43, 29, .66) 52%, rgba(7, 27, 19, .2)); }
.hero::after { content: ""; position: absolute; z-index: -3; inset: 0; background: center / cover no-repeat var(--hero-image); }
.hero .container { min-height: 580px; padding: clamp(4rem, 9vw, 8rem) 0 4rem; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 .8rem; color: var(--gold); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; }
h1 { max-width: 800px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.7rem, 6.8vw, 5.8rem); letter-spacing: -.045em; }
.hero h1 em { color: #f6d57e; font-style: normal; }
.hero__lead { max-width: 630px; margin: 1.25rem 0 1.8rem; color: #e3ece5; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1rem; border: 1px solid transparent; border-radius: 3px; background: var(--gold); color: var(--forest-deep); font-weight: 900; text-decoration: none; }
.button:hover { background: #f0c45c; }
.button--ghost { border-color: rgba(255,255,255,.55); background: transparent; color: #fff; }
.button--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.button--dark { background: var(--forest); color: #fff; }
.button--dark:hover { background: var(--eucalypt); }

.notice { background: var(--gold); color: var(--forest-deep); }
.notice .container { padding: 1rem 0; display: flex; align-items: start; gap: .9rem; }
.notice__label { flex: 0 0 auto; padding: .15rem .45rem; border: 1px solid currentColor; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.notice p { margin: 0; font-weight: 700; }

.section { padding: clamp(3.5rem, 7vw, 7rem) 0; }
.section--paper { background: var(--paper); }
.section--forest { background: var(--forest); color: #fff; }
.section--mist { background: var(--mist); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.1rem; }
.section-heading h2 { max-width: 720px; margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.04em; }
.section-heading p { max-width: 500px; margin: 0; color: var(--muted); }
.section--forest .section-heading p { color: #c6d9cb; }
.section-kicker { margin: 0 0 .55rem; color: var(--eucalypt); font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.section--forest .section-kicker { color: #f6d57e; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.stat { padding: 1.3rem 1rem; border-right: 1px solid rgba(255,255,255,.2); }
.stat:last-child { border: 0; }
.stat strong { display: block; color: #f6d57e; font-family: Georgia, serif; font-size: 2rem; }
.stat span { display: block; color: #d2e1d5; font-size: .85rem; }

.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); box-shadow: 0 4px 18px rgba(18, 36, 25, .05); }
.card__image { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.card__body { padding: 1.35rem; }
.card__meta { margin: 0 0 .45rem; color: var(--eucalypt); font-size: .73rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.card h3 { margin: 0 0 .65rem; font-family: Georgia, serif; font-size: 1.4rem; }
.card p { margin: 0; color: var(--muted); }
.text-link { display: inline-flex; gap: .35rem; align-items: center; margin-top: 1rem; color: var(--forest); font-size: .9rem; font-weight: 900; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split__image { min-height: 420px; height: 100%; object-fit: cover; }
.prose { max-width: 710px; }
.prose h2 { margin: 0 0 1rem; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.04em; }
.prose p { color: var(--muted); }
.prose ul { padding-left: 1.2rem; color: var(--muted); }
.prose li + li { margin-top: .45rem; }

.schedule { display: grid; grid-template-columns: 190px 1fr; gap: 1.4rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.schedule:first-of-type { border-top: 1px solid var(--line); }
.schedule__date { color: var(--eucalypt); font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.schedule h3 { margin: 0 0 .2rem; font-family: Georgia, serif; font-size: 1.35rem; }
.schedule p { margin: 0; color: var(--muted); }

.page-banner { padding: clamp(3.5rem, 8vw, 6rem) 0; background: linear-gradient(120deg, rgba(7, 27, 19, .94), rgba(11, 43, 29, .74)), center / cover no-repeat url("../images/range-day.jpg"); color: #fff; }
.page-banner h1 { max-width: 780px; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.page-banner p { max-width: 660px; margin: 1rem 0 0; color: #c8dccd; font-size: 1.08rem; }
.crumb { margin: 0 0 1rem; color: #f3d27a; font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.crumb a { color: inherit; }

.discipline { position: relative; min-height: 390px; padding: 2rem; display: flex; flex-direction: column; justify-content: end; overflow: hidden; color: #fff; background: var(--forest); }
.discipline::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgba(4,20,13,.92), rgba(4,20,13,.1)); }
.discipline > * { position: relative; z-index: 1; }
.discipline h2 { max-width: 380px; margin: 0 0 .55rem; font-family: Georgia, serif; font-size: 2.25rem; }
.discipline p { max-width: 460px; margin: 0; color: #dbe9de; }
.discipline--tr { background: center / cover url("../images/Target-Rifle.png"); }
.discipline--fs { background: center / cover url("../images/F-Class_shooter.png"); }
.discipline--fo { background: center / cover url("../images/F-Open.png"); }

.data-table { width: 100%; border-collapse: collapse; background: var(--paper); }
.data-table th, .data-table td { padding: .85rem .75rem; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { color: var(--forest); background: #edf3ed; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.data-table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }

.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.5rem; }
.filter { padding: .55rem .75rem; border: 1px solid #b8c6b9; border-radius: 999px; background: transparent; color: var(--forest); font-size: .82rem; font-weight: 900; }
.filter[aria-pressed="true"], .filter:hover { border-color: var(--forest); background: var(--forest); color: #fff; }
.results-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.results-summary__item { padding: 1.1rem; border: 1px solid var(--line); background: var(--paper); }
.results-summary__item strong { display: block; color: var(--forest); font-family: Georgia, serif; font-size: 1.7rem; }
.results-summary__item span { color: var(--muted); font-size: .82rem; }
.results-controls { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: .8rem; margin-bottom: 1.5rem; }
.results-controls input, .results-controls select { min-width: 0; padding: .65rem; border: 1px solid #b5c1b6; border-radius: 3px; background: #fff; color: var(--ink); }
.results-status { min-height: 1.5rem; margin: 0 0 1rem; color: var(--muted); font-size: .88rem; }
.results-date-group { margin: 2.5rem 0; }
.results-date-group:first-child { margin-top: 0; }
.results-date-group h2 { margin: 0 0 .7rem; color: var(--forest); font-size: 1.2rem; }
.results-shooter-group th { padding: .75rem; color: var(--forest); background: #f4f7f1; font-size: .88rem; text-align: left; }
.results-profile-link { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; }
.results-profile-link:hover, .results-profile-link:focus-visible { outline: 3px solid rgba(212, 168, 67, .55); outline-offset: 2px; }
.results-profile-link img { width: 24px; height: 24px; object-fit: contain; }
.results-date-group .data-table thead th:last-child, .results-date-group .data-table tbody td:last-child { text-align: center; }
.results-sheet { max-width: 980px; }
.results-sheet__heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.results-sheet__heading h2 { margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); }
.results-sheet__heading p:last-child { margin: .35rem 0 0; color: var(--muted); }
.match-results-table th:not(:first-child), .match-results-table td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.match-results-table tbody th { color: var(--forest); font-weight: 900; }
.results-trophies { margin-top: 2rem; padding: 1.4rem 1.5rem; border-left: 5px solid var(--gold); background: #fff8de; }
.results-trophies h2 { margin: 0 0 .65rem; color: var(--forest); font-family: Georgia, serif; font-size: 1.5rem; }
.results-trophies ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1.5rem; margin: 0; padding-left: 1.1rem; }
.club-results-controls { width: min(100%, 370px); margin-bottom: 1.35rem; }
.club-results-sheet { max-width: 1020px; }
.club-results-sheet__title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .2rem; }
.club-results-sheet__title h2 { margin: 0; color: #34495e; font-family: inherit; font-size: 1rem; }
.club-results-sheet__title a { color: var(--eucalypt); font-size: .8rem; font-weight: 700; }
.club-results-sheet .table-wrap { border: 0; }
.club-results-sheet .data-table { color: #34495e; }
.club-results-sheet .data-table th, .club-results-sheet .data-table td { padding: .52rem 0; border-bottom: 0; font-size: .95rem; }
.club-results-sheet .data-table thead th { border-bottom: 1px solid #e3e7e7; background: transparent; color: #34495e; font-size: .9rem; letter-spacing: 0; text-transform: none; }
.club-results-sheet .data-table th:first-child, .club-results-sheet .data-table td:first-child { width: 17%; text-align: left; }
.club-results-sheet .data-table th:not(:first-child), .club-results-sheet .data-table td:not(:first-child) { text-align: left; font-variant-numeric: tabular-nums; }
.club-results-sheet .data-table tbody th { color: #34495e; font-weight: 400; }
.club-results-grouping { text-align: center !important; }
.club-results-hex-link { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; }
.club-results-hex-link img { width: 24px; height: 24px; object-fit: contain; }
.club-results-hex-link:hover, .club-results-hex-link:focus-visible { outline: 3px solid rgba(212, 168, 67, .55); outline-offset: 2px; }
.club-results-sheet .data-table thead th:last-child { text-align: center; }
.club-results-trophies { margin-top: 2.5rem; padding-top: .25rem; border-top: 1px solid #e3e7e7; color: #34495e; }
.club-results-trophies h2 { margin: 0 0 .25rem; color: #34495e; font-family: inherit; font-size: 1rem; }
.club-results-trophies dl { margin: 0; }
.club-results-trophies dl > div { display: grid; grid-template-columns: 116px 1fr; gap: .1rem; padding: .42rem 0; }
.club-results-trophies dt, .club-results-trophies dd { margin: 0; }
.news-year { margin-top: 3.5rem; padding-top: 1.25rem; border-top: 2px solid var(--forest); }
.news-year__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.news-year__heading h2 { margin: 0; color: var(--forest); font-size: clamp(2rem, 4vw, 3rem); }
.news-year__heading span { color: var(--muted); font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.news-archive { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.news-card .card__image { height: auto; aspect-ratio: auto; object-fit: contain; }
.history-section { padding: clamp(2rem, 5vw, 4rem) 0; }
.history-content { max-width: 760px; margin: 0 auto; font-size: .93rem; line-height: 1.55; }
.history-content h3 { margin: 2.25rem 0 .75rem; color: var(--forest); font-size: clamp(1.25rem, 3vw, 1.8rem); }
.history-content h3:empty { display: none; }
.history-content .history-highlight--2022 { margin: .75rem 0; padding-left: 0; text-indent: 0; }
.history-content h4 { margin: 0 0 1.5rem; color: var(--muted); font-size: .95rem; }
.history-content p { margin: 0 0 .75rem; line-height: inherit; }
.history-content p > a { display: inline-block; }
.history-content img { display: inline-block; max-width: 100%; height: auto; margin: .5rem .65rem .5rem 0; vertical-align: top; }
.history-content table { width: min(100%, 440px); margin: 1rem 0; border-collapse: collapse; background: var(--paper); }
.history-content th, .history-content td { padding: .55rem .7rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.history-content .infobox { float: right; width: min(100%, 400px); margin: 0 0 1.5rem 1.5rem; }
.historic-archive { max-width: 1040px; margin: 0 auto; font-size: .94rem; line-height: 1.6; }
.historic-archive h1, .historic-archive h2, .historic-archive h3, .historic-archive h4 { color: var(--forest); }
.historic-archive h2 { margin: 3rem 0 1rem; font-family: Georgia, serif; font-size: clamp(1.45rem, 3vw, 2.1rem); }
.historic-archive h3 { margin: 2.5rem 0 .9rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 1.2rem; }
.historic-archive h4 { margin: 1.4rem 0 .6rem; font-size: 1rem; }
.historic-archive p { margin: 0 0 .9rem; }
.historic-archive img { display: block; max-width: 100%; height: auto; margin: 1rem 0; }
.historic-archive table { width: 100%; margin: 1.25rem 0; border-collapse: collapse; background: var(--paper); }
.historic-archive th, .historic-archive td { padding: .5rem .65rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.historic-archive .page-container, .historic-archive .content-container, .historic-archive .collapsible { max-width: 100%; }
.lightbox-open { overflow: hidden; }
.image-lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 1.5rem; background: rgba(4, 16, 11, .88); }
.image-lightbox[hidden] { display: none; }
.image-lightbox__dialog { position: relative; display: grid; place-items: center; max-width: min(1100px, 100%); max-height: 100%; }
.image-lightbox__image { display: block; max-width: 100%; max-height: calc(100vh - 5rem); width: auto; height: auto; box-shadow: 0 18px 55px rgba(0, 0, 0, .5); }
.image-lightbox__close { position: absolute; top: .65rem; right: .65rem; padding: .45rem .7rem; border: 1px solid rgba(255, 255, 255, .7); border-radius: 3px; background: rgba(7, 27, 19, .88); color: #fff; font-size: .8rem; font-weight: 900; }
.image-lightbox__close:hover, .image-lightbox__close:focus { background: var(--gold); color: var(--forest-deep); }
.photo-carousel { overflow: hidden; padding: .4rem 0 1rem; }
.photo-carousel__track { display: flex; width: max-content; gap: 1.25rem; animation: photo-carousel-scroll 75s linear infinite; }
.photo-carousel:hover .photo-carousel__track, .photo-carousel:focus-within .photo-carousel__track { animation-play-state: paused; }
.photo-carousel__item { position: relative; display: block; flex: 0 0 clamp(220px, 27vw, 360px); aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 6px 20px rgba(18, 36, 25, .09); }
.photo-carousel__item::after { content: "Click to enlarge"; position: absolute; right: .65rem; bottom: .65rem; padding: .3rem .5rem; background: rgba(7, 27, 19, .86); color: #fff; font-size: .72rem; font-weight: 900; opacity: 0; transition: opacity .2s ease; }
.photo-carousel__item:hover::after, .photo-carousel__item:focus-visible::after { opacity: 1; }
.photo-carousel__item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.photo-carousel__item img { width: 100%; height: 100%; object-fit: contain; }
@keyframes photo-carousel-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .photo-carousel__track { animation: none; } }
.calendar-list { border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 112px 1fr auto; gap: 1.25rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.event__date { color: var(--forest); font-size: .86rem; font-weight: 900; line-height: 1.25; text-transform: uppercase; }
.event__date strong { display: block; color: var(--eucalypt); font-family: Georgia, serif; font-size: 1.8rem; }
.event h3 { margin: 0; font-family: Georgia, serif; font-size: 1.25rem; }
.event p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.event .event-warning { color: #8a4b0a; font-weight: 700; }
.badge { display: inline-flex; padding: .3rem .5rem; border-radius: 2px; background: #e2eee4; color: var(--forest); font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.event .badge { max-width: 13rem; white-space: normal; text-align: center; }

.callout { padding: clamp(1.5rem, 4vw, 2.5rem); border-left: 5px solid var(--gold); background: #fff8de; }
.callout h2 { margin: 0 0 .55rem; font-family: Georgia, serif; font-size: 1.75rem; }
.callout p { margin: 0; color: #4c544c; }

.form-shell { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.form-shell h2 { margin-top: 0; font-family: Georgia, serif; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--forest); font-size: .84rem; font-weight: 900; }
.field input, .field select, .field textarea { width: 100%; padding: .72rem; border: 1px solid #b5c1b6; border-radius: 3px; background: #fff; color: var(--ink); }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(212,168,67,.4); border-color: var(--gold); }
.form-status { min-height: 1.4em; margin: 1rem 0 0; color: var(--forest); font-weight: 700; }
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: .82rem; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-widget { min-height: 65px; }
.button:disabled { cursor: wait; opacity: .62; }

.search-panel { max-width: 760px; }
.search-input { display: flex; gap: .75rem; padding: .5rem; border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 25px rgba(15,40,26,.07); }
.search-input input { flex: 1; min-width: 0; padding: .65rem; border: 0; outline: 0; }
.search-results { margin-top: 2rem; }
.search-result { display: block; padding: 1.1rem 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.search-result:hover h2 { text-decoration: underline; }
.search-result__type { margin: 0 0 .2rem; color: var(--eucalypt); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.search-result h2 { margin: 0; font-family: Georgia, serif; font-size: 1.45rem; }
.search-result p { margin: .35rem 0 0; color: var(--muted); }

.handicapping-page { min-height: 100vh; background: linear-gradient(135deg, #edf3ed, var(--cream) 42%, #e7ddd0); }
.handicapping-shell { width: min(1240px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) 0; }
.handicapping-heading { padding-bottom: 1.5rem; border-bottom: 3px solid var(--forest); }
.handicapping-heading h1 { max-width: none; color: var(--forest); font-size: clamp(2.4rem, 5vw, 4.6rem); }
.handicapping-heading p { max-width: 760px; margin: 1rem 0 0; color: var(--muted); }
.handicapping-heading .section-kicker { color: var(--eucalypt); }
.handicapping-controls { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(130px, .6fr)); gap: 1rem; margin: 2rem 0 1rem; padding: 1.25rem; border: 1px solid var(--line); background: rgba(255, 253, 248, .86); box-shadow: 0 8px 28px rgba(18, 36, 25, .06); }
.handicapping-controls label { display: grid; gap: .35rem; color: var(--forest); font-size: .8rem; font-weight: 900; }
.handicapping-controls input, .handicapping-controls select { min-width: 0; padding: .65rem; border: 1px solid #b5c1b6; border-radius: 3px; background: #fff; color: var(--ink); }
.handicapping-note { margin: 0 0 1.5rem; color: var(--muted); font-size: .86rem; }
.handicap-rating { font-variant-numeric: tabular-nums; }
.handicap-status { min-height: 1.5rem; margin: 0 0 1rem; color: var(--muted); }
.handicap-table th:nth-child(n+3), .handicap-table td:nth-child(n+3) { text-align: right; }
.handicap-grade { display: inline-flex; min-width: 2rem; justify-content: center; padding: .15rem .4rem; border-radius: 999px; background: #e2eee4; color: var(--forest); font-weight: 900; }
.handicap-grade--provisional { background: #fff0c9; color: #72540b; }

.site-footer { padding: 3.5rem 0 1.5rem; background: var(--forest-deep); color: #d6e2d7; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; color: #fff; font-family: Georgia, serif; font-size: 1.2rem; }
.footer-brand img { width: 60px; height: 60px; object-fit: contain; }
.site-footer h2 { margin: 0 0 .8rem; color: #f6d57e; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer p, .site-footer li { margin: 0; color: #b8cdbc; font-size: .9rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: .4rem; }
.site-footer a { color: inherit; }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); color: #92ab97; font-size: .78rem; }

@media (max-width: 1300px) {
  .nav-wrap { position: relative; min-height: 160px; grid-template-rows: 112px 36px; }
  .nav-toggle { grid-column: 2; grid-row: 2; justify-self: center; display: inline-flex; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: .8rem max(1rem, calc((100% - 1160px) / 2)); background: var(--forest-deep); border-top: 1px solid rgba(255,255,255,.15); flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .8rem; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .nav-wrap { min-height: 132px; grid-template-columns: 104px minmax(0, 1fr) 104px; grid-template-rows: 76px 40px; gap: .25rem .55rem; }
  .brand img { width: 104px; height: 56px; }
  .grasshopper-banner { width: 104px; height: 56px; }
  .grasshopper-banner img { width: 104px; height: 56px; }
  .grasshopper-banner__top { top: 4px; font-size: .4rem; }
  .grasshopper-banner__bottom { bottom: 4px; font-size: .31rem; }
  .brand { min-width: 0; }
  .brand__tag { display: none; }
  .header-title__name { font-size: clamp(1.1rem, 5vw, 1.5rem); }
  .header-title__tag { margin-top: .25rem; font-size: .58rem; letter-spacing: .12em; }
  .hero .container { min-height: 520px; }
  .section-heading, .split { grid-template-columns: 1fr; display: grid; gap: 1rem; }
  .stats, .grid--3, .grid--2, .footer-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stat:last-child { border-bottom: 0; }
  .split__image { min-height: 300px; }
  .schedule { grid-template-columns: 1fr; gap: .3rem; }
  .event { grid-template-columns: 76px 1fr; gap: .75rem; }
  .event .badge { grid-column: 2; justify-self: start; }
  .form-grid { grid-template-columns: 1fr; }
  .results-summary, .results-controls, .news-archive { grid-template-columns: 1fr; }
  .results-sheet__heading { align-items: start; flex-direction: column; }
  .results-trophies ul { grid-template-columns: 1fr; }
  .handicapping-controls { grid-template-columns: repeat(2, 1fr); }
  .history-content .infobox { float: none; width: 100%; margin-left: 0; }
  .field--full { grid-column: auto; }
  .search-input { flex-direction: column; }
  .handicapping-controls { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .brand__name { font-size: .82rem; }
}

.photo-carousel__item { position: relative; }
.photo-carousel__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: .6rem .8rem; background: #173f32dd; color: white; font-size: .8rem; }
.photo-group { margin-bottom: 2.5rem; }
.photo-group__grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 1rem; }
.photo-group__grid .photo-carousel__item { width: 100%; height: 230px; }
.photo-group__grid img { width: 100%; height: 100%; object-fit: cover; }

.club-results-note { display: block; margin-top: .3rem; font-weight: 400; font-size: .75rem; color: var(--muted); }
