/* ==========================================================================
   BULLFIGHT CLUB / bullfightclubph.com
   White dominant · Red #B20000 accent · Black text
   ========================================================================== */

:root {
  --red: #b20000;
  --red-dark: #8c0000;
  --black: #0d0d0d;
  --white: #ffffff;
  --off-white: #f6f5f3;
  --gray: #6b6b6b;
  --line: #e6e4e0;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --container: 1160px;
  --radius: 4px;
  --radius-btn: 2px;
  --shadow-sm: 0 1px 2px rgba(13, 13, 13, 0.05), 0 4px 14px rgba(13, 13, 13, 0.05);
  --shadow-md: 0 2px 4px rgba(13, 13, 13, 0.06), 0 14px 32px rgba(13, 13, 13, 0.11);
}

::selection { background: var(--red); color: var(--white); }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

.accent { color: var(--red); }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--red);
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 3px;
  background: var(--red);
  margin-right: 10px;
  vertical-align: middle;
}

.lead {
  font-size: 1.12rem;
  color: var(--gray);
  max-width: 60ch;
}

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

/* Faint dot grid keeps gray sections from reading flat */
.section-gray {
  background-color: var(--off-white);
  background-image: radial-gradient(rgba(13, 13, 13, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}

.section-black {
  background: linear-gradient(180deg, #161616 0%, var(--black) 60%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
/* Oversized outlined watermark anchored to the top-right edge (set via data-watermark) */
.section-black[data-watermark]::before {
  content: attr(data-watermark);
  position: absolute;
  top: 14px;
  right: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 15vw, 11rem);
  line-height: 0.85;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.10);
  pointer-events: none;
}
.section-black .container { position: relative; }
.section-black .lead { color: rgba(255, 255, 255, 0.72); }

.section-head { margin-bottom: 48px; position: relative; }
.section-head.center { text-align: center; }

/* Oversized ghost word behind section headings (set via data-ghost attribute) */
/* z-index: 0 creates a stacking context so the ghost paints above the section's
   own background (otherwise gray sections hide it) while staying behind the text */
.section-head[data-ghost] { z-index: 0; }
.section-head[data-ghost]::before {
  content: attr(data-ghost);
  position: absolute;
  left: 50%;
  top: -0.35em;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 13vw, 9rem);
  line-height: 1;
  white-space: nowrap;
  color: rgba(13, 13, 13, 0.045);
  text-transform: uppercase;
  pointer-events: none;
  z-index: -1;
}
.section-head[data-ghost]:not(.center)::before {
  left: 0;
  transform: none;
}
/* Slightly stronger on tinted gray sections so it reads the same as on white */
.section-gray .section-head[data-ghost]::before {
  color: rgba(13, 13, 13, 0.055);
}
.section-head.center .lead { margin: 12px auto 0; }
.section-head:not(.center) .lead { margin-top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 16px 32px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; }

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 3px 10px rgba(13, 13, 13, 0.14);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 13, 13, 0.18);
}

.btn-black {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: 0 3px 10px rgba(13, 13, 13, 0.14);
}
.btn-black:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 13, 13, 0.18);
}

.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--black); }

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

.text-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--black);
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
}
.text-link:hover { color: var(--red); text-decoration: none; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Solid white. Frosted blur + transparent logo composites into a dark halo */
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--black);
  letter-spacing: 0.02em;
  line-height: 1;
}
.logo:hover { text-decoration: none; }
.logo .logo-mark {
  height: 40px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  background: transparent;
}

.logo .logo-wordmark {
  height: 34px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* Header: full nav height, flush to the bottom (covers the 1px border seam) */
.site-header .logo {
  align-items: flex-end;
  align-self: stretch;
  gap: 8px;
}
.site-header .logo .logo-mark {
  height: 72px;
  object-position: bottom;
  margin-bottom: -1px;
}
.site-header .logo .logo-wordmark {
  height: 40px;
  margin-bottom: 10px; /* optically center with taller bull mark */
}

.site-footer .logo .logo-mark {
  height: 48px;
}
.site-footer .logo .logo-wordmark {
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--black);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  position: relative;
}
.nav-links a:hover { color: var(--red); text-decoration: none; }
.nav-links a.active { color: var(--red); }

