/*
Theme Name: SJAA Martial Arts
Theme URI: https://sjaa.gr
Author: SJAA Dev Team
Description: Parent-first premium WordPress theme for Southern Judo Academy.
Version: 2.0.0
Text Domain: sjaa
*/

:root {
    --ink: #091016;
    --ink-2: #111a22;
    --bone: #f5f0e7;
    --paper: #fffaf1;
    --muted: #9f9689;
    --line: rgba(245, 240, 231, 0.16);
    --line-dark: rgba(9, 16, 22, 0.14);
    --red: #ce1f2e;
    --red-deep: #9f1421;
    --blue: #16447c;
    --blue-soft: #dce9f7;
    --tatami: #cbc4b6;
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
    --radius-lg: 34px;
    --radius-md: 22px;
    --radius-sm: 14px;
    --max: 1160px;
    --gutter: clamp(16px, 2.25vw, 32px);
    --font-display: Georgia, "Times New Roman", serif;
    --font-body: "Open Sans", "Segoe UI", sans-serif;
    --step--1: clamp(0.82rem, 0.8rem + 0.12vw, 0.92rem);
    --step-0: clamp(0.96rem, 0.92rem + 0.16vw, 1.04rem);
    --step-1: clamp(1.08rem, 1.02rem + 0.28vw, 1.24rem);
    --step-2: clamp(1.28rem, 1.16rem + 0.54vw, 1.58rem);
    --step-3: clamp(1.58rem, 1.34rem + 0.94vw, 2.05rem);
    --step-4: clamp(1.92rem, 1.54rem + 1.36vw, 2.65rem);
    --step-5: clamp(2.32rem, 1.72rem + 2.05vw, 3.55rem);
    --measure-heading: 15.5ch;
    --measure-prose: 62ch;
    --section-space: clamp(48px, 5.8vw, 88px);
    --section-space-tight: clamp(38px, 4.8vw, 68px);
    --scroll-progress: 0;
    --scroll-shift: 0vw;
    --sjaa-vh: 100svh;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: clamp(70px, 6vw, 92px);
    background: var(--ink);
}

body {
    margin: 0;
    color: var(--bone);
    background:
        radial-gradient(circle at 15% 0%, rgba(206, 31, 46, 0.18), transparent 32rem),
        radial-gradient(circle at 84% 6%, rgba(22, 68, 124, 0.28), transparent 34rem),
        var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

img {
    height: auto;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    border: 0;
}

address {
    font-style: normal;
}

::selection {
    color: white;
    background: var(--red);
}

.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;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 12px 16px;
    color: var(--ink);
    background: var(--bone);
    border-radius: 999px;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: clamp(8px, 1.1vw, 14px) var(--gutter);
    color: var(--bone);
    transition: background 220ms ease, border-color 220ms ease, padding 220ms ease, opacity 420ms ease, transform 420ms ease;
}

.admin-bar .site-header {
    top: 32px;
}

.has-motion-js:not(.motion-intro-complete) .site-header {
    opacity: 0;
    transform: translate3d(0, -18px, 0);
}

.intro-complete.is-scrolling-down .site-header:not(:focus-within) {
    transform: translate3d(0, -10px, 0);
}

.site-header.is-scrolled,
.site-header:focus-within {
    background: rgba(9, 16, 22, 0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    max-width: min(58vw, 360px);
}

.brand-mark img {
    width: clamp(42px, 4.4vw, 56px);
    height: clamp(42px, 4.4vw, 56px);
    object-fit: contain;
}

.brand-mark strong,
.brand-mark small {
    display: block;
}

.brand-mark strong {
    font-size: 0.72rem;
    line-height: 1;
    letter-spacing: 0.34em;
}

.brand-mark small {
    margin-top: 4px;
    color: rgba(245, 240, 231, 0.64);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.55vw, 26px);
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(9, 16, 22, 0.46);
    backdrop-filter: blur(16px);
}

.primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 10px;
    color: rgba(245, 240, 231, 0.78);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
    color: var(--bone);
}

.primary-nav a.is-active {
    background: rgba(245, 240, 231, 0.09);
    border-radius: 999px;
}

.primary-nav .nav-cta {
    padding-inline: 16px;
    color: white;
    background: var(--red);
    border-radius: 999px;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
    background: #f23845;
    transform: translateY(-1px);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(9, 16, 22, 0.46);
    backdrop-filter: blur(16px);
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 32px;
    padding: 0 9px;
    color: rgba(245, 240, 231, 0.68);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    transition: color 180ms ease, background 180ms ease;
}

.language-switcher a:hover,
.language-switcher a:focus-visible,
.language-switcher a.is-active {
    color: var(--bone);
    background: rgba(245, 240, 231, 0.1);
}

.nav-toggle {
    display: none;
    position: relative;
    width: 52px;
    height: 52px;
    color: var(--bone);
    background: rgba(9, 16, 22, 0.7);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
}

.nav-toggle__line {
    position: absolute;
    left: 15px;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 220ms ease;
}

.nav-toggle__line:first-child {
    top: 19px;
}

.nav-toggle__line:nth-child(2) {
    top: 29px;
}

.nav-open .nav-toggle__line:first-child {
    transform: translateY(5px) rotate(45deg);
}

.nav-open .nav-toggle__line:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
}

