:root {
    /* Wadoka design tokens: single source for public, auth, student, instructor and admin screens */
    --wadoka-brand-red: #e33126;
    --wadoka-brand-red-dark: #b91c1c;
    --wadoka-ink: #101827;
    --wadoka-navy: #1a2a3c;
    --wadoka-muted: #526070;
    --wadoka-muted-strong: #334155;
    --wadoka-bg: #ffffff;
    --wadoka-bg-soft: #f7f9fc;
    --wadoka-bg-muted: #eef3f8;
    --wadoka-surface: #ffffff;
    --wadoka-surface-subtle: #fbfdff;
    --wadoka-border: #d7e1ef;
    --wadoka-border-strong: #c4cfdd;
    --wadoka-success: #2fb344;
    --wadoka-success-soft: #eaf8ee;
    --wadoka-warning: #f59f00;
    --wadoka-warning-soft: #fff6df;
    --wadoka-danger: #d63939;
    --wadoka-danger-soft: #fff1f1;
    --wadoka-space-1: 0.25rem;
    --wadoka-space-2: 0.5rem;
    --wadoka-space-3: 0.75rem;
    --wadoka-space-4: 1rem;
    --wadoka-space-5: 1.5rem;
    --wadoka-space-6: 2rem;
    --wadoka-space-7: 3rem;
    --wadoka-radius-sm: 2px;
    --wadoka-radius: 4px;
    --wadoka-radius-lg: 6px;
    --wadoka-radius-pill: 4px;
    --wadoka-radius-badge: 999px;
    --wadoka-cut-corner: polygon(0.65rem 0, 100% 0, 100% calc(100% - 0.65rem), calc(100% - 0.65rem) 100%, 0 100%, 0 0.65rem);
    --wadoka-shadow-sm: 0 6px 16px rgba(16, 24, 39, 0.06);
    --wadoka-shadow: 0 14px 30px rgba(16, 24, 39, 0.09);
    --wadoka-shadow-lg: 0 22px 46px rgba(16, 24, 39, 0.13);
    --wadoka-content-sm: 760px;
    --wadoka-content: 1200px;
    --wadoka-content-wide: 1320px;
    --wadoka-focus-ring-color: rgba(227, 49, 38, 0.28);
    --wadoka-focus-ring: 0 0 0 0.22rem var(--wadoka-focus-ring-color);

    /* Bootstrap semantic alignment */
    --bs-primary: var(--wadoka-brand-red);
    --bs-primary-rgb: 227, 49, 38;
    --bs-secondary-color: var(--wadoka-muted);
    --bs-body-color: var(--wadoka-ink);
    --bs-body-bg: var(--wadoka-bg-soft);
    --bs-border-color: var(--wadoka-border);
    --bs-border-radius: var(--wadoka-radius);
    --bs-border-radius-sm: var(--wadoka-radius-sm);
    --bs-border-radius-lg: var(--wadoka-radius-lg);
    --bs-border-radius-pill: var(--wadoka-radius-badge);
    --bs-link-color: var(--wadoka-brand-red);
    --bs-link-hover-color: var(--wadoka-brand-red-dark);
    --bs-focus-ring-color: var(--wadoka-focus-ring-color);

    /* Existing academy aliases */
    --academy-bg: var(--wadoka-bg);
    --academy-bg-alt: var(--wadoka-bg-soft);
    --academy-surface: var(--wadoka-surface);
    --academy-surface-soft: var(--wadoka-bg-muted);
    --academy-accent: var(--wadoka-brand-red);
    --academy-accent-dark: var(--wadoka-brand-red-dark);
    --academy-accent-complement: var(--wadoka-navy);
    --academy-text: var(--wadoka-ink);
    --academy-text-muted: var(--wadoka-muted);
    --academy-border: var(--wadoka-border);
    --academy-divider: #e5ebf3;
    --academy-shadow: var(--wadoka-shadow);
    --academy-radius: var(--wadoka-radius-lg);

    /* Legacy wd-* aliases used throughout templates */
    --wd-white: var(--wadoka-surface);
    --wd-black: var(--wadoka-ink);
    --wd-black-soft: var(--wadoka-navy);
    --wd-text: var(--wadoka-ink);
    --wd-text-muted: var(--wadoka-muted);
    --wd-border: var(--wadoka-border);
    --wd-grey-50: var(--wadoka-bg-soft);
    --wd-grey-100: var(--wadoka-bg-muted);
    --wd-grey-500: #64748b;
    --wd-red: var(--wadoka-brand-red);
    --wd-red-dark: var(--wadoka-brand-red-dark);
    --wd-container: var(--wadoka-content);
    --wd-section-y: 4.5rem;
    --wd-radius: var(--wadoka-radius-lg);
    --wd-shadow: var(--wadoka-shadow);
    --wd-btn-radius: var(--wadoka-radius-sm);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--wd-grey-50);
    color: var(--wd-text);
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--wd-text);
    font-weight: 750;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

h1 { font-size: clamp(2rem, 3.2vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 2.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.55rem); }

p,
li {
    color: var(--wd-text-muted);
    max-width: 72ch;
}

section[id] {
    scroll-margin-top: 92px;
}

.container {
    max-width: var(--wd-container);
}

.site-main {
    min-height: 60vh;
}


/* Wadoka reusable component layer */
.wadoka-container,
.container-xl {
    max-width: var(--wadoka-content-wide);
}

.wadoka-content-narrow {
    max-width: var(--wadoka-content-sm);
}

.wadoka-page-heading,
.page-header {
    margin-bottom: var(--wadoka-space-5);
}

.wadoka-page-heading .eyebrow,
.page-header .eyebrow {
    margin-bottom: var(--wadoka-space-2);
}

.wadoka-page-title,
.page-title {
    color: var(--wadoka-ink);
    font-weight: 820;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.wadoka-section-heading,
.section-heading,
.wd-section-heading {
    color: var(--wadoka-ink);
}

.wadoka-section-heading p,
.section-heading p,
.wd-section-heading p {
    color: var(--wadoka-muted);
}

.wadoka-card,
.wadoka-panel,
.wadoka-angular-panel,
.panel-card,
.card {
    background: var(--wadoka-surface);
    border-color: var(--wadoka-border);
    border-radius: var(--wadoka-radius-lg);
    box-shadow: var(--wadoka-shadow-sm);
}

.wadoka-card-soft,
.stat-card {
    background: linear-gradient(145deg, var(--wadoka-surface-subtle) 0%, var(--wadoka-bg-soft) 100%);
    border-color: var(--wadoka-border);
}

.wadoka-empty-state,
.empty-state {
    border: 1px dashed var(--wadoka-border-strong);
    border-radius: var(--wadoka-radius-lg);
    background: var(--wadoka-surface-subtle);
    padding: clamp(1.25rem, 3vw, 2rem);
    color: var(--wadoka-muted);
    text-align: center;
}

.wadoka-status-badge,
.status-badge,
.badge {
    border-radius: var(--wadoka-radius-pill);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.wadoka-status-badge.is-success,
.status-badge.is-success,
.badge.text-bg-success {
    background: var(--wadoka-success-soft) !important;
    color: #166534 !important;
    border: 1px solid rgba(47, 179, 68, 0.28);
}

.wadoka-status-badge.is-warning,
.status-badge.is-warning,
.badge.text-bg-warning {
    background: var(--wadoka-warning-soft) !important;
    color: #8a5200 !important;
    border: 1px solid rgba(245, 159, 0, 0.3);
}

.wadoka-status-badge.is-danger,
.status-badge.is-danger,
.badge.text-bg-danger {
    background: var(--wadoka-danger-soft) !important;
    color: #9f1f1f !important;
    border: 1px solid rgba(214, 57, 57, 0.3);
}

.progress,
.wadoka-progress {
    height: 0.72rem;
    background: var(--wadoka-bg-muted);
    border-radius: var(--wadoka-radius-pill);
    box-shadow: inset 0 0 0 1px rgba(16, 24, 39, 0.04);
}

.progress-bar,
.wadoka-progress-bar {
    background: linear-gradient(90deg, var(--wadoka-brand-red), var(--wadoka-brand-red-dark));
    border-radius: var(--wadoka-radius-pill);
}

.wadoka-form .form-control,
.wadoka-form .form-select,
.form-control,
.form-select {
    border-color: var(--wadoka-border-strong);
    border-radius: var(--wadoka-radius);
    color: var(--wadoka-ink);
    min-height: 44px;
}

.wadoka-form .form-control:focus,
.wadoka-form .form-select:focus,
.form-control:focus,
.form-select:focus {
    border-color: rgba(227, 49, 38, 0.58);
    box-shadow: var(--wadoka-focus-ring);
}

.form-label,
.control-label {
    color: var(--wadoka-ink);
    font-weight: 700;
}

.wadoka-nav-link,
.nav-link {
    border-radius: var(--wadoka-radius-sm);
}

.wadoka-nav-link:focus-visible,
.nav-link:focus-visible,
.list-group-item:focus-visible {
    outline: 3px solid var(--wadoka-focus-ring-color);
    outline-offset: 2px;
}

.wadoka-media-thumb,
.media-thumbnail,
.wd-media-thumb {
    border: 1px solid var(--wadoka-border);
    border-radius: var(--wadoka-radius);
    background: var(--wadoka-ink);
    box-shadow: var(--wadoka-shadow-sm);
}

.wadoka-responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: var(--wadoka-space-5);
}

.auth-layout,
.portal-layout,
.admin-layout {
    background: linear-gradient(180deg, var(--wadoka-bg-soft) 0%, var(--wadoka-bg) 34%);
    color: var(--wadoka-ink);
    min-height: 100vh;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-header {
    border-bottom: 1px solid var(--wadoka-border);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.auth-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--wadoka-space-2);
    font-size: 0.92rem;
}

.auth-nav a {
    color: var(--wadoka-muted);
    font-weight: 650;
    padding: 0.45rem 0.7rem;
    text-decoration: none;
    border-radius: var(--wadoka-radius-sm);
}

.auth-nav a:hover,
.auth-nav a:focus {
    color: var(--wadoka-brand-red-dark);
    background: rgba(227, 49, 38, 0.08);
}

.auth-main {
    flex: 1;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.auth-card {
    border: 1px solid var(--wadoka-border);
    background: var(--wadoka-surface);
    border-radius: var(--wadoka-radius-lg);
    box-shadow: var(--wadoka-shadow-lg);
    padding: clamp(1.5rem, 4vw, 2rem);
}

.auth-form {
    display: grid;
    gap: var(--wadoka-space-5);
    margin-top: var(--wadoka-space-6);
}

.auth-form .form-group {
    margin-bottom: 0;
}

.auth-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--wadoka-space-3);
}

