/* ==========================================================================
   SMKS Bubutan Surabaya — Modern Vocational Campus Design System
   Crafted with unslop, impeccable, and ui-ux-pro-max principles
   ========================================================================== */

:root {
    --surface-page: #f8fafc;
    --surface-card: #ffffff;
    --surface-subtle: #f1f5f9;
    --surface-inset: #e2e8f0;
    --border-hairline: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.15);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    --brand-primary: var(--primary-color, #15803d);
    --brand-secondary: var(--secondary-color, #166534);
    --brand-accent: var(--accent-color, #d97706);

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;

    --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.07);
    --shadow-float: 0 16px 40px rgba(15, 23, 42, 0.10);
}

/* Base & Browser Surfaces */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
    background-color: var(--surface-page);
    margin: 0;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--brand-primary);
    color: #ffffff;
}

:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-top: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 160ms var(--ease-out-expo);
}

a:hover {
    color: var(--brand-primary);
}

img {
    max-width: 100%;
    height: auto;
}

.font-mono,
.tabular-nums {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

/* Skip Link */
.smk-skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 2000;
    padding: 10px 16px;
    background: var(--text-primary);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.smk-skip-link:focus {
    left: 16px;
    color: #ffffff;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.smk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 180ms var(--ease-out-expo),
                color 180ms var(--ease-out-expo),
                border-color 180ms var(--ease-out-expo),
                transform 160ms var(--ease-out-expo),
                box-shadow 180ms var(--ease-out-expo);
}

.smk-btn:active {
    transform: scale(0.98);
}

.smk-btn-primary {
    background-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.smk-btn-primary:hover,
.smk-btn-primary:focus-visible {
    background-color: var(--brand-primary);
    background-color: color-mix(in srgb, var(--brand-primary) 82%, #0f172a);
    filter: brightness(0.92);
    color: #ffffff;
}

.smk-btn-light {
    background-color: #ffffff;
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.25);
}

.smk-btn-light:hover {
    background-color: var(--surface-subtle);
    color: var(--text-primary);
}

.smk-btn-outline {
    background-color: var(--surface-card);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.smk-btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background-color: #ffffff;
}

.smk-btn-sm {
    min-height: 36px;
    padding: 7px 14px;
    font-size: 0.875rem;
}

.smk-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    border-radius: var(--radius-xs);
    background-color: var(--surface-subtle);
    color: var(--text-primary);
    border: 1px solid var(--border-hairline);
}

.smk-tag-brand {
    background-color: var(--brand-primary);
    color: #ffffff;
    border-color: transparent;
}

.smk-code-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: var(--radius-xs);
    background-color: var(--surface-subtle);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

/* ==========================================================================
   Header & Navigation (2-Tier Responsive Smart Glass)
   ========================================================================== */
.smk-topbar {
    background-color: var(--text-primary);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.smk-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.smk-topbar-left,
.smk-topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.smk-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(248, 250, 252, 0.86);
    white-space: nowrap;
}

.smk-topbar-meta {
    color: rgba(248, 250, 252, 0.65);
    font-weight: 500;
}

.smk-topbar a {
    color: rgba(255, 255, 255, 0.88);
}

.smk-topbar a:hover {
    color: #ffffff;
}

.smk-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-hairline);
    transition: transform 260ms var(--ease-out-expo),
                box-shadow 220ms var(--ease-out-expo),
                background-color 220ms var(--ease-out-expo);
}

.smk-navbar.is-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.smk-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 14px;
    transition: min-height 220ms var(--ease-out-expo);
}

.smk-navbar.is-scrolled .smk-navbar-inner {
    min-height: 62px;
}

.smk-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
}

.smk-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 220ms var(--ease-out-expo);
}

.smk-brand:hover img {
    transform: scale(1.04);
}

.smk-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.smk-brand-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.015em;
}

.smk-brand-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.smk-nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.smk-nav-item {
    position: relative;
}

.smk-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 11px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-xs);
    background: transparent;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: color 160ms var(--ease-out-expo), background-color 160ms var(--ease-out-expo);
}

.smk-nav-link::after {
    content: '';
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 2px;
    height: 2px;
    border-radius: 99px;
    background: var(--brand-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 200ms var(--ease-out-expo);
}

.smk-nav-link:hover,
.smk-nav-link.is-active,
.smk-nav-item:hover > .smk-nav-link,
.smk-nav-item:focus-within > .smk-nav-link,
.smk-nav-item.is-open > .smk-nav-link {
    color: var(--brand-primary);
    background-color: var(--surface-subtle);
}

.smk-nav-link.is-active::after,
.smk-nav-item:hover > .smk-nav-link::after,
.smk-nav-item.is-open > .smk-nav-link::after {
    transform: scaleX(1);
}

.smk-nav-chevron {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    transition: transform 200ms var(--ease-out-expo);
}

.smk-nav-item:hover > .smk-nav-link .smk-nav-chevron,
.smk-nav-item:focus-within > .smk-nav-link .smk-nav-chevron,
.smk-nav-item.is-open > .smk-nav-link .smk-nav-chevron {
    transform: rotate(180deg);
}

.smk-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 276px;
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-float);
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.98);
    transform-origin: top left;
    transition: opacity 160ms var(--ease-out-expo),
                transform 200ms var(--ease-out-expo),
                visibility 160ms;
    z-index: 1050;
}

