/*!
 * FC Varesh — Premium RTL Design
 * Elegant sports club aesthetic with rich typography and layered depth
 */

/* ─── Tokens — FC Varesh blue (logo-led, minimal) ─── */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink: #121826;
  --ink-soft: #2a3344;
  --muted: #667084;
  --brand: #0b6fb8;
  --brand-rgb: 11, 111, 184;
  --brand-light: #eaf3fa;
  --brand-strong: #1b2f8a;
  --brand-accent: #2aa9e0;
  --border: #e2e7ee;
  --border-light: #eef2f7;
  --inverse: #0b1220;
  --radius-sm: 0.35rem;
  --radius: 0.55rem;
  --radius-lg: 0.85rem;
  --radius-xl: 1.1rem;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04);
  --shadow: 0 8px 24px rgba(11, 18, 32, 0.06);
  --shadow-lg: 0 18px 48px rgba(11, 18, 32, 0.09);
  --max: 1120px;
  --header-h: 4rem;
  --font: "Vazirmatn", system-ui, sans-serif;
  --display: "Vazirmatn", system-ui, sans-serif;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}
body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  position: relative;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.75;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  background:
    radial-gradient(ellipse 68% 42% at 50% -8%, rgba(var(--brand-rgb), 0.12), transparent 62%),
    radial-gradient(ellipse 50% 36% at 100% 100%, rgba(27, 47, 138, 0.06), transparent 55%),
    linear-gradient(180deg, #eef3f8 0%, var(--bg) 46%, #f8f9fb 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(var(--brand-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-rgb), 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, #000 30%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 76%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); cursor: pointer; }
a:hover { color: var(--brand); }
button {
  cursor: pointer;
  font: inherit;
  font-family: inherit;
}

/* ─── Layout ─── */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(245, 247, 250, 0.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.25rem;
}

.site-header__end {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-shrink: 0;
  justify-self: end;
  min-height: 2.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  justify-self: start;
  min-height: 2.6rem;
}

.brand__logo {
  width: auto;
  height: 2.35rem;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__text {
  line-height: 1;
}

.nav {
  display: none;
  gap: 1.15rem;
  align-items: center;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav-cta {
  color: var(--brand) !important;
  font-weight: 600 !important;
}

.lang-switch--mirror {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.2rem;
}

.nav-live {
  font-weight: 600 !important;
  color: #c62828 !important;
}

.nav-live::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.4rem;
  border-radius: 50%;
  background: #e53935;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.45);
  animation: live-pulse 1.6s ease-out infinite;
}

.nav-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: inherit;
  transition: background var(--transition), color var(--transition);
}

.nav-search:hover {
  background: rgba(15, 20, 17, 0.06);
  color: var(--ink);
}

.nav-search svg {
  display: block;
}

.nav-search--bar {
  display: inline-flex;
}

.nav-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0.35rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  cursor: pointer;
}

.nav-toggle__icon {
  width: 1.25rem;
  height: 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle__icon span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
  transform: translateY(0.35rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-0.35rem) rotate(-45deg);
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.45); }
  70% { box-shadow: 0 0 0 0.45rem rgba(229, 57, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

.mobile-nav {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}

.mobile-nav.is-open { display: block; }

.mobile-nav a {
  display: block;
  padding: 0.9rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background var(--transition);
}

.mobile-nav a:hover { background: var(--border-light); }

.mobile-nav .nav-live {
  color: #c62828 !important;
}

body.has-hero .mobile-nav,
body.is-home .mobile-nav {
  background: rgba(11, 18, 16, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.has-hero .mobile-nav a,
body.is-home .mobile-nav a {
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.has-hero .mobile-nav a:hover,
body.is-home .mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.has-hero .mobile-nav .nav-live,
body.is-home .mobile-nav .nav-live {
  color: #ff8a80 !important;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    justify-self: center;
  }
  .nav-toggle { display: none; }
  .nav-search--bar { display: none; }
  .mobile-nav { display: none !important; }
}

@media (max-width: 899px) {
  .nav { display: none; }
  .nav .nav-search { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-live::before,
  .nav-toggle__icon span {
    animation: none;
    transition: none;
  }
}

/* ─── Page Header ─── */
.page-header {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.page-header h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.page-header p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  max-width: 38rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── Section ─── */
.section {
  padding: 3rem 0 3.5rem;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: min(75vh, 36rem);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--inverse);
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 8s ease-out;
}

.hero:hover img {
  transform: scale(1.03);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.hero__content {
  position: relative;
  padding: 3rem 0 3.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero__content h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__content p {
  margin: 1rem 0 0;
  max-width: 30rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem 1.25rem;
  align-items: center;
}

/* ─── Buttons / Links ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.35rem;
  border-radius: 0.55rem;
  border: 0;
  background: var(--brand);
  color: #fff !important;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background var(--transition), transform var(--transition);
}

.btn:hover {
  background: var(--brand-strong);
}

.btn--outline {
  background: transparent;
  color: var(--brand) !important;
  border: 1px solid var(--brand);
}

.btn--outline:hover {
  background: var(--brand-light);
}

.btn--light {
  background: #fff;
  color: var(--ink) !important;
}

.btn--light:hover {
  background: #f2f4f1;
}

.btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

.text-link:hover {
  color: var(--brand);
}

.text-link--light {
  color: rgba(255, 255, 255, 0.88);
}

.text-link--light:hover {
  color: #fff;
}

.link-quiet {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-quiet:hover { color: #fff; }

/* ─── Grid Cards ─── */
.grid-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ─── News Card ─── */
.news-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: transparent;
}

.news-card__media {
  aspect-ratio: 16 / 10;
  background: var(--inverse);
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.05);
}

.news-card__body {
  padding: 1.1rem 1.25rem 1.35rem;
}

.news-card__body h3 {
  margin: 0.3rem 0 0;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* ─── Meta ─── */
.meta {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ─── Roster ─── */
.roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
}

@media (min-width: 700px) {
  .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .roster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.player-card {
  display: block;
  transition: transform var(--transition);
}

.player-card:hover { transform: translateY(-4px); }

.player-card__photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, #0d1210, #1a2520);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

.player-card:hover .player-card__photo {
  box-shadow: var(--shadow-lg);
}

.player-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.player-card h3 {
  margin: 0.7rem 0 0.2rem;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* ─── Toolbar ─── */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.toolbar form {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  min-width: min(100%, 16rem);
}

/* ─── Form Elements ─── */
input[type="search"],
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--border);
  background: transparent;
  padding: 0.75rem 0;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--brand);
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ─── List Row ─── */
.list-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-inline-start var(--transition);
}

.list-row:hover {
  padding-inline-start: 0.5rem;
}

.list-row strong {
  font-family: var(--display);
  font-weight: 700;
}

/* ─── Team Tile ─── */
.team-tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--inverse);
  color: #fff !important;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.team-tile:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.team-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.5s ease;
}

.team-tile:hover img { transform: scale(1.04); }

.team-tile span {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ─── Gallery ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .gallery-grid { gap: 1rem; }
}

@media (min-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.gallery-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--inverse);
  color: #fff !important;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.gallery-tile:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-tile:hover img { transform: scale(1.05); }

.gallery-tile span {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ─── Chips ─── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--transition);
}

.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.chip.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(var(--brand-rgb), 0.2);
}

/* ─── Prose ─── */
.prose {
  max-width: 42rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

.prose p { margin: 0; }
.prose p + p { margin-top: 1.25em; }

/* ─── Cover ─── */
.cover {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--inverse);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* ─── Player Hero (Detail) ─── */
.player-hero {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .player-hero {
    grid-template-columns: minmax(0, 18rem) 1fr;
    align-items: end;
  }
}

/* ─── Story Block ─── */
.story {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .story {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }
}

.story__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--inverse);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 860px) {
  .story__media {
    aspect-ratio: 5 / 4;
    min-height: 20rem;
  }
}

