/* ═══════════════════════════════════════════════════════════════
   HØNEFOSS BJJ — "Dark Dojo" Design System
   ═══════════════════════════════════════════════════════════════ */

/* ── Custom Properties ────────────────────────────────────────── */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;

    --text-primary: #f0ebe3;
    --text-secondary: #8a8074;
    --text-muted: #5a5148;

    --accent: #c62828;
    --accent-hover: #e53935;
    --accent-dark: #8e0000;
    --accent-glow: rgba(198, 40, 40, 0.15);

    --border: rgba(240, 235, 227, 0.08);
    --border-hover: rgba(240, 235, 227, 0.15);

    --font-display: 'Syne', sans-serif;
    --font-body: 'Hanken Grotesk', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --nav-height: 5rem;
    --section-pad: clamp(6rem, 16vh, 14rem);
    --container-max: 1080px;
    --container-pad: clamp(1.5rem, 5vw, 4rem);

}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.8;
    font-size: 0.92rem;
    overflow-x: hidden;
}

/* Grain overlay on entire page */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    filter: url(#grain);
    width: 100%;
    height: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

::selection {
    background: var(--accent);
    color: var(--text-primary);
}

/* ── Typography ───────────────────────────────────────────────── */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 3.5rem;
    color: var(--text-primary);
}

em {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

/* ── Layout ───────────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.section {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-divider {
    position: absolute;
    bottom: 0;
    left: var(--container-pad);
    right: var(--container-pad);
    height: 1px;
    background: var(--border);
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--accent);
    color: var(--text-primary);
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-hover);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.btn--primary:hover::before {
    transform: scaleX(1);
}

.btn--primary span,
.btn--primary {
    position: relative;
    z-index: 1;
}

.btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn--ghost:hover {
    border-color: var(--text-primary);
    background: rgba(240, 235, 227, 0.03);
}

.btn--full {
    width: 100%;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all 0.5s var(--ease-out);
}

.nav--scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

.nav__logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    background: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-primary);
}

.nav__logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__links a {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out);
}

.nav__links a:hover {
    color: var(--text-primary);
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__cta {
    padding: 0.45rem 1.2rem !important;
    background: var(--accent) !important;
    color: var(--text-primary) !important;
    letter-spacing: 0.12em;
    transition: background 0.3s ease !important;
}

.nav__cta::after { display: none !important; }

.nav__cta:hover {
    background: var(--accent-hover) !important;
}

/* Burger */
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__burger.active span:nth-child(2) {
    opacity: 0;
}

.nav__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.15;
    filter: grayscale(0.4);
}

/* Dark overlay on top of image */
.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-primary);
    opacity: 0.55;
    z-index: 1;
}

/* Bottom vignette */
.hero__bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    z-index: 1;
}

.hero__enso {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(250px, 40vw, 450px);
    height: clamp(250px, 40vw, 450px);
    color: rgba(240, 235, 227, 0.025);
}

.hero__enso-path {
    stroke-dasharray: 1100;
    stroke-dashoffset: 1100;
    animation: drawEnso 3s var(--ease-in-out) 0.5s forwards;
}

