@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&display=swap");

:root {
  --paper: #f0efe8;
  --paper-2: #efe6da;
  --ink: #1f1c18;
  --muted: #6f6a63;
  --rule: #d9d0c4;
  --accent: #b5674f;
  --accent-2: #7a8b6f;
  --shadow: 0 12px 30px rgba(31, 28, 24, 0.08);
  --shadow-soft: 0 8px 18px rgba(31, 28, 24, 0.08);
  --radius: 8px;
  --content-max: 1160px;
  --gutter: 24px;
  --section-space: 72px;
  --section-space-sm: 40px;
  --tracking-tight: -0.02em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a.link {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

a.link:hover,
.nav-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: min(100% - 48px, var(--content-max));
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
}

.section.tight {
  padding-top: calc(var(--section-space) * 0.1);
}

.section.flush-bottom {
  padding-bottom: calc(var(--section-space) * 0.2);
}

.section.nudge-down {
  padding-top: calc(var(--section-space) * 0.25);
}

.section.compact {
  padding: var(--section-space-sm) 0;
}

.section-divider {
  border-top: 1px solid var(--rule);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--muted);
}

h1,
h2,
h3 {
  font-family: ui-serif, "Georgia", "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(40px, 4vw, 68px);
  line-height: 1.05;
}

h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
}

h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
}

p {
  margin: 0 0 16px;
  color: var(--ink);
}

ul {
  color: var(--muted);
}

