/* ==========================================
   DK Management Italy — Luxury Dark Geometric
   Hexagonal motifs · Silver/steel accents
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Serif+Display&display=swap');

:root {
  --obsidian: #08080c;
  --onyx: #0e0e14;
  --charcoal: #16161e;
  --slate: #1e1e28;
  --steel: #2a2a36;
  --gold: #b0b8c4;
  --gold-light: #d0d6de;
  --gold-dim: rgba(176, 184, 196, 0.10);
  --gold-glow: rgba(176, 184, 196, 0.20);
  --text: #ffffff;
  --text-muted: #9a9a9a;
  --text-dim: #54545e;
  --border: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(176, 184, 196, 0.15);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-hover: rgba(255, 255, 255, 0.06);
  --radius: 2px;
  --radius-md: 4px;
  --nav-height: 80px;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background: var(--obsidian);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================
   Hexagonal Background Pattern (SVG inline)
   ========================================== */

.hex-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hex-bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='0.5'/%3E%3Cpath d='M28 100L0 84L0 50L28 34L56 50L56 84L28 100Z' fill='none' stroke='rgba(255,255,255,0.02)' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  opacity: 0.8;
  animation: hexDrift 60s linear infinite;
}

@keyframes hexDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(28px, 50px); }
}

/* ==========================================
   Navigation
   ========================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
  background: rgba(8, 8, 12, 0.92);
  backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
}

.nav-logo-dk {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 2px;
}

.nav-logo-text {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-left: 6px;
  border-left: 1px solid var(--border-gold);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.lang-dropdown {
  position: relative;
  margin-left: 12px;
}
.lang-toggle {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.lang-toggle:hover {
  background: var(--gold-glow);
  color: var(--gold-light);
}
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--charcoal);
  border: 1px solid var(--border-gold);
  flex-direction: column;
  min-width: 52px;
  z-index: 1001;
  backdrop-filter: blur(12px);
}
.lang-dropdown.open .lang-menu {
  display: flex;
}
.lang-menu button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.lang-menu button:hover {
  background: var(--gold-dim);
  color: var(--gold);
}
.lang-menu button.active {
  color: var(--gold);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* ==========================================
   Hero — Cinematic
   ========================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--obsidian);
  padding-bottom: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-bg-img {
  width: 85vw;
  max-width: 900px;
  height: auto;
  object-fit: contain;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, black 30%, transparent 75%);
  opacity: 0.85;
  transform: translateY(-5%);
  filter: brightness(1.3) contrast(1.15);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--obsidian) 0%, transparent 30%),
    linear-gradient(180deg, var(--obsidian) 0%, transparent 20%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* Desktop/tablet: limita altezza logo a 55vh + sposta in alto, cosi' non si sovrappone al subtitle a qualsiasi altezza viewport (logo intero, opacity invariata) */
@media (min-width: 768px) {
  .hero-bg {
    align-items: flex-start;
    padding-top: 8vh;
  }
  .hero-bg-img {
    max-height: 55vh;
    width: auto;
    max-width: 900px;
    transform: none;
  }
}

.hero-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 1px;
  font-weight: 400;
}

.hero .subtitle {
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.licenses {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0% 50%);
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn:hover {
  color: var(--obsidian);
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(176, 184, 196, 0.2);
}

.btn:hover::before {
  transform: scaleX(1);
}

/* ==========================================
   Sections
   ========================================== */

section {
  padding: 80px 0;
  position: relative;
}

section:nth-child(even) {
  background: var(--onyx);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1rem;
  font-weight: 300;
}

.section-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
  padding: 0 24px;
}

.section-label::before,
.section-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.section-label::before { left: 0; }
.section-label::after { right: 0; }

/* ==========================================
   Cards
   ========================================== */

.card {
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 36px;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  border-color: var(--border-gold);
  background: var(--glass-hover);
  transform: translateY(-2px);
}

.card:hover::before {
  opacity: 0.6;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 8px;
}

/* ==========================================
   Grid layouts
   ========================================== */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

#team .grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 720px) {
  #team .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

/* ==========================================
   Team cards
   ========================================== */

.team-card {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-socials {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.avatar-wrap {
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  position: relative;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, var(--charcoal), var(--steel));
}

.team-card .avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border: none;
  transition: filter 0.4s;
}

