@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap");
:root {
    --accent: #3b3983;
    --accent-2: #5d5aa6;
    --navy: #17213e;
    --ink: #20243a;
    --muted: #74788a;
    --paper: #f7f7fb;
    --surface: #fff;
    --line: #e7e7ef;
    --soft: #eeeef7;
    --shadow: 0 22px 60px rgba(28, 31, 67, 0.1);
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
    color-scheme: light;
}
[data-theme="dark"] {
    --ink: #f4f3fb;
    --muted: #a8a8ba;
    --paper: #111322;
    --surface: #191b2e;
    --line: #303249;
    --soft: #22243a;
    --navy: #0b1025;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
    color-scheme: dark;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.7;
    transition:
        background 0.35s,
        color 0.35s;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
}
.section-wrap {
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
}
.section-space {
    padding-block: 115px;
}
.site-header {
    height: 0;
    position: sticky;
    top: 0;
    z-index: 50;
}
.island {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 56px));
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 80%, transparent);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 12px 34px rgba(24, 30, 69, 0.09);
    transition: all 0.35s;
}
.island.compact {
    top: 10px;
    min-height: 58px;
    width: min(1080px, calc(100% - 72px));
    box-shadow: 0 10px 36px rgba(24, 30, 69, 0.16);
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.brand-mark {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 25px;
}
.brand-mark img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.brand-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.1;
}
.brand-name small {
    display: block;
    margin-top: 4px;
    font-size: 8px;
    letter-spacing: 0.2em;
    color: var(--muted);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.8vw, 25px);
}
.nav-links a {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    transition: color 0.2s;
}
.nav-links a:hover,
.footer-column a:hover {
    color: var(--accent);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.theme-toggle,
.menu-toggle {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--accent);
    cursor: pointer;
    display: grid;
    place-items: center;
}
.theme-icon {
    font-size: 20px;
    line-height: 1;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    padding: 14px 21px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    transition:
        transform 0.2s,
        background 0.2s,
        box-shadow 0.2s;
}
.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 25px rgba(59, 57, 131, 0.23);
}
.button span,
.card-link span,
.text-link span {
    font-size: 16px;
}
.button-small {
    padding: 11px 15px;
    font-size: 10px;
    border-radius: 999px;
}
.menu-toggle {
    display: none;
    position: relative;
}
.menu-toggle span {
    position: absolute;
    width: 15px;
    height: 1.5px;
    background: currentColor;
    transition:
        transform 0.25s,
        top 0.25s;
}
.menu-toggle span:first-child {
    top: 14px;
}
.menu-toggle span:last-child {
    top: 21px;
}
.menu-toggle.active span:first-child {
    top: 18px;
    transform: rotate(45deg);
}
.menu-toggle.active span:last-child {
    top: 18px;
    transform: rotate(-45deg);
}
.hero {
    min-height: 800px;
    padding-top: 180px;
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
    position: relative;
    gap: 30px;
}
.hero-copy {
    position: relative;
    z-index: 2;
    padding-bottom: 30px;
}
.eyebrow {
    margin: 0 0 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
}
.eyebrow-line {
    width: 26px;
    height: 1px;
    background: currentColor;
}
.hero h1,
.section-heading h2,
.about-copy h2,
.vision h2,
.contact h2,
.cta-inner h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(43px, 5.2vw, 68px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.04em;
}
.hero h1 em,
.section-heading h2 em,
.about-copy h2 em,
.vision h2 em,
.contact h2 em,
.cta-inner h2 em {
    color: var(--accent);
    font-weight: 500;
}
.hero-description {
    max-width: 480px;
    margin: 25px 0 27px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}
.text-link span {
    transition: transform 0.2s;
}
.text-link:hover span {
    transform: translate(3px, -2px);
}
.hero-note {
    margin-top: 67px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.hero-note p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}
