/* ==========================================================================
   One Chance Management — ocmgroup.ca
   Palette extracted from the original onechancemanagement.com (Elementor
   global kit + logo sampling). Change brand colors here, in one place.
   ========================================================================== */

:root {
  /* Brand anchors (from logo + Elementor global kit) */
  --ocm-gold: #E0B545;        /* primary accent — buttons, rules, highlights */
  --ocm-gold-dark: #9B7A2E;   /* logo gold shading — darkened gold states */
  --ocm-charcoal: #231F20;    /* unified charcoal — logo, header, footer */
  --ocm-ink: #0D0D0D;         /* deepest black — hero overlays */
  --ocm-footer-deep: #111111; /* footer copyright strip */
  --ocm-silver: #BCBEC0;      /* logo silver — muted text on dark */

  /* Neutrals (from page styles) */
  --ocm-heading: #222222;     /* headings; button hover background */
  --ocm-body: #444444;        /* body copy */
  --ocm-text-muted: #666666;  /* secondary text */
  --ocm-off-white: #F8F4F2;   /* alternate section background */
  --ocm-white: #FFFFFF;

  /* Type */
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1140px;
  --header-h: 82px;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ocm-body);
  background: var(--ocm-white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ocm-heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--ocm-gold-dark); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--ocm-gold);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ocm-gold);
  color: var(--ocm-charcoal);
  padding: 10px 18px;
  z-index: 200;
  font-weight: 700;
}

.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 16px 30px;
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-gold {
  background: var(--ocm-gold);
  color: var(--ocm-white);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--ocm-heading);
  color: var(--ocm-white);
}

.btn-outline {
  background: transparent;
  color: var(--ocm-heading);
  box-shadow: inset 0 0 0 2px var(--ocm-heading);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--ocm-heading);
  color: var(--ocm-white);
}

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--ocm-charcoal);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}

.brand img { width: 96px; height: auto; }

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ocm-white);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current="page"] {
  color: var(--ocm-gold);
  border-bottom-color: var(--ocm-gold);
}

.site-nav .btn { padding: 12px 22px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--ocm-white);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ocm-charcoal);
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
  }

  .site-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

  .site-nav li:last-child { border-bottom: 0; padding-top: 16px; }

  .site-nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 0; }

  .site-nav .btn { display: block; text-align: center; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ocm-charcoal);
  color: var(--ocm-white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  animation: hero-zoom 30s ease-in-out infinite alternate;
}

/* Slow cinematic push-in, biased right so the fighter in the cage clears the
   headline instead of sitting behind it.
   NOTE: a percentage translate is multiplied by the scale, so the real shift
   is translateX x scale — keep that under (scale - 1) / 2 or the frame pulls
   away from the edge and leaves a gap. Here: 0.17 x 1.6 = 0.27 < 0.30. */
@keyframes hero-zoom {
  from { transform: scale(1.6) translateX(17%); }
  to { transform: scale(1.7) translateX(17%) translateY(-1.5%); }
}

/* Floodlight beam sweeping across the hero every few seconds */
.hero-media::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 240, 205, 0.09) 50%, transparent 60%);
  animation: light-sweep 11s ease-in-out infinite;
}

@keyframes light-sweep {
  0% { transform: translateX(-28%); }
  55% { transform: translateX(28%); }
  100% { transform: translateX(-28%); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Vertical wash for legibility, plus a left-weighted scrim so the headline
     stays readable while the right of the frame keeps its detail. */
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.72) 0%, rgba(13, 13, 13, 0.45) 42%, rgba(13, 13, 13, 0) 70%),
    linear-gradient(180deg, rgba(13, 13, 13, 0.2) 0%, rgba(13, 13, 13, 0.75) 100%);
}

@media (max-width: 860px) {
  /* On narrow screens the text fills the width — keep the frame centred. */
  .hero-media::after { background: linear-gradient(180deg, rgba(13, 13, 13, 0.3) 0%, rgba(13, 13, 13, 0.8) 100%); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(90px, 14vw, 170px) 20px;
  max-width: 820px;
}

.hero .eyebrow {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ocm-gold);
  margin-bottom: 18px;
}

.hero h1 { color: var(--ocm-white); margin-bottom: 0.4em; }

.hero p.lead {
  font-size: 1.125rem;
  color: var(--ocm-silver);
  max-width: 560px;
  margin-bottom: 2em;
}