.team-card:hover .avatar {
  filter: brightness(1.1);
}

.team-card .avatar-placeholder {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--charcoal), var(--steel));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: none;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.team-card .role {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.team-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text-muted);
  transition: all 0.3s;
}

.team-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* ==========================================
   Player cards
   ========================================== */

.player-card {
  overflow: hidden;
  padding: 0;
}

.player-card .player-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--charcoal);
}

.player-card .player-photo {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.player-card .player-photo--action {
  object-fit: cover;
}

.player-card .player-photo--legacy {
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.4s, transform 0.5s ease;
}

.player-card:hover .player-photo--action {
  transform: scale(1.03);
}

.player-card:hover .player-photo--legacy {
  filter: grayscale(0%);
}

.player-card .player-watermark {
  position: absolute;
  bottom: 8px;
  right: 10px;
  color: white;
  opacity: 0.25;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 1px;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.player-card .player-watermark span {
  display: inline-block;
  border: 1px solid white;
  padding: 3px 6px;
  font-weight: 400;
}

.player-card .player-initials {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 4px;
  background: var(--charcoal);
  color: var(--border-gold);
  border-bottom: 1px solid var(--border);
}

.player-card .player-info {
  padding: 12px 14px;
}

.player-card .player-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 400;
  margin-bottom: 2px;
}

.player-card .player-position {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.player-tm-link {
  color: var(--text-muted);
  opacity: 0.4;
  transition: opacity 0.2s;
  line-height: 1;
}
.player-tm-link:hover {
  opacity: 1;
  color: var(--gold);
}

.player-card .player-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.player-card .player-meta span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 300;
}

.player-card .player-meta span + span::before {
  content: "\00b7";
  margin-right: 6px;
  color: var(--text-dim);
}

.player-card .player-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.rating-high { background: rgba(55, 201, 113, 0.1); color: #4ade80; border: 1px solid rgba(55, 201, 113, 0.15); }
.rating-mid { background: rgba(234, 179, 8, 0.1); color: #eab308; border: 1px solid rgba(234, 179, 8, 0.15); }
.rating-low { background: rgba(239, 68, 68, 0.1); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.15); }

/* ==========================================
   Services
   ========================================== */

.service-card {
  padding: 32px 28px;
}

.service-card .service-icon {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.service-card .service-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.8;
}

/* ==========================================
   Partners
   ========================================== */

.partner-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
  padding: 48px 40px;
  background: var(--glass);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.partner-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.partner-block:hover {
  border-color: var(--border-gold);
  background: var(--glass-hover);
  transform: translateY(-2px);
}

.partner-block:hover::before {
  opacity: 0.6;
}

.partner-logo-wrap {
  width: 160px;
  margin-bottom: 24px;
}

.partner-logo-img {
  width: 100%;
  height: auto;
  filter: brightness(0.9);
  transition: filter 0.3s;
}

.partner-block:hover .partner-logo-img {
  filter: brightness(1);
}

.partner-block h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.partner-location {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.partner-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 20px;
}

.partner-link {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.partner-block:hover .partner-link {
  color: var(--gold-light);
}

/* ==========================================
   Contact
   ========================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(176, 184, 196, 0.08);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.contact-info-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
}

.contact-info-item p a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.contact-info-item p a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text-muted);
  transition: all 0.3s;
}

.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* ==========================================
   FAQ (index.html)
   ========================================== */

#faq .faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--charcoal);
  border: 1px solid rgba(176, 184, 196, 0.12);
  border-radius: 6px;
  padding: 20px 26px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(176, 184, 196, 0.32);
  background: rgba(22, 22, 30, 0.9);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  outline: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  content: "\2013";
}

.faq-item > p {
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(176, 184, 196, 0.1);
  font-weight: 300;
  line-height: 1.8;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .faq-item { padding: 18px 20px; }
  .faq-item summary { font-size: 1rem; }
}

/* ==========================================
   Footer
   ========================================== */

.footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 300;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
  text-align: left;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 14px;
  letter-spacing: 0.5px;
}

.footer-col p,
.footer-col li {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  font-weight: 300;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(176, 184, 196, 0.08);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: var(--text-dim);
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   Form status
   ========================================== */

.form-status {
  padding: 14px 18px;
  font-size: 0.88rem;
  display: none;
  font-weight: 400;
}

.form-status.success {
  display: block;
  background: rgba(55, 201, 113, 0.08);
  border: 1px solid rgba(55, 201, 113, 0.2);
  color: #4ade80;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* ==========================================
   Loading spinner
   ========================================== */

.spinner {
  width: 36px;
  height: 36px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 48px auto;
}

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

/* ==========================================
   Animations
   ========================================== */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for grid children */
.grid-3 .fade-in:nth-child(2) { transition-delay: 0.1s; }
.grid-3 .fade-in:nth-child(3) { transition-delay: 0.2s; }
.grid-3 .fade-in:nth-child(4) { transition-delay: 0.3s; }
.grid-3 .fade-in:nth-child(5) { transition-delay: 0.4s; }
.grid-3 .fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ==========================================
   Divider line (decorative)
   ========================================== */

.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 32px;
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 8, 12, 0.98);
    backdrop-filter: blur(24px);
    padding: 48px 32px;
    gap: 28px;
    z-index: 999;
  }

  .nav-links.open a {
    font-size: 1rem;
    letter-spacing: 3px;
  }

  section { padding: 56px 0; }

  /* Bio/service cards collapse to 1 column, but player-roster stays a compact grid */
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .partner-block {
    flex-direction: column;
    text-align: center;
  }

  .hero-title { font-size: 2rem; }
  .hero .subtitle { font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .card { padding: 24px; }
  .licenses { gap: 6px; }
  .license-badge { font-size: 0.6rem; padding: 6px 14px; }
  .section-header { margin-bottom: 48px; }

  /* Player cards stay compact — 2-column roster grid, not face-takeover */
  .grid-4 {
    gap: 8px;
  }

  .player-card {
    padding: 0;
  }

  .player-card .player-photo-wrap,
  .player-card .player-initials {
    aspect-ratio: 4 / 5;
  }

  .player-card .player-watermark {
    font-size: 0.7rem;
    bottom: 6px;
    right: 8px;
  }

  .player-card .player-watermark span {
    padding: 2px 5px;
  }

  .player-card .player-info {
    padding: 10px 11px 12px;
  }

  .player-card .player-name {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .player-card .player-position {
    font-size: 0.58rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
  }

  .player-card .player-meta {
    gap: 3px;
  }

  .player-card .player-meta span {
    font-size: 0.64rem;
  }
}

/* ==========================================================================
   EDITORIAL SYSTEM — The Dispatch
   Blog + Instagram integration. Designed to read like a printed magazine.
   Uses existing tokens (--gold = silver, --charcoal, --onyx, etc.)
   ========================================================================== */

/* ---- Editorial typographic primitives ----------------------------------- */

.ed-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.ed-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.ed-index {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

.ed-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0;
}

.ed-rule--thick {
  background: var(--border-gold);
}

.ed-glyph {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--gold);
  opacity: 0.6;
  font-size: 1.4rem;
  line-height: 1;
  transform: translateY(2px);
}

/* ---- Insights (homepage section) --------------------------------------- */

#insights {
  position: relative;
}