.smk-nav-item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}

.smk-nav-item:hover > .smk-dropdown,
.smk-nav-item:focus-within > .smk-dropdown,
.smk-nav-item.is-open > .smk-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.smk-dropdown li a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 12px;
    border-radius: var(--radius-xs);
    transition: background-color 140ms var(--ease-out-expo), transform 140ms var(--ease-out-expo);
}

.smk-dropdown-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.25;
}

.smk-dropdown-sub {
    font-size: 0.74rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.3;
}

.smk-dropdown li a:hover,
.smk-dropdown li a.is-active {
    background-color: var(--surface-subtle);
}

.smk-dropdown li a:hover .smk-dropdown-title,
.smk-dropdown li a.is-active .smk-dropdown-title {
    color: var(--brand-primary);
}

.smk-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: #ffffff;
    color: var(--text-primary);
}

.smk-mobile-cta {
    min-height: 38px;
    padding: 6px 12px;
    font-size: 0.8125rem;
    border-radius: 999px;
}

/* Mobile Offcanvas Navigation */
.smk-offcanvas {
    max-width: 320px;
}

.smk-mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.smk-mobile-nav > li {
    border-bottom: 1px solid var(--border-hairline);
}

.smk-mobile-nav a,
.smk-mobile-collapse-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
    border: 0;
    text-align: left;
    border-radius: var(--radius-xs);
}

.smk-mobile-nav > li > a.is-active {
    color: var(--brand-primary);
    background-color: var(--surface-subtle);
    padding-left: 10px;
}

.smk-mobile-chevron {
    transition: transform 200ms var(--ease-out-expo);
}

.smk-mobile-collapse-btn[aria-expanded="true"] .smk-mobile-chevron {
    transform: rotate(180deg);
}

.smk-mobile-sub {
    list-style: none;
    padding: 0 0 10px 14px;
    margin: 0;
}

.smk-mobile-sub li a {
    padding: 8px 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-xs);
}

.smk-mobile-sub li a:hover,
.smk-mobile-sub li a.is-active {
    background-color: var(--surface-subtle);
    color: var(--brand-primary);
}

/* ==========================================================================
   Hero Carousel & Control Bar + Quick Access Dock
   ========================================================================== */
.smk-hero {
    position: relative;
    background-color: #0f172a;
    overflow: hidden;
}

.js-hero-swiper .swiper-slide {
    height: auto;
    pointer-events: none;
}

.js-hero-swiper .swiper-slide-active {
    pointer-events: auto;
    z-index: 2;
}

.smk-hero-slide {
    position: relative;
    min-height: clamp(520px, 76vh, 700px);
    display: flex;
    align-items: center;
    padding: 76px 0 144px;
}

.smk-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.smk-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        108deg,
        rgba(15, 23, 42, 0.93) 0%,
        rgba(15, 23, 42, 0.72) 54%,
        rgba(15, 23, 42, 0.34) 100%
    );
    z-index: 1;
}

.smk-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.smk-hero-context {
    color: rgba(248, 250, 252, 0.78);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 10px;
}

.smk-mask-line {
    overflow: hidden;
}

.smk-hero-title {
    font-size: clamp(2.1rem, 4.3vw, 3.45rem);
    font-weight: 700;
    line-height: 1.09;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 18px;
}

.smk-hero-desc {
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.65;
    color: rgba(248, 250, 252, 0.85);
    max-width: 56ch;
    margin-bottom: 28px;
}

.smk-hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 60px;
    z-index: 5;
    pointer-events: none;
}

.smk-hero-controls-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    pointer-events: auto;
}

.smk-hero-counter {
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.smk-hero-progress-track {
    width: min(200px, 36vw);
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.24);
    overflow: hidden;
}

.smk-hero-progress-fill {
    width: 100%;
    height: 100%;
    background: #ffffff;
    transform-origin: left center;
    transform: scaleX(0);
}

.smk-hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 180ms var(--ease-out-expo), border-color 180ms var(--ease-out-expo);
}

.smk-hero-arrow:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