/* Page hero (interior pages) — arena backdrop behind a heavy charcoal wash */
.page-hero {
  background:
    linear-gradient(180deg, rgba(23, 19, 20, 0.78) 0%, rgba(23, 19, 20, 0.9) 100%),
    var(--ocm-charcoal) url("../images/hero-arena.jpg") center 32% / cover no-repeat;
  color: var(--ocm-white);
  padding: clamp(48px, 8vw, 90px) 0;
}

/* Gentle parallax on desktop — backdrop stays put while the page scrolls */
@media (min-width: 1025px) {
  .page-hero { background-attachment: fixed; }
}

.page-hero h1 { color: var(--ocm-white); margin: 0; }

.page-hero .eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ocm-gold);
  font-size: 0.9375rem;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(56px, 9vw, 100px) 0; }

.section.alt { background: var(--ocm-off-white); }

.section-head { max-width: 640px; margin-bottom: 48px; }

.section-head .kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.875rem;
  color: var(--ocm-gold-dark);
  margin-bottom: 8px;
}

.section-head p { color: var(--ocm-text-muted); margin-bottom: 0; }

.gold-rule {
  width: 56px;
  height: 4px;
  background: var(--ocm-gold);
  border: 0;
  margin: 18px 0 0;
}

/* Two-column about split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.split img { box-shadow: -16px 16px 0 var(--ocm-gold); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split img { box-shadow: -10px 10px 0 var(--ocm-gold); }
}

/* --------------------------------------------------------------------------
   Services grid
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--ocm-white);
  border-top: 4px solid transparent;
  padding: 32px 28px;
  box-shadow: 0 2px 14px rgba(13, 13, 13, 0.06);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-card:hover { border-top-color: var(--ocm-gold); transform: translateY(-4px); }

.service-card h3 { margin-bottom: 0.6em; }

.service-card p { color: var(--ocm-text-muted); font-size: 0.9375rem; margin: 0; }

/* Full-bleed image at the top of a card (card padding is 32px 28px) */
.service-card .card-media {
  width: calc(100% + 56px);
  max-width: none;
  height: auto;
  margin: -32px -28px 24px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--ocm-gold);
  display: block;
  margin-bottom: 14px;
}

/* Four-card variant sits as a balanced 2x2 rather than 3 + an orphan */
.services-grid.four { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1020px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid, .services-grid.four { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Team cards
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--ocm-white);
  box-shadow: 0 2px 14px rgba(13, 13, 13, 0.06);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.team-card-body { padding: 24px; }

.team-card h3 { margin-bottom: 0.2em; }

.team-card .role {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8125rem;
  color: var(--ocm-gold-dark);
  margin-bottom: 14px;
}

.team-card .bio { font-size: 0.9375rem; color: var(--ocm-text-muted); margin: 0; }

.team-card details summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--ocm-gold-dark);
  margin-top: 12px;
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}

/* Vertical team list (team.html) — one member per row, photo beside bio */
.team-grid.vertical {
  grid-template-columns: 1fr;
  max-width: 920px;
}

.team-grid.vertical .team-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: stretch;
}

.team-grid.vertical .team-card img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 300px;
}

.team-grid.vertical .team-card-body {
  padding: 28px 32px;
  align-self: center;
}

@media (max-width: 720px) {
  .team-grid.vertical .team-card { grid-template-columns: 1fr; }

  .team-grid.vertical .team-card img {
    aspect-ratio: 4 / 5;
    height: auto;
    min-height: 0;
  }
}

/* --------------------------------------------------------------------------
   Clients
   -------------------------------------------------------------------------- */
/* Sport categories — one group per sport, easy to add more */
.sport-group { margin-bottom: 56px; }

.sport-group:last-child { margin-bottom: 0; }

.sport-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.375rem;
  margin-bottom: 24px;
}

.sport-heading::after {
  content: "";
  flex: 1;
  height: 3px;
  background: var(--ocm-gold);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
}

.client-card {
  background: var(--ocm-white);
  box-shadow: 0 2px 14px rgba(13, 13, 13, 0.06);
  padding: 22px 18px;
  text-align: center;
}

.client-avatar {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--ocm-charcoal);
  color: var(--ocm-gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ocm-gold);
}

.client-photo {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ocm-gold);
}

.client-card h3 { font-size: 1.0625rem; }

/* Competition status — gold for pros, quiet outline for amateurs */
.client-status {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 11px;
}

