:root {
  --ink: #101312;
  --green: #0f4a33;
  --green-deep: #072a1c;
  --text: #2b302e;
  --muted: #3f4644;
  --line: #dfe3e1;
  --panel: #f1f3f2;
  --sans: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1280px;
  --gutter: 40px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 6px; }
a:hover { color: var(--green-deep); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section { padding-top: 144px; }
h1, h2, h3 { font-weight: 400; }
h1 { font-size: clamp(46px, 7.4vw, 112px); line-height: 1; letter-spacing: -.04em; max-width: 1100px; }
h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
em { font-family: var(--serif); font-style: italic; letter-spacing: -.02em; }
h1 em, .closing em { color: var(--green); }
.label { font-size: 14px; font-weight: 500; color: var(--green); }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid var(--green); transition: background .2s, color .2s; }
.btn-solid { background: var(--green); color: #fff; }
.btn-solid:hover { background: var(--green-deep); color: #fff; }
.btn-line { color: var(--green); }
.btn-line:hover { background: var(--green); color: #fff; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
.brand { font-weight: 600; font-size: 18px; letter-spacing: -.01em; text-decoration: none; color: var(--ink); padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand .table-logo { height: 64px; }
.brand-row { display: flex; align-items: center; gap: 20px; }
.brand-golf { display: block; padding-left: 20px; border-left: 1px solid var(--line); }
.brand-golf img { height: 60px; width: auto; }
.brand b { font-weight: 600; white-space: nowrap; }
.brand span { color: var(--green); }
.nav ul { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav ul a:not(.btn) { text-decoration: none; color: var(--muted); font-size: 15px; padding: 12px 0; }
.nav ul a:not(.btn):hover { color: var(--ink); }
.burger { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; color: var(--ink); }
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 6px auto; transition: transform .25s, opacity .25s; }
.nav.open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hero */
.hero { padding-top: 88px; }
.hero .kicker { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.hero-grid { display: grid; grid-template-columns: 3fr 1.25fr; gap: 40px; margin-top: 64px; }
.player { display: block; width: 100%; aspect-ratio: 3 / 2; border: 0; padding: 0; border-radius: 6px; overflow: hidden; position: relative; cursor: pointer; background: var(--panel); }
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.player:hover img { transform: scale(1.03); }
.player .play { position: absolute; left: 28px; bottom: 28px; display: flex; align-items: center; gap: 14px; background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 22px 8px 8px; font-family: var(--sans); font-size: 15px; font-weight: 500; }
.player .play i { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero-side { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.hero-side p { font-size: 20px; line-height: 1.5; color: var(--text); }
.stat { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.stat:last-child { border-bottom: 1px solid var(--line); }
.stat span { font-size: 15px; color: var(--muted); }
.stat b { font-weight: 400; font-size: 32px; letter-spacing: -.03em; white-space: nowrap; }

/* About */
.split { display: grid; grid-template-columns: 1fr 4fr; gap: 40px; }
.statement { font-size: clamp(25px, 3vw, 40px); line-height: 1.25; letter-spacing: -.02em; margin-bottom: 36px; }
.about-body { max-width: 620px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 48px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { text-align: right; }

/* Members */
#members .label { margin: 56px 0 16px; }
#members .head-row + .label { margin-top: 0; }
#members ul { list-style: none; }
.board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.board li { border: 1px solid var(--line); border-radius: 6px; padding: 24px; font-size: 20px; font-weight: 500; line-height: 1.3; }
.board span { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-bottom: 6px; }
.board img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 24px; background: var(--panel); }
.names { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 24px; border-top: 1px solid var(--ink); }
.names li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); line-height: 1.3; }
.names img, .names i { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--panel); }
.names i { display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 600; color: var(--green); letter-spacing: .04em; }
.names.former { border-top-color: var(--line); }
.names.former li { color: var(--muted); font-size: 16px; }

/* Work */
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.head-row p { max-width: 400px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 72px; transition: border-color .3s; }
.card:hover { border-color: var(--green); }
.card .num { font-size: 56px; line-height: 1; letter-spacing: -.04em; color: var(--green); }
.card p { color: var(--muted); font-size: 16px; }
.projects { margin-top: 72px; }
.projects ul { list-style: none; margin-top: 20px; border-top: 1px solid var(--ink); }
.projects li { display: grid; grid-template-columns: 100px 1.2fr 2fr; gap: 12px 32px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.projects li span { color: var(--green); font-size: 15px; font-weight: 500; }
.projects h3 { margin: 0; }
.projects li p { color: var(--muted); font-size: 16px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery figure { display: flex; flex-direction: column; gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: var(--panel); flex: 1; min-height: 0; }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery figcaption, .strip figcaption { font-size: 14px; color: var(--muted); }
.strip-section { padding-top: 40px; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip.two { grid-template-columns: 1fr 1fr; margin-bottom: 56px; }
.strip figure { display: flex; flex-direction: column; gap: 12px; }
.strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: var(--panel); }

/* Golf */
.golf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.golf-panel { background: var(--panel); border-radius: 6px; padding: 56px; display: flex; flex-direction: column; gap: 40px; }
.golf-panel b { display: block; font-weight: 400; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -.04em; color: var(--green); }
.golf-panel span { display: block; margin-top: 10px; color: var(--muted); font-size: 16px; }
.golf-copy .label { margin-bottom: 20px; }
.golf-copy p { margin: 20px 0 28px; color: var(--muted); max-width: 460px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Movement */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; border-top: 1px solid var(--ink); padding-top: 28px; margin-top: 48px; }
.timeline b { display: block; font-weight: 400; font-size: 32px; letter-spacing: -.03em; line-height: 1; margin-bottom: 10px; }
.timeline .ours b { color: var(--green); }
.timeline p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.rti { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 72px; }
.rti div { background: var(--panel); border-radius: 6px; padding: 28px; }
.rti b { display: block; font-weight: 400; font-size: 36px; letter-spacing: -.03em; line-height: 1.1; }
.rti span { font-size: 15px; color: var(--muted); }
.src { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* Closing */
.closing h2 { font-size: clamp(44px, 6vw, 96px); line-height: 1; letter-spacing: -.04em; margin-bottom: 56px; }
.tax { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 64px; }
.tax div { display: flex; gap: 24px; align-items: center; background: var(--panel); border-radius: 6px; padding: 28px 32px; }
.tax b { flex: none; font-weight: 400; font-size: 44px; letter-spacing: -.03em; line-height: 1; color: var(--green); }
.tax span { color: var(--text); font-size: 16px; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.ways div { border-top: 1px solid var(--ink); padding-top: 24px; }
.ways p { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.ways a { display: inline-block; padding: 10px 0; }

footer { margin-top: 120px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 32px; padding-bottom: 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 28px; }
footer a { color: var(--muted); padding: 10px 0; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .rti { grid-template-columns: repeat(2, 1fr); }
  .board, .names { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  :root { --gutter: 20px; }
  section { padding-top: 96px; }
  .hero { padding-top: 48px; }
  .hero-grid, .split, .golf-grid, .ways, .tax { grid-template-columns: 1fr; }
  .tax { margin-bottom: 48px; }
  .tax div { padding: 24px; gap: 18px; }
  .tax b { font-size: 34px; }
  .projects li { grid-template-columns: 1fr; gap: 4px; }
  .gallery, .strip { grid-template-columns: 1fr 1fr; gap: 16px; }
  .gallery .big { grid-row: auto; }
  .hero-grid { margin-top: 40px; }
  .facts { grid-template-columns: 1fr; }
  .golf-panel { padding: 36px; }
  .player .play { left: 16px; bottom: 16px; }
  .burger { display: block; }
  .nav .wrap { height: 68px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand img { height: 38px; }
  .brand .table-logo { height: 46px; }
  .brand-row { gap: 10px; }
  .brand-golf { padding-left: 12px; }
  .brand-golf img { height: 48px; }
  .nav ul { position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open ul { display: flex; }
  .nav ul a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav ul .btn { margin-top: 20px; justify-content: center; }
  footer { margin-top: 88px; }
}
@media (max-width: 520px) {
  .cards, .timeline, .rti, .board { grid-template-columns: 1fr; }
  .names { grid-template-columns: repeat(2, 1fr); }
  .board li { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: center; }
  .board img { width: 64px; height: 64px; margin: 0; grid-row: span 2; }
  .board span { margin: 0; align-self: end; }
  .card { gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Multi-page layout */
.subpage > section:first-child { padding-top: 72px; }
h1.h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; max-width: none; }
.closing .h2 { font-size: clamp(44px, 6vw, 96px); line-height: 1; letter-spacing: -.04em; margin-bottom: 56px; }
.nav ul a[aria-current="page"]:not(.btn) { color: var(--ink); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1.5px; }
#members .strip.two { margin-bottom: 0; }

#explore { padding-top: 96px; }
.teasers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.teaser { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.teaser img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: var(--panel); margin-bottom: 18px; transition: opacity .3s; }
.teaser:hover img { opacity: .88; }
.teaser:hover { color: var(--ink); }
.teaser h3 { font-size: 22px; margin-bottom: 6px; }
.teaser p { color: var(--muted); font-size: 16px; flex: 1; margin-bottom: 14px; }
.teaser span { color: var(--green); font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; }
.home-tax { margin: 96px 0 0; }

.events { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 40px; }
.events .strip.two { margin-bottom: 0; gap: 12px; }
.events h3 { font-size: 22px; margin: 22px 0 8px; }
.events p { color: var(--muted); font-size: 16px; max-width: 520px; }

@media (max-width: 1000px) {
  .teasers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .subpage > section:first-child { padding-top: 48px; }
  #explore { padding-top: 64px; }
  .events { grid-template-columns: 1fr; }
  .home-tax { margin-top: 64px; }
}
@media (max-width: 520px) {
  .teasers { grid-template-columns: 1fr; }
}

/* Golf notice and socials */
.golf-copy .notice { margin: 0 0 28px; padding: 16px 20px; background: var(--panel); border-radius: 6px; color: var(--text); font-size: 16px; max-width: 460px; }
.notice b { font-weight: 600; color: var(--green); }
@media (min-width: 821px) { .nav ul { gap: 30px; } }
.social-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--ink); }
.social-head h3 { font-size: 26px; font-weight: 400; letter-spacing: -.02em; margin: 0; }
.insta { display: grid; grid-template-columns: repeat(auto-fill, minmax(326px, 1fr)); gap: 24px; align-items: start; }
.ig-post { display: block; width: 100%; height: 560px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
#facebook { padding-top: 96px; }
.fb-feed { display: block; width: 100%; max-width: 500px; height: 900px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }

/* Forms (golf registration and desk) */
.form-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.form-intro h2, .form-intro .h2 { margin: 14px 0 18px; }
.facts.one { grid-template-columns: 1fr; margin: 32px 0 20px; }
.small { font-size: 14px; }
.form fieldset { border: 0; border-top: 1px solid var(--ink); padding: 22px 0 26px; display: grid; gap: 16px; }
.form legend { font-size: 20px; font-weight: 500; padding: 0 12px 0 0; float: left; width: 100%; margin-bottom: 4px; }
.form legend + * { clear: both; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea, .desk-tools input, .desk-tools select, .desk-save input {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #b9c0bd; border-radius: 6px; padding: 12px 14px; min-height: 46px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus, .desk-tools input:focus, .desk-save input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.grid3.even { grid-template-columns: 1fr 1.4fr 1fr; }
[hidden] { display: none !important; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice label { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #b9c0bd; border-radius: 6px; padding: 14px 16px; cursor: pointer; color: var(--muted); }
.choice label:has(input:checked) { border-color: var(--green); background: #f3f7f5; }
.choice input { margin-top: 4px; accent-color: var(--green); }
.choice b { display: block; font-size: 16px; font-weight: 500; color: var(--ink); }
.hint, .pay-details p { font-size: 15px; color: var(--muted); }
.pay-details img { width: 180px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 12px; }
.team-row + .team-row { margin-top: 12px; }
.check { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font-size: 15px !important; color: var(--text) !important; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #a12318; background: #fdf0ee; border-radius: 6px; padding: 12px 14px; font-size: 15px; margin: 0 0 16px; }
.form button[type=submit] { border-color: var(--green); cursor: pointer; font-family: inherit; min-height: 50px; padding: 0 32px; }
button.btn { cursor: pointer; font-family: inherit; background: none; }
button.btn-solid { background: var(--green); }
button.btn:disabled { opacity: .6; cursor: wait; }
.form-done { grid-column: 2; }
.form-done h2 { margin: 12px 0 18px; }
.form-done p { margin-bottom: 14px; }
.form-done b { font-size: 22px; letter-spacing: .04em; color: var(--green); }

.desk-login { max-width: 380px; display: grid; gap: 16px; }
.desk-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 24px; }
.desk-stats div { background: var(--panel); border-radius: 6px; padding: 18px 20px; }
.desk-stats b { display: block; font-weight: 400; font-size: 34px; letter-spacing: -.03em; line-height: 1.1; color: var(--green); }
.desk-stats span { font-size: 14px; color: var(--muted); }
.desk-tools { display: grid; grid-template-columns: 2fr 1.2fr auto auto; gap: 12px; margin-bottom: 20px; }
.desk-list { display: grid; gap: 14px; }
.desk-card { border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; }
.desk-card.is-in { border-color: var(--green); background: #f6faf8; }
.desk-card.is-cancelled { opacity: .6; }
.desk-card header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.desk-card header b { font-size: 20px; font-weight: 500; margin-right: 12px; }
.ref { font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--panel); color: var(--text); white-space: nowrap; }
.badge.pay-confirmed, .badge.in { background: var(--green); color: #fff; }
.badge.pay-submitted { background: #fff1c9; color: #6a4a00; }
.badge.pay-pending { background: #fde4e0; color: #8a1f14; }
.desk-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.desk-body ol { margin: 10px 0 10px 20px; }
.desk-body li span { color: var(--muted); font-size: 14px; margin-left: 10px; }
.desk-actions { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.desk-save { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; width: 100%; }
button.link { background: none; border: 0; padding: 8px 0; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; }

@media (max-width: 820px) {
  .form-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-done { grid-column: 1; }
  .grid2, .grid3, .grid3.even, .choice, .desk-body, .desk-tools, .desk-save { grid-template-columns: 1fr; }
  .desk-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Donor credit strip on the work page */
.credit { margin-top: 96px; }
.credit .statement { max-width: 760px; margin: 14px 0 32px; }
.gallery .big img { object-position: 50% 88%; }
@media (min-width: 821px) { .team-row { grid-template-columns: 2fr 1fr; } }
.form-logo { width: 128px; height: 128px; margin-bottom: 20px; }
#pan-block, #proof-block { display: grid; gap: 16px; }
