/* Holmwood Alumni Florida Chapter - static site styles */
:root {
  --paper: #fffdf8;
  --paper-2: #f6f2e8;
  --paper-3: #eee6d5;
  --ink: #24191a;
  --ink-2: #35131b;
  --text: #5d5450;
  --muted: #756d66;
  --line: #e5d9c7;
  --brand: #822433;
  --brand-2: #0f6f4b;
  --gold: #c99a2e;
  --gold-soft: #f4d56f;
  --shadow: 0 22px 60px rgba(53, 19, 27, .13);
  --font-display: "Lusitana", Georgia, serif;
  --font-sans: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --shell: 76rem;
  --wide: 90rem;
  --gutter: clamp(1.1rem, 4vw, 3.5rem);
  --section: clamp(3.6rem, 8vw, 7rem);
  --radius: 6px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .18vw, 1.06rem);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--brand); color: #fff; }

h1, h2, h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2.45rem, 6vw, 5.6rem); }
.h-lg { font-size: clamp(2rem, 4vw, 3.15rem); }
.h-md { font-size: clamp(1.45rem, 2.5vw, 2rem); }
.lede {
  color: #4d433f;
  font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem);
  line-height: 1.65;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--brand);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::after {
  content: "";
  flex: 0 0 2.8rem;
  height: 2px;
  background: var(--gold);
}
.dim { color: var(--muted); }
.skip {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: .6rem .9rem;
  background: #fff;
  color: var(--brand);
  transform: translateY(-150%);
}
.skip:focus { transform: none; }

.shell {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}
.shell--wide { --shell: var(--wide); }
.section { padding-block: var(--section); }
.section--tint { background: var(--paper-2); }
.stack > * + * { margin-top: 1.1rem; }
.stack-lg > * + * { margin-top: 1.55rem; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before {
  content: "";
  flex: 0 0 2.8rem;
  height: 2px;
  background: var(--gold);
}

.topbar {
  background: var(--ink-2);
  color: #f4e9d0;
  font-size: .84rem;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 1.2rem;
  padding-block: .65rem;
}
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--gold-soft); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid rgba(130, 36, 51, .1);
  backdrop-filter: blur(16px);
  transition: box-shadow .3s var(--ease), padding .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 10px 28px rgba(53, 19, 27, .08); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .9rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}
.brand img { width: 52px; height: 52px; }
.brand span span { display: block; color: var(--brand); font-family: var(--font-sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 1.8vw, 1.7rem);
}
.nav__link {
  position: relative;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.45rem;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--brand); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .85rem 1.35rem;
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: #651b27; border-color: #651b27; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn--ghost:hover { background: #fff; color: var(--brand); border-color: #fff; }
.link {
  color: var(--brand);
  font-weight: 700;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: .25em;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, calc(100vh - 96px));
  display: grid;
  align-items: end;
  padding-block: clamp(5rem, 12vw, 9rem) clamp(3rem, 8vw, 5rem);
  background: var(--ink-2);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/img/bannerholmwood2.jpg") center top / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(53,19,27,.92), rgba(53,19,27,.68) 42%, rgba(53,19,27,.18)),
    linear-gradient(0deg, rgba(53,19,27,.86), transparent 56%);
}
.hero h1, .hero .lede { color: #fff; max-width: 780px; }
.hero__kicker {
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.24);
  border: 1px solid rgba(255,255,255,.24);
  margin-top: clamp(2rem, 4vw, 3.5rem);
  max-width: 960px;
}
.quick-info--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
}
.quick-info div {
  background: rgba(255,253,248,.1);
  padding: 1.1rem;
}
.quick-info strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.quick-info span { color: #f6e7c5; font-size: .92rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.logo-card { padding: clamp(1.5rem, 4vw, 3rem); }
.logo-card img { width: min(100%, 620px); margin-inline: auto; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.card {
  min-height: 100%;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(53, 19, 27, .06);
}
.card__index {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .16em;
}
.card h3 { margin-top: .55rem; font-size: 1.35rem; }
.card h3 a { text-decoration: none; }
.card p:not(.card__index) { margin-top: .65rem; }
.checklist {
  display: grid;
  gap: .75rem;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding-left: 1.8rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62rem;
  width: .72rem;
  height: .72rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 3px #fff;
}
.people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.person { padding: 1.25rem; border-left: 4px solid var(--gold); background: #fff; }
.person strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; }

.pagehead {
  background: var(--ink-2);
  color: #fff;
  padding-block: clamp(3.2rem, 7vw, 5.8rem);
}
.pagehead h1 { color: #fff; margin-top: .6rem; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: 0;
  margin-top: 1.2rem;
  list-style: none;
  color: #f4e9d0;
  font-size: .92rem;
}
.crumbs li + li::before { content: "/"; margin-right: .45rem; color: var(--gold-soft); }
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.panel {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.donate {
  position: sticky;
  top: 96px;
}
.donate form { margin-top: 1rem; }
.donate small { display: block; margin-top: 1rem; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.details {
  display: grid;
  gap: 1rem;
}
.detail {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.detail__label {
  color: var(--brand);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.detail__value { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; text-decoration: none; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.field { display: grid; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
label { color: var(--ink); font-weight: 700; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 170px; resize: vertical; }

.band {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--brand-2);
  color: #fff;
  text-align: center;
}
.band h2, .band .eyebrow { color: #fff; }
.band .eyebrow { justify-content: center; }

.footer {
  background: var(--ink-2);
  color: #f5ead4;
  padding-block: 3rem 1.2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}
.footer h2 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer ul { padding: 0; list-style: none; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-soft); }
.footer__logo { width: 74px; margin-bottom: .9rem; }
.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.16);
  color: #d9c9aa;
  font-size: .88rem;
}
.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 22px; height: 22px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: auto var(--gutter) auto var(--gutter);
    top: 82px;
    display: grid;
    gap: 0;
    padding: .6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav__link { padding: .85rem; }
  .nav__link::after { display: none; }
  .split, .content-grid, .footer__grid { grid-template-columns: 1fr; }
  .quick-info, .cards, .people { grid-template-columns: 1fr; }
  .donate { position: static; }
}

@media (max-width: 640px) {
  .topbar__inner, .footer__base { display: grid; }
  .brand span { max-width: 210px; }
  .hero { min-height: 650px; }
  .form-grid { grid-template-columns: 1fr; }
}