.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.story h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

/* ─── Table ─── */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

th, td {
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

th {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

td.is-varesh {
  font-weight: 800;
  color: var(--brand);
}

/* ─── Scoreboard ─── */
.scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1.25rem;
}

.scoreboard__score {
  font-family: var(--display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ─── Pagination ─── */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--transition);
}

.pagination a:hover {
  background: var(--border-light);
  color: var(--ink);
}

.pagination .is-active {
  background: var(--brand);
  color: #fff;
}

/* ─── Messages ─── */
.messages {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.messages li {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.messages .success {
  background: var(--brand-light);
  color: var(--brand-strong);
}

.messages .error {
  background: #fef2f2;
  color: #b42318;
}

/* ─── Footer ─── */
.site-footer {
  margin-top: 3.5rem;
  padding: 3rem 0 1.75rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.62) 100%);
  border-top: 1px solid rgba(16, 20, 17, 0.08);
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--ink-soft);
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--brand);
}

.site-footer__brand-block {
  max-width: 28rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.site-footer__logo {
  width: auto;
  height: 2.75rem;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.site-footer__tagline {
  margin: 0.85rem 0 0;
  line-height: 1.8;
  color: var(--muted);
}

.site-footer__meta {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.45fr 1fr;
    align-items: start;
  }
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  align-content: flex-start;
}

.site-footer__nav a {
  font-weight: 600;
  font-size: 0.88rem;
}

.site-footer__copy {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(16, 20, 17, 0.08);
  font-size: 0.76rem;
  color: var(--muted);
}

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__stage {
  position: relative;
  width: min(100%, 72rem);
  height: min(78svh, 48rem);
}

.lightbox__stage img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.75rem;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__close {
  top: 1rem;
  inset-inline-end: 1rem;
  min-height: 2.4rem;
  padding: 0.45rem 0.95rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  min-height: 2.5rem;
  padding: 0.5rem 0.9rem;
}

.lightbox__nav--prev {
  inset-inline-start: 1rem;
}

.lightbox__nav--next {
  inset-inline-end: 1rem;
}

.lightbox__meta {
  position: absolute;
  inset-inline: 1rem;
  bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

@media (max-width: 700px) {
  .lightbox__nav {
    top: auto;
    bottom: 3.25rem;
    transform: none;
  }
}

/* ─── Utilities ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.empty {
  color: var(--muted);
  padding: 3rem 0;
  text-align: center;
  font-size: 0.9375rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

/* ─── Section Title ─── */
.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ─── Hover Animations ─── */
@media (hover: hover) {
  .news-card, .gallery-tile, .team-tile, .player-card {
    will-change: transform;
  }
}

/* ─── Focus Visible ─── */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ─── Print ─── */
@media print {
  .site-header, .site-footer, .nav-toggle, .mobile-nav { display: none; }
  body { background: #fff; }
}

/* ═══════════════════════════════════════════
   Home — Varesh blue (logo)
   Minimal photo-first · RTL · responsive
   ═══════════════════════════════════════════ */

body.has-hero .site-header,
body.is-home .site-header {
  position: fixed;
  inset-inline: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.has-hero .site-header__inner,
body.is-home .site-header__inner {
  gap: 1rem;
}

body.has-hero .site-header .brand,
body.is-home .site-header .brand {
  justify-self: start;
}

body.has-hero .site-header .nav,
body.is-home .site-header .nav {
  justify-self: center;
}

body.has-hero .site-header__end,
body.is-home .site-header__end {
  justify-self: end;
}

body.has-hero .site-header .brand,
body.has-hero .site-header .brand__text,
body.has-hero .site-header .nav a,
body.has-hero .site-header .nav-toggle,
body.has-hero .site-header .nav-cta,
body.has-hero .site-header .nav-search,
body.is-home .site-header .brand,
body.is-home .site-header .brand__text,
body.is-home .site-header .nav a,
body.is-home .site-header .nav-toggle,
body.is-home .site-header .nav-cta,
body.is-home .site-header .nav-search {
  color: rgba(255, 255, 255, 0.94) !important;
}

body.has-hero .home-kicker,
body.is-home .home-kicker {
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  body.has-hero .site-header .nav,
  body.is-home .site-header .nav {
    display: none;
  }
}

body.has-hero .site-header .nav a:hover,
body.has-hero .site-header .brand:hover,
body.has-hero .site-header .brand:hover .brand__text,
body.is-home .site-header .nav a:hover,
body.is-home .site-header .brand:hover,
body.is-home .site-header .brand:hover .brand__text {
  color: #fff !important;
}

body.has-hero .site-header.is-scrolled,
body.is-home .site-header.is-scrolled {
  background: rgba(245, 247, 250, 0.92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--border);
}

body.has-hero .site-header.is-scrolled .brand,
body.has-hero .site-header.is-scrolled .brand__text,
body.has-hero .site-header.is-scrolled .nav a,
body.has-hero .site-header.is-scrolled .nav-toggle,
body.has-hero .site-header.is-scrolled .nav-search,
body.is-home .site-header.is-scrolled .brand,
body.is-home .site-header.is-scrolled .brand__text,
body.is-home .site-header.is-scrolled .nav a,
body.is-home .site-header.is-scrolled .nav-toggle,
body.is-home .site-header.is-scrolled .nav-search {
  color: var(--ink) !important;
}

body.has-hero .site-header.is-scrolled .nav a:hover,
body.has-hero .site-header.is-scrolled .brand:hover,
body.has-hero .site-header.is-scrolled .brand:hover .brand__text,
body.is-home .site-header.is-scrolled .nav a:hover,
body.is-home .site-header.is-scrolled .brand:hover,
body.is-home .site-header.is-scrolled .brand:hover .brand__text {
  color: var(--ink) !important;
}

body.has-hero .site-header.is-scrolled .nav-cta,
body.is-home .site-header.is-scrolled .nav-cta {
  color: var(--brand) !important;
}

body.has-hero .site-header .nav-live,
body.has-hero .site-header.is-scrolled .nav-live,
body.is-home .site-header .nav-live,
body.is-home .site-header.is-scrolled .nav-live {
  color: #ff5252 !important;
}

body.has-hero .site-header.is-scrolled .nav-live,
body.is-home .site-header.is-scrolled .nav-live {
  color: #c62828 !important;
}

body.has-hero .site-header .nav-search:hover,
body.is-home .site-header .nav-search:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.has-hero main,
body.is-home main {
  padding-top: 0;
}

/* Inner page hero (shared with home header style) */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(18rem, 48vw, 28rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--inverse);
  color: #fff;
}

.page-hero--compact {
  min-height: clamp(14rem, 36vw, 20rem);
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.03);
  animation: home-zoom 12s ease-out forwards;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(11, 18, 32, 0.78) 0%,
      rgba(11, 18, 32, 0.48) 48%,
      rgba(11, 18, 32, 0.32) 100%
    ),
    linear-gradient(180deg, rgba(11, 18, 32, 0.28) 0%, transparent 40%, rgba(11, 18, 32, 0.62) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + clamp(1.25rem, 4vw, 2.5rem));
  padding-bottom: clamp(1.75rem, 5vw, 3rem);
}

.page-hero__panel {
  max-width: 40rem;
}

.page-hero__panel .home-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: none;
  color: rgba(231, 243, 236, 0.78);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.page-hero__panel h1 {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 5.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.28);
  color: #fff;
}

