@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #080a0b;
  --charcoal: #111416;
  --paper: #f2efe8;
  --white: #faf8f2;
  --muted: #a8abad;
  --red: #e23b32;
  --rule: #34383a;
  --hero-shift: 0px;
  --page-shift: 0px;
  --product-shift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 122px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

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

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
}

p {
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--black);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  min-height: 108px;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(175px, 1fr);
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 10, 11, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  text-decoration: none;
  text-transform: uppercase;
}

.header-lockup {
  width: clamp(190px, 14vw, 215px);
  height: auto;
}

.location {
  color: #d0d1d0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.21em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 40px);
}

.site-nav a {
  padding: 45px 0 39px;
  border-bottom: 3px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  transition: border-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-bottom-color: var(--red);
}

.location {
  justify-self: end;
  text-align: right;
  text-transform: uppercase;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 735px;
  padding: 176px 5vw 88px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: -5%;
  width: 110%;
  max-width: none;
  height: 110%;
  object-fit: cover;
  object-position: center 42%;
  transform: translate3d(0, var(--hero-shift), 0) scale(1.03);
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 9, 0.9) 0%, rgba(6, 8, 9, 0.72) 37%, rgba(6, 8, 9, 0.18) 68%, rgba(6, 8, 9, 0.02) 100%),
    linear-gradient(0deg, rgba(6, 8, 9, 0.5), transparent 48%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(870px, 70vw);
  min-width: 0;
}

.eyebrow,
.section-number {
  margin: 0 0 18px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.eyebrow span {
  color: var(--red);
}

h1,
h2 {
  margin: 0;
  text-transform: uppercase;
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  transform: translateX(-0.035em);
}

h2 {
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  font-size: clamp(76px, 8.8vw, 142px);
  line-height: 0.89;
}

h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}

.hero-intro {
  max-width: 680px;
  margin: 31px 0;
  color: #e0e0de;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 60px;
  padding: 0 32px;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.button-primary {
  background: var(--red);
}

.button-outline {
  border-color: #dad7cf;
}

.text-action {
  display: inline-block;
  padding: 9px 0;
  border-bottom: 2px solid currentColor;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.hero-index {
  position: absolute;
  right: 5vw;
  bottom: 77px;
  z-index: 2;
  display: grid;
  justify-items: end;
  gap: 9px;
}

.hero-index > span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 72px;
  line-height: 1;
}

.hero-index small {
  color: #d0d1d0;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.course-strip {
  min-height: 132px;
  display: grid;
  grid-template-columns: 1.05fr repeat(3, 1fr);
  color: var(--black);
  background: var(--paper);
}

.course-title,
.distance {
  padding: 28px 4vw;
  display: grid;
  align-content: center;
  border-right: 1px solid #bbb8b0;
}

.course-title > span {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.course-title small,
.distance small {
  margin-top: 7px;
  color: #77756f;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.distance {
  grid-template-columns: auto 1fr;
  column-gap: 11px;
}

.distance strong {
  font-family: "Oswald", Impact, "Arial Narrow", sans-serif;
  font-size: 55px;
  line-height: 0.85;
}

.distance > span {
  padding-top: 8px;
  color: #65645f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.distance small {
  grid-column: 1 / -1;
}

.team-intro {
  padding: 90px 5vw;
  display: grid;
  grid-template-columns: 0.48fr 1.52fr;
  gap: 50px;
  color: var(--black);
  background: var(--paper);
}

.team-intro h2,
.match-story h2,
.sunshade h2 {
  font-size: clamp(50px, 5vw, 80px);
  line-height: 0.9;
}

.team-intro div > p {
  max-width: 780px;
  margin: 28px 0 0;
  color: #52524f;
  font-size: 18px;
  line-height: 1.7;
}

.match-story {
  min-height: 530px;
  padding: 66px 5vw;
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) 1fr;
  gap: 55px;
  background: var(--charcoal);
}

.story-image {
  position: relative;
  min-height: 390px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
}

.story-image > span {
  position: absolute;
  inset: 0 auto auto 0;
  padding: 15px 20px;
  background: var(--red);
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.story-copy {
  align-self: center;
}

.story-copy > p:not(.eyebrow),
.sunshade-heading > p:not(.eyebrow) {
  max-width: 650px;
  margin: 25px 0 28px;
  color: #b5b7b8;
  font-size: 16px;
  line-height: 1.7;
}

.sunshade {
  padding: 92px 5vw;
  background: var(--black);
}

.sunshade-heading {
  max-width: 950px;
  margin-bottom: 55px;
}

.sunshade-wide,
.sunshade-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--charcoal);
}