.auth-dev-note {
    background: var(--wadoka-warning-soft);
    border: 1px solid rgba(245, 159, 0, 0.28);
    border-radius: var(--wadoka-radius);
    color: #8a5200;
    font-size: 0.82rem;
    padding: 0.75rem 0.9rem;
}


/* Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    overflow: visible;
}

.academy-navbar {
    position: relative;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--academy-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 0;
    transition: box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    overflow: visible;
}

.academy-navbar::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -1px;
    height: 3px;
    background:
        linear-gradient(135deg, transparent 0 42%, rgba(227, 49, 38, 0.9) 42% 58%, transparent 58% 100%) 0 0 / 42px 3px repeat-x,
        linear-gradient(90deg, rgba(227, 49, 38, 0.72), rgba(26, 42, 60, 0.35));
    pointer-events: none;
}

.site-header.is-scrolled .academy-navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(227, 49, 38, 0.18);
}

.academy-navbar-shell {
    min-height: 74px;
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(0, auto) minmax(max-content, 1fr);
    align-items: center;
    column-gap: clamp(0.85rem, 2vw, 1.65rem);
    overflow: visible;
}

.academy-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.12rem, 0.7vw, 0.45rem);
}

.brand-mark {
    color: var(--academy-text);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.academy-navbar-shell > .brand-mark {
    justify-self: start;
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-mark:hover,
.brand-mark:focus {
    color: var(--academy-accent-dark);
}

.brand-mark-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    flex: 0 0 auto;
}

.brand-mark-footer {
    width: fit-content;
    margin-bottom: 0.5rem;
}

.brand-subtitle {
    color: var(--academy-text-muted);
    font-size: 0.67rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 1199.98px) {
    .brand-mark {
        font-size: 0.9rem;
        letter-spacing: 0.01em;
    }
}


@media (min-width: 992px) and (max-width: 1099.98px) {
    .academy-navbar-shell {
        grid-template-columns: minmax(48px, 0.7fr) minmax(0, auto) minmax(max-content, 1fr);
        column-gap: 0.65rem;
    }

    .academy-navbar-shell > .brand-mark span {
        display: none;
    }

    .academy-nav-list {
        gap: 0.08rem;
    }

    .academy-navbar .nav-link {
        font-size: 0.88rem;
        padding-inline: 0.52rem;
    }

    .academy-header-actions {
        gap: 0.35rem;
    }

    .academy-header-actions .btn {
        padding-inline: 0.58rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 991.98px) {
    .brand-mark {
        font-size: 0.9rem;
    }

    .brand-mark-logo {
        width: 38px;
        height: 38px;
    }
}

.academy-navbar .nav-link {
    color: #334155;
    font-weight: 650;
    font-size: 0.92rem;
    letter-spacing: 0;
    padding: 0.55rem 0.82rem;
    border-radius: 0;
    border: 1px solid transparent;
    clip-path: polygon(0.55rem 0, 100% 0, calc(100% - 0.55rem) 100%, 0 100%);
    line-height: 1.25;
    min-height: 40px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, text-decoration-color 0.2s ease;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    text-decoration: none;
    white-space: nowrap;
}

.academy-navbar .nav-link.nav-link-utility {
    font-size: 0.88rem;
    font-weight: 650;
    color: var(--academy-text-muted);
    letter-spacing: 0;
}

.academy-navbar .nav-link:hover,
.academy-navbar .nav-link:focus {
    color: var(--academy-accent-dark);
    background: rgba(227, 49, 38, 0.07);
    border-color: rgba(227, 49, 38, 0.16);
    text-decoration: none;
}

.academy-navbar .nav-link.active {
    color: var(--academy-accent-dark);
    background: linear-gradient(135deg, rgba(227, 49, 38, 0.14), rgba(227, 49, 38, 0.06));
    border-color: rgba(227, 49, 38, 0.22);
    box-shadow: inset 0 -2px 0 var(--academy-accent);
}

.academy-navbar .nav-link.active:hover,
.academy-navbar .nav-link.active:focus {
    color: var(--academy-accent-dark);
    background: rgba(227, 49, 38, 0.12);
    border-color: rgba(227, 49, 38, 0.26);
}

.academy-navbar .nav-link:focus-visible {
    outline: 2px solid rgba(227, 49, 38, 0.35);
    outline-offset: 3px;
}

.navbar-toggler {
    border: 1px solid var(--wd-grey-500);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(227, 49, 38, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 42, 60, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.academy-nav-dropdown {
    position: relative;
}

.academy-dropdown {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 50%;
    min-width: 12.5rem;
    border-radius: 0.85rem;
    border: 1px solid var(--academy-border);
    background: #fff;
    box-shadow: 0 18px 34px rgba(16, 37, 63, 0.14);
    padding: 0.45rem;
    display: none;
    z-index: 20;
    transform: translateX(-50%);
}

.academy-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.5rem;
    height: 0.5rem;
}

.academy-dropdown .dropdown-item {
    border-radius: 0.65rem;
    color: var(--academy-text);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.62rem 0.75rem;
    display: flex;
    align-items: center;
    min-height: 42px;
    text-decoration: none;
}

.academy-dropdown .dropdown-item:hover,
.academy-dropdown .dropdown-item:focus {
    color: var(--academy-accent-dark);
    background: rgba(227, 49, 38, 0.08);
}

.academy-dropdown .dropdown-item.active {
    color: var(--academy-accent-dark);
    background: rgba(227, 49, 38, 0.1);
}

.academy-dropdown .dropdown-item:focus-visible {
    outline: 2px solid rgba(227, 49, 38, 0.35);
    outline-offset: 2px;
}

.academy-nav-dropdown.is-open .academy-dropdown {
    display: block;
}

.academy-nav-toggle {
    appearance: none;
    cursor: pointer;
}

.academy-dropdown-caret {
    font-size: 0.95em;
    line-height: 1;
    transform: translateY(-0.05rem);
}

.academy-desktop-nav {
    justify-self: center;
    min-width: 0;
}

.academy-header-actions {
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 0.5rem;
    min-width: 0;
    flex-wrap: nowrap;
}

.academy-search {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.academy-search-input {
    border: 1px solid var(--academy-border);
    border-radius: 4px;
    min-height: 44px;
    padding: 0.45rem 0.65rem;
    width: min(220px, 28vw);
}

.academy-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(15, 23, 42, 0.45);
    padding: 0;
    opacity: 0;
    transition: opacity 220ms ease;
}

.academy-mobile-overlay-inner {
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    width: min(420px, 92vw);
    height: 100%;
    margin-left: auto;
    padding: 1rem 1rem 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 260ms ease;
    border-left: 1px solid #e2e8f0;
    box-shadow: -18px 0 35px rgba(15, 23, 42, 0.24);
}

.academy-mobile-overlay.is-open {
    opacity: 1;
}

.academy-mobile-overlay.is-open .academy-mobile-overlay-inner {
    transform: translateX(0);
}

.academy-mobile-nav .nav-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    padding: 0.78rem 0.85rem;
    margin-bottom: 0.2rem;
}


.academy-mobile-nav .nav-link.active {
    color: var(--academy-accent-dark);
    background: rgba(227, 49, 38, 0.08);
    border-color: rgba(227, 49, 38, 0.2);
    box-shadow: inset 3px 0 0 var(--academy-accent);
}

.academy-mobile-nav .nav-link:hover,
.academy-mobile-nav .nav-link:focus {
    color: var(--academy-accent-dark);
    background: rgba(227, 49, 38, 0.07);
    border-color: rgba(227, 49, 38, 0.16);
}

.academy-mobile-section-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0.4rem 0 0.45rem;
    padding-inline: 0.2rem;
}

.academy-mobile-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.85rem 0;
}

.body-lock {
    overflow: hidden;
}

.about-mission-strip {
    background: #eef2f6;
    border: 1px solid #dbe3ed;
    border-radius: 4px;
}

.about-page {
    background: linear-gradient(180deg, #f4f6f8 0%, #f8fafc 55%, #ffffff 100%);
}

.about-page .wd-section + .wd-section {
    margin-top: 0;
}

.about-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #d9e1ea;
    background: rgba(255, 255, 255, 0.86);
    font-size: 0.8rem;
}

.about-breadcrumb a {
    text-decoration: none;
    color: #334155;
}

.about-breadcrumb .is-current {
    color: #0f172a;
    font-weight: 600;
}

.wd-hero-image-shell {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.wd-hero-image-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.52));
}

.wd-hero-image-shell .container {
    position: relative;
    z-index: 1;
}

.wd-hero-how-it-works {
    background-image: url('/images/Sensei_with_students (6).jpg');
}

.wd-hero-about {
    background-image: url('/images/Sensei_with_students (5).jpg');
}

.wd-hero-overlay-card {
    max-width: 58rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(15, 23, 42, 0.45);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.32);
    backdrop-filter: blur(2px);
}

.wd-hero-image-shell h1,
.wd-hero-image-shell .lead,
.wd-hero-image-shell .eyebrow,
.wd-hero-image-shell p {
    color: #fff !important;
}

.wd-how-main-heading {
    font-size: clamp(1.9rem, 4.2vw, 3.1rem);
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.about-method-card {
    border: 1px solid #e5e5e5;
    background: linear-gradient(160deg, #ffffff 0%, #f8fafd 100%);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.about-method-lead {
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    line-height: 1.7;
    color: #0f172a;
    font-weight: 700;
}

.about-method-pillars {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.about-method-pillars-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    color: #1f2937;
}

.about-method-pillars-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: #e33126;
    box-shadow: 0 0 0 4px rgba(227, 49, 38, 0.12);
    flex-shrink: 0;
}


.about-trust-card {
    border: 1px solid #e1e8f0;
    background: #fff;
}

.about-principle-grid {
    display: grid;
    gap: 0.85rem;
}

.about-principle-card {
    border: 1px solid #dbe4ef;
    border-radius: 0.85rem;
    background: #fff;
    padding: 0.9rem 1rem;
}

.about-principle-card h3 {
    color: #0f172a;
}
.about-method-figure {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 0.5rem;
    background: #fff;
}

.about-founder-content {
    border-radius: 1rem;
    background: #fafafa;
    border: 1px solid #e4e8ef;
}

.about-founder-photo {
    border-radius: 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border: 1px solid #dbe3ed;
    overflow: hidden;
}

.about-founder-image {
    width: 100%;
    height: 100%;
    max-height: 700px;
    object-fit: cover;
    object-position: center 20%;
}

.about-credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.about-credential-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 0.85rem;
    border: 1px solid #e0e7ef;
    background: #fff;
    padding: 0.7rem 0.8rem;
}

.about-credential-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.about-credential-label {
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    font-size: 0.92rem;
}

.about-method-copy,
.about-body-copy {
    max-width: 72ch;
    line-height: 1.85;
    color: #334155;
}

.about-mission-strip .about-body-copy {
    margin-inline: auto;
}

.about-motto-quote {
    max-width: 28ch;
    padding: 0.9rem 1.2rem;
    border-left: 4px solid var(--academy-accent);
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    color: #0f172a;
}

.about-motto-quote p::before,
.about-motto-quote p::after {
    font-size: 1.55em;
    color: var(--academy-accent);
    line-height: 0;
    vertical-align: -0.25em;
}

.about-motto-quote p::before {
    content: "“";
    margin-right: 0.12em;
}

.about-motto-quote p::after {
    content: "”";
    margin-left: 0.12em;
}

.about-timeline {
    position: relative;
    display: grid;
    gap: 1rem;
}

.about-timeline::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    left: 6.1rem;
    width: 2px;
    background: #dbe3ed;
}

.about-timeline-item {
    display: grid;
    grid-template-columns: 5.3rem 1fr;
    gap: 1rem;
    align-items: start;
}

.about-timeline-year {
    font-weight: 700;
    color: #0f172a;
    text-align: right;
}

.about-stats-bar {
    border-radius: 1rem;
    background: #0f172a;
    border: 1px solid #1e293b;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-stat-item {
    display: grid;
    gap: 0.35rem;
    text-align: center;
    color: #e2e8f0;
}

.about-stat-item strong {
    color: #fff;
    font-size: clamp(1.1rem, 1.7vw, 1.4rem);
}

.about-close-cta {
    border-radius: 1rem;
    border: 1px solid #d9e1ea;
    background: linear-gradient(145deg, #ffffff 0%, #f7fafc 100%);
}

.wd-story-page .wd-section:nth-of-type(odd) {
    background: #ffffff;
}

.wd-story-page .wd-section:nth-of-type(even) {
    background: #f7f9fc;
}

.wd-story-page .wd-section + .wd-section {
    border-top: 1px solid #e5e9f1;
}

.wd-list-clean {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.55rem;
}

.wd-step-card {
    border-left: 4px solid var(--academy-accent);
}

.wd-list-icons {
    padding-left: 0;
    list-style: none;
}

.wd-list-icons li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.wd-inclusion-icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: rgba(227, 49, 38, 0.12);
    color: var(--academy-accent-dark);
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.wd-belt-journey-card {
    border-color: #dbe3ed;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

.wd-belt-journey-image img {
    max-height: 1120px;
    object-fit: contain;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.wd-belt-progression {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.85rem;
}

.wd-belt-step {
    display: grid;
    justify-items: center;
    gap: 0.4rem;
    text-align: center;
    color: #1f2937;
    font-weight: 600;
}

.wd-belt-swatch {
    width: 100%;
    max-width: 86px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.22);
}

.wd-belt-white { background-color: #ffffff; }
.wd-belt-yellow { background-color: #facc15; }
.wd-belt-orange { background-color: #fb923c; }
.wd-belt-green { background-color: #22c55e; }
.wd-belt-purple { background-color: #a855f7; }
.wd-belt-red { background-color: #ef4444; }
.wd-belt-blue { background-color: #3b82f6; }
.wd-belt-brown { background-color: #92400e; }
.wd-belt-white-black-stripe {
    background: repeating-linear-gradient(
        -45deg,
        #ffffff,
        #ffffff 6px,
        #111827 6px,
        #111827 12px
    );
}
.wd-belt-black { background: #111827; }

.wd-pricing-card {
    position: relative;
    border: 1px solid rgba(227, 49, 38, 0.35);
    box-shadow: 0 20px 36px rgba(227, 49, 38, 0.14);
}

.wd-pricing-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    background: rgba(227, 49, 38, 0.14);
    color: var(--academy-accent-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.wd-price-display {
    color: var(--academy-accent);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.wd-price-meta {
    color: #64748b;
    font-weight: 600;
}

/* Buttons */
.btn {
    border-radius: var(--wd-btn-radius);
    font-weight: 650;
    letter-spacing: 0.015em;
    padding: 0.65rem 1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-academy-primary,
.btn-primary {
    background: var(--academy-accent);
    border: 1px solid var(--academy-accent);
    color: #fff;
    box-shadow: 0 10px 20px rgba(227, 49, 38, 0.22);
}

.btn-academy-primary:hover,
.btn-academy-primary:focus,
.btn-primary:hover,
.btn-primary:focus {
    background: var(--academy-accent-dark);
    border-color: var(--academy-accent-dark);
    color: #fff;
    box-shadow: 0 12px 22px rgba(185, 28, 28, 0.26);
}

.btn-academy-secondary,
.btn-academy-outline,
.btn-outline-primary,
.btn-outline-secondary {
    border: 1px solid #c9d2de;
    background: #f9fbff;
    color: #334155;
}

.btn-square-primary { background: var(--academy-accent); border: 1px solid var(--academy-accent); color: #fff; }
.btn-square-secondary { border: 1px solid var(--academy-accent); background: transparent; color: var(--academy-accent); }

.btn-academy-secondary:hover,
.btn-academy-secondary:focus,
.btn-academy-outline:hover,
.btn-academy-outline:focus,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    border-color: #aebccd;
    color: #1f2937;
    background: #f2f6fc;
}

.btn-square-tertiary {
    border: 1px solid transparent;
    background: transparent;
    color: var(--academy-accent-dark);
}

.btn-square-tertiary:hover,
.btn-square-tertiary:focus {
    background: rgba(31, 91, 181, 0.1);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-square-button {
    min-height: 44px;
    min-width: 44px;
    border-radius: 4px;
    border: 1px solid var(--academy-border);
    background: #fff;
    color: var(--academy-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.65rem;
}

.nav-square-button.is-active {
    background: var(--academy-accent);
    color: #fff;
    border-color: var(--academy-accent);
}

/* Sections / content system */
.wd-section,
.section-block {
    padding: var(--wd-section-y) 0;
    border-bottom: 1px solid var(--wd-grey-100);
}

.wd-section-muted,
.section-muted {
    background: var(--wd-grey-100);
}

.wd-hero,
.section-hero {
    padding-top: 6rem;
    background: linear-gradient(135deg, #ffffff 0%, #f1f1f1 100%);
}

.wd-cta-band {
    background: var(--wd-black);
    color: var(--wd-white);
    border: none;
}

.wd-cta-band h2,
.wd-cta-band p {
    color: var(--wd-white);
}

.wd-section-heading {
    margin-bottom: 2.4rem;
}

.wd-section-heading h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.15;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.74rem;
    color: var(--academy-accent);
    font-weight: 700;
}

.wd-page-header-eyebrow {
    font-size: clamp(1.35rem, 2.8vw, 2.2rem);
    letter-spacing: 0.12em;
    line-height: 1.1;
}

.wd-page-header-title {
    font-size: clamp(3rem, 6.8vw, 5.4rem);
    font-weight: 860;
    letter-spacing: -0.02em;
    line-height: 1.02;
}

.eyebrow-heading {
    display: block;
    font-size: inherit;
    line-height: inherit;
}

.panel-card,
.stat-card {
    background: var(--wd-white);
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius);
    box-shadow: var(--wd-shadow);
}

.stat-card {
    background: #f3f4f6;
    box-shadow: none;
}

.phase-badge {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: var(--wd-red);
    flex-shrink: 0;
}

.text-muted,
.lead {
    color: var(--wd-text-muted) !important;
}

.academy-link {
    color: var(--academy-accent);
}

.academy-link:hover {
    color: var(--academy-accent-dark);
}

.site-footer {
    background: #f3f4f6;
    border-top: 1px solid var(--academy-border);
}

.wd-origin-quote {
    border-left: 4px solid var(--academy-accent);
    background: #fff9f8;
}

.wd-testimonials-shell {
    background: #1f2937;
    color: #f9fafb;
}

.wd-testimonials-shell blockquote,
.wd-testimonials-shell p {
    color: #f3f4f6;
}

.wd-testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.8rem;
    padding: 1rem;
}

.wd-testimonial-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(227, 49, 38, 0.2);
    border: 1px solid rgba(227, 49, 38, 0.45);
    color: #f9fafb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.75rem;
}

