@import url("fonts.css");

/* =========================================================
 CULTURA Education - Design System
 Premium cultural education institute template
 ========================================================= */

:root {
 /* Brand */
 --ink: #0e1a16;
 --ink-soft: #24352f;
 --pine: #1a4d3e;
 --pine-deep: #0f3329;
 --gold: #c4a35a;
 --gold-bright: #d4b56a;
 --ember: #b85c38;
 --mist: #eef2f0;
 --paper: #f7f9f8;
 --white: #ffffff;
 --line: rgba(14, 26, 22, 0.1);
 --line-strong: rgba(14, 26, 22, 0.18);
 --muted: #5c6f67;
 --success: #2f7d5a;
 --danger: #b33a3a;

 /* Surfaces */
 --bg: var(--paper);
 --bg-elevated: var(--white);
 --bg-tint: #e4ebe7;
 --text: var(--ink);
 --text-muted: var(--muted);
 --accent: var(--gold);
 --accent-text: var(--pine-deep);

 /* Type */
 --font-display: "Fraunces", Georgia, serif;
 --font-body: "Manrope", system-ui, sans-serif;
 --fs-xs: clamp(0.72rem, 0.7rem + 0.1vw, 0.8rem);
 --fs-sm: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
 --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
 --fs-md: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
 --fs-lg: clamp(1.5rem, 1.2rem + 1vw, 2rem);
 --fs-xl: clamp(2.2rem, 1.5rem + 2.5vw, 3.75rem);
 --fs-hero: clamp(2.8rem, 1.8rem + 4vw, 5.5rem);

 /* Layout */
 --max: 1240px;
 --gutter: clamp(1.25rem, 4vw, 3rem);
 --radius: 1.25rem;
 --radius-sm: 0.75rem;
 --radius-lg: 2rem;
 --nav-h: 4.5rem;
 --shadow: 0 20px 50px rgba(14, 26, 22, 0.08);
 --shadow-lg: 0 30px 80px rgba(14, 26, 22, 0.14);
 --ease: cubic-bezier(0.22, 1, 0.36, 1);
 --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
 scroll-behavior: smooth;
 scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
 font-family: var(--font-body);
 font-size: var(--fs-base);
 line-height: 1.65;
 color: var(--text);
 background: var(--bg);
 -webkit-font-smoothing: antialiased;
 text-rendering: optimizeLegibility;
 overflow-x: hidden;
}

img,
video {
 max-width: 100%;
 display: block;
 height: auto;
}

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

button,
input,
select,
textarea {
 font: inherit;
 color: inherit;
}

ul,
ol {
 list-style: none;
}

.container {
 width: min(100% - (var(--gutter) * 2), var(--max));
 margin-inline: auto;
}

.container-wide {
 width: min(100% - (var(--gutter) * 2), 1440px);
 margin-inline: auto;
}

/* Typography */
.display {
 font-family: var(--font-display);
 font-weight: 500;
 letter-spacing: -0.03em;
 line-height: 1.05;
}

.eyebrow {
 display: inline-flex;
 align-items: center;
 gap: 0.65rem;
 font-size: var(--fs-xs);
 font-weight: 600;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: var(--pine);
}

.eyebrow::before {
 content: "";
 width: 1.4rem;
 height: 2px;
 background: var(--gold);
 border-radius: 99px;
}

.lede {
 font-size: var(--fs-md);
 color: var(--text-muted);
 line-height: 1.7;
 max-width: 38rem;
}

.muted {
 color: var(--text-muted);
}

.text-center {
 text-align: center;
}

.text-center .lede {
 margin-inline: auto;
}

/* Buttons */
.btn {
 --btn-bg: var(--pine);
 --btn-fg: var(--white);
 --btn-bd: transparent;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.55rem;
 min-height: 3.1rem;
 padding: 0.85rem 1.55rem;
 border-radius: 999px;
 border: 1px solid var(--btn-bd);
 background: var(--btn-bg);
 color: var(--btn-fg);
 font-weight: 600;
 font-size: var(--fs-sm);
 letter-spacing: 0.01em;
 cursor: pointer;
 transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
 white-space: nowrap;
}

.btn:hover {
 transform: translateY(-2px);
 box-shadow: 0 12px 30px rgba(26, 77, 62, 0.22);
}

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

.btn-gold {
 --btn-bg: var(--gold);
 --btn-fg: var(--pine-deep);
}

.btn-gold:hover {
 background: var(--gold-bright);
 box-shadow: 0 12px 30px rgba(196, 163, 90, 0.35);
}

.btn-outline {
 --btn-bg: transparent;
 --btn-fg: var(--ink);
 --btn-bd: var(--line-strong);
}

.btn-outline:hover {
 --btn-bg: var(--ink);
 --btn-fg: var(--white);
 box-shadow: none;
}

.btn-ghost {
 --btn-bg: rgba(255, 255, 255, 0.12);
 --btn-fg: var(--white);
 --btn-bd: rgba(255, 255, 255, 0.24);
 backdrop-filter: blur(10px);
}

.btn-ghost:hover {
 --btn-bg: rgba(255, 255, 255, 0.22);
 box-shadow: none;
}

.btn-light {
 --btn-bg: var(--white);
 --btn-fg: var(--pine-deep);
}

.btn-sm {
 min-height: 2.5rem;
 padding: 0.55rem 1.1rem;
 font-size: var(--fs-xs);
}

.btn-row {
 display: flex;
 flex-wrap: wrap;
 gap: 0.85rem;
}

/* Section helpers */
.section {
 padding: clamp(4.5rem, 8vw, 7.5rem) 0;
 position: relative;
}