.hero-section {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center stretch;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(118px, 14vh, 156px) var(--gutter) clamp(42px, 5.5vw, 72px);
    background: #091016;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 18% 66%, rgba(206, 31, 46, 0.16), transparent 30rem),
        linear-gradient(90deg, rgba(9, 16, 22, 0.9) 0%, rgba(9, 16, 22, 0.66) 38%, rgba(9, 16, 22, 0.14) 68%, rgba(9, 16, 22, 0.02) 100%),
        linear-gradient(0deg, rgba(9, 16, 22, 0.78) 0%, rgba(9, 16, 22, 0.26) 42%, transparent 72%);
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.3;
    background-image:
        linear-gradient(rgba(245, 240, 231, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 240, 231, 0.08) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image:
        radial-gradient(circle at 23% 52%, black, transparent 34rem),
        linear-gradient(90deg, black, transparent 72%);
    transform: translate3d(0, 0, 0);
    animation: hero-grid-drift 18s ease-in-out infinite alternate;
    will-change: transform;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
    transform: translate3d(0, var(--scene-shift, 0), 0) scale(1.08);
    will-change: transform;
}

.hero-grid {
    position: relative;
    width: min(calc(100vw - (var(--gutter) * 2)), 1540px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-content: start;
    gap: 0;
}

.hero-grid::before {
    content: "";
    position: absolute;
    right: clamp(0px, 4vw, 70px);
    top: clamp(24px, 7vh, 84px);
    width: clamp(120px, 18vw, 320px);
    aspect-ratio: 1;
    border: 1px solid rgba(206, 31, 46, 0.18);
    border-radius: 50%;
    opacity: 0.52;
    pointer-events: none;
    transform: translate3d(0, 0, 0) rotate(0deg);
    animation: hero-dojo-orbit 16s linear infinite;
}

.hero-copy {
    position: relative;
    max-width: min(100%, 1540px);
}

.hero-copy::before {
    content: "";
    position: absolute;
    left: clamp(-34px, -2.4vw, -22px);
    top: 8px;
    width: 1px;
    height: min(78%, 430px);
    background: linear-gradient(180deg, var(--red), rgba(245, 240, 231, 0.2), transparent);
    opacity: 0.72;
    transform: scaleY(0);
    transform-origin: top;
}

.intro-complete .hero-copy::before {
    animation:
        hero-rule-reveal 920ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both,
        hero-rule-breathe 4400ms ease-in-out 1300ms infinite alternate;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-copy .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.hero-copy .eyebrow::after {
    content: "";
    width: clamp(34px, 4vw, 78px);
    height: 1px;
    background:
        linear-gradient(90deg, rgba(206, 31, 46, 0.3), rgba(245, 240, 231, 0.92), rgba(206, 31, 46, 0.74));
    background-size: 220% 100%;
    animation: hero-line-scan 2400ms ease-in-out infinite alternate;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.042em;
}

h1 {
    max-width: var(--measure-heading);
    margin-bottom: 24px;
    font-size: var(--step-5);
    line-height: 0.98;
    text-wrap: balance;
}

.hero-copy h1 {
    max-width: 14.2ch;
}

.hero-statement-frame {
    position: relative;
    display: grid;
    justify-items: start;
    gap: 10px;
    width: min(100%, 1540px);
    margin-bottom: 22px;
}

.hero-statement-frame::before {
    content: "";
    position: absolute;
    left: clamp(-22px, -1.8vw, -12px);
    top: clamp(0px, 0.9vw, 12px);
    width: clamp(7px, 0.9vw, 12px);
    height: clamp(7px, 0.9vw, 12px);
    border-radius: 50%;
    background: var(--red);
    box-shadow:
        0 0 0 7px rgba(206, 31, 46, 0.1),
        0 0 34px rgba(206, 31, 46, 0.52);
    opacity: 0.88;
    animation: hero-red-breath 2600ms ease-in-out infinite alternate;
}

.hero-copy h1.hero-statement {
    display: grid;
    align-items: center;
    width: 100%;
    max-width: min(1540px, calc(100vw - (var(--gutter) * 2)));
    min-height: clamp(3.45rem, 7.45vw, 8.25rem);
    margin-bottom: 0;
    overflow: hidden;
    perspective: 1100px;
    font-size: clamp(2.35rem, 5.08vw, 5.85rem);
    letter-spacing: -0.072em;
    line-height: 0.86;
    text-wrap: auto;
}

.hero-statement__item {
    grid-area: 1 / 1;
    display: block;
    width: max-content;
    max-width: min(1540px, calc(100vw - (var(--gutter) * 2)));
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    filter: blur(18px);
    transform: translate3d(0, 58%, -120px) rotateX(-22deg) scale(0.96);
    transform-origin: 50% 50%;
    will-change: opacity, filter, transform;
}

.hero-statement__item--medium {
    font-size: clamp(2.14rem, 4.72vw, 5.56rem);
}

.hero-statement__item--wide {
    font-size: clamp(1.95rem, 4.37vw, 5.1rem);
    letter-spacing: -0.078em;
}

.hero-statement__item.is-active {
    visibility: visible;
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
}

.hero-statement__item.is-entering {
    animation: hero-cassian-in 920ms cubic-bezier(0.18, 0.84, 0.22, 1) both;
}

.hero-statement__item.is-exiting {
    visibility: visible;
    animation: hero-cassian-out 720ms cubic-bezier(0.55, 0, 0.22, 1) both;
}

.hero-motion-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 0;
    color: rgba(245, 240, 231, 0.52);
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
    transition: color 180ms ease, opacity 180ms ease;
}

.hero-motion-toggle::before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    transform-origin: left;
    transition: transform 180ms ease;
}

.hero-motion-toggle:hover,
.hero-motion-toggle:focus-visible {
    color: rgba(245, 240, 231, 0.86);
}

.hero-motion-toggle[aria-pressed="true"]::before {
    transform: scaleX(0.45);
}

h2 {
    max-width: min(19ch, 100%);
    margin-bottom: 20px;
    font-size: var(--step-4);
    line-height: 1.04;
}

h3 {
    margin-bottom: 12px;
    font-size: var(--step-1);
    line-height: 1.22;
}

.hero-lead {
    max-width: 54ch;
    margin-bottom: 26px;
    color: rgba(245, 240, 231, 0.78);
    font-size: var(--step-1);
    line-height: 1.5;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.hero-actions .button::after {
    content: "";
    position: absolute;
    inset: -40% auto -40% -62%;
    width: 48%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    opacity: 0;
    transform: skewX(-18deg) translate3d(0, 0, 0);
    pointer-events: none;
}

.intro-complete .hero-actions .button::after {
    animation: hero-button-glint 5200ms ease-in-out infinite;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: white;
    background: var(--red);
    box-shadow: 0 18px 50px rgba(206, 31, 46, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #f23342;
}

.button-ghost {
    color: var(--bone);
    background: rgba(245, 240, 231, 0.08);
    border-color: var(--line);
}

.button-ghost:hover,
.button-ghost:focus-visible {
    background: rgba(245, 240, 231, 0.14);
}

.intro-band {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: rgba(245, 240, 231, 0.035);
}

.intro-band__track {
    display: flex;
    width: max-content;
    min-width: 100%;
    gap: clamp(26px, 5vw, 86px);
    padding: 14px var(--gutter);
    color: rgba(245, 240, 231, 0.54);
    font-size: clamp(0.8rem, 1.3vw, 1.1rem);
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transform: translate3d(var(--scroll-shift), 0, 0);
    will-change: transform;
}

.section {
    width: min(100%, var(--max));
    margin-inline: auto;
    padding: var(--section-space) var(--gutter);
}

.section-heading {
    max-width: 820px;
}

.section-heading p,
.split-heading > p,
.prestige-copy p,
.story-copy p,
.coach-card p,
.contact-copy p {
    max-width: var(--measure-prose);
    color: rgba(245, 240, 231, 0.68);
    font-size: var(--step-0);
    line-height: 1.56;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.parent-section {
    position: relative;
}

.parent-section::before {
    content: "";
    position: absolute;
    inset: 38px var(--gutter) auto;
    height: 1px;
    background: var(--line);
}

.value-grid,
.program-grid,
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: clamp(26px, 4vw, 48px);
}

.value-card,
.program-card,
.testimonial-card,
.schedule-day {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(245, 240, 231, 0.1), rgba(245, 240, 231, 0.035));
}

.value-card,
.program-card {
    display: grid;
    align-content: start;
    gap: clamp(12px, 1.4vw, 18px);
    min-height: 0;
    padding: clamp(18px, 1.8vw, 24px);
}

.value-card span,
.program-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    width: fit-content;
    min-width: clamp(58px, 5vw, 76px);
    min-height: clamp(42px, 3.6vw, 54px);
    margin-bottom: clamp(6px, 0.7vw, 10px);
    color: var(--red);
    border: 1px solid rgba(206, 31, 46, 0.34);
    border-radius: 999px;
    font-size: clamp(0.98rem, 1.25vw, 1.22rem);
    font-weight: 950;
    letter-spacing: -0.03em;
}

.value-card h3,
.program-card h3 {
    margin-bottom: 0;
}

.value-card p,
.program-card p,
.testimonial-card p,
.schedule-slot strong {
    color: rgba(245, 240, 231, 0.68);
}

.value-card p,
.program-card p {
    margin-bottom: 0;
    line-height: 1.48;
}

.prestige-section {
    width: 100%;
    max-width: none;
    padding-inline: var(--gutter);
    background:
        linear-gradient(180deg, rgba(9, 16, 22, 0), rgba(9, 16, 22, 0.88)),
        repeating-linear-gradient(90deg, rgba(245, 240, 231, 0.035) 0 1px, transparent 1px 92px);
}

.prestige-layout {
    width: min(100%, var(--max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: clamp(22px, 4.2vw, 60px);
    align-items: center;
}

.prestige-media {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.prestige-media img {
    width: 100%;
    aspect-ratio: 1.55;
    object-fit: cover;
}

.proof-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.proof-list li {
    position: relative;
    padding: 12px 16px 12px 38px;
    color: rgba(245, 240, 231, 0.82);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(245, 240, 231, 0.045);
}

.proof-list li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 10px;
    height: 10px;
    background: var(--red);
    border-radius: 50%;
    transform: translateY(-50%);
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.55fr);
    gap: clamp(18px, 3.4vw, 56px);
    align-items: end;
}

.program-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-card {
    min-height: 270px;
}

.image-story {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.62fr);
    gap: clamp(24px, 4.8vw, 70px);
    align-items: center;
}

.story-copy {
    max-width: 780px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--bone);
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.text-link::after {
    content: "";
    width: 54px;
    height: 1px;
    background: var(--red);
    transition: transform 180ms ease;
    transform-origin: left;
}

.text-link:hover::after,
.text-link:focus-visible::after {
    transform: scaleX(1.35);
}

.story-image {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.story-image img {
    width: 100%;
    aspect-ratio: 0.95;
    object-fit: cover;
}

.coach-section {
    width: 100%;
    max-width: none;
    background: var(--bone);
    color: var(--ink);
}

.coach-card {
    width: min(100%, var(--max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.8fr);
    gap: clamp(24px, 4vw, 60px);
    align-items: center;
    padding-inline: var(--gutter);
}

.coach-card img {
    width: min(100%, 430px);
    margin-inline: auto;
    aspect-ratio: 0.8;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 22px 70px rgba(9, 16, 22, 0.18);
}

.coach-card .eyebrow {
    color: var(--red-deep);
}

.coach-card p {
    color: rgba(9, 16, 22, 0.72);
}

.schedule-section {
    width: 100%;
    max-width: none;
    padding-inline: var(--gutter);
}

.schedule-section > * {
    width: min(100%, var(--max));
    margin-inline: auto;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-top: clamp(22px, 3vw, 36px);
}

.schedule-day {
    padding: 14px;
}

.schedule-day h3 {
    color: var(--bone);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.schedule-slots {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.schedule-slot {
    display: grid;
    gap: 4px;
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    background: rgba(245, 240, 231, 0.055);
}

.schedule-slot span {
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 950;
}

.schedule-slot strong {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.34;
}

.testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card {
    margin: 0;
    padding: clamp(24px, 3vw, 42px);
}

.testimonial-card p {
    font-family: var(--font-display);
    color: var(--bone);
    font-size: var(--step-2);
    line-height: 1.14;
    letter-spacing: -0.028em;
}

.testimonial-card cite {
    display: block;
    margin-top: 24px;
    color: var(--muted);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-section {
    width: 100%;
    max-width: none;
    padding-inline: var(--gutter);
}

.contact-panel {
    width: min(100%, var(--max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.58fr);
    gap: clamp(22px, 4vw, 60px);
    align-items: start;
    padding: clamp(22px, 3.8vw, 46px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 0 0, rgba(206, 31, 46, 0.22), transparent 26rem),
        linear-gradient(145deg, rgba(245, 240, 231, 0.1), rgba(245, 240, 231, 0.035));
    box-shadow: var(--shadow);
}

.contact-copy {
    max-width: 660px;
}

.contact-form-shell {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(9, 16, 22, 0.45);
    padding: clamp(20px, 2.5vw, 32px);
}

.wpcf7-form {
    display: grid;
    gap: 16px;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7-form label {
    display: grid;
    gap: 8px;
    color: rgba(245, 240, 231, 0.72);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    min-height: 52px;
    color: var(--bone);
    background: rgba(245, 240, 231, 0.08);
    border: 1px solid var(--line);
    border-radius: 16px;
    outline: 0;
    padding: 13px 15px;
    transition: border-color 160ms ease, background 160ms ease;
}

textarea.wpcf7-form-control {
    min-height: 132px;
    resize: vertical;
}

.wpcf7-form-control:focus {
    border-color: rgba(206, 31, 46, 0.72);
    background: rgba(245, 240, 231, 0.12);
}

.wpcf7-submit {
    min-height: 54px;
    padding: 0 22px;
    color: white;
    background: var(--red);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wpcf7-not-valid-tip,
.wpcf7-response-output {
    color: #ffd1d5;
    font-size: 0.84rem;
}

.trial-card,
.form-fallback {
    display: grid;
    gap: 10px;
}

.trial-card span {
    color: var(--red);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.trial-card strong,
.form-fallback strong {
    font-family: var(--font-display);
    font-size: clamp(1.42rem, 1.2rem + 0.65vw, 1.78rem);
    line-height: 1;
}

.trial-card ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 16px 0 10px;
    list-style: none;
}

.trial-card li {
    position: relative;
    padding-left: 26px;
    color: rgba(245, 240, 231, 0.7);
}

.trial-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 10px;
    height: 10px;
    background: var(--red);
    border-radius: 50%;
}

.form-fallback p {
    color: rgba(245, 240, 231, 0.68);
}

.trial-card a,
.form-fallback a {
    color: white;
    font-weight: 900;
}

.site-footer {
    padding: clamp(44px, 6vw, 76px) var(--gutter) 24px;
    color: var(--bone);
    background:
        linear-gradient(180deg, rgba(9, 16, 22, 0), #05080b),
        var(--ink);
    border-top: 1px solid var(--line);
}

.footer-grid,
.footer-bottom {
    width: min(100%, var(--max));
    margin-inline: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.42fr);
    gap: 28px;
}

.site-footer h2 {
    max-width: 14ch;
    font-size: var(--step-4);
}

.site-footer address {
    display: grid;
    gap: 12px;
    align-content: start;
}

.site-footer address strong {
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.site-footer address a {
    color: rgba(245, 240, 231, 0.72);
}

.site-footer address a:hover,
.site-footer address a:focus-visible {
    color: var(--bone);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding-top: 20px;
    color: rgba(245, 240, 231, 0.48);
    border-top: 1px solid var(--line);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.generic-page {
    min-height: 70svh;
    padding: clamp(104px, 14vw, 160px) var(--gutter) clamp(56px, 8vw, 96px);
}

.generic-page__article {
    width: min(100%, 900px);
    margin-inline: auto;
}

.entry-content {
    color: rgba(245, 240, 231, 0.74);
}

[data-reveal] {
    opacity: 0;
    filter: blur(14px);
    clip-path: inset(0 0 12% 0 round 18px);
    transform: translate3d(0, var(--reveal-y, 34px), 0) scale(var(--reveal-scale, 0.985));
    transition:
        opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 760ms cubic-bezier(0.22, 1, 0.36, 1),
        clip-path 760ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--reveal-index, 0) * 58ms);
}

[data-reveal].is-visible {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0 0 0 0 round 0);
    transform: translate3d(0, 0, 0);
}

.value-card[data-reveal],
.media-card[data-reveal],
.program-detail-card[data-reveal],
.standard-card[data-reveal] {
    --reveal-y: 42px;
    --reveal-scale: 0.965;
}

.section-heading[data-reveal],
.split-heading[data-reveal] {
    --reveal-y: 54px;
}

.sjaa-intro {
    --intro-logo-size: clamp(112px, 14vw, 184px);
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--bone);
    background:
        radial-gradient(circle at 50% 38%, rgba(206, 31, 46, 0.3), transparent 18rem),
        radial-gradient(circle at 52% 48%, rgba(22, 68, 124, 0.24), transparent 24rem),
        linear-gradient(135deg, #05080b 0%, #091016 52%, #141d24 100%);
    transition:
        opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
        visibility 620ms step-end,
        transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sjaa-intro::before,
.sjaa-intro::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sjaa-intro::before {
    background:
        linear-gradient(rgba(245, 240, 231, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 240, 231, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 68%);
    mask-image: radial-gradient(circle at center, black, transparent 68%);
    transform: scale(1.08);
}

.sjaa-intro::after {
    background:
        linear-gradient(90deg, transparent, rgba(245, 240, 231, 0.18), transparent),
        linear-gradient(0deg, rgba(9, 16, 22, 0.62), transparent 40%, rgba(9, 16, 22, 0.72));
    transform: translate3d(-120%, 0, 0) skewX(-16deg);
    animation: intro-scan 1480ms cubic-bezier(0.22, 1, 0.36, 1) 220ms both;
}

.sjaa-intro__grain {
    position: absolute;
    inset: -40%;
    opacity: 0.11;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(245, 240, 231, 0.9) 0 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(245, 240, 231, 0.72) 0 1px, transparent 1px);
    background-size: 38px 42px, 54px 48px;
    animation: grain-drift 900ms steps(3) infinite;
}

.sjaa-intro__inner {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: clamp(12px, 1.8vw, 20px);
    padding: 34px var(--gutter);
    text-align: center;
}

.sjaa-intro__logo {
    position: relative;
    display: grid;
    place-items: center;
    width: var(--intro-logo-size);
    aspect-ratio: 1;
    border: 1px solid rgba(245, 240, 231, 0.2);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 250, 241, 0.15), transparent 62%),
        rgba(9, 16, 22, 0.18);
    box-shadow:
        0 30px 92px rgba(0, 0, 0, 0.38),
        inset 0 0 0 12px rgba(245, 240, 231, 0.035);
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.72) rotate(-18deg);
    animation: intro-logo-reveal 1100ms cubic-bezier(0.16, 0.78, 0.18, 1) 90ms both;
}

.sjaa-intro__logo::before,
.sjaa-intro__logo::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: inherit;
    pointer-events: none;
}

.sjaa-intro__logo::before {
    background: conic-gradient(from 140deg, transparent 0 28%, rgba(206, 31, 46, 0.95), transparent 46% 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    animation: intro-logo-orbit 2700ms cubic-bezier(0.18, 0.74, 0.16, 1) 180ms both;
}

.sjaa-intro__logo::after {
    inset: 11%;
    border: 1px solid rgba(245, 240, 231, 0.13);
    transform: scale(0.84);
    opacity: 0;
    animation: intro-logo-pulse 1280ms cubic-bezier(0.16, 0.78, 0.18, 1) 360ms both;
}

.sjaa-intro__logo img {
    position: relative;
    z-index: 1;
    width: 74%;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.32));
}

.sjaa-intro__inner span {
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    animation: intro-copy 720ms cubic-bezier(0.22, 1, 0.36, 1) 520ms both;
}

.sjaa-intro__inner strong {
    font-family: var(--font-display);
    max-width: 12.8ch;
    font-size: clamp(1.65rem, 4.2vw, 4.45rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.92;
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.96);
    animation: intro-copy 880ms cubic-bezier(0.22, 1, 0.36, 1) 760ms both;
}

.sjaa-intro__inner i {
    width: min(220px, 42vw);
    height: 2px;
    overflow: hidden;
    background: rgba(245, 240, 231, 0.16);
}

.sjaa-intro__inner i::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    animation: intro-line 1120ms cubic-bezier(0.22, 1, 0.36, 1) 1120ms both;
}

.intro-complete .sjaa-intro {
    visibility: hidden;
    opacity: 0;
    transform: translate3d(0, -2%, 0) scale(1.055);
    pointer-events: none;
}

.is-split .word {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 112%, 0) rotateX(32deg);
    transform-origin: 50% 100%;
    transition:
        opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(180ms + (var(--word-index, 0) * 48ms));
}

.intro-complete .is-split .word {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0);
}

