/* ==========================================================================
   QTSPBF — Doha Sunlit Luxury & Kinetic Championship Gateway
   Pearl Alabaster + Royal Al-Adaam Maroon + Sunlit Gold + Sculptural Emblems
   ========================================================================== */

@font-face {
  font-family: "Lusail";
  src: url("fonts/Lusail-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lusail";
  src: url("fonts/Lusail-Medium.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lusail";
  src: url("fonts/Lusail-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-canvas: #fbf6f0;
  --bg-pearl: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.78);

  --ink-primary: #1c1017;
  --ink-secondary: #53404c;
  --ink-muted: #76606e;

  --maroon: #8e1537;
  --maroon-vibrant: #b91c49;
  --maroon-deep: #5e0b24;

  --gold: #c69132;
  --gold-bright: #e9c16c;
  --gold-soft: #f9eed4;

  --atp-navy: #033060;
  --atp-cobalt: #0c4d8f;
  --wta-plum: #500055;
  --wta-orchid: #7a0c82;

  --border-pearl: rgba(142, 21, 55, 0.12);
  --shadow-soft: 0 20px 50px rgba(72, 22, 42, 0.08);
  --shadow-lift: 0 32px 72px rgba(72, 22, 42, 0.16);

  --font-editorial: "Lusail", system-ui, -apple-system, sans-serif;
  --font-ui: "Lusail", system-ui, -apple-system, sans-serif;

  --radius-xl: 1.85rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  background-color: var(--bg-canvas);
}

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

body {
  margin: 0;
  min-block-size: 100dvb;
  font-family: var(--font-ui);
  color: var(--ink-primary);
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, #fffdf9 0%, #fbf5ee 52%, #f4eadf 100%);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
canvas {
  display: block;
}

picture {
  display: contents;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Visually hidden utility */
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  inline-size: 1px !important;
  block-size: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link:focus-visible {
  position: fixed;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--maroon);
  color: #ffffff;
  font-weight: 700;
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
}

:where(a:any-link, button):focus-visible {
  outline: 3px solid var(--maroon);
  outline-offset: 3px;
}

/* ==========================================================================
   Sunlit Kinetic Canvas & Liquid Silk Color Auras
   ========================================================================== */

.court-canvas {
  position: fixed;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  z-index: -2;
  pointer-events: none;
}

.silk-auras {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: clip;
}

.silk-blob {
  position: absolute;
  border-radius: 50%;
  /* Pre-feathered radial gradients replace real-time filter: blur(95px) for far lower GPU cost */
  will-change: transform;
}

.silk-blob--maroon {
  inline-size: 56vmax;
  block-size: 56vmax;
  inset-block-start: -22vmax;
  inset-inline-start: -14vmax;
  background: radial-gradient(
    circle,
    rgba(185, 28, 73, 0.2) 0%,
    rgba(185, 28, 73, 0.08) 38%,
    rgba(185, 28, 73, 0) 70%
  );
}

.silk-blob--gold {
  inline-size: 52vmax;
  block-size: 52vmax;
  inset-block-start: -12vmax;
  inset-inline-end: -14vmax;
  background: radial-gradient(
    circle,
    rgba(233, 185, 82, 0.28) 0%,
    rgba(233, 185, 82, 0.11) 38%,
    rgba(233, 185, 82, 0) 70%
  );
}

.silk-blob--orchid {
  inline-size: 50vmax;
  block-size: 50vmax;
  inset-block-end: -16vmax;
  inset-inline-end: 4%;
  background: radial-gradient(
    circle,
    rgba(154, 48, 178, 0.14) 0%,
    rgba(154, 48, 178, 0.05) 38%,
    rgba(154, 48, 178, 0) 70%
  );
}

.silk-blob--azure {
  inline-size: 48vmax;
  block-size: 48vmax;
  inset-block-end: -14vmax;
  inset-inline-start: 2%;
  background: radial-gradient(
    circle,
    rgba(16, 118, 198, 0.13) 0%,
    rgba(16, 118, 198, 0.05) 38%,
    rgba(16, 118, 198, 0) 70%
  );
}

@media (prefers-reduced-motion: no-preference) {
  body:not(.motion-paused) .silk-blob--maroon {
    animation: silkDriftA 18s ease-in-out infinite alternate;
  }
  body:not(.motion-paused) .silk-blob--gold {
    animation: silkDriftB 21s ease-in-out infinite alternate;
  }
  body:not(.motion-paused) .silk-blob--orchid {
    animation: silkDriftA 25s ease-in-out infinite alternate-reverse;
  }
  body:not(.motion-paused) .silk-blob--azure {
    animation: silkDriftB 23s ease-in-out infinite alternate-reverse;
  }
}

@keyframes silkDriftA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, 3vh, 0) scale(1.1); }
}