#insights .hex-bg {
  opacity: 0.55;
}

.insights-preamble {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 32px;
  margin: 0 0 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.insights-preamble .ed-masthead-left,
.insights-preamble .ed-masthead-right {
  font-size: 0.62rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.insights-preamble .ed-masthead-right {
  text-align: right;
}

.insights-preamble .ed-masthead-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1;
}

.insights-preamble .ed-masthead-title em {
  font-style: italic;
  color: var(--gold);
}

.insights-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 560px;
  margin: -40px auto 56px;
  line-height: 1.7;
  font-style: italic;
  letter-spacing: 0.3px;
}

/* Rubrica split: Essays (left, large) + Field Files / IG (right, tiled) */

.insights-split {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 64px;
}

.insights-rubrica-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.insights-rubrica-head h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text);
}

.insights-rubrica-head .ed-kicker::before {
  width: 16px;
}

/* Essays list (homepage preview) */

.insights-essays {
  display: flex;
  flex-direction: column;
}

.essay-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
  cursor: pointer;
}

.essay-row:first-child {
  padding-top: 0;
}

.essay-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.essay-row:hover {
  transform: translateX(6px);
}

.essay-row:hover .essay-title {
  color: var(--gold);
}

.essay-row:hover .essay-cover img {
  transform: scale(1.06);
  filter: brightness(1.1) saturate(1.05);
}