@keyframes drawEnso {
    to { stroke-dashoffset: 0; }
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--container-pad);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__overline {
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.hero__title-line {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.8rem, 8vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.hero__title-line--accent {
    font-size: clamp(2rem, 5.5vw, 4.5rem);
    letter-spacing: 0.2em;
    color: var(--accent);
    position: relative;
}

.hero__title-line--accent::after {
    content: '';
    position: absolute;
    bottom: -0.3em;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5em;
    height: 1px;
    background: var(--accent);
    opacity: 0.35;
}

.hero__subtitle {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: clamp(0.95rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-top: 1.5rem;
    letter-spacing: 0.12em;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero__belt-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 4rem;
    width: 100%;
}

.hero__belt-bar span {
    width: 22px;
    height: 3px;
    border-radius: 1px;
    opacity: 0.45;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero__belt-bar span:hover {
    opacity: 0.8;
    transform: scaleY(1.3);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    z-index: 2;
}

.hero__scroll span {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.3); }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */
.about {
    position: relative;
    overflow: hidden;
}

.about__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    opacity: 0.12;
    filter: grayscale(0.3);
    pointer-events: none;
}

.about__container {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.about__heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.25;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.about__text {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.9;
    margin-bottom: 1.4rem;
    max-width: 540px;
    font-weight: 300;
}

.about__stat-badge {
    position: absolute;
    bottom: clamp(2rem, 5vh, 4rem);
    right: var(--container-pad);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.2rem 1.6rem;
    text-align: center;
    border: 1px solid var(--border);
    z-index: 3;
}

.about__stat-number {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1;
    color: var(--text-primary);
}

.about__stat-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 0.4rem;
}

/* ═══════════════════════════════════════════════════════════════
   CLASSES
   ═══════════════════════════════════════════════════════════════ */
.classes {
    background: var(--bg-secondary);
}

.classes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.class-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem 1.6rem;
    position: relative;
    transition: all 0.5s var(--ease-out);
    overflow: hidden;
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.class-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.class-card:hover::before {
    transform: scaleX(1);
}

.class-card__number {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.class-card__icon {
    width: 36px;
    height: 36px;
    color: var(--accent);
    margin-bottom: 1.2rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.class-card:hover .class-card__icon {
    opacity: 1;
}

.class-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    letter-spacing: 0;
}

.class-card__desc {
    font-size: 0.82rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.class-card__meta {
    display: flex;
    gap: 0.6rem;
}

.class-card__meta span {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

/* Classes CTA */
.classes__cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.classes__cta-text {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.classes__cta .btn {
    margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════════
   PHILOSOPHY
   ═══════════════════════════════════════════════════════════════ */
.philosophy {
    position: relative;
    padding: clamp(7rem, 18vh, 16rem) 0;
    overflow: hidden;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.philosophy__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.08;
    filter: grayscale(0.5);
    pointer-events: none;
}

.philosophy__quote {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy__quote p {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: clamp(1.15rem, 2.8vw, 1.8rem);
    line-height: 1.6;
    color: var(--text-primary);
}

.philosophy__author {
    margin-top: 2.5rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
}


/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact {
    background: var(--bg-secondary);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

.contact__heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.contact__desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 2.5rem;
    max-width: 380px;
    font-weight: 300;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact__info-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact__info-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact__info-item span:last-child {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Form */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem 0.9rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.82rem;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a8074' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
    background: var(--bg-primary);
    padding: 5rem 0 2.5rem;
    border-top: 1px solid var(--border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__tagline {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 250px;
    line-height: 1.6;
}

.footer__links h4,
.footer__social h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
}

.footer__links li {
    margin-bottom: 0.6rem;
}

.footer__links a,
.footer__links li {
    font-size: 0.78rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--text-primary);
}

.footer__social-links {
    display: flex;
    gap: 1rem;
}

.footer__social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer__social-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.footer__bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.footer__credit {
    font-size: 0.68rem !important;
    color: var(--text-muted) !important;
}

.footer__credit a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer__credit a:hover {
    color: var(--text-primary);
}

.footer__belt-bar {
    display: flex;
    justify-content: center;
    gap: 4px;
    width: 100%;
}

.footer__belt-bar span {
    width: 20px;
    height: 3px;
    border-radius: 1px;
    opacity: 0.4;
}

/* ═══════════════════════════════════════════════════════════════
   MATTEREGLER MODAL
   ═══════════════════════════════════════════════════════════════ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal__container {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    max-width: 640px;
    width: calc(100% - 2rem);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s var(--ease-out);
}

.modal.open .modal__container {
    transform: translateY(0) scale(1);
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.modal__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.modal__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.modal__close:hover {
    color: var(--text-primary);
}

.modal__body {
    padding: 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal__body::-webkit-scrollbar {
    width: 4px;
}

.modal__body::-webkit-scrollbar-track {
    background: transparent;
}

.modal__body::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 2px;
}

.modal__rule {
    margin-bottom: 2rem;
}

.modal__rule:last-child {
    margin-bottom: 0;
}

.modal__rule h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.modal__rule ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal__rule li {
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
    padding-left: 1.2rem;
    position: relative;
}

.modal__rule li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

@media (max-width: 480px) {
    .modal__header {
        padding: 1.2rem 1.25rem;
    }

    .modal__body {
        padding: 1.25rem;
    }

    .modal__title {
        font-size: 0.88rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

[data-reveal="fade-up"] {
    transform: translateY(18px);
}

[data-reveal="fade-in"] {
    transform: none;
}

[data-reveal="slide-left"] {
    transform: translateX(-18px);
}

[data-reveal="slide-right"] {
    transform: translateX(18px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .about__stat-badge {
        position: relative;
        bottom: auto;
        right: auto;
        display: inline-block;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 4rem;
    }

    .nav__links {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s var(--ease-out);
        z-index: 1000;
    }

    .nav__links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav__links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border);
    }

    .nav__links li:first-child {
        border-top: 1px solid var(--border);
    }

    .nav__links a {
        display: block;
        font-size: 1.1rem;
        letter-spacing: 0.18em;
        padding: 1.2rem 0;
    }

    .nav__links a::after {
        display: none;
    }

    .nav__cta {
        margin-top: 2rem;
        padding: 1rem 2.5rem !important;
        font-size: 0.85rem !important;
        display: inline-block !important;
        width: auto !important;
    }

    .nav__links li:last-child {
        border-bottom: none;
    }

    .nav__burger {
        display: flex;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about__container {
        max-width: 100%;
    }

    .about__stat-badge {
        position: relative;
        bottom: auto;
        right: auto;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
    }

    .philosophy__quote p {
        font-size: clamp(1rem, 4vw, 1.4rem);
    }

    .hero__scroll {
        bottom: 1.2rem;
    }

    .hero__belt-bar {
        margin-top: 2.5rem;
    }

    .contact__heading {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }
}

@media (max-width: 480px) {
    .hero__title-line {
        font-size: clamp(2.2rem, 12vw, 3.5rem);
    }

    .hero__title-line--accent {
        font-size: clamp(1.6rem, 9vw, 2.5rem);
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .classes__grid {
        grid-template-columns: 1fr;
    }

    .class-card {
        padding: 1.5rem 1.2rem;
    }

    .footer__bottom {
        text-align: center;
    }

    .footer__bottom p {
        font-size: 0.68rem;
    }

    .about__heading {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .section-label {
        font-size: 0.62rem;
    }

    .hero__subtitle {
        font-size: clamp(0.85rem, 3.5vw, 1.1rem);
    }

    .contact__info-item span:last-child {
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.68rem;
    }
}

/* ── Mobile touch & performance ──────────────────────────────── */
@media (hover: none) {
    .class-card:hover {
        transform: none;
    }

    .hero__belt-bar span:hover {
        opacity: 0.45;
        transform: none;
    }
}

/* Ensure min 44px tap targets on mobile */
@media (pointer: coarse) {
    .nav__links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .footer__social-links a {
        width: 44px;
        height: 44px;
    }

    .modal__close {
        width: 44px;
        height: 44px;
    }
}
