:root {
  --ink: #202424;
  --muted: #5e6663;
  --paper: #f7f4ed;
  --panel: #ffffff;
  --pine: #173d35;
  --pine-2: #245a4c;
  --lake: #2f6f82;
  --brass: #b78a3b;
  --berry: #7e3448;
  --line: #ddd8cc;
  --shadow: 0 24px 70px rgba(24, 32, 29, 0.16);
  --font-body: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --font-mark: Copperplate, "Copperplate Gothic Light", "Copperplate Gothic Bold", "Trajan Pro", Georgia, serif;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(247, 244, 237, 0.8), rgba(247, 244, 237, 1) 720px),
    var(--paper);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: #fff;
  background: linear-gradient(180deg, rgba(9, 21, 18, 0.72), rgba(9, 21, 18, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-mark);
  font-weight: 700;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-family: var(--font-mark);
  font-weight: 650;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-mark);
}

.public-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  flex: 0 0 auto;
  font-size: 0.94rem;
}

.public-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
}

.public-nav a:hover {
  color: #fff;
}

.site-header .button {
  min-width: 0;
  min-height: 40px;
  padding: 10px 14px;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.02);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 16, 0.74), rgba(8, 18, 16, 0.33) 58%, rgba(8, 18, 16, 0.08)),
    linear-gradient(0deg, rgba(8, 18, 16, 0.72), rgba(8, 18, 16, 0.05) 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 140px 0 clamp(64px, 9vw, 104px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brass);
  font-family: var(--font-mark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 132px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-mark);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.icon-button:hover,
.tab:hover,
.document-list button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brass);
  color: #171512;
}

.button-primary:hover {
  background: #c99d4d;
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.button-secondary {
  color: #fff;
  background: var(--lake);
}

.scroll-cue {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: 26px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 54px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3,
h4 {
  font-family: var(--font-mark);
  font-weight: 650;
}

.intro-copy p,
.membership-layout p,
.story-card p,
.notice-card p,
.timeline p {
  color: var(--muted);
  line-height: 1.7;
}

.intro-copy p:first-child,
.membership-layout p {
  margin-top: 0;
}

.story-grid {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.story-card,
.notice-card,
.member-card,
.event-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.story-card {
  min-height: 245px;
  padding: 24px;
}

.card-number {
  color: var(--berry);
  font-family: var(--font-mark);
  font-weight: 700;
}

.story-card h3,
.panel-heading h3,
.notice-card h4 {
  margin: 18px 0 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.archive-band {
  background: #efe8da;
}

.archive-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.75fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin-bottom: 26px;
}

.archive-heading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.archive-preview-grid,
.member-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.archive-preview-grid figure,
.member-archive-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(46, 38, 24, 0.08);
}

.archive-preview-grid img,
.member-archive-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  filter: contrast(1.04);
}

.archive-preview-grid figcaption,
.member-archive-grid figcaption {
  min-height: 48px;
  padding: 13px 14px;
  color: var(--pine);
  font-family: var(--font-mark);
  font-weight: 700;
}

.membership-band {
  background: var(--pine);
  color: #fff;
}

.membership-band .eyebrow {
  color: #d9b96b;
}

.membership-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.membership-layout p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  margin-top: 20px;
}

.public-list {
  display: grid;
  gap: 12px;
}

.public-list div {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.public-list span {
  color: rgba(255, 255, 255, 0.72);
}

.member-shell {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 54px);
  background: linear-gradient(180deg, #f7f4ed, #ece5d9);
}

.member-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.login-pane {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
  min-height: 480px;
}

.login-copy {
  padding: clamp(30px, 6vw, 64px);
  background:
    linear-gradient(rgba(23, 61, 53, 0.86), rgba(23, 61, 53, 0.86)),
    url("./lake-zurich-course-aerial.jpg") center / cover;
  color: #fff;
  display: grid;
  align-content: end;
}

.login-copy .eyebrow {
  color: #d9b96b;
}

.login-copy h2 {
  max-width: 540px;
}

.login-copy p:last-child {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.login-form {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(26px, 5vw, 46px);
}

.login-form label {
  font-family: var(--font-mark);
  font-weight: 700;
  font-size: 0.9rem;
}

.login-form input,
.search-box input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfc8ba;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.login-form input {
  padding: 0 13px;
  margin-bottom: 8px;
}

.login-form input:focus,
.search-box input:focus {
  outline: 3px solid rgba(47, 111, 130, 0.22);
  border-color: var(--lake);
}

.form-note {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-error {
  min-height: 22px;
  margin: 0;
  color: var(--berry);
  font-family: var(--font-mark);
  font-weight: 700;
}

.hidden {
  display: none !important;
}

.dashboard {
  min-height: 680px;
  padding: clamp(20px, 4vw, 34px);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-topbar h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.dashboard-summary article {
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f5ee;
}

.dashboard-summary span {
  display: block;
  color: var(--berry);
  font-family: var(--font-mark);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dashboard-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--pine);
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1;
}

.dashboard-summary p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--pine);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.icon-button svg,
.search-box svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 24px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f2eee5;
}

.tab {
  min-width: 112px;
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mark);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.tab.is-active {
  color: #fff;
  background: var(--pine);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-heading h3 {
  margin-top: 0;
  font-size: 1.55rem;
}

.panel-heading p {
  margin: 6px 0 0;
  color: var(--muted);
}

.search-box {
  position: relative;
  width: min(320px, 100%);
  color: var(--muted);
}

.search-box svg {
  position: absolute;
  left: 13px;
  top: 13px;
}

.search-box input {
  padding: 0 14px 0 42px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.security-note {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(126, 52, 72, 0.24);
  border-radius: 8px;
  background: rgba(126, 52, 72, 0.08);
  color: var(--muted);
  line-height: 1.55;
}

.security-note strong {
  color: var(--berry);
  margin-right: 6px;
}

.member-card {
  min-height: 184px;
  padding: 18px;
  display: grid;
  gap: 9px;
}

.member-card h4 {
  margin: 0;
  font-family: var(--font-mark);
  font-weight: 650;
  font-size: 1.08rem;
}

.member-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.member-card p strong {
  color: var(--pine);
}

.member-tag,
.event-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--pine);
  background: rgba(183, 138, 59, 0.18);
  font-family: var(--font-mark);
  font-size: 0.78rem;
  font-weight: 700;
}

.event-list {
  display: grid;
  gap: 12px;
}

.event-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 116px;
  padding: 16px;
}