.essay-cover {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--charcoal);
  border: 1px solid var(--border);
}

.essay-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
}

.essay-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 12, 0.6));
  pointer-events: none;
}

.essay-cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--charcoal), var(--slate));
}

.essay-cover--placeholder::before {
  content: "§";
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.25;
}

.essay-cover--placeholder::after { display: none; }

.essay-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.essay-meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.essay-meta-bar .ed-index {
  font-size: 0.75rem;
}

.essay-meta-bar .ed-divider-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}

.essay-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: 0.3px;
  transition: color 0.3s;
}

.essay-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.essay-footer-line {
  margin-top: auto;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
}

.essay-footer-line::after {
  content: "→";
  transition: transform 0.3s;
}

.essay-row:hover .essay-footer-line::after {
  transform: translateX(4px);
}

/* Field Files: Instagram mosaic (homepage preview) */

.field-files {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.field-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--charcoal);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
  display: block;
}

.field-tile:hover {
  border-color: var(--border-gold);
}

.field-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
}

.field-tile:hover img {
  transform: scale(1.08);
  filter: brightness(1.15) saturate(1.1);
}

.field-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 8, 12, 0.8));
  opacity: 0.6;
  transition: opacity 0.3s;
  pointer-events: none;
}

.field-tile:hover::after {
  opacity: 0.3;
}

.field-tile-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(8, 8, 12, 0.75);
  backdrop-filter: blur(4px);
  color: var(--gold);
  padding: 4px 9px;
  font-size: 0.55rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(176, 184, 196, 0.2);
  z-index: 2;
  font-family: var(--font-body);
}

.field-tile-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 12px 12px;
  color: var(--text);
  font-size: 0.7rem;
  line-height: 1.45;
  font-weight: 300;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s;
  z-index: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.field-tile:hover .field-tile-caption {
  opacity: 1;
  transform: translateY(0);
}

.insights-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.ed-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  background: transparent;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.ed-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.ed-cta:hover {
  color: var(--obsidian);
  border-color: var(--gold);
}

.ed-cta:hover::before {
  transform: scaleX(1);
}

.ed-cta-arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.ed-cta:hover .ed-cta-arrow {
  transform: translateX(4px);
}

/* Empty states */

.ed-empty {
  padding: 56px 32px;
  text-align: center;
  font-family: var(--font-display);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.4px;
  font-style: italic;
}

.ed-empty::before,
.ed-empty::after {
  content: "—";
  display: inline-block;
  margin: 0 14px;
  color: var(--text-dim);
  font-style: normal;
}

/* ---- Subpage: shared page header (for blog.html & blog-post.html) ------- */

body.ed-page {
  background: var(--obsidian);
}

.ed-page main {
  padding-top: var(--nav-height);
}

.ed-page-masthead {
  padding: 96px 0 64px;
  text-align: center;
  position: relative;
}

.ed-page-masthead::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ed-page-edition {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.ed-page-edition::before,
.ed-page-edition::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.ed-page-masthead h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 24px;
  color: var(--text);
}

.ed-page-masthead h1 em {
  font-style: italic;
  color: var(--gold);
}

.ed-page-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
  font-style: italic;
  line-height: 1.7;
  letter-spacing: 0.3px;
}

.ed-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 28px;
  transition: color 0.3s;
}

.ed-breadcrumb:hover {
  color: var(--gold);
}

.ed-breadcrumb::before {
  content: "←";
  font-weight: 400;
  transition: transform 0.3s;
}

.ed-breadcrumb:hover::before {
  transform: translateX(-3px);
}

/* ---- Blog archive (blog.html) ------------------------------------------ */

.ed-archive {
  padding: 0 0 96px;
}

.ed-archive-tools {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  margin-bottom: 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 20px;
}

