/* Athletic Applications
   Theme: night game. One dark theme, navy from the logo, chalk white, one accent: the logo's field-line green.
   Radius system: controls are 10px, media tiles 14px, chips are pill. */

@font-face { font-family: "Saira"; src: url("fonts/saira-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 125%; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --night: #061226;
  --navy: #0A2347;
  --navy-2: #0F2C57;
  --line: rgba(241, 244, 242, .12);
  --chalk: #F1F4F2;
  --muted: #AFBBCB;
  --green: #3DAA52;
  --green-ink: #04150A;
  --r-ctl: 10px;
  --r-media: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: min(1240px, 100% - 2 * var(--gutter));
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 68px;
  /* z-index scale */
  --z-media: 0; --z-content: 2; --z-nav: 50; --z-skip: 100;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(61, 170, 82, .25); scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--night); color: var(--chalk);
  font: 400 1.0625rem/1.65 "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
a, button, input, textarea, label { touch-action: manipulation; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: var(--z-skip); background: var(--green); color: var(--green-ink); padding: 10px 16px; border-radius: var(--r-ctl); font-weight: 500; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.display {
  font-family: "Saira", "Barlow", sans-serif; font-stretch: 112%; font-weight: 800;
  text-transform: uppercase; letter-spacing: -.005em; line-height: 1.02; text-wrap: balance;
}
.h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); max-width: 18ch; }
.eyebrow {
  font-family: "Saira", sans-serif; font-stretch: 112%; font-weight: 700; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--chalk);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; white-space: nowrap;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-ctl); border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font-family: "Saira", sans-serif; font-stretch: 108%; font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
  transition: transform .35s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { --bg: var(--green); --fg: var(--green-ink); }
.btn--primary:hover { --bg: #4CBC61; }
.btn--ghost { border-color: rgba(241, 244, 242, .55); background: rgba(6, 18, 38, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--chalk); background: rgba(6, 18, 38, .6); }
.btn--ghost .ico { transition: transform .35s var(--ease); }
.btn--ghost:hover .ico { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav);
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(6, 18, 38, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav { padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); }
.nav__inner { width: var(--wrap); margin-inline: auto; height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.nav__brand { display: block; width: 204px; flex: none; }
.nav__brand svg { width: 100%; height: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--chalk); opacity: .86; padding: 6px 0; background: linear-gradient(var(--green), var(--green)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease), opacity .2s; }
.nav__links a:hover { opacity: 1; background-size: 100% 2px; }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: rgba(6, 18, 38, .5); align-items: center; justify-content: center; cursor: pointer; }
.nav__toggle .ico { width: 24px; height: 24px; }
.nav__sheet { width: var(--wrap); margin: 0 auto; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; padding: 8px 0 22px; display: grid; gap: 4px; }
.nav__sheet a:not(.btn) { padding: 12px 2px; text-decoration: none; font-family: "Saira", sans-serif; font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: 1.25rem; border-bottom: 1px solid var(--line); }
.nav__sheet .btn { margin-top: 14px; }
.nav__sheet[hidden] { display: none; }

@media (max-width: 900px) {
  .nav__links, .nav__call { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__brand { width: 168px; }
  .nav.is-open { background: rgba(6, 18, 38, .97); border-color: var(--line); }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; min-height: 100dvh; display: grid; align-items: end; overflow: hidden; isolation: isolate; background: var(--night); }
.hero__media { position: absolute; inset: -6% 0 -10%; z-index: -2; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 18, 38, .88) 0%, rgba(6, 18, 38, .55) 38%, rgba(6, 18, 38, 0) 68%),
    linear-gradient(0deg, var(--night) 0%, rgba(6, 18, 38, .2) 32%, rgba(6, 18, 38, 0) 55%, rgba(6, 18, 38, .55) 100%);
}
/* the logo's painted stripe, as a foreground depth layer */
.hero__stripe-wrap { position: absolute; inset: 0; z-index: -1; pointer-events: none; will-change: transform; }
.hero__stripe {
  position: absolute; right: 9%; bottom: -12%; width: 44px; height: 62%;
  background: linear-gradient(var(--green), rgba(61, 170, 82, 0)); transform-origin: bottom; opacity: .9;
  clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%);
  rotate: 24deg; pointer-events: none;
}
.hero__content { padding: calc(var(--nav-h) + 40px) 0 clamp(56px, 10vh, 112px); will-change: transform, opacity; }
.hero__title { font-size: clamp(2.05rem, 1rem + 4vw, 4.6rem); max-width: 17ch; overflow-wrap: break-word; }
.hero__sub { margin: 22px 0 32px; max-width: 48ch; text-wrap: pretty; font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); color: #DCE3EC; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__pause {
  position: absolute; right: var(--gutter); bottom: 24px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(241, 244, 242, .4); background: rgba(6, 18, 38, .45); cursor: pointer; display: grid; place-items: center;
}
.hero__pause-bars { width: 12px; height: 14px; border-inline: 4px solid var(--chalk); }
.hero__pause[aria-pressed="true"] .hero__pause-bars { border: 0; width: 0; height: 0; border-left: 12px solid var(--chalk); border-block: 7px solid transparent; margin-left: 4px; }

/* hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__sub, .hero__ctas { animation: rise 1.1s var(--ease) both; }
  .hero__sub { animation-delay: .12s; }
  .hero__ctas { animation-delay: .22s; }
  .hero__stripe { animation: paint 1.4s var(--ease) .35s both; }
}
@keyframes rise { from { transform: translateY(26px); } }
@keyframes paint { from { clip-path: polygon(38% 100%, 100% 100%, 62% 100%, 0 100%); } }

/* ---------- parallax ----------
   Layers carry a depth (--d). Where supported, scroll-driven CSS animations move them off the main thread;
   main.js provides a transform fallback elsewhere. Disabled under reduced motion. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero [data-depth] { animation: px-hero linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero [data-fade] { animation-name: px-hero, px-fade; animation-range: 0 100vh, 0 75vh; }
    main section:not(.hero) [data-depth] { animation: px-view linear both; animation-timeline: view(); }
  }
}
@keyframes px-hero { to { transform: translate3d(0, calc(var(--d) * 100vh), 0); } }
@keyframes px-fade { to { opacity: 0; } }
@keyframes px-view { from { transform: translate3d(0, calc(var(--d) * -70vh), 0); } to { transform: translate3d(0, calc(var(--d) * 70vh), 0); } }

/* ---------- service area marquee ---------- */
.area { border-block: 1px solid var(--line); background: var(--night); overflow: hidden; padding: 18px 0; }
.area__track { display: flex; align-items: center; gap: 28px; width: max-content; font-family: "Saira", sans-serif; font-stretch: 112%; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(1rem, .9rem + .5vw, 1.35rem); color: var(--muted); }
.area__track i { width: 26px; height: 4px; background: var(--green); transform: skewX(-30deg); flex: none; }
@media (prefers-reduced-motion: no-preference) { .area__track { animation: marquee 38s linear infinite; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- story ---------- */
.story { padding: clamp(80px, 12vw, 160px) 0; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.story__visual { position: relative; aspect-ratio: 5 / 5.4; }
.story__photo { position: absolute; overflow: hidden; border-radius: var(--r-media); box-shadow: 0 30px 60px -20px rgba(2, 8, 20, .7); will-change: transform; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__photo--back { inset: 0 18% 22% 0; }
.story__photo--front { right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; outline: 6px solid var(--night); }
.story__band { position: absolute; left: 6%; bottom: -6%; width: 38%; height: 16px; background: var(--green); clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); will-change: transform; }
.story__copy p { color: #CAD3DF; max-width: 58ch; }
.story__copy .h2 { margin-bottom: 26px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 36px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.facts div { padding: 18px 0 4px; }
.facts dt { font-variant-numeric: tabular-nums; font-family: "Saira", sans-serif; font-stretch: 115%; font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--chalk); }
.facts dd { margin: 6px 0 0; color: var(--muted); font-size: .98rem; line-height: 1.4; }
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__visual { max-width: 560px; width: 100%; }
}

/* ---------- services bento ---------- */
.services { padding: clamp(72px, 10vw, 140px) 0 clamp(48px, 6vw, 72px); background: linear-gradient(180deg, var(--night), var(--navy) 22%, var(--navy) 78%, var(--night)); }
.services__title { max-width: 20ch; margin-bottom: clamp(36px, 5vw, 64px); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-media); background: var(--navy-2); min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.tile__img { position: absolute; inset: 0; z-index: -1; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.045); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 12, 28, .96) 0%, rgba(4, 12, 28, .78) 34%, rgba(4, 12, 28, .1) 72%); }
.tile__body { padding: clamp(20px, 2.4vw, 32px); }
.tile h3 { display: flex; align-items: center; gap: 10px; font-family: "Saira", sans-serif; font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.1; margin-bottom: 10px; }
.tile h3 .ico { color: var(--green); }
.tile p { margin: 0; color: #D3DBE6; max-width: 52ch; font-size: 1rem; }
.tile--natural { grid-column: span 7; min-height: 520px; }
.tile--synthetic { grid-column: span 5; min-height: 520px; }
.tile--mgmt, .tile--mound, .tile--brand { grid-column: span 4; min-height: 470px; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile--natural, .tile--synthetic, .tile--mgmt, .tile--mound, .tile--brand { grid-column: auto; min-height: 440px; }
}

/* ---------- work rail ---------- */
.work { padding: clamp(64px, 7vw, 96px) 0 clamp(48px, 6vw, 88px); }
.work__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.work__nav { display: flex; gap: 10px; }
.iconbtn { width: 48px; height: 48px; border-radius: var(--r-ctl); border: 1px solid rgba(241, 244, 242, .3); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background-color .25s, border-color .25s; }
.iconbtn:hover { border-color: var(--green); background: rgba(61, 170, 82, .12); }
.iconbtn[data-scroll="-1"] .ico { transform: rotate(180deg); }
.work__rail {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 24px max(var(--gutter), (100% - 1240px) / 2) 34px; scrollbar-width: thin; scrollbar-color: var(--navy-2) transparent;
  align-items: center;
}
.shot { flex: none; width: clamp(280px, 38vw, 560px); aspect-ratio: 4 / 3; border-radius: var(--r-media); overflow: hidden; scroll-snap-align: center; background: var(--navy-2); }
.shot--tall { width: clamp(240px, 28vw, 420px); aspect-ratio: 4 / 5; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .shot, .shot--tall { width: 78vw; } .work__nav { display: none; } }

/* ---------- recognition ---------- */
.praise { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.praise .h2 { max-width: 22ch; margin-bottom: clamp(36px, 5vw, 60px); }
.praise__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.quote { margin: 0; padding-top: 22px; border-top: 3px solid var(--green); }
.quote p { font-family: "Saira", sans-serif; font-stretch: 100%; font-weight: 500; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.45; color: var(--chalk); margin-bottom: 18px; }
.quote--lead p { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); font-weight: 600; line-height: 1.32; }
.quote footer { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.quote cite { font-style: normal; }
.quote cite a { color: var(--chalk); text-underline-offset: 3px; text-decoration-color: var(--green); }
@media (max-width: 900px) { .praise__grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { position: relative; overflow: clip; padding: clamp(80px, 11vw, 150px) 0; isolation: isolate; }
.contact__bg { position: absolute; inset: -14% 0; z-index: -1; background: var(--navy) url("media/contact-field-800.webp") center / cover no-repeat; will-change: transform; }
@media (min-width: 801px) { .contact__bg { background-image: url("media/contact-field.webp"); } }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 18, 38, .95) 0%, rgba(6, 18, 38, .86) 50%, rgba(6, 18, 38, .72) 100%); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.lede { color: #D3DBE6; font-size: 1.15rem; max-width: 46ch; margin: 22px 0 34px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.cards li.cards--wide { grid-column: 1 / -1; }
.cards li { padding: 18px 0; border-top: 1px solid var(--line); min-width: 0; }
.cards__label { display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 500; font-size: .9rem; letter-spacing: .04em; margin-bottom: 6px; }
.cards__value { display: block; font-family: "Saira", sans-serif; font-weight: 700; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); text-decoration: none; overflow-wrap: anywhere; line-height: 1.3; }
a.cards__value:hover { color: var(--green); }
.cards__value--sm { font-family: "Barlow", sans-serif; font-weight: 500; font-size: 1rem; color: #DCE3EC; }
.cards__hint { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: var(--chalk); font-weight: 500; text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; }

.form { background: rgba(10, 35, 71, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--r-media); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 80px -30px rgba(2, 8, 20, .8); }
.form__title { font-family: "Saira", sans-serif; font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 1.35rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 500; font-size: .95rem; color: var(--chalk); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-ctl); border: 1px solid #5A6E8C; background: #071A36; color: var(--chalk);
  font: 400 1rem/1.4 "Barlow", sans-serif; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(61, 170, 82, .35); }
.field [aria-invalid="true"] { border-color: #FF8A80; }
.field__help { margin: 0; font-size: .88rem; color: var(--muted); }
.field__err { margin: 0; font-size: .9rem; color: #FFB4AB; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid #5A6E8C; font-size: .92rem; font-weight: 500; color: #DCE3EC; transition: background-color .2s, border-color .2s, color .2s; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.form__note { margin: -4px 0 0; font-size: .88rem; color: var(--muted); text-align: center; }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row, .cards { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--night); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot__brand svg { width: 230px; height: auto; margin-bottom: 18px; }
.foot__brand p { color: var(--muted); max-width: 40ch; }
.foot__h { font-family: "Saira", sans-serif; font-stretch: 112%; font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot__col { display: grid; align-content: start; gap: 10px; }
.foot__col a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--chalk); width: fit-content; overflow-wrap: anywhere; }
.foot__col a:hover { color: var(--green); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.foot__base p { margin: 0; }
.foot__base a { color: var(--muted); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-depth] { transform: none !important; }
}