/* Contact page */
.wd-contact-page {
    background: linear-gradient(180deg, #f3f4f6 0%, #ffffff 100%);
}

.wd-contact-hero {
    margin-bottom: 3rem !important;
}

.wd-contact-page .wd-contact-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--academy-accent-dark);
    background: rgba(227, 49, 38, 0.08);
    border: 1px solid rgba(227, 49, 38, 0.2);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
}

.wd-contact-page .wd-contact-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.wd-contact-page .wd-contact-intro {
    max-width: 66ch;
    font-size: 1.04rem;
    margin-bottom: 1.4rem;
}

.wd-contact-hero-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.wd-contact-page .wd-section-heading p {
    max-width: 62ch;
}

.wd-contact-side-card {
    border-color: #d7e2ef;
    background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
}

.wd-contact-info-header {
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dbe5f2;
}

.wd-contact-info-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    color: #1f3b57;
}

.wd-contact-detail {
    position: relative;
    padding: 0.8rem 0.95rem;
    border: 1px solid #dbe5f2;
    border-radius: 0.8rem;
    background: #f8fbff;
}

.wd-contact-detail p:first-child {
    color: #64748b;
    letter-spacing: 0.08em;
}

.wd-contact-detail .wd-contact-detail-value {
    color: #0f172a;
    font-weight: 700;
    padding-right: 2rem;
}