.page-hero__lead {
  margin: 0.85rem 0 0;
  max-width: 32rem;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  font-weight: 450;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  text-wrap: pretty;
}

.page-hero__extra {
  margin-top: 1.25rem;
}

.page-hero__extra .news-search,
.page-hero__extra .teams-search,
.page-hero__extra .gallery-search,
.page-hero__extra .search-form,
.page-hero__extra form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 28rem;
}

.page-hero__extra input[type="search"] {
  flex: 1 1 12rem;
  min-height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.55rem 0.9rem;
  font: inherit;
}

.page-hero__extra input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.page-hero__extra .btn {
  background: #fff;
  color: var(--brand-strong);
  border: 0;
}

body.has-hero .mobile-nav {
  background: rgba(11, 18, 16, 0.96);
}

body.has-hero .mobile-nav a {
  color: rgba(255, 255, 255, 0.92);
}

body.has-hero .lang-switch {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

body.has-hero .lang-switch__btn {
  color: rgba(255, 255, 255, 0.82);
}

body.has-hero .lang-switch__btn.is-active {
  background: #fff;
  color: var(--brand-strong);
}

body.has-hero .site-header.is-scrolled .lang-switch {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.7);
}

body.has-hero .site-header.is-scrolled .lang-switch__btn {
  color: var(--muted);
}

body.has-hero .site-header.is-scrolled .lang-switch__btn.is-active {
  background: var(--brand);
  color: #fff;
}

.home-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.home-kicker--dark {
  color: var(--brand);
}

.home-section {
  padding-block: clamp(2.75rem, 6vw, 4.75rem);
}

.home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.home-section__head h2 {
  margin: 0.2rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.home-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand);
}

/* Match pulse */
.home-pulse__grid {
  display: grid;
  gap: 0.9rem;
}

.home-pulse__grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 36rem;
}

@media (min-width: 800px) {
  .home-pulse__grid:not(.home-pulse__grid--single) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-fixture {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.2rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.home-fixture:hover {
  border-color: rgba(var(--brand-rgb), 0.28);
  background: rgba(255, 255, 255, 0.78);
  color: inherit;
}

@media (hover: hover) {
  .home-fixture:hover {
    transform: translateY(-2px);
  }
}

.home-fixture.is-live {
  border-color: rgba(var(--brand-rgb), 0.35);
  box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), 0.12);
}

.home-fixture--empty {
  justify-content: center;
  min-height: 8.5rem;
  color: var(--muted);
}

.home-fixture__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.home-fixture__tag {
  color: var(--brand-strong);
  font-weight: 700;
}

.home-fixture__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.home-fixture__teams > span:last-child {
  text-align: start;
}

.home-fixture__score {
  min-width: 4.5rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--brand);
}

.home-fixture__countdown {
  margin-top: 0.15rem;
  padding: 0.85rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(var(--brand-rgb), 0.06);
  border: 1px solid rgba(var(--brand-rgb), 0.1);
}

.home-fixture__countdown-label {
  margin: 0 0 0.65rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.home-fixture__countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  direction: ltr;
}

.home-fixture__countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
}

.home-fixture__countdown-unit strong {
  width: 100%;
  padding: 0.45rem 0.15rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1rem, 3.2vw, 1.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-strong);
  text-align: center;
  direction: ltr;
}

.home-fixture__countdown-unit span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
}

.home-fixture__countdown[hidden] {
  display: none;
}

.home-fixture__foot {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Squad */
.home-squad__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(8.5rem, 10rem);
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.home-squad__track::-webkit-scrollbar {
  height: 4px;
}

.home-squad__track::-webkit-scrollbar-thumb {
  background: rgba(var(--brand-rgb), 0.25);
  border-radius: 999px;
}

.home-player {
  scroll-snap-align: start;
  color: inherit;
}

.home-player__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0.9rem;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
}

.home-player__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .home-player:hover .home-player__photo img {
    transform: scale(1.04);
  }
}

.home-player__num {
  position: absolute;
  inset-inline-start: 0.55rem;
  bottom: 0.55rem;
  min-width: 1.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
  background: rgba(11, 18, 16, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.home-player__name {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.home-player__pos {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* News */
.home-news__layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .home-news__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }
}

.home-news__feature {
  display: grid;
  gap: 1rem;
  color: inherit;
}

@media (min-width: 640px) {
  .home-news__feature {
    grid-template-rows: auto 1fr;
  }
}

.home-news__feature-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--inverse);
}

.home-news__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .home-news__feature:hover .home-news__feature-media img {
    transform: scale(1.03);
  }
}

.home-news__feature-copy time,
.home-news__side-item time {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.home-news__feature-copy h3 {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.home-news__feature-copy p {
  margin: 0.7rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.home-news__side {
  display: grid;
  gap: 0.85rem;
}

.home-news__side-item {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  color: inherit;
}

.home-news__side-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.home-news__side-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.7rem;
  background: var(--inverse);
}

.home-news__side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-news__side-item h3 {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

/* Gallery */
.home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .home-gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
  }
}

.home-gallery__item {
  color: inherit;
}

.home-gallery__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0.9rem;
  background: var(--inverse);
}

@media (min-width: 800px) {
  .home-gallery__item:first-child .home-gallery__media {
    aspect-ratio: 4 / 5;
  }
}

.home-gallery__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .home-gallery__item:hover .home-gallery__media img {
    transform: scale(1.04);
  }
}

.home-gallery__item > span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

/* Explore */
.home-explore {
  padding-top: 0.25rem;
}

.home-explore__grid {
  display: grid;
  gap: 0.75rem;
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 700px) {
  .home-explore__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
}

.home-explore__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem 0.15rem;
  color: inherit;
  transition: background 0.2s ease, padding-inline-start 0.2s ease;
}

@media (min-width: 700px) {
  .home-explore__item {
    padding: 1.4rem 1.15rem;
    border-inline-start: 1px solid rgba(16, 20, 17, 0.08);
  }

  .home-explore__item:first-child {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
}

.home-explore__item:hover {
  color: inherit;
  background: rgba(var(--brand-rgb), 0.035);
  padding-inline-start: 0.55rem;
}

.home-explore__label {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-explore__hint {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Hero */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--inverse);
  color: #fff;
}

.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.04);
  animation: home-zoom 11s ease-out forwards;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(11, 18, 32, 0.78) 0%,
      rgba(11, 18, 32, 0.52) 42%,
      rgba(11, 18, 32, 0.28) 100%
    ),
    linear-gradient(180deg, rgba(11, 18, 32, 0.2) 0%, transparent 38%, rgba(11, 18, 32, 0.55) 100%);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 5vw, 3rem));
  padding-bottom: clamp(2.5rem, 8vw, 5rem);
}

