/* Three Cranes Karate — static HTML styles */
:root {
  --ink: #0b1220;
  --navy: #1b2a4a;
  --navy-deep: #121c32;
  --cream: #f5f0e6;
  --cream-2: #ebe4d6;
  --gold: #c8962c;
  --gold-bright: #dcb04a;
  --paper: #fffdf8;
  --muted: #3a4560;
  --soft: #5a6578;
  --line: #e4ddd0;
  --avail: #2d5a2a;
  --avail-bg: #eef5ea;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow: 0 28px 60px -24px rgb(11 18 32 / 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1152px;
  --gutter: 1.5rem;
  --font-display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-sans);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--navy);
  text-wrap: balance;
  margin: 0;
}
p { text-wrap: pretty; }
a { color: var(--gold); }
::selection {
  background: color-mix(in oklab, var(--gold) 55%, white);
  color: var(--ink);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 80;
  background: var(--gold); color: var(--ink); padding: 0.5rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  color: var(--gold); font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; font-size: 0.75rem; margin: 0 0 0.65rem;
}

/* Header */
.site-header {
  background: var(--navy); color: var(--cream);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid color-mix(in oklab, var(--gold) 20%, transparent);
  transition: box-shadow 200ms var(--ease);
}
.site-header.scrolled { box-shadow: 0 12px 40px -20px rgb(11 18 32 / 0.7); }
.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0.75rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; min-width: 0; }
.brand img {
  height: 48px; width: 48px; background: var(--cream);
  border-radius: var(--radius-sm); padding: 4px; flex-shrink: 0;
}
.brand-text { font-size: 0.95rem; font-weight: 600; line-height: 1.25; }
.brand-text span { display: block; font-size: 0.72rem; font-weight: 400; opacity: 0.75; }

.nav-toggle {
  display: none; background: transparent; border: 2px solid var(--gold);
  color: var(--cream); border-radius: var(--radius-sm); min-width: 44px; min-height: 44px;
  font-weight: 700; cursor: pointer;
}
.site-nav { display: flex; align-items: center; gap: 1.15rem; }
.site-nav a {
  color: color-mix(in oklab, var(--cream) 88%, white);
  text-decoration: none; font-size: 0.92rem; font-weight: 500;
  position: relative; padding-block: 0.35rem;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease);
}
.site-nav a:hover { color: var(--gold); }
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: var(--gold); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: var(--gold); color: var(--ink); font-weight: 700;
  border: none; border-radius: var(--radius-sm);
  padding: 0.75rem 1.2rem; font-size: 0.95rem; text-decoration: none;
  cursor: pointer; line-height: 1.2; font-family: inherit;
  box-shadow: 0 10px 24px -12px rgb(200 150 44 / 0.8);
  transition: background-color 150ms var(--ease), transform 150ms var(--ease);
  position: relative; isolation: isolate; overflow: hidden;
}
.btn:hover { background: var(--gold-bright); }
.btn:active { transform: scale(0.96); }
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgb(255 255 255 / 0.38) 48%, transparent 70%);
  transform: translateX(-130%); transition: transform 700ms var(--ease); pointer-events: none;
}
.btn:hover::after { transform: translateX(130%); }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative; min-height: 78svh; overflow: hidden;
  background: var(--ink); color: var(--cream);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-wash {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, var(--ink), color-mix(in oklab, var(--ink) 70%, transparent), rgb(11 18 32 / 0.1)),
    linear-gradient(to top, color-mix(in oklab, var(--ink) 75%, transparent), transparent, color-mix(in oklab, var(--ink) 25%, transparent));
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  min-height: 78svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 6rem var(--gutter) 4rem;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); color: var(--cream); max-width: 22ch; font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--gold); text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.hero-lead { font-size: 1.1rem; color: rgb(245 240 230 / 0.9); max-width: 32rem; margin: 1.1rem 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.75rem; }
.link-gold { color: var(--gold); font-weight: 600; font-size: 0.95rem; text-underline-offset: 4px; white-space: nowrap; }

/* Page banners */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-wash {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink), color-mix(in oklab, var(--ink) 55%, transparent), color-mix(in oklab, var(--ink) 30%, transparent));
}
.page-hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 3.5rem var(--gutter); }
.page-hero h1 { color: var(--cream); font-size: clamp(1.8rem, 4vw, 3rem); }

.mobile-banner { display: none; position: relative; overflow: hidden; background: var(--ink); }
.mobile-banner img { width: 100%; height: 11rem; object-fit: cover; object-position: center 35%; }
.mobile-banner-wash {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink), color-mix(in oklab, var(--ink) 55%, transparent), color-mix(in oklab, var(--ink) 25%, transparent));
}
.mobile-banner-inner { position: relative; z-index: 2; padding: 2.5rem var(--gutter) 2rem; }
.mobile-banner h1 { color: var(--cream); font-size: 1.85rem; }