.wd-contact-detail .academy-link {
    color: #9f1239;
    text-decoration: none;
}

.wd-contact-detail .academy-link:hover {
    color: #7f1d1d;
    text-decoration: underline;
}

.wd-contact-detail-icon {
    position: absolute;
    right: 0.75rem;
    top: 0.8rem;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4dbe6;
    background: #ffffff;
    color: #475569;
    font-size: 0.8rem;
}

.wd-contact-detail-emphasis {
    background: #ffffff;
    border-color: #cfdceb;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.wd-contact-form .form-control {
    border-color: var(--wd-border);
    border-radius: 0.75rem;
    min-height: 3rem;
}

.wd-contact-form .form-control:focus {
    border-color: rgba(185, 28, 28, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(185, 28, 28, 0.18);
}

.wd-contact-form textarea.form-control {
    min-height: 9rem;
}

.wd-captcha-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
}

.wd-captcha-image {
    border: 1px solid var(--wd-border);
    border-radius: 0.75rem;
    background: #fff;
    padding: 0.45rem 0.5rem;
}

@media (max-width: 575.98px) {
    .wd-captcha-row {
        grid-template-columns: 1fr;
    }
}

.footer-link {
    color: var(--wd-text-muted);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--academy-accent-dark);
}

/* Home page modules */
.wd-hero-carousel {
    position: relative;
    padding: 0;
    border-bottom: 1px solid var(--wd-grey-100);
}

.wd-carousel-track {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
}

.wd-hero-slide,
.wd-member-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.wd-hero-slide.is-active,
.wd-member-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.wd-hero-image {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    object-fit: cover;
}

.wd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, calc(var(--hero-overlay, 0.62) + 0.14)) 0%,
        rgba(0, 0, 0, calc(var(--hero-overlay, 0.62) + 0.08)) 42%,
        rgba(0, 0, 0, calc(var(--hero-overlay, 0.62) + 0.18)) 100%
    );
}

.wd-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.wd-hero-content .lead,
.wd-hero-subtitle {
    font-weight: 620;
    color: rgba(255, 255, 255, 0.96) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.wd-hero-secondary-btn {
    border-color: var(--academy-accent);
    color: var(--academy-accent);
    background: rgba(255, 255, 255, 0.96);
}

.wd-hero-secondary-btn:hover,
.wd-hero-secondary-btn:focus {
    background: var(--academy-accent);
    color: #fff;
}

.wd-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--wd-text);
    font-size: 1.6rem;
    line-height: 1;
}

.wd-carousel-prev { left: 1rem; }
.wd-carousel-next { right: 1rem; }

.wd-carousel-dots {
    position: absolute;
    z-index: 3;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.wd-carousel-dot {
    width: 2.5rem;
    height: 0.28rem;
    border-radius: 2px;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.75;
}

.wd-carousel-dot.is-active {
    background: #fff;
    opacity: 1;
    transform: scaleX(1.12);
}

.wd-carousel-arrow:focus-visible,
.wd-carousel-dot:focus-visible,
.wd-members-carousel a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.wd-news-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
}

.wd-news-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    min-height: calc(1.65em * 3);
}

.wd-section-news {
    background: #f7f4ef;
    border-top: 1px solid #ece5da;
}

.wd-quick-link-icon {
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--academy-accent-dark);
    background: rgba(227, 49, 38, 0.08);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.wd-quick-link-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.wd-quick-link-card {
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.wd-quick-link-card:hover,
.wd-quick-link-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.14);
    border-color: rgba(227, 49, 38, 0.32);
}

.wd-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(227, 49, 38, 0.25);
    border-top-color: var(--academy-accent);
    border-radius: 50%;
    animation: wd-spin 0.8s linear infinite;
}

@keyframes wd-spin {
    to { transform: rotate(360deg); }
}

.wd-members-carousel {
    position: relative;
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius);
    background: var(--wd-white);
    min-height: 210px;
}

.wd-members-carousel .wd-carousel-track {
    min-height: 210px;
}

.wd-member-slide {
    padding: 2rem;
}

.wd-member-logo {
    max-width: min(320px, 100%);
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .wd-hero-content .lead,
    .wd-hero-subtitle {
        font-size: 1rem;
        font-weight: 560;
        color: rgba(255, 255, 255, 0.95) !important;
    }

    .wd-carousel-arrow {
        width: 2.15rem;
        height: 2.15rem;
    }
}

.not-set {
    color: #c55;
    font-style: italic;
}

a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #6c757d;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px;
}

.form-group {
    margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
    .academy-navbar-shell {
        min-height: 64px;
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }
}