.ed-archive-count {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.ed-archive-count strong {
  color: var(--gold);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
}

/* Editions selector — editorial masthead style */

.ed-archive-lang-tabs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.ed-archive-lang-tabs .editions-label {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 18px;
  padding-right: 18px;
  border-right: 1px solid var(--border-gold);
  font-family: var(--font-body);
  font-style: normal;
}

.ed-archive-lang-tabs button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 4px 0;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2px;
  text-transform: none;
  cursor: pointer;
  transition: color 0.25s;
  font-family: var(--font-display);
  font-style: italic;
  position: relative;
}

.ed-archive-lang-tabs button + button {
  margin-left: 22px;
}

.ed-archive-lang-tabs button + button::before {
  content: "·";
  position: absolute;
  left: -13px;
  top: 50%;
  transform: translateY(-52%);
  color: var(--text-dim);
  font-style: normal;
  font-family: var(--font-body);
  pointer-events: none;
}

.ed-archive-lang-tabs button:hover {
  color: var(--gold-light);
}

.ed-archive-lang-tabs button.active {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.ed-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}

.ed-archive-grid .blog-card {
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: transparent;
  transition: background 0.4s;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.ed-archive-grid .blog-card:hover {
  background: var(--glass);
}

.ed-archive-grid .blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-archive-grid .blog-card:hover::before {
  width: 100%;
}

.blog-card-cover {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--charcoal);
  position: relative;
}

.blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
}

.blog-card:hover .blog-card-cover img {
  transform: scale(1.05);
  filter: brightness(1.1) saturate(1.05);
}

.blog-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 8, 12, 0.6));
  pointer-events: none;
}

.blog-card-cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--charcoal), var(--slate));
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  opacity: 0.3;
}

.blog-card-cover--placeholder::after { display: none; }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.6rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.blog-card-meta .lang-chip {
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 2px 7px;
  font-size: 0.55rem;
  letter-spacing: 1.5px;
}

.blog-card-meta .ed-divider-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  transition: color 0.3s;
}

.blog-card:hover .blog-card-title {
  color: var(--gold);
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-card-footer::after {
  content: "→";
  transition: transform 0.3s;
}

.blog-card:hover .blog-card-footer::after {
  transform: translateX(4px);
}

/* ---- Article detail (blog-post.html) ----------------------------------- */

.article-page {
  padding: 0 0 120px;
}

.article-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 72px;
  overflow: hidden;
  margin-top: calc(var(--nav-height) * -1);
  padding-top: var(--nav-height);
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.article-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7) saturate(1.05) contrast(1.05);
}

.article-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,12,0.55) 0%, rgba(8,8,12,0.25) 30%, rgba(8,8,12,0.95) 100%),
    linear-gradient(90deg, rgba(8,8,12,0.5), transparent 40%, transparent 60%, rgba(8,8,12,0.5));
  pointer-events: none;
}

.article-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66Z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  opacity: 0.4;
  pointer-events: none;
}

.article-hero--placeholder .article-hero-bg {
  background: linear-gradient(135deg, var(--charcoal), var(--slate));
}

.article-hero--placeholder .article-hero-bg::after {
  opacity: 0.6;
}

.article-hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.article-hero-edition {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
}

.article-hero-edition::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: 0.2px;
  margin-bottom: 28px;
  max-width: 860px;
  text-wrap: balance;
}

.article-hero-deck {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  max-width: 680px;
  font-style: italic;
  letter-spacing: 0.3px;
}

/* Editorial masthead strip below hero */

.article-masthead {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--onyx);
  position: sticky;
  top: var(--nav-height);
  z-index: 10;
  backdrop-filter: blur(12px);
}

.article-masthead .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.article-meta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  flex-wrap: wrap;
}

.article-meta-group span strong {
  color: var(--gold);
  font-weight: 600;
  margin-right: 6px;
  letter-spacing: 2px;
}

.article-meta-group .sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--text-dim);
  margin: 0 4px;
}

/* Language switcher in masthead */

.article-edition-switcher {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  border: 1px solid var(--border);
  padding: 2px;
  font-size: 0.6rem;
}

.article-edition-switcher button,
.article-edition-switcher a {
  display: inline-block;
  padding: 6px 14px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.6rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-body);
  text-decoration: none;
}

.article-edition-switcher button.active,
.article-edition-switcher a.active {
  background: var(--gold);
  color: var(--obsidian);
}