.section-sm {
 padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.section-head {
 display: grid;
 gap: 1rem;
 margin-bottom: clamp(2rem, 4vw, 3.5rem);
 max-width: 40rem;
}

.section-head.center {
 margin-inline: auto;
 text-align: center;
 place-items: center;
}

.section-head h2 {
 font-family: var(--font-display);
 font-size: var(--fs-xl);
 font-weight: 500;
 letter-spacing: -0.03em;
 line-height: 1.1;
}

.grid-2 {
 display: grid;
 gap: clamp(1.5rem, 3vw, 2.5rem);
 grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid-4 {
 display: grid;
 gap: 1.25rem;
 grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
 .grid-4,
 .grid-3 {
 grid-template-columns: repeat(2, minmax(0, 1fr));
 }
}

@media (max-width: 720px) {
 .grid-2,
 .grid-3,
 .grid-4 {
 grid-template-columns: 1fr;
 }
}

/* ================= NAV ================= */
.site-header {
 position: fixed;
 inset: 0 0 auto 0;
 z-index: 1000;
 height: var(--nav-h);
 transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.solid {
 background: rgba(247, 249, 248, 0.9);
 backdrop-filter: blur(16px);
 box-shadow: 0 1px 0 var(--line);
}

.site-header.on-dark:not(.is-scrolled):not(.solid) .brand,
.site-header.on-dark:not(.is-scrolled):not(.solid) .nav-link,
.site-header.on-dark:not(.is-scrolled):not(.solid) .nav-toggle span {
 color: var(--white);
}

.site-header.on-dark:not(.is-scrolled):not(.solid) .nav-toggle span {
 background: var(--white);
}

.nav-inner {
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 1.5rem;
}

.brand {
 display: inline-flex;
 align-items: center;
 gap: 0.7rem;
 font-family: var(--font-display);
 font-size: 1.35rem;
 font-weight: 600;
 letter-spacing: -0.02em;
 color: var(--ink);
 z-index: 1001;
}

.brand-mark {
 width: 2rem;
 height: 2rem;
 border-radius: 0.55rem;
 background: linear-gradient(135deg, var(--pine) 0%, var(--pine-deep) 100%);
 display: grid;
 place-items: center;
 color: var(--gold);
 font-size: 0.85rem;
 font-weight: 700;
}

.nav-links {
 display: flex;
 align-items: center;
 gap: 0.15rem;
}

.nav-link {
 position: relative;
 padding: 0.55rem 0.85rem;
 font-size: var(--fs-sm);
 font-weight: 500;
 color: var(--ink-soft);
 border-radius: 999px;
 transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
 color: var(--pine);
 background: rgba(26, 77, 62, 0.08);
}

.nav-cta {
 display: flex;
 align-items: center;
 gap: 0.65rem;
}

.nav-toggle {
 display: none;
 width: 2.75rem;
 height: 2.75rem;
 border: 1px solid var(--line-strong);
 border-radius: 999px;
 background: transparent;
 place-items: center;
 cursor: pointer;
 z-index: 1001;
}

.nav-toggle span {
 display: block;
 width: 1.1rem;
 height: 1.5px;
 background: var(--ink);
 border-radius: 99px;
 transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle span + span {
 margin-top: 4px;
}

.nav-toggle.is-open span:nth-child(1) {
 transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
 opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
 transform: translateY(-5.5px) rotate(-45deg);
}

@media (max-width: 980px) {
 .nav-toggle {
 display: grid;
 }

 .nav-links,
 .nav-cta .btn {
 display: none;
 }

 .nav-drawer {
 position: fixed;
 inset: 0;
 background: rgba(14, 26, 22, 0.45);
 opacity: 0;
 pointer-events: none;
 transition: opacity 0.35s var(--ease);
 z-index: 999;
 }

 .nav-drawer.is-open {
 opacity: 1;
 pointer-events: auto;
 }

 .nav-panel {
 position: absolute;
 top: 0;
 right: 0;
 width: min(88vw, 360px);
 height: 100%;
 background: var(--white);
 padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
 transform: translateX(100%);
 transition: transform 0.4s var(--ease-out);
 display: flex;
 flex-direction: column;
 gap: 0.35rem;
 box-shadow: var(--shadow-lg);
 }

 .nav-drawer.is-open .nav-panel {
 transform: translateX(0);
 }

 .nav-panel a {
 padding: 0.95rem 0.85rem;
 border-radius: var(--radius-sm);
 font-weight: 600;
 color: var(--ink);
 }

 .nav-panel a:hover,
 .nav-panel a.is-active {
 background: var(--mist);
 color: var(--pine);
 }

 .nav-panel .btn {
 margin-top: 1rem;
 width: 100%;
 }
}

@media (min-width: 981px) {
 .nav-drawer {
 display: none;
 }
}

/* ================= HERO ================= */
.hero {
 position: relative;
 min-height: 100vh;
 min-height: 100dvh;
 display: grid;
 align-items: end;
 color: var(--white);
 overflow: hidden;
 isolation: isolate;
}

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

.hero-media img,
.hero-media video {
 width: 100%;
 height: 100%;
 object-fit: cover;
}

.hero-overlay {
 position: absolute;
 inset: 0;
 z-index: -1;
 background:
 linear-gradient(180deg, rgba(14, 26, 22, 0.35) 0%, rgba(14, 26, 22, 0.15) 35%, rgba(14, 26, 22, 0.78) 100%),
 linear-gradient(90deg, rgba(14, 26, 22, 0.55) 0%, transparent 55%);
}

.hero-content {
 width: min(100% - (var(--gutter) * 2), var(--max));
 margin: 0 auto;
 padding: calc(var(--nav-h) + 3rem) 0 4.5rem;
 display: grid;
 gap: 1.5rem;
 max-width: 52rem;
}

.hero h1 {
 font-family: var(--font-display);
 font-size: var(--fs-hero);
 font-weight: 500;
 letter-spacing: -0.035em;
 line-height: 1.02;
}

.hero .lede {
 color: rgba(255, 255, 255, 0.82);
 max-width: 34rem;
}

.hero-meta {
 display: flex;
 flex-wrap: wrap;
 gap: 1.5rem;
 margin-top: 0.5rem;
 padding-top: 1.5rem;
 border-top: 1px solid rgba(255, 255, 255, 0.18);
 font-size: var(--fs-sm);
 color: rgba(255, 255, 255, 0.72);
}

.hero-meta strong {
 display: block;
 color: var(--white);
 font-size: 1.35rem;
 font-family: var(--font-display);
 font-weight: 500;
 margin-bottom: 0.15rem;
}

.page-hero {
 position: relative;
 padding: calc(var(--nav-h) + 4rem) 0 4rem;
 background: var(--pine-deep);
 color: var(--white);
 overflow: hidden;
}

.page-hero::before {
 content: "";
 position: absolute;
 inset: 0;
 background:
 radial-gradient(ellipse 60% 80% at 90% 20%, rgba(196, 163, 90, 0.18), transparent 60%),
 radial-gradient(ellipse 40% 50% at 10% 90%, rgba(26, 77, 62, 0.5), transparent 55%);
 pointer-events: none;
}

.page-hero .container {
 position: relative;
 display: grid;
 gap: 1rem;
 max-width: 46rem;
}

.page-hero h1 {
 font-family: var(--font-display);
 font-size: var(--fs-xl);
 font-weight: 500;
 letter-spacing: -0.03em;
 line-height: 1.08;
}

.page-hero .lede {
 color: rgba(255, 255, 255, 0.78);
}

.page-hero.has-media {
 min-height: 52vh;
 display: grid;
 align-items: end;
}

.page-hero.has-media .hero-media {
 position: absolute;
 inset: 0;
}

.page-hero.has-media .hero-overlay {
 position: absolute;
 inset: 0;
 background: linear-gradient(180deg, rgba(14, 26, 22, 0.4), rgba(14, 26, 22, 0.85));
}

/* ================= CARDS ================= */
.card-link {
 display: block;
 height: 100%;
}

.edu-card {
 background: var(--bg-elevated);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 overflow: hidden;
 height: 100%;
 display: flex;
 flex-direction: column;
 transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.edu-card:hover {
 transform: translateY(-6px);
 box-shadow: var(--shadow);
 border-color: rgba(26, 77, 62, 0.2);
}

.edu-card-media {
 aspect-ratio: 16 / 11;
 overflow: hidden;
 background: var(--bg-tint);
}

.edu-card-media img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.8s var(--ease-out);
}

.edu-card:hover .edu-card-media img {
 transform: scale(1.06);
}

.edu-card-body {
 padding: 1.5rem 1.5rem 1.65rem;
 display: grid;
 gap: 0.65rem;
 flex: 1;
}

.edu-card-body h3 {
 font-family: var(--font-display);
 font-size: 1.45rem;
 font-weight: 500;
 letter-spacing: -0.02em;
 line-height: 1.2;
}

.edu-card-meta {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
 font-size: var(--fs-xs);
 color: var(--muted);
}

.chip {
 display: inline-flex;
 align-items: center;
 gap: 0.35rem;
 padding: 0.3rem 0.7rem;
 border-radius: 999px;
 background: var(--mist);
 color: var(--pine);
 font-size: var(--fs-xs);
 font-weight: 600;
}

.chip-gold {
 background: rgba(196, 163, 90, 0.18);
 color: #7a5f22;
}

.feature-tile {
 padding: 1.75rem;
 border-radius: var(--radius);
 background: var(--bg-elevated);
 border: 1px solid var(--line);
 display: grid;
 gap: 0.85rem;
 transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.feature-tile:hover {
 border-color: rgba(26, 77, 62, 0.25);
 transform: translateY(-3px);
}

.feature-icon {
 width: 3rem;
 height: 3rem;
 border-radius: 0.9rem;
 display: grid;
 place-items: center;
 background: var(--mist);
 color: var(--pine);
}

.feature-tile h3 {
 font-family: var(--font-display);
 font-size: 1.35rem;
 font-weight: 500;
 letter-spacing: -0.02em;
}

.flag-row {
 display: flex;
 align-items: center;
 gap: 0.65rem;
}

.flag {
 width: 1.5rem;
 height: 1.5rem;
 border-radius: 50%;
 object-fit: cover;
 border: 1px solid var(--line);
}

/* Topic / country blocks */
.topic-panel {
 display: grid;
 grid-template-columns: 1.05fr 0.95fr;
 gap: clamp(2rem, 5vw, 4rem);
 align-items: center;
}

.topic-panel.reverse {
 direction: rtl;
}

.topic-panel.reverse > * {
 direction: ltr;
}

.topic-panel h2 {
 font-family: var(--font-display);
 font-size: var(--fs-lg);
 font-weight: 500;
 letter-spacing: -0.025em;
 line-height: 1.15;
 margin: 0.75rem 0 1rem;
}

.media-frame {
 position: relative;
 border-radius: var(--radius-lg);
 overflow: hidden;
 aspect-ratio: 4 / 5;
 background: var(--bg-tint);
 box-shadow: var(--shadow);
}

.media-frame img,
.media-frame video {
 width: 100%;
 height: 100%;
 object-fit: cover;
}

.media-frame.landscape {
 aspect-ratio: 16 / 10;
}

.media-badge {
 position: absolute;
 top: 1rem;
 left: 1rem;
 display: inline-flex;
 align-items: center;
 gap: 0.45rem;
 padding: 0.45rem 0.85rem;
 border-radius: 999px;
 background: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(8px);
 font-size: var(--fs-xs);
 font-weight: 600;
 color: var(--ink);
}

@media (max-width: 860px) {
 .topic-panel,
 .topic-panel.reverse {
 grid-template-columns: 1fr;
 direction: ltr;
 }
}

/* Marquee / logos */
.marquee-wrap {
 overflow: hidden;
 border-block: 1px solid var(--line);
 background: var(--white);
 padding: 1.25rem 0;
}

.marquee {
 display: flex;
 gap: 3rem;
 width: max-content;
 animation: marquee 35s linear infinite;
 align-items: center;
}

.marquee span {
 font-size: var(--fs-sm);
 font-weight: 600;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--muted);
 white-space: nowrap;
}

@keyframes marquee {
 from { transform: translateX(0); }
 to { transform: translateX(-50%); }
}

/* Stats */
.stats-band {
 background: var(--pine-deep);
 color: var(--white);
 padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.stats-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 2rem;
}

.stat strong {
 display: block;
 font-family: var(--font-display);
 font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem);
 font-weight: 500;
 letter-spacing: -0.03em;
 color: var(--gold);
 line-height: 1;
 margin-bottom: 0.5rem;
}

.stat span {
 font-size: var(--fs-sm);
 color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 800px) {
 .stats-grid {
 grid-template-columns: repeat(2, 1fr);
 }
}

/* Split CTA */
.cta-band {
 position: relative;
 border-radius: var(--radius-lg);
 overflow: hidden;
 min-height: 22rem;
 display: grid;
 align-items: center;
 color: var(--white);
 isolation: isolate;
}

.cta-band .hero-media,
.cta-band .hero-overlay {
 position: absolute;
 inset: 0;
}

.cta-band .hero-overlay {
 background: linear-gradient(90deg, rgba(14, 26, 22, 0.88), rgba(14, 26, 22, 0.45));
 z-index: -1;
}

.cta-band .hero-media {
 z-index: -2;
}

.cta-inner {
 position: relative;
 padding: clamp(2.5rem, 5vw, 4rem);
 display: grid;
 gap: 1.25rem;
 max-width: 36rem;
}

.cta-inner h2 {
 font-family: var(--font-display);
 font-size: var(--fs-lg);
 font-weight: 500;
 letter-spacing: -0.03em;
 line-height: 1.15;
}

/* Testimonial */
.quote-card {
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 padding: clamp(1.75rem, 3vw, 2.25rem);
 display: grid;
 gap: 1.25rem;
 height: 100%;
}

.quote-card blockquote {
 font-family: var(--font-display);
 font-size: 1.25rem;
 font-weight: 450;
 line-height: 1.45;
 letter-spacing: -0.015em;
 color: var(--ink);
}

.quote-author {
 display: flex;
 align-items: center;
 gap: 0.85rem;
}

.quote-author img {
 width: 2.75rem;
 height: 2.75rem;
 border-radius: 50%;
 object-fit: cover;
}

.quote-author strong {
 display: block;
 font-size: var(--fs-sm);
}

.quote-author span {
 font-size: var(--fs-xs);
 color: var(--muted);
}

/* Faculty */
.faculty-card {
 text-align: center;
 display: grid;
 gap: 1rem;
}

.faculty-photo {
 aspect-ratio: 3 / 4;
 border-radius: var(--radius);
 overflow: hidden;
 background: var(--bg-tint);
}

.faculty-photo img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.7s var(--ease-out);
}

.faculty-card:hover .faculty-photo img {
 transform: scale(1.05);
}

.faculty-card h3 {
 font-family: var(--font-display);
 font-size: 1.3rem;
 font-weight: 500;
}

/* Pricing */
.price-card {
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 padding: 2rem;
 display: grid;
 gap: 1.25rem;
 height: 100%;
 position: relative;
}

.price-card.featured {
 border-color: var(--pine);
 box-shadow: var(--shadow);
 background: linear-gradient(180deg, #fff 0%, #f3f8f5 100%);
}

.price-card .chip {
 position: absolute;
 top: 1rem;
 right: 1rem;
}

.price-card h3 {
 font-family: var(--font-display);
 font-size: 1.5rem;
 font-weight: 500;
}

.price {
 font-family: var(--font-display);
 font-size: 3rem;
 font-weight: 500;
 letter-spacing: -0.03em;
 line-height: 1;
 color: var(--pine);
}

.price span {
 font-family: var(--font-body);
 font-size: var(--fs-sm);
 color: var(--muted);
 font-weight: 500;
}

.price-list {
 display: grid;
 gap: 0.7rem;
 padding: 0.5rem 0 1rem;
 border-top: 1px solid var(--line);
}

.price-list li {
 display: flex;
 gap: 0.65rem;
 align-items: flex-start;
 font-size: var(--fs-sm);
 color: var(--ink-soft);
}

.price-list li::before {
 content: "";
 width: 0.55rem;
 height: 0.55rem;
 margin-top: 0.45rem;
 border-radius: 50%;
 background: var(--gold);
 flex-shrink: 0;
}

/* Forms */
.form-grid {
 display: grid;
 gap: 1rem;
}

.form-row {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 1rem;
}

@media (max-width: 640px) {
 .form-row {
 grid-template-columns: 1fr;
 }
}

.field {
 display: grid;
 gap: 0.4rem;
}

.field label {
 font-size: var(--fs-sm);
 font-weight: 600;
 color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
 width: 100%;
 border: 1px solid var(--line-strong);
 border-radius: var(--radius-sm);
 background: var(--white);
 padding: 0.85rem 1rem;
 outline: none;
 transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea {
 min-height: 8rem;
 resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
 border-color: var(--pine);
 box-shadow: 0 0 0 3px rgba(26, 77, 62, 0.12);
}

.field .error {
 color: var(--danger);
 font-size: var(--fs-xs);
 display: none;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
 border-color: var(--danger);
}

.field.is-invalid .error {
 display: block;
}

.form-success {
 display: none;
 padding: 1rem 1.15rem;
 border-radius: var(--radius-sm);
 background: rgba(47, 125, 90, 0.1);
 color: var(--success);
 font-weight: 600;
 font-size: var(--fs-sm);
}

.form-success.is-visible {
 display: block;
}

/* Accordion FAQ */
.faq-list {
 display: grid;
 gap: 0.75rem;
 max-width: 48rem;
 margin-inline: auto;
}

.faq-item {
 border: 1px solid var(--line);
 border-radius: var(--radius);
 background: var(--white);
 overflow: hidden;
}

.faq-q {
 width: 100%;
 text-align: left;
 background: transparent;
 border: 0;
 padding: 1.15rem 1.25rem;
 font-weight: 600;
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 gap: 1rem;
 align-items: center;
}

.faq-q svg {
 width: 1.1rem;
 height: 1.1rem;
 flex-shrink: 0;
 transition: transform 0.3s var(--ease);
}

.faq-item.is-open .faq-q svg {
 transform: rotate(45deg);
}

.faq-a {
 display: none;
 padding: 0 1.25rem 1.2rem;
 color: var(--muted);
 font-size: var(--fs-sm);
}

.faq-item.is-open .faq-a {
 display: block;
}

/* Filters */
.filter-bar {
 display: flex;
 flex-wrap: wrap;
 gap: 0.55rem;
 margin-bottom: 2rem;
}

.filter-btn {
 border: 1px solid var(--line-strong);
 background: var(--white);
 border-radius: 999px;
 padding: 0.55rem 1rem;
 font-size: var(--fs-sm);
 font-weight: 600;
 cursor: pointer;
 transition: 0.25s var(--ease);
}

.filter-btn.is-active,
.filter-btn:hover {
 background: var(--pine);
 border-color: var(--pine);
 color: var(--white);
}

/* Gallery */
.gallery-grid {
 display: grid;
 grid-template-columns: repeat(12, 1fr);
 gap: 0.85rem;
}

.gallery-item {
 position: relative;
 border: 0;
 padding: 0;
 border-radius: var(--radius);
 overflow: hidden;
 background: var(--bg-tint);
 cursor: pointer;
 display: block;
 width: 100%;
}

.gallery-item img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.7s var(--ease-out);
}

.gallery-item:hover img {
 transform: scale(1.05);
}

.gallery-item:nth-child(1) { grid-column: span 7; aspect-ratio: 16/10; }
.gallery-item:nth-child(2) { grid-column: span 5; aspect-ratio: 4/3; }
.gallery-item:nth-child(3) { grid-column: span 4; aspect-ratio: 1; }
.gallery-item:nth-child(4) { grid-column: span 4; aspect-ratio: 1; }
.gallery-item:nth-child(5) { grid-column: span 4; aspect-ratio: 1; }
.gallery-item:nth-child(6) { grid-column: span 5; aspect-ratio: 4/3; }
.gallery-item:nth-child(7) { grid-column: span 7; aspect-ratio: 16/10; }

@media (max-width: 720px) {
 .gallery-item {
 grid-column: span 12 !important;
 aspect-ratio: 16/11 !important;
 }
}

/* Lightbox */
.lightbox {
 position: fixed;
 inset: 0;
 z-index: 2000;
 background: rgba(14, 26, 22, 0.92);
 display: none;
 place-items: center;
 padding: 2rem;
}

.lightbox.is-open {
 display: grid;
}

.lightbox img {
 max-width: min(100%, 1100px);
 max-height: 85vh;
 border-radius: var(--radius);
 object-fit: contain;
}

.lightbox-close {
 position: absolute;
 top: 1.25rem;
 right: 1.25rem;
 width: 2.75rem;
 height: 2.75rem;
 border-radius: 999px;
 border: 1px solid rgba(255, 255, 255, 0.3);
 background: transparent;
 color: white;
 cursor: pointer;
 font-size: 1.4rem;
}

/* Timeline */
.timeline {
 display: grid;
 gap: 0;
 position: relative;
 padding-left: 1.5rem;
}

.timeline::before {
 content: "";
 position: absolute;
 left: 0.35rem;
 top: 0.35rem;
 bottom: 0.35rem;
 width: 2px;
 background: var(--line-strong);
}

.timeline-item {
 position: relative;
 padding: 0 0 2rem 1.5rem;
}

.timeline-item::before {
 content: "";
 position: absolute;
 left: -1.28rem;
 top: 0.45rem;
 width: 0.75rem;
 height: 0.75rem;
 border-radius: 50%;
 background: var(--gold);
 border: 2px solid var(--paper);
 box-shadow: 0 0 0 2px var(--gold);
}

.timeline-item h3 {
 font-family: var(--font-display);
 font-size: 1.25rem;
 font-weight: 500;
 margin-bottom: 0.35rem;
}

/* Blog */
.blog-card {
 display: grid;
 gap: 1rem;
}

.blog-card-media {
 aspect-ratio: 16 / 10;
 border-radius: var(--radius);
 overflow: hidden;
 background: var(--bg-tint);
}

.blog-card-media img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.7s var(--ease-out);
}

.blog-card:hover .blog-card-media img {
 transform: scale(1.05);
}

.blog-card h3 {
 font-family: var(--font-display);
 font-size: 1.4rem;
 font-weight: 500;
 letter-spacing: -0.02em;
 line-height: 1.25;
}

.article-body {
 max-width: 42rem;
 margin: 0 auto;
 display: grid;
 gap: 1.15rem;
}

.article-body h2 {
 font-family: var(--font-display);
 font-size: 1.75rem;
 font-weight: 500;
 margin-top: 1rem;
}

.article-body p {
 color: var(--ink-soft);
}

.article-hero-img {
 border-radius: var(--radius-lg);
 overflow: hidden;
 aspect-ratio: 21 / 9;
 margin: 2rem 0 3rem;
 background: var(--bg-tint);
}

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

/* Horizontal scroller */
.h-scroll {
 display: flex;
 gap: 1.25rem;
 overflow-x: auto;
 scroll-snap-type: x mandatory;
 padding-bottom: 1rem;
 -ms-overflow-style: none;
 scrollbar-width: none;
}

.h-scroll::-webkit-scrollbar {
 display: none;
}

.h-scroll > * {
 flex: 0 0 min(85vw, 380px);
 scroll-snap-align: start;
}

/* Footer */
.site-footer {
 background: var(--ink);
 color: rgba(255, 255, 255, 0.75);
 padding: 4.5rem 0 2rem;
 margin-top: auto;
}

.footer-grid {
 display: grid;
 grid-template-columns: 1.4fr 1fr 1fr 1fr;
 gap: 2.5rem;
 margin-bottom: 3rem;
}

.site-footer .brand {
 color: var(--white);
 margin-bottom: 1rem;
}

.footer-col h4 {
 color: var(--white);
 font-size: var(--fs-sm);
 font-weight: 700;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 margin-bottom: 1rem;
}

.footer-col a {
 display: block;
 padding: 0.35rem 0;
 font-size: var(--fs-sm);
 transition: color 0.25s;
}

.footer-col a:hover {
 color: var(--gold);
}

.footer-bottom {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
 gap: 1rem;
 padding-top: 1.5rem;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 font-size: var(--fs-xs);
}

@media (max-width: 900px) {
 .footer-grid {
 grid-template-columns: 1fr 1fr;
 }
}

@media (max-width: 560px) {
 .footer-grid {
 grid-template-columns: 1fr;
 }
}

/* Reveal animations */
.reveal {
 opacity: 0;
 transform: translateY(28px);
 transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-in {
 opacity: 1;
 transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Utility */
.bg-mist { background: var(--mist); }
.bg-white { background: var(--white); }
.sr-only {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 border: 0;
}

.stack {
 display: grid;
 gap: 1rem;
}

.stack-lg {
 display: grid;
 gap: 1.75rem;
}

.split-contact {
 display: grid;
 grid-template-columns: 0.9fr 1.1fr;
 gap: clamp(2rem, 4vw, 3.5rem);
 align-items: start;
}

@media (max-width: 860px) {
 .split-contact {
 grid-template-columns: 1fr;
 }
}

.info-list {
 display: grid;
 gap: 1.25rem;
}

.info-list li {
 display: grid;
 gap: 0.25rem;
 padding-bottom: 1.25rem;
 border-bottom: 1px solid var(--line);
}

.info-list strong {
 font-size: var(--fs-sm);
 color: var(--pine);
}

.breadcrumbs {
 display: flex;
 flex-wrap: wrap;
 gap: 0.45rem;
 font-size: var(--fs-xs);
 color: rgba(255, 255, 255, 0.65);
 margin-bottom: 0.75rem;
}

.breadcrumbs a:hover {
 color: var(--gold);
}

.table-wrap {
 overflow-x: auto;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 background: var(--white);
}

table {
 width: 100%;
 border-collapse: collapse;
 font-size: var(--fs-sm);
}

th,
td {
 text-align: left;
 padding: 1rem 1.15rem;
 border-bottom: 1px solid var(--line);
}

th {
 background: var(--mist);
 font-weight: 700;
 color: var(--pine);
}

tr:last-child td {
 border-bottom: 0;
}

.video-embed {
 position: relative;
 border-radius: var(--radius-lg);
 overflow: hidden;
 aspect-ratio: 16 / 9;
 background: var(--ink);
}

.video-embed video,
.video-embed iframe {
 width: 100%;
 height: 100%;
 border: 0;
 object-fit: cover;
}

.play-hint {
 position: absolute;
 inset: 0;
 display: grid;
 place-items: center;
 background: rgba(14, 26, 22, 0.35);
 cursor: pointer;
 transition: background 0.3s;
}

.play-hint:hover {
 background: rgba(14, 26, 22, 0.2);
}

.play-btn {
 width: 4.5rem;
 height: 4.5rem;
 border-radius: 50%;
 background: var(--gold);
 color: var(--pine-deep);
 display: grid;
 place-items: center;
 font-size: 1.25rem;
 box-shadow: var(--shadow);
}

/* Progress reading bar */
.reading-progress {
 position: fixed;
 top: 0;
 left: 0;
 height: 3px;
 width: 0%;
 background: var(--gold);
 z-index: 1100;
}

/* 404 */
.error-page {
 min-height: 100vh;
 display: grid;
 place-items: center;
 text-align: center;
 padding: 6rem var(--gutter);
 background:
 radial-gradient(ellipse 50% 40% at 50% 0%, rgba(196, 163, 90, 0.15), transparent),
 var(--paper);
}

.error-page h1 {
 font-family: var(--font-display);
 font-size: clamp(5rem, 15vw, 10rem);
 font-weight: 500;
 color: var(--pine);
 line-height: 0.9;
 letter-spacing: -0.05em;
}

/* Program detail sidebar */
.detail-layout {
 display: grid;
 grid-template-columns: 1fr 320px;
 gap: clamp(2rem, 4vw, 3rem);
 align-items: start;
}

.side-card {
 position: sticky;
 top: calc(var(--nav-h) + 1.25rem);
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 1.5rem;
 display: grid;
 gap: 1rem;
 box-shadow: var(--shadow);
}

.side-card dl {
 display: grid;
 gap: 0.85rem;
}

.side-card dt {
 font-size: var(--fs-xs);
 text-transform: uppercase;
 letter-spacing: 0.08em;
 color: var(--muted);
 font-weight: 700;
}

.side-card dd {
 font-weight: 600;
 margin-top: 0.2rem;
}

@media (max-width: 900px) {
 .detail-layout {
 grid-template-columns: 1fr;
 }
 .side-card {
 position: static;
 }
}

/* ================= DROPDOWN / MEGA ================= */
.nav-dropdown {
 position: relative;
}

.nav-dropdown-btn {
 display: inline-flex;
 align-items: center;
 gap: 0.35rem;
 background: transparent;
 border: 0;
 cursor: pointer;
 font: inherit;
}

.nav-dropdown.is-open .nav-dropdown-btn svg {
 transform: rotate(180deg);
}

.nav-dropdown-btn svg {
 transition: transform 0.25s var(--ease);
}

.nav-mega {
 position: absolute;
 top: calc(100% + 0.75rem);
 left: 50%;
 transform: translateX(-40%);
 width: min(92vw, 820px);
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow-lg);
 padding: 1.35rem 1.5rem;
 display: grid;
 grid-template-columns: repeat(4, minmax(0, 1fr));
 gap: 1rem;
 z-index: 1200;
 color: var(--ink);
}

.nav-mega[hidden] {
 display: none !important;
}

.nav-mega-col h4 {
 font-size: var(--fs-xs);
 text-transform: uppercase;
 letter-spacing: 0.08em;
 color: var(--pine);
 margin-bottom: 0.65rem;
}

.nav-mega-col a {
 display: block;
 padding: 0.35rem 0;
 font-size: var(--fs-sm);
 color: var(--ink-soft);
 border-radius: 0.35rem;
}

.nav-mega-col a:hover {
 color: var(--pine);
}

.site-header.on-dark:not(.is-scrolled):not(.solid) .nav-dropdown-btn {
 color: var(--white);
}

.nav-signin {
 --btn-bg: transparent;
}

.site-header.on-dark:not(.is-scrolled):not(.solid) .nav-signin {
 --btn-fg: var(--white);
 --btn-bd: rgba(255, 255, 255, 0.35);
}

.mobile-pages {
 margin: 0.5rem 0 1rem;
 border-top: 1px solid var(--line);
 padding-top: 0.75rem;
}

.mobile-pages summary {
 font-weight: 700;
 cursor: pointer;
 padding: 0.65rem 0.85rem;
 list-style: none;
}

.mobile-pages-group {
 display: grid;
 gap: 0.15rem;
 padding: 0.35rem 0.85rem 0.85rem;
}

.mobile-pages-group strong {
 font-size: var(--fs-xs);
 text-transform: uppercase;
 letter-spacing: 0.06em;
 color: var(--pine);
 margin: 0.5rem 0 0.25rem;
}

@media (max-width: 1100px) {
 .nav-mega {
 left: auto;
 right: 0;
 transform: none;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 max-height: 70vh;
 overflow: auto;
 }
}

/* ================= PHOTO MOSAIC ================= */
.photo-mosaic {
 display: grid;
 grid-template-columns: 1.4fr 1fr 1fr;
 grid-template-rows: 220px 220px;
 gap: 0.85rem;
}

.photo-mosaic figure {
 position: relative;
 margin: 0;
 border-radius: var(--radius);
 overflow: hidden;
 background: var(--bg-tint);
}

.photo-mosaic figure:first-child {
 grid-row: span 2;
}

.photo-mosaic img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.8s var(--ease-out);
}

.photo-mosaic figure:hover img {
 transform: scale(1.05);
}

.photo-mosaic figcaption {
 position: absolute;
 left: 0.85rem;
 bottom: 0.85rem;
 padding: 0.35rem 0.7rem;
 border-radius: 999px;
 background: rgba(247, 249, 248, 0.92);
 font-size: var(--fs-xs);
 font-weight: 600;
 color: var(--pine);
}

@media (max-width: 800px) {
 .photo-mosaic {
 grid-template-columns: 1fr 1fr;
 grid-template-rows: 180px 180px 180px;
 }
 .photo-mosaic figure:first-child {
 grid-column: span 2;
 grid-row: span 1;
 }
}

.immersive-band {
 position: relative;
 min-height: 28rem;
 display: grid;
 align-items: end;
 color: var(--white);
 overflow: hidden;
 isolation: isolate;
}

.immersive-band .hero-media,
.immersive-band .hero-overlay {
 position: absolute;
 inset: 0;
}

.immersive-band .hero-media { z-index: -2; }
.immersive-band .hero-overlay {
 z-index: -1;
 background: linear-gradient(180deg, rgba(14, 26, 22, 0.15), rgba(14, 26, 22, 0.88));
}

.immersive-band .container {
 position: relative;
 padding-block: 4rem;
 max-width: 40rem;
}

/* ================= SIGN IN ================= */
.auth-page {
 min-height: 100vh;
 display: grid;
 grid-template-columns: 1.1fr 0.9fr;
}

.auth-visual {
 position: relative;
 min-height: 100vh;
 color: var(--white);
 overflow: hidden;
 isolation: isolate;
}

.auth-visual img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 z-index: -2;
}

.auth-visual::after {
 content: "";
 position: absolute;
 inset: 0;
 background: linear-gradient(160deg, rgba(15, 51, 41, 0.75), rgba(14, 26, 22, 0.55));
 z-index: -1;
}

.auth-visual-inner {
 position: relative;
 height: 100%;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 padding: clamp(2rem, 4vw, 3.5rem);
}

.auth-panel {
 display: grid;
 place-items: center;
 padding: 2rem var(--gutter);
 background: var(--paper);
}

.auth-card {
 width: min(100%, 420px);
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 padding: clamp(1.75rem, 3vw, 2.35rem);
 box-shadow: var(--shadow);
 display: grid;
 gap: 1.15rem;
}

.auth-card h1 {
 font-family: var(--font-display);
 font-size: 2rem;
 font-weight: 500;
 letter-spacing: -0.03em;
}

.auth-hint {
 font-size: var(--fs-xs);
 background: var(--mist);
 border-radius: var(--radius-sm);
 padding: 0.75rem 0.9rem;
 color: var(--ink-soft);
}

.auth-hint code {
 font-family: ui-monospace, monospace;
 color: var(--pine);
 font-weight: 700;
}

.auth-error {
 color: var(--danger);
 font-size: var(--fs-sm);
 font-weight: 600;
}

@media (max-width: 900px) {
 .auth-page {
 grid-template-columns: 1fr;
 }
 .auth-visual {
 min-height: 42vh;
 }
}

/* ================= DASHBOARD ================= */
.dash-body {
 background: #e8eeeb;
 min-height: 100vh;
}

.dash-shell {
 display: grid;
 grid-template-columns: 260px 1fr;
 min-height: 100vh;
}

.dash-sidebar {
 background: var(--pine-deep);
 color: rgba(255, 255, 255, 0.78);
 padding: 1.35rem 1rem 2rem;
 display: flex;
 flex-direction: column;
 gap: 0.35rem;
 position: sticky;
 top: 0;
 height: 100vh;
 overflow: auto;
}

.dash-brand {
 display: flex;
 align-items: center;
 gap: 0.65rem;
 color: var(--white);
 font-family: var(--font-display);
 font-size: 1.25rem;
 font-weight: 600;
 padding: 0.5rem 0.65rem 1.25rem;
}

.dash-nav a {
 display: flex;
 align-items: center;
 gap: 0.65rem;
 padding: 0.7rem 0.85rem;
 border-radius: 0.75rem;
 font-size: var(--fs-sm);
 font-weight: 500;
 color: rgba(255, 255, 255, 0.72);
 transition: background 0.25s, color 0.25s;
}

.dash-nav a:hover,
.dash-nav a.is-active {
 background: rgba(255, 255, 255, 0.1);
 color: var(--white);
}

.dash-nav a.is-active {
 background: rgba(196, 163, 90, 0.22);
 color: var(--gold-bright);
}

.dash-side-foot {
 margin-top: auto;
 padding-top: 1rem;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 display: grid;
 gap: 0.5rem;
}

.dash-main {
 padding: 1.25rem 1.5rem 2.5rem;
}

.dash-topbar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 1rem;
 margin-bottom: 1.5rem;
 flex-wrap: wrap;
}