/* Cards / schools */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 1.5rem; }
.card, .school-card {
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: 12px; padding: 1.2rem 1.25rem; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 0.45rem;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
a.card:hover, .school-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pill {
  display: inline-block; align-self: flex-start;
  background: var(--navy); color: var(--cream);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.7rem; border-radius: 999px;
}
.avail { display: flex; align-items: center; gap: 0.5rem; color: var(--avail); font-size: 0.9rem; font-weight: 700; margin: 0; }
.pulse-dot {
  width: 0.45rem; height: 0.45rem; border-radius: 999px; background: var(--avail);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--avail) 55%, transparent);
  animation: avail-pulse 2.2s ease-out infinite;
}
@keyframes avail-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--avail) 50%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* Quote */
.quote-box {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem; margin: 2.5rem auto 0;
  max-width: var(--max);
}
.quote-box p {
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 500; font-style: italic; line-height: 1.3; color: var(--navy); margin: 0;
}
.quote-box cite { display: block; margin-top: 0.75rem; font-style: normal; font-weight: 600; color: var(--gold); font-size: 0.9rem; }
.enso { position: absolute; right: -1.5rem; top: -2rem; width: 10rem; height: 10rem; color: var(--gold); opacity: 0.22; pointer-events: none; }

/* Photo frame */
.photo-frame {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 16rem; }
.photo-frame .corner {
  pointer-events: none; position: absolute; z-index: 2; width: 2.1rem; height: 2.1rem; border-color: var(--gold); border-style: solid;
}
.photo-frame .tl { top: 0.75rem; left: 0.75rem; border-width: 2px 0 0 2px; }
.photo-frame .tr { top: 0.75rem; right: 0.75rem; border-width: 2px 2px 0 0; }
.photo-frame .bl { bottom: 0.75rem; left: 0.75rem; border-width: 0 0 2px 2px; }
.photo-frame .br { bottom: 0.75rem; right: 0.75rem; border-width: 0 2px 2px 0; }
.photo-frame figcaption {
  position: absolute; inset: auto 0 0; z-index: 1;
  background: linear-gradient(transparent, rgb(11 18 32 / 0.85));
  color: var(--cream); padding: 3.5rem 1.25rem 1rem; font-size: 0.9rem;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; padding-block: 2.25rem; }
.expect-box {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem 1.8rem; display: flex; flex-direction: column; justify-content: center;
}
.expect-box .item { margin: 0 0 1rem; }
.expect-box .item h4 { margin: 0 0 0.25rem; font-size: 1rem; }
.expect-box .item p { margin: 0; font-size: 0.9rem; color: var(--soft); }

/* CTA band + trust */
.band {
  background: var(--navy); color: var(--cream); border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap; position: relative; overflow: hidden;
}
.band .price-main { font-family: var(--font-display); font-size: 1.6rem; }
.band .price-main strong { color: var(--gold); font-weight: 600; }
.band .price-sub { font-size: 0.9rem; opacity: 0.8; }

.trust-strip { background: var(--navy); color: var(--cream); padding: 3rem var(--gutter); position: relative; }
.trust-strip h2 { color: var(--cream); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 1.5rem; }
.trust-item {
  background: rgb(245 240 230 / 0.05); border: 1px solid color-mix(in oklab, var(--gold) 30%, transparent);
  border-radius: 12px; padding: 1.15rem 1.2rem;
}
.trust-item h3 { margin: 0 0 0.35rem; font-family: var(--font-sans); font-size: 0.95rem; color: var(--gold); }
.trust-item p { margin: 0; font-size: 0.88rem; color: rgb(245 240 230 / 0.85); }
.trust-note { margin: 1.25rem 0 0; font-size: 0.9rem; opacity: 0.9; }
.trust-note a { color: var(--gold); font-weight: 700; text-decoration: none; }
.trust-note a:hover { text-decoration: underline; }
.icon { width: 1.25rem; height: 1.25rem; color: var(--gold); margin-bottom: 0.65rem; }

/* Schools page */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.school-card h2 { font-size: 1.85rem; }
.school-card .btn { align-self: flex-start; margin-top: 0.4rem; }
.parent-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; margin-top: 1.25rem; }
.parent-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem;
}
.parent-card.highlight { border-top: 4px solid var(--gold); }
.parent-card h3 { font-family: var(--font-sans); font-size: 1.1rem; margin: 0 0 0.6rem; }
.parent-card p, .parent-card li { color: var(--muted); }
.tips { margin: 0; padding-left: 1.1rem; color: var(--navy); }
.aside-box {
  display: grid; grid-template-columns: 1fr 260px; gap: 1.25rem; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.2rem; margin-top: 2.25rem; position: relative; overflow: hidden;
}

