/* First Contact Sports — Cinematic Sports Video Marketing */

:root {
  --bg-deep: #0a0c0b;
  --bg-surface: #121614;
  --bg-elevated: #1a1f1c;
  --bg-card: #161a18;

  --text-primary: #f2f2f2;
  --text-secondary: #a8b0ab;
  --text-muted: #6b756f;

  --accent: #c8cdd0;
  --accent-bright: #eef0f2;
  --accent-glow: rgba(200, 205, 208, 0.15);
  --accent-line: rgba(200, 205, 208, 0.35);

  --hill-dark: #0d1510;
  --hill-mid: #1a2e1f;
  --hill-light: #2a4a32;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Typography */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-style: italic;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-style: italic;
  margin-bottom: 1rem;
}

h2 em,
h1 em {
  font-style: italic;
  color: var(--accent-bright);
}

h3 {
  font-size: 1.35rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.section-lead {
  color: var(--text-secondary);
  max-width: 52ch;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(145deg, #e8eaec 0%, #a8adb0 50%, #d0d4d7 100%);
  color: var(--bg-deep);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-ghost {
  border: 1px solid var(--accent-line);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--accent-bright);
  background: rgba(255, 255, 255, 0.06);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.play-icon {
  font-size: 0.7rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(10, 12, 11, 0.95), rgba(10, 12, 11, 0));
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 12, 11, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 52px;
  width: auto;
  flex-shrink: 0;
}

.brand-footer .brand-logo {
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  padding: 0.55rem 1.2rem !important;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  color: var(--text-primary) !important;
}

.nav-cta:hover {
  border-color: var(--accent-bright);
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-light {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(60, 90, 70, 0.35) 0%, transparent 65%);
  filter: blur(40px);
}

.hero-hill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background:
    linear-gradient(to top, var(--bg-deep) 0%, transparent 40%),
    linear-gradient(135deg, var(--hill-dark) 0%, var(--hill-mid) 40%, var(--hill-light) 100%);
  clip-path: polygon(0 40%, 25% 25%, 50% 35%, 75% 15%, 100% 30%, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: 4rem 6rem;
}

.hero-copy {
  min-width: 0;
}

.hero-visual {
  justify-self: center;
  width: 100%;
  max-width: 520px;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.hero-logo {
  width: min(480px, 100%);
  height: auto;
}

.hero-title {
  max-width: 14ch;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--accent-bright);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stats dd {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent-line), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Sections */
.section {
  padding-block: 6rem;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

/* Services */
.services {
  background: var(--bg-surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.work-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
}

.work-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  cursor: pointer;
}

.work-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1)),
    linear-gradient(160deg, #1a2e1f 0%, #0d1510 50%, #2a1a10 100%);
}

.work-featured .work-thumb {
  aspect-ratio: unset;
  min-height: 280px;
}

.work-thumb-2 {
  background: linear-gradient(160deg, #1a1a2e 0%, #0d0d15 50%, #2e1a1a 100%);
}

.work-thumb-3 {
  background: linear-gradient(160deg, #2e2a1a 0%, #15120d 50%, #1a2e2a 100%);
}

.work-thumb-4 {
  background: linear-gradient(160deg, #1a2a2e 0%, #0d1215 50%, #2e1a2a 100%);
}

.work-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity var(--transition);
}

.work-card:hover .work-play {
  opacity: 1;
}

.work-play::before {
  content: "";
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  position: absolute;
}

.work-meta {
  padding: 1.25rem 1.5rem 1.5rem;
}

.work-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.work-meta p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

/* Process */
.process {
  background: var(--bg-surface);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  color: var(--accent);
  opacity: 0.8;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background:
    radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%),
    var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-logo {
  width: min(320px, 100%);
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.5));
}

.about-copy p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.about-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.about-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.about-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* CTA Band */
.cta-band {
  padding-block: 5rem;
  background:
    linear-gradient(135deg, var(--hill-mid) 0%, var(--bg-deep) 50%, var(--hill-dark) 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  margin-bottom: 0.75rem;
}

.cta-inner p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 42ch;
  margin-inline: auto;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form label span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-line);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-info {
  padding: 2rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-block + .info-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.info-block h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-style: normal;
}

.info-block a {
  color: var(--accent-bright);
  transition: opacity var(--transition);
}

.info-block a:hover {
  opacity: 0.8;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.social-links a:hover {
  color: var(--text-primary);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-deep);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
    max-width: 360px;
  }

  .hero-logo {
    width: min(360px, 100%);
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-featured {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 12, 11, 0.98);
    backdrop-filter: blur(16px);
    padding: 1rem 0 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 1.25rem;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 2rem;
  }

  .hero-scroll {
    display: none;
  }

  .brand-logo {
    height: 40px;
  }
}