.article-edition-switcher button:hover:not(.active),
.article-edition-switcher a:hover:not(.active) {
  color: var(--gold);
}

/* ---- Article body: the signature double-column layout ------------------ */

.article-body-wrap {
  padding: 72px 0 32px;
  max-width: 1040px;
  margin: 0 auto;
}

.article-lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--gold-light);
  margin-bottom: 48px;
  max-width: 820px;
  letter-spacing: 0.2px;
  text-wrap: balance;
}

.article-section-mark {
  text-align: center;
  margin: 0 0 48px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.6rem;
  opacity: 0.6;
  letter-spacing: 8px;
}

.article-body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text);
  letter-spacing: 0.1px;
}

@media (min-width: 960px) {
  .article-body {
    column-count: 2;
    column-gap: 56px;
    column-rule: 1px solid var(--border);
    column-fill: balance;
  }
}

/* First body paragraph = drop cap */

.article-body > p:first-of-type::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 5rem;
  line-height: 0.85;
  padding: 8px 12px 0 0;
  color: var(--gold);
  font-weight: 400;
  font-style: normal;
  margin-top: 4px;
}

/* Paragraphs */

.article-body p {
  margin: 0 0 20px;
  break-inside: avoid-column;
}

.article-body p:last-of-type {
  margin-bottom: 0;
}

/* Headings */

.article-body h2 {
  column-span: all;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: 0.2px;
  margin: 48px 0 28px;
  padding-top: 36px;
  position: relative;
  counter-increment: h2;
  text-wrap: balance;
}

.article-body {
  counter-reset: h2;
}

.article-body h2::before {
  content: "§ " counter(h2, decimal-leading-zero);
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.article-body h2::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.article-body h3 {
  column-span: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 28px 0 14px;
  break-after: avoid;
}

/* Other inline elements */

.article-body a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--border-gold);
  transition: color 0.25s, border-color 0.25s;
}

.article-body a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.article-body strong {
  font-weight: 600;
  color: var(--text);
}

.article-body em {
  font-style: italic;
  color: var(--gold-light);
}

.article-body blockquote {
  column-span: all;
  margin: 36px 0;
  padding: 28px 32px;
  border-left: 2px solid var(--gold);
  background: var(--glass);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--gold-light);
  font-style: italic;
  letter-spacing: 0.2px;
  max-width: 700px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px 24px;
  color: var(--text-muted);
}

.article-body li {
  margin-bottom: 6px;
  font-weight: 300;
  line-height: 1.75;
  break-inside: avoid;
}

.article-body hr {
  column-span: all;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
  margin: 48px auto;
  width: 160px;
}

.article-body code {
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 0.88em;
  background: var(--charcoal);
  padding: 2px 6px;
  border: 1px solid var(--border);
  color: var(--gold-light);
}

/* Article colophon (footer of the article) */

.article-colophon {
  max-width: 1040px;
  margin: 48px auto 0;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.article-colophon .ed-signature {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0.3px;
  font-weight: 400;
}

/* Further reading */

.further-reading {
  max-width: 1040px;
  margin: 72px auto 0;
  padding: 48px 0 0;
  border-top: 1px solid var(--border);
}

.further-reading-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 400;
  margin-bottom: 32px;
  color: var(--text);
  letter-spacing: 0.3px;
}

.further-reading-title em {
  color: var(--gold);
  font-style: italic;
}

.further-reading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.further-reading-grid .blog-card {
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--glass);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.further-reading-grid .blog-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.further-reading-grid .blog-card-cover {
  aspect-ratio: 16/9;
}

.further-reading-grid .blog-card-title {
  font-size: 1.05rem;
  line-height: 1.3;
}

/* SSR: other editions line (blog-post.php) */
.further-reading-editions {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted, #9aa0aa);
  margin: 0 0 40px;
  letter-spacing: 0.2px;
}

.further-reading-editions a,
.ed-issue-index a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(176, 184, 196, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.further-reading-editions a:hover,
.ed-issue-index a:hover {
  text-decoration-color: var(--gold);
}

/* SSR: index of all issues grouped by language (blog.php) */
.ed-issue-index {
  max-width: 1040px;
  margin: 88px auto 0;
  padding: 48px 0 0;
  border-top: 1px solid var(--border);
}

.ed-issue-index-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px 40px;
}