@media (max-width: 767.98px) {
    .smk-hero-slide {
        min-height: 480px;
        padding: 48px 0 108px;
    }
    .smk-hero-controls {
        bottom: 22px;
    }
}

/* Key Facts Band */
.smk-facts-band {
    padding: 18px 0 40px;
}

.smk-fact-item {
    background: #ffffff;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    height: 100%;
}

.smk-fact-val {
    font-size: clamp(1.65rem, 2.8vw, 2.25rem);
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.1;
    margin-bottom: 6px;
}

.smk-fact-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Quick Access Strip */
.smk-quick-strip {
    position: relative;
    z-index: 10;
    margin-top: -36px;
    margin-bottom: 24px;
}

@media (max-width: 767.98px) {
    .smk-quick-strip {
        margin-top: 18px;
    }
}

.smk-quick-grid {
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    padding: 8px;
}

.smk-quick-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    transition: background-color 160ms var(--ease-out-expo);
    height: 100%;
}

.smk-quick-item:hover {
    background-color: var(--surface-subtle);
}

.smk-quick-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--surface-subtle);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-hairline);
}

.smk-quick-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.smk-quick-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   Sections & Inner Page Headers
   ========================================================================== */
.smk-section {
    padding: 72px 0;
}

.smk-section-alt {
    background-color: #ffffff;
    border-top: 1px solid var(--border-hairline);
    border-bottom: 1px solid var(--border-hairline);
}

.smk-section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 36px;
}

.smk-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
    margin-bottom: 6px;
}

.smk-section-title {
    font-size: clamp(1.5rem, 2.5vw, 2.125rem);
    font-weight: 700;
    margin-bottom: 6px;
}

.smk-section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 58ch;
}

.smk-page-header {
    background-color: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.smk-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.06), transparent 55%);
    pointer-events: none;
}

.smk-page-title {
    color: #ffffff;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.smk-page-lead {
    color: rgba(248, 250, 252, 0.78);
    font-size: 1rem;
    max-width: 62ch;
    margin: 0;
}

.smk-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    font-size: 0.8125rem;
    color: rgba(248, 250, 252, 0.65);
}

.smk-breadcrumb a {
    color: rgba(248, 250, 252, 0.82);
}

.smk-breadcrumb a:hover {
    color: #ffffff;
}

.smk-breadcrumb-sep {
    opacity: 0.45;
}

/* ==========================================================================
   Cards, Media & Grids
   ========================================================================== */
.smk-card {
    background-color: var(--surface-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 200ms var(--ease-out-expo),
                border-color 200ms var(--ease-out-expo),
                box-shadow 200ms var(--ease-out-expo);
}

.smk-card-interactive:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-hover);
}

.smk-card-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background-color: var(--surface-subtle);
    overflow: hidden;
}

.smk-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 360ms var(--ease-out-expo);
}

.smk-card-interactive:hover .smk-card-thumb img {
    transform: scale(1.03);
}

.smk-card-badge-float {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.smk-card-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.smk-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.smk-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.38;
    margin-bottom: 10px;
}

.smk-card-title a {
    color: var(--text-primary);
}

.smk-card-title a:hover {
    color: var(--brand-primary);
}

.smk-card-excerpt {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.smk-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-hairline);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Headmaster Section */
.smk-headmaster-photo-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: var(--surface-subtle);
    aspect-ratio: 4 / 5;
    max-width: 400px;
}

.smk-headmaster-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.smk-headmaster-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 18px;
    background: var(--surface-subtle);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
}

/* Testimonials */
.smk-testimonial-card {
    background: var(--surface-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.smk-testimonial-quote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.smk-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.smk-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-strong);
    background: var(--surface-subtle);
    flex-shrink: 0;
}

.js-testimonial-swiper .swiper-slide {
    display: flex;
    height: auto;
}

.js-testimonial-swiper .smk-testimonial-card {
    width: 100%;
}

.js-testimonial-swiper .swiper-pagination-bullet {
    background: var(--border-strong);
    opacity: 1;
    transition: width 200ms var(--ease-out-expo), background-color 200ms var(--ease-out-expo);
}

.js-testimonial-swiper .swiper-pagination-bullet-active {
    background: var(--brand-primary);
    width: 22px;
    border-radius: 99px;
}

/* ==========================================================================
   Rich Prose & Content Wrapper
   ========================================================================== */
.smk-surface-panel {
    background: var(--surface-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 40px);
}

.smk-prose {
    color: var(--text-secondary);
    font-size: 1.025rem;
    line-height: 1.78;
}

.smk-prose p {
    margin-bottom: 1.25rem;
    text-align: left !important;
}

.smk-prose h1,
.smk-prose h2,
.smk-prose h3,
.smk-prose h4 {
    color: var(--text-primary);
    margin-top: 1.85rem;
    margin-bottom: 0.75rem;
}