/* Global polish refresh */
body {
    background: linear-gradient(180deg, #f3f4f6 0%, #ffffff 28%);
}

.site-main {
    padding: clamp(1.5rem, 2vw, 2.5rem) 0 clamp(2.5rem, 4vw, 4rem);
}

.section-block,
.wd-section {
    border-radius: 1rem;
}

.panel-card,
.stat-card {
    border-radius: 1rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.panel-card:hover,
.stat-card:hover {
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

@media (max-width: 991.98px) {
    .academy-mobile-overlay-inner {
        max-width: 420px;
        margin-left: auto;
        box-shadow: -12px 0 28px rgba(0, 0, 0, 0.18);
    }

    .academy-mobile-nav .nav-link,
    .academy-mobile-about-toggle {
        font-size: 0.95rem;
    }
}

.form-control,
.form-select {
    border-radius: 0.75rem;
    border-color: var(--wd-border);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(227, 49, 38, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(227, 49, 38, 0.2);
}

.btn {
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(227, 49, 38, 0.25);
    outline-offset: 2px;
}

.table {
    border-radius: 0.9rem;
    overflow: hidden;
}

.table > :not(caption) > * > * {
    padding: 0.8rem 0.9rem;
}

@media (max-width: 991.98px) {
    .site-main {
        padding-top: 1rem;
    }
}

/* Breakpoint and spacing standardization */
section .container,
.site-footer .container,
.academy-navbar .container {
    padding-inline: clamp(1rem, 4vw, 2rem);
}

@media (max-width: 767.98px) {
    .about-credentials-grid {
        grid-template-columns: 1fr;
    }

    .about-timeline::before {
        left: 0.45rem;
    }

    .about-timeline-item {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        padding-left: 1.25rem;
        position: relative;
    }

    .about-timeline-item::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.6rem;
        width: 0.65rem;
        height: 0.65rem;
        border-radius: 999px;
        background: var(--academy-accent);
    }

    .about-timeline-year {
        text-align: left;
        color: #1e293b;
    }

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

    .about-principle-grid,
    .about-trust-grid {
        gap: 0.75rem;
    }

    :root {
        --wd-section-y: 2.75rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .about-stats-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    :root {
        --wd-container: 960px;
        --wd-section-y: 3.5rem;
    }
}

@media (min-width: 1024.01px) {
    :root {
        --wd-container: 1200px;
        --wd-section-y: 4.5rem;
    }
}

/* Homepage refresh */
.home-refresh .wd-section {
    padding-block: clamp(4.25rem, 7vw, 6.8rem);
}

.home-refresh .wd-section-muted {
    background: linear-gradient(180deg, #f6f9fc 0%, #eef4fb 100%);
}

.home-section-heading {
    max-width: 68ch;
}

.home-section-heading.text-center,
.home-section-heading.mx-auto {
    margin-inline: auto;
}

.home-section-heading p:not(.eyebrow) {
    max-width: 65ch;
    color: #475569;
    line-height: 1.75;
}

.home-hero,
.home-hero-carousel {
    color: #fff;
    background-size: cover;
    background-position: center;
    padding-block: clamp(6.4rem, 14vw, 10rem) !important;
}

.home-hero-carousel {
    position: relative;
    overflow: hidden;
}

.home-hero-slides {
    position: absolute;
    inset: 0;
}

.home-hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.home-hero-slide.is-active {
    opacity: 1;
}

.home-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(12, 23, 35, 0.84), rgba(12, 23, 35, 0.58));
}

.home-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-shell {
    position: relative;
    z-index: 2;
    max-width: 900px;
    display: grid;
    gap: 1.25rem;
}

.home-hero-title {
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1.03;
    max-width: 16ch;
    margin-bottom: 0 !important;
}

.home-kicker,
.home-refresh .eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 750;
}

.home-kicker {
    color: rgba(255, 255, 255, 0.88);
}

.home-refresh .eyebrow {
    color: var(--academy-accent-dark);
}

.home-hero h1,
.home-hero p,
.home-hero-carousel h1,
.home-hero-carousel p {
    color: #fff;
}

.home-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    border: 0;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    font-size: 1.55rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-hero-prev { left: 1rem; }
.home-hero-next { right: 1rem; }

.home-hero-lead {
    font-size: clamp(1.1rem, 1.9vw, 1.42rem);
    max-width: 50ch;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    margin-bottom: 0;
}

.home-hero-actions {
    gap: 0.9rem !important;
    margin-top: 0.4rem;
    margin-bottom: 0.2rem;
}

.home-hero-primary-btn {
    min-height: 3.35rem;
    padding-inline: 1.55rem;
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(227, 49, 38, 0.34);
}

.home-hero-secondary-btn {
    min-height: 3.35rem;
    padding-inline: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
}

.home-hero-secondary-btn:hover,
.home-hero-secondary-btn:focus {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.home-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.home-trust-strip span {
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    color: rgba(255, 255, 255, 0.88);
}

.home-trust-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.2rem);
}

.home-trust-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
    padding-top: 1.1rem;
    border-top: 1px solid #d9e3ee;
}

.home-trust-point-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    min-height: 2.2rem;
    border-radius: 999px;
    background: #fff4f2;
    color: var(--academy-accent-dark);
    border: 1px solid rgba(227, 49, 38, 0.2);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.home-journey-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.home-section-image {
    margin: 0;
    border-radius: 1rem;
    overflow: hidden;
    background: #edf4fb;
}

.home-section-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
}

.home-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    position: relative;
}

.home-step-grid::before {
    content: '';
    position: absolute;
    top: 1.45rem;
    left: 9%;
    right: 9%;
    height: 2px;
    background: #ccd8e6;
}

.home-step-card {
    position: relative;
    padding: 0 1rem;
    display: grid;
    justify-items: start;
    gap: 0.25rem;
}

.home-step-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 999px;
    background: #0f1d2d;
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 29, 45, 0.18);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.68rem;
    font-weight: 800;
    margin-bottom: 0.85rem !important;
    z-index: 1;
}

.home-belt-preview {
    overflow: visible;
    padding: 1.2rem 0 1.45rem;
}

.home-belt-strip.wd-belt-progression {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
    min-width: 0;
}

.home-belt-step.wd-belt-step {
    min-width: 0;
    justify-items: start;
    text-align: left;
    padding: 0.95rem 0.9rem;
    border-left: 1px solid #dbe5f0;
    color: #1f2937;
    font-weight: 500;
}

.home-belt-step .wd-belt-swatch {
    max-width: none;
    width: 100%;
    height: 0.7rem;
    margin-bottom: 0.35rem;
}

.home-roadmap-stage,
.home-step-label,
.home-proof-index,
.home-update-meta {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 750;
}

.home-roadmap-stage {
    color: #64748b;
}

.home-belt-focus {
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.45;
}

.home-check-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.4rem;
    max-width: 68ch;
}

.home-claim-note {
    border-left: 3px solid #dce5f2;
    padding-left: 0.75rem;
    color: #475569;
    font-size: 0.88rem;
    max-width: 68ch;
}

.home-proof-shell {
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.72);
    padding: clamp(1.5rem, 4vw, 2.4rem);
}

.home-proof-header {
    max-width: 68ch;
}

.home-proof-card {
    position: relative;
    border-top: 1px solid #dbe5f2;
    background: transparent;
    padding: 1.25rem 0.4rem 0;
}

.home-proof-avatar {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    overflow: hidden;
    border: 2px solid #dbe5f2;
    margin-bottom: 0.9rem;
}

.home-proof-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-proof-index {
    color: var(--academy-accent-dark);
}

.home-proof-quote-mark {
    position: absolute;
    right: 0.3rem;
    top: 0.75rem;
    color: #d7e3f2;
    font-size: 2.3rem;
    line-height: 1;
}

.home-quote {
    font-size: clamp(1rem, 1.6vw, 1.16rem);
    line-height: 1.65;
    color: #0f172a;
    font-weight: 520;
}

.home-updates-banner {
    margin: 0 0 1.4rem;
}

.home-updates-banner img {
    aspect-ratio: 16 / 6;
}

.home-update-card {
    border-top: 1px solid #dbe5f2;
    background: #fff;
    padding: 1rem 0 0;
    display: grid;
    gap: 0.45rem;
}

.home-update-image {
    border-radius: 0.8rem;
    margin: 0 0 0.35rem;
    overflow: hidden;
    background: #f8fbff;
}

.home-update-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    display: block;
}

.home-update-meta {
    color: #64748b;
}

.home-updates-empty {
    max-width: 65ch;
    color: #475569;
}

.home-final-cta {
    color: #fff;
    background:
        linear-gradient(120deg, rgba(9, 20, 34, 0.94), rgba(16, 33, 54, 0.9)),
        url('/images/Sensei_with_students (1).jpg') center / cover;
}

.home-final-cta .eyebrow,
.home-final-cta h2,
.home-final-cta p {
    color: #fff;
}

.home-final-cta-shell {
    max-width: 760px;
    margin-inline: auto;
}

.home-final-cta-shell > p:not(.eyebrow) {
    max-width: 62ch;
    color: rgba(255, 255, 255, 0.82);
}