@keyframes silkDriftB {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4vw, 4vh, 0) scale(1.08); }
}

/* ==========================================================================
   Floating Pearl Glass Header
   ========================================================================== */

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 60;
  padding: 0.9rem clamp(1rem, 3vw, 2.5rem) 0;
}

.site-header__inner {
  max-inline-size: 1320px;
  margin-inline: auto;
  display: flex;
  align-items: safe center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0.55rem 0.9rem 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 252, 248, 0.84);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(142, 21, 55, 0.14);
  box-shadow: 0 12px 34px rgba(72, 22, 42, 0.08), inset 0 1px 0 #ffffff;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-block-size: 38px;
}

.qatar-serrated {
  display: inline-flex;
  border-radius: 4px;
  overflow: clip;
  border: 1px solid rgba(142, 21, 55, 0.25);
  box-shadow: 0 2px 6px rgba(142, 21, 55, 0.14);
}

.brand-mark__name {
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: 0.1em;
  color: var(--maroon);
}

.brand-mark__city {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding-inline-start: 0.65rem;
  border-inline-start: 1px solid rgba(142, 21, 55, 0.18);
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-block-size: 38px;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--maroon);
  background-color: rgba(142, 21, 55, 0.08);
}

/* ==========================================================================
   Hero Stage & Floating Emblem Orbit
   ========================================================================== */

.hero {
  position: relative;
  padding-block: clamp(2rem, 4.5vh, 3.5rem) 0;
}

.hero__inner {
  max-inline-size: 1120px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.2rem;
  padding: 0.42rem 1.05rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(198, 145, 50, 0.38);
  box-shadow: 0 6px 20px rgba(198, 145, 50, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--maroon);
}

.hero__kicker-dot {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon-vibrant), var(--gold));
  box-shadow: 0 0 10px rgba(185, 28, 73, 0.55);
}

.hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-wrap: balance;
}

.hero__welcome {
  font-family: var(--font-ui);
  font-size: clamp(0.95rem, 0.7rem + 0.5vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__headline {
  font-family: var(--font-editorial);
  font-size: clamp(2.35rem, 1.35rem + 3.2vw, 4.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.hero__headline em {
  font-style: normal;
  background: linear-gradient(115deg, var(--maroon) 0%, #c82254 45%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  body:not(.motion-paused) .hero__headline em {
    animation: royalShimmer 8s ease-in-out infinite;
  }
}

@keyframes royalShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__lead {
  max-inline-size: 58ch;
  margin: 1.2rem auto 1.75rem;
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.16rem);
  color: var(--ink-secondary);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-wrap: balance;
  gap: 0.9rem;
  margin-block-end: 2.25rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-block-size: 50px;
  padding: 0.8rem 1.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 0.25s var(--ease-expo), box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--maroon-vibrant) 0%, var(--maroon) 58%, var(--maroon-deep) 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(142, 21, 55, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(142, 21, 55, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--maroon);
  border: 1.5px solid rgba(198, 145, 50, 0.55);
  box-shadow: 0 10px 24px rgba(198, 145, 50, 0.14);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: var(--maroon);
  box-shadow: 0 16px 32px rgba(142, 21, 55, 0.16);
}

/* Sculptural Floating Emblem Constellation in Hero */
.emblem-orbit {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-wrap: balance;
  gap: clamp(0.75rem, 1.8vw, 1.35rem);
  margin-block-end: clamp(2.25rem, 4.5vh, 3.25rem);
}

.orbit-medallion {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.05rem;
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(142, 21, 55, 0.12);
  box-shadow: 0 14px 32px rgba(72, 22, 42, 0.08), inset 0 1px 0 #ffffff;
  backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease-expo), box-shadow 0.35s ease, border-color 0.25s ease;
}

.orbit-medallion img {
  inline-size: 54px;
  block-size: 54px;
  object-fit: contain;
  transition: transform 0.35s var(--ease-expo);
}

.orbit-medallion--qtf img,
.orbit-medallion--atp img {
  border-radius: 50%;
}

.orbit-medallion span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-secondary);
  letter-spacing: 0.02em;
}