.smk-prose ul,
.smk-prose ol {
    padding-left: 1.4rem;
    margin-bottom: 1.25rem;
}

.smk-prose li {
    margin-bottom: 0.45rem;
}

.smk-prose img {
    border-radius: var(--radius-md);
    margin: 1.25rem 0;
    max-width: 100%;
    height: auto;
}

.smk-prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.smk-prose table th,
.smk-prose table td {
    border: 1px solid var(--border-strong);
    padding: 10px 14px;
}

.smk-prose blockquote {
    border-left: 3px solid var(--brand-primary);
    padding: 12px 20px;
    margin: 1.5rem 0;
    background: var(--surface-subtle);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-primary);
}

/* Structured Lists (Visi Misi, Karakter, Kompetensi) */
.smk-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--surface-subtle);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
}

.smk-feature-num {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-xs);
    background: #ffffff;
    color: var(--brand-primary);
    border: 1px solid var(--border-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Sidebar Widgets */
.smk-sidebar-card {
    background: var(--surface-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    padding: 22px;
    margin-bottom: 20px;
}

.smk-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-hairline);
}

.smk-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.smk-sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: var(--radius-xs);
    font-size: 0.9125rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: background-color 140ms var(--ease-out-expo), color 140ms var(--ease-out-expo);
}

.smk-sidebar-nav a:hover {
    background: var(--surface-subtle);
    color: var(--text-primary);
}

.smk-sidebar-nav a.is-active {
    background: var(--brand-primary);
    color: #ffffff;
    font-weight: 600;
}

.smk-mini-post {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-hairline);
}

.smk-mini-post:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.smk-mini-post-thumb {
    width: 68px;
    height: 52px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--surface-subtle);
}

.smk-mini-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smk-mini-post-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 2px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Social Share Buttons */
.smk-share-list,
#social-links ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.smk-share-btn,
#social-links ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--border-strong);
    color: #334155;
    font-size: 1rem;
    transition: background-color 180ms var(--ease-out-expo),
                border-color 180ms var(--ease-out-expo),
                color 180ms var(--ease-out-expo),
                transform 180ms var(--ease-out-expo),
                box-shadow 180ms var(--ease-out-expo);
}

.smk-share-btn:hover,
#social-links ul li a:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.smk-share-wa:hover {
    background: #25D366;
    border-color: #25D366;
}

.smk-share-fb:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.smk-share-x:hover {
    background: #0F172A;
    border-color: #0F172A;
}

.smk-share-tg:hover {
    background: #0088CC;
    border-color: #0088CC;
}

/* Forms */
.smk-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.smk-input,
.smk-textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.9375rem;
    color: var(--text-primary);
    background-color: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    transition: border-color 160ms var(--ease-out-expo), box-shadow 160ms var(--ease-out-expo);
}

.smk-input:focus,
.smk-textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.16);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 18%, transparent);
}

.smk-textarea {
    min-height: 140px;
    resize: vertical;
}

/* Pagination */
.pagination {
    gap: 6px;
    flex-wrap: wrap;
}

.pagination .page-link {
    border-radius: var(--radius-xs) !important;
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
}

.pagination .page-item.active .page-link {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
}

.pagination .page-link:hover {
    background-color: var(--surface-subtle);
    color: var(--brand-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.smk-footer {
    background-color: var(--footer-bg-color, #0f172a);
    color: rgba(248, 250, 252, 0.76);
    padding-top: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.smk-footer-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.smk-footer-desc,
.smk-footer-desc p {
    font-size: 0.9125rem;
    line-height: 1.65;
    color: rgba(248, 250, 252, 0.74);
    text-align: left !important;
}

.smk-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.smk-footer-links a {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.74);
    transition: color 150ms var(--ease-out-expo);
}

.smk-footer-links a:hover {
    color: #ffffff;
}

.smk-social-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.smk-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #ffffff;
    transition: background-color 180ms var(--ease-out-expo),
                border-color 180ms var(--ease-out-expo),
                transform 180ms var(--ease-out-expo),
                box-shadow 180ms var(--ease-out-expo);
}

.smk-social-btn:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.smk-social-fb:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.smk-social-ig:hover {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%);
    border-color: transparent;
}

.smk-social-yt:hover {
    background: #FF0000;
    border-color: #FF0000;
}

.smk-social-wa:hover {
    background: #25D366;
    border-color: #25D366;
}

.smk-footer-bottom {
    margin-top: 48px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    color: rgba(248, 250, 252, 0.6);
}

.smk-footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.smk-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.885rem;
    line-height: 1.5;
    color: rgba(248, 250, 252, 0.78);
}

.smk-footer-contact-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: rgba(248, 250, 252, 0.56);
}