.dash-topbar h1 {
 font-family: var(--font-display);
 font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
 font-weight: 500;
 letter-spacing: -0.02em;
}

.dash-user {
 display: flex;
 align-items: center;
 gap: 0.75rem;
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: 999px;
 padding: 0.35rem 0.85rem 0.35rem 0.35rem;
}

.dash-user img {
 width: 2.25rem;
 height: 2.25rem;
 border-radius: 50%;
 object-fit: cover;
}

.dash-user strong {
 display: block;
 font-size: var(--fs-sm);
 line-height: 1.2;
}

.dash-user span {
 font-size: var(--fs-xs);
 color: var(--muted);
}

.dash-grid {
 display: grid;
 grid-template-columns: repeat(12, 1fr);
 gap: 1rem;
}

.dash-card {
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 1.2rem 1.25rem;
 box-shadow: 0 10px 30px rgba(14, 26, 22, 0.04);
}

.dash-card h3 {
 font-family: var(--font-display);
 font-size: 1.15rem;
 font-weight: 500;
 margin-bottom: 0.85rem;
}

.dash-stat {
 grid-column: span 3;
}

.dash-stat .value {
 font-family: var(--font-display);
 font-size: 2rem;
 color: var(--pine);
 letter-spacing: -0.03em;
 line-height: 1;
 margin: 0.35rem 0;
}

