@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --forest: #143f35;
  --forest-light: #295a4e;
  --cream: #f8f5eb;
  --paper: #fffdf7;
  --lime: #d8ec87;
  --blush: #f2c7d2;
  --coral: #ed6b55;
  --sage: #bdc9ae;
  --line: #d8d9cf;
  --muted: #50675f;
  --shadow: 0 12px 30px rgba(20, 63, 53, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--forest); background: var(--cream); font: 16px/1.55 'DM Sans', Arial, sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
a, summary { touch-action: manipulation; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; border-radius: 2px; }
.skip { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 12px 16px; background: var(--lime); font-weight: 700; }
.skip:focus { top: 12px; }
.site-shell { width: min(1180px, calc(100% - 56px)); margin: 0 auto; }

.site-header { position: relative; min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--forest); text-decoration: none; }
.brand svg { width: 35px; height: 48px; flex: 0 0 auto; }
.brand strong { display: block; font: 800 34px/.82 'Barlow Condensed', Impact, sans-serif; letter-spacing: .7px; }
.brand small { display: block; margin-top: 9px; font-size: 8px; font-weight: 700; letter-spacing: 3.4px; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 35px; font-size: 14px; font-weight: 700; }
.site-nav > a { text-decoration: none; }
.back-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 13px 20px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: transform .16s ease, background-color .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: #fff; background: var(--forest); border-color: var(--forest); }
.button-dark:hover { background: var(--forest-light); }
.button-lime { color: var(--forest); background: var(--lime); border-color: var(--lime); }
.button-lime:hover { background: #e3f29f; }
.button-outline { color: var(--forest); background: transparent; border-color: var(--forest); }

.eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.dot::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 11px; border-radius: 50%; background: var(--coral); }
.friendship-hero { position: relative; min-height: 545px; display: grid; grid-template-columns: 45% 55%; align-items: center; padding: 40px 0 0; overflow: hidden; }
.hero-copy { position: relative; z-index: 3; padding: 10px 0 54px 8px; }
.hero-title-row { position: relative; width: max-content; max-width: 100%; }
.hero-title-row h1 { margin: 18px 0 7px; font: 800 clamp(82px, 9.2vw, 124px)/.76 'Barlow Condensed', Impact, sans-serif; letter-spacing: -2.5px; text-transform: uppercase; }
.friend-tag { position: absolute; right: -31px; bottom: 16px; padding: 7px 14px 8px; background: var(--blush); box-shadow: 0 3px 9px rgba(20, 63, 53, .08); font: 800 18px/1 'Barlow Condensed', Impact, sans-serif; letter-spacing: .2px; text-transform: uppercase; transform: rotate(-5deg); white-space: nowrap; }
.hero-lede { margin: 18px 0 1px; font-size: clamp(23px, 2.4vw, 32px); font-weight: 600; line-height: 1.25; letter-spacing: -.6px; }
.hero-meta { margin: 2px 0 23px; color: var(--muted); font-size: 18px; }
.hero-button { width: min(335px, 100%); font-size: 17px; }
.interest-note { margin: 8px 2px 0; color: var(--muted); font-size: 13px; }