/* Animated underline for regular nav links */
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active:not(.nav-cta)::after { transform: scaleX(1); }

.nav-links .nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 2px 8px rgba(13, 13, 13, 0.12);
  transition: box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.nav-links .nav-cta:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(13, 13, 13, 0.16);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.15) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  /* Keep the container's 20px side padding; only vertical padding is custom */
  padding: 130px 20px 140px;
}

/* Keep the copy narrow without breaking container alignment */
.hero-inner h1 {
  max-width: 17ch;
  font-size: clamp(2.5rem, 6.5vw, 4.8rem);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.85);
  margin: 22px 0 34px;
}

/* Page hero (interior pages) */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.page-hero .lead { color: rgba(255,255,255,0.78); margin-top: 16px; }
.page-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  background: var(--red);
  transform: rotate(18deg);
  opacity: 0.14;
}
/* Faint blueprint grid */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

/* Photo variant: full-bleed image instead of the grid + red shape */
.page-hero.has-photo::before,
.page-hero.has-photo::after { display: none; }

.page-hero-media {
  position: absolute;
  inset: 0;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
}
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 13, 13, 0.88) 0%, rgba(13, 13, 13, 0.55) 55%, rgba(13, 13, 13, 0.3) 100%);
}

/* Editorial heroes: Locations + Partner (no photos) */
.page-hero.hero-editorial::before,
.page-hero.hero-editorial::after { display: none; }

.page-hero.hero-editorial {
  padding: 96px 0 100px;
  background: var(--black);
}

.page-hero.hero-editorial .container {
  padding-left: max(36px, calc((100% - var(--container)) / 2 + 28px));
}

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

.hero-ed-rule {
  position: absolute;
  left: max(20px, calc((100% - var(--container)) / 2));
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
}

.hero-ed-block {
  position: absolute;
  right: 0;
  top: 0;
  width: min(38vw, 420px);
  height: 100%;
  background: linear-gradient(180deg, #161616 0%, #0a0a0a 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-ed-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  width: 100%;
  height: 3px;
  background: var(--red);
}

.hero-ed-block::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 14%;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-ed-frame {
  position: absolute;
  right: 6%;
  top: 22%;
  width: min(28vw, 280px);
  height: 56%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1;
}
.hero-ed-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}
.hero-ed-frame::after {
  content: "1.5 \00d7 1.5 m";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

.hero-ed-watermark {
  position: absolute;
  right: -0.04em;
  bottom: -0.12em;
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  line-height: 0.8;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.hero-locations .hero-ed-frame { display: none; }
.hero-partner .hero-ed-block::after { display: none; }

@media (max-width: 900px) {
  .hero-ed-block { width: min(46vw, 280px); opacity: 0.9; }
  .hero-ed-frame { display: none; }
}

@media (max-width: 760px) {
  .page-hero.hero-editorial { padding: 72px 0 80px; }
  .hero-ed-block { display: none; }
  .hero-ed-watermark {
    right: 0;
    bottom: 0;
    font-size: clamp(4.5rem, 28vw, 7rem);
    opacity: 0.85;
  }
  .hero-ed-rule { left: 16px; }
}

/* ---------- Stats strip ---------- */

.stats-strip {
  background: linear-gradient(120deg, #c50e0e 0%, var(--red) 45%, #8f0000 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal pinstripe texture */
.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 16px);
  pointer-events: none;
}
.stats-strip .container { position: relative; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.stat { padding: 40px 16px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.25); }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
}

.stat-label {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.9;
}

.stats-note {
  text-align: center;
  font-size: 0.75rem;
  padding-bottom: 14px;
  opacity: 0.7;
}

/* ---------- Cards & grids ---------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Red accent bar that slides in on hover */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:not(:has(form)):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card:not(:has(form)):hover::before { transform: scaleX(1); }

.step-card {
  position: relative;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
}

/* Pins card buttons to the bottom so a row of cards stays aligned */
.card-action { margin-top: auto; padding-top: 22px; }

/* Editorial index label: small red number */
.step-num {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--red);
  line-height: 1;
  margin-bottom: 18px;
}

