/* Courtside Culture — shared editorial styles */

html {
  scroll-padding-top: 5rem;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: #f9f9f7;
  color: #181919;
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
}

.editorial-line {
  height: 1px;
  background: rgba(24, 25, 25, 0.1);
  width: 100%;
}
.editorial-line-vertical {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: rgba(24, 25, 25, 0.1);
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hover-lift:hover {
  transform: translateY(-4px);
}

/* Brand logo */
.brand-logo {
  font-family: 'Archivo Narrow', serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #181919;
  text-transform: uppercase;
  line-height: 1;
  position: relative;
  padding-left: 16px;
  white-space: nowrap;
  display: inline-block;
  flex-shrink: 0;
}
.brand-logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 26px;
  background: #00daf3;
}
@media (min-width: 768px) {
  .brand-logo { font-size: 28px; padding-left: 18px; }
  .brand-logo::before { width: 8px; height: 32px; }
}
.brand-logo-footer {
  color: #ffffff;
  font-size: 32px;
}
.brand-logo-footer::before {
  height: 30px;
}

/* Nav */
.nav-link {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
  color: #444748;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.nav-link:hover {
  color: #181919;
  border-color: #00daf3;
}
.nav-link-active {
  color: #181919;
  border-bottom: 2px solid #181919;
}

.hamburger-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: #181919;
}
.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #181919;
}
.hamburger-icon::before { top: -7px; }
.hamburger-icon::after { top: 7px; }

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #f9f9f7;
  border-top: 1px solid rgba(24,25,25,0.08);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  max-height: 480px;
}
.mobile-nav-link {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
  color: #444748;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(24,25,25,0.06);
}
.mobile-nav-link-active {
  color: #181919;
  background: rgba(0, 218, 243, 0.08);
}

/* Footer links */
.footer-nav-link {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
}
.footer-nav-link:hover { color: #ffffff; }

.footer-legal-link {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}
.footer-legal-link:hover { color: #ffffff; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #181919;
  color: #ffffff;
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 0.25rem;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.btn-primary:hover {
  background: #00daf3;
  color: #181919;
}

/* Badges */
.badge-editors-pick {
  display: inline-block;
  background: #00daf3;
  color: #001f24;
  font-family: 'Geist', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 0.25rem;
}

/* Pull quotes (inline, light) */
.pull-quote {
  font-family: 'Archivo Narrow', serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1.4;
  color: #181919;
}

/* Pull quotes (dark, bold — article template) */
.pull-quote-dark {
  background: #181919;
  color: #ffffff;
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
  margin: 64px 0;
}
.pull-quote-dark blockquote {
  font-family: 'Archivo Narrow', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.3;
  color: #ffffff;
  position: relative;
  z-index: 1;
}
.pull-quote-dark cite {
  display: block;
  margin-top: 28px;
  font-family: 'Geist', sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  position: relative;
  z-index: 1;
}
.pull-quote-dark .quote-mark {
  display: block;
  font-family: 'Archivo Narrow', serif;
  font-weight: 700;
  color: #00daf3;
  font-size: 52px;
  line-height: 1;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.pull-quote-dark::after {
  content: "\201D";
  position: absolute;
  right: -20px;
  bottom: -160px;
  font-family: 'Archivo Narrow', serif;
  font-weight: 700;
  font-size: 340px;
  line-height: 1;
  color: #ffffff;
  opacity: 0.06;
  pointer-events: none;
}
@media (max-width: 767px) {
  .pull-quote-dark { padding: 40px 24px; }
  .pull-quote-dark blockquote { font-size: 22px; }
  .pull-quote-dark::after { font-size: 220px; bottom: -90px; }
}

/* Article hero */
.article-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 460px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
@media (min-width: 768px) {
  .article-hero { height: 88vh; }
}
.article-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15);
}
.article-hero .hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24,25,25,0.92) 0%, rgba(24,25,25,0.45) 45%, rgba(24,25,25,0.1) 75%, transparent 100%);
}
.article-hero-meta-item .meta-label {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.article-hero-meta-item .meta-value {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  color: #ffffff;
}

/* Drop cap on the article's opening paragraph */
.article-body > p:first-of-type::first-letter {
  font-family: 'Archivo Narrow', serif;
  font-weight: 700;
  font-size: 72px;
  line-height: 0.8;
  float: left;
  margin-right: 12px;
  margin-top: 6px;
  color: #181919;
}

/* Bento detail image pair */
.detail-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 48px 0;
}
@media (min-width: 768px) {
  .detail-pair { grid-template-columns: 1fr 1fr; }
}
.detail-pair figure {
  background: #ffffff;
  border: 1px solid rgba(24,25,25,0.08);
  overflow: hidden;
}
.detail-pair img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.165,0.84,0.44,1);
}
.detail-pair figure:hover img {
  transform: scale(1.05);
}
.detail-pair figcaption {
  padding: 16px;
}
.detail-pair .detail-eyebrow {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #00b8cc;
  display: block;
  margin-bottom: 4px;
}
.detail-pair .detail-title {
  font-family: 'Archivo Narrow', serif;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Spec box — bordered card with divided key/value rows */
.spec-box {
  border: 1px solid rgba(24,25,25,0.1);
  background: #ffffff;
  margin: 48px 0;
}
.spec-box-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(24,25,25,0.1);
  font-family: 'Archivo Narrow', serif;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.spec-box-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(24,25,25,0.06);
}
.spec-box-row:last-child { border-bottom: none; }
.spec-box-row .spec-key {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #595e6d;
  flex-shrink: 0;
}
.spec-box-row .spec-value {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  color: #181919;
  text-align: right;
}

