/* LFC Albany — main styles */

@font-face {
  font-family: "Friz Quad";
  src: url("../fonts/FrizQuad.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Friz Quad";
  src: url("../fonts/FrizQuad_Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --lfc-red: #c8102e;
  --lfc-red-deep: #9a0c23;
  --lfc-black: #0f0f10;
  --lfc-ink: #1a1a1c;
  --lfc-white: #ffffff;
  --lfc-mist: #f3f1ef;
  --lfc-teal: #3f8f7a;
  --lfc-teal-dark: #2f6f5f;
  --font-display: "Friz Quad", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--lfc-ink);
  background: var(--lfc-mist);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: none;
}

h1,
h2,
h3,
.hero__brand,
.contact-ynwa,
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.narrow {
  max-width: 40rem;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: var(--lfc-white);
  color: var(--lfc-black);
  padding: 0.75rem 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(200, 16, 46, 0.96);
  backdrop-filter: blur(8px);
  color: var(--lfc-white);
  transform: translateY(-100%);
  animation: slide-down 0.7s var(--ease) forwards;
}

.site-header__inner {
  width: var(--wrap);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo img,
.site-logo .custom-logo {
  height: 2.5rem;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-list a {
  color: var(--lfc-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  background: var(--lfc-white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-list .current-menu-item > a::after,
.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  padding: 0.6rem;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--lfc-white);
  margin: 0.35rem 0;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 0;
  border-radius: 0.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s ease, box-shadow 0.25s var(--ease);
}

.btn--accent {
  background: var(--lfc-teal);
  color: var(--lfc-white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn--accent:hover,
.btn--accent:focus-visible {
  background: var(--lfc-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.text-link {
  color: var(--lfc-white);
  font-weight: 700;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: grid;
  align-items: end;
  color: var(--lfc-white);
  overflow: hidden;
  background: var(--lfc-red);
}

.hero__media,
.page-hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img,
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: kenburns 18s ease-in-out infinite alternate;
}

.hero__overlay,
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 15, 16, 0.25) 0%, rgba(200, 16, 46, 0.55) 45%, rgba(154, 12, 35, 0.92) 100%),
    linear-gradient(90deg, rgba(15, 15, 16, 0.45), transparent 55%);
}

.hero__content,
.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) 0.15s forwards;
}

.hero__liverbird {
  width: auto;
  height: 3.9rem;
  max-width: 3.3rem;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.hero__title,
.page-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 7vw, 5rem);
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.85s var(--ease) 0.28s forwards;
}

.hero__title {
  max-width: none;
  white-space: nowrap;
}

.hero__lede,
.page-hero__lede {
  max-width: 34rem;
  font-size: 1.15rem;
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.85s var(--ease) 0.4s forwards;
}

.hero__actions {
  margin-top: 1.75rem;
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.85s var(--ease) 0.52s forwards;
}

/* Page heroes */
.page-hero {
  position: relative;
  color: var(--lfc-white);
  background: var(--lfc-red);
  overflow: hidden;
}

.page-hero--plain {
  padding: 3.5rem 0 2.5rem;
}

.page-hero--red .page-hero__content {
  padding: 4.5rem 0 3.5rem;
}

.page-hero--image {
  min-height: 42vh;
  display: grid;
  align-items: end;
}

.page-hero--contact {
  min-height: 38vh;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--red {
  background: var(--lfc-red);
  color: var(--lfc-white);
}

.section--dark {
  background: var(--lfc-black);
  color: var(--lfc-white);
}

.section--sponsors {
  background: var(--lfc-mist);
}

.section__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.section__title--center {
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split--reverse .split__copy {
  order: 2;
}

.split__copy p:last-child {
  margin-bottom: 0;
}

.community-club {
  margin-top: 1.5rem;
}

.community-club__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--lfc-white);
}

.community-club__crest {
  width: 4.5rem;
  height: auto;
  display: block;
}

.community-club__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.community-club__link:hover .community-club__label {
  text-decoration: none;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__caption {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

/* Sponsors */
.sponsor-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 3.5rem;
}

.sponsor-row a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
}

.sponsor-row img {
  max-height: 13.5rem;
  width: auto;
  object-fit: contain;
}

/* Committee */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 1.75rem;
}