.home-contact-grid {
    max-width: 520px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.home-contact-item {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.9rem 1rem;
    color: #fff;
}

.home-contact-item small {
    color: rgba(255, 255, 255, 0.68);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 750;
}

.home-contact-item div {
    font-weight: 700;
}

.academy-header-primary-cta {
    min-height: 42px !important;
    padding-inline: 1.1rem !important;
    font-size: 0.86rem !important;
    border-radius: 0 !important;
    clip-path: polygon(0.65rem 0, 100% 0, calc(100% - 0.65rem) 100%, 0 100%);
    box-shadow: 0 8px 18px rgba(185, 28, 28, 0.2);
}

.academy-header-actions .btn {
    min-height: 42px;
    padding: 0.42rem 0.78rem;
    font-size: 0.82rem;
}

.academy-header-link {
    color: #475569;
    font-size: 0.88rem;
    font-weight: 650;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding-inline: 0.35rem;
    text-decoration: underline;
    text-decoration-color: rgba(71, 85, 105, 0.35);
    text-underline-offset: 0.2em;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.academy-header-link:hover,
.academy-header-link:focus {
    color: #1f2937;
    text-decoration-color: rgba(31, 41, 55, 0.7);
}


@media (min-width: 992px) and (max-width: 1099.98px) {
    .academy-header-actions .btn {
        padding-inline: 0.58rem;
        font-size: 0.78rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .home-belt-strip.wd-belt-progression {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .home-belt-strip.wd-belt-progression {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .home-hero {
        padding-block: 4.5rem !important;
    }

    .home-trust-list,
    .home-journey-layout,
    .home-step-grid {
        grid-template-columns: 1fr;
    }

    .home-step-grid {
        gap: 1.15rem;
    }

    .home-step-grid::before {
        top: 1.45rem;
        bottom: 1.45rem;
        left: 1.45rem;
        right: auto;
        width: 2px;
        height: auto;
    }

    .home-step-card {
        grid-template-columns: auto 1fr;
        column-gap: 1rem;
        padding: 0;
    }

    .home-step-label {
        grid-row: span 2;
    }

    .home-trust-strip {
        gap: 0.45rem;
    }

    .home-trust-strip span {
        font-size: 0.74rem;
    }

    .home-hero-title {
        max-width: 16ch;
    }
}

@media (max-width: 767.98px) {
    .home-refresh .wd-section {
        padding-block: 3.2rem;
    }

    .home-hero-title {
        font-size: clamp(2.2rem, 10.5vw, 3rem);
    }

    .home-hero-actions .btn,
    .home-final-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .home-contact-grid {
        grid-template-columns: 1fr;
    }

    .home-belt-preview {
        margin-inline: -0.75rem;
        padding-inline: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-slide {
        transition: none;
    }
}

/* Public page consistency refresh */
.wd-blog-page,
.wd-gallery-page,
.wd-student-login-page,
.wd-curriculum-page {
    background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 46%);
}

.wd-blog-hero-note,
.wd-gallery-hero-note {
    border: 1px solid #d8e2ee;
    border-radius: 0.9rem;
    background: #f8fbff;
    padding: 1rem;
}

.wd-blog-meta {
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
}

.wd-blog-image {
    border: 1px solid #dbe5f2;
    border-radius: 0.9rem;
    overflow: hidden;
    background: #f8fbff;
}

.wd-blog-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 420px;
    object-fit: cover;
}

.wd-blog-card-image img {
    min-height: 180px;
    max-height: 200px;
}

.wd-blog-card,
.wd-curriculum-card,
.wd-how-highlight,
.wd-contact-side-card {
    border-color: #dbe5f2;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.wd-shaded-section-title {
    display: inline-block;
    padding: 0.45rem 0.75rem;
    border-radius: 0.7rem;
    background: linear-gradient(135deg, #eef3fb 0%, #dfeaf8 100%);
    border: 1px solid #d0ddee;
}

.wd-blog-content blockquote {
    border-left: 4px solid var(--academy-accent);
    margin: 1rem 0;
    padding: 0.6rem 0 0.6rem 0.9rem;
    background: #fff9f8;
    border-radius: 0.4rem;
}

.wd-blog-content h1 {
    font-size: clamp(2.2rem, 4.8vw, 3.1rem);
    font-weight: 900;
    letter-spacing: -0.024em;
    line-height: 1.08;
    margin: 2rem 0 1.15rem;
    color: #0f172a;
}

.wd-blog-content h2 {
    font-size: clamp(1.85rem, 3.6vw, 2.45rem);
    font-weight: 850;
    letter-spacing: -0.02em;
    line-height: 1.14;
    margin: 1.9rem 0 0.95rem;
    color: #0f172a;
}

.wd-blog-content h3 {
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    font-weight: 780;
    line-height: 1.2;
    margin: 1.55rem 0 0.85rem;
    color: #1e293b;
}

.wd-blog-content ul,
.wd-blog-content ol {
    margin: 1rem 0 1.35rem;
    padding-left: 1.5rem;
}

.wd-blog-content li {
    margin-bottom: 0.55rem;
    padding-left: 0.2rem;
    line-height: 1.7;
}

.wd-blog-content ul li::marker,
.wd-blog-content ol li::marker {
    color: #b91c1c;
    font-weight: 700;
}

.wd-blog-footer-cta {
    background: linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid #dbe5f2;
}

.wd-gallery-main-image-wrap {
    position: relative;
    border: 1px solid #dbe5f2;
    border-radius: 1rem;
    overflow: hidden;
    background: #f8fbff;
    aspect-ratio: 16/10;
}

.wd-gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wd-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 1px solid #ffffff;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    font-size: 1.2rem;
}

.wd-gallery-prev { left: 0.8rem; }
.wd-gallery-next { right: 0.8rem; }

.wd-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    max-height: 560px;
    overflow: auto;
    padding-right: 0.25rem;
}

.wd-gallery-thumb {
    border: 1px solid #dbe5f2;
    border-radius: 0.75rem;
    padding: 0;
    overflow: hidden;
    background: #fff;
}
.wd-gallery-thumb img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    display: block;
}
.wd-gallery-thumb.is-active {
    border-color: var(--academy-accent);
    box-shadow: 0 0 0 2px rgba(227, 49, 38, 0.2);
}

.wd-gallery-tab {
    border: 1px solid #d3deec;
    background: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
    font-weight: 600;
}
.wd-gallery-tab.is-active {
    background: var(--academy-accent);
    color: #fff;
    border-color: var(--academy-accent-dark);
}

.wd-login-support-list {
    display: grid;
    gap: 0.9rem;
}

.wd-student-login-shell {
    border: 1px solid #dbe5f2;
    background: linear-gradient(130deg, #ffffff 0%, #f5faff 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.wd-student-login-shell p {
    max-width: 62ch;
}

.wd-login-help-note {
    border: 1px solid #dbe5f2;
    border-radius: 0.8rem;
    background: #f8fbff;
    padding: 0.8rem 0.95rem;
}

.wd-login-form-header {
    padding-bottom: 1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid #e2e8f0;
}

.wd-student-login-form-card {
    border: 1px solid #dbe5f2;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
}

.wd-student-login-form .form-control {
    border-radius: 0.75rem;
    min-height: 3rem;
    border-color: #cbd5e1;
}

.wd-student-login-form .form-control:focus {
    border-color: rgba(227, 49, 38, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(227, 49, 38, 0.16);
}

.wd-login-dev-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 0.75rem;
    padding: 0.65rem 0.8rem;
    font-size: 0.82rem;
    color: #9a3412;
}

.wd-contact-next-step {
    border: 1px solid #dbe5f2;
    border-radius: 0.8rem;
    background: linear-gradient(170deg, #f8fbff 0%, #ffffff 100%);
    padding: 0.95rem 1rem;
}

.wd-contact-reassurance {
    border: 1px solid #dbe5f2;
    background: linear-gradient(140deg, #ffffff 0%, #f4f9ff 100%);
}

.wd-curriculum-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.wd-curriculum-intro-card {
    border: 1px solid #dbe5f2;
    border-radius: 0.8rem;
    background: #f8fbff;
    padding: 0.8rem 0.9rem;
}

@media (max-width: 991.98px) {
    .wd-curriculum-intro-grid {
        grid-template-columns: 1fr;
    }

    .wd-student-login-shell {
        margin-bottom: 1rem !important;
    }

    .wd-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-height: none;
    }

    .wd-contact-page .wd-contact-title {
        font-size: clamp(1.9rem, 7.2vw, 2.6rem);
    }
}

.wd-student-belt-page .wd-belt-item-card {
    border-top: 4px solid rgba(227, 49, 38, 0.2);
}

.wd-student-belt-page .wd-media-section-title {
    color: var(--academy-accent-dark);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.wd-media-card {
    background: #f9fafb;
    border: 1px solid var(--academy-border);
    border-radius: 0.85rem;
    padding: 0.85rem;
}

.wd-media-thumb {
    width: 100%;
    max-width: 460px;
    max-height: 280px;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 1px solid var(--academy-border);
    background: #111;
    display: block;
    margin-top: 0.5rem;
}


/* Angular public visual system
   Keep the calm academy palette while replacing soft, rounded UI with sharper boxed forms. */

.wadoka-angular-panel {
    position: relative;
    border: 1px solid var(--wadoka-border-strong);
    border-radius: var(--wadoka-radius-lg);
    background: linear-gradient(145deg, var(--wadoka-surface) 0%, var(--wadoka-surface-subtle) 100%);
    box-shadow: 0 12px 26px rgba(16, 24, 39, 0.075);
}

.wadoka-angular-panel::before,
.wadoka-corner-accent::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: min(6.5rem, 34%);
    height: 3px;
    background: linear-gradient(90deg, var(--wadoka-brand-red), rgba(26, 42, 60, 0.58));
    pointer-events: none;
}

.wadoka-angular-panel::after,
.wadoka-corner-accent::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 1.15rem;
    height: 1.15rem;
    background: linear-gradient(135deg, transparent 49%, rgba(26, 42, 60, 0.28) 50%, rgba(26, 42, 60, 0.28) 56%, transparent 57%);
    pointer-events: none;
}

.wadoka-section-frame {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(227, 49, 38, 0.18),
        inset 0 -1px 0 rgba(26, 42, 60, 0.14),
        0 12px 26px rgba(16, 24, 39, 0.075);
}

.wadoka-grid-rule {
    background-image:
        linear-gradient(rgba(26, 42, 60, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 42, 60, 0.035) 1px, transparent 1px),
        linear-gradient(145deg, var(--wadoka-surface) 0%, var(--wadoka-surface-subtle) 100%);
    background-size: 28px 28px, 28px 28px, auto;
}
body {
    background:
        linear-gradient(rgba(26, 42, 60, 0.026) 1px, transparent 1px) 0 0 / 34px 34px,
        linear-gradient(90deg, rgba(26, 42, 60, 0.026) 1px, transparent 1px) 0 0 / 34px 34px,
        var(--wd-grey-50);
}

.wd-section,
.section-block,
.home-refresh .wd-section,
.wd-story-page .wd-section {
    position: relative;
    border-radius: 0;
    border-bottom-color: rgba(26, 42, 60, 0.14);
}

.wd-section::before,
.section-block::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(227, 49, 38, 0.08), transparent 18rem) top left / 100% 1px no-repeat,
        linear-gradient(90deg, transparent, rgba(26, 42, 60, 0.08)) bottom left / 100% 1px no-repeat;
    opacity: 0.9;
}

.wadoka-card,
.wadoka-panel,
.wadoka-angular-panel,
.panel-card,
.card,
.auth-card,
.about-method-card,
.about-trust-card,
.about-principle-card,
.about-credential-card,
.about-close-cta,
.wd-belt-journey-card,
.wd-pricing-card,
.wd-contact-side-card,
.wd-contact-detail,
.wd-carousel-card,
.wd-blog-card,
.wd-curriculum-card,
.wd-how-highlight,
.wd-blog-footer-cta,
.wd-student-login-shell,
.wd-student-login-form-card,
.wd-login-help-note,
.wd-login-dev-note,
.wd-contact-next-step,
.wd-contact-reassurance,
.wd-curriculum-intro-card,
.wd-media-card,
.home-proof-shell,
.home-contact-item,
.home-update-card,
.home-belt-step.wd-belt-step,
.wd-testimonial-card,
.stat-card,
.wadoka-empty-state,
.empty-state,
.auth-dev-note {
    position: relative;
    border-radius: var(--wadoka-radius-lg) !important;
    border-color: var(--wadoka-border-strong);
    box-shadow: 0 12px 26px rgba(16, 24, 39, 0.075);
}

.wadoka-card::before,
.wadoka-panel::before,
.wadoka-angular-panel::before,
.panel-card::before,
.card::before,
.auth-card::before,
.about-method-card::before,
.about-trust-card::before,
.about-principle-card::before,
.about-close-cta::before,
.wd-belt-journey-card::before,
.wd-pricing-card::before,
.wd-contact-side-card::before,
.wd-blog-card::before,
.wd-curriculum-card::before,
.wd-how-highlight::before,
.wd-student-login-shell::before,
.wd-student-login-form-card::before,
.wd-contact-reassurance::before,
.home-proof-shell::before,
.home-contact-item::before,
.stat-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: min(6.5rem, 34%);
    height: 3px;
    background: linear-gradient(90deg, var(--wadoka-brand-red), rgba(26, 42, 60, 0.58));
    pointer-events: none;
}