/* Article product card (Related Gear) */
.gear-card {
  background: #ffffff;
  border: 1px solid rgba(24,25,25,0.06);
  transition: border-color 0.3s ease;
}
.gear-card:hover {
  border-color: rgba(24,25,25,0.2);
}
.gear-card .gear-card-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eeeeec;
}
.gear-card .gear-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.165,0.84,0.44,1);
}
.gear-card:hover .gear-card-img img {
  transform: scale(1.06);
}
.gear-card .gear-card-body { padding: 24px; }
.btn-outline {
  display: block;
  width: 100%;
  text-align: center;
  border: 1px solid #181919;
  color: #181919;
  background: transparent;
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 14px 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.btn-outline:hover {
  background: #181919;
  color: #ffffff;
}

/* Reading progress bar */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #00daf3;
  z-index: 60;
  transition: width 0.1s ease-out;
}

/* Article body typography */
.article-body h2 {
  font-family: 'Archivo Narrow', serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  margin-top: 56px;
  margin-bottom: 20px;
}
.article-body h3 {
  font-family: 'Archivo Narrow', serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  margin-top: 36px;
  margin-bottom: 14px;
}
.article-body p {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #2b2c2c;
  margin-bottom: 22px;
}
.article-body ul, .article-body ol {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #2b2c2c;
  margin-bottom: 22px;
  padding-left: 1.4rem;
}
.article-body li { margin-bottom: 8px; }
.article-body strong { color: #181919; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-family: 'Geist', sans-serif;
  font-size: 15px;
}
.article-body table th, .article-body table td {
  border: 1px solid #c4c7c7;
  padding: 12px 14px;
  text-align: left;
}
.article-body table th {
  background: #eeeeec;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
  font-weight: 700;
}

/* Product CTA box */
.product-cta {
  background: #eeeeec;
  border: 1px solid rgba(24,25,25,0.08);
  border-radius: 0.5rem;
  padding: 28px;
  margin: 40px 0;
}

/* Reveal-on-scroll (progressive enhancement: JS adds .reveal-init on load,
   so content stays fully visible if JavaScript is disabled) */
.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.165,0.84,0.44,1);
}
.reveal-init.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Grayscale hover-to-color */
.grayscale-hover {
  filter: grayscale(0.5);
  transition: filter 0.5s ease;
}
.group:hover .grayscale-hover {
  filter: grayscale(0);
}

@media (max-width: 767px) {
  .pull-quote { font-size: 22px; }
}
