/* Lynchburg Youth Hockey Association — Shared Stylesheet */

:root {
    --ink: #0a1610;        /* deeper than #132D1C, used for the page bg */
    --forest: #132D1C;     /* primary brand dark */
    --forest-2: #1a3825;
    --green: #067B3F;      /* accent */
    --green-bright: #0a9c50;
    --black: #231F20;
    --bone: #f4f1ea;       /* warm off-white, more editorial than pure #fff */
    --bone-dim: rgba(244, 241, 234, 0.7);
    --bone-mute: rgba(244, 241, 234, 0.45);
    --rule: rgba(244, 241, 234, 0.12);
    --display: 'Fraunces', Georgia, serif;
    --athletic: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --body: 'IBM Plex Sans', system-ui, sans-serif;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--ink);
    color: var(--bone);
    font-family: var(--body);
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }

  ::selection { background: var(--green); color: var(--bone); }

  /* ============ NAV ============ */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 22px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(10,22,16,0.95), rgba(10,22,16,0.7) 70%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--athletic);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .nav-brand img { height: 38px; width: auto; }
  .nav-brand span:last-child { color: var(--bone-dim); font-weight: 500; }
  .nav-links {
    display: flex;
    gap: 34px;
    font-family: var(--athletic);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
  .nav-links a {
    position: relative;
    padding: 4px 0;
    transition: color 0.2s ease;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--green-bright);
    transition: width 0.3s ease;
  }
  .nav-links a:hover { color: var(--green-bright); }
  .nav-links a:hover::after { width: 100%; }
  .nav-item { position: relative; }
  .nav-has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -16px;
    right: -16px;
    height: 28px;
  }
  .nav-link-main { display: inline-flex; align-items: center; gap: 7px; }
  .nav-link-main::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--bone-mute);
    order: 2;
    transform: translateY(1px);
  }
  .nav-dropdown {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translate(-50%, 8px);
    min-width: 190px;
    padding: 14px;
    display: grid;
    gap: 10px;
    background: rgba(10, 22, 16, 0.96);
    border: 1px solid var(--rule);
    border-radius: 4px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }
  .nav-dropdown a {
    display: block;
    padding: 7px 8px;
    color: var(--bone);
    white-space: nowrap;
  }
  .nav-dropdown a::after { display: none; }
  .nav-dropdown a:hover { color: var(--green-bright); }
  .nav-has-dropdown:hover .nav-dropdown,
  .nav-has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
  .nav-cta {
    font-family: var(--athletic);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 11px 22px;
    border: 1px solid var(--bone);
    border-radius: 2px;
    transition: all 0.25s ease;
  }
  .nav-cta:hover {
    background: var(--bone);
    color: var(--forest);
  }

  @media (max-width: 900px) {
    .nav { padding: 16px 24px; }
    .nav-links { display: none; }
  }

  /* ============ HERO ============ */
  .hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 48px 80px;
    background:
      radial-gradient(ellipse at 75% 40%, rgba(6, 123, 63, 0.28), transparent 55%),
      radial-gradient(ellipse at 20% 80%, rgba(19, 45, 28, 0.6), transparent 60%),
      var(--ink);
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  /* Subtle ice texture: faint diagonal lines + grain */
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(
        115deg,
        transparent 0,
        transparent 40px,
        rgba(244, 241, 234, 0.015) 40px,
        rgba(244, 241, 234, 0.015) 41px
      );
    pointer-events: none;
  }
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.94 0 0 0 0 0.91 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.6;
    mix-blend-mode: overlay;
    pointer-events: none;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-eyebrow {
    font-family: var(--athletic);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--green-bright);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.1s forwards;
  }
  .hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--green-bright);
  }

  .hero h1 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(48px, 7.2vw, 108px);
    line-height: 0.96;
    letter-spacing: -0.025em;
    margin-bottom: 32px;
    font-variation-settings: "opsz" 144;
  }
  .hero h1 .accent {
    font-style: italic;
    font-weight: 300;
    color: var(--green-bright);
  }
  .hero h1 .line { display: block; opacity: 0; animation: fadeUp 0.9s ease forwards; }
  .hero h1 .line:nth-child(1) { animation-delay: 0.15s; }
  .hero h1 .line:nth-child(2) { animation-delay: 0.28s; }
  .hero h1 .line:nth-child(3) { animation-delay: 0.41s; }

  .hero-lede {
    font-size: 18px;
    line-height: 1.6;
    color: var(--bone-dim);
    max-width: 540px;
    margin-bottom: 44px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.55s forwards;
  }

  .hero-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.7s forwards;
  }

  .btn-primary {
    background: var(--green);
    color: var(--bone);
    padding: 18px 32px;
    font-family: var(--athletic);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  .btn-primary:hover {
    background: var(--green-bright);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(6, 123, 63, 0.35);
  }
  .btn-primary svg { transition: transform 0.25s ease; }
  .btn-primary:hover svg { transform: translateX(4px); }

  .btn-ghost {
    background: transparent;
    color: var(--bone);
    padding: 18px 32px;
    font-family: var(--athletic);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid var(--rule);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .btn-ghost:hover {
    border-color: var(--bone);
    background: rgba(244, 241, 234, 0.05);
  }

  .hero-mark {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1.2s ease 0.4s forwards;
  }
  .hero-mark img {
    width: 100%;
    max-width: 520px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
    animation: float 7s ease-in-out infinite;
  }
  .hero-mark::before {
    content: '';
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle, rgba(6, 123, 63, 0.18) 0%, transparent 65%);
    z-index: -1;
    filter: blur(40px);
  }

  /* Hero meta strip at bottom */
  .hero-meta {
    position: absolute;
    bottom: 32px;
    left: 48px;
    right: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--athletic);
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--bone-mute);
    z-index: 3;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
  }
  .hero-meta-item { display: flex; align-items: center; gap: 12px; }
  .hero-meta-item .dot {
    width: 6px; height: 6px;
    background: var(--green-bright);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(10, 156, 80, 0.2);
    animation: pulse 2s infinite;
  }

  @media (max-width: 900px) {
    .hero { padding: 120px 24px 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-mark { order: -1; }
    .hero-mark img { max-width: 280px; }
    .hero-meta { position: relative; bottom: auto; left: auto; right: auto; margin-top: 40px; flex-direction: column; align-items: flex-start; gap: 16px; }
  }

  /* ============ MARQUEE ============ */
  .marquee {
    background: var(--forest);
    padding: 24px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    overflow: hidden;
    position: relative;
  }
  .marquee-track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
    font-family: var(--display);
    font-style: italic;
    font-weight: 400;
    font-size: 28px;
    color: var(--bone);
    align-items: center;
  }
  .marquee-track span:nth-child(odd) { color: var(--bone); }
  .marquee-track span:nth-child(even) { color: var(--green-bright); }
  .marquee-dot {
    width: 8px; height: 8px;
    background: var(--bone-mute);
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* ============ MISSION PILLARS ============ */
  .pillars {
    background: var(--forest);
    padding: 140px 48px;
    position: relative;
  }
  .section-label {
    font-family: var(--athletic);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--green-bright);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .section-label::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--green-bright);
  }
  .section-label-center { justify-content: center; }

  .pillars-header {
    max-width: 1100px;
    margin: 0 auto 100px;
  }
  .pillars-header h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 900px;
  }
  .pillars-header h2 em {
    font-style: italic;
    color: var(--green-bright);
    font-weight: 300;
  }

  .pillars-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule);
  }
  .pillar {
    padding: 56px 40px 40px;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    position: relative;
    transition: background 0.3s ease;
  }
  .pillar:last-child { border-right: none; }
  .pillar:hover { background: rgba(6, 123, 63, 0.06); }

  .pillar-num {
    font-family: var(--display);
    font-style: italic;
    font-weight: 300;
    font-size: 18px;
    color: var(--bone-mute);
    margin-bottom: 24px;
  }
  .pillar h3 {
    font-family: var(--display);
    font-weight: 500;
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
  }
  .pillar h3 .underline {
    position: relative;
    display: inline-block;
  }
  .pillar h3 .underline::after {
    content: '';
    position: absolute;
    left: 0; bottom: 4px;
    width: 100%;
    height: 8px;
    background: var(--green);
    opacity: 0.35;
    z-index: -1;
  }
  .pillar p {
    color: var(--bone-dim);
    font-size: 16px;
    line-height: 1.7;
    max-width: 320px;
  }

  @media (max-width: 900px) {
    .pillars { padding: 80px 24px; }
    .pillars-header { margin-bottom: 60px; }
    .pillars-grid { grid-template-columns: 1fr; }
    .pillar { border-right: none; padding: 40px 24px; }
  }

  /* ============ PROGRAMS ============ */
  .programs {
    padding: 140px 48px;
    background: var(--ink);
    position: relative;
  }
  .programs-header {
    max-width: 1280px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
  }
  .programs-header h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.02em;
  }
  .programs-header h2 em {
    font-style: italic;
    color: var(--green-bright);
    font-weight: 300;
  }
  .programs-header p {
    color: var(--bone-dim);
    font-size: 17px;
    line-height: 1.65;
    max-width: 460px;
    justify-self: end;
  }

  .programs-list {
    max-width: 1280px;
    margin: 0 auto;
  }

  .program-row {
    display: grid;
    grid-template-columns: 80px 1fr 1.5fr 1fr 60px;
    align-items: center;
    padding: 36px 0;
    border-top: 1px solid var(--rule);
    cursor: pointer;
    transition: padding 0.4s ease;
    position: relative;
  }
  .program-row:last-child { border-bottom: 1px solid var(--rule); }
  .program-row:hover { padding-left: 24px; padding-right: 24px; }
  .program-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 123, 63, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  .program-row:hover::before { opacity: 1; }

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

  .program-num {
    font-family: var(--display);
    font-style: italic;
    font-weight: 300;
    font-size: 22px;
    color: var(--bone-mute);
  }
  .program-name {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1;
    letter-spacing: -0.015em;
  }
  .program-desc {
    color: var(--bone-dim);
    font-size: 15px;
    line-height: 1.6;
    padding-right: 30px;
  }
  .program-tag {
    font-family: var(--athletic);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-bright);
    border: 1px solid var(--rule);
    padding: 8px 14px;
    border-radius: 2px;
    display: inline-block;
    width: max-content;
  }
  .program-arrow {
    justify-self: end;
    color: var(--bone-mute);
    transition: all 0.3s ease;
  }
  .program-row:hover .program-arrow {
    color: var(--green-bright);
    transform: translateX(8px);
  }

  @media (max-width: 900px) {
    .programs { padding: 80px 24px; }
    .programs-header { grid-template-columns: 1fr; gap: 32px; margin-bottom: 50px; }
    .programs-header p { justify-self: start; }
    .program-row {
      grid-template-columns: 1fr;
      gap: 12px;
      padding: 28px 0;
    }
    .program-num { display: none; }
    .program-tag { justify-self: start; }
    .program-arrow { display: none; }
  }
  /* ============ SPONSORS ============ */
  .sponsors {
    background: var(--forest);
    padding: 120px 48px;
    position: relative;
  }
  .sponsors-header {
    max-width: 1100px;
    margin: 0 auto 60px;
  }
  .sponsors-header h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 900px;
  }
  .sponsors-header h2 em {
    font-style: italic;
    color: var(--green-bright);
    font-weight: 300;
  }
  .sponsors-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
  }
  .sponsor-card {
    background: var(--bone);
    color: var(--forest);
    min-height: 178px;
    padding: 40px 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: span 2;
    transition: all 0.25s ease;
    border: 1px solid var(--rule);
  }
  .sponsor-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .sponsor-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
  .sponsor-card:hover {
    background: var(--green);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(6, 123, 63, 0.25);
  }
  .sponsor-card:hover .sponsor-name {
    color: var(--bone);
  }
  .sponsor-name {
    font-family: var(--display);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 400;
    color: var(--forest);
    line-height: 1.1;
    text-align: center;
    transition: color 0.25s ease;
  }
  .sponsor-logo {
    display: block;
    width: 100%;
    max-width: 280px;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.25s ease;
  }
  .sponsor-card:hover .sponsor-logo {
    transform: scale(1.05);
  }

  @media (max-width: 900px) {
    .sponsors { padding: 80px 24px; }
    .sponsors-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .sponsor-card,
    .sponsor-card:nth-child(4) {
      grid-column: span 2;
    }
    .sponsor-card:nth-child(5) {
      grid-column: 2 / span 2;
    }
  }

  @media (max-width: 640px) {
    .sponsors-grid {
      grid-template-columns: 1fr;
    }
    .sponsor-card,
    .sponsor-card:nth-child(4),
    .sponsor-card:nth-child(5) {
      grid-column: 1;
      min-height: 150px;
      padding: 32px 24px;
    }
  }

  /* ============ CONVICTION (Who We Are) ============ */
  .conviction {
    background: var(--forest);
    padding: 140px 48px;
    position: relative;
    overflow: hidden;
  }
  .conviction-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
  }
  .conviction-mark {
    position: relative;
    display: flex;
    justify-content: center;
  }
  .conviction-mark img {
    width: 100%;
    max-width: 480px;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
  }
  .conviction-mark::before {
    content: '';
    position: absolute;
    inset: 5%;
    background: radial-gradient(circle, rgba(6, 123, 63, 0.18), transparent 65%);
    z-index: 0;
    filter: blur(40px);
  }

  .conviction-body h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
  }
  .conviction-body h2 em {
    font-style: italic;
    color: var(--green-bright);
    font-weight: 300;
  }
  .conviction-body p {
    color: var(--bone-dim);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 22px;
  }
  .conviction-body p strong {
    color: var(--bone);
    font-weight: 500;
  }
  .conviction-pull {
    margin: 40px 0;
    padding-left: 28px;
    border-left: 2px solid var(--green-bright);
    font-family: var(--display);
    font-style: italic;
    font-weight: 300;
    font-size: 24px;
    line-height: 1.4;
    color: var(--bone);
  }

  .signatures {
    margin-top: 48px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--rule);
  }
  .signature-item {
    font-family: var(--athletic);
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--bone-mute);
  }
  .signature-item strong {
    display: block;
    color: var(--bone);
    font-size: 14px;
    margin-top: 4px;
    font-weight: 700;
  }

  @media (max-width: 900px) {
    .conviction { padding: 80px 24px; }
    .conviction-inner { grid-template-columns: 1fr; gap: 50px; }
    .conviction-mark { order: -1; }
    .conviction-mark img { max-width: 280px; }
  }

  /* ============ HOME RINK ============ */
  .rink {
    padding: 140px 48px;
    background: var(--ink);
    position: relative;
  }
  .rink-card {
    max-width: 1280px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--forest) 0%, var(--ink) 100%);
    border: 1px solid var(--rule);
    padding: 80px 80px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
  }
  .rink-card::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(6, 123, 63, 0.18), transparent 65%);
    filter: blur(60px);
  }
  .rink-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
  }
  .rink h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
  }
  .rink h2 em {
    font-style: italic;
    font-weight: 300;
    color: var(--green-bright);
  }
  .rink p {
    color: var(--bone-dim);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .rink-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stat {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--rule);
  }
  .stat:last-child { border-bottom: none; }
  .stat-num {
    font-family: var(--display);
    font-weight: 400;
    font-size: 56px;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--bone) 0%, var(--green-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .stat-label {
    font-family: var(--athletic);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--bone-mute);
  }

  @media (max-width: 900px) {
    .rink { padding: 80px 24px; }
    .rink-card { padding: 50px 32px; }
    .rink-grid { grid-template-columns: 1fr; gap: 50px; }
  }

  /* ============ FAQ STRIP ============ */
  .faq {
    padding: 140px 48px;
    background: var(--forest);
  }
  .faq-header {
    max-width: 1280px;
    margin: 0 auto 70px;
    text-align: center;
  }
  .faq-header h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-top: 18px;
  }
  .faq-header h2 em { font-style: italic; color: var(--green-bright); font-weight: 300; }

  .faq-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
  }
  .faq-card {
    background: var(--forest);
    padding: 40px 32px;
    transition: background 0.3s ease;
  }
  .faq-card:hover { background: var(--forest-2); }
  .faq-icon {
    width: 28px;
    height: 28px;
    color: var(--green-bright);
    margin-bottom: 24px;
  }
  .faq-card h4 {
    font-family: var(--display);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }
  .faq-card p {
    color: var(--bone-dim);
    font-size: 15px;
    line-height: 1.6;
  }

  @media (max-width: 900px) {
    .faq { padding: 80px 24px; }
    .faq-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    .faq-grid { grid-template-columns: 1fr; }
  }

  /* ============ FINAL CTA ============ */
  .final-cta {
    padding: 160px 48px;
    background: var(--ink);
    position: relative;
    overflow: hidden;
    text-align: center;
  }
  .final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at center, rgba(6, 123, 63, 0.15), transparent 60%);
  }
  .final-cta-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
  }
  .final-cta h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(44px, 6.5vw, 96px);
    line-height: 0.98;
    letter-spacing: -0.025em;
    margin-bottom: 32px;
  }
  .final-cta h2 em {
    font-style: italic;
    color: var(--green-bright);
    font-weight: 300;
  }
  .final-cta p {
    font-size: 19px;
    color: var(--bone-dim);
    max-width: 600px;
    margin: 0 auto 44px;
    line-height: 1.6;
  }

  .contact-form-embed {
    width: min(100%, 620px);
    margin: 52px auto 0;
    padding: 10px;
    background: rgba(244, 241, 234, 0.04);
    border: 1px solid var(--rule);
    border-radius: 6px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  }
  .contact-form-embed iframe {
    display: block;
    width: 100%;
    min-height: 600px;
    border: 0;
    border-radius: 4px;
    background: #ffffff;
  }
  @media (max-width: 600px) {
    .contact-form-embed {
      margin-top: 36px;
      padding: 6px;
    }
    .contact-form-embed iframe { min-height: 640px; }
  }

  /* ============ FOOTER ============ */
  footer {
    background: var(--black);
    padding: 80px 48px 40px;
    color: var(--bone-dim);
    border-top: 1px solid var(--rule);
  }
  .footer-top {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--rule);
  }
  .footer-brand img { height: 60px; margin-bottom: 24px; }
  .footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 360px;
  }
  .footer-col h5 {
    font-family: var(--athletic);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--bone);
    margin-bottom: 20px;
  }
  .footer-col ul { list-style: none; }
  .footer-col li {
    margin-bottom: 12px;
    font-size: 14px;
  }
  .footer-col li a { transition: color 0.2s ease; }
  .footer-col li a:hover { color: var(--green-bright); }
  .footer-credit-link {
    color: var(--green-bright);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .footer-credit-link:hover { color: var(--bone); }

  .footer-bottom {
    max-width: 1280px;
    margin: 40px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--athletic);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bone-mute);
    flex-wrap: wrap;
    gap: 16px;
  }

  @media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  }

  /* ============ ANIMATIONS ============ */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(10, 156, 80, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(10, 156, 80, 0); }
  }
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Scroll-triggered reveal */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease, transform 0.9s ease;
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }

  /* ============ MOBILE ENHANCEMENTS ============ */
  /* (additive only — desktop styles above this block are untouched) */
  .nav-toggle { display: none; }

  @media (max-width: 900px) {
    /* Hero layout fix: stack .hero-inner and .hero-meta, fix eyebrow wrap */
    .hero { flex-direction: column; align-items: stretch; }
    .hero-inner { width: 100%; }
    .hero-meta { width: 100%; }
    .hero-eyebrow {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }
    .hero-eyebrow::before { width: 32px; }
    .hero-cta-row { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-ghost { justify-content: center; width: 100%; }

    /* Nav: bring brand text closer, compact CTA, add hamburger */
    .nav {
      padding: 14px 20px;
      gap: 10px;
      background: rgba(10, 22, 16, 0.94);
    }
    .nav-brand { font-size: 16px; gap: 10px; letter-spacing: 0.10em; }
    .nav-brand img { height: 32px; }
    .nav-cta { padding: 9px 14px; font-size: 12px; letter-spacing: 0.14em; }

    .nav-toggle {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      padding: 0;
      background: transparent;
      border: none;
      cursor: pointer;
      gap: 5px;
      z-index: 120;
    }
    .nav-toggle span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--bone);
      transition: transform 0.25s ease, opacity 0.2s ease;
    }
    .nav.open {
      bottom: 0;
      min-height: 100vh;
      min-height: 100dvh;
      align-items: flex-start;
      background: var(--ink);
      overflow-y: auto;
    }
    .nav.open .nav-brand,
    .nav.open .nav-toggle {
      position: relative;
      z-index: 120;
    }
    .nav.open .nav-cta { display: none; }
    .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Mobile menu drawer sits inside the full-screen nav for Safari-safe coverage. */
    .nav.open .nav-links {
      display: flex;
      position: absolute;
      top: 76px;
      left: 0;
      right: 0;
      min-height: calc(100vh - 76px);
      min-height: calc(100dvh - 76px);
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      gap: 22px;
      background: transparent;
      z-index: 110;
      font-size: 22px;
      letter-spacing: 0.16em;
      padding: 28px 24px 32px;
      overflow-y: auto;
    }
    .nav.open .nav-links a { padding: 6px 0; }
    .nav.open .nav-item { text-align: center; }
    .nav.open .nav-dropdown {
      position: static;
      transform: none;
      min-width: 0;
      padding: 6px 0 0;
      display: grid;
      gap: 4px;
      background: transparent;
      border: 0;
      box-shadow: none;
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      font-size: 14px;
      letter-spacing: 0.14em;
    }
    .nav.open .nav-dropdown a { color: var(--bone-dim); }

    /* Hero — tighten typography for narrow screens */
    .hero h1 { font-size: clamp(40px, 11vw, 64px); margin-bottom: 24px; }
    .hero-eyebrow { font-size: 12px; letter-spacing: 0.24em; margin-bottom: 22px; }
    .hero-eyebrow::before { width: 24px; }
    .hero-lede { font-size: 16px; line-height: 1.55; margin-bottom: 32px; }
    .btn-primary, .btn-ghost { padding: 15px 22px; font-size: 13px; letter-spacing: 0.16em; }

    /* Marquee */
    .marquee { padding: 18px 0; }
    .marquee-track { gap: 36px; font-size: 20px; }
    .marquee-dot { width: 6px; height: 6px; }

    /* Section h2 sizing */
    .pillars-header h2,
    .programs-header h2,
    .conviction-body h2,
    .faq-header h2 { font-size: clamp(30px, 7vw, 44px); }
    .rink h2 { font-size: clamp(28px, 6vw, 40px); }
    .programs-header p { font-size: 16px; line-height: 1.6; }

    /* Pillar cards */
    .pillar h3 { font-size: 30px; }
    .pillar-num { margin-bottom: 16px; }
    .pillar p { font-size: 15px; }

    /* Programs rows */
    .program-name { font-size: clamp(26px, 7vw, 36px); }
    .program-desc { padding-right: 0; font-size: 15px; }

    /* Conviction */
    .conviction-pull { font-size: 21px; padding-left: 20px; margin: 32px 0; }
    .conviction-body p { font-size: 16px; line-height: 1.65; }
    .signatures { gap: 24px; margin-top: 36px; padding-top: 24px; }

    /* Rink card */
    .rink-card { padding: 44px 24px; }
    .rink p { font-size: 16px; }
    .stat-num { font-size: 44px; }

    /* FAQ */
    .faq-card { padding: 32px 24px; }
    .faq-card h4 { font-size: 20px; }

    /* Final CTA */
    .final-cta { padding: 90px 24px; }
    .final-cta p { font-size: 17px; margin-bottom: 32px; }

    /* Footer */
    footer { padding: 60px 24px 30px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; gap: 12px; }
    .footer-brand img { height: 48px; }
  }

  @media (max-width: 480px) {
    .nav { padding: 12px 16px; }
    .nav-brand { font-size: 14px; gap: 8px; }
    .nav-brand img { height: 28px; }
    .nav-cta { padding: 8px 11px; font-size: 11px; }

    .hero { padding: 100px 18px 56px; }
    .hero h1 { font-size: clamp(36px, 11.5vw, 56px); }
    .hero-mark img { max-width: 220px; }

    .pillars, .programs, .conviction, .rink, .faq { padding-left: 18px; padding-right: 18px; }
    .pillar { padding: 36px 18px; }
    .rink-card { padding: 32px 18px; }

    .pillar h3 { font-size: 26px; }
    .stat-num { font-size: 38px; }
    .conviction-pull { font-size: 19px; padding-left: 16px; }
    .marquee-track { font-size: 17px; gap: 28px; }
    .final-cta { padding: 70px 18px; }
    footer { padding: 48px 18px 28px; }
  }
