/*
Theme Name: Alpha Martial Arts Academy
Theme URI: https://alphamaa.com
Author: Sahil
Description: Custom theme for Alpha Martial Arts Academy. Built around their brand identity (red, black, white) with editable content via ACF. Designed to embed GHL forms for lead capture while keeping presentation under WordPress control.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alpha-maa
Tags: custom-theme, martial-arts
*/

:root {
    --red: #E63027;
    --red-deep: #B81E16;
    --yellow: #FFCE25;
    --yellow-bright: #FFE352;
    --black: #0A0A0A;
    --ink: #141414;
    --char: #1F1F1F;
    --bone: #F5F1EA;
    --paper: #FAF7F1;
    --line: rgba(255,255,255,0.08);

    --display: 'Anton', sans-serif;
    --accent: 'Bebas Neue', sans-serif;
    --body: 'Archivo', sans-serif;
    --mono: 'DM Mono', monospace;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--body);
    background: var(--black);
    color: var(--bone);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  /* === GRAIN OVERLAY === */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
  }

  /* === ANNOUNCEMENT BAR === */
  .announce {
    background: var(--red);
    color: white;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 10px 24px;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid var(--black);
  }
  .announce-track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: slide 35s linear infinite;
    width: fit-content;
  }
  .announce-track span { display: inline-flex; align-items: center; gap: 12px; }
  .announce-track span::after {
    content: '✦';
    color: white;
    margin-left: 60px;
    opacity: 0.6;
  }
  @keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* === NAV === */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 12px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  .logo img {
    height: 110px;
    width: 110px;
    display: block;
    transition: transform 0.3s;
    filter: drop-shadow(0 4px 12px rgba(230, 48, 39, 0.25));
  }
  .logo:hover img {
    transform: rotate(-5deg) scale(1.05);
  }
  @media (max-width: 600px) {
    .logo img { height: 70px; width: 70px; }
  }
  .nav-links {
    display: flex; gap: 36px;
    list-style: none;
  }
  .nav-links a {
    color: var(--bone);
    text-decoration: none;
    font-family: var(--body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--red); }
  .nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--red);
    transition: width 0.3s;
  }
  .nav-links a:hover::after { width: 100%; }
  .nav-cta {
    background: var(--red);
    color: white;
    padding: 12px 22px;
    font-family: var(--body);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid white;
    box-shadow: 4px 4px 0 white;
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  }
  .nav-cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 white;
    background: var(--red-deep);
  }

  /* === HERO === */
  .hero {
    position: relative;
    min-height: 92vh;
    padding: 80px 40px 100px;
    overflow: hidden;
    background: var(--black);
  }
  .hero-grid {
    position: absolute;
    inset: 0;
    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: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  }
  .hero-glow {
    position: absolute;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(230,48,39,0.25) 0%, transparent 60%);
    top: -200px; right: -200px;
    pointer-events: none;
    animation: pulse 6s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
  }

  .hero-inner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
    z-index: 2;
  }

  .hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.15em;
    color: white;
    text-transform: uppercase;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
  }
  .hero-meta::before {
    content: '';
    width: 40px; height: 1px;
    background: var(--red);
  }

  .hero-title {
    font-family: var(--display);
    font-size: clamp(60px, 9vw, 140px);
    line-height: 0.88;
    letter-spacing: -0.01em;
    color: white;
    text-transform: uppercase;
    margin-bottom: 32px;
  }
  .hero-title .line {
    display: block;
    overflow: hidden;
  }
  .hero-title .line span {
    display: inline-block;
    transform: translateY(110%);
    animation: rise 0.9s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
  }
  .hero-title .line:nth-child(1) span { animation-delay: 0.1s; }
  .hero-title .line:nth-child(2) span { animation-delay: 0.25s; }
  .hero-title .line:nth-child(3) span { animation-delay: 0.4s; }
  .hero-title .accent {
    color: var(--red);
    position: relative;
    display: inline-block;
  }
  .hero-title .underline {
    color: white;
    position: relative;
  }
  .hero-title .underline::after {
    content: '';
    position: absolute;
    left: 0; bottom: 8px;
    width: 100%; height: 8px;
    background: var(--red);
    z-index: -1;
    transform: skewX(-8deg);
  }

  @keyframes rise {
    to { transform: translateY(0); }
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-sub {
    font-family: var(--body);
    font-size: 19px;
    line-height: 1.5;
    color: rgba(245,241,234,0.75);
    max-width: 540px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.85s forwards;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 28px;
    font-family: var(--body);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--black);
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: pointer;
  }
  .btn-primary {
    background: var(--red);
    color: white;
    box-shadow: 5px 5px 0 white;
  }
  .btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 white;
  }
  .btn-secondary {
    background: transparent;
    color: white;
    border-color: var(--bone);
    box-shadow: 5px 5px 0 transparent;
  }
  .btn-secondary:hover {
    background: var(--bone);
    color: var(--black);
  }
  .btn .arrow {
    transition: transform 0.2s;
  }
  .btn:hover .arrow { transform: translateX(4px); }

  /* HERO VISUAL CARD */
  .hero-card {
    position: relative;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--char) 0%, var(--ink) 100%);
    border: 2px solid var(--line);
    overflow: hidden;
    opacity: 0;
    animation: fadeUp 1s 0.5s forwards;
  }
  .hero-card-img {
    position: absolute;
    inset: 0;
    background-image: url('images/hero-action-shot.jpg');
    background-size: cover;
    background-position: center;
    filter: contrast(1.05) saturate(1.05);
  }
  .hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(10,10,10,0.78) 100%);
    z-index: 2;
  }
  .hero-card-tag {
    position: absolute;
    top: 24px; left: 24px;
    background: white;
    color: var(--black);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    padding: 6px 12px;
    text-transform: uppercase;
    z-index: 3;
    border: 2px solid var(--black);
  }
  .hero-card-info {
    position: absolute;
    bottom: 24px; left: 24px; right: 24px;
    z-index: 3;
  }
  .hero-card-info h3 {
    font-family: var(--display);
    font-size: 32px;
    line-height: 1;
    color: white;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .hero-card-info p {
    font-family: var(--mono);
    font-size: 12px;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .hero-card-stamp {
    position: absolute;
    top: 24px; right: 24px;
    width: 80px; height: 80px;
    border: 2px solid var(--red);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--red);
    font-family: var(--accent);
    font-size: 14px;
    text-align: center;
    line-height: 1;
    background: rgba(10,10,10,0.7);
    z-index: 3;
    animation: spin 12s linear infinite;
  }
  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  /* TICKER STATS */
  .ticker {
    background: var(--red);
    color: white;
    padding: 24px 0;
    border-top: 3px solid var(--black);
    border-bottom: 3px solid var(--black);
    overflow: hidden;
  }
  .ticker-inner {
    display: flex;
    gap: 80px;
    animation: slide 30s linear infinite;
    width: fit-content;
    white-space: nowrap;
  }
  .ticker-item {
    display: inline-flex;
    align-items: baseline;
    gap: 16px;
    font-family: var(--display);
    font-size: 38px;
    text-transform: uppercase;
  }
  .ticker-item span:first-child { color: white; -webkit-text-stroke: 2px white; }
  .ticker-item::after {
    content: '◆';
    color: white;
    margin-left: 80px;
    font-size: 20px;
    align-self: center;
    opacity: 0.6;
  }

  /* === VALUE PILLARS === */
  .pillars {
    background: var(--paper);
    color: var(--black);
    padding: 120px 40px;
    position: relative;
  }
  .section-head {
    max-width: 1400px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: end;
  }
  .section-tag {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-tag::before {
    content: '';
    width: 28px; height: 1px;
    background: var(--red);
  }
  .section-title {
    font-family: var(--display);
    font-size: clamp(48px, 6vw, 88px);
    line-height: 0.92;
    letter-spacing: -0.005em;
    text-transform: uppercase;
  }
  .section-title em {
    color: var(--red);
    font-style: normal;
  }
  .section-lede {
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.55;
    color: rgba(20,20,20,0.7);
    max-width: 460px;
    padding-bottom: 12px;
  }

  .pillar-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .pillar {
    background: white;
    border: 2px solid var(--black);
    padding: 40px 32px;
    position: relative;
    transition: transform 0.3s;
  }
  .pillar:hover { transform: translateY(-6px); }
  .pillar:nth-child(1) { box-shadow: 8px 8px 0 var(--red); }
  .pillar:nth-child(2) { box-shadow: 8px 8px 0 white; }
  .pillar:nth-child(3) { box-shadow: 8px 8px 0 var(--red); }
  .pillar-num {
    font-family: var(--mono);
    font-size: 12px;
    color: rgba(20,20,20,0.4);
    margin-bottom: 32px;
    letter-spacing: 0.1em;
  }
  .pillar-icon {
    width: 64px; height: 64px;
    background: var(--black);
    color: white;
    display: grid; place-items: center;
    margin-bottom: 24px;
    font-family: var(--display);
    font-size: 32px;
  }
  .pillar:nth-child(2) .pillar-icon { background: var(--red); color: white; }
  .pillar:nth-child(3) .pillar-icon { background: var(--bone); color: var(--black); border: 2px solid var(--black); }
  .pillar h3 {
    font-family: var(--display);
    font-size: 32px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .pillar p {
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.6;
    color: rgba(20,20,20,0.7);
  }

  /* === PROGRAMS — DUAL CTA SECTION === */
  .programs {
    background: var(--black);
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
  }
  .programs::before {
    content: 'BEGIN • BEGIN • BEGIN • BEGIN •';
    position: absolute;
    top: 40px;
    left: -2%;
    font-family: var(--display);
    font-size: 200px;
    color: rgba(255,255,255,0.04);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.1em;
  }
  .program-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    position: relative;
    z-index: 2;
  }
  .program-card {
    background: linear-gradient(180deg, var(--ink) 0%, var(--char) 100%);
    border: 2px solid var(--line);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.4s;
    isolation: isolate;
  }
  .program-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    transition: opacity 0.4s, transform 0.6s;
    z-index: -1;
    filter: contrast(1.05) saturate(0.9);
  }
  .program-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.85) 70%);
    z-index: -1;
  }
  .program-card:hover { border-color: white; }
  .program-card:hover .program-card-bg {
    opacity: 0.35;
    transform: scale(1.05);
  }
  .program-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 120px; height: 120px;
    background: radial-gradient(circle at top right, rgba(230,48,39,0.4), transparent 60%);
    pointer-events: none;
  }
  .program-age {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--red);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--red);
    background: rgba(230,48,39,0.08);
  }
  .program-card h3 {
    font-family: var(--display);
    font-size: clamp(40px, 5vw, 64px);
    line-height: 0.92;
    color: white;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .program-card .tagline {
    font-family: var(--body);
    font-style: italic;
    color: var(--red);
    font-size: 16px;
    margin-bottom: 24px;
  }
  .program-card .desc {
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.6;
    color: rgba(245,241,234,0.65);
    margin-bottom: 32px;
  }
  .program-features {
    list-style: none;
    margin-bottom: 36px;
  }
  .program-features li {
    font-family: var(--body);
    font-size: 14px;
    color: rgba(245,241,234,0.85);
    padding: 10px 0;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .program-features li::before {
    content: '→';
    color: var(--red);
    font-weight: bold;
  }
  .program-features li:last-child { border-bottom: 1px solid var(--line); }

  /* SECONDARY ENROLLMENT BAND */
  .enroll {
    background: var(--red);
    color: white;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
  }
  .enroll-pattern {
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(45deg, transparent 0, transparent 80px, rgba(255,255,255,0.04) 80px, rgba(255,255,255,0.04) 82px);
    pointer-events: none;
  }
  .enroll-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
  }
  .enroll-card {
    background: var(--black);
    border: 3px solid white;
    padding: 48px 40px;
    position: relative;
    transition: transform 0.2s;
  }
  .enroll-card:hover { transform: translate(-3px, -3px); }
  .enroll-card .label {
    font-family: var(--mono);
    font-size: 11px;
    color: white;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .enroll-card h3 {
    font-family: var(--display);
    font-size: 56px;
    line-height: 0.92;
    text-transform: uppercase;
    color: white;
    margin-bottom: 16px;
  }
  .enroll-card p {
    font-family: var(--body);
    font-size: 15px;
    color: rgba(245,241,234,0.7);
    line-height: 1.55;
    margin-bottom: 32px;
  }
  .enroll-card .arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--body);
    font-weight: 800;
    font-size: 14px;
    color: white;
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding-bottom: 8px;
    border-bottom: 2px solid white;
  }
  .arrow-link:hover .arrow { transform: translateX(8px); }
  .arrow-link .arrow { transition: transform 0.2s; }

  /* === INSTRUCTORS === */
  .instructors {
    background: var(--paper);
    color: var(--black);
    padding: 120px 40px;
  }
  .instructor-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .instructor {
    position: relative;
  }
  .instructor-frame {
    aspect-ratio: 3/4;
    background: var(--black);
    border: 2px solid var(--black);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
  }
  .instructor-frame::after {
    content: '';
    position: absolute;
    top: 12px; left: 12px;
    right: -12px; bottom: -12px;
    border: 2px solid var(--red);
    z-index: -1;
  }
  .instructor:nth-child(2) .instructor-frame::after { border-color: white; }
  .instructor-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
  }
  .instructor:hover .instructor-img { transform: scale(1.03); }
  .instructor-tag {
    position: absolute;
    bottom: 16px; left: 16px;
    background: var(--red);
    color: white;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 12px;
    border: 2px solid var(--black);
    z-index: 2;
  }
  .instructor h3 {
    font-family: var(--display);
    font-size: 48px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 8px;
  }
  .instructor .role {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--red);
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  /* === TESTIMONIALS === */
  .testimonials {
    background: var(--black);
    padding: 120px 40px;
    position: relative;
  }
  .testimonials::before {
    content: '"';
    position: absolute;
    top: 40px; left: 5%;
    font-family: var(--display);
    font-size: 400px;
    color: var(--red);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
  }
  .testimonial-wrap {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
  }
  .testimonial {
    background: var(--ink);
    border: 1px solid var(--line);
    padding: 36px 32px;
    transition: border-color 0.3s;
  }
  .testimonial:hover { border-color: white; }
  .testimonial-stars {
    color: var(--red);
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 2px;
  }
  .testimonial p {
    font-family: var(--body);
    font-style: italic;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(245,241,234,0.85);
    margin-bottom: 24px;
  }
  .testimonial .author {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--red);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  /* === GALLERY / DOJO === */
  .dojo {
    background: var(--black);
    padding: 120px 40px 0;
    position: relative;
    overflow: hidden;
  }
  .dojo-head {
    max-width: 1400px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: end;
  }
  .dojo-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 360px 360px;
    gap: 16px;
  }
  .dojo-tile {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--ink);
    background: var(--ink);
  }
  .dojo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
    filter: contrast(1.05);
  }
  .dojo-tile:hover img { transform: scale(1.04); }
  .dojo-tile-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }
  .dojo-tile-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
  .dojo-tile-3 { grid-column: 3 / 4; grid-row: 1 / 2; }
  .dojo-tile-4 { grid-column: 2 / 4; grid-row: 2 / 3; }

  .dojo-tile-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    pointer-events: none;
  }
  .dojo-tile-caption .label {
    display: inline-block;
    background: white;
    color: var(--black);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 5px 10px;
    margin-bottom: 8px;
    border: 2px solid var(--black);
  }
  .dojo-tile-caption h4 {
    font-family: var(--display);
    font-size: 28px;
    color: white;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  }
  .dojo-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.85) 100%);
    pointer-events: none;
  }

  @media (max-width: 980px) {
    .dojo-head { grid-template-columns: 1fr; gap: 24px; }
    .dojo-grid {
      grid-template-columns: 1fr;
      grid-template-rows: repeat(4, 280px);
    }
    .dojo-tile-1, .dojo-tile-2, .dojo-tile-3, .dojo-tile-4 {
      grid-column: 1 / 2;
    }
    .dojo-tile-1 { grid-row: 1; }
    .dojo-tile-2 { grid-row: 2; }
    .dojo-tile-3 { grid-row: 3; }
    .dojo-tile-4 { grid-row: 4; }
  }
  @media (max-width: 600px) {
    .dojo { padding: 80px 20px 0; }
    .dojo-tile-caption h4 { font-size: 22px; }
  }

  /* === FINAL CTA === */
  .final-cta {
    background: var(--bone);
    color: var(--black);
    padding: 140px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .final-cta::before, .final-cta::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
  }
  .final-cta::before {
    background: var(--red);
    top: -100px; left: -100px;
    opacity: 0.1;
  }
  .final-cta::after {
    background: var(--black);
    bottom: -100px; right: -100px;
    opacity: 0.06;
  }
  .final-cta-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  .final-cta h2 {
    font-family: var(--display);
    font-size: clamp(60px, 9vw, 130px);
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 32px;
  }
  .final-cta h2 em {
    color: var(--red);
    font-style: normal;
  }
  .final-cta p {
    font-family: var(--body);
    font-size: 19px;
    color: rgba(20,20,20,0.75);
    margin-bottom: 48px;
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.5;
  }
  .final-cta .btn {
    background: var(--black);
    color: white;
    box-shadow: 6px 6px 0 var(--red);
    padding: 22px 36px;
    font-size: 15px;
  }
  .final-cta .btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--red);
  }

  /* === FAQ === */
  .faq {
    background: var(--paper);
    color: var(--black);
    padding: 120px 40px;
    border-bottom: 2px solid var(--black);
  }
  .faq-inner {
    max-width: 1100px;
    margin: 0 auto;
  }
  .faq-head {
    text-align: center;
    margin-bottom: 80px;
  }
  .faq-head .section-tag {
    color: var(--red);
    justify-content: center;
  }
  .faq-head .section-tag::before { display: none; }
  .faq-head h2 {
    font-family: var(--display);
    font-size: clamp(48px, 6vw, 88px);
    line-height: 0.92;
    text-transform: uppercase;
  }
  .faq-head h2 em { color: var(--red); font-style: normal; }
  .faq-list {
    display: grid;
    gap: 0;
    border-top: 2px solid var(--black);
  }
  .faq-item {
    border-bottom: 2px solid var(--black);
    background: white;
  }
  .faq-q {
    width: 100%;
    padding: 28px 32px;
    background: white;
    border: none;
    text-align: left;
    font-family: var(--display);
    font-size: clamp(20px, 2.4vw, 28px);
    text-transform: uppercase;
    letter-spacing: 0.005em;
    line-height: 1.15;
    color: var(--black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: background 0.2s;
  }
  .faq-q:hover { background: var(--bone); }
  .faq-q .plus {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border: 2px solid var(--black);
    background: var(--bone);
    display: grid; place-items: center;
    font-family: var(--body);
    font-weight: 800;
    font-size: 20px;
    transition: transform 0.3s, background 0.2s;
  }
  .faq-item.open .faq-q .plus {
    transform: rotate(45deg);
    background: var(--red);
    color: white;
  }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
  }
  .faq-a-inner {
    padding: 0 32px 28px;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    color: rgba(20,20,20,0.78);
    max-width: 800px;
  }
  .faq-a-inner a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .faq-item.open .faq-a {
    max-height: 500px;
  }
  @media (max-width: 600px) {
    .faq { padding: 80px 20px; }
    .faq-q { padding: 22px 20px; }
    .faq-a-inner { padding: 0 20px 24px; font-size: 15px; }
  }

  /* === VISIT / LOCATION === */
  .visit {
    background: var(--paper);
    color: var(--black);
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
  }
  .visit-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: stretch;
  }
  .visit-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .visit-info .section-tag { color: var(--red); }
  .visit-info h2 {
    font-family: var(--display);
    font-size: clamp(48px, 6vw, 88px);
    line-height: 0.92;
    text-transform: uppercase;
    margin-bottom: 32px;
  }
  .visit-info h2 em { color: var(--red); font-style: normal; }
  .visit-details {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
  }
  .visit-detail {
    padding: 20px 0;
    border-top: 1px solid rgba(20,20,20,0.15);
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    align-items: baseline;
  }
  .visit-detail:last-child { border-bottom: 1px solid rgba(20,20,20,0.15); }
  .visit-detail-label {
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(20,20,20,0.5);
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
  .visit-detail-value {
    font-family: var(--body);
    font-size: 17px;
    font-weight: 600;
    color: var(--black);
    line-height: 1.4;
  }
  .visit-detail-value a {
    color: var(--black);
    text-decoration: none;
    border-bottom: 2px solid var(--red);
    padding-bottom: 2px;
    transition: color 0.2s;
  }
  .visit-detail-value a:hover { color: var(--red); }
  .visit-detail-value small {
    display: block;
    font-family: var(--body);
    font-weight: 400;
    font-size: 14px;
    color: rgba(20,20,20,0.6);
    margin-top: 4px;
  }
  .visit-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--black);
    color: white;
    font-family: var(--body);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 18px 28px;
    border: 2px solid var(--black);
    box-shadow: 5px 5px 0 var(--red);
    transition: transform 0.15s, box-shadow 0.15s;
    align-self: flex-start;
  }
  .visit-cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--red);
  }
  .visit-cta .arrow { transition: transform 0.2s; }
  .visit-cta:hover .arrow { transform: translateX(4px); }

  .visit-map {
    position: relative;
    aspect-ratio: 4/3;
    border: 2px solid var(--black);
    box-shadow: 12px 12px 0 var(--red);
    overflow: hidden;
    background: #e5e8d8;
  }
  .visit-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .visit-map-pin {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -100%);
    background: var(--black);
    color: white;
    font-family: var(--display);
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 16px;
    border: 2px solid white;
    z-index: 3;
    white-space: nowrap;
    box-shadow: 4px 4px 0 var(--red);
  }
  .visit-map-pin::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid white;
  }
  .visit-map-stamp {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: white;
    color: var(--black);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 8px 12px;
    border: 2px solid var(--black);
    z-index: 3;
  }

  @media (max-width: 980px) {
    .visit-inner { grid-template-columns: 1fr; }
    .visit-detail { grid-template-columns: 1fr; gap: 8px; }
  }
  @media (max-width: 600px) {
    .visit { padding: 80px 20px; }
    .visit-map { box-shadow: 8px 8px 0 var(--red); }
  }

  /* === FOOTER === */
  footer {
    background: var(--black);
    color: var(--bone);
    padding: 80px 40px 32px;
    border-top: 1px solid var(--line);
  }
  .footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
  }
  .footer-brand h3 {
    font-family: var(--display);
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
  }
  .footer-logo img {
    height: 110px;
    width: 110px;
  }
  .footer-brand p {
    font-family: var(--body);
    font-size: 14px;
    color: rgba(245,241,234,0.6);
    line-height: 1.6;
    max-width: 320px;
  }
  .footer-col h4 {
    font-family: var(--mono);
    font-size: 11px;
    color: white;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .footer-col ul {
    list-style: none;
  }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    color: var(--bone);
    text-decoration: none;
    font-family: var(--body);
    font-size: 14px;
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--red); }
  .footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(245,241,234,0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  /* === RESPONSIVE === */
  @media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-card { aspect-ratio: 16/10; }
    .pillar-grid, .program-grid, .enroll-inner, .instructor-grid, .testimonial-grid {
      grid-template-columns: 1fr;
    }
    .section-head { grid-template-columns: 1fr; gap: 24px; }
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    nav { padding: 16px 20px; }
    .hero, .pillars, .programs, .enroll, .instructors, .testimonials, .final-cta {
      padding-left: 20px; padding-right: 20px;
    }
    .hero { padding-top: 60px; padding-bottom: 80px; }
    .pillars, .programs, .instructors, .testimonials { padding-top: 80px; padding-bottom: 80px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .ticker-item { font-size: 28px; }
  }