@import "tailwindcss";

:root {
  --navy: #101b48;
  --blue: #1257a6;
  --yellow: #f5d21f;
  --ink: #15213a;
  --slate: #566074;
  --paper: #f7f8f5;
  --white: #ffffff;
  --line: #cfd4dc;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--font-sans), Arial, sans-serif; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure { margin-top: 0; }
h1, h2 { font-family: var(--font-display), Georgia, serif; font-weight: 400; letter-spacing: -.025em; line-height: .98; }
h1, h2, h3 { text-wrap: balance; }
h3 { line-height: 1.15; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.shell { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }

.skip-link { position: fixed; left: 18px; top: 16px; z-index: 1000; translate: 0 -180%; padding: 12px 18px; background: var(--yellow); color: var(--navy); font-weight: 700; }
.skip-link:focus { translate: 0; }

.site-header { position: relative; z-index: 20; min-height: 88px; display: grid; grid-template-columns: minmax(255px, 1fr) auto auto; align-items: center; gap: 38px; padding: 12px max(32px, calc((100vw - var(--max)) / 2)); background: var(--white); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; line-height: 1.05; }
.brand img { width: 58px; height: 58px; object-fit: cover; }
.brand span, .brand small { display: block; }
.brand strong { font-family: var(--font-display), Georgia, serif; font-size: 1.18rem; font-weight: 600; }
.brand small { margin-top: 6px; color: var(--slate); font-size: .63rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 25px; font-size: .83rem; font-weight: 600; }
.primary-nav > a, .primary-nav summary { padding: 14px 0; text-decoration: none; cursor: pointer; list-style: none; }
.primary-nav summary::-webkit-details-marker { display: none; }
.primary-nav summary::after { content: " +"; color: var(--blue); }
.primary-nav details[open] summary::after { content: " −"; }
.primary-nav a:hover, .primary-nav summary:hover, .primary-nav a[aria-current], .primary-nav .nav-group-current > summary { color: var(--blue); }
.primary-nav details { position: relative; }
.nav-menu { position: absolute; top: 50px; left: -18px; min-width: 225px; padding: 10px 0; background: var(--white); border: 1px solid var(--line); box-shadow: 8px 8px 0 rgba(16, 27, 72, .12); }
.nav-menu a { display: block; padding: 10px 18px; text-decoration: none; }
.nav-menu-wide { min-width: 270px; }
.mobile-navigation { display: none; }
.header-action, .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 12px 18px; border: 2px solid currentColor; text-decoration: none; font-size: .83rem; font-weight: 700; }
.header-action { background: var(--navy); color: var(--white); border-color: var(--navy); }
.header-action:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }

.hero { position: relative; min-height: 660px; display: grid; grid-template-columns: minmax(360px, 43%) 1fr; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 76px max(52px, calc((100vw - var(--max)) / 2)); padding-right: 50px; }
.kicker { margin-bottom: 30px; color: var(--yellow); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 650px; margin-bottom: 35px; font-size: clamp(3.85rem, 5.8vw, 6.8rem); }
.hero h1 em { color: var(--yellow); font-weight: 400; }
.hero-intro { max-width: 540px; color: #d8dced; font-size: clamp(1.05rem, 1.4vw, 1.28rem); }
.action-row { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 30px; }
.button-yellow { min-width: 177px; background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.button-yellow:hover { background: var(--white); border-color: var(--white); }
.quiet-link { font-size: .85rem; font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.quiet-link span { margin-left: 8px; }
.hero .action-row a, .membership .action-row a { font-size: 1rem; }
.hero .button, .membership .button { width: max-content; min-width: 0; min-height: 52px; justify-content: center; padding: 14px 22px; }
.hero-photo { position: relative; height: 100%; min-height: 660px; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
.hero-photo figcaption { position: absolute; right: 0; bottom: 0; display: flex; gap: 46px; padding: 13px 22px; background: var(--paper); color: var(--ink); font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.notices { display: grid; grid-template-columns: 32% 1fr; gap: clamp(56px, 6vw, 80px); padding-block: clamp(92px, 8vw, 112px); }
.section-label > p, .calendar-heading .kicker { margin-bottom: 26px; color: var(--blue); font-size: .69rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.section-label h2 { margin-bottom: 0; font-size: clamp(3rem, 5vw, 5.25rem); }
.notice-list { border-top: 1px solid var(--ink); }
.notice { display: grid; grid-template-columns: 170px 1fr; gap: 42px; padding: 33px 0; border-bottom: 1px solid var(--line); }
.notice-meta { margin: 0; color: var(--slate); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.notice-meta strong, .notice-meta span { display: block; }
.notice-meta strong { margin-bottom: 8px; color: var(--blue); }
.notice-urgent .notice-meta strong { color: #bd2b38; }
.notice h3 { margin: 0 0 10px; font-size: 1.55rem; }
.notice div p { max-width: 760px; margin-bottom: 0; color: var(--slate); }

.home-events { padding-block: 88px; background: var(--blue); color: var(--white); }
.home-events-layout { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(340px, .75fr); align-items: end; gap: 90px; }
.home-events .kicker { margin-bottom: 20px; color: var(--yellow); }
.home-events h2 { max-width: 720px; margin: 0; font-size: clamp(2.8rem, 4.6vw, 4.8rem); }
.home-events-layout > div:last-child > p { max-width: 570px; margin-bottom: 30px; color: #e4ebf5; font-size: 1.02rem; }
.calendar-heading { display: grid; grid-template-columns: 1fr 440px; align-items: end; gap: 60px; margin-bottom: 72px; }
.calendar-heading > p { margin: 0; color: var(--slate); font-size: .95rem; }
.blue-kicker { color: var(--blue) !important; }
.event-ledger { border-top: 2px solid var(--ink); }
.event-row { display: grid; grid-template-columns: 150px 1fr 190px; align-items: center; gap: 35px; min-height: 112px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.event-date { display: grid; grid-template-columns: 60px 1fr; align-items: center; margin: 0; }
.event-date span { color: var(--blue); font-size: .64rem; font-weight: 700; letter-spacing: .12em; }
.event-date strong { font-family: var(--font-display), Georgia, serif; font-size: 2.45rem; font-weight: 400; }
.event-row h3 { margin: 0 0 5px; font-size: 1.25rem; }
.event-row div p { margin: 0; color: var(--slate); font-size: .9rem; }
.event-row > time { color: var(--slate); font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-align: right; text-transform: uppercase; }

.membership { display: grid; grid-template-columns: 42% 1fr; background: var(--navy); color: var(--white); }
.membership-brand { position: relative; display: grid; min-height: 700px; place-items: center; padding: 70px; background: var(--yellow); color: var(--navy); overflow: hidden; }
.membership-brand::before, .membership-brand::after { content: ""; position: absolute; border: 1px solid rgba(16, 27, 72, .35); border-radius: 50%; width: 700px; height: 275px; rotate: -8deg; }
.membership-brand::after { width: 560px; height: 190px; rotate: 17deg; }
.membership-brand img { position: relative; z-index: 1; width: min(360px, 80%); }
.membership-brand p { position: absolute; z-index: 2; left: 52px; bottom: 42px; margin: 0; font-family: var(--font-display), Georgia, serif; font-size: 2rem; line-height: 1.05; }
.membership-copy { padding: clamp(76px, 7vw, 96px) max(52px, calc((100vw - var(--max)) / 2)) clamp(76px, 7vw, 96px) 8vw; }
.membership-copy h2 { max-width: 700px; margin-bottom: 34px; font-size: clamp(3.4rem, 5.5vw, 6rem); }
.membership-copy > p { max-width: 720px; color: #d8dced; }
.membership-price { display: flex; align-items: center; gap: 18px; padding-block: 20px; border-block: 1px solid rgba(255, 255, 255, .3); }
.membership-price strong { color: var(--yellow); font-family: var(--font-display), Georgia, serif; font-size: 4.1rem; font-weight: 400; line-height: 1; }
.membership-price span { color: var(--white); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.membership-copy h3 { margin: 32px 0 14px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.support-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0 0 24px; padding: 0; border-top: 1px solid rgba(255, 255, 255, .28); list-style: none; }
.support-list li { padding: 8px 0 8px 20px; border-bottom: 1px solid rgba(255, 255, 255, .28); font-size: .84rem; }
.support-list li::before { content: "—"; margin-left: -20px; margin-right: 8px; color: var(--yellow); }
.membership-recognition { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 42px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .3); }
.membership-recognition > a { align-self: start; }
.membership-recognition img { width: 100%; height: auto; }
.membership-recognition div > p:first-child { margin-bottom: 10px; color: var(--yellow); font-size: .76rem; font-weight: 600; }
.membership-copy .membership-recognition h3 { margin: 0 0 14px; font-family: var(--font-display), Georgia, serif; font-size: 1.65rem; font-weight: 400; letter-spacing: -.015em; line-height: 1.14; text-transform: none; }
.membership-recognition div > p:not(:first-child) { max-width: 520px; margin-bottom: 18px; color: #d8dced; font-size: .9rem; }
.membership-recognition .quiet-link { display: inline-block; }
.spirit-shirt-feature { margin: 0; }
.spirit-shirt-feature img { width: 100%; height: auto; }
.spirit-shirt-feature figcaption { margin-top: 12px; color: var(--slate); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.spirit-wear { padding-block: clamp(72px, 7vw, 96px); background: var(--white); }
.spirit-wear-layout { display: grid; grid-template-columns: minmax(440px, 1.08fr) minmax(360px, .72fr); align-items: center; gap: clamp(54px, 7vw, 96px); }
.spirit-wear-copy { max-width: 560px; }
.spirit-wear-label { margin-bottom: 22px; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.spirit-wear h2 { margin-bottom: 28px; font-size: clamp(3.2rem, 5vw, 5.3rem); }
.spirit-wear-copy > p:not(.spirit-wear-label) { color: var(--slate); font-size: 1rem; line-height: 1.72; }
.spirit-wear-purchase { display: inline-block; margin-top: 18px; color: var(--navy); }

.community-portraits { padding: clamp(88px, 8vw, 112px) 0 0; background: var(--white); }
.community-portraits-heading { display: grid; grid-template-columns: minmax(0, 1fr) 176px 350px; align-items: end; gap: 54px; margin-bottom: 48px; }
.community-portraits-heading h2 { margin: 0; font-size: clamp(3rem, 5vw, 5.25rem); }
.community-portraits-heading > p { margin: 0; color: var(--slate); font-size: 1rem; line-height: 1.7; }
.community-school-mark { align-self: center; margin: 0; }
.community-school-mark img { display: block; width: 100%; height: auto; }
.community-photo-grid { display: grid; grid-template-columns: 58% 42%; grid-template-rows: 330px 330px; }
.community-photo { position: relative; min-height: 0; margin: 0; overflow: hidden; background: var(--navy); }
.community-photo-primary { grid-row: 1 / 3; }
.community-photo-link { display: block; width: 100%; height: 100%; color: inherit; }
.community-photo img { width: 100%; height: 100%; object-fit: cover; }
.community-photo-primary img { object-position: center; transform: scale(1.35); transform-origin: 50% 65%; }
.community-photo:nth-child(2) img { object-position: center 42%; }
.community-photo:nth-child(3) img { object-position: center; }
.community-photo figcaption { position: absolute; left: 0; bottom: 0; display: flex; align-items: baseline; gap: 22px; padding: 15px 22px; background: var(--paper); color: var(--ink); }
.community-photo figcaption strong { font-family: var(--font-display), Georgia, serif; font-size: 1rem; font-weight: 400; }
.community-photo figcaption span { color: var(--blue); font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

footer { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(620px, 1.3fr); gap: 64px 90px; padding: 66px max(32px, calc((100vw - var(--max)) / 2)) 42px; background: #090f2b; color: var(--white); }
.footer-mark { display: flex; align-items: center; gap: 18px; }
.footer-mark img { width: 68px; height: 68px; object-fit: cover; }
.footer-mark p, .footer-mark span { margin: 0; display: block; }
.footer-mark strong { font-family: var(--font-display), Georgia, serif; font-size: 1.2rem; }
.footer-mark span { margin-top: 5px; color: #aeb7d1; font-size: .78rem; }
.footer-navigation { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(34px, 5vw, 70px); }
.footer-navigation section { display: grid; align-content: start; gap: 12px; }
.footer-navigation h2 { margin: 0 0 9px; color: #8f99b7; font-family: var(--font-sans), Arial, sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-navigation a { color: var(--white); font-size: .82rem; font-weight: 600; text-decoration: none; }
.footer-navigation a:hover, .footer-utility a:hover { color: var(--yellow); }
.footer-navigation .footer-join { color: var(--yellow); font-size: .95rem; }
.footer-note { margin: 0; padding-top: 24px; border-top: 1px solid #343b59; color: #8f99b7; font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-utility { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 14px 24px; padding-top: 24px; border-top: 1px solid #343b59; }
.footer-utility a { color: #aeb7d1; font-size: .72rem; font-weight: 600; text-decoration: none; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; padding-top: 4px; border-top: 1px solid var(--line); }
  .header-action { grid-column: 2; grid-row: 1; }
  .hero { min-height: 620px; grid-template-columns: 48% 1fr; }
  .hero-copy { padding-left: 32px; }
  .hero-photo { min-height: 620px; }
  .hero h1 { font-size: clamp(3.7rem, 7vw, 6rem); }
  .notices { gap: 55px; }
  .home-events-layout { gap: 55px; }
  .membership { grid-template-columns: 38% 1fr; }
  .membership-copy { padding-left: 60px; }
  .spirit-wear-layout { grid-template-columns: 1fr 1fr; gap: 55px; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 36px, var(--max)); }
  main * { min-width: 0; }
  .site-header { display: flex; flex-wrap: wrap; gap: 14px; padding: 12px max(18px, env(safe-area-inset-right)) 12px max(18px, env(safe-area-inset-left)); }
  .brand { flex: 1; }
  .brand small { display: none; }
  .header-action { min-height: 44px; padding: 9px 12px; }
  .primary-nav { display: none; }
  .mobile-navigation { display: block; order: 3; width: 100%; border-top: 1px solid var(--line); }
  .mobile-navigation details { position: static; }
  .mobile-navigation summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; color: var(--navy); font-size: .82rem; font-weight: 700; cursor: pointer; list-style: none; }
  .mobile-navigation summary::-webkit-details-marker { display: none; }
  .mobile-navigation summary::after { content: "+"; color: var(--blue); font-size: 1.15rem; }
  .mobile-navigation details[open] summary::after { content: "−"; }
  .mobile-nav-panel { position: absolute; z-index: 30; top: 100%; left: 0; right: 0; display: grid; gap: 0; padding: 14px 18px 24px; background: var(--white); border-block: 1px solid var(--line); box-shadow: 0 18px 32px rgba(16, 27, 72, .14); }
  .mobile-nav-panel section { padding: 18px 0 10px; border-top: 1px solid var(--line); }
  .mobile-nav-panel section > p { margin: 0 0 6px; color: var(--blue); font-size: .68rem; font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
  .mobile-nav-panel a { min-height: 44px; display: flex; align-items: center; padding: 6px 0; text-decoration: none; font-size: .95rem; font-weight: 600; }
  .mobile-nav-panel a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
  .hero { display: flex; min-height: 0; flex-direction: column; }
  .hero-copy { padding: 68px 24px 64px; }
  .hero h1 { font-size: clamp(3.15rem, 15vw, 5.2rem); }
  .hero-photo { min-height: 440px; }
  .hero-photo figcaption { left: 0; right: auto; flex-direction: column; gap: 3px; }
  .notices { grid-template-columns: 1fr; }
  .notices { gap: 52px; padding-block: 84px; }
  .notice { grid-template-columns: 1fr; gap: 18px; }
  .home-events { padding-block: 76px; }
  .home-events-layout { grid-template-columns: 1fr; gap: 36px; }
  .calendar-heading { grid-template-columns: 1fr; gap: 32px; margin-bottom: 50px; }
  .event-row { grid-template-columns: 94px 1fr; gap: 18px; }
  .event-date { grid-template-columns: 42px 1fr; }
  .event-date strong { font-size: 2rem; }
  .event-row > time { grid-column: 2; text-align: left; }
  .membership { grid-template-columns: 1fr; }
  .membership-brand { min-height: 520px; }
  .membership-copy { padding: 80px 24px; }
  .support-list { grid-template-columns: 1fr; }
  .membership-recognition { grid-template-columns: 1fr; gap: 24px; margin-top: 46px; padding-top: 28px; }
  .membership-recognition > a { width: min(220px, 70vw); }
  .membership-copy .membership-recognition h3 { font-size: 1.35rem; }
  .membership-recognition div > p:not(:first-child) { font-size: .84rem; }
  .spirit-wear-layout { grid-template-columns: 1fr; gap: 48px; }
  .community-portraits { padding-top: 88px; }
  .community-portraits-heading { grid-template-columns: 1fr; gap: 28px; margin-bottom: 46px; }
  .community-school-mark { width: 132px; }
  .community-photo-grid { grid-template-columns: 1fr; grid-template-rows: 480px 330px 300px; }
  .community-photo-primary { grid-row: auto; }
  .community-photo-primary img { transform: scale(1.18); transform-origin: 50% 65%; }
  .community-photo figcaption { right: 0; align-items: flex-start; flex-direction: column; gap: 2px; }
  footer { grid-template-columns: 1fr; gap: 48px; padding-inline: 24px; }
  .footer-navigation { grid-template-columns: 1fr 1fr; gap: 42px 28px; }
  .footer-navigation a, .footer-utility a { min-height: 44px; display: flex; align-items: center; }
  .footer-utility { justify-content: flex-start; }
}

@media (max-width: 420px) {
  html, body { max-width: 100%; overflow-x: clip; }
  .shell { width: min(100% - 32px, var(--max)); }
  .site-header { gap: 10px; padding-inline: max(16px, env(safe-area-inset-left)); }
  .brand { gap: 9px; }
  .brand img { width: 48px; height: 48px; }
  .brand strong { font-size: .98rem; }
  .header-action { padding-inline: 10px; font-size: .76rem; }
  .hero-copy { padding: 58px 20px 56px; }
  .hero h1 { margin-bottom: 28px; font-size: clamp(2.9rem, 15vw, 3.7rem); }
  .hero-intro { font-size: 1rem; }
  .action-row { gap: 14px 18px; }
  .quiet-link { max-width: 100%; overflow-wrap: anywhere; }
  .notices { padding-block: 68px; }
  .home-events { padding-block: 64px; }
  .membership-brand { min-height: 420px; padding: 44px 22px; }
  .membership-brand p { left: 22px; bottom: 28px; font-size: 1.55rem; }
  .membership-copy { padding: 68px 20px; }
  .membership-copy h2 { margin-bottom: 34px; font-size: clamp(2.8rem, 14vw, 3.8rem); }
  .membership-price strong { font-size: 3.4rem; }
  .spirit-wear { padding-block: 68px; }
  .community-photo-grid { grid-template-rows: 390px 280px 260px; }
  footer { gap: 40px; padding: 54px max(20px, env(safe-area-inset-right)) max(36px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
  .footer-navigation { grid-template-columns: 1fr; gap: 32px; }
  .footer-utility { gap: 4px 20px; }
}

@media (pointer: coarse) {
  .quiet-link { min-height: 44px; display: inline-flex; align-items: center; }
  a, summary, button { -webkit-tap-highlight-color: rgba(18, 87, 166, .18); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .social-highlight-frame img { transition: none; }
}