.home-hero__layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.35rem, 4.5vw, 3.75rem);
}

.home-hero__panel {
  max-width: 38rem;
}

.home-hero__brandmark {
  position: relative;
  justify-self: start;
  align-self: center;
  display: grid;
  place-items: center;
  width: clamp(9.5rem, 24vw, 15rem);
  height: clamp(9.5rem, 24vw, 15rem);
  flex-shrink: 0;
}

.home-hero__brandmark::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08) 55%, transparent 72%);
  filter: blur(2px);
  pointer-events: none;
}

.home-hero__brandmark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  pointer-events: none;
}

.home-hero__brandmark img {
  position: relative;
  z-index: 1;
  width: auto;
  height: clamp(5.6rem, 14vw, 9rem);
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.4)) brightness(1.08) contrast(1.05);
  animation: home-mark-float 5.5s ease-in-out infinite;
}

@keyframes home-mark-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 760px) {
  .home-hero__layout {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem 1.2rem;
    align-items: start;
  }

  .home-hero__brandmark {
    width: clamp(6.5rem, 30vw, 8.25rem);
    height: clamp(6.5rem, 30vw, 8.25rem);
    margin-top: 0.15rem;
  }

  .home-hero__brandmark img {
    height: clamp(3.6rem, 17vw, 4.6rem);
  }
}

@media (max-width: 480px) {
  .home-hero__layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .home-hero__brandmark {
    justify-self: start;
    width: 6.75rem;
    height: 6.75rem;
  }

  .home-hero__brandmark img {
    height: 3.75rem;
  }
}

.home-hero__panel .home-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: none;
  color: rgba(231, 243, 236, 0.78);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.home-hero__panel h1 {
  margin: 1.1rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 7.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.28);
}

.home-hero__lead {
  margin: 1.05rem 0 0;
  max-width: 34rem;
  font-size: clamp(0.98rem, 1.7vw, 1.14rem);
  font-weight: 500;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.86);
  text-wrap: pretty;
}

.home-hero__cta {
  margin-top: 1.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-hero__cta .btn {
  min-height: 2.7rem;
  padding-inline: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 0.55rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
  .home-hero__cta .btn:hover {
    transform: translateY(-1px);
  }
}

@keyframes home-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__media img {
    animation: none;
    transform: none;
  }

  .home-hero__cta .btn:hover {
    transform: none;
  }

  .home-hero__brandmark img {
    animation: none;
  }
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════════
   Teams list — light editorial layout
   ═══════════════════════════════════════════ */

.teams-page {
  padding-block: clamp(1.75rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
}

.teams-duo {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .teams-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.teams-duo__card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.teams-duo__card:hover {
  color: inherit;
  border-color: rgba(var(--brand-rgb), 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.teams-duo__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--inverse);
}

.teams-duo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.teams-duo__card:hover .teams-duo__media img {
  transform: scale(1.04);
}

.teams-duo__copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 1.25rem 1.45rem;
}

.teams-duo__season {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.teams-duo__copy h2 {
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.teams-duo__meta {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.teams-duo__copy .text-link {
  margin-top: 0.95rem;
}

.teams-head {
  display: grid;
  gap: 1.35rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 860px) {
  .teams-head {
    grid-template-columns: 1fr minmax(16rem, 22rem);
    align-items: end;
    gap: 2rem;
  }
}

.teams-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.teams-head__lead {
  margin: 0.65rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.teams-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.15rem 0 1.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.teams-search {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.teams-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
}

.teams-search input[type="search"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.1);
}

.teams-search .btn {
  min-height: 2.65rem;
  flex-shrink: 0;
}

.teams-feature {
  display: grid;
  gap: 1.15rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  color: inherit;
}

@media (min-width: 900px) {
  .teams-feature {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
  }
}

.teams-feature__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--inverse);
}

.teams-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .teams-feature:hover .teams-feature__media img {
    transform: scale(1.03);
  }
}

.teams-feature__copy .home-eyebrow {
  margin-bottom: 0.15rem;
}

.teams-feature__copy h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.teams-feature__en {
  margin: 0.45rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.teams-feature__stats {
  margin: 0.85rem 0 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-strong);
}

.teams-grid-head {
  margin-bottom: 1.25rem;
}

.teams-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .teams-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .teams-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.teams-tile {
  display: block;
  color: inherit;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.teams-tile:hover {
  border-color: rgba(var(--brand-rgb), 0.25);
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
}

@media (hover: hover) {
  .teams-tile:hover {
    transform: translateY(-2px);
  }
}

.teams-tile__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
}

.teams-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .teams-tile:hover .teams-tile__media img {
    transform: scale(1.04);
  }
}

.teams-tile__body {
  padding: 1rem 1.05rem 1.15rem;
}

.teams-tile__type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.teams-tile__body h3 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.teams-tile__meta {
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.teams-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  max-width: 24rem;
  margin-inline: auto;
}

.teams-empty h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
}