.smk-footer-contact-list li a:hover {
    color: #ffffff;
}

.smk-footer-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background-color 160ms var(--ease-out-expo), border-color 160ms var(--ease-out-expo);
}

.smk-footer-map-btn:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
}

.smk-footer-bottom-link {
    color: rgba(248, 250, 252, 0.72);
}

.smk-footer-bottom-link:hover {
    color: #ffffff;
}

/* ==========================================================================
   Back-to-Top & Lightbox Modal
   ========================================================================== */
.smk-backtotop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1020;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--text-primary);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-float);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 200ms var(--ease-out-expo),
                transform 200ms var(--ease-out-expo),
                background-color 160ms var(--ease-out-expo),
                visibility 200ms;
}

.smk-backtotop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.smk-backtotop:hover {
    background: var(--brand-primary);
}

/* Lightbox */
.smk-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2050;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms var(--ease-out-expo), visibility 200ms;
}

.smk-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.smk-lightbox-figure {
    max-width: min(1040px, 92vw);
    max-height: 86vh;
    margin: 0;
    text-align: center;
    position: relative;
}

.smk-lightbox-img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: var(--radius-sm);
    object-fit: contain;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.smk-lightbox-caption {
    margin-top: 12px;
    color: rgba(248, 250, 252, 0.88);
    font-size: 0.9375rem;
    font-weight: 500;
}

.smk-lightbox-close,
.smk-lightbox-prev,
.smk-lightbox-next {
    position: fixed;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 160ms var(--ease-out-expo);
}

.smk-lightbox-close:hover,
.smk-lightbox-prev:hover,
.smk-lightbox-next:hover {
    background: var(--brand-primary);
}

.smk-lightbox-close { top: 20px; right: 20px; }
.smk-lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.smk-lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Announcement Flyer Modal (auto-fit image aspect ratio without empty gaps) */
.smk-flyer-dialog {
    width: fit-content;
    max-width: min(92vw, 760px);
    margin: 1.25rem auto;
}

.smk-flyer-content {
    position: relative;
    width: fit-content;
    max-width: 100%;
    background: #ffffff;
    border: 0;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.36);
}

.smk-flyer-img {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(92vw - 16px);
    max-height: 84vh;
    border-radius: 11px;
}

.smk-flyer-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid var(--border-strong);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 160ms var(--ease-out-expo),
                color 160ms var(--ease-out-expo),
                border-color 160ms var(--ease-out-expo),
                transform 160ms var(--ease-out-expo);
}

.smk-flyer-close:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
    transform: scale(1.06);
}

@media (max-width: 575.98px) {
    .smk-flyer-close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
    }
}

/* ==========================================================================
   Motion System + Landing Sections (Bento, Mosaic, Tabs, Pre-Footer CTA)
   Default content stays visible if scripts fail; fallback applies only
   under html.no-gsap when GSAP CDN cannot load.
   ========================================================================== */

/* Headmaster Balanced Tabs */
.smk-editorial-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 5px;
    background: var(--surface-subtle);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
}

.smk-editorial-tabs .nav-link {
    border: 0;
    border-radius: 7px;
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    transition: background-color 180ms var(--ease-out-expo), color 180ms var(--ease-out-expo);
}

.smk-editorial-tabs .nav-link.active {
    background: #ffffff;
    color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.smk-editorial-panel {
    display: none;
}

.smk-editorial-panel.is-active {
    display: block;
    animation: smkTabFadeIn 260ms var(--ease-out-expo) both;
}

@keyframes smkTabFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Asymmetric Bento News */
.smk-bento-lead .smk-card-thumb {
    aspect-ratio: 16 / 10;
}

.smk-bento-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    justify-content: flex-start;
}

.smk-bento-item {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 16px;
    padding: 14px;
    background: var(--surface-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    transition: border-color 180ms var(--ease-out-expo),
                transform 200ms var(--ease-out-expo),
                box-shadow 200ms var(--ease-out-expo);
}

.smk-bento-item:hover {
    border-color: var(--border-strong);
    transform: translateX(4px);
    box-shadow: var(--shadow-hover);
}

.smk-bento-thumb {
    width: 112px;
    height: 82px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--surface-subtle);
}

.smk-bento-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms var(--ease-out-expo);
}

.smk-bento-item:hover .smk-bento-thumb img {
    transform: scale(1.05);
}

.smk-bento-body {
    min-width: 0;
    flex: 1;
}

.smk-bento-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.smk-bento-title {
    font-size: 0.985rem;
    font-weight: 600;
    line-height: 1.38;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smk-bento-title a:hover {
    color: var(--brand-primary);
}

/* Editorial Gallery Mosaic */
.smk-mosaic-lead,
.smk-mosaic-card {
    position: relative;
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-hairline);
    background: #0f172a;
}