.sunshade-wide {
  min-height: 520px;
}

.sunshade-wide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

figcaption {
  position: absolute;
  inset: auto auto 0 0;
  padding: 16px 20px;
  color: var(--white);
  background: rgba(8, 10, 11, 0.88);
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.sunshade-gallery {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sunshade-gallery figure {
  height: 420px;
}

.sunshade-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-photo img {
  transform: translate3d(0, var(--product-shift), 0) scale(1.08);
  will-change: transform;
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--red);
}

.page-hero {
  min-height: 540px;
  padding: 180px 5vw 75px;
  display: grid;
  align-content: end;
  background-color: #111416;
  background-image:
    linear-gradient(90deg, rgba(8, 10, 11, 0.76), rgba(8, 10, 11, 0.08)),
    var(--page-image, linear-gradient(135deg, #252b2e, #080a0b));
  background-position: center calc(50% + var(--page-shift));
  background-repeat: no-repeat;
  background-size: cover;
}

.page-team .page-hero {
  --page-image: url("../images/hero.jpg");
}

.page-competition .page-hero {
  --page-image: url("../images/match.jpg");
}

.page-journal .page-hero {
  --page-image: url("../images/rattle.jpg");
}

.page-sunshade .page-hero {
  --page-image: url("../images/sunshade-wide.jpg");
}

.page-contact .page-hero {
  --page-image: url("../images/hero.jpg");
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(68px, 8vw, 126px);
}

.page-hero p:last-child {
  max-width: 680px;
  margin: 28px 0 0;
  color: #d5d5d2;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

.content-section {
  padding: 80px 5vw;
}

.content-section.paper {
  color: var(--black);
  background: var(--paper);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(45px, 7vw, 110px);
  align-items: center;
}

.content-grid.reverse > :first-child {
  order: 2;
}

.content-grid img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.content-grid .team-history-image {
  object-position: center top;
}

.history-figure {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--charcoal);
}

.history-figure figcaption {
  inset: auto auto 0 0;
  max-width: calc(100% - 24px);
}

.content-copy h2,
.section-heading h2 {
  font-size: clamp(46px, 5.5vw, 84px);
  line-height: 0.9;
}

.content-copy p,
.article-card p,
.contact-copy p {
  color: #b9bcbd;
  font-size: 16px;
  line-height: 1.75;
}

.paper .content-copy p,
.paper .article-card p {
  color: #555651;
}

.section-heading {
  margin-bottom: 44px;
}

.team-grid,
.article-grid,
.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.team-card,
.article-card,
.stage-card {
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--charcoal);
}

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

.team-card figcaption,
.article-card,
.stage-card {
  position: static;
  padding: 22px;
}

.team-card strong,
.stage-card strong {
  display: block;
  text-transform: uppercase;
  font: 700 27px/1 "Oswald", "Arial Narrow", Impact, sans-serif;
  letter-spacing: 0.02em;
}

.team-card span,
.stage-card span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.stage-card {
  min-height: 240px;
  display: grid;
  align-content: space-between;
  border-top: 4px solid var(--red);
}

.stage-card .yardage {
  color: transparent;
  -webkit-text-stroke: 1px #8d9091;
  font: 700 74px/1 "Oswald", Impact, sans-serif;
}

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

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.article-card h2 {
  margin: 6px 0 18px;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 0.95;
}

.article-card .date {
  color: var(--red);
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(45px, 8vw, 120px);
}

.contact-card {
  padding: clamp(28px, 4vw, 55px);
  color: var(--black);
  background: var(--paper);
}

.contact-card label,
.contact-card input,
.contact-card textarea {
  display: block;
  width: 100%;
}

.contact-card label {
  margin: 20px 0 8px;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.contact-card input,
.contact-card textarea {
  padding: 14px;
  border: 1px solid #bbb8b0;
  border-radius: 0;
  background: #fff;
  font: inherit;
}

.contact-card textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-card .button {
  width: auto;
  margin-top: 24px;
  color: var(--white);
  border: 0;
  cursor: pointer;
}

footer {
  min-height: 185px;
  padding: 42px 5vw;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1.4fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--rule);
  background: #050606;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.footer-brand {
  display: grid;
  gap: 5px;
}

.footer-brand span,
.footer-details p,
.footer-details small {
  color: #96999b;
}

.footer-details {
  text-align: center;
}

.footer-details p {
  margin: 0 0 9px;
}

.footer-details small {
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

.footer-connect {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.footer-email {
  text-transform: none;
  letter-spacing: 0.08em;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.social-links a {
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--rule);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--white);
  border-color: var(--red);
  background: rgba(226, 59, 50, 0.14);
}

.social-links svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .location {
    display: none;
  }

  .site-nav {
    gap: 20px;
  }

  .hero-index {
    display: none;
  }

  .hero-copy {
    width: min(850px, 92vw);
  }
}

@media (min-width: 741px) {
  .hero h1,
  .page-hero h1 {
    white-space: nowrap;
    text-wrap: nowrap;
  }
}

@media (max-width: 740px) {
  html {
    scroll-padding-top: 92px;
  }

  .site-header {
    position: fixed;
    min-height: auto;
    padding: 16px 22px;
    grid-template-columns: 1fr auto;
    gap: 12px;
    background: var(--black);
  }

  .header-lockup {
    width: min(190px, 58vw);
  }

  .menu-button {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    border: 0;
    background: transparent;
    text-transform: uppercase;
    font: 800 9px/1 Arial, sans-serif;
    letter-spacing: 0.18em;
  }

  .menu-button i,
  .menu-button i::before,
  .menu-button i::after {
    width: 20px;
    height: 2px;
    display: block;
    background: currentColor;
  }

  .menu-button i {
    position: relative;
  }

  .menu-button i::before,
  .menu-button i::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-button i::before {
    top: -6px;
  }

  .menu-button i::after {
    top: 6px;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--rule);
  }

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

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--rule);
  }

  .hero {
    min-height: 620px;
    padding: 90px 22px 60px;
    width: 100%;
    max-width: 100vw;
    background: #111416 url("../images/hero.jpg") center 42% / cover no-repeat;
  }

  .hero-copy,
  .course-strip,
  .course-strip > *,
  .team-intro > *,
  .match-story > *,
  .sunshade > *,
  .sunshade-gallery > * {
    min-width: 0;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(6, 8, 9, 0.94) 0%, rgba(6, 8, 9, 0.32) 100%),
      linear-gradient(90deg, rgba(6, 8, 9, 0.55), transparent);
  }

  .hero-image {
    display: none;
  }

  .hero-image,
  .product-photo img {
    transform: none;
    will-change: auto;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(52px, 16vw, 72px);
    line-height: 0.9;
    transform: none;
  }

  h1 span {
    -webkit-text-stroke-width: 1.25px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .course-strip {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    grid-template-columns: repeat(3, 1fr);
  }

  .course-title {
    grid-column: 1 / -1;
    padding: 22px;
    border-bottom: 1px solid #bbb8b0;
  }

  .distance {
    padding: 22px 15px;
    min-width: 0;
  }

  .distance strong {
    font-size: 39px;
  }

  .distance small {
    overflow-wrap: anywhere;
  }

  .team-intro,
  .match-story {
    grid-template-columns: 1fr;
    padding: 55px 22px;
  }

  .story-image {
    min-height: 260px;
  }

  .sunshade {
    padding: 58px 22px;
  }

  .sunshade-wide,
  .sunshade-wide img {
    min-height: 330px;
    height: 330px;
  }

  .sunshade-gallery {
    grid-template-columns: 1fr;
  }

  .sunshade-gallery figure {
    height: 420px;
  }

  .page-hero {
    min-height: 480px;
    padding: 125px 22px 55px;
  }

  .page-hero h1 {
    font-size: clamp(58px, 18vw, 88px);
  }

  .content-section {
    padding: 55px 22px;
  }

  .content-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .content-grid.reverse > :first-child {
    order: initial;
  }

  .team-grid,
  .article-grid,
  .stage-grid {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 35px 22px;
  }

  .footer-details {
    text-align: left;
  }

  .footer-connect {
    justify-items: start;
  }

  .social-links {
    justify-content: flex-start;
  }
}

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

  .hero-image,
  .product-photo img {
    transform: none;
    will-change: auto;
  }
}