.wadoka-card::after,
.wadoka-panel::after,
.wadoka-angular-panel::after,
.panel-card::after,
.card::after,
.auth-card::after,
.wd-contact-side-card::after,
.wd-blog-card::after,
.wd-curriculum-card::after,
.home-proof-shell::after,
.stat-card::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 1.15rem;
    height: 1.15rem;
    background: linear-gradient(135deg, transparent 49%, rgba(26, 42, 60, 0.28) 50%, rgba(26, 42, 60, 0.28) 56%, transparent 57%);
    pointer-events: none;
}

.btn,
.nav-square-button,
.academy-search-input,
.form-control,
.form-select,
.wadoka-form .form-control,
.wadoka-form .form-select,
.wd-student-login-form .form-control {
    border-radius: var(--wadoka-radius) !important;
}

.btn {
    clip-path: polygon(0.45rem 0, 100% 0, 100% calc(100% - 0.45rem), calc(100% - 0.45rem) 100%, 0 100%, 0 0.45rem);
    border-width: 1px;
    box-shadow: none;
}

.btn-academy-primary,
.btn-primary,
.btn-square-primary {
    background: linear-gradient(135deg, var(--academy-accent) 0%, var(--academy-accent) 70%, var(--academy-accent-dark) 70%);
}

.btn-academy-secondary,
.btn-academy-outline,
.btn-outline-primary,
.btn-outline-secondary,
.btn-square-secondary {
    background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
    border-color: var(--wadoka-border-strong);
}

.wadoka-nav-link,
.nav-link,
.auth-nav a,
.academy-dropdown,
.academy-dropdown .dropdown-item,
.academy-mobile-overlay-inner,
.academy-mobile-nav .nav-link,
.about-breadcrumb,
.wd-contact-page .wd-contact-eyebrow,
.wd-shaded-section-title,
.wd-gallery-tab {
    border-radius: var(--wadoka-radius) !important;
}

.academy-dropdown,
.academy-mobile-overlay-inner {
    border-top: 3px solid rgba(227, 49, 38, 0.56);
}

.wadoka-status-badge,
.status-badge,
.badge,
.wd-pricing-badge {
    border-radius: var(--wadoka-radius-badge) !important;
}

.progress,
.wadoka-progress,
.progress-bar,
.wadoka-progress-bar,
.wd-belt-swatch {
    border-radius: var(--wadoka-radius-sm) !important;
}

.wadoka-media-thumb,
.media-thumbnail,
.wd-media-thumb,
.home-section-image,
.home-update-image,
.wd-blog-image,
.wd-gallery-main-image-wrap,
.wd-gallery-thumb,
.wd-carousel-image,
.wd-belt-journey-image,
.home-updates-banner,
.home-proof-avatar {
    border-radius: var(--wadoka-radius-sm) !important;
    border: 1px solid var(--wadoka-border-strong);
    background: #f8fbff;
    box-shadow: 0 10px 22px rgba(16, 24, 39, 0.08);
}

.home-section-image,
.home-update-image,
.wd-blog-image,
.wd-gallery-main-image-wrap,
.wd-gallery-thumb,
.wd-carousel-image,
.wd-belt-journey-image,
.home-updates-banner {
    overflow: hidden;
    outline: 1px solid rgba(255, 255, 255, 0.86);
    outline-offset: -5px;
}

.home-section-image::before,
.home-update-image::before,
.wd-blog-image::before,
.wd-gallery-main-image-wrap::before,
.wd-carousel-image::before,
.wd-belt-journey-image::before,
.home-updates-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4.5rem;
    height: 4px;
    background: var(--wadoka-brand-red);
    z-index: 1;
    pointer-events: none;
}

.home-section-image,
.home-update-image,
.wd-blog-image,
.wd-gallery-main-image-wrap,
.wd-carousel-image,
.wd-belt-journey-image,
.home-updates-banner {
    position: relative;
}

.home-hero-carousel::after,
.wd-hero-image-shell::after,
.home-final-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 48% 49%, transparent 49% 100%) 0 0 / 38px 38px,
        linear-gradient(90deg, rgba(227, 49, 38, 0.34), transparent 22%, transparent 78%, rgba(26, 42, 60, 0.48));
    mix-blend-mode: screen;
    opacity: 0.55;
}

.home-hero-nav,
.wd-gallery-nav,
.wd-carousel-control,
.phase-badge,
.home-trust-point-marker,
.home-step-label,
.wd-inclusion-icon {
    border-radius: var(--wadoka-radius-sm) !important;
    clip-path: var(--wadoka-cut-corner);
}

.about-method-pillars-dot,
.about-timeline-item::before {
    border-radius: 0 !important;
    transform: rotate(45deg);
}

.about-stats-bar,
.wd-hero-overlay-card {
    border-radius: var(--wadoka-radius-lg) !important;
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.28);
}