.teams-empty p {
  margin: 0.65rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .teams-duo__card,
  .teams-duo__media img,
  .teams-feature__media img,
  .teams-tile,
  .teams-tile__media img {
    transition: none;
  }

  .teams-duo__card:hover,
  .teams-tile:hover,
  .teams-feature:hover .teams-feature__media img,
  .teams-tile:hover .teams-tile__media img,
  .teams-duo__card:hover .teams-duo__media img {
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   Team detail — light roster layout
   ═══════════════════════════════════════════ */

.squad-page {
  padding-block: clamp(1.5rem, 4vw, 2.75rem) clamp(3rem, 7vw, 5rem);
}

.squad-page__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.squad-page__back {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}

.squad-page__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.squad-block + .squad-block {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.squad-block__head {
  margin-bottom: 1.25rem;
}

.squad-block__head h2 {
  margin: 0.2rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.squad-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .squad-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 960px) {
  .squad-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.squad-grid--staff {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .squad-grid--staff {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .squad-grid--staff {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.squad-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.squad-card:hover {
  color: inherit;
  transform: translateY(-3px);
  border-color: rgba(var(--brand-rgb), 0.28);
  box-shadow: var(--shadow);
}

.squad-card__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #dfe6ef;
}

.squad-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.squad-card:hover .squad-card__photo img {
  transform: scale(1.05);
}

.squad-card__num {
  position: absolute;
  inset-inline-start: 0.55rem;
  bottom: 0.55rem;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 3rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-strong);
  box-shadow: 0 6px 16px rgba(11, 18, 32, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.squad-card__jersey {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 6px rgba(11, 18, 32, 0.22));
}

.squad-card__num-text {
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
  font-family: var(--display);
  font-size: clamp(0.72rem, 2.4vw, 0.82rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand-strong);
}

.squad-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 0.85rem 1rem;
}

.squad-card__body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.squad-card__role {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.squad-card__cta {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
}

/* Person profile (player / coach) */
.person-page {
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
}

.person-page__layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

@media (min-width: 860px) {
  .person-page__layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 5vw, 3.5rem);
  }
}

.person-page__media {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #dfe6ef;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.person-page__zoom {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.person-page__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.person-page__zoom-hint {
  position: absolute;
  inset-inline-end: 0.85rem;
  bottom: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.person-page__content {
  padding-block: 0.25rem;
}

.person-page__back {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}

.person-page__name {
  margin: 0.85rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.person-page__number {
  margin: 0.85rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--brand);
}

.person-page__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 1.35rem 0 0;
  max-width: 28rem;
}

.person-page__facts dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.person-page__facts dd {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.person-page__facts a {
  color: var(--brand);
}

.person-page__bio {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  max-width: 36rem;
}

.person-page__bio--empty {
  color: var(--muted);
  font-size: 0.95rem;
}

.person-page__bio .prose {
  margin-top: 0.65rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

.team-detail {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.team-detail__head {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.team-detail__back {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand);
}

.team-detail__back:hover {
  color: var(--brand-strong);
}

.team-detail__head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.team-detail__en {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.team-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.team-detail__section + .team-detail__section {
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}

.team-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

@media (min-width: 700px) {
  .team-roster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.05rem;
  }
}

@media (min-width: 1000px) {
  .team-roster {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.team-roster--staff {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 700px) {
  .team-roster--staff {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .team-roster--staff {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.team-person {
  display: block;
  color: inherit;
}

.team-person__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0.9rem;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
}

.team-person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  a.team-person:hover .team-person__photo img {
    transform: scale(1.04);
  }
}

.team-person__num {
  position: absolute;
  inset-inline-start: 0.55rem;
  bottom: 0.55rem;
  min-width: 1.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
  background: rgba(11, 18, 16, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.team-person__role {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
}

.team-person h3 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.team-person__role + h3 {
  margin-top: 0.25rem;
}

.team-person__photo + h3 {
  margin-top: 0.65rem;
}

.team-person__pos {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.76rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .team-person__photo img {
    transition: none;
  }

  a.team-person:hover .team-person__photo img {
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   Matches list — light editorial fixtures
   ═══════════════════════════════════════════ */

.matches-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.matches-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.matches-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.matches-head__lead {
  margin: 0.65rem 0 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.matches-head__count {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.matches-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.35rem 0 1.75rem;
}

.matches-filters__item {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.matches-filters__item:hover {
  color: var(--ink);
  border-color: rgba(var(--brand-rgb), 0.28);
}

.matches-filters__item.is-active {
  color: var(--brand-strong);
  border-color: rgba(var(--brand-rgb), 0.35);
  background: rgba(var(--brand-rgb), 0.08);
}

.matches-board {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .matches-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.match-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem 1.15rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.match-card:hover,
.match-card:focus-visible {
  border-color: rgba(var(--brand-rgb), 0.28);
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
}

@media (hover: hover) {
  .match-card:hover {
    transform: translateY(-2px);
  }
}

.match-card.is-live {
  border-color: rgba(var(--brand-rgb), 0.35);
  box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), 0.1);
}

.match-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.match-card__status {
  font-weight: 700;
  color: var(--muted);
}

.match-card__status--live {
  color: var(--brand);
}

.match-card__status--finished {
  color: var(--ink-soft);
}

.match-card__status--scheduled {
  color: var(--brand-strong);
}

.match-card__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
}

.match-card__team {
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.match-card__teams > .match-card__team:last-child {
  text-align: start;
}

.match-card__score {
  min-width: 4.75rem;
  text-align: center;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.match-card.is-live .match-card__score {
  color: var(--brand-strong);
}

.match-card__foot {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

.matches-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  max-width: 24rem;
  margin-inline: auto;
}

.matches-empty h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
}

.matches-empty p {
  margin: 0.65rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .match-card {
    transition: none;
  }

  .match-card:hover {
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   Match detail — light editorial
   ═══════════════════════════════════════════ */

.match-detail {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.match-detail__head {
  padding-bottom: 1.75rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.match-detail__head.is-live {
  box-shadow: inset 0 -2px 0 var(--brand);
}

.match-detail__back {
  display: inline-flex;
  margin-bottom: 1.1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand);
}

.match-detail__back:hover {
  color: var(--brand-strong);
}

.match-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.match-detail__status {
  font-weight: 700;
}

.match-detail__status--live {
  color: var(--brand);
}

.match-detail__status--finished {
  color: var(--ink-soft);
}

.match-detail__status--scheduled {
  color: var(--brand-strong);
}

.match-detail__board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.85rem 1rem;
  align-items: center;
}

.match-detail__team {
  font-family: var(--display);
  font-size: clamp(1.2rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.match-detail__board > .match-detail__team:last-child {
  text-align: start;
}

.match-detail__score {
  min-width: 5.5rem;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.match-detail__place {
  margin: 1.15rem 0 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

.match-detail__section + .match-detail__section {
  margin-top: clamp(2rem, 5vw, 3rem);
}

.match-facts {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

@media (min-width: 700px) {
  .match-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

.match-facts > div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.55);
}

.match-facts dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
}

.match-facts dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.45;
}

.match-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.match-events__item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.55);
}

.match-events__min {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}

.match-events__item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.match-events__item p {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.match-report {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.9;
}

.match-report p {
  margin: 0 0 0.9rem;
}

.match-detail__empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.match-goals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.match-goals__item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.55);
}

.match-goals__item.is-home {
  border-inline-start: 3px solid var(--brand);
}

.match-goals__item.is-away {
  border-inline-start: 3px solid rgba(27, 47, 138, 0.45);
}

.match-goals__min {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}

.match-goals__item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.match-goals__item a {
  color: inherit;
}

.match-goals__item a:hover {
  color: var(--brand);
}

.match-goals__item p {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.match-goals__team {
  font-weight: 600;
}

.match-lineups {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .match-lineups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.match-lineup {
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.78), rgba(232, 242, 250, 0.45));
}

.match-lineup__head {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.match-lineup__head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.match-lineup__head p {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.match-lineup h4 {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  text-transform: uppercase;
}

.match-lineup h4 + .match-lineup__list {
  margin-bottom: 1rem;
}

.match-lineup__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.match-lineup__list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: baseline;
  font-size: 0.9rem;
  line-height: 1.45;
}

.match-lineup__num {
  font-family: var(--display);
  font-weight: 800;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}

.match-lineup__list a {
  color: inherit;
  font-weight: 700;
}

.match-lineup__list a:hover {
  color: var(--brand);
}

.match-lineup__list small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.match-lineup__list--bench li {
  opacity: 0.92;
}

.match-videos {
  display: grid;
  gap: 1.25rem;
}

.match-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
  background: #0b1624;
  border: 1px solid rgba(16, 20, 17, 0.08);
}

.match-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.match-video__poster {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
}

.match-video__poster img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.match-video__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.match-video__meta h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.match-albums {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .match-albums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.match-album {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.55rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.55);
  color: inherit;
  text-decoration: none;
}

.match-album img {
  width: 5.5rem;
  height: 4.1rem;
  object-fit: cover;
  border-radius: 0.7rem;
}

.match-album strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.match-album small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.match-album:hover {
  border-color: rgba(11, 111, 184, 0.28);
}

.match-photo-grid {
  margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════
   News list — light editorial feed
   ═══════════════════════════════════════════ */

.news-page {
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
}

.news-page > .container > .news-search,
.teams-page > .container > .teams-search,
.gallery-page > .container > .gallery-search,
.search-page > .container > .search-form,
.page-players .toolbar {
  margin-bottom: 1.25rem;
}

.news-head {
  display: grid;
  gap: 1.35rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 860px) {
  .news-head {
    grid-template-columns: 1fr minmax(16rem, 22rem);
    align-items: end;
    gap: 2rem;
  }
}

.news-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.news-head__lead {
  margin: 0.65rem 0 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.news-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.15rem 0 1.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.news-search {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.news-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
}

.news-search input[type="search"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.1);
}

.news-search .btn {
  min-height: 2.65rem;
  flex-shrink: 0;
}

.news-feature {
  display: grid;
  gap: 1.15rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  color: inherit;
}

@media (min-width: 900px) {
  .news-feature {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
  }
}

.news-feature__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--inverse);
}

.news-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .news-feature:hover .news-feature__media img {
    transform: scale(1.03);
  }
}

.news-feature__copy .home-eyebrow {
  margin-bottom: 0.2rem;
}

.news-feature__copy time {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.news-feature__copy h2 {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.news-feature__copy p {
  margin: 0.75rem 0 1rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.news-grid-head {
  margin-bottom: 1.25rem;
}

.news-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.news-tile {
  display: block;
  height: 100%;
  color: inherit;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.news-tile:hover {
  border-color: rgba(var(--brand-rgb), 0.25);
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
}

@media (hover: hover) {
  .news-tile:hover {
    transform: translateY(-2px);
  }
}

.news-tile__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
}

.news-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .news-tile:hover .news-tile__media img {
    transform: scale(1.04);
  }
}

.news-tile__body {
  padding: 1rem 1.05rem 1.15rem;
}

.news-tile__body time {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.news-tile__body h3 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.news-tile__body p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.news-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  max-width: 24rem;
  margin-inline: auto;
}

.news-empty h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
}

.news-empty p {
  margin: 0.65rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.news-page:has(.news-soon) {
  min-height: clamp(22rem, 48vw, 30rem);
  display: grid;
  align-items: center;
}

.news-soon {
  position: relative;
  isolation: isolate;
  margin-inline: auto;
  max-width: 34rem;
  padding: clamp(2.5rem, 7vw, 4.5rem) 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news-soon__orb {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(22rem, 78vw);
  height: min(22rem, 78vw);
  transform: translate(-50%, -52%);
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(11, 111, 184, 0.12), transparent 62%),
    radial-gradient(circle at 50% 55%, rgba(27, 47, 138, 0.06), transparent 70%);
  pointer-events: none;
}

.news-soon__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.news-soon__title {
  margin: 0.85rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--ink);
}

.news-soon__line {
  width: 2.75rem;
  height: 1px;
  margin: 1.35rem 0 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.7;
}

.news-soon__text {
  margin: 1.1rem 0 0;
  max-width: 24rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

.news-soon .btn {
  margin-top: 1.5rem;
}

.news-soon--home {
  padding-block: clamp(2rem, 5vw, 3.25rem);
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1.15rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.78), rgba(232, 242, 250, 0.42));
}

@media (prefers-reduced-motion: reduce) {
  .news-feature__media img,
  .news-tile,
  .news-tile__media img {
    transition: none;
  }

  .news-tile:hover,
  .news-feature:hover .news-feature__media img,
  .news-tile:hover .news-tile__media img {
    transform: none;
  }
}

/* News detail — light editorial */
.news-detail {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.news-detail__head {
  max-width: 42rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.news-detail__back {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand);
}

.news-detail__back:hover {
  color: var(--brand-strong);
}

.news-detail__head time {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.news-detail__head h1 {
  margin: 0.55rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
  text-wrap: balance;
}

.news-detail__lead {
  margin: 1rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.85;
}

.news-detail__meta {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-strong);
}

.news-detail__cover {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
}

.news-detail__cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 30%;
}

.news-detail__body {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: clamp(0.96rem, 1.3vw, 1.05rem);
  line-height: 1.95;
}

.news-detail__body p {
  margin: 0;
}

.news-detail__body p + p {
  margin-top: 1.25em;
}

.news-detail__related {
  margin-top: clamp(2.75rem, 6vw, 4rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

.news-detail__related-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .news-detail__related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

/* ═══════════════════════════════════════════
   Gallery list — light editorial
   ═══════════════════════════════════════════ */

.gallery-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.gallery-head {
  display: grid;
  gap: 1.35rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 860px) {
  .gallery-head {
    grid-template-columns: 1fr minmax(16rem, 22rem);
    align-items: end;
    gap: 2rem;
  }
}

.gallery-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.gallery-head__lead {
  margin: 0.65rem 0 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.gallery-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.gallery-search {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.gallery-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
}

.gallery-search input[type="search"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.1);
}

.gallery-search .btn {
  min-height: 2.65rem;
  flex-shrink: 0;
}

.gallery-controls {
  display: grid;
  gap: 0.9rem;
  margin: 1.35rem 0 1rem;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.gallery-tabs__item {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.95rem;
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.gallery-tabs__item:hover {
  color: var(--ink);
  border-color: rgba(var(--brand-rgb), 0.28);
}

.gallery-tabs__item.is-active {
  color: var(--brand-strong);
  border-color: rgba(var(--brand-rgb), 0.35);
  background: rgba(var(--brand-rgb), 0.08);
}

.gallery-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.gallery-cats__item {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease;
}

.gallery-cats__item:hover {
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.06);
}

.gallery-cats__item.is-active {
  color: var(--brand-strong);
  background: rgba(var(--brand-rgb), 0.1);
}

.gallery-board {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .gallery-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.05rem;
  }
}

@media (min-width: 1024px) {
  .gallery-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery-card {
  display: block;
  color: inherit;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.gallery-card:hover {
  border-color: rgba(var(--brand-rgb), 0.25);
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
}

@media (hover: hover) {
  .gallery-card:hover {
    transform: translateY(-2px);
  }
}

.gallery-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
}

.gallery-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .gallery-card:hover .gallery-card__media img {
    transform: scale(1.04);
  }
}

.gallery-card__badge {
  position: absolute;
  inset-inline-start: 0.55rem;
  top: 0.55rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(11, 18, 16, 0.72);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.gallery-card__body {
  padding: 0.85rem 0.95rem 1rem;
}

.gallery-card__body h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.gallery-card__desc {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted);
}

.gallery-card__body span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.76rem;
  color: var(--muted);
}

.gallery-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  max-width: 24rem;
  margin-inline: auto;
}

.gallery-empty h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
}

.gallery-empty p {
  margin: 0.65rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-card,
  .gallery-card__media img {
    transition: none;
  }

  .gallery-card:hover,
  .gallery-card:hover .gallery-card__media img {
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   Gallery album detail
   ═══════════════════════════════════════════ */

.album-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.album-head {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.album-head__back {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand);
}

.album-head__back:hover {
  color: var(--brand-strong);
}

.album-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.album-head__lead {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.album-head__cat {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.album-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.album-intro {
  margin: 0 0 clamp(1.25rem, 3vw, 1.85rem);
  max-width: 44rem;
}

.album-intro p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
  line-height: 1.9;
}

.album-cover {
  position: relative;
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
}

.album-cover__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  margin: 0;
  padding: 1.35rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(11, 18, 32, 0.7));
  color: #fff;
  font-family: var(--font);
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.album-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 30%;
}

.album-grid-head {
  margin-bottom: 1.25rem;
}

.album-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .album-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
  }
}

@media (min-width: 1024px) {
  .album-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.album-shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 0.9rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-family: var(--font);
  color: inherit;
  text-align: start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.album-shot:hover {
  border-color: rgba(var(--brand-rgb), 0.28);
}

@media (hover: hover) {
  .album-shot:hover {
    transform: translateY(-2px);
  }
}

.album-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .album-shot:hover img {
    transform: scale(1.04);
  }
}

.album-shot__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  padding: 1.1rem 0.75rem 0.7rem;
  background: linear-gradient(transparent, rgba(11, 18, 32, 0.78));
  color: #fff;
  font-family: var(--font);
  font-size: clamp(0.72rem, 2.4vw, 0.8rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-align: start;
}

@media (max-width: 640px) {
  .album-cover img {
    aspect-ratio: 4 / 3;
  }

  .album-cover__caption {
    padding: 1rem 0.8rem 0.75rem;
  }

  .album-shot__caption {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .lightbox__meta {
    inset-inline: 0.75rem;
    bottom: 0.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.65rem;
    background: rgba(11, 18, 32, 0.55);
    font-size: 0.78rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .album-shot,
  .album-shot img {
    transition: none;
  }

  .album-shot:hover,
  .album-shot:hover img {
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   About — light editorial story
   ═══════════════════════════════════════════ */

.about-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.about-head {
  padding-bottom: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.about-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.about-head__lead {
  margin: 0.65rem 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.about-block + .about-block {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.about-block__grid {
  display: grid;
  gap: 1.35rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-block__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1.75rem;
  }

  .about-block__grid--flip .about-block__copy {
    order: 2;
  }

  .about-block__grid--flip .about-block__media {
    order: 1;
  }
}

.about-block__copy h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.about-block__copy p {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.about-block__copy .text-link {
  display: inline-block;
  margin-top: 1.15rem;
}

.about-block__media {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
  aspect-ratio: 5 / 4;
}

.about-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.about-principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .about-principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .about-principles--vision {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .about-principles--vision {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.about-principles > li {
  padding: 1.15rem 1.1rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
}

.about-principles__num {
  display: block;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand);
}

.about-principles h3 {
  margin: 0.55rem 0 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.about-principles p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.about-block__intro {
  margin: 0.75rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.about-closing {
  margin-top: 1.25rem !important;
  color: var(--ink) !important;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem !important;
  line-height: 1.7 !important;
}

.about-leadership__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .about-leadership__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.15rem;
  }
}

.about-person {
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.72), rgba(236, 242, 238, 0.9));
}

.about-person__role {
  margin: 0;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.about-person__name {
  margin: 0.45rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.about-person__name--pending {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
}

.about-person p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.about-board {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.about-board > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.about-board > li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.about-board__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
}

.about-board__role {
  color: var(--muted);
  font-size: 0.86rem;
}

.about-contact {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

.about-contact__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.about-contact h2 {
  margin: 0.3rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.about-contact p {
  margin: 0.55rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.about-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ═══════════════════════════════════════════
   Search — light editorial discovery
   ═══════════════════════════════════════════ */

.search-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.search-head {
  max-width: 36rem;
  padding-bottom: 1.75rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.search-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.search-head__lead {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.search-form {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: 1.5rem;
}

.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.1);
}

.search-form .btn {
  min-height: 2.85rem;
  flex-shrink: 0;
}

.search-summary {
  margin: 0 0 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  max-width: 40rem;
}

.search-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 0.15rem 1.15rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  color: inherit;
  transition: background 0.2s ease, padding-inline-start 0.2s ease;
}

.search-card:hover,
.search-card:focus-visible {
  color: inherit;
  background: rgba(var(--brand-rgb), 0.03);
  padding-inline-start: 0.55rem;
}

.search-card__type {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.search-card__title {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.search-card__snippet {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.search-card .text-link {
  margin-top: 0.2rem;
  font-size: 0.82rem;
}

.search-empty,
.search-start {
  max-width: 44rem;
}

.search-empty h2,
.search-start .home-section__head h2 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.search-empty p,
.search-start__lead {
  margin: 0.75rem 0 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.search-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 1.5rem;
}

.search-shortcuts a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.search-shortcuts a:hover,
.search-shortcuts a:focus-visible {
  border-bottom-color: rgba(var(--brand-rgb), 0.45);
}

.search-explore {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 700px) {
  .search-explore {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.search-explore__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 0.15rem;
  color: inherit;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  transition: background 0.2s ease, padding-inline-start 0.2s ease;
}

@media (min-width: 700px) {
  .search-explore__item {
    padding: 1.4rem 1.15rem;
    border-inline-start: 1px solid rgba(16, 20, 17, 0.08);
    border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  }

  .search-explore__item:nth-child(3n + 1) {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
}

.search-explore__item:hover,
.search-explore__item:focus-visible {
  color: inherit;
  background: rgba(var(--brand-rgb), 0.035);
  padding-inline-start: 0.55rem;
}

.search-explore__label {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.search-explore__hint {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .search-card,
  .search-explore__item,
  .search-form input[type="search"] {
    transition: none;
  }
}

/* ═══════════════════════════════════════════
   Contact — light editorial form
   ═══════════════════════════════════════════ */

.contact-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.contact-head {
  padding-bottom: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.contact-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.contact-head__lead {
  margin: 0.65rem 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.contact-layout {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
  }
}

.contact-info h2 {
  margin: 0.3rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.contact-facts {
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-facts div {
  margin: 0;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.contact-facts dt {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.contact-facts dd {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
}

.contact-facts__stack {
  display: grid;
  gap: 0.4rem;
}

.contact-facts a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-facts a:hover,
.contact-facts a:focus-visible {
  color: var(--brand);
  border-bottom-color: rgba(var(--brand-rgb), 0.4);
}

.contact-shortcuts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.contact-shortcuts a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: border-color 0.2s ease;
}

.contact-shortcuts a:hover,
.contact-shortcuts a:focus-visible {
  border-bottom-color: rgba(var(--brand-rgb), 0.45);
}

.contact-form-wrap .home-section__head {
  margin-bottom: 1.35rem;
}

.contact-form {
  max-width: 34rem;
}

.contact-form__row {
  display: grid;
  gap: 0;
}

@media (min-width: 560px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
  }
}

.contact-form .field {
  margin-bottom: 1.35rem;
}

.contact-form .field label {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  border: 0;
  border-bottom: 1.5px solid rgba(16, 20, 17, 0.12);
  background: transparent;
  padding: 0.8rem 0;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--brand);
  box-shadow: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.7;
}

.contact-form .btn {
  margin-top: 0.35rem;
  min-height: 2.75rem;
}

/* ═══════════════════════════════════════════
   Academy — light editorial pathway
   ═══════════════════════════════════════════ */

.academy-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.academy-head {
  padding-bottom: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.academy-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.academy-head__lead {
  margin: 0.65rem 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.academy-block + .academy-block {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.academy-block__grid {
  display: grid;
  gap: 1.35rem;
  align-items: center;
}

@media (min-width: 900px) {
  .academy-block__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1.75rem;
  }

  .academy-block__grid--flip .academy-block__copy {
    order: 2;
  }

  .academy-block__grid--flip .academy-block__media {
    order: 1;
  }
}

.academy-block__copy h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.academy-block__copy p {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.academy-block__copy .text-link {
  display: inline-block;
  margin-top: 1.15rem;
}

.academy-block__media {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
  aspect-ratio: 5 / 4;
}

.academy-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.academy-levels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

.academy-levels > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.25rem 0.1rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 800px) {
  .academy-levels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .academy-levels > li {
    padding: 1.4rem 1.15rem;
    border-inline-start: 1px solid rgba(16, 20, 17, 0.08);
    border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  }

  .academy-levels > li:first-child {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
}

.academy-levels__num {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand);
  line-height: 1.6;
}

.academy-levels h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.academy-levels p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.academy-cta {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

.academy-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.academy-cta h2 {
  margin: 0.3rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.academy-cta p {
  margin: 0.55rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.academy-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ═══════════════════════════════════════════
   Sponsors — light editorial partners
   ═══════════════════════════════════════════ */

.sponsors-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.sponsors-head {
  padding-bottom: 1.5rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.sponsors-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.sponsors-head__lead {
  margin: 0.65rem 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.sponsors-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 600px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .sponsors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sponsors-item {
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 600px) {
  .sponsors-item {
    border-inline-start: 1px solid rgba(16, 20, 17, 0.08);
  }

  .sponsors-item:nth-child(2n + 1) {
    border-inline-start: 0;
  }
}

@media (min-width: 900px) {
  .sponsors-item:nth-child(2n + 1) {
    border-inline-start: 1px solid rgba(16, 20, 17, 0.08);
  }

  .sponsors-item:nth-child(3n + 1) {
    border-inline-start: 0;
  }
}

.sponsors-item__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1.4rem 0.15rem 1.5rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, padding-inline-start 0.2s ease;
}

@media (min-width: 600px) {
  .sponsors-item__link {
    padding: 1.5rem 1.2rem;
  }

  .sponsors-item:nth-child(2n + 1) .sponsors-item__link {
    padding-inline-start: 0;
  }
}

@media (min-width: 900px) {
  .sponsors-item:nth-child(2n + 1) .sponsors-item__link {
    padding-inline-start: 1.2rem;
  }

  .sponsors-item:nth-child(3n + 1) .sponsors-item__link {
    padding-inline-start: 0;
  }
}

a.sponsors-item__link:hover,
a.sponsors-item__link:focus-visible {
  color: inherit;
  background: rgba(var(--brand-rgb), 0.03);
  padding-inline-start: 0.55rem;
}

.sponsors-item__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 4.25rem;
  margin-bottom: 0.25rem;
}

.sponsors-item__logo img {
  max-width: 9rem;
  max-height: 3.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.85;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

a.sponsors-item__link:hover .sponsors-item__logo img,
a.sponsors-item__link:focus-visible .sponsors-item__logo img {
  filter: none;
  opacity: 1;
}

.sponsors-item__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.65rem;
  background: rgba(var(--brand-rgb), 0.08);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
}

.sponsors-item__name {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.sponsors-item__tier {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.sponsors-empty {
  max-width: 28rem;
  padding: 0.5rem 0 1rem;
}

.sponsors-empty h2 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sponsors-empty p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

/* Empty sponsors — chic centered soon state */
.sponsors-page:has(.sponsors-soon) {
  min-height: clamp(22rem, 48vw, 30rem);
  display: grid;
  align-items: center;
}

.sponsors-soon {
  position: relative;
  isolation: isolate;
  margin-inline: auto;
  max-width: 34rem;
  padding: clamp(2.5rem, 7vw, 4.5rem) 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sponsors-soon__orb {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(22rem, 78vw);
  height: min(22rem, 78vw);
  transform: translate(-50%, -52%);
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(var(--brand-rgb), 0.12), transparent 62%),
    radial-gradient(circle at 50% 55%, rgba(27, 47, 138, 0.06), transparent 70%);
  pointer-events: none;
}

.sponsors-soon__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.sponsors-soon__title {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

.sponsors-soon__line {
  width: 2.75rem;
  height: 1px;
  margin: 1.35rem 0 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.7;
}

.sponsors-soon__text {
  margin: 1.1rem 0 0;
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

/* Live page — updating placeholder */
.live-page {
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
  min-height: clamp(22rem, 48vw, 30rem);
  display: grid;
  align-items: center;
}

.live-updating {
  position: relative;
  isolation: isolate;
  margin-inline: auto;
  max-width: 36rem;
  padding: clamp(2.25rem, 6vw, 4rem) 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.live-updating__orb {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(22rem, 78vw);
  height: min(22rem, 78vw);
  transform: translate(-50%, -52%);
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(11, 111, 184, 0.14), transparent 62%),
    radial-gradient(circle at 50% 55%, rgba(27, 47, 138, 0.07), transparent 70%);
  pointer-events: none;
  animation: live-orb-pulse 4.5s ease-in-out infinite;
}

@keyframes live-orb-pulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -52%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -52%) scale(1.04); }
}

.live-updating__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.live-updating__title {
  margin: 0.85rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 4vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--ink);
}

.live-updating__line {
  width: 2.75rem;
  height: 1px;
  margin: 1.35rem 0 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.7;
}

.live-updating__text {
  margin: 1.1rem 0 0;
  max-width: 24rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

.live-updating__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@supports not selector(:has(*)) {
  .sponsors-page {
    min-height: auto;
  }
}

.sponsors-cta {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

.sponsors-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.sponsors-cta h2 {
  margin: 0.3rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.sponsors-cta p {
  margin: 0.55rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.sponsors-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (prefers-reduced-motion: reduce) {
  .sponsors-item__link,
  .sponsors-item__logo img {
    transition: none;
  }
}

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}
.lang-switch__btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  line-height: 1;
}
.lang-switch__btn.is-active {
  background: var(--brand);
  color: #fff;
}
.lang-switch--mobile {
  margin-top: 0.75rem;
  width: fit-content;
}
.lang-switch--bar {
  display: none;
}
.lang-switch--mirror {
  flex-shrink: 0;
}
body.is-home .site-header .lang-switch,
body.has-hero .site-header .lang-switch {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}
body.is-home .site-header .lang-switch__btn,
body.has-hero .site-header .lang-switch__btn {
  color: rgba(255, 255, 255, 0.82);
}
body.is-home .site-header .lang-switch__btn.is-active,
body.has-hero .site-header .lang-switch__btn.is-active {
  background: #fff;
  color: var(--brand-strong);
}
body.is-home .site-header.is-scrolled .lang-switch,
body.has-hero .site-header.is-scrolled .lang-switch {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.7);
}
body.is-home .site-header.is-scrolled .lang-switch__btn,
body.has-hero .site-header.is-scrolled .lang-switch__btn {
  color: var(--muted);
}
body.is-home .site-header.is-scrolled .lang-switch__btn.is-active,
body.has-hero .site-header.is-scrolled .lang-switch__btn.is-active {
  background: var(--brand);
  color: #fff;
}
@media (max-width: 899px) {
  .nav .lang-switch {
    display: none;
  }
}

