/* Shared by the gate and the site: fonts, brand tokens, buttons, the lane-rope motif.
   RTL-only page: spacing uses logical properties. clip-path / gradient angles are physical by nature. */

@font-face {
  font-family: "Reem Kufi"; font-weight: 700; font-style: normal; font-display: swap;
  src: url(/assets/fonts/reem-kufi-arabic-700-normal.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Reem Kufi"; font-weight: 700; font-style: normal; font-display: swap;
  src: url(/assets/fonts/reem-kufi-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-style: normal; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-style: normal; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-weight: 500; font-style: normal; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-weight: 500; font-style: normal; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-style: normal; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-style: normal; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* the club's logo teal is #023e46; everything else is a step around it */
  --teal-950: #02262b;
  --teal-900: #032f35;
  --teal-800: #023e46;
  --teal-700: #0a5560;
  --teal-600: #136b78;
  --aqua: #4fd6e6;
  --gold: #f2c14e;
  --red: #d3202f;
  --red-hot: #e63a49;
  --silver: #dfe6e8;
  --ink: #eaf3f4;
  --muted: #a6c0c4;
  --fb: #1465d6; /* Facebook blue, darkened a notch so white button text reaches 4.5:1 */
  --font-display: "Reem Kufi", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--teal-800); color: var(--ink);
  font: 400 1.0625rem/1.8 var(--font-body); -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin-block: 0; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 54px; padding: .75rem 1.7rem; border-radius: 14px; border: 2px solid transparent;
  font: 700 1.05rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 28px -10px rgba(211, 32, 47, .75); }
.btn-red:hover { background: var(--red-hot); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; transform: translateY(-2px); }
.btn-fb { background: var(--fb); color: #fff; box-shadow: 0 10px 28px -10px rgba(24, 119, 242, .8); }
.btn-fb:hover { background: #3a8cff; transform: translateY(-2px); }

/* the lane rope from the pool, used as a divider and as the seam in the hero */
.rope {
  height: 12px; border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 46%, rgba(0, 0, 0, .3)),
    repeating-linear-gradient(90deg, var(--red) 0 22px, #f6f8f8 22px 44px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