.orbit-medallion:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: rgba(142, 21, 55, 0.35);
  box-shadow: 0 22px 44px rgba(142, 21, 55, 0.16);
}

.orbit-medallion:hover img {
  transform: scale(1.08) rotate(-4deg);
}

@media (prefers-reduced-motion: no-preference) {
  body:not(.motion-paused) .orbit-medallion {
    animation: gentleBob 5.5s ease-in-out infinite;
  }
  body:not(.motion-paused) .orbit-medallion:nth-child(2) { animation-delay: -1.1s; }
  body:not(.motion-paused) .orbit-medallion:nth-child(3) { animation-delay: -2.2s; }
  body:not(.motion-paused) .orbit-medallion:nth-child(4) { animation-delay: -3.3s; }
  body:not(.motion-paused) .orbit-medallion:nth-child(5) { animation-delay: -4.4s; }
}

@keyframes gentleBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

/* Kinetic Silk Ribbon Marquee */
.marquee {
  position: relative;
  overflow: clip;
  background: linear-gradient(90deg, var(--maroon-deep), var(--maroon), #a91a44, var(--maroon-deep));
  padding-block: 0.85rem;
  box-shadow: 0 10px 30px rgba(142, 21, 55, 0.18);
}

.marquee__track {
  display: flex;
  inline-size: max-content;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding-inline-end: 1.8rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff8f2;
}

.marquee__star {
  color: var(--gold-bright);
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: no-preference) {
  body:not(.motion-paused) .marquee__track {
    animation: marqueeFlow 34s linear infinite;
  }
}

@keyframes marqueeFlow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.portal-section {
  max-inline-size: 1320px;
  margin-inline: auto;
  padding: clamp(3.5rem, 6.5vh, 5rem) clamp(1.25rem, 4vw, 2.5rem) 0;
  scroll-margin-top: 5.5rem;
}

.section-heading {
  max-inline-size: 760px;
  margin-block-end: clamp(2rem, 3.8vh, 2.75rem);
}

.section-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(142, 21, 55, 0.1);
  border: 1px solid rgba(142, 21, 55, 0.22);
  color: var(--maroon);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-block-end: 0.8rem;
}

.section-pill--gold {
  background: rgba(198, 145, 50, 0.16);
  border-color: rgba(198, 145, 50, 0.36);
  color: #7d5613;
}

.section-heading h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-editorial);
  font-size: clamp(1.9rem, 1.25rem + 2vw, 2.95rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  text-wrap: balance;
}

.section-heading h2 em {
  font-style: normal;
  color: var(--maroon);
}

.section-heading p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 1.03rem;
  text-wrap: pretty;
}

/* ==========================================================================
   National Federation Cards (Luminous Marble & Floating Emblems)
   ========================================================================== */

.cards-grid {
  display: grid;
  gap: clamp(1.35rem, 2.4vw, 1.9rem);
  align-items: stretch;
}

.cards-grid--federations {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 315px), 1fr));
}

.cards-grid--tournaments {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.portal-card {
  --accent: #8e1537;
  --accent-soft: rgba(142, 21, 55, 0.16);
  --aura-grad: linear-gradient(135deg, rgba(185, 28, 73, 0.22), rgba(233, 193, 108, 0.26));
  --mx: 50%;
  --my: 0%;

  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 1.15rem;
  container: card / inline-size;

  padding: clamp(1.45rem, 2.6vw, 1.9rem);
  border-radius: var(--radius-xl);
  scroll-margin-top: 7.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(142, 21, 55, 0.13);
  box-shadow: var(--shadow-soft), inset 0 1px 0 #ffffff;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: clip;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease-expo), box-shadow 0.35s ease, border-color 0.25s ease;
}

.portal-card--tennis {
  --accent: #8e1537;
  --accent-soft: rgba(185, 28, 73, 0.2);
  --aura-grad: linear-gradient(135deg, rgba(185, 28, 73, 0.22) 0%, rgba(233, 193, 108, 0.28) 100%);
}

.portal-card--squash {
  --accent: #a66a07;
  --accent-soft: rgba(235, 179, 24, 0.25);
  --aura-grad: linear-gradient(135deg, rgba(246, 200, 38, 0.28) 0%, rgba(142, 21, 55, 0.18) 100%);
}

.portal-card--padel {
  --accent: #0f766e;
  --accent-soft: rgba(20, 184, 166, 0.22);
  --aura-grad: linear-gradient(135deg, rgba(20, 184, 166, 0.22) 0%, rgba(142, 21, 55, 0.18) 100%);
}

/* Vivid Decorative Color Wash at Top of Card */
.portal-card__aura {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  block-size: 132px;
  background: var(--aura-grad);
  mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
  pointer-events: none;
}

.portal-card__spotlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    380px circle at var(--mx) var(--my),
    var(--accent-soft),
    transparent 65%
  );
  transition: opacity 0.3s ease;
}