.smk-mosaic-lead {
    height: 100%;
    min-height: 280px;
    aspect-ratio: 16 / 10;
}

.smk-mosaic-card {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 200px;
}

@media (min-width: 992px) {
    .smk-mosaic-lead {
        aspect-ratio: auto;
        min-height: 360px;
    }

    .smk-mosaic-card {
        aspect-ratio: auto;
        min-height: 195px;
        height: 100%;
    }
}

.smk-mosaic-lead img,
.smk-mosaic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms var(--ease-out-expo);
}

.smk-mosaic-lead:hover img,
.smk-mosaic-card:hover img {
    transform: scale(1.04);
}

.smk-mosaic-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 35%, rgba(15, 23, 42, 0.88) 100%);
}

.smk-mosaic-overlay-sm {
    padding: 16px;
}

.smk-mosaic-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 6px;
}

.smk-mosaic-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smk-mosaic-title-sm {
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Testimonial Circle Controls */
.smk-circle-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: #ffffff;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 160ms var(--ease-out-expo), border-color 160ms var(--ease-out-expo), color 160ms var(--ease-out-expo);
}

.smk-circle-nav:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
}

/* Pre-Footer CTA Band */
.smk-cta-band {
    padding: 24px 0 72px;
}

.smk-cta-box {
    background-color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4.5vw, 48px);
}

.smk-cta-title {
    color: #ffffff;
    font-size: clamp(1.375rem, 2.4vw, 1.9rem);
    font-weight: 700;
    margin-bottom: 10px;
}

.smk-cta-desc {
    color: rgba(248, 250, 252, 0.78);
    font-size: 0.975rem;
    max-width: 60ch;
}

/* Scroll progress (top edge) */
.smk-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1100;
    background: var(--brand-primary);
    transform: scaleX(0);
    transform-origin: left center;
    pointer-events: none;
}

/* CSS Bidirectional Fallback (aktif hanya jika GSAP gagal termuat: html.no-gsap) */
html.no-gsap [data-motion="section-header"],
html.no-gsap [data-motion="fade-up"],
html.no-gsap [data-motion="footer-reveal"],
html.no-gsap [data-motion="stagger-item"],
html.no-gsap [data-motion="footer-col"],
html.no-gsap [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 520ms var(--ease-out-expo), transform 520ms var(--ease-out-expo);
}

html.no-gsap [data-motion="slide-left"],
html.no-gsap [data-reveal="left"] {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity 560ms var(--ease-out-expo), transform 560ms var(--ease-out-expo);
}

html.no-gsap [data-motion="slide-right"],
html.no-gsap [data-reveal="right"] {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 560ms var(--ease-out-expo), transform 560ms var(--ease-out-expo);
}

html.no-gsap [data-motion="curtain"] {
    clip-path: inset(0% 0% 14% 0%);
    opacity: 0.25;
    transform: scale(1.04);
    transition: clip-path 620ms var(--ease-out-expo), opacity 520ms var(--ease-out-expo), transform 620ms var(--ease-out-expo);
}

html.no-gsap [data-motion].is-inview,
html.no-gsap [data-reveal].is-revealed {
    opacity: 1 !important;
    transform: none !important;
    clip-path: inset(0% 0% 0% 0%) !important;
}

/* Mobile drawer stagger base */
.smk-mobile-stagger {
    transition: opacity 260ms var(--ease-out-expo), transform 260ms var(--ease-out-expo);
}

/* Hero initial keyframes for immediate first-paint before JS takes over */
@keyframes smkRise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.js-hero-swiper:not(.swiper-initialized) .swiper-slide:first-child [data-hero-anim] {
    animation: smkRise 620ms var(--ease-out-expo) both;
}

.smk-hero-bg {
    will-change: transform;
}

.smk-quick-icon {
    transition: background-color 180ms var(--ease-out-expo), color 180ms var(--ease-out-expo), transform 220ms var(--ease-out-expo);
}

.smk-quick-item:hover .smk-quick-icon {
    background-color: var(--brand-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Arrow nudge on buttons and card links */
.smk-btn [aria-hidden="true"] {
    display: inline-block;
    transition: transform 200ms var(--ease-out-expo);
}

.smk-btn:hover [aria-hidden="true"] {
    transform: translateX(4px);
}

.smk-card-footer a {
    transition: letter-spacing 200ms var(--ease-out-expo), color 160ms var(--ease-out-expo);
}

/* Card photo placeholder when a major has no usable image */
.smk-thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--surface-subtle);
    border-bottom: 1px solid var(--border-hairline);
    color: var(--brand-primary);
    font-family: var(--font-mono);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* Testimonial initials avatar */
.smk-avatar-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-subtle);
    border: 1px solid var(--border-strong);
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }
    html.js-anim [data-reveal],
    html.no-gsap [data-motion] {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }
    .smk-progress { display: none; }
}