.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--gray); font-size: 0.98rem; }

.img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Editorial hairline inset frame over photos */
.img-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 2px;
  pointer-events: none;
}

.img-frame-tall { aspect-ratio: 4 / 5; }
.img-frame-wide { aspect-ratio: 16 / 10; }

.img-caption {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Agency-style offset frame: thin red outline peeking out behind the photo */
.img-offset {
  position: relative;
  padding: 0 20px 20px 0;
}
.img-offset::before {
  content: "";
  position: absolute;
  inset: 20px 0 0 20px;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  pointer-events: none;
}
.img-offset .img-frame { position: relative; z-index: 1; }

/* Floating stat chip overlapping a photo */
.float-chip {
  position: absolute;
  left: -14px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: var(--shadow-md);
}
.float-chip .chip-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--red);
}
.float-chip .chip-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray);
  line-height: 1.5;
  max-width: 14ch;
}

/* ---------- Checklist ---------- */

.checklist { list-style: none; }

.checklist li {
  position: relative;
  padding: 14px 0 14px 44px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.checklist li:last-child { border-bottom: none; }

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 26px;
  height: 26px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 22px;
  width: 10px;
  height: 6px;
  border-left: 2.5px solid var(--white);
  border-bottom: 2.5px solid var(--white);
  transform: rotate(-45deg);
}

.checklist li small {
  display: block;
  font-weight: 400;
  color: var(--gray);
  font-size: 0.88rem;
}

/* Checklist on dark sections: minimal red dash marker instead of circles */
.section-black .checklist li {
  border-color: rgba(255, 255, 255, 0.14);
  padding-left: 36px;
  font-weight: 600;
}
.section-black .checklist li small { color: rgba(255, 255, 255, 0.6); }
.section-black .checklist li::before {
  width: 20px;
  height: 2px;
  background: var(--red);
  border-radius: 0;
  top: 26px;
  left: 0;
}
.section-black .checklist li::after { display: none; }

/* ---------- Pricing / model cards ---------- */

.model-card {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px;
  background: linear-gradient(175deg, var(--white) 0%, #fbfaf9 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.model-card.featured {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
.model-card.featured::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), #c50e0e);
}

.model-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: var(--black);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.model-card.featured .model-tag { background: var(--red); }

.model-card h3 { margin-bottom: 12px; }
.model-card p { color: var(--gray); }
.model-card ul { list-style: none; margin-top: 18px; }
.model-card ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 0.95rem;
}
.model-card ul li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ---------- Forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
}

input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--red);
}
textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.85rem; color: var(--gray); margin-top: 14px; }

.form-success {
  display: none;
  background: #eef9ee;
  border: 1.5px solid #2e7d32;
  color: #2e7d32;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 18px;
  font-weight: 600;
}

/* ---------- Contact channels ---------- */

.channel-list { list-style: none; display: grid; gap: 12px; }

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--black);
  font-weight: 600;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.channel:hover {
  border-color: var(--red);
  text-decoration: none;
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.channel.primary {
  border-color: var(--red);
  background: #fdf6f6;
  box-shadow: var(--shadow-sm);
}

.channel .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel .icon svg { width: 20px; height: 20px; fill: currentColor; }

.channel small { display: block; font-weight: 400; color: var(--gray); font-size: 0.82rem; }

/* Mega typographic link rows (contact page) */
.mega-links { border-top: 1px solid var(--line); }

.mega-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 38px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--black);
  overflow: hidden;
}
.mega-link:hover { text-decoration: none; }

/* Red panel that sweeps up on hover */
.mega-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateY(101%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mega-link:hover::before { transform: translateY(0); }

.mega-link > span {
  position: relative;
  transition: color 0.25s ease;
}

.mega-idx {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--red);
  width: 34px;
  flex-shrink: 0;
}