.committee-person__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.15);
}

.committee-person__name {
  margin: 1rem 0 0.25rem;
  font-size: 1.45rem;
}

.committee-person__role {
  margin: 0 0 0.75rem;
  color: var(--lfc-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.committee-person__info p {
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.committee-person__info span {
  font-weight: 700;
}

/* Membership */
.section--membership-intro {
  padding-top: 2.75rem;
  padding-bottom: 2rem;
  background: var(--lfc-white);
}

.membership-open {
  margin: 0 auto 2rem;
  max-width: 40rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.35;
  font-weight: 700;
}

.membership-open__accent {
  color: var(--lfc-teal);
}

.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.1rem;
  margin: 0 auto 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.share-bar__label {
  opacity: 0.55;
}

.share-bar__link {
  color: var(--lfc-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

.share-bar__link:hover {
  color: var(--lfc-red);
}

.membership-visuals {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  max-width: 52rem;
  margin: 0 auto;
}

.membership-detail,
.membership-shirt-feature {
  margin: 0;
}

.membership-detail {
  justify-self: center;
  width: min(100%, 18rem);
}

.membership-detail img,
.membership-shirt-feature img {
  width: 100%;
  height: auto;
  display: block;
}

.section--membership-join {
  background: var(--lfc-white);
  padding-top: 2.25rem;
}

.membership-join-copy .section__title {
  margin-top: 0;
}

.membership-price {
  font-size: 1.15rem;
  font-weight: 700;
}

.benefit-list {
  margin: 1.5rem 0;
  display: grid;
  gap: 1rem;
}

.benefit-list li {
  position: relative;
  padding-left: 1.4rem;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--lfc-teal);
}

.membership-note a {
  color: var(--lfc-teal);
  font-weight: 700;
}

/* Contact */
.contact-section {
  min-height: 40vh;
  display: grid;
  align-items: center;
}

.contact-block {
  text-align: center;
  padding: 2rem 0 3rem;
}

.contact-ynwa {
  margin: 0 0 1rem;
  font-size: clamp(3rem, 10vw, 6rem);
}

.contact-email a {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-social {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  font-weight: 700;
  font-size: 1.15rem;
}

.contact-social a {
  color: var(--lfc-white);
  text-decoration: none;
}

.contact-social a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--lfc-black);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.site-footer__brand {
  display: inline-block;
  margin-bottom: 1rem;
}

.site-footer__brand img {
  margin-inline: auto;
  height: 2.25rem;
  width: auto;
}

.site-footer__tagline,
.site-footer__email,
.site-footer__social,
.site-footer__credit {
  margin: 0 0 0.75rem;
}

.site-footer__email a,
.site-footer__social a {
  color: var(--lfc-white);
  font-weight: 700;
  text-decoration: none;
}

.site-footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}

.site-footer__social a {
  text-decoration: none;
}

.site-footer__social a:hover {
  text-decoration: underline;
}

.site-footer__credit {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Content helpers */
.prose :where(p, ul, ol) {
  max-width: 42rem;
}

.entry-content > .wp-block-html,
.entry-content > .wp-block-group {
  margin: 0;
}

.entry-content .committee-grid {
  margin: 0;
}

.content-flow {
  display: grid;
  gap: 1.5rem;
}

/* Motion helpers */
[data-animate="fade"] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-animate="fade"].is-inview {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide-down {
  to {
    transform: none;
  }
}

@keyframes kenburns {
  to {
    transform: scale(1.1);
  }
}

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

  .site-header,
  .hero__brand,
  .hero__title,
  .hero__lede,
  .hero__actions,
  .page-hero__title,
  .page-hero__lede,
  .hero__media img,
  .page-hero__media img,
  [data-animate="fade"] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .split,
  .split--reverse,
  .committee-grid {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__copy {
    order: 0;
  }

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

@media (max-width: 720px) {
  :root {
    --wrap: min(1120px, calc(100% - 1.5rem));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--lfc-red-deep);
    padding: 1rem 1.25rem 1.5rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero {
    min-height: 85vh;
  }

  .committee-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }

  .membership-visuals {
    grid-template-columns: 1fr;
    justify-items: center;
    max-width: 28rem;
  }

  .membership-detail {
    width: min(100%, 14rem);
  }
}