.scroll-spine {
    position: fixed;
    right: clamp(14px, 2vw, 28px);
    top: 50%;
    z-index: 850;
    display: grid;
    grid-template-columns: auto 1px;
    align-items: center;
    gap: 12px;
    height: min(46vh, 360px);
    color: rgba(245, 240, 231, 0.62);
    pointer-events: none;
    transform: translate3d(0, -50%, 0);
}

.scroll-spine__label {
    writing-mode: vertical-rl;
    color: rgba(245, 240, 231, 0.44);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.scroll-spine__track {
    position: relative;
    width: 1px;
    height: 100%;
    overflow: hidden;
    background: rgba(245, 240, 231, 0.16);
}

.scroll-spine__bar {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--red), rgba(245, 240, 231, 0.82));
    transform: scaleY(var(--scroll-progress));
    transform-origin: top;
}

[data-scroll-scene] {
    --scene-progress: 0;
    --scene-shift: 0px;
}

[data-scroll-scene] .prestige-media img,
[data-scroll-scene] .video-card img,
[data-scroll-scene] .program-detail-card > picture img,
[data-scroll-scene] .story-image img {
    transform: translate3d(0, var(--scene-shift), 0) scale(1.06);
    will-change: transform;
}

.prestige-media,
.story-image,
.program-detail-card > picture,
.inline-video-link__thumb,
.video-card:not(.video-card--loaded) {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
}