.portal-card:hover .portal-card__spotlight,
.tour-card:hover .portal-card__spotlight {
  opacity: 1;
}

/* Stretched primary link pattern + independent social buttons above */
.portal-card a.card-link::after,
.tour-card a.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

:is(.portal-card, .tour-card):has(a.card-link) a:not(.card-link),
:is(.portal-card, .tour-card):has(a.card-link) button {
  position: relative;
  z-index: 1;
}

:is(.portal-card, .tour-card) a.card-link:focus-visible {
  outline: none;
}

:is(.portal-card, .tour-card):has(a.card-link:focus-visible) {
  outline: 3px solid var(--maroon);
  outline-offset: 4px;
}

.portal-card:has(a.card-link:hover),
.portal-card:hover {
  border-color: color-mix(in oklab, var(--accent) 45%, white);
  box-shadow: var(--shadow-lift), 0 0 0 1px color-mix(in oklab, var(--accent) 20%, transparent);
}

.portal-card:target {
  border-color: var(--maroon);
  box-shadow: var(--shadow-lift), 0 0 0 3px rgba(142, 21, 55, 0.22);
}

.tour-card:target {
  box-shadow: 0 34px 72px rgba(24, 16, 48, 0.36), 0 0 0 3px var(--gold-bright);
}

/* Sculptural Emblem Stage */
.emblem-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-block-size: 122px;
}

.emblem-pedestal {
  position: relative;
  display: grid;
  place-items: center;
  inline-size: 118px;
  block-size: 118px;
  border-radius: 2rem;
  background: linear-gradient(145deg, #ffffff 0%, #fcf6f0 100%);
  border: 1px solid rgba(142, 21, 55, 0.14);
  box-shadow:
    0 18px 34px rgba(72, 22, 42, 0.12),
    inset 0 2px 0 #ffffff;
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s ease;
}

.emblem-ring {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, var(--maroon), var(--gold-bright), var(--accent), var(--maroon));
  z-index: -1;
  opacity: 0.22;
  filter: blur(6px);
  transition: opacity 0.35s ease;
}

.portal-card:hover .emblem-pedestal {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 24px 42px rgba(142, 21, 55, 0.18);
}

.portal-card:hover .emblem-ring {
  opacity: 0.58;
}

.emblem-img {
  inline-size: 86px;
  block-size: 86px;
  object-fit: contain;
  transition: transform 0.45s var(--ease-expo);
}

.emblem-img--round {
  border-radius: 50%;
}

.emblem-img--qsf {
  inline-size: 92px;
  block-size: 76px;
}

.emblem-img--qpf {
  inline-size: 86px;
  block-size: 86px;
}

@media (prefers-reduced-motion: no-preference) {
  .portal-card:hover .emblem-img {
    transform: scale(1.08) rotate(-4deg);
  }
}

.sport-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(142, 21, 55, 0.16);
  color: var(--maroon);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(72, 22, 42, 0.06);
}

.portal-card__header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.portal-card__header h3 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.32rem, 1.12rem + 0.8cqi, 1.62rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

.portal-card__url {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--maroon);
}

.url-arrow {
  display: inline-flex;
  transition: transform 0.25s var(--ease-expo);
}

.portal-card:hover .url-arrow,
.tour-card:hover .url-arrow {
  transform: translate(3px, -3px);
}

