:root {
  --black: #0b0b0b;
  --black-2: #151515;
  --white: #f5f5f3;
  --grey: #a8a8a4;
  --red: #d81f26;
  --red-dark: #a3151b;
  --line: rgba(245, 245, 243, 0.1);
  --radius: 4px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Arial Narrow', Arial, 'Helvetica Neue', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Impact, 'Arial Black', 'Arial Narrow', sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  color: var(--white);
}

h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.25rem; margin-bottom: 0.3em; }

p { margin: 0 0 1em; color: var(--grey); }
a { color: inherit; text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.8em;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover {
  background: #f0262e;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(216, 31, 38, 0.4);
}
.btn-outline { border-color: var(--grey); color: var(--white); }
.btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 11, 11, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header-left { display: flex; align-items: center; gap: 16px; }
.logo { font-family: Impact, 'Arial Black', sans-serif; font-size: 1.4rem; letter-spacing: 1px; color: var(--white); }
.logo span { color: var(--red); }
.affiliate-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}
.affiliate-logo { height: 26px; width: 26px; border-radius: 50%; object-fit: cover; border: 1px solid var(--red); }
.affiliate-text { font-size: 0.62rem; line-height: 1.2; color: var(--grey); font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; }
.nav-desktop { display: flex; gap: 26px; }
.nav-link {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--grey);
  position: relative; padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--red); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--red);
}
.nav-cta { margin-left: 12px; padding: 10px 22px; font-size: 0.8rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); }
.nav-mobile { display: none; flex-direction: column; background: var(--black-2); border-top: 1px solid var(--line); padding: 12px 24px 20px; }
.nav-mobile .nav-link { padding: 10px 0; border-bottom: 1px solid var(--line); }
.nav-mobile.open { display: flex; }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at top right, rgba(216,31,38,0.2), transparent 55%), linear-gradient(160deg, #1a1a1a 0%, #0b0b0b 60%);
  overflow: hidden;
  padding-top: 76px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(216,31,38,0.05) 0px, rgba(216,31,38,0.05) 3px, transparent 3px, transparent 70px);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero-copy { position: relative; }
.hero-copy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/bulldog-logo.webp') center / cover no-repeat;
  opacity: 0.1;
  filter: grayscale(100%);
  pointer-events: none;
  z-index: 0;
}
.hero-sub { font-size: 1.1rem; max-width: 480px; text-transform: none; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.5em; }
.hero-affiliate {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 1.8em;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s ease;
}
.hero-affiliate:hover { border-color: var(--red); }
.hero-affiliate-logo { height: 32px; width: 32px; border-radius: 50%; object-fit: cover; border: 1px solid var(--red); }
.hero-affiliate span { font-size: 0.85rem; color: var(--grey); text-transform: none; }
.hero-affiliate strong { color: var(--white); }
.hero-media { display: flex; justify-content: center; }
.hero-photo {
  display: block;
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 15%;
  border-radius: var(--radius);
  border: 3px solid var(--red);
  box-shadow: 0 0 0 6px rgba(216,31,38,0.15), var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}

/* Stats bar */
.stats-bar { background: var(--red); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 20px; }
.stats-grid .stat-num { font-family: Impact, 'Arial Black', sans-serif; font-size: 2.2rem; display: block; color: var(--white); }
.stats-grid .stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.85); font-weight: 700; }

/* Sections */
.section { padding: 100px 0; }
.section-dark { background: var(--black-2); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.media-block {
  display: block; width: 100%;
  aspect-ratio: 4/5; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
  object-fit: cover; object-position: center 15%;
}

/* Classes */
.classes-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 40px; }
.class-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.class-card:hover { border-color: var(--red); transform: translateY(-4px); }
.class-icon { font-size: 1.8rem; margin-bottom: 10px; }
.class-card p { font-size: 0.88rem; margin-bottom: 0; text-transform: none; }

/* Credentials */
.credentials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; align-items: stretch; }
.credential-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.credential-card:hover { border-color: var(--red); transform: translateY(-4px); }
.credential-card h3 { color: var(--red); font-size: 1.05rem; }
.credential-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.credential-card li { font-size: 0.85rem; color: var(--grey); text-transform: none; line-height: 1.4; }

/* Schedule table */
.table-wrap { overflow-x: auto; margin-top: 30px; }
.schedule-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.schedule-table th, .schedule-table td {
  padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: 0.9rem;
}
.schedule-table th { text-transform: uppercase; letter-spacing: 0.5px; color: var(--red); font-size: 0.75rem; }
.schedule-table td:first-child, .schedule-table th:first-child { text-align: left; color: var(--white); font-weight: 700; }
.schedule-note { text-align: center; margin-top: 20px; font-size: 0.85rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.gallery-item {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 20%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.5em 0; }
.contact-list li { padding: 8px 0; }
.contact-list a { color: var(--red); font-weight: 700; }

.contact-form {
  display: flex; flex-direction: column; gap: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.5px; }
input, select, textarea {
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  text-transform: none;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); }
textarea { resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--red); min-height: 1.2em; margin: 0; text-transform: none; }

/* Footer */
.site-footer { background: #060606; border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--grey); }
.footer-inner p { margin: 0; display: flex; align-items: center; gap: 8px; }
.footer-logo { height: 22px; width: 22px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .nav-desktop, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .classes-grid, .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 70px 0; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
}