.team-stage { position: absolute; z-index: 1; right: -25px; bottom: 0; width: 60%; height: 100%; overflow: hidden; }
.team-stage::before { content: ''; position: absolute; z-index: -3; right: -9%; bottom: -28%; width: 112%; height: 74%; border-radius: 50% 50% 0 0; background: #b9c9aa; }
.team-stage::after { content: ''; position: absolute; z-index: -2; right: -16%; bottom: 9%; width: 93%; height: 52%; border: 3px solid rgba(255, 253, 247, .75); border-radius: 50%; transform: rotate(-8deg); }
.team-stage img { position: absolute; z-index: 2; right: -2%; bottom: -1px; width: min(730px, 104%); height: 88%; object-fit: contain; object-position: right bottom; }
.court-lines { position: absolute; z-index: -1; right: -11%; bottom: -2%; width: 91%; height: 47%; border-top: 3px solid rgba(255, 253, 247, .78); border-bottom: 3px solid rgba(255, 253, 247, .65); transform: skewY(-3deg); }
.court-lines::before, .court-lines::after { content: ''; position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255, 253, 247, .68); }
.court-lines::before { left: 35%; }.court-lines::after { right: 26%; }
.court-lights { position: absolute; z-index: -2; inset: 25px 0 auto 10%; height: 215px; border-top: 6px solid rgba(171, 185, 160, .48); transform: rotate(-12deg); }
.court-lights::before, .court-lights::after { content: ''; position: absolute; left: 6%; right: 5%; height: 4px; background: rgba(171, 185, 160, .35); transform: translateY(108px); }
.court-lights::after { transform: translateY(168px); }
.court-lights i { position: absolute; top: 0; width: 3px; height: 90px; background: rgba(171, 185, 160, .4); }
.court-lights i::after { content: ''; position: absolute; left: -24px; bottom: -3px; width: 50px; height: 12px; border-radius: 50% 50% 0 0; background: rgba(171, 185, 160, .6); }
.court-lights i:nth-child(1) { left: 12%; }.court-lights i:nth-child(2) { left: 50%; }.court-lights i:nth-child(3) { right: 9%; }
.bracelet { position: absolute; z-index: 1; top: 46px; left: 43%; width: 120px; height: 70px; transform: rotate(8deg); }
.bracelet i { position: absolute; width: 68px; height: 54px; border: 7px dotted var(--coral); border-radius: 50%; }
.bracelet i + i { left: 49px; top: 14px; }