.client-status.pro {
  background: var(--ocm-gold);
  color: var(--ocm-charcoal);
}

.client-status.amateur {
  color: var(--ocm-text-muted);
  box-shadow: inset 0 0 0 1px var(--ocm-silver);
}

/* Compact social row inside a client card */
.client-card .social-row { margin-top: 12px; gap: 8px; }

.client-card .social-row a { width: 30px; height: 30px; }

.client-card .social-row svg { width: 14px; height: 14px; }

/* Creator cards — larger portrait + social handles */
.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.creator-card {
  background: var(--ocm-white);
  box-shadow: 0 2px 14px rgba(13, 13, 13, 0.06);
  padding: 30px 24px 26px;
  text-align: center;
  border-top: 4px solid transparent;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.creator-card:hover { border-top-color: var(--ocm-gold); transform: translateY(-4px); }

.creator-photo,
.creator-card .client-avatar {
  width: 116px;
  height: 116px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--ocm-gold);
}

.creator-card .handle {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8125rem;
  color: var(--ocm-gold-dark);
  margin-bottom: 6px;
}

.creator-card .discipline { font-size: 0.9375rem; color: var(--ocm-text-muted); }

/* Social icon row */
.social-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ocm-charcoal);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-row a:hover,
.social-row a:focus-visible {
  background: var(--ocm-gold);
  transform: translateY(-2px);
}

.social-row svg { width: 17px; height: 17px; fill: var(--ocm-white); }

.social-row a:hover svg { fill: var(--ocm-charcoal); }

.client-card h3 { margin-bottom: 0.2em; }

.client-card .sport {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8125rem;
  color: var(--ocm-gold-dark);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background:
    linear-gradient(180deg, rgba(23, 19, 20, 0.86) 0%, rgba(23, 19, 20, 0.93) 100%),
    var(--ocm-charcoal) url("../images/hero-arena.jpg") center 42% / cover no-repeat;
  color: var(--ocm-white);
  text-align: center;
  padding: clamp(56px, 9vw, 90px) 0;
}

.cta-band h2 { color: var(--ocm-white); }

.cta-band p { color: var(--ocm-silver); max-width: 520px; margin: 0 auto 2em; }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 0; padding: 0; }

.contact-list li { margin-bottom: 18px; padding-left: 30px; position: relative; }

.contact-list .ico {
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  fill: var(--ocm-gold);
}

.contact-list a { color: var(--ocm-body); text-decoration: none; }

.contact-list a:hover { color: var(--ocm-gold-dark); text-decoration: underline; }

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

.form-grid .full { grid-column: 1 / -1; }

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

label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--ocm-heading);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--ocm-body);
  background: var(--ocm-white);
  border: 1px solid var(--ocm-silver);
  padding: 12px 14px;
}

textarea { min-height: 150px; resize: vertical; }

.form-alt {
  margin: 14px 0 0;
  font-size: 0.875rem;
  color: var(--ocm-text-muted);
}

.form-alt a { color: var(--ocm-gold-dark); }

.form-success {
  background: var(--ocm-off-white);
  border-left: 4px solid var(--ocm-gold);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.form-success[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ocm-charcoal);
  color: var(--ocm-silver);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: clamp(48px, 7vw, 72px);
}

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

.site-footer h4 {
  color: var(--ocm-white);
  font-size: 1rem;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

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

.site-footer li { margin-bottom: 10px; }

.site-footer a { color: var(--ocm-silver); text-decoration: none; transition: color 0.2s ease; }

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

.footer-brand img { width: 110px; margin-bottom: 16px; }

.footer-brand .tagline { color: var(--ocm-silver); font-style: italic; }

.social-links { display: flex; gap: 14px; margin-top: 18px; }

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.social-links a:hover { background: var(--ocm-gold); }

.social-links svg { width: 18px; height: 18px; fill: var(--ocm-white); }

.footer-bottom {
  background: var(--ocm-footer-deep);
  text-align: center;
  padding: 18px 20px;
  font-size: 0.8125rem;
  color: var(--ocm-silver);
}

.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   Scroll reveal (single subtle motion; disabled for reduced motion)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal { opacity: 1; transform: none; transition: none; }

  .service-card,
  .service-card:hover { transform: none; transition: none; }

  .hero-media img,
  .hero-media::before { animation: none; }

  .page-hero { background-attachment: scroll; }
}
