/* Krav Maga Hawaii — site stylesheet
   Dark, high-contrast, gym/school. Mobile first. */

:root {
  --bg: #0c0c0c;
  --bg-elev: #141414;
  --bg-panel: #1a1a1a;
  --ink: #f3efe6;
  --muted: #a39e93;
  --faint: #6e6a62;
  --line: #2c2c2c;
  --line-strong: #3d3d3d;
  --red: #c81e1e;
  --red-hover: #e03128;
  --brass: #c4a45a;
  --cream: #e9e2d2;
  --black: #080808;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --max: 1120px;
  --pad: 1.25rem;
  --header-h: 4.25rem;
  --radius: 2px;
}

@media (min-width: 768px) {
  :root { --pad: 2rem; }
}

@media (min-width: 1100px) {
  :root { --pad: 2.5rem; }
}

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

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red-hover);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 1000;
  background: var(--red);
  color: #fff;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.75rem;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 12vw, 7.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 6vw, 3.25rem);
}

h3 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.1;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.prose p + p {
  margin-top: 1rem;
}

.prose {
  max-width: 42rem;
  color: var(--ink);
}

.prose a {
  color: var(--cream);
}

/* Header
   ======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 12, 12, 0.96);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--red);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.logo:hover {
  color: var(--ink);
}

.logo img {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.logo-text span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 0.2rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.55rem 0.6rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  width: 100%;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: block;
  position: fixed;
  inset: calc(var(--header-h) + 3px) 0 0 0;
  background: var(--bg);
  padding: 1.5rem var(--pad) 2rem;
  overflow: auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--red-hover);
}

.site-nav a[aria-current="page"]::after {
  content: " /";
  color: var(--brass);
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .site-nav {
    display: block;
    position: static;
    padding: 0;
    background: transparent;
  }

  .site-nav.is-open {
    position: static;
    padding: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.35rem;
  }

  .site-nav a {
    font-size: 0.95rem;
    padding: 0.35rem 0;
    border: 0;
    letter-spacing: 0.1em;
  }
}

/* Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  line-height: 1;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: #fff;
}

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

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero
   ======================================== */

.hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  border-bottom: 1px solid var(--line);
}

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

.hero-copy .kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.hero h1 span {
  display: block;
}

.hero h1 .city {
  color: var(--red);
}

.spirit {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  max-width: 28rem;
  margin: 1.25rem 0 0;
  line-height: 1.4;
}

.hero-art {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero-art img {
  width: min(100%, 280px);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55));
}

@media (min-width: 800px) {
  .hero {
    padding: 3.5rem 0 4.5rem;
  }

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

  .hero-art {
    margin-top: 0;
    justify-content: flex-end;
  }

  .hero-art img {
    width: min(100%, 420px);
  }
}

/* Sections
   ======================================== */

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

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

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

.page-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.5rem);
}

/* Program cards
   ======================================== */

.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .card-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.program-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 1.5rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.program-card:hover {
  border-color: var(--line-strong);
}

.program-card .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.85rem;
}

.program-card h2,
.program-card h3 {
  margin-bottom: 0.85rem;
}

.program-card p {
  color: var(--muted);
  flex: 1;
}

.program-card .meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cream);
  letter-spacing: 0.04em;
  margin: 1rem 0;
}

.program-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Schedule strip
   ======================================== */

.schedule-strip {
  background: var(--cream);
  color: var(--black);
  padding: 2.25rem 0;
}

.schedule-strip h2,
.schedule-strip .eyebrow {
  color: var(--black);
}

.schedule-strip .eyebrow {
  color: #7a5e1e;
}

.schedule-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (min-width: 700px) {
  .schedule-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.sched-item {
  border: 1px solid #cfc6b0;
  background: #f4efe3;
  padding: 1.1rem 1.15rem;
}

.sched-item .when {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a6458;
  margin: 0 0 0.35rem;
}

.sched-item h3 {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.sched-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Location
   ======================================== */

.location-block address {
  font-style: normal;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
}

.facts {
  display: grid;
  gap: 0.85rem;
}

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

.fact {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.fact dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.35rem;
}

.fact dd {
  margin: 0;
}

.fact a {
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.fact a:hover {
  border-color: var(--red);
}

/* Lists
   ======================================== */

.plain-list,
.seminar-list,
.who-list,
.cred-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.seminar-list li,
.who-list li,
.cred-list li {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  padding-left: 1.1rem;
  position: relative;
}

.seminar-list li::before,
.who-list li::before,
.cred-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--red);
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .split.uneven {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* Pricing
   ======================================== */

.price-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.price-card {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 1.5rem 1.35rem;
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0.35rem 0 0.5rem;
}

.price-card .amount span {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.price-card p {
  color: var(--muted);
  margin: 0;
}

/* About
   ======================================== */

.bio-section + .bio-section {
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--line);
}

.bio-kicker {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.5rem;
}

/* Contact form
   ======================================== */

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 0.7rem 0.8rem;
  width: 100%;
  border-radius: var(--radius);
}

.contact-form textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  outline: none;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* CTA band
   ======================================== */

.cta-band {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 1.75rem 1.4rem;
}

.cta-band h2 {
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: var(--muted);
  max-width: 38rem;
}

/* Footer
   ======================================== */

.site-footer {
  background: var(--black);
  padding: 2.75rem 0 1.5rem;
  border-top: 3px solid var(--red);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h2 {
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.site-footer a {
  color: var(--cream);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

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

.footer-links li {
  margin: 0.3rem 0;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #222;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Utility
   ======================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 2rem 0;
}

.callout {
  border-left: 3px solid var(--red);
  padding: 0.2rem 0 0.2rem 1rem;
  color: var(--cream);
}

.external::after {
  content: " ↗";
  font-size: 0.85em;
  color: var(--brass);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-toggle span { transition: none; }
}

.schedule-strip .price-card {
  background: #f4efe3;
  border-color: #cfc6b0;
  color: #080808;
}

.schedule-strip .price-card .amount,
.schedule-strip .price-card h3 {
  color: #080808;
}

.schedule-strip .price-card p {
  color: #3f3b34;
}

.program-card .btn {
  margin-top: 1rem;
}

.price-card .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.35rem;
}

.schedule-strip .price-grid {
  margin-top: 1.25rem;
}

.bio-section .split {
  margin-top: 1.25rem;
}