.dash-stat .label {
 font-size: var(--fs-xs);
 color: var(--muted);
 font-weight: 600;
}

.dash-wide { grid-column: span 8; }
.dash-side { grid-column: span 4; }
.dash-half { grid-column: span 6; }
.dash-full { grid-column: span 12; }

.dash-banner {
 grid-column: span 12;
 position: relative;
 border-radius: var(--radius-lg);
 overflow: hidden;
 min-height: 11rem;
 color: var(--white);
 isolation: isolate;
 display: grid;
 align-items: end;
}

.dash-banner img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 z-index: -2;
}

.dash-banner::after {
 content: "";
 position: absolute;
 inset: 0;
 background: linear-gradient(90deg, rgba(15, 51, 41, 0.88), rgba(15, 51, 41, 0.35));
 z-index: -1;
}

.dash-banner-inner {
 padding: 1.5rem 1.75rem;
 display: grid;
 gap: 0.35rem;
 max-width: 32rem;
}

.progress-row {
 display: grid;
 gap: 0.75rem;
}

.progress-item {
 display: grid;
 gap: 0.35rem;
}

.progress-item header {
 display: flex;
 justify-content: space-between;
 font-size: var(--fs-sm);
 font-weight: 600;
}

.bar {
 height: 0.45rem;
 background: var(--mist);
 border-radius: 99px;
 overflow: hidden;
}