.ed-issue-index h3 {
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted, #9aa0aa);
  font-weight: 500;
  margin-bottom: 16px;
}

.ed-issue-index ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ed-issue-index li {
  font-size: 0.95rem;
  line-height: 1.45;
}

/* ---- Responsive (editorial) -------------------------------------------- */

@media (max-width: 1024px) {
  .insights-split {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .essay-row {
    grid-template-columns: 1.3fr 1fr;
  }
}

@media (max-width: 768px) {
  .insights-preamble {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .insights-preamble .ed-masthead-left,
  .insights-preamble .ed-masthead-right {
    text-align: center;
  }

  .insights-subtitle {
    margin-top: -24px;
  }

  .essay-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .essay-cover {
    aspect-ratio: 16/9;
  }

  .ed-archive-grid {
    grid-template-columns: 1fr;
  }

  .ed-archive-grid .blog-card {
    border-right: none;
  }

  .article-body {
    column-count: 1 !important;
  }

  .article-body > p:first-of-type::first-letter {
    font-size: 3.8rem;
  }

  .article-hero {
    min-height: 60vh;
    padding-bottom: 48px;
  }

  .article-masthead {
    position: static;
  }

  .article-masthead .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .further-reading-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .field-files {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .ed-page-masthead {
    padding: 72px 0 48px;
  }

  .article-hero h1 {
    font-size: 1.9rem;
  }

  .article-body {
    font-size: 0.98rem;
  }

  .article-body > p:first-of-type::first-letter {
    font-size: 3.2rem;
  }
}

/* ==========================================
   COOKIE BANNER + LEGAL PAGES
   ========================================== */

#dk-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(14, 14, 20, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(176, 184, 196, 0.18);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  padding: 18px 22px;
  font-family: var(--font-body);
  color: var(--text);
  animation: dkCbIn 0.32s ease;
}

@keyframes dkCbIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

#dk-cookie-banner.dk-cb-hide {
  animation: dkCbOut 0.32s ease forwards;
}

@keyframes dkCbOut {
  to { opacity: 0; transform: translateY(20px); }
}

.dk-cb-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.dk-cb-msg {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1 1 360px;
  color: var(--text-muted);
}

.dk-cb-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.dk-cb-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.dk-cb-link:hover {
  opacity: 0.7;
}

.dk-cb-btn {
  background: var(--gold);
  color: var(--obsidian);
  border: none;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.dk-cb-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  #dk-cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 14px 16px;
  }

  .dk-cb-inner {
    gap: 14px;
  }

  .dk-cb-actions {
    gap: 14px;
    width: 100%;
    justify-content: space-between;
  }

  .dk-cb-msg {
    font-size: 0.86rem;
  }
}

/* Legal pages (privacy.html, cookies.html) */

.legal-page main {
  padding: 140px 0 100px;
  background: var(--obsidian);
  min-height: 100vh;
}

.legal-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--text);
}

.legal-header {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(176, 184, 196, 0.12);
}

.legal-meta {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  opacity: 0.7;
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--text);
}

.legal-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.legal-article .legal-section,
.legal-article .legal-section:nth-child(even) {
  margin-bottom: 40px;
  padding: 0;
  background: transparent;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0 0 16px;
  color: var(--text);
  letter-spacing: 0.005em;
}

.legal-section p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-footer {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(176, 184, 196, 0.12);
}

.legal-back {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}

.legal-back:hover {
  opacity: 0.7;
}

@media (max-width: 640px) {
  .legal-page main {
    padding: 110px 0 80px;
  }
  .legal-article {
    padding: 0 18px;
  }
  .legal-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
  }
  .legal-section {
    margin-bottom: 32px;
  }
  .legal-section h2 {
    font-size: 1.25rem;
  }
}

/* Footer cookie-settings link */
.footer .footer-col a[data-cookie-reopen] {
  cursor: pointer;
}

/* Home → football-agent-italy landing link (below services grid) */
.services-more-link {
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(176, 184, 196, 0.35);
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.services-more-link:hover {
  color: var(--gold-light);
  text-decoration-color: var(--gold);
}