.mega-word {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.5vw, 4.2rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.mega-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
/* Keep these above the hover sweep even when .mega-meta uses display: contents */
.mega-meta span { position: relative; transition: color 0.25s ease; }

.mega-handle {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray);
  transition: color 0.25s ease;
}
.mega-handle[data-copy] { cursor: copy; }
.mega-handle.copied { color: var(--red); font-weight: 800; }
.mega-link:hover .mega-handle.copied { color: var(--white); }

.mega-arrow {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border: 1.5px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: transform 0.3s ease, border-color 0.25s ease, color 0.25s ease;
}

.mega-link:hover .mega-idx,
.mega-link:hover .mega-word,
.mega-link:hover .mega-handle { color: var(--white); }
.mega-link:hover .mega-arrow {
  color: var(--white);
  border-color: var(--white);
  transform: rotate(-45deg);
}

/* Contact form panel */
.contact-form-panel {
  max-width: 720px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--red);
}

@media (max-width: 760px) {
  .contact-form-panel { padding: 28px 20px; }
}

/* ---------- Instagram grid ---------- */

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ig-tile {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  background: var(--off-white);
  box-shadow: var(--shadow-sm);
}
.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.ig-tile:hover img { transform: scale(1.05); }

/* Dark gradient wash on hover */
.ig-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 13, 13, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.ig-tile:hover::after { opacity: 1; }

/* ---------- Locations ---------- */

/* Interactive machine map (Leaflet) */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
#machine-map {
  height: 460px;
  width: 100%;
  background: var(--off-white);
}
/* Grayscale basemap so the red pins carry the brand */
#machine-map .leaflet-tile-pane { filter: grayscale(1) contrast(1.02); }
#machine-map .leaflet-popup-content-wrapper { border-radius: var(--radius); }
#machine-map .leaflet-popup-content { font-family: var(--font-body); }
#machine-map .leaflet-popup-content strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}
#machine-map .leaflet-popup-content a { font-weight: 700; }

.city-block { margin-bottom: 56px; }
.city-block:last-child { margin-bottom: 0; }

.city-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-transform: uppercase;
  border-bottom: 3px solid var(--red);
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 26px;
}

.venue-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--red);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.venue-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.venue-card h3 { font-size: 1.15rem; }
.venue-card .venue-detail { color: var(--gray); font-size: 0.95rem; }
.venue-card .venue-status {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 4px;
}
.venue-card .venue-status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 7px;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.venue-card .map-link { margin-top: 10px; font-size: 0.85rem; font-weight: 700; }

/* ---------- Team ---------- */

.team-card { text-align: center; }

.team-photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--off-white) 0%, #edebe8 100%);
  box-shadow: inset 0 2px 10px rgba(13, 13, 13, 0.04);
  border: 1.5px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
}
.team-photo .initials {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--red);
}
.team-card h3 { font-size: 1.2rem; }
.team-card .role { color: var(--gray); font-size: 0.92rem; margin-top: 4px; }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(120deg, #c50e0e 0%, var(--red) 45%, #8f0000 100%);
  color: var(--white);
  text-align: center;
  padding: 84px 20px;
  position: relative;
  overflow: hidden;
}
/* Outlined watermark headline behind the CTA */
.cta-banner::before {
  content: "BULLFIGHT CLUB";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 17vw, 13rem);
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { max-width: 54ch; margin: 0 auto 30px; opacity: 0.92; }
.cta-banner .btn-black { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 28px;
  font-size: 0.92rem;
  border-top: 4px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .logo { color: var(--white); margin-bottom: 16px; }
.footer-tagline { max-width: 30ch; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.75); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--white); }

/* ---------- Floating Messenger button ---------- */