.small {
  font-size: 13px;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.lead-paragraph {
  font-size: 17px;
  font-weight: 400;
}

.lead-word {
  font-size: 30px;
  font-weight: 600;
  margin-right: 4px;
}

@media (min-width: 761px) {
  .lead-paragraph {
    font-size: 17px;
    font-weight: 300;
  }

  .lead-word {
    font-size: 32px;
  }
}

@media (min-width: 761px) {
  body[data-page="members"] .lead-paragraph,
  body[data-page="finance"] .lead-paragraph {
    margin-top: 16px;
  }
}

@media (min-width: 761px) {
  body[data-page="finance"] .section.nudge-down {
    padding-top: calc(var(--section-space) * 0.35);
  }
}

.section-title-sm {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
}


.rule {
  width: 72px;
  height: 1px;
  background: var(--rule);
  margin: 16px 0;
}

.grid {
  display: grid;
  gap: var(--gutter);
}

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

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

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

.col-12 {
  grid-column: span 12;
}

.col-8 {
  grid-column: span 8;
}

.col-7 {
  grid-column: span 7;
}

.col-6 {
  grid-column: span 6;
}

.col-5 {
  grid-column: span 5;
}

.col-4 {
  grid-column: span 4;
}

.col-3 {
  grid-column: span 3;
}

.card {
  padding: 24px;
  border-top: 1px solid var(--rule);
}

.card.open {
  border-top: 1px solid var(--rule);
  background: transparent;
}

.card-title {
  font-family: ui-serif, "Georgia", "Times New Roman", serif;
  margin-bottom: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.button.primary:hover {
  background: var(--paper-2);
  transform: translateY(-2px);
}

.button.secondary {
  border: 1px solid transparent;
  padding: 0;
}

.button.secondary:hover {
  border-bottom: 2px solid var(--ink);
}

.button.small {
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-placeholder {
  background: linear-gradient(135deg, #efe4d6, #f7f1e9);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  width: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  overflow: hidden;
  position: relative;
}

.media-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.landing-image .media-placeholder {
  aspect-ratio: 3 / 2;
  min-height: unset;
  width: 100%;
}

.landing-text h1 {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 200;
}

.landing-name {
  font-family: ui-serif, "Georgia", "Times New Roman", serif;
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.landing-name-divider {
  width: 160px;
  height: 1px;
  background: #bdb2a6;
  display: inline-block;
}

.button.icon {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  gap: 6px;
}

.button.icon span {
  font-size: 16px;
  transform: translateX(1px);
}

@media (min-width: 761px) {
  .landing-text h1 {
    font-size: clamp(64px, 6vw, 92px);
  }

  .landing-text .eyebrow {
    font-size: 20px !important;
  }

  .landing-name {
    font-size: clamp(30px, 3.2vw, 38px);
  }

  .button.icon {
    font-size: 13px;
    padding: 10px 16px;
  }

  .landing-text .button.icon {
    margin-top: 48px;
    transform: translateY(25vh);
  }
}

.polaroid {
  background: #fffdf8;
  border: 1px solid var(--rule);
  padding: 18px 18px 28px;
  box-shadow: var(--shadow-soft);
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.polaroid::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: rgba(255, 255, 255, 0.6);
  filter: blur(18px);
  z-index: 0;
}

.polaroid>* {
  position: relative;
  z-index: 1;
}

.polaroid:hover {
  transform: rotate(-0.6deg) translateY(-2px);
  box-shadow: var(--shadow);
}

.polaroid .caption {
  font-family: ui-serif, "Georgia", "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
  margin-top: 12px;
  color: var(--muted);
}

.timeline {
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 154px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}

.timeline-item {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
}

.timeline-year {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.timeline-media {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.timeline-centered {
  max-width: 700px;
  margin: 0 auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--rule);
}

.table th,
.table td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}

.form {
  display: grid;
  gap: 16px;
}

.form label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--muted);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: #fffdf8;
  font-size: 15px;
}

.form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
  color: var(--ink);
}

.form select option {
  color: var(--ink);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form fieldset {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.form legend {
  padding: 0 6px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form input[type="checkbox"],
.form input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  margin: 0 8px 0 0;
}

.form label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--muted);
}

.form label:not(:has(input)) {
  display: block;
  margin-bottom: 6px;
}

.form .helper {
  font-size: 13px;
  color: var(--muted);
}

.form .feedback {
  font-size: 14px;
  color: var(--accent-2);
}

.site-header {
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 20;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: relative;
}

.brand {
  font-family: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

@media (min-width: 761px) {
  .brand {
    font-size: 39px;
  }
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding-bottom: 6px;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-split {
  align-items: start;
}

@media (min-width: 761px) {
  body[data-page="events"] .hero-split,
  body[data-page="art"] .hero-split {
    align-items: stretch;
  }

  body[data-page="events"] .hero-split .col-6:last-child,
  body[data-page="art"] .hero-split .col-6:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: left;
    align-items: flex-start;
  }
}

.landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
  position: relative;
}

.landing-grid {
  display: grid;
  gap: 64px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
}

@media (min-width: 761px) {
  .landing-grid {
    gap: 120px;
    transform: translateX(-180px);
  }
}

.landing-text {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.landing-image {
  grid-column: span 7;
  width: 100%;
}


.landing-text .eyebrow {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.24em;
  font-size: 11px;
  color: var(--ink);
}

.centered-statement {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cards {
  display: grid;
  gap: var(--gutter);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid {
  margin-top: 24px;
}

.filters {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.filters input,
.filters select {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: #fffdf8;
}

.list-polaroids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: center;
}

.list-polaroids ul {
  padding-left: 20px;
}

.footer {
  border-top: 1px solid var(--rule);
  padding: 32px 0;
  font-size: 14px;
  color: var(--muted);
}

.footer.no-divider {
  border-top: none;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .grid-12 {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .col-8 {
    grid-column: span 8;
  }

  .col-7 {
    grid-column: span 8;
  }

  .col-6 {
    grid-column: span 8;
  }

  .col-5 {
    grid-column: span 4;
  }

  .col-4 {
    grid-column: span 4;
  }

  .col-3 {
    grid-column: span 4;
  }
}

@media (max-width: 900px) {
  :root {
    --section-space: 56px;
  }

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

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

  .list-polaroids {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--content-max));
  }

  .grid-12 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .col-8,
  .col-7,
  .col-6,
  .col-5,
  .col-4,
  .col-3 {
    grid-column: span 4;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .grid-5 {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 0;
    top: 64px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 12px;
    min-width: 220px;
    box-shadow: var(--shadow-soft);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .hero-split {
    gap: 32px;
  }

  .landing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .landing-text,
  .landing-image {
    grid-column: span 4;
  }

  .landing-text {
    order: 1;
  }

  .landing-image {
    order: 2;
  }

  .landing-image .media-placeholder {
    aspect-ratio: 4 / 3;
    height: clamp(180px, 46vw, 260px);
  }

  .media-placeholder {
    min-height: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-content {
    order: 1;
  }

  .timeline-media {
    order: 2;
    width: 80px;
    height: 80px;
    margin-top: 10px;
  }

  .timeline {
    padding-left: 28px;
  }

  .timeline::before {
    left: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