.table {
    border-radius: var(--wadoka-radius-lg) !important;
    border: 1px solid var(--wadoka-border-strong);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.nav-link:focus-visible,
.list-group-item:focus-visible {
    outline: 3px solid rgba(227, 49, 38, 0.38);
    outline-offset: 3px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85);
}

@media (max-width: 767.98px) {
    .btn {
        clip-path: polygon(0.35rem 0, 100% 0, 100% calc(100% - 0.35rem), calc(100% - 0.35rem) 100%, 0 100%, 0 0.35rem);
    }
}

/* Homepage angular premium refresh */
.home-refresh {
    --home-angle-cut: polygon(0.8rem 0, 100% 0, 100% calc(100% - 0.8rem), calc(100% - 0.8rem) 100%, 0 100%, 0 0.8rem);
    --home-rule-red: rgba(227, 49, 38, 0.86);
    --home-rule-navy: rgba(26, 42, 60, 0.78);
}

.home-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: #0c1723;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(227, 49, 38, 0.42), transparent 18%, transparent 78%, rgba(15, 29, 45, 0.58)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 34px);
    mix-blend-mode: screen;
    opacity: 0.62;
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

.home-hero-frame {
    position: relative;
    display: grid;
    gap: 1.15rem;
    max-width: min(900px, 100%);
    padding: clamp(1.35rem, 3.6vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-left: 5px solid var(--home-rule-red);
    border-bottom: 3px solid rgba(227, 49, 38, 0.78);
    clip-path: var(--home-angle-cut);
    background:
        linear-gradient(135deg, rgba(12, 23, 35, 0.86), rgba(12, 23, 35, 0.58)),
        linear-gradient(90deg, rgba(227, 49, 38, 0.18), transparent 44%);
    box-shadow: 0 28px 60px rgba(2, 6, 23, 0.34);
}

.home-hero-frame::before,
.home-hero-frame::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.home-hero-frame::before {
    top: -1px;
    right: clamp(1rem, 4vw, 3rem);
    width: min(15rem, 42%);
    height: 4px;
    background: linear-gradient(90deg, var(--home-rule-red), rgba(255, 255, 255, 0.7), transparent);
}

.home-hero-frame::after {
    right: -1px;
    bottom: -1px;
    width: 3.6rem;
    height: 3.6rem;
    background: linear-gradient(135deg, transparent 0 47%, rgba(255, 255, 255, 0.82) 48% 51%, var(--home-rule-red) 52% 58%, transparent 59%);
}

.home-kicker {
    width: fit-content;
    margin-bottom: 0 !important;
    padding-left: 0.85rem;
    border-left: 3px solid var(--home-rule-red);
}

.home-hero-title {
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.home-hero-actions .btn {
    border-radius: 0 !important;
    clip-path: var(--home-angle-cut);
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.home-hero-primary-btn {
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.home-hero-secondary-btn {
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.home-trust-strip span {
    border-radius: 0;
    clip-path: polygon(0.42rem 0, 100% 0, 100% 100%, 0 100%, 0 0.42rem);
    background: rgba(255, 255, 255, 0.08);
}

.home-trust-item {
    position: relative;
    min-height: 100%;
    padding: 1.35rem 1.25rem 1.25rem;
    border: 1px solid #d7e1ed;
    border-top: 4px solid var(--home-rule-navy);
    border-bottom: 3px solid rgba(227, 49, 38, 0.72);
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    clip-path: var(--home-angle-cut);
    box-shadow: 0 16px 32px rgba(16, 24, 39, 0.07);
}

.home-trust-item::before {
    content: "";
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: -1px;
    width: 4px;
    background: var(--home-rule-red);
}

.home-trust-point-marker {
    min-width: 3.15rem;
    min-height: 2.35rem;
    border-radius: 0 !important;
    background: #0f1d2d;
    color: #fff;
    border-color: #0f1d2d;
    font-size: 0.82rem;
}

.home-step-grid {
    gap: 0.85rem;
    align-items: stretch;
}

.home-step-grid::before {
    top: 1.55rem;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, var(--home-rule-red), #0f1d2d 50%, var(--home-rule-red));
    clip-path: polygon(0 0, calc(100% - 0.75rem) 0, 100% 50%, calc(100% - 0.75rem) 100%, 0 100%);
}

.home-step-card {
    padding: 0.95rem 1rem 1rem;
    border: 1px solid #d6e0ec;
    border-top: 3px solid #0f1d2d;
    background: rgba(255, 255, 255, 0.86);
    clip-path: var(--home-angle-cut);
    box-shadow: 0 14px 28px rgba(16, 24, 39, 0.06);
}

.home-step-card::after {
    content: "";
    position: absolute;
    top: 1.15rem;
    right: -0.45rem;
    z-index: 2;
    width: 0.9rem;
    height: 0.9rem;
    background: var(--home-rule-red);
    transform: rotate(45deg);
}

.home-step-card:last-child::after {
    display: none;
}

.home-step-label {
    width: auto;
    min-width: 4.2rem;
    height: 2.1rem;
    padding-inline: 0.75rem;
    border-radius: 0 !important;
    background: linear-gradient(135deg, #0f1d2d 0%, #0f1d2d 72%, var(--wadoka-brand-red) 72%);
}

.home-belt-preview {
    padding: 1rem;
    border: 1px solid #d5dfeb;
    border-left: 5px solid var(--home-rule-red);
    background:
        linear-gradient(90deg, rgba(227, 49, 38, 0.06), transparent 16rem),
        linear-gradient(180deg, #fff, #f7fbff);
    clip-path: var(--home-angle-cut);
}

.home-belt-strip.wd-belt-progression {
    gap: 0.65rem;
    position: relative;
}

.home-belt-strip.wd-belt-progression::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    top: 1.32rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(227, 49, 38, 0.72), rgba(15, 29, 45, 0.55));
}

.home-belt-step.wd-belt-step {
    position: relative;
    border: 1px solid #dbe5f0;
    border-left: 0;
    border-top: 3px solid #0f1d2d;
    border-radius: 0 !important;
    clip-path: polygon(0.55rem 0, 100% 0, 100% calc(100% - 0.55rem), calc(100% - 0.55rem) 100%, 0 100%, 0 0.55rem);
    background: #fff;
    box-shadow: none;
}

.home-belt-step.wd-belt-step::before {
    content: "";
    position: absolute;
    inset-block: 0;
    left: 0;
    width: 3px;
    background: var(--home-rule-red);
}

.home-belt-step .wd-belt-swatch {
    position: relative;
    z-index: 1;
    height: 0.82rem;
    border-radius: 0 !important;
    border: 1px solid rgba(15, 29, 45, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.home-roadmap-stage {
    color: var(--wadoka-brand-red-dark);
}

@media (max-width: 991.98px) {
    .home-hero-frame {
        max-width: 100%;
    }

    .home-step-grid::before {
        left: 2rem;
        top: 1.75rem;
        bottom: 1.75rem;
        width: 3px;
        height: auto;
        background: linear-gradient(180deg, var(--home-rule-red), #0f1d2d 50%, var(--home-rule-red));
        clip-path: none;
    }

    .home-step-card {
        grid-template-columns: auto 1fr;
        padding: 1rem;
    }

    .home-step-card::after {
        top: auto;
        right: auto;
        left: 1.65rem;
        bottom: -0.45rem;
    }

    .home-belt-strip.wd-belt-progression::before {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .home-hero-frame {
        padding: 1.15rem;
    }

    .home-trust-item {
        padding: 1.15rem 1rem;
    }

    .home-belt-preview {
        margin-inline: 0;
        padding: 0.75rem;
    }

    .home-belt-strip.wd-belt-progression {
        gap: 0.55rem;
    }
}


/* Public secondary pages: align legacy soft modules to the shared angular language. */
.about-mission-strip,
.about-method-card,
.about-trust-card,
.about-principle-card,
.about-founder-content,
.about-founder-photo,
.about-credential-item,
.about-motto-quote,
.about-stats-bar,
.about-close-cta,
.about-method-figure,
.wd-belt-journey-card,
.wd-pricing-card,
.wd-step-card,
.wd-how-highlight,
.wd-contact-hero-cta,
.wd-contact-reassurance,
.wd-contact-side-card,
.wd-contact-detail,
.wd-contact-next-step {
    border-radius: var(--wadoka-radius-lg) !important;
}

.about-method-figure img,
.about-founder-image {
    border-radius: var(--wadoka-radius-sm) !important;
}

.about-timeline::before {
    background: linear-gradient(180deg, var(--wadoka-brand-red), rgba(26, 42, 60, 0.3));
}

.about-timeline-item {
    position: relative;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(196, 207, 221, 0.78);
    background: rgba(255, 255, 255, 0.72);
    border-radius: var(--wadoka-radius-lg);
}

.wd-contact-hero-cta {
    padding: 1rem;
    border: 1px solid rgba(215, 225, 239, 0.78);
    background: rgba(255, 255, 255, 0.66);
}
