/* Professional MMA Institute — lite public face · navy / gold · dojang restraint */

:root {
  --void: #0a0e16;
  --navy: #0f1a2e;
  --navy-mid: #152238;
  --ink: #e8e6e1;
  --muted: #9a958c;
  --gold: #c4a35a;
  --gold-bright: #d4b86a;
  --line: rgba(196, 163, 90, 0.22);
  --line-soft: rgba(232, 230, 225, 0.08);
  --max: 68rem;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-bright);
  text-decoration: none;
}

a:hover {
  color: #e8d5a3;
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ── Nav ─────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 14, 22, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav-brand:hover {
  color: var(--gold-bright);
  text-decoration: none;
}

.nav-brand img {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  border-radius: 0.2rem;
}

.nav-brand span {
  font-size: 0.88rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.nav-cta {
  color: var(--void) !important;
  background: var(--gold);
  padding: 0.4rem 0.9rem;
  border-radius: 0.25rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.nav-cta:hover {
  background: var(--gold-bright);
  color: var(--void) !important;
  text-decoration: none;
}

@media (max-width: 720px) {
  .nav-brand span {
    display: none;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* ── Hero ────────────────────────────────────────────── */

.hero {
  padding: 2.5rem 0 2.75rem;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 80% 50% at 70% 0%, rgba(196, 163, 90, 0.08), transparent 55%),
    var(--void);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .hero {
    padding: 2.25rem 0 2.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.25rem;
    align-items: center;
  }
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: #f5f2eb;
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.3rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--void);
}

.btn-primary:hover {
  background: var(--gold-bright);
  color: var(--void);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  text-decoration: none;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0;
}

.crest-frame {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  /* Tight frame — less black void around the marks */
  padding: 0.4rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  max-width: 18.5rem;
  margin-inline: auto;
  width: 100%;
}

@media (min-width: 880px) {
  .crest-frame {
    max-width: 17.5rem;
    margin-inline: 0 0 auto;
  }
}

/* Portrait 4:5 loop — crest/logo fill height; minimal top/bottom void */
.crest-frame img,
.crest-video {
  width: 100%;
  max-width: none;
  margin: 0;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #000;
  border-radius: 0.3rem;
  aspect-ratio: 4 / 5;
}

/* ── Sections ────────────────────────────────────────── */

.section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: #f5f2eb;
}

.section .intro {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 2rem;
}

/* Rank path — centered */

.section-path {
  text-align: center;
}

.section-path .intro {
  margin-inline: auto;
}

.section-path .ladder {
  margin-inline: auto;
  text-align: left;
}

.section-path .ladder-note {
  margin-inline: auto;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}

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

.card {
  background: var(--navy);
  border: 1px solid var(--line-soft);
  border-radius: 0.45rem;
  padding: 1.25rem 1.2rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--gold-bright);
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Rank ladder */

.ladder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-width: 36rem;
}

.ladder li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  background: var(--navy);
  border: 1px solid var(--line-soft);
  border-radius: 0.35rem;
  font-size: 0.95rem;
}

.ladder .rank {
  font-weight: 600;
  color: #f5f2eb;
}

.ladder .band {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.ladder-note {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 40rem;
}

/* Brand strip */

.brand-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .brand-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.brand-card {
  background: #000;
  border: 1px solid var(--line-soft);
  border-radius: 0.45rem;
  padding: 1.25rem;
  text-align: center;
}

.brand-full {
  display: block;
  background: #000;
  border-radius: 0.3rem;
  margin: 0 auto 0.85rem;
  text-decoration: none;
  transition: outline-color 0.15s ease, opacity 0.15s ease;
  outline: 1px solid transparent;
}

.brand-full:hover {
  outline-color: var(--line);
  opacity: 0.95;
  text-decoration: none;
}

.brand-card img {
  width: 100%;
  max-height: 11rem;
  object-fit: contain;
  margin: 0 auto;
  background: #000;
}

.brand-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  color: var(--gold-bright);
}

.brand-open {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-bright);
  text-decoration: none;
}

.brand-open:hover {
  color: #e8d5a3;
  text-decoration: underline;
}

.brand-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Contact */

.contact-box {
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.5rem 1.4rem;
  max-width: 40rem;
}

.contact-box p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.mail {
  font-weight: 600;
  font-size: 1.05rem;
}

/* Footer */

.footer {
  padding: 1.75rem 0 2.25rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer a {
  color: var(--muted);
}

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