.prestige-media::before,
.story-image::before,
.program-detail-card > picture::before,
.inline-video-link__thumb::before,
.video-card:not(.video-card--loaded)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(255, 250, 241, 0.12), transparent 38%),
        radial-gradient(circle at 18% 18%, rgba(206, 31, 46, 0.16), transparent 19rem),
        linear-gradient(180deg, transparent 45%, rgba(9, 16, 22, 0.22));
    opacity: 0;
    mix-blend-mode: multiply;
    pointer-events: none;
    transition: opacity 520ms cubic-bezier(0.16, 0.78, 0.18, 1);
}

.prestige-media img,
.story-image img,
.program-detail-card > picture img,
.inline-video-link__thumb img,
.video-card:not(.video-card--loaded) img {
    transition: transform 760ms cubic-bezier(0.16, 0.78, 0.18, 1);
}

.inline-video-link__thumb img {
    transition: transform 760ms cubic-bezier(0.16, 0.78, 0.18, 1);
}

.prestige-media:hover::before,
.story-image:hover::before,
.program-detail-card:hover > picture::before,
.inline-video-link:hover .inline-video-link__thumb::before,
.video-card:not(.video-card--loaded):hover::before,
.prestige-media:focus-within::before,
.story-image:focus-within::before,
.program-detail-card:focus-within > picture::before,
.inline-video-link:focus-visible .inline-video-link__thumb::before,
.video-card:not(.video-card--loaded):focus-visible::before {
    opacity: 1;
}

.prestige-media:hover img,
.story-image:hover img,
.program-detail-card:hover > picture img,
.inline-video-link:hover .inline-video-link__thumb img,
.video-card:not(.video-card--loaded):hover img,
.prestige-media:focus-within img,
.story-image:focus-within img,
.program-detail-card:focus-within > picture img,
.inline-video-link:focus-visible .inline-video-link__thumb img,
.video-card:not(.video-card--loaded):focus-visible img {
    transform: scale(1.025);
}

.inline-video-link:hover .inline-video-link__thumb img,
.inline-video-link:focus-visible .inline-video-link__thumb img {
    transform: scale(1.045);
}

@keyframes intro-copy {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes intro-logo-reveal {
    70% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1.035) rotate(4deg);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) rotate(0);
    }
}

@keyframes intro-logo-orbit {
    from {
        transform: rotate(-150deg);
    }

    to {
        transform: rotate(570deg);
    }
}

@keyframes intro-logo-pulse {
    0% {
        opacity: 0;
        transform: scale(0.72);
    }

    58% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1.18);
    }
}

@keyframes intro-line {
    to {
        transform: scaleX(1);
    }
}

@keyframes hero-rule-reveal {
    to {
        transform: scale(1);
    }
}

@keyframes hero-rule-breathe {
    from {
        opacity: 0.58;
        filter: drop-shadow(0 0 0 rgba(206, 31, 46, 0));
    }

    to {
        opacity: 0.92;
        filter: drop-shadow(0 0 14px rgba(206, 31, 46, 0.32));
    }
}

@keyframes hero-grid-drift {
    from {
        transform: translate3d(-12px, -8px, 0) scale(1.01);
    }

    to {
        transform: translate3d(18px, 12px, 0) scale(1.035);
    }
}

@keyframes hero-dojo-orbit {
    from {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }

    50% {
        transform: translate3d(-10px, 8px, 0) rotate(180deg) scale(1.04);
    }

    to {
        transform: translate3d(0, 0, 0) rotate(360deg) scale(1);
    }
}

@keyframes hero-line-scan {
    from {
        background-position: 0% 50%;
        opacity: 0.58;
    }

    to {
        background-position: 100% 50%;
        opacity: 1;
    }
}

@keyframes hero-red-breath {
    from {
        opacity: 0.44;
        transform: translate3d(0, 0, 0) scale(0.78);
    }

    to {
        opacity: 0.94;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes hero-button-glint {
    0%,
    64% {
        opacity: 0;
        transform: skewX(-18deg) translate3d(0, 0, 0);
    }

    72% {
        opacity: 0.75;
    }

    84%,
    100% {
        opacity: 0;
        transform: skewX(-18deg) translate3d(420%, 0, 0);
    }
}

@keyframes hero-cassian-in {
    0% {
        visibility: visible;
        opacity: 0;
        filter: blur(22px);
        transform: translate3d(0, 58%, -140px) rotateX(-24deg) scale(0.94);
    }

    62% {
        opacity: 1;
        filter: blur(4px);
        transform: translate3d(0, -3%, 16px) rotateX(3deg) scale(1.012);
    }

    100% {
        visibility: visible;
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0, 0, 0) rotateX(0) scale(1);
    }
}

@keyframes hero-cassian-out {
    0% {
        visibility: visible;
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0, 0, 0) rotateX(0) scale(1);
    }

    100% {
        visibility: visible;
        opacity: 0;
        filter: blur(16px);
        transform: translate3d(0, -38%, -150px) rotateX(18deg) scale(0.97);
    }
}

@keyframes intro-scan {
    to {
        transform: translate3d(120%, 0, 0) skewX(-16deg);
    }
}

@keyframes grain-drift {
    to {
        transform: translate3d(32px, -24px, 0);
    }
}

.content-section,
.philosophy-section,
.unesco-section,
.media-section,
.standards-section {
    position: relative;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
    gap: clamp(24px, 4.6vw, 68px);
    align-items: center;
}

.content-layout--reverse {
    grid-template-columns: minmax(320px, 0.72fr) minmax(0, 0.9fr);
}

.copy-stack {
    max-width: 700px;
}

.copy-stack p,
.media-card p,
.program-detail-card p,
.coach-profile p,
.standard-card p,
.philosophy-card p,
.principle-strip p {
    max-width: var(--measure-prose);
    color: rgba(245, 240, 231, 0.68);
    font-size: var(--step-0);
    line-height: 1.58;
}

.video-copy-card {
    min-width: 0;
}

.video-card {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 0;
    color: var(--bone);
    background: rgba(245, 240, 231, 0.06);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    cursor: pointer;
    isolation: isolate;
}

.video-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, transparent 28%, rgba(9, 16, 22, 0.78)),
        radial-gradient(circle at 50% 50%, rgba(206, 31, 46, 0.28), transparent 18rem);
    opacity: 0.92;
    transition: opacity 200ms ease;
}

.video-card:hover::after,
.video-card:focus-visible::after {
    opacity: 0.74;
}

.video-card img,
.video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-card--portrait img {
    aspect-ratio: 4 / 3;
}

.video-card iframe,
.inline-video-frame iframe {
    display: block;
    height: auto;
    border: 0;
}

.video-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: clamp(50px, 5.4vw, 68px);
    height: clamp(50px, 5.4vw, 68px);
    border: 1px solid rgba(245, 240, 231, 0.44);
    border-radius: 999px;
    background: rgba(9, 16, 22, 0.56);
    backdrop-filter: blur(16px);
    transform: translate(-50%, -50%);
    transition: transform 200ms ease, background 200ms ease;
}

.video-card__play::before {
    content: "";
    position: absolute;
    left: 52%;
    top: 50%;
    border-block: 11px solid transparent;
    border-left: 17px solid var(--bone);
    transform: translate(-40%, -50%);
}

.video-card:hover .video-card__play,
.video-card:focus-visible .video-card__play {
    background: var(--red);
    transform: translate(-50%, -50%) scale(1.06);
}

.video-card__label {
    position: absolute;
    left: clamp(18px, 2.4vw, 30px);
    right: clamp(18px, 2.4vw, 30px);
    bottom: clamp(18px, 2.4vw, 30px);
    z-index: 2;
    color: var(--bone);
    font-size: clamp(0.86rem, 0.9vw, 1rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
}

.video-card--loaded {
    cursor: default;
}

.video-card--loaded::after {
    content: none;
}

.philosophy-section {
    width: 100%;
    max-width: none;
    padding-inline: var(--gutter);
    background:
        radial-gradient(circle at 84% 8%, rgba(22, 68, 124, 0.24), transparent 30rem),
        linear-gradient(180deg, rgba(245, 240, 231, 0.035), rgba(9, 16, 22, 0));
}

.philosophy-section > .section-heading,
.philosophy-grid,
.principle-strip {
    width: min(100%, var(--max));
    margin-inline: auto;
}

.philosophy-section > .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.58fr);
    gap: clamp(18px, 3.2vw, 48px);
    align-items: end;
    max-width: var(--max);
}