.portal-card__desc {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.portal-card__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: safe center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-block-start: 1rem;
  border-block-start: 1px solid rgba(142, 21, 55, 0.1);
}

.social-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.social-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-inline-size: 44px;
  min-block-size: 38px;
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-pill);
  background: #f8f1ec;
  border: 1px solid rgba(142, 21, 55, 0.14);
  color: var(--ink-primary);
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.22s var(--ease-expo), background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

@media (pointer: coarse) {
  .social-chip {
    min-block-size: 44px;
    padding-inline: 0.95rem;
  }
}

.social-chip:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.social-chip--fb:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 8px 18px rgba(24, 119, 242, 0.3);
}

.social-chip--ig:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(221, 42, 123, 0.32);
}

.social-chip--x:hover {
  background: #141216;
  border-color: #141216;
  box-shadow: 0 8px 18px rgba(20, 18, 22, 0.28);
}

/* ==========================================================================
   World Tour Tournament Cards (Luminous Jewel Showcase Cards)
   ========================================================================== */

.tour-card {
  --accent-soft: rgba(255, 255, 255, 0.16);
  --mx: 50%;
  --my: 0%;

  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 1.25rem;
  container: card / inline-size;

  padding: clamp(1.75rem, 3.2vw, 2.35rem);
  border-radius: calc(var(--radius-xl) + 0.15rem);
  scroll-margin-top: 7.5rem;
  overflow: clip;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease-expo), box-shadow 0.35s ease;
}

.tour-card--atp {
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 14%, rgba(96, 175, 255, 0.38), transparent 45%),
    radial-gradient(circle at 12% 92%, rgba(229, 193, 118, 0.22), transparent 50%),
    linear-gradient(140deg, #062b56 0%, #0a4685 52%, #072244 100%);
  border: 1px solid rgba(152, 204, 255, 0.32);
  box-shadow: 0 26px 56px rgba(3, 48, 96, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.tour-card--wta {
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 14%, rgba(232, 134, 245, 0.34), transparent 45%),
    radial-gradient(circle at 12% 92%, rgba(233, 193, 108, 0.22), transparent 50%),
    linear-gradient(140deg, #500055 0%, #750a7c 52%, #39003d 100%);
  border: 1px solid rgba(244, 180, 255, 0.34);
  box-shadow: 0 26px 56px rgba(80, 0, 85, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.tour-card:hover {
  box-shadow: 0 34px 72px rgba(24, 16, 48, 0.34);
}

.tour-card__sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.14) 48%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 0.85s var(--ease-expo);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .tour-card:hover .tour-card__sheen {
    transform: translateX(120%);
  }
}

.tour-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.tour-emblem-shell {
  display: grid;
  place-items: center;
  inline-size: 122px;
  block-size: 122px;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24), inset 0 1px 0 #ffffff;
  transition: transform 0.4s var(--ease-expo);
}

.tour-emblem-shell--atp {
  padding: 11px;
}

.tour-emblem-shell--wta {
  padding: 14px;
}

.tour-card:hover .tour-emblem-shell {
  transform: translateY(-4px) scale(1.05);
}

.tour-emblem-img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.tour-emblem-img--round {
  border-radius: 50%;
}

.tour-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.tour-card__header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tour-card__header h3 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 1.2rem + 1cqi, 1.95rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.tour-card__url {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.tour-card__desc {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.tour-card__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: safe center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-block-start: 1.1rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.2);
}

.tour-social-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.ig-handle-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-block-size: 42px;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease-expo), background-color 0.25s ease, box-shadow 0.25s ease;
}

.ig-handle-pill:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.tour-card:has(a.card-link:focus-visible) {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

.tour-card a:focus-visible {
  outline-color: var(--gold-bright);
}

/* ==========================================================================
   Supplier Portal Royal Maroon & Champagne Gold Banner
   ========================================================================== */

.portal-section--supplier {
  padding-block-end: clamp(3.5rem, 7vh, 5.5rem);
}

.supplier-ribbon {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2rem, 4.5vw, 3.2rem);
  border-radius: calc(var(--radius-xl) + 0.25rem);
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 18%, rgba(233, 193, 108, 0.32), transparent 46%),
    radial-gradient(circle at 90% 82%, rgba(255, 92, 138, 0.28), transparent 48%),
    linear-gradient(130deg, var(--maroon-deep) 0%, var(--maroon) 52%, #71102d 100%);
  border: 1px solid rgba(233, 193, 108, 0.45);
  box-shadow: 0 28px 64px rgba(142, 21, 55, 0.24), inset 0 1px 0 rgba(255, 240, 206, 0.32);
  overflow: clip;
}