.bar > span {
 display: block;
 height: 100%;
 background: linear-gradient(90deg, var(--pine), var(--gold));
 border-radius: 99px;
}

.dash-list {
 display: grid;
 gap: 0.75rem;
}

.dash-list li {
 display: flex;
 gap: 0.85rem;
 align-items: flex-start;
 padding-bottom: 0.75rem;
 border-bottom: 1px solid var(--line);
 font-size: var(--fs-sm);
}

.dash-list li:last-child {
 border-bottom: 0;
 padding-bottom: 0;
}

.dash-dot {
 width: 0.55rem;
 height: 0.55rem;
 border-radius: 50%;
 background: var(--gold);
 margin-top: 0.4rem;
 flex-shrink: 0;
}

.course-row {
 display: grid;
 grid-template-columns: 72px 1fr auto;
 gap: 0.85rem;
 align-items: center;
 padding: 0.65rem 0;
 border-bottom: 1px solid var(--line);
}

.course-row:last-child {
 border-bottom: 0;
}

.course-row img {
 width: 72px;
 height: 56px;
 object-fit: cover;
 border-radius: 0.55rem;
}

.course-row strong {
 display: block;
 font-size: var(--fs-sm);
}

.course-row span {
 font-size: var(--fs-xs);
 color: var(--muted);
}

.dash-nav-toggle {
 display: none;
 border: 1px solid var(--line-strong);
 background: var(--white);
 border-radius: 0.65rem;
 padding: 0.55rem 0.85rem;
 font-weight: 600;
 cursor: pointer;
}

@media (max-width: 980px) {
 .dash-shell {
 grid-template-columns: 1fr;
 }
 .dash-sidebar {
 position: fixed;
 inset: 0 auto 0 0;
 width: min(86vw, 280px);
 z-index: 1500;
 transform: translateX(-105%);
 transition: transform 0.35s var(--ease);
 }
 .dash-sidebar.is-open {
 transform: translateX(0);
 }
 .dash-nav-toggle {
 display: inline-flex;
 }
 .dash-stat,
 .dash-wide,
 .dash-side,
 .dash-half {
 grid-column: span 12;
 }
}

@media (min-width: 981px) and (max-width: 1200px) {
 .dash-stat {
 grid-column: span 6;
 }
 .dash-wide,
 .dash-side {
 grid-column: span 12;
 }
}