.philosophy-section > .section-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.philosophy-section > .section-heading h2,
.philosophy-section > .section-heading p {
    margin-bottom: 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: clamp(22px, 3.4vw, 40px);
}

.philosophy-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding: clamp(18px, 2.2vw, 28px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgba(245, 240, 231, 0.14), rgba(245, 240, 231, 0.04)),
        rgba(9, 16, 22, 0.5);
    box-shadow: var(--shadow);
}

.philosophy-card::before {
    content: "";
    position: absolute;
    inset: auto 28px 28px auto;
    width: 104px;
    height: 104px;
    border: 1px solid rgba(206, 31, 46, 0.28);
    border-radius: 999px;
    opacity: 0.48;
}

.philosophy-card > span {
    display: inline-flex;
    margin-bottom: clamp(18px, 3vw, 34px);
    color: var(--red);
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.philosophy-card h3 {
    max-width: 18ch;
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.philosophy-card blockquote {
    margin: 16px 0;
    padding-left: 16px;
    color: var(--bone);
    border-left: 2px solid var(--red);
    font-family: var(--font-display);
    font-size: var(--step-1);
    line-height: 1.16;
    letter-spacing: -0.028em;
}

.philosophy-card ul {
    display: grid;
    gap: 7px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.philosophy-card li {
    position: relative;
    padding-left: 24px;
    color: rgba(245, 240, 231, 0.72);
    font-size: 0.9rem;
    line-height: 1.42;
}

.philosophy-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 9px;
    height: 9px;
    background: var(--red);
    border-radius: 50%;
}

.principle-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--line);
}

.principle-strip article {
    min-height: 142px;
    padding: clamp(16px, 1.8vw, 22px);
    background: rgba(9, 16, 22, 0.72);
}

.principle-strip strong {
    display: block;
    margin-bottom: 14px;
    color: var(--bone);
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 500;
    letter-spacing: -0.035em;
}

.principle-strip p {
    margin-bottom: 0;
}

.academy-section {
    width: 100%;
    max-width: none;
    padding-inline: var(--gutter);
    background:
        linear-gradient(180deg, rgba(9, 16, 22, 0), rgba(9, 16, 22, 0.88)),
        repeating-linear-gradient(90deg, rgba(245, 240, 231, 0.035) 0 1px, transparent 1px 92px);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: clamp(26px, 4vw, 48px);
}

.media-card,
.program-detail-card,
.standard-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(245, 240, 231, 0.1), rgba(245, 240, 231, 0.035));
}

.media-card {
    display: grid;
    gap: 18px;
    padding: clamp(16px, 2vw, 22px);
}

.media-card h3,
.standard-card h3 {
    margin: 0;
}

.media-card p,
.standard-card p {
    margin-bottom: 0;
}

.program-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: clamp(26px, 4vw, 48px);
}

.program-detail-card {
    display: grid;
    grid-template-columns: minmax(170px, 0.42fr) minmax(0, 0.58fr);
    overflow: hidden;
}

.program-detail-card--featured {
    position: relative;
    grid-column: 1 / -1;
    grid-template-columns: minmax(260px, 0.44fr) minmax(0, 0.56fr);
    border-color: rgba(206, 31, 46, 0.32);
    background:
        radial-gradient(circle at 10% 0%, rgba(206, 31, 46, 0.24), transparent 22rem),
        radial-gradient(circle at 100% 100%, rgba(22, 68, 124, 0.16), transparent 24rem),
        linear-gradient(145deg, rgba(245, 240, 231, 0.15), rgba(245, 240, 231, 0.045));
}

.program-detail-card--featured::after {
    content: "BJJ 16+";
    position: absolute;
    top: clamp(14px, 1.8vw, 24px);
    right: clamp(14px, 1.8vw, 24px);
    z-index: 2;
    padding: 9px 13px;
    color: var(--bone);
    border: 1px solid rgba(245, 240, 231, 0.34);
    border-radius: 999px;
    background: rgba(9, 16, 22, 0.42);
    backdrop-filter: blur(14px);
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.program-detail-card > picture,
.program-detail-card > picture img {
    height: 100%;
}

.program-detail-card > picture img {
    width: 100%;
    min-height: 286px;
    object-fit: cover;
}

.program-detail-card--featured > picture img {
    min-height: 340px;
}

.program-detail-card__body {
    display: grid;
    align-content: start;
    gap: 11px;
    padding: clamp(18px, 2.1vw, 26px);
}

.program-detail-card__body > span {
    width: fit-content;
    padding: 7px 12px;
    color: var(--red);
    border: 1px solid rgba(206, 31, 46, 0.36);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 950;
}

.program-detail-card h3 {
    margin-bottom: 0;
}

.program-detail-card p {
    margin-bottom: 0;
}

.inline-video-link {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    color: var(--bone);
    background: rgba(245, 240, 231, 0.065);
    border: 1px solid var(--line);
    border-radius: 18px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
    transition: background 180ms ease, transform 180ms ease;
}

.inline-video-link:hover,
.inline-video-link:focus-visible {
    background: rgba(245, 240, 231, 0.12);
    transform: translateY(-1px);
}

.inline-video-link__thumb {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.inline-video-link__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(9, 16, 22, 0.18);
}

.inline-video-link__thumb img {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.inline-video-frame {
    overflow: hidden;
    margin-top: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(9, 16, 22, 0.42);
}

.inline-video-frame iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.coaches-section {
    width: 100%;
    max-width: none;
    color: var(--ink);
    background:
        radial-gradient(circle at 18% 0%, rgba(206, 31, 46, 0.12), transparent 26rem),
        var(--bone);
}

.coaches-section > .section-heading,
.coach-grid {
    width: min(100%, var(--max));
    margin-inline: auto;
}

.coaches-section > .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(300px, 0.56fr);
    gap: clamp(18px, 3vw, 42px);
    align-items: end;
    max-width: var(--max);
}

.coaches-section > .section-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.coaches-section > .section-heading h2,
.coaches-section > .section-heading p {
    margin-bottom: 0;
}

.coaches-section .section-heading p,
.coach-profile p,
.standard-card p {
    color: rgba(9, 16, 22, 0.68);
}

.coach-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(18px, 2vw, 26px);
    margin-top: clamp(26px, 4vw, 52px);
}

.coach-profile {
    position: relative;
    display: block;
    min-height: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.coach-profile[data-reveal] {
    transform: translate3d(0, 24px, 0);
}

.coach-profile[data-reveal].is-visible {
    transform: translate3d(0, 0, 0);
}

.coach-profile__visual {
    min-width: 0;
    height: 100%;
}

.coach-profile__flip {
    position: relative;
    min-height: clamp(710px, 78vh, 810px);
    height: 100%;
    border: 0;
    outline: 0;
    perspective: 1900px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.coach-profile__flip:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 8px;
    border-radius: calc(var(--radius-lg) + 4px);
}

.coach-profile__flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    transform-style: preserve-3d;
    transition: transform 1050ms cubic-bezier(0.16, 0.78, 0.18, 1);
    will-change: transform;
}

.coach-profile__flip:hover .coach-profile__flip-inner,
.coach-profile__flip:focus-visible .coach-profile__flip-inner,
.coach-profile__flip.is-flipped .coach-profile__flip-inner {
    transform: rotateY(180deg);
}

.coach-profile__face {
    position: absolute;
    inset: 0;
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(9, 16, 22, 0.16);
    border-radius: var(--radius-lg);
    background: #e8e0d4;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow: 0 18px 54px rgba(9, 16, 22, 0.16);
}

.coach-profile__face--front {
    grid-template-rows: auto minmax(0, 1fr);
    place-items: stretch;
}

.coach-profile__face--back {
    transform: rotateY(180deg);
    background:
        radial-gradient(circle at 14% 10%, rgba(206, 31, 46, 0.12), transparent 18rem),
        linear-gradient(180deg, #fffaf1, #f4ecdf);
}

.coach-profile__image {
    position: relative;
    display: grid;
    place-items: end center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 24%, rgba(255, 250, 241, 0.6), transparent 20rem),
        rgba(9, 16, 22, 0.06);
}

.coach-profile__front-label {
    position: relative;
    z-index: 3;
    padding: clamp(12px, 1.35vw, 18px) clamp(16px, 1.8vw, 22px) clamp(10px, 1.2vw, 14px);
    border-bottom: 1px solid rgba(9, 16, 22, 0.1);
    background:
        radial-gradient(circle at 0% 0%, rgba(206, 31, 46, 0.08), transparent 16rem),
        linear-gradient(180deg, rgba(255, 250, 241, 0.92), rgba(255, 250, 241, 0.76));
    pointer-events: none;
}