.messenger-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(13, 13, 13, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.messenger-fab:hover {
  transform: scale(1.08);
  background: var(--red-dark);
  box-shadow: 0 10px 28px rgba(13, 13, 13, 0.34);
}
.messenger-fab svg { width: 28px; height: 28px; fill: var(--white); }

/* ---------- Misc ---------- */

.note-box {
  background: var(--off-white);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--gray);
}

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.1rem; margin: 28px 0 10px; font-family: var(--font-body); font-weight: 700; text-transform: none; }
.prose p, .prose li { color: #333; margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.spec-pill strong { color: var(--red); font-size: 1.05rem; }

/* ---------- Scroll reveal (classes applied by js/main.js) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 60px 0; }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 2;
  }

  /* Mobile: bull + wordmark on the left (content-aligned), menu on the right */
  .nav-bar {
    position: relative;
    justify-content: flex-end;
  }
  .site-header .logo {
    position: absolute;
    left: 20px; /* match .container horizontal padding */
    right: auto;
    top: 0;
    bottom: 0;
    transform: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 8px;
    pointer-events: auto;
  }
  .site-header .logo .logo-mark {
    position: static;
    height: 72px;
    margin: 0 0 -1px;
  }
  .site-header .logo .logo-wordmark {
    position: static;
    transform: none;
    height: 34px;
    margin: 0 0 10px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; padding-top: 18px; }
  .nav-links .nav-cta { display: block; text-align: center; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { gap: 32px; }

  .hero-inner { padding: 90px 20px 100px; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.25); }
  .stat { padding: 28px 16px; }

  .form-grid { grid-template-columns: 1fr; }

  #machine-map { height: 320px; }

  /* Stack the handle under the big word; arrow stays on the right */
  .mega-link {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 18px;
    padding: 26px 6px;
  }
  .mega-idx { display: none; }
  .mega-meta { display: contents; }
  .mega-word { grid-area: 1 / 1; }
  .mega-handle {
    grid-area: 2 / 1;
    font-size: 0.85rem;
    overflow-wrap: anywhere;
  }
  .mega-arrow {
    grid-area: 1 / 2 / 3 / 3;
    align-self: center;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .messenger-fab { bottom: 18px; right: 18px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-group { flex-direction: column; }
}

/* ==========================================================================
   Brand overhaul components: the hunt / rankings
   ========================================================================== */

/* Giant glowing number in the hero */
.hero-score {
  position: absolute;
  right: 3%;
  bottom: 6%;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(7rem, 20vw, 17rem);
  line-height: 0.85;
  color: var(--red);
  text-shadow: 0 0 70px rgba(178, 0, 0, 0.6), 0 0 18px rgba(178, 0, 0, 0.4);
  pointer-events: none;
  user-select: none;
}

/* Manifesto (The Hunt) */
.manifesto { max-width: 780px; }
.manifesto p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 22px;
}
.manifesto p strong { color: var(--white); font-weight: 700; }
.manifesto .manifesto-close {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--white);
  margin-top: 36px;
}
.manifesto .manifesto-close .accent { color: var(--red); }

/* National record card */
.record-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
  padding: 64px 28px 56px;
  position: relative;
  overflow: hidden;
}
.record-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  pointer-events: none;
}
.record-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--red);
  margin-bottom: 10px;
}
.record-score {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 13rem);
  line-height: 0.9;
  color: var(--red);
  text-shadow: 0 0 60px rgba(178, 0, 0, 0.5);
}
.record-holder {
  margin-top: 18px;
  font-size: 1.05rem;
  font-weight: 600;
}
.record-holder small {
  display: block;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}
.record-cta { margin-top: 30px; }

/* Rankings feed placeholder */
.feed-placeholder {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 44px 24px;
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  background: var(--off-white);
}

/* Rules of the club */
.rules-list { border-top: 1px solid var(--line); }
.rule-row {
  display: flex;
  align-items: baseline;
  gap: 26px;
  padding: 26px 6px;
  border-bottom: 1px solid var(--line);
}
.rule-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--red);
  flex-shrink: 0;
  width: 64px;
  line-height: 1;
}
.rule-text {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .hero-score {
    right: 12px;
    bottom: 4%;
    font-size: clamp(5rem, 26vw, 8rem);
    opacity: 0.5;
  }
  .rule-row { gap: 16px; padding: 20px 2px; }
  .rule-num { width: 44px; font-size: 1.5rem; }
}