.hero-note strong {
    color: var(--ink);
    font-size: 20px;
}
.hero-visual {
    height: 515px;
    position: relative;
    display: grid;
    place-items: center;
}
.visual-glow {
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(84, 79, 161, 0.18),
        transparent 68%
    );
    filter: blur(12px);
}
.image-frame {
    position: relative;
    z-index: 1;
    width: 77%;
    height: 420px;
    border-radius: 47% 47% 5px 5px;
    overflow: hidden;
    box-shadow: 0 26px 65px rgba(24, 26, 66, 0.22);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}
.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 43%,
        rgba(15, 20, 45, 0.75)
    );
}
.image-caption {
    position: absolute;
    left: 28px;
    bottom: 25px;
    color: white;
    display: grid;
    gap: 5px;
}
.caption-kicker {
    font-size: 8px;
    letter-spacing: 0.2em;
}
.image-caption strong {
    font-family: var(--serif);
    font-size: 27px;
    line-height: 1.15;
    font-weight: 500;
}
.floating-seal {
    position: absolute;
    z-index: 2;
    left: 1%;
    top: 19%;
    width: 98px;
    height: 98px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 5px;
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--accent);
    font-size: 6px;
    letter-spacing: 0.12em;
    transform: rotate(-12deg);
}
.seal-star {
    font-size: 27px;
}
.floating-stat {
    position: absolute;
    z-index: 3;
    right: -2%;
    bottom: 11%;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}
.stat-icon {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--soft);
    color: var(--accent);
}
.floating-stat strong,
.floating-stat small {
    display: block;
}
.floating-stat strong {
    font-size: 10px;
}
.floating-stat small {
    color: var(--muted);
    font-size: 8px;
}
.hero-orbit {
    position: absolute;
    border: 1px solid rgba(59, 57, 131, 0.15);
    border-radius: 50%;
    transform: rotate(-30deg);
}
.orbit-one {
    width: 500px;
    height: 280px;
}
.orbit-two {
    width: 580px;
    height: 350px;
}
.hero-bottom {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.15em;
}
.hero-bottom-line {
    height: 1px;
    width: 50px;
    background: var(--accent);
}
.stats {
    padding-block: 31px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}
.stat-item {
    min-height: 70px;
    padding-left: 30px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}