.coach-profile__front-label .eyebrow {
    margin-bottom: 6px;
}

.coach-profile .coach-profile__front-label h3 {
    max-width: 11.5ch;
    margin-bottom: 4px;
    font-size: clamp(1.42rem, 1.95vw, 2.08rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.coach-profile .coach-profile__front-label > strong {
    margin-bottom: 0;
    font-size: 0.72rem;
}

.coach-profile__image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(180deg, transparent, rgba(9, 16, 22, 0.34));
    pointer-events: none;
}

.coach-profile__image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: clamp(18px, 2.3vw, 34px) clamp(10px, 1.6vw, 24px) 0;
    object-fit: contain;
    object-position: center var(--coach-portrait-position, center);
    transform: translate3d(0, var(--coach-portrait-y, 0), 0) scale(0.965);
    transform-origin: center bottom;
    transition: transform 900ms cubic-bezier(0.16, 0.78, 0.18, 1);
}

.coach-profile:hover .coach-profile__image img,
.coach-profile:focus-within .coach-profile__image img {
    transform: translate3d(0, var(--coach-portrait-y, 0), 0) scale(0.985);
}

.coach-profile__flip-cue {
    position: absolute;
    right: clamp(14px, 2vw, 24px);
    bottom: clamp(14px, 2vw, 24px);
    z-index: 2;
    padding: 11px 14px;
    color: #fffaf1;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 250, 241, 0.28);
    border-radius: 999px;
    background: rgba(9, 16, 22, 0.48);
    backdrop-filter: blur(14px);
    transition: opacity 260ms ease, transform 260ms ease;
}

.coach-profile__flip:hover .coach-profile__flip-cue,
.coach-profile__flip:focus-visible .coach-profile__flip-cue,
.coach-profile__flip.is-flipped .coach-profile__flip-cue {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
}

.coach-profile__content {
    display: grid;
    align-content: start;
    gap: 7px;
    min-height: 100%;
    padding: clamp(16px, 1.8vw, 24px);
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(157, 25, 36, 0.45) transparent;
}

.coach-grid .coach-profile:first-child {
    --coach-portrait-y: 3.6%;
    --coach-portrait-position: 50%;
}

.coach-grid .coach-profile:nth-child(2) {
    --coach-portrait-y: -3.4%;
    --coach-portrait-position: 38%;
}

.coach-profile .eyebrow {
    color: var(--red-deep);
}

.coach-profile h3 {
    margin-bottom: 2px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.86rem, 3.35vw, 3.62rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.9;
}

.coach-profile p {
    max-width: 50ch;
    font-size: clamp(0.9rem, 1.05vw, 1.04rem);
    line-height: 1.42;
}

.coach-profile__content > strong,
.coach-profile__front-label > strong {
    display: block;
    margin-bottom: 5px;
    color: var(--red-deep);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.coach-profile__content h3 {
    max-width: 13ch;
    font-size: clamp(1.42rem, 2.35vw, 2.35rem);
    line-height: 0.94;
}

.coach-profile__content p {
    font-size: 0.82rem;
    line-height: 1.36;
}

.bio-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 4px;
}

.coach-profile--dense .bio-columns {
    grid-template-columns: 1fr;
}

.bio-list {
    padding: 8px 9px;
    border: 1px solid rgba(9, 16, 22, 0.12);
    border-radius: 16px;
    background: rgba(255, 250, 241, 0.58);
}

.bio-list h4 {
    margin: 0 0 5px;
    color: var(--ink);
    font-size: 0.66rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bio-list ul {
    display: grid;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.bio-list li {
    position: relative;
    padding-left: 13px;
    color: rgba(9, 16, 22, 0.7);
    font-size: 0.68rem;
    line-height: 1.24;
}

.bio-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.64em;
    width: 6px;
    height: 6px;
    background: var(--red-deep);
    border-radius: 50%;
}

.reviews-section {
    position: relative;
    width: 100%;
    max-width: none;
    padding-inline: var(--gutter);
    overflow: hidden;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(9, 16, 22, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(9, 16, 22, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 10% 0%, rgba(206, 31, 46, 0.1), transparent 28rem),
        radial-gradient(circle at 92% 8%, rgba(22, 68, 124, 0.1), transparent 28rem),
        linear-gradient(180deg, #f6efe3 0%, #e8dfd0 100%);
    background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

.reviews-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 42%, rgba(157, 20, 33, 0.14) 42.1% 42.6%, transparent 42.7%),
        linear-gradient(115deg, transparent 0 58%, rgba(9, 16, 22, 0.08) 58.1% 58.45%, transparent 58.55%);
}

.reviews-shell {
    position: relative;
    z-index: 1;
    width: min(100%, var(--max));
    margin-inline: auto;
}

.reviews-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(290px, 0.54fr);
    gap: clamp(18px, 3vw, 44px);
    align-items: end;
}

.reviews-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0;
    color: var(--red-deep);
}

.reviews-heading h2,
.reviews-heading p {
    margin-bottom: 0;
}

.reviews-heading h2 {
    max-width: 14.2ch;
    color: var(--ink);
}

.reviews-heading p {
    max-width: 48ch;
    color: rgba(9, 16, 22, 0.64);
    font-size: clamp(1rem, 1.32vw, 1.2rem);
}

.reviews-board {
    display: grid;
    grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
    gap: clamp(18px, 2.8vw, 34px);
    align-items: start;
    margin-top: clamp(30px, 5vw, 62px);
}

.reviews-proof-card {
    position: sticky;
    top: clamp(96px, 9vw, 124px);
    display: grid;
    gap: clamp(16px, 2vw, 22px);
    min-height: 510px;
    padding: clamp(24px, 3vw, 36px);
    overflow: hidden;
    border: 1px solid rgba(245, 240, 231, 0.14);
    border-radius: var(--radius-lg);
    color: var(--bone);
    background:
        linear-gradient(90deg, rgba(245, 240, 231, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(245, 240, 231, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 12% 8%, rgba(206, 31, 46, 0.32), transparent 20rem),
        linear-gradient(145deg, #121b22, #070c11);
    background-size: 44px 44px, 44px 44px, auto, auto;
    box-shadow: 0 26px 70px rgba(9, 16, 22, 0.24);
}

.reviews-proof-card::before {
    content: "";
    position: absolute;
    right: -22%;
    bottom: 12%;
    width: 72%;
    height: 34px;
    border: 1px solid rgba(245, 240, 231, 0.18);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 55%),
        #f2eadc;
    transform: rotate(-22deg);
    opacity: 0.22;
}

.reviews-proof-card__label {
    width: fit-content;
    color: rgba(245, 240, 231, 0.68);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.reviews-proof-card strong {
    color: var(--bone);
    font-family: var(--font-display);
    font-size: clamp(6rem, 12vw, 9.5rem);
    font-weight: 500;
    letter-spacing: -0.08em;
    line-height: 0.78;
}

.reviews-proof-card p {
    max-width: 25ch;
    margin: 0;
    color: rgba(245, 240, 231, 0.72);
    font-size: 1rem;
}

.reviews-proof-card__stars {
    color: #c0a46d;
    font-size: clamp(1.12rem, 2vw, 1.55rem);
    letter-spacing: 0.12em;
}

.reviews-proof-card a {
    z-index: 1;
    width: fit-content;
    align-self: end;
    padding: 12px 16px;
    color: var(--bone);
    border: 1px solid rgba(245, 240, 231, 0.2);
    border-radius: 999px;
    background: rgba(245, 240, 231, 0.08);
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.reviews-proof-card a:hover,
.reviews-proof-card a:focus-visible {
    border-color: rgba(206, 31, 46, 0.66);
    background: rgba(206, 31, 46, 0.16);
    transform: translate3d(0, -2px, 0);
}

.review-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 22px);
}

.review-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: clamp(14px, 1.6vw, 20px);
    min-height: 285px;
    padding: clamp(20px, 2.4vw, 32px);
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(9, 16, 22, 0.12);
    border-radius: clamp(22px, 2.2vw, 30px);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.72), transparent 16rem),
        rgba(255, 250, 241, 0.82);
    box-shadow: 0 18px 52px rgba(9, 16, 22, 0.09);
    transition: border-color 200ms ease, background 200ms ease, transform 220ms cubic-bezier(0.16, 0.78, 0.18, 1);
}

.review-card[data-reveal] {
    --reveal-y: 44px;
    --reveal-scale: 0.96;
}

.review-card:nth-child(2n) {
    margin-top: clamp(24px, 3vw, 38px);
}

.review-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--red-deep), rgba(157, 20, 33, 0));
}

.review-card::after {
    content: "Google";
    position: absolute;
    right: 20px;
    bottom: 16px;
    color: rgba(9, 16, 22, 0.08);
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    font-weight: 950;
    letter-spacing: -0.08em;
    line-height: 1;
}

.review-card.is-visible:hover {
    border-color: rgba(157, 20, 33, 0.24);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.82), transparent 16rem),
        rgba(255, 250, 241, 0.96);
    transform: translate3d(0, -6px, 0);
}