.event-date {
  display: grid;
  place-items: center;
  min-height: 74px;
  border-radius: 8px;
  background: #f2eee5;
  color: var(--pine);
  font-family: var(--font-mark);
  font-weight: 700;
  text-align: center;
}

.event-date span {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
}

.event-copy h4 {
  margin: 0 0 7px;
  font-family: var(--font-mark);
  font-weight: 650;
}

.event-copy p {
  margin: 0;
  color: var(--muted);
}

.event-hosts {
  margin-top: 7px !important;
  color: var(--pine) !important;
  font-family: var(--font-mark);
  font-weight: 650;
}

.rsvp-button {
  min-width: 92px;
  min-height: 40px;
  border: 1px solid var(--lake);
  border-radius: 8px;
  background: #fff;
  color: var(--lake);
  font-family: var(--font-mark);
  font-weight: 700;
  cursor: pointer;
}

.rsvp-button.is-going {
  color: #fff;
  background: var(--lake);
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.notice-card {
  min-height: 196px;
  padding: 20px;
}

.notice-card span {
  color: var(--berry);
  font-family: var(--font-mark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  gap: 18px;
}

.member-archive-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: end;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f5ee;
}

.member-archive-intro h4 {
  margin: 0;
  color: var(--pine);
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.member-archive-intro p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  position: relative;
  padding: 18px 18px 18px 28px;
  border-left: 4px solid var(--brass);
  border-radius: 0 8px 8px 0;
  background: #f6f2e9;
}

.timeline span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mark);
  font-weight: 700;
  color: var(--pine);
}

.timeline p {
  margin: 0;
}

.document-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.document-list button {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--pine);
  font-family: var(--font-mark);
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  padding: 0 16px;
}

.member-archive-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.members-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(23, 61, 53, 0.08), rgba(247, 244, 237, 0) 360px),
    var(--paper);
}

.member-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: #fff;
  background: #16211f;
  box-shadow: 0 12px 32px rgba(13, 22, 19, 0.18);
}

.member-site-header .button {
  min-width: 0;
  min-height: 40px;
  padding: 10px 14px;
  white-space: nowrap;
}

.member-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.member-app {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px) 0 clamp(48px, 8vw, 84px);
}

.member-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: end;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 61, 53, 0.96), rgba(47, 111, 130, 0.86)),
    url("./lake-zurich-course-aerial.jpg") center / cover;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.member-hero-panel h1 {
  max-width: 680px;
  margin: 0;
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.member-hero-panel p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.6;
}

.member-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.member-stat-grid article {
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.member-stat-grid span,
.member-stat-grid strong {
  display: block;
  font-family: var(--font-mark);
}

.member-stat-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.member-stat-grid strong {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.member-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.member-section {
  display: none;
  margin-top: 18px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 46px rgba(24, 32, 29, 0.08);
}

.member-section.is-active {
  display: block;
}

.member-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.member-panel-heading h2 {
  margin: 0;
  color: var(--pine);
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.member-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.member-select {
  min-height: 46px;
  min-width: 150px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--pine);
  background: #fff;
  font-family: var(--font-mark);
  font-weight: 700;
}

.directory-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--muted);
}

.directory-tools p {
  margin: 0;
}

.directory-tools .button {
  min-height: 40px;
}

.member-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 14px;
}

.member-directory-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.member-card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.member-card-heading h3 {
  margin: 0;
  color: var(--pine);
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.15;
  text-align: right;
}