.stat-item:first-child {
    padding-left: 0;
    border: 0;
}
.stat-item > strong {
    font-family: var(--serif);
    font-size: 33px;
    font-weight: 500;
    line-height: 1.2;
}
.stat-item > strong span {
    font-size: 19px;
    color: var(--accent);
}
.stat-item > span {
    color: var(--muted);
    font-size: 10px;
}
.stat-quote {
    display: block;
    padding-left: 30px;
}
.quote-mark {
    font-family: var(--serif);
    font-size: 32px;
    line-height: 0.8;
    color: var(--accent);
}
.stat-quote p {
    max-width: 205px;
    margin: 6px 0 0;
    font-family: var(--serif);
    font-size: 13px;
    line-height: 1.4;
}
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 105px;
}
.about-visual {
    position: relative;
    height: 475px;
}
.about-photo {
    position: absolute;
    inset: 0 10% 6% 0;
    overflow: hidden;
    border-radius: 190px 190px 4px 4px;
    box-shadow: var(--shadow);
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    filter: saturate(0.75);
}
.about-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 60%,
        rgba(31, 27, 74, 0.18)
    );
}
.about-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 150px;
    height: 150px;
    border: 7px solid var(--paper);
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: grid;
    align-content: center;
    justify-items: center;
    line-height: 1.3;
}
.about-badge span {
    font-family: var(--serif);
    font-size: 32px;
}
.about-badge strong {
    font-size: 9px;
    letter-spacing: 0.12em;
}
.about-badge small {
    margin-top: 7px;
    font-size: 7px;
    letter-spacing: 0.2em;
    opacity: 0.75;
}
.about-vertical {
    position: absolute;
    left: -23px;
    top: 30%;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 8px;
    letter-spacing: 0.21em;
    color: var(--muted);
}
.about-copy h2,
.vision h2,
.contact h2 {
    font-size: clamp(38px, 4vw, 52px);
}
.about-copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}
.about-points {
    margin: 25px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    color: var(--ink);
    font-size: 10px;
}
.about-points span {
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-points b {
    color: var(--accent);
    font-size: 9px;
}
.video-card {
    margin-top: 29px;
    padding: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.video-card strong,
.video-card small {
    display: block;
}
.video-card strong {
    font-size: 10px;
}
.video-card small {
    font-size: 8px;
    color: var(--muted);
}
.video-duration {
    margin-left: auto;
    color: var(--muted);
    font-size: 9px;
}
.vision {
    background: var(--soft);
    position: relative;
    overflow: hidden;
}
.vision-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
    position: relative;
    z-index: 1;
}
.vision-symbol {
    margin-top: 45px;
    color: var(--accent);
    font-size: 130px;
    line-height: 0.8;
    opacity: 0.14;
}
.vision-content {
    padding-top: 5px;
}
.card-index {
    color: var(--accent);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.18em;
}
.vision-card {
    padding: 30px 35px;
    margin-bottom: 34px;
    background: var(--surface);
    border-left: 2px solid var(--accent);
    box-shadow: 0 10px 35px rgba(37, 39, 76, 0.04);
}
.vision-card p {
    margin: 16px 0 0;
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.55;
}
.mission-list {
    padding-left: 30px;
    border-left: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.mission-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.mission-item b {
    color: var(--accent);
    font-size: 10px;
}
.mission-item p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 42px;
}
.section-heading h2 {
    font-size: clamp(38px, 4.5vw, 54px);
}
.section-heading > p {
    max-width: 335px;
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}
.program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.program-card {
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--surface);
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}
.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.program-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.program-number {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.15em;
}
.program-symbol {
    color: var(--accent);
    font-size: 22px;
}
.program-art {
    height: 200px;
    margin-top: 12px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #222848, #46447f 60%, #7a76ba);
    color: rgba(255, 255, 255, 0.91);
}
.program-art:before,
.program-art:after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    transform: rotate(45deg);
}
.program-art:after {
    width: 160px;
    height: 160px;
}
.program-art span {
    position: relative;
    z-index: 1;
    font-family: var(--serif);
    font-size: 48px;
    letter-spacing: 0.08em;
}
.islam-art {
    background: linear-gradient(135deg, #293a3b, #50756b 55%, #9ba986);
}
.art-ring {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}
.program-info {
    padding: 22px 3px 2px;
}
.program-label {
    color: var(--accent);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.16em;
}
.program-info h3 {
    margin: 8px 0;
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 500;
}
.program-info p {
    max-width: 430px;
    margin: 0 0 19px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
}
.services {
    background: var(--soft);
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.service-card {
    min-height: 230px;
    padding: 25px;
    background: var(--surface);
    position: relative;
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--accent);
    font-size: 20px;
}
.service-arrow {
    position: absolute;
    right: 25px;
    top: 26px;
    color: var(--muted);
}
.service-card h3 {
    margin: 22px 0 7px;
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 500;
}
.service-card p {
    margin: 0 0 17px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}
.service-link {
    display: flex;
    justify-content: space-between;
    color: var(--accent);
    font-size: 9px;
    font-weight: 700;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.news-empty {
    grid-column: 1/-1;
    min-height: 160px;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--surface);
}
.news-empty-icon {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: var(--soft);
    color: var(--accent);
    font-size: 24px;
}
.news-empty p {
    margin: 0;
    font-family: var(--serif);
    font-size: 20px;
}
.news-empty small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 10px;
}
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.news-pagination-summary {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
}
.news-pagination-summary strong {
    color: var(--ink);
}
.news-pagination-links {
    display: flex;
    align-items: center;
    gap: 10px;
}
.news-page-link,
.news-page-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 10px;
}
.news-page-link {
    background: var(--surface);
    color: var(--accent);
    font-weight: 700;
    transition:
        background 0.2s,
        color 0.2s;
}
.news-page-link:not(.is-disabled):hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.news-page-link.is-disabled {
    color: var(--muted);
    cursor: not-allowed;
}
.news-page-indicator {
    border-color: transparent;
    color: var(--muted);
}
.news-card {
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform 0.25s;
}
.news-card:hover {
    transform: translateY(-4px);
}
.news-image {
    height: 180px;
    display: flex;
    align-items: end;
    padding: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.news-image:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(20, 23, 48, 0.55)
    );
}
.news-image span {
    position: relative;
    color: white;
    font-size: 8px;
    letter-spacing: 0.15em;
    font-weight: 700;
}
.news-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.news-card:hover .news-image > img {
    transform: scale(1.04);
}
.news-image-one {
    background-image: linear-gradient(135deg, #7e7baf, #282c4b);
}
.news-image-two {
    background-image: linear-gradient(135deg, #879c8d, #344d46);
}
.news-image-three {
    background-image: linear-gradient(135deg, #b9a785, #514537);
}
.news-content {
    padding: 20px;
}
.news-content time {
    font-size: 8px;
    color: var(--accent);
    letter-spacing: 0.14em;
    font-weight: 700;
}
.news-content h3 {
    margin: 11px 0 8px;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
}
.news-content h3 a:hover {
    color: var(--accent);
}
.news-content p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}
.news-detail-main {
    min-height: calc(100vh - 230px);
    padding-top: 145px;
    padding-bottom: 90px;
}
.news-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
}
.news-detail-header {
    max-width: 850px;
    margin: 35px auto 42px;
    text-align: center;
}
.news-detail-kicker {
    color: var(--accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
}
.news-detail-title {
    margin: 15px 0 20px;
    font-family: var(--serif);
    font-size: clamp(38px, 5.3vw, 64px);
    font-weight: 500;
    line-height: 1.15;
}
.news-detail-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--muted);
    font-size: 10px;
}
.news-detail-meta time {
    color: var(--accent);
    font-weight: 700;
}
.news-detail-cover {
    width: min(100%, 1000px);
    aspect-ratio: 16 / 8;
    margin: 0 auto 52px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: linear-gradient(135deg, #7e7baf, #282c4b);
    box-shadow: var(--shadow);
}
.news-detail-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-detail-layout {
    width: min(100%, 1000px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 60px;
}
.news-detail-aside {
    align-self: start;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}
.news-detail-aside > span,
.news-detail-aside > a {
    display: block;
}
.news-detail-aside span {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.16em;
}
.news-detail-aside a {
    margin-top: 10px;
    color: var(--accent);
    font-family: var(--serif);
    font-size: 16px;
}
.news-detail-body {
    min-width: 0;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}
.news-detail-body > :first-child {
    margin-top: 0;
}
.news-detail-body p {
    margin: 0 0 1.4em;
}
.news-detail-body h2,
.news-detail-body h3 {
    margin: 1.7em 0 0.6em;
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.3;
}
.news-detail-body h2 {
    font-size: 30px;
}
.news-detail-body h3 {
    font-size: 23px;
}
.news-detail-body ul,
.news-detail-body ol {
    padding-left: 1.4em;
    margin: 0 0 1.4em;
}
.news-detail-body blockquote {
    margin: 1.8em 0;
    padding: 5px 0 5px 22px;
    border-left: 2px solid var(--accent);
    color: var(--muted);
    font-family: var(--serif);
    font-size: 19px;
}
.news-detail-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.news-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.news-detail-footer {
    width: min(100%, 1000px);
    margin: 48px auto 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.mobile-link {
    display: none;
}
.cta-section {
    overflow: hidden;
    background: var(--accent);
    color: white;
}
.cta-inner {
    min-height: 330px;
    padding-block: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.eyebrow-light {
    color: rgba(255, 255, 255, 0.68);
}
.cta-inner h2 {
    font-size: clamp(39px, 4.8vw, 58px);
}
.cta-inner h2 em {
    color: #d7d4ff;
}
.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    z-index: 2;
}
.button-light {
    background: white;
    border-color: white;
    color: var(--accent);
}
.cta-secondary {
    font-size: 11px;
    font-weight: 600;
    display: flex;
    gap: 12px;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
}
.cta-decoration {
    position: absolute;
    right: 12%;
    font-size: 250px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.055);
}
.contact {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    column-gap: 80px;
    row-gap: 35px;
}
.contact-heading > p:not(.eyebrow) {
    max-width: 330px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}
.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 27px 18px;
    align-content: center;
}
.contact-details > div,
.contact-details > a {
    position: relative;
    padding-left: 37px;
}
.contact-icon {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
}
.contact-details small,
.contact-details strong {
    display: block;
}
.contact-details small {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.15em;
}
.contact-details strong {
    font-size: 10px;
    line-height: 1.65;
}
.map-card {
    grid-column: 1/-1;
    position: relative;
    overflow: hidden;
    min-height: 340px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--soft);
    box-shadow: var(--shadow);
}
.map-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(0.78) contrast(0.96);
}
[data-theme="dark"] .map-embed {
    filter: saturate(0.7) brightness(0.78) contrast(0.95);
}
.map-label {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 36px);
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.map-label-icon {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--soft);
    color: var(--accent);
    font-size: 18px;
}
.map-label-copy {
    min-width: 0;
}
.map-label strong,
.map-label small {
    display: block;
}
.map-label strong {
    font-size: 11px;
}
.map-label small {
    font-size: 9px;
    color: var(--muted);
}
.map-directions {
    flex: 0 0 auto;
    margin-left: 8px;
    padding: 8px 10px;
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}
.map-directions:hover {
    background: var(--accent-2);
}
.footer {
    background: #15182d;
    color: #fff;
    padding-top: 65px;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 48px;
}
.brand-footer .brand-name small {
    color: rgba(255, 255, 255, 0.52);
}
.footer-brand p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    line-height: 1.8;
}
.footer-brand .footer-motto {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.43);
    font-family: var(--serif);
    font-style: italic;
}
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.footer-column h4 {
    margin: 5px 0 9px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 8px;
    letter-spacing: 0.18em;
}
.footer-column a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 9px;
    transition: color 0.2s;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-block: 17px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    font-size: 8px;
}
.footer-bottom a {
    color: inherit;
}
.footer-credit span {
    color: #aaa6f0;
}
.modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: none;
    place-items: center;
    padding: 24px;
}
.modal.open {
    display: grid;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 13, 28, 0.75);
    backdrop-filter: blur(5px);
}
.modal-panel {
    width: min(720px, 100%);
    position: relative;
    padding: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.modal-close {
    position: absolute;
    right: 22px;
    top: 18px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    font-size: 24px;
    cursor: pointer;
}
.video-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: radial-gradient(circle at 50% 35%, #55518f, #20233d 70%);
    color: white;
}
.video-placeholder strong {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
}
.video-placeholder small {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 1000px) {
    .nav-links {
        gap: 12px;
    }
    .nav-links a {
        font-size: 10px;
    }
    .island {
        padding-left: 15px;
    }
    .nav-apply {
        font-size: 9px;
    }
    .about {
        gap: 60px;
    }
    .vision-grid {
        gap: 55px;
    }
    .hero-visual {
        height: 470px;
    }
}
@media (max-width: 1100px) {
    .hero {
        overflow: clip;
    }
}
@media (max-width: 800px) {
    .section-wrap {
        width: min(100% - 40px, 620px);
    }
    .section-space {
        padding-block: 80px;
    }
    .island,
    .island.compact {
        top: 12px;
        width: calc(100% - 28px);
        min-height: 60px;
        padding: 9px 12px 9px 15px;
    }
    .brand-mark {
        width: 35px;
        height: 35px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        padding: 17px;
        border: 1px solid var(--line);
        border-radius: 23px;
        background: color-mix(in srgb, var(--surface) 94%, transparent);
        backdrop-filter: blur(24px);
        box-shadow: var(--shadow);
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .nav-links.open {
        display: grid;
    }
    .nav-links a {
        padding: 13px 10px;
        border-bottom: 1px solid var(--line);
        font-size: 12px;
    }
    .nav-links a:nth-last-child(-n + 1) {
        border-bottom: 0;
    }
    .nav-actions {
        gap: 7px;
    }
    .theme-toggle {
        width: 35px;
        height: 35px;
    }
    .nav-apply {
        padding: 10px 13px;
    }
    .menu-toggle {
        display: grid;
        width: 35px;
        height: 35px;
    }
    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 125px;
        padding-bottom: 65px;
        gap: 0;
    }
    .hero-copy {
        padding-bottom: 0;
    }
    .hero h1 {
        font-size: clamp(44px, 9vw, 66px);
    }
    .hero-description {
        max-width: 500px;
    }
    .hero-note {
        margin-top: 37px;
    }
    .hero-visual {
        height: 410px;
        margin-top: 25px;
    }
    .image-frame {
        width: 74%;
        height: 350px;
    }
    .floating-seal {
        left: 5%;
        top: 13%;
        width: 78px;
        height: 78px;
    }
    .floating-stat {
        right: 3%;
        bottom: 8%;
    }
    .hero-bottom {
        bottom: 15px;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
    }
    .stat-item:nth-child(3) {
        padding-left: 0;
        border: 0;
    }
    .stat-quote {
        padding-left: 30px !important;
        border-left: 1px solid var(--line) !important;
    }
    .about {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .about-visual {
        height: 440px;
        width: min(470px, 100%);
        margin: auto;
    }
    .about-copy {
        max-width: 600px;
    }
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .vision-symbol {
        display: none;
    }
    .vision h2 br {
        display: none;
    }
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }
    .section-heading > p {
        max-width: 500px;
    }
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }
    .service-card:last-child {
        grid-column: 1/-1;
        min-height: 190px;
    }
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
    .news-card:last-child {
        display: none;
    }
    .cta-inner {
        min-height: 300px;
    }
    .cta-decoration {
        right: 5%;
        font-size: 190px;
    }
    .contact {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .news-detail-main {
        padding-top: 120px;
    }
    .news-detail-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .news-detail-aside {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .news-detail-aside a {
        margin-top: 0;
    }
    .contact-details {
        max-width: 600px;
    }
    .news-pagination {
        align-items: flex-start;
        flex-direction: column;
    }
    .map-card {
        grid-column: auto;
    }
    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 35px;
    }
    .footer-social {
        grid-column: 2/-1;
        display: grid;
        grid-template-columns: repeat(4, auto);
        align-items: center;
    }
    .footer-social h4 {
        grid-column: 1/-1;
    }
}
@media (max-width: 540px) {
    .section-wrap {
        width: calc(100% - 36px);
    }
    .section-space {
        padding-block: 66px;
    }
    .brand {
        flex: 1 1 auto;
        min-width: 0;
        gap: 7px;
    }
    .brand-mark {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
    }
    .brand-name {
        flex: 1 1 auto;
        min-width: 0;
        max-width: clamp(100px, 38vw, 190px);
        font-size: clamp(9px, 2.5vw, 13px);
        letter-spacing: 0.06em;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }
    .brand-name small {
        font-size: clamp(6px, 1.8vw, 8px);
        letter-spacing: 0.12em;
    }
    .nav-apply {
        font-size: 0;
        gap: 0;
        width: 35px;
        height: 35px;
        padding: 0;
    }
    .nav-apply span {
        font-size: 16px;
    }
    .hero {
        padding-top: 112px;
    }
    .eyebrow {
        font-size: 8px;
    }
    .hero h1 {
        font-size: clamp(34px, 10.8vw, 43px);
    }
    .hero-description {
        font-size: 12px;
    }
    .hero-actions {
        flex-wrap: wrap;
        gap: 12px;
    }
    .hero-actions .button {
        padding: 13px 15px;
        font-size: 10px;
    }
    .text-link {
        font-size: 10px;
    }
    .hero-visual {
        height: 350px;
        margin-top: 28px;
    }
    .image-frame {
        height: 300px;
        width: 75%;
    }
    .floating-stat {
        right: -1%;
        bottom: 5%;
        padding: 10px;
    }
    .floating-seal {
        left: 0;
        top: 10%;
        width: 70px;
        height: 70px;
        font-size: 5px;
    }
    .orbit-one {
        width: 330px;
        height: 220px;
    }
    .orbit-two {
        width: 390px;
        height: 270px;
    }
    .hero-bottom {
        font-size: 7px;
    }
    .stats {
        padding-block: 22px;
    }
    .stat-item {
        padding-left: 17px;
    }
    .stat-item > strong {
        font-size: 28px;
    }
    .stat-item > span {
        font-size: 9px;
    }
    .stat-quote {
        padding-left: 17px !important;
    }
    .stat-quote p {
        font-size: 11px;
    }
    .about-visual {
        height: 360px;
    }
    .about-photo {
        inset: 0 9% 7% 0;
    }
    .about-badge {
        width: 120px;
        height: 120px;
    }
    .about-badge span {
        font-size: 25px;
    }
    .about-vertical {
        left: -13px;
        font-size: 7px;
    }
    .about-copy h2,
    .vision h2,
    .contact h2 {
        font-size: clamp(31px, 9.5vw, 38px);
    }
    .about-points {
        grid-template-columns: 1fr;
    }
    .video-card {
        margin-top: 22px;
    }
    .vision-card {
        padding: 24px;
    }
    .vision-card p {
        font-size: clamp(16px, 5vw, 18px);
    }
    .mission-list {
        padding-left: 17px;
    }
    .section-heading h2 {
        font-size: clamp(32px, 10vw, 40px);
    }
    .program-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .program-art {
        height: 170px;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    .service-card,
    .service-card:last-child {
        grid-column: auto;
        min-height: 205px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-pagination {
        gap: 12px;
    }
    .news-pagination-links {
        width: 100%;
        justify-content: space-between;
        gap: 6px;
    }
    .news-page-link,
    .news-page-indicator {
        padding-inline: 8px;
        font-size: 9px;
    }
    .news-card:last-child {
        display: block;
    }
    .news-image {
        height: 190px;
    }
    .news-detail-main {
        padding-top: 112px;
        padding-bottom: 65px;
    }
    .news-detail-header {
        margin-block: 28px 30px;
    }
    .news-detail-title {
        font-size: clamp(30px, 8.5vw, 39px);
    }
    .news-detail-cover {
        aspect-ratio: 4 / 3;
        margin-bottom: 34px;
    }
    .news-detail-body {
        font-size: 13px;
    }
    .desktop-link {
        display: none;
    }
    .mobile-link {
        display: inline-flex;
        margin-top: 22px;
    }
    .cta-inner {
        min-height: 340px;
        display: block;
        padding-block: 60px;
    }
    .cta-inner h2 {
        font-size: clamp(33px, 10.5vw, 42px);
    }
    .cta-actions {
        margin-top: 27px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 14px;
    }
    .cta-decoration {
        right: -25px;
        bottom: 0;
        font-size: 150px;
    }
    .contact-details {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .map-card {
        min-height: 280px;
    }
    .map-label {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
        gap: 9px;
        padding: 10px;
    }
    .map-label small {
        font-size: 8px;
    }
    .map-directions {
        margin-left: auto;
        padding: 8px;
    }
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }
    .footer-brand {
        grid-column: 1/-1;
    }
    .footer-social {
        grid-column: 1/-1;
        grid-template-columns: repeat(4, auto);
        justify-content: start;
        gap: 10px 16px;
    }
    .footer-bottom {
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        line-height: 1.5;
        text-align: center;
    }
    .footer-bottom > * {
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 390px) {
    .island,
    .island.compact {
        width: calc(100% - 20px);
        padding-inline: 10px;
    }
    .nav-actions {
        flex-shrink: 0;
        gap: 5px;
    }
    .theme-toggle,
    .menu-toggle,
    .nav-apply {
        width: 32px;
        height: 32px;
    }
    .nav-apply {
        min-width: 32px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