.review-card figcaption {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.review-card figcaption > span {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--red-deep);
    border: 1px solid rgba(157, 20, 33, 0.22);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 950;
}

.review-card figcaption strong,
.review-card figcaption small,
.review-card blockquote,
.review-card p,
.review-card em {
    position: relative;
    z-index: 1;
}

.review-card figcaption strong {
    display: block;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.review-card figcaption small {
    display: block;
    margin-top: 2px;
    color: rgba(9, 16, 22, 0.48);
    font-size: 0.72rem;
    font-weight: 800;
}

.review-card blockquote {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.82rem, 3vw, 2.8rem);
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.review-card p {
    max-width: 34ch;
    margin: 0;
    color: rgba(9, 16, 22, 0.64);
    font-size: 0.92rem;
    line-height: 1.55;
}

.review-card em {
    width: fit-content;
    align-self: end;
    padding: 8px 11px;
    color: var(--red-deep);
    border: 1px solid rgba(157, 20, 33, 0.18);
    border-radius: 999px;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .reviews-heading,
    .reviews-board {
        grid-template-columns: 1fr;
    }

    .reviews-proof-card {
        position: relative;
        top: auto;
        min-height: auto;
    }
}

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

    .review-card:nth-child(2n) {
        margin-top: 0;
    }

    .reviews-proof-card strong {
        font-size: clamp(5rem, 28vw, 7rem);
    }
}

.reviews-section {
    padding-inline: 0;
}

.reviews-section .reviews-shell {
    width: min(100% - (var(--gutter) * 2), var(--max));
}

.reviews-section {
    padding-block: clamp(34px, 4vw, 62px);
}

.reviews-section .reviews-heading {
    grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.48fr);
    gap: clamp(14px, 2.2vw, 30px);
}

.reviews-section .reviews-heading h2 {
    max-width: 12.8ch;
}

.reviews-section .reviews-heading p {
    max-width: 45ch;
}

.review-phrase-stage {
    display: grid;
    gap: clamp(10px, 1.4vw, 16px);
    margin-top: clamp(20px, 2.7vw, 34px);
    padding-block: clamp(14px, 1.8vw, 22px);
    overflow: hidden;
    border-block: 1px solid rgba(9, 16, 22, 0.1);
}

.review-phrase-stage__label {
    color: var(--red-deep);
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.review-phrase-list {
    position: relative;
    min-height: clamp(52px, 6.3vw, 83px);
}

.review-phrase-list span {
    position: absolute;
    inset: 0 auto auto 0;
    max-width: min(100%, 34ch);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.9vw, 3.95rem);
    font-weight: 500;
    letter-spacing: -0.07em;
    line-height: 0.94;
    white-space: nowrap;
    opacity: 0;
    filter: blur(24px);
    transform: translate3d(0, 26px, 0) scale(0.96);
    animation: reviewPhraseCycle 24s cubic-bezier(0.16, 0.78, 0.18, 1) infinite both;
    animation-delay: calc(var(--phrase-index) * 4s);
    will-change: opacity, filter, transform;
}

.google-review-marquee {
    --review-gap: clamp(16px, 2vw, 28px);
    position: relative;
    z-index: 1;
    width: min(100%, calc(var(--max) + 18vw));
    margin: clamp(18px, 2.6vw, 34px) auto 0;
    overflow: hidden;
    outline: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.google-review-track {
    display: flex;
    gap: var(--review-gap);
    width: max-content;
    animation: googleReviewDrift 92s linear infinite;
    will-change: transform;
}

.google-review-set {
    display: flex;
    align-items: stretch;
    gap: var(--review-gap);
}

.google-review-card {
    position: relative;
    flex: 0 0 clamp(300px, 27vw, 390px);
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: clamp(12px, 1.2vw, 17px);
    min-height: 0;
    height: clamp(250px, 21vw, 312px);
    padding: clamp(17px, 1.7vw, 24px);
    overflow: hidden;
    border: 1px solid rgba(9, 16, 22, 0.12);
    border-radius: clamp(22px, 2.1vw, 32px);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.86), transparent 17rem),
        rgba(255, 250, 241, 0.9);
    box-shadow: 0 20px 58px rgba(9, 16, 22, 0.1);
}

.google-review-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--red), rgba(206, 31, 46, 0));
}

.google-review-card::after {
    content: "Google";
    position: absolute;
    right: 22px;
    bottom: 14px;
    color: rgba(9, 16, 22, 0.065);
    font-size: clamp(2.6rem, 5vw, 4.9rem);
    font-weight: 950;
    letter-spacing: -0.09em;
    line-height: 1;
    pointer-events: none;
}

.google-review-card:nth-child(2n) {
    margin-top: clamp(8px, 1.2vw, 16px);
}

.google-review-card__header {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 13px;
    align-items: center;
}

.google-review-avatar {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    overflow: hidden;
    color: var(--bone);
    border: 1px solid rgba(9, 16, 22, 0.1);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.22), transparent 32%),
        var(--ink);
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0.04em;
}

.google-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.google-review-card__person {
    min-width: 0;
}

.google-review-card__person strong {
    display: block;
    overflow: hidden;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 950;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.google-review-card__person small {
    display: block;
    margin-top: 3px;
    color: rgba(9, 16, 22, 0.48);
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.35;
}

.google-review-card__badge {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    width: fit-content;
    color: #c49b46;
    font-size: 1rem;
    letter-spacing: 0.1em;
    line-height: 1;
}

.google-review-card blockquote {
    position: relative;
    z-index: 1;
    margin: 0;
}

.google-review-card blockquote p {
    margin: 0;
    color: rgba(9, 16, 22, 0.72);
    font-size: clamp(0.9rem, 0.92vw, 0.98rem);
    line-height: 1.5;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}

.google-review-card footer {
    position: relative;
    z-index: 1;
    width: fit-content;
    align-self: start;
    padding: 8px 11px;
    color: var(--red-deep);
    border: 1px solid rgba(157, 20, 33, 0.16);
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@keyframes reviewPhraseCycle {
    0%,
    100% {
        opacity: 0;
        filter: blur(24px);
        transform: translate3d(0, 26px, 0) scale(0.96);
    }

    6%,
    18% {
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0, 0, 0) scale(1);
    }

    25% {
        opacity: 0;
        filter: blur(18px);
        transform: translate3d(0, -18px, 0) scale(1.015);
    }
}

@keyframes googleReviewDrift {
    to {
        transform: translate3d(calc(-50% - (var(--review-gap) / 2)), 0, 0);
    }
}

@media (max-width: 1100px) {
    .reviews-section .reviews-heading {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .review-phrase-list {
        min-height: clamp(58px, 17vw, 82px);
    }

    .review-phrase-list span {
        max-width: min(100%, 24ch);
        font-size: clamp(1.38rem, 7.2vw, 2.2rem);
        line-height: 0.98;
        white-space: normal;
    }

    .google-review-marquee {
        width: 100%;
        padding-inline: var(--gutter);
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-inline: var(--gutter);
        scroll-snap-type: x mandatory;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .google-review-track {
        animation: none;
    }

    .google-review-set[aria-hidden="true"] {
        display: none;
    }

    .google-review-card {
        flex-basis: min(84vw, 340px);
        height: auto;
        min-height: 252px;
        scroll-snap-align: center;
    }

    .google-review-card:nth-child(2n) {
        margin-top: 0;
    }
}

.standard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: clamp(26px, 4vw, 48px);
    counter-reset: visit-card;
}

.standard-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 190px;
    padding: clamp(18px, 2vw, 28px);
}

.standards-section {
    width: 100%;
    max-width: none;
    color: var(--ink);
    background:
        radial-gradient(circle at 92% 4%, rgba(206, 31, 46, 0.08), transparent 24rem),
        linear-gradient(180deg, #fffaf1 0%, #f7efe2 100%);
}

.standards-section > .section-heading,
.standards-section > .standard-grid {
    width: min(100%, var(--max));
    margin-inline: auto;
}

.standards-section > .section-heading {
    max-width: var(--max);
    text-align: left;
}

.standards-section .eyebrow {
    color: var(--red-deep);
}

.standards-section h2 {
    max-width: 15.5ch;
    color: var(--ink);
}

.standards-section .standard-card {
    overflow: hidden;
    border-color: rgba(9, 16, 22, 0.12);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 241, 0.78));
    box-shadow: 0 18px 52px rgba(9, 16, 22, 0.08);
}

.standards-section .standard-card::before {
    counter-increment: visit-card;
    content: "0" counter(visit-card);
    width: fit-content;
    color: rgba(206, 31, 46, 0.9);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.18em;
}

.standards-section .standard-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--red), rgba(206, 31, 46, 0));
}

.standards-section .standard-card h3 {
    color: var(--ink);
}

.standards-section .standard-card p {
    color: rgba(9, 16, 22, 0.68);
}