.member-spouse,
.member-address {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.member-address-secondary {
  color: var(--lake);
}

.member-contact-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.member-contact-columns ul {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-contact-columns li {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.member-contact-columns span {
  color: var(--muted);
  font-family: var(--font-mark);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.member-contact-columns a,
.member-contact-columns strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--pine);
  font-weight: 600;
}

.member-event-list {
  margin-top: 0;
}

.member-event-card {
  grid-template-columns: 86px minmax(0, 1fr) auto;
}

.member-event-card .rsvp-button {
  text-decoration: none;
}

.event-tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 7px;
}

.event-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--pine);
  background: #e8f1ed;
  font-family: var(--font-mark);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-status.is-past {
  color: var(--muted);
  background: #eee9df;
}

.event-status.status-going {
  color: #fff;
  background: var(--pine);
}

.event-status.status-maybe {
  color: #1b2925;
  background: #ecd7a2;
}

.event-status.status-not-going {
  color: #6f263a;
  background: #f1d8df;
}

.rsvp-button.is-going {
  color: #fff;
  border-color: var(--pine);
  background: var(--pine);
}

.member-document-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.member-document-link {
  display: grid;
  gap: 5px;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--pine);
  background: #fff;
  text-decoration: none;
}

.member-document-link span {
  color: var(--brass);
  font-family: var(--font-mark);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.member-document-link strong {
  font-family: var(--font-mark);
  font-size: 1rem;
}

.member-document-link small {
  color: var(--muted);
  line-height: 1.35;
}

.member-archive-grid figcaption {
  display: grid;
  gap: 4px;
}

.member-archive-grid figcaption strong,
.member-archive-grid figcaption span {
  display: block;
}

.member-archive-grid figcaption span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
}

.event-detail-app {
  width: min(1040px, calc(100% - 36px));
}

.event-detail-hero {
  padding: clamp(24px, 5vw, 48px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 61, 53, 0.96), rgba(47, 111, 130, 0.84)),
    url("./lake-zurich-course-aerial.jpg") center / cover;
  box-shadow: var(--shadow);
}

.event-detail-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1;
}

.event-detail-hero p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.event-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.rsvp-form,
.rsvp-list-panel {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 46px rgba(24, 32, 29, 0.08);
}

.rsvp-form {
  display: grid;
  gap: 12px;
}

.rsvp-form h2,
.rsvp-list-heading h2 {
  margin: 0;
  color: var(--pine);
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.rsvp-form label {
  color: var(--pine);
  font-family: var(--font-mark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfaf6;
}

.rsvp-form textarea {
  resize: vertical;
}

.rsvp-list-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.rsvp-total {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: #fff;
  background: var(--pine);
  font-family: var(--font-mark);
  font-size: 2rem;
  font-weight: 700;
}

.rsvp-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.rsvp-summary span {
  min-height: 64px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfaf6;
}

.rsvp-summary strong {
  display: block;
  color: var(--pine);
  font-family: var(--font-mark);
  font-size: 1.55rem;
}

.rsvp-list {
  display: grid;
  gap: 10px;
}

.rsvp-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.rsvp-card h3,
.rsvp-card p {
  margin: 0;
}

.rsvp-card h3 {
  margin-top: 8px;
  color: var(--pine);
  font-family: var(--font-mark);
  font-size: 1.2rem;
}

.rsvp-card > p {
  color: var(--muted);
  font-weight: 700;
}

.rsvp-note {
  grid-column: 1 / -1;
  color: var(--muted);
  line-height: 1.5;
}

.empty-state {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfaf6;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.72);
  background: #16211f;
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

.footer p:first-child {
  color: #fff;
  font-family: var(--font-mark);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
  }

  .split,
  .membership-layout,
  .login-pane,
  .archive-layout,
  .archive-heading,
  .member-archive-intro {
    grid-template-columns: 1fr;
  }

  .story-grid,
  .directory-grid,
  .notice-grid,
  .archive-preview-grid,
  .dashboard-summary,
  .member-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .login-copy {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 72svh;
  }

  .hero-content {
    padding-bottom: 62px;
  }

  .hero-actions,
  .panel-heading,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .search-box,
  .button-secondary {
    width: 100%;
  }

  .story-grid,
  .directory-grid,
  .notice-grid,
  .archive-preview-grid,
  .dashboard-summary,
  .member-archive-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .member-site-header,
  .member-panel-heading,
  .directory-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .member-nav,
  .member-actions,
  .member-select {
    width: 100%;
  }

  .member-nav .button {
    flex: 1 1 0;
  }

  .member-hero-panel,
  .event-detail-layout,
  .member-contact-columns {
    grid-template-columns: 1fr;
  }

  .member-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .member-directory-grid {
    grid-template-columns: 1fr;
  }

  .member-event-card {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .member-event-card .rsvp-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .rsvp-summary {
    grid-template-columns: 1fr;
  }

  .rsvp-card {
    grid-template-columns: 1fr;
  }

  .event-card .rsvp-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .dashboard-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tab {
    min-width: 0;
  }
}