/* ---------- Berita & Artikel Enhancements (Search, Featured, Nav, Copy Link) ---------- */
.smk-search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    background: var(--surface, #ffffff);
    border: 1px solid var(--border-subtle, rgba(15, 23, 42, 0.08));
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.smk-search-input-wrap {
    position: relative;
    flex: 1 1 260px;
    display: flex;
    align-items: center;
}

.smk-search-input-wrap input {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 0.925rem;
    color: var(--ink-primary, #0F172A);
    background: var(--surface-subtle, #F8FAFC);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.smk-search-input-wrap input:focus {
    outline: none;
    background: #FFFFFF;
    border-color: var(--brand-primary, #045937);
    box-shadow: 0 0 0 3px rgba(4, 89, 55, 0.12);
}

.smk-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    background: var(--surface, #FFFFFF);
    border: 1px solid var(--border-subtle, rgba(15, 23, 42, 0.08));
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
    .smk-featured-card {
        grid-template-columns: 1fr;
    }
}

.smk-featured-media {
    position: relative;
    min-height: 280px;
    background: var(--surface-subtle, #F1F5F9);
    overflow: hidden;
}

.smk-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.smk-featured-card:hover .smk-featured-media img {
    transform: scale(1.03);
}

.smk-featured-body {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.smk-tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #F1F5F9;
    color: #334155;
    text-decoration: none;
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: all 0.15s ease;
}

.smk-tag-chip:hover,
.smk-tag-chip.is-active {
    background: var(--brand-primary, #045937);
    color: #FFFFFF;
    border-color: var(--brand-primary, #045937);
}

.smk-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 9px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #FFFFFF;
    color: #1E293B;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.smk-copy-btn:hover {
    background: #F8FAFC;
    border-color: var(--brand-primary, #045937);
    color: var(--brand-primary, #045937);
}

.smk-copy-btn.is-copied {
    background: #E8F3EE;
    border-color: var(--brand-primary, #045937);
    color: var(--brand-primary, #045937);
}

.smk-post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

@media (max-width: 767.98px) {
    .smk-post-nav {
        grid-template-columns: 1fr;
    }
}

.smk-post-nav-item {
    display: block;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle, rgba(15, 23, 42, 0.08));
    background: var(--surface, #FFFFFF);
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.smk-post-nav-item:hover {
    border-color: var(--brand-primary, #045937);
    transform: translateY(-2px);
}

.smk-post-nav-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 4px;
}

.smk-post-nav-title {
    display: block;
    font-size: 0.925rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.35;
}

/* ---------- Editorial Magazine Reader & Rich Content Blocks ---------- */
.smk-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--brand-primary, #045937);
    z-index: 1080;
    transition: width 80ms linear;
}

.smk-article-deck {
    font-size: 1.125rem;
    line-height: 1.55;
    color: #475569;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.smk-event-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #F0FDF4;
    border: 1px solid rgba(4, 89, 55, 0.18);
    color: #065F46;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.smk-figure-caption {
    font-size: 0.82rem;
    color: #64748B;
    font-style: italic;
    padding: 8px 14px;
    background: var(--surface-subtle, #F8FAFC);
    border-top: 1px solid var(--border-subtle, rgba(15, 23, 42, 0.08));
}

.smk-font-controls {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    background: #F1F5F9;
    padding: 3px;
    border-radius: 8px;
}

.smk-font-btn {
    border: none;
    background: transparent;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
}

.smk-font-btn.is-active {
    background: #FFFFFF;
    color: var(--brand-primary, #045937);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.smk-prose.font-sm { font-size: 0.94rem; }
.smk-prose.font-md { font-size: 1.03rem; }
.smk-prose.font-lg { font-size: 1.14rem; }

.smk-toc-box {
    background: #F8FAFC;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 1.75rem;
}

.smk-toc-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
}

.smk-toc-list {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.875rem;
}

.smk-toc-list a {
    color: var(--brand-primary, #045937);
    text-decoration: none;
    font-weight: 500;
}

.smk-toc-list a:hover {
    text-decoration: underline;
}

.smk-toc-list li.is-h3 {
    margin-left: 14px;
    font-size: 0.83rem;
}

.smk-article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.smk-article-gallery-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    aspect-ratio: 4 / 3;
    background: #F1F5F9;
    cursor: pointer;
}

.smk-article-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.smk-article-gallery-item:hover img {
    transform: scale(1.04);
}

.smk-attachment-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    background: #F8FAFC;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.smk-callout-info,
.smk-callout-achievement,
.smk-editorial-quote,
.smk-editorial-checklist {
    border-radius: 12px;
    padding: 16px 20px;
    margin: 1.4rem 0;
}

.smk-callout-info {
    background: #EFF6FF;
    border-left: 4px solid #0284C7;
    color: #0F172A;
}

.smk-callout-achievement {
    background: #FEF3C7;
    border-left: 4px solid #D97706;
    color: #0F172A;
}

.smk-editorial-quote {
    background: #F8FAFC;
    border-left: 4px solid var(--brand-primary, #045937);
    font-style: italic;
    color: #1E293B;
}

.smk-editorial-checklist {
    background: #F0FDF4;
    border: 1px solid rgba(4, 89, 55, 0.16);
}

.smk-editorial-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4rem 0;
    font-size: 0.92rem;
}

.smk-editorial-table th,
.smk-editorial-table td {
    border: 1px solid rgba(15, 23, 42, 0.12);
    padding: 10px 14px;
    text-align: left;
}

.smk-editorial-table th {
    background: #F8FAFC;
    font-weight: 700;
}

/* ==========================================================================
   Mobile UI/UX Comprehensive Polish (<= 767.98px & <= 575.98px)
   ========================================================================== */
@media (max-width: 767.98px) {
    .smk-navbar-inner {
        min-height: 60px;
        gap: 10px;
    }

    .smk-navbar.is-scrolled .smk-navbar-inner {
        min-height: 56px;
    }

    .smk-brand {
        gap: 9px;
    }

    .smk-brand img {
        width: 34px;
        height: 34px;
    }

    .smk-brand-name {
        font-size: 0.94rem;
    }

    .smk-brand-sub {
        font-size: 0.67rem;
    }

    .smk-hero-slide {
        min-height: 430px;
        padding: 36px 0 92px;
    }

    .smk-hero-scrim {
        background: linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.72) 0%,
            rgba(15, 23, 42, 0.86) 62%,
            rgba(15, 23, 42, 0.94) 100%
        );
    }

    .smk-hero-title {
        font-size: clamp(1.75rem, 6.4vw, 2.25rem);
        margin-bottom: 12px;
    }

    .smk-hero-desc {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .smk-section {
        padding: 44px 0;
    }

    .smk-section-header {
        margin-bottom: 22px;
        gap: 12px;
    }

    .smk-section-subtitle {
        font-size: 0.9375rem;
    }

    .smk-facts-band {
        padding: 12px 0 28px;
    }

    .smk-fact-item {
        padding: 14px;
    }

    .smk-fact-label {
        font-size: 0.8125rem;
    }

    .smk-headmaster-photo-wrap {
        max-width: 220px;
    }

    .smk-headmaster-badge {
        margin-top: 14px;
        padding: 10px 14px;
    }

    .smk-editorial-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .smk-editorial-tabs .nav-link {
        text-align: center;
        padding: 9px 10px;
        font-size: 0.8125rem;
    }

    .smk-card-body {
        padding: 16px 18px 18px;
    }

    .smk-testimonial-card {
        padding: 20px;
    }

    .smk-mosaic-lead {
        min-height: 220px;
    }

    .smk-mosaic-card {
        min-height: 140px;
    }

    .smk-mosaic-overlay {
        padding: 18px;
    }

    .smk-mosaic-overlay-sm {
        padding: 12px;
    }

    .smk-mosaic-title-sm {
        font-size: 0.84rem;
    }

    .smk-cta-band {
        padding: 12px 0 44px;
    }

    .smk-cta-box {
        padding: 24px 20px;
    }

    .smk-footer {
        padding-top: 44px;
    }

    .smk-footer-bottom {
        margin-top: 32px;
        padding: 18px 0;
    }

    .smk-backtotop {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 575.98px) {
    .smk-hero-actions {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 10px !important;
        width: 100%;
    }

    .smk-hero-actions .smk-btn {
        width: 100%;
    }

    .smk-quick-strip {
        margin-top: 14px;
        margin-bottom: 14px;
    }

    .smk-quick-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }

    .smk-quick-icon {
        width: 36px;
        height: 36px;
    }

    .smk-quick-title {
        font-size: 0.875rem;
    }

    .smk-quick-sub {
        font-size: 0.75rem;
        line-height: 1.35;
    }

    .smk-bento-item {
        padding: 12px;
        gap: 12px;
    }

    .smk-bento-thumb {
        width: 88px;
        height: 72px;
    }

    .smk-bento-title {
        font-size: 0.9125rem;
    }

    .smk-cta-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px !important;
        width: 100%;
    }

    .smk-cta-actions .smk-btn:first-child {
        grid-column: 1 / -1;
        width: 100%;
    }

    .smk-cta-actions .smk-btn {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 0.85rem;
    }
}