@media (hover: hover) and (pointer: fine) {
    .hero-section {
        --pointer-x: 50%;
        --pointer-y: 50%;
    }

    .hero-section::after {
        background:
            radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(206, 31, 46, 0.22), transparent 16rem),
            linear-gradient(rgba(245, 240, 231, 0.08) 1px, transparent 1px),
            linear-gradient(90deg, rgba(245, 240, 231, 0.08) 1px, transparent 1px);
        background-size: auto, 80px 80px, 80px 80px;
    }
}

@media (max-width: 1100px) {
    .program-grid,
    .schedule-grid,
    .program-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .value-grid,
    .standard-grid {
        grid-template-columns: 1fr;
    }

    .program-detail-card {
        grid-template-columns: 1fr;
    }

    .program-detail-card > picture img {
        min-height: 240px;
    }

    .coach-profile--dense .bio-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .admin-bar .site-header {
        top: 46px;
    }

    .site-header {
        align-items: center;
        min-height: 76px;
    }

    .brand-mark,
    .nav-toggle,
    .language-switcher {
        position: relative;
        z-index: 3;
    }

    .brand-mark {
        max-width: 68px;
    }

    .brand-mark span {
        display: none;
    }

    .brand-mark small {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
        margin-left: auto;
        background: rgba(9, 16, 22, 0.78);
        backdrop-filter: blur(14px);
    }

    .language-switcher {
        flex: 0 0 auto;
    }

    .primary-nav {
        position: fixed;
        inset: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        justify-items: start;
        gap: clamp(10px, 2.4vh, 18px);
        width: 100vw;
        min-height: var(--sjaa-vh);
        padding: max(104px, calc(env(safe-area-inset-top) + 92px)) var(--gutter) max(32px, calc(env(safe-area-inset-bottom) + 28px));
        border: 0;
        border-radius: 0;
        background:
            radial-gradient(circle at 86% 8%, rgba(206, 31, 46, 0.2), transparent 18rem),
            linear-gradient(180deg, rgba(9, 16, 22, 0.98), rgba(9, 16, 22, 0.94));
        box-shadow: inset 0 -1px 0 rgba(245, 240, 231, 0.08);
        backdrop-filter: blur(22px);
        opacity: 0;
        pointer-events: none;
        transform: translate3d(0, -12px, 0);
        transition: opacity 260ms ease, transform 260ms ease;
    }

    .primary-nav::before {
        content: "MENU";
        display: block;
        width: fit-content;
        margin-bottom: clamp(8px, 2vh, 16px);
        color: rgba(245, 240, 231, 0.5);
        font-size: 0.66rem;
        font-weight: 950;
        letter-spacing: 0.32em;
    }

    .primary-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
    }

    .primary-nav a {
        width: min(100%, 440px);
        min-height: 44px;
        padding: 0;
        color: rgba(245, 240, 231, 0.78);
        font-family: var(--font-body);
        font-size: clamp(1.02rem, 4.8vw, 1.44rem);
        font-weight: 950;
        letter-spacing: 0.13em;
        line-height: 1.1;
        text-transform: uppercase;
    }

    .scroll-spine {
        display: none;
    }

    .primary-nav .nav-cta {
        width: fit-content;
        min-width: min(86vw, 300px);
        min-height: 56px;
        justify-content: center;
        margin-top: clamp(8px, 2vh, 16px);
        padding: 0 24px;
        font-family: var(--font-body);
        font-size: 0.9rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .hero-motion-toggle {
        display: none;
    }

    .hero-grid,
    .prestige-layout,
    .content-layout,
    .content-layout--reverse,
    .split-heading,
    .image-story,
    .coach-card,
    .coach-profile,
    .contact-panel,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        align-items: start;
    }

    .coach-card {
        padding-inline: 0;
    }

    .testimonial-grid,
    .philosophy-grid,
    .media-grid,
    .coach-grid,
    .bio-columns {
        grid-template-columns: 1fr;
    }

    .philosophy-section > .section-heading,
    .coaches-section > .section-heading {
        grid-template-columns: 1fr;
    }

    .coach-profile {
        padding: 14px;
    }

    .coach-profile__flip {
        min-height: clamp(520px, 118vw, 720px);
    }

    .coach-profile h3 {
        max-width: 9.5ch;
        font-size: clamp(1.84rem, 8.8vw, 3.15rem);
    }

    .coach-profile p {
        font-size: 0.92rem;
    }

    .coach-profile__content {
        overflow: auto;
    }
}

@media (max-width: 640px) {
    :root {
        --gutter: 16px;
    }

    .site-header {
        padding-block: 10px;
    }

    .brand-mark strong {
        letter-spacing: 0.24em;
    }

    .hero-section {
        min-height: 100svh;
        padding-top: 104px;
        padding-bottom: 30px;
    }

    .hero-section::before {
        background:
            linear-gradient(180deg, rgba(9, 16, 22, 0.58) 0%, rgba(9, 16, 22, 0.88) 46%, rgba(9, 16, 22, 0.98) 100%);
    }

    .hero-grid::before,
    .hero-statement-frame::before {
        display: none;
    }

    .hero-media img {
        object-position: 54% center;
    }

    .hero-copy::before {
        display: none;
    }

    .hero-statement-frame {
        gap: 8px;
        margin-bottom: 18px;
    }

    .hero-copy h1.hero-statement {
        max-width: 100%;
        min-height: clamp(3.15rem, 14vw, 4.5rem);
        font-size: clamp(1.86rem, 8.35vw, 2.2rem);
        letter-spacing: -0.062em;
        line-height: 0.94;
    }

    .hero-statement__item {
        width: 100%;
        max-width: 100%;
        white-space: nowrap;
    }

    .hero-statement__item--medium,
    .hero-statement__item--wide {
        font-size: inherit;
        letter-spacing: inherit;
    }

    .hero-motion-toggle {
        min-height: 32px;
    }

    .coach-profile {
        border-radius: 26px;
    }

    .coach-profile__flip {
        min-height: clamp(450px, 122vw, 560px);
    }

    .coach-profile__flip.is-flipped {
        min-height: clamp(700px, 185vw, 760px);
    }

    .coach-profile--dense .coach-profile__flip.is-flipped {
        min-height: clamp(880px, 240vw, 980px);
    }

    .coach-profile__content {
        padding: 16px;
    }

    .coach-profile__content h3 {
        font-size: clamp(1.36rem, 6.8vw, 1.96rem);
    }

    .coach-profile__content p,
    .bio-list li {
        font-size: 0.76rem;
    }

    .coach-profile--dense .bio-columns {
        grid-template-columns: 1fr;
    }

    h1,
    h2 {
        max-width: 13.5ch;
    }

    .hero-actions,
    .contact-actions,
    .footer-bottom {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .program-grid,
    .schedule-grid,
    .principle-strip,
    .program-detail-grid {
        grid-template-columns: 1fr;
    }

    .value-card,
    .program-card {
        min-height: auto;
    }

    .value-card span,
    .program-card span {
        margin-bottom: 8px;
    }

    .proof-list li {
        border-radius: 18px;
    }

    .contact-panel {
        padding: 20px;
        border-radius: 24px;
    }

    .program-detail-card__body,
    .coach-profile__content {
        padding: 18px;
    }

    .inline-video-link {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .video-card__label {
        font-size: 0.86rem;
    }

    .philosophy-card {
        min-height: auto;
    }

    .philosophy-card > span {
        margin-bottom: 24px;
    }

    .principle-strip article {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        filter: none;
        clip-path: none;
        transform: none;
    }

    .sjaa-intro,
    .scroll-spine {
        display: none;
    }

    .is-split .word {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .intro-band__track,
    .google-review-track,
    .review-phrase-list span,
    .hero-media img,
    [data-scroll-scene] .prestige-media img,
    [data-scroll-scene] .video-card img,
    [data-scroll-scene] .program-detail-card > picture img,
    [data-scroll-scene] .coach-profile__image img,
    [data-scroll-scene] .story-image img {
        transform: none !important;
        will-change: auto;
    }

    .review-phrase-list {
        min-height: auto;
    }

    .review-phrase-list span {
        position: relative;
        display: inline-block;
        margin: 0 0.42em 0.2em 0;
        opacity: 1;
        filter: none;
        animation: none !important;
    }

    .hero-statement__item {
        position: relative;
        visibility: hidden;
        opacity: 0;
        filter: none !important;
        transform: none !important;
        animation: none !important;
    }

    .hero-statement__item.is-active {
        visibility: visible;
        opacity: 1;
    }

    .hero-motion-toggle {
        display: none;
    }

    .google-review-track {
        width: auto;
        animation: none !important;
    }

    .coach-profile__flip {
        min-height: auto;
        cursor: default;
    }

    .coach-profile__flip-inner,
    .coach-profile__flip:hover .coach-profile__flip-inner,
    .coach-profile__flip:focus-visible .coach-profile__flip-inner,
    .coach-profile__flip.is-flipped .coach-profile__flip-inner {
        display: grid;
        gap: 12px;
        transform: none !important;
    }

    .coach-profile__face {
        position: relative;
        inset: auto;
        min-height: 360px;
        backface-visibility: visible;
    }

    .coach-profile__face--back {
        transform: none;
    }
}