/* What to expect */
.style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.25rem; }
.style-card {
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: 12px; padding: 1.15rem 1.25rem;
}
.style-card h3 { font-family: var(--font-sans); font-size: 1.05rem; margin: 0 0 0.4rem; }
.style-card p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.belt-path {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem; margin-top: 1.25rem;
}
.belt-row { display: flex; gap: 0.4rem; margin-top: 1rem; }
.belt-row span { flex: 1; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.belt-row span i {
  display: block; height: 100%; width: 100%; border-radius: inherit;
  transform: scaleX(0); transform-origin: left;
  transition: transform 900ms var(--ease);
}
.is-in .belt-row span i { transform: scaleX(1); }
.belt-labels { display: flex; justify-content: space-between; margin-top: 0.4rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }

/* Signup */
.signup-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; padding-block: 2.5rem; align-items: start; }
.note-box { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.15rem; color: var(--muted); font-size: 0.95rem; }
.form-card {
  background: var(--paper); border: 2px solid var(--gold); border-radius: var(--radius-lg);
  padding: 1.5rem; display: grid; gap: 0.9rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.field { display: grid; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field .hint { font-weight: 500; color: var(--soft); font-size: 0.82rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 0.7rem 0.8rem; border: 1px solid #c9c3b6;
  border-radius: var(--radius-sm); background: #fff; color: var(--navy);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--gold) 28%, transparent);
}
.field textarea { min-height: 90px; resize: vertical; }
.permission { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9rem; }
.permission input { margin-top: 0.3rem; flex-shrink: 0; accent-color: var(--gold); }
.reassure { margin: 0; font-size: 0.82rem; color: var(--soft); text-align: center; }
.honey { display: none; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding-block: 2.5rem; }
.channel {
  display: flex; gap: 0.85rem; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.1rem; text-decoration: none; color: inherit; min-width: 0;
  transition: border-color 200ms var(--ease);
}
.channel:hover { border-color: var(--gold); }
.channel-icon {
  flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm);
  background: var(--navy); color: var(--gold); display: grid; place-items: center;
}
.channel-icon svg { width: 1.2rem; height: 1.2rem; }
.channel .label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.channel .value { font-size: 1.15rem; font-weight: 700; margin-top: 0.15rem; color: var(--navy); overflow-wrap: anywhere; }
.channels { display: grid; gap: 0.75rem; margin: 1.5rem 0; }

/* Legal / thanks */
.legal { max-width: 42rem; padding-block: 3rem; }
.legal h2 { margin: 1.75rem 0 0.5rem; font-size: 1.4rem; }
.legal p, .legal li { color: var(--muted); }
.legal a { font-weight: 600; }
.thanks { max-width: 36rem; margin: 0 auto; padding: 4.5rem var(--gutter); text-align: center; }
.thanks h1 { font-size: 3rem; }
.thanks p { color: var(--muted); font-size: 1.1rem; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 1.2rem var(--gutter);
  margin-top: auto;
}
.grain { position: relative; overflow: hidden; }
.grain::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.9  0 0 0 0 0.75  0 0 0 0 0.35  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.grain > * { position: relative; z-index: 2; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem;
}
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(4px);
  transition:
    opacity 520ms var(--ease),
    transform 520ms var(--ease),
    filter 520ms var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

.lead { font-size: 1.1rem; color: var(--muted); max-width: 42rem; }
.section { padding-block: 2.25rem; }
.muted { color: var(--muted); }

@media (max-width: 960px) {
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .split, .contact-layout, .signup-grid, .aside-box, .grid-2, .parent-grid, .wte-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    padding: 0.4rem 0 0.75rem; gap: 0.15rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.75rem 0.4rem; }
  .site-nav a::after { display: none; }
  .header-inner { flex-wrap: wrap; }
  .desktop-only { display: none !important; }
  .mobile-banner { display: block; }
  .btn-mobile-full { width: 100%; }
}
@media (max-width: 560px) {
  :root { --gutter: 1.75rem; }
  .cards-4, .form-grid, .trust-grid, .style-grid { grid-template-columns: 1fr; }
  .hero-inner { justify-content: flex-end; padding-top: 5rem; }
  .brand-text { font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; filter: none; transition: none; }
  .btn::after, .pulse-dot { animation: none; display: none; }
  .belt-row span i { transform: scaleX(1); }
}