.fact-band { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(3, 1fr); margin: -1px 0 0; padding: 19px 0; background: rgba(255, 253, 247, .97); border: 1px solid #ece8dc; border-radius: 5px; box-shadow: var(--shadow); }
.fact-band > div { padding: 1px 40px; }
.fact-band > div + div { border-left: 1px solid var(--line); }
.fact-band span { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.fact-band strong { display: block; font-size: 21px; line-height: 1.25; }
.fact-band p { margin: 1px 0 0; color: var(--muted); }

.section-rule { border-top: 1px solid var(--line); }
.connection { padding: 49px 5px 44px; }
.connection h2, .event-preview h2, .about h2, .volunteer-band h2, .details-main h2, .bottom-interest h2, .interest-card h2 { font: 700 43px/1.02 'Barlow Condensed', Impact, sans-serif; letter-spacing: -.5px; }
.connection h2 { margin: 0 0 25px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature { min-width: 0; display: grid; grid-template-columns: 78px 1fr; gap: 15px; align-items: center; padding: 0 24px; }
.feature:first-child { padding-left: 0; }.feature:last-child { padding-right: 0; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature svg { width: 70px; max-height: 62px; fill: var(--forest); }
.feature svg .accent { fill: var(--coral); }
.feature svg.line-icon { fill: none; stroke: var(--coral); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 3px; font: 700 23px/1 'Barlow Condensed', Impact, sans-serif; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

.event-preview { display: grid; grid-template-columns: 1fr auto; gap: 55px; align-items: center; padding: 62px 6px; }
.event-preview h2 { margin: 9px 0 15px; }
.event-preview p:not(.eyebrow) { max-width: 730px; margin: 0; color: var(--muted); }
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 95px; padding: 62px 6px; }
.about h2 { margin: 9px 0 0; }
.about > div:last-child > p:first-child { margin: 3px 0; font-size: 20px; line-height: 1.6; }
.small-copy { color: var(--muted); font-size: 13px; }
.volunteer-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 31px 39px; background: var(--lime); border-radius: 5px; }
.volunteer-band h2 { margin: 0 0 5px; font-size: 35px; }
.volunteer-band p { margin: 0; font-size: 14px; }

.details-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; padding: 65px 5px 25px; border-top: 1px solid var(--line); }
.details-main > section { padding: 0 0 35px; margin-bottom: 37px; border-bottom: 1px solid var(--line); }
.details-main h2 { margin: 9px 0 18px; font-size: 36px; }
.details-main p, .details-main li { color: var(--muted); }
.equipment-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 35px; padding-left: 20px; }
details { padding: 16px 0; border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { min-height: 28px; cursor: pointer; font-weight: 700; }
details p { margin-bottom: 2px; padding-right: 22px; font-size: 14px; }
.interest-card { position: sticky; top: 20px; padding: 31px; color: #fff; background: var(--forest); border-radius: 5px; box-shadow: var(--shadow); }
.interest-card h2 { margin: 10px 0 12px; font-size: 38px; }
.interest-card > p:not(.eyebrow) { color: #dce5dd; }
.interest-card .button { width: 100%; margin: 12px 0 7px; }
.interest-card hr { margin: 24px 0; border: 0; border-top: 1px solid #4d7167; }
.interest-card a:not(.button) { color: var(--lime); }
.interest-card .interest-note { color: #dce5dd; }
.bottom-interest { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 10px; padding: 34px 40px; background: var(--lime); border-radius: 5px; }
.bottom-interest h2 { margin: 6px 0 0; font-size: 36px; }

.privacy { width: min(750px, 100%); padding: 70px 0 40px; }
.privacy h1 { margin: 16px 0 13px; font: 800 clamp(55px, 7vw, 78px)/.9 'Barlow Condensed', Impact, sans-serif; text-transform: uppercase; }
.privacy-intro { margin-bottom: 42px; font-size: 19px; }
.privacy section { padding: 4px 0 17px; border-top: 1px solid var(--line); }
.privacy h2 { margin: 21px 0 7px; font: 700 27px/1.1 'Barlow Condensed', Impact, sans-serif; }
.privacy p:not(.eyebrow) { color: var(--muted); }

.site-footer { min-height: 91px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; margin-top: 62px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-brand svg { width: 25px; height: 36px; }
.footer-brand strong { color: var(--forest); font-size: 12px; letter-spacing: 2.3px; text-transform: uppercase; }
.site-footer p { margin: 0; font-style: italic; text-align: center; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 24px; }

@media (max-width: 980px) {
  .friendship-hero { grid-template-columns: 49% 51%; min-height: 510px; }
  .hero-title-row h1 { font-size: clamp(76px, 10.6vw, 103px); }
  .friend-tag { right: -10px; font-size: 16px; }
  .team-stage { width: 56%; right: -40px; }
  .feature { grid-template-columns: 60px 1fr; padding-inline: 15px; }.feature svg { width: 56px; }
  .details-layout { gap: 38px; grid-template-columns: minmax(0, 1fr) 310px; }
}

@media (max-width: 760px) {
  .site-shell { width: min(calc(100% - 32px), 620px); }
  .site-header { min-height: 78px; gap: 14px; }
  .brand svg { width: 27px; height: 40px; }.brand strong { font-size: 29px; }.brand small { margin-top: 7px; font-size: 7px; }
  .site-nav { gap: 14px; }.site-nav > a:not(.button) { display: none; }.site-nav .button { min-height: 44px; padding: 11px 13px; gap: 10px; font-size: 12px; }
  .back-link { font-size: 12px; }
  .friendship-hero { min-height: auto; display: flex; flex-direction: column; align-items: stretch; padding-top: 37px; overflow: visible; }
  .hero-copy { display: contents; padding: 0; }.eyebrow { font-size: 10px; letter-spacing: 1.7px; }
  .hero-copy > .eyebrow { order: 0; }
  .hero-title-row { order: 1; }
  .hero-lede { order: 2; }
  .hero-meta { order: 3; }
  .hero-button { order: 5; }
  .hero-copy > .interest-note { order: 6; margin-bottom: 18px; }
  .hero-title-row { width: 100%; }.hero-title-row h1 { margin-top: 17px; font-size: clamp(69px, 22vw, 99px); line-height: .79; letter-spacing: -1.5px; }
  .friend-tag { right: 0; bottom: 12px; font-size: 15px; }
  .hero-lede { margin-top: 17px; font-size: 21px; }.hero-meta { font-size: 14px; margin-bottom: 19px; }
  .hero-button { width: 100%; min-height: 52px; }.interest-note { text-align: center; }
  .team-stage { order: 4; position: relative; right: auto; bottom: auto; width: 100%; height: clamp(200px, 55vw, 330px); margin: 0 0 15px; border-radius: 5px; overflow: hidden; }
  .team-stage img { top: 0; right: 0; bottom: auto; width: 100%; height: auto; object-position: center top; }.team-stage::before { right: -8%; width: 116%; height: 71%; bottom: -28%; }
  .court-lights { inset: 30px 3% auto 7%; }.bracelet { top: 8px; left: 55%; transform: scale(.72) rotate(8deg); }.court-lines { width: 105%; }
  .fact-band { grid-template-columns: 1fr; margin-top: 0; padding: 0 16px; }.fact-band > div { padding: 15px 3px; }.fact-band > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .fact-band strong { font-size: 18px; }.fact-band p { font-size: 14px; }
  .connection { padding: 42px 0 31px; }.connection h2, .event-preview h2, .about h2 { font-size: 37px; }
  .feature-grid { grid-template-columns: 1fr; }.feature { grid-template-columns: 63px 1fr; padding: 18px 0; }.feature + .feature { border-left: 0; border-top: 1px solid var(--line); }.feature svg { width: 58px; }.feature h3 { font-size: 22px; }
  .event-preview, .about { grid-template-columns: 1fr; gap: 25px; padding: 47px 0; }.event-preview .button { width: 100%; }.about { gap: 18px; }.about > div:last-child > p:first-child { font-size: 18px; }
  .volunteer-band { display: block; padding: 28px 25px; }.volunteer-band .button { width: 100%; margin-top: 22px; }
  .details-layout { display: flex; flex-direction: column; gap: 36px; padding: 47px 0 15px; }.details-main { width: 100%; }.interest-card { position: static; order: -1; width: 100%; }.equipment-list { grid-template-columns: 1fr; gap: 6px; }
  .bottom-interest { display: block; padding: 27px 24px; }.bottom-interest .button { width: 100%; margin-top: 21px; }
  .privacy { padding-top: 47px; }.privacy h1 { font-size: 58px; }
  .site-footer { grid-template-columns: 1fr; gap: 17px; padding: 29px 0 37px; }.site-footer p { text-align: left; }.site-footer > div { justify-content: flex-start; }
}

@media (max-width: 390px) {
  .site-shell { width: calc(100% - 24px); }
  .site-nav .button { max-width: 145px; text-align: center; }.site-nav .button span { display: none; }
  .hero-title-row h1 { font-size: 72px; }.friend-tag { bottom: 9px; font-size: 13px; padding: 6px 9px; }
  .team-stage { width: 100%; margin-inline: 0; }
}

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

/* The compact navigation matches the approved phone design and works without JavaScript. */
.mobile-menu { display: none; }
@media (max-width: 760px) {
  .site-header > .site-nav { display: none; }
  .mobile-menu { display: block; position: static; padding: 0; border: 0; }
  .mobile-menu:last-child { border: 0; }
  .mobile-menu > summary { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; list-style: none; }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu > summary svg { width: 28px; height: 24px; }
  .mobile-menu > nav { position: absolute; z-index: 20; top: calc(100% + 1px); right: 0; left: 0; display: grid; padding: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 0 0 5px 5px; box-shadow: var(--shadow); }
  .mobile-menu a { display: flex; align-items: center; min-height: 46px; padding: 8px 14px; font-weight: 700; text-decoration: none; }
  .mobile-menu a:last-child { background: var(--lime); border-radius: 3px; }
}