.supplier-ribbon__orb {
  position: absolute;
  inset-inline-end: -8%;
  inset-block-start: -45%;
  inline-size: 380px;
  block-size: 380px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(249, 238, 212, 0.28), rgba(233, 193, 108, 0.26), transparent);
  filter: blur(36px);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  body:not(.motion-paused) .supplier-ribbon__orb {
    animation: slowOrbit 20s linear infinite;
  }
}

@keyframes slowOrbit {
  to { transform: rotate(360deg); }
}

.supplier-ribbon__body {
  position: relative;
  z-index: 1;
}

.supplier-ribbon__tag {
  display: inline-flex;
  padding: 0.32rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(249, 238, 212, 0.32);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-block-end: 0.9rem;
}

.supplier-ribbon h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-editorial);
  font-size: clamp(1.85rem, 1.25rem + 1.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  color: #ffffff;
}

.supplier-ribbon h2 em {
  font-style: normal;
  color: var(--gold-bright);
}

.supplier-ribbon p {
  margin: 0;
  max-inline-size: 56ch;
  color: rgba(255, 246, 240, 0.88);
  font-size: 1rem;
  text-wrap: pretty;
}

.supplier-ribbon__cta {
  position: relative;
  z-index: 1;
}

.supplier-button {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.05rem 1.55rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #fff6e2 0%, #f1cf84 55%, #dba847 100%);
  color: #2b0a14;
  box-shadow: 0 18px 36px rgba(32, 6, 14, 0.28), inset 0 1px 0 #ffffff;
  transition: transform 0.3s var(--ease-expo), box-shadow 0.3s ease;
}

.supplier-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 24px 48px rgba(32, 6, 14, 0.38), inset 0 1px 0 #ffffff;
}

.supplier-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.supplier-button__copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.supplier-button__copy strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.supplier-button__copy small {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.78;
}

.supplier-button__circle {
  display: grid;
  place-items: center;
  inline-size: 42px;
  block-size: 42px;
  border-radius: 50%;
  background: rgba(94, 11, 36, 0.14);
  transition: transform 0.3s var(--ease-expo);
}

.supplier-button:hover .supplier-button__circle {
  transform: translateX(4px);
}

@media (max-width: 860px) {
  .supplier-ribbon {
    grid-template-columns: 1fr;
  }
  .supplier-button {
    inline-size: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   Scroll-Driven Entry Animations (Progressive Enhancement)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes revealRise {
      from {
        opacity: 0.01;
        transform: translateY(32px) scale(0.98);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .reveal-item {
      animation: revealRise auto linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }
  }
}

.reveal-item.js-reveal-pending {
  opacity: 0.01;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.65s var(--ease-expo), transform 0.65s var(--ease-expo);
}

.reveal-item.js-reveal-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   Footer & Forced Colors Support
   ========================================================================== */

.site-footer {
  border-block-start: 1px solid rgba(142, 21, 55, 0.12);
  background: rgba(255, 252, 248, 0.85);
}

.site-footer__inner {
  max-inline-size: 1320px;
  margin-inline: auto;
  padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: safe center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer__brand,
.site-footer__copy {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.site-footer__brand strong {
  color: var(--maroon);
  font-weight: 800;
}

@media (max-width: 680px) {
  .portal-section {
    scroll-margin-top: 8.5rem;
  }
  .portal-card,
  .tour-card {
    scroll-margin-top: 9.5rem;
  }
  .site-header__inner {
    border-radius: 1.35rem;
    justify-content: center;
  }
  .site-nav {
    order: 3;
    inline-size: 100%;
    display: flex;
    justify-content: center;
  }
}

@media (forced-colors: active) {
  .portal-card,
  .tour-card,
  .supplier-ribbon,
  .orbit-medallion,
  .social-chip,
  .ig-handle-pill {
    border: 1px solid CanvasText;
  }
  .hero__headline em {
    background: none;
    color: CanvasText;
  }
}
