@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
    --navy: #142c30;
    --paper: #f8f8f2;
    --lime: #d9f47a;
    --muted: #647471;
    --line: #dce2d9;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}
body {
    background: var(--paper);
    color: var(--navy);
    font-family: "DM Sans", sans-serif;
}
h1,
h2,
h3,
.brand {
    font-family: Manrope, sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select {
    font: inherit;
}
button,
a,
input,
select {
    touch-action: manipulation;
}
button {
    color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid #628800;
    outline-offset: 5px;
}
.container {
    max-width: 1200px;
    padding-left: 28px;
    padding-right: 28px;
}
.site-header {
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 102px;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.7px;
    line-height: 1.1;
}
.brand-symbol {
    font-size: 49px;
    font-weight: 400;
}
.brand-sub {
    display: block;
    font-family: "DM Sans", sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 7px;
}
.header-inner nav {
    display: flex;
    gap: 30px;
    font-size: 13px;
}
.header-inner nav a {
    padding: 14px 0;
}
.header-inner nav .active {
    border-bottom: 2px solid var(--navy);
}
.header-link {
    font-size: 13px;
    border: 1px solid var(--line);
    padding: 13px 18px;
    border-radius: 30px;
}
.header-link span {
    margin-left: 15px;
}
.menu-toggle {
    display: none;
}
.icon-fallback {
    font-size: 11px;
    margin-left: 5px;
}
.hero {
    padding-top: 65px;
    padding-bottom: 25px;
}
.eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 9px;
}
.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8cac42;
    display: inline-block;
}
.hero-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 45px;
    margin: 23px 0 46px;
}
h1 {
    font-size: clamp(48px, 6.5vw, 83px);
    font-weight: 500;
    letter-spacing: -5px;
    line-height: 1.08;
    margin: 0;
}
h1 em {
    font-style: normal;
    color: #718676;
}
.hero-copy {
    max-width: 385px;
    padding-bottom: 8px;
}
.hero-copy p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
}
.hero-copy a {
    font-size: 13px;
    font-weight: 700;
}
.hero-copy a span {
    margin-left: 24px;
}
.hero-bottom {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: 1.8px;
}
.hero-bottom i {
    margin-left: 13px;
}
.featured-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    margin-top: 15px;
}
.featured-art {
    position: relative;
    min-height: 400px;
    background: #17393d;
    overflow: hidden;
    border-radius: 8px 0 0 8px;
}
.featured-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: transform 1s;
}
.featured-section:hover .featured-art img {
    transform: scale(1.035);
}
.art-label,
.art-index {
    position: absolute;
    color: #dfe6de;
    font-size: 8px;
    letter-spacing: 1.8px;
    left: 28px;
}
.art-label {
    top: 28px;
}
.art-index {
    bottom: 26px;
}
.featured-copy {
    background: #edf0e7;
    padding: 40px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 8px 8px 0;
}
.featured-copy .eyebrow {
    margin-bottom: 35px;
}
.meta {
    display: flex;
    gap: 13px;
    align-items: center;
    font-size: 11px;
    color: var(--muted);
    flex-wrap: wrap;
}
.category-label {
    font-size: 10px;
    padding: 5px 10px;
    background: var(--lime);
    border-radius: 4px;
    color: var(--navy);
}
.featured-copy h2 {
    font-size: 37px;
    font-weight: 600;
    letter-spacing: -1.8px;
    line-height: 1.2;
    margin: 20px 0 14px;
}
.featured-copy p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 320px;
}
.round-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 0;
    padding: 8px 0;
    font-weight: 600;
    font-size: 13px;
    margin-top: 12px;
    text-align: left;
}
.round-link span {
    border: 1px solid #bac5b8;
    border-radius: 50%;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
}
.latest-section {
    padding-top: 80px;
}
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}
.section-heading h2 {
    font-size: 42px;
    letter-spacing: -2px;
    margin: 10px 0 0;
    font-weight: 600;
}
.lime-dot {
    color: #92ad51;
}
.section-heading p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 7px;
}
.controls {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}
.filters {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}
.filter {
    border: 1px solid var(--line);
    border-radius: 25px;
    padding: 10px 17px;
    background: transparent;
    font-size: 12px;
    transition: background 0.2s;
}
.filter.active,
.filter:hover {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}
.search-box {
    display: flex;
    gap: 10px;
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    padding: 10px 15px;
    border-radius: 24px;
    font-size: 12px;
}
.search-box input {
    border: 0;
    background: transparent;
    min-width: 0;
    width: 185px;
    color: var(--navy);
}
.results-line {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 11px;
    padding: 30px 0;
}
.results-line select {
    border: 0;
    background: transparent;
    color: var(--navy);
    margin-left: 8px;
}
.news-card {
    height: 100%;
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
}
.card-image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #e9ede3;
    aspect-ratio: 1.65;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.news-card:hover img {
    transform: scale(1.05);
}
.image-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--paper);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 10px;
}
.card-date {
    font-size: 11px;
    color: var(--muted);
    margin: 18px 0 10px;
}
.news-card h3 {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.35;
    margin-bottom: 11px;
}
.news-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 14px;
}
.card-button {
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
.card-button span {
    font-size: 21px;
    font-weight: 400;
}
.load-more-wrap {
    text-align: center;
    margin: 35px 0 65px;
}
.load-more {
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 14px 28px;
    background: transparent;
    font-size: 12px;
}
.load-more span {
    padding-left: 30px;
    font-size: 18px;
}
.updates {
    background: var(--lime);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 60px;
}
.updates-icon {
    font-size: 100px;
    line-height: 1;
}
.updates h2 {
    font-size: 30px;
    letter-spacing: -1px;
    margin: 12px 0;
    font-weight: 600;
}
.updates p {
    font-size: 12px;
    margin: 0;
    max-width: 380px;
}
.updates-button {
    margin-left: auto;
    background: var(--navy);
    color: white;
    border-radius: 30px;
    padding: 16px 22px;
    font-size: 12px;
    white-space: nowrap;
}
.updates-button span {
    margin-left: 20px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 30px;
}
.footer-top p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}
.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 22px 0 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    color: var(--muted);
}
.empty-state {
    text-align: center;
    padding: 50px 0;
}
.skip-link {
    position: absolute;
    left: 10px;
    top: -100px;
    background: var(--lime);
    padding: 10px;
    z-index: 5;
}
.skip-link:focus {
    top: 10px;
}
dialog {
    border: 0;
    border-radius: 12px;
    padding: 0;
    max-width: 720px;
    width: calc(100% - 32px);
    max-height: 85vh;
    background: var(--paper);
    color: var(--navy);
}
dialog::backdrop {
    background: rgba(11, 31, 34, 0.75);
    backdrop-filter: blur(5px);
}
dialog > img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.dialog-content {
    padding: 30px;
}
.dialog-content h2 {
    margin: 18px 0;
    font-size: 32px;
    letter-spacing: -1px;
}
.dialog-content p {
    line-height: 1.8;
}
.close-dialog {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 40px;
    height: 40px;
    background: white;
    border: 0;
    border-radius: 50%;
    font-size: 26px;
}
.demo-note {
    font-size: 11px;
    color: var(--muted);
}
body.dialog-open {
    overflow: hidden;
}
.reveal {
    animation: rise 0.55s both;
}
@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.mobile-nav {
    padding: 12px 28px;
}
.mobile-nav a {
    display: block;
    padding: 10px;
}
[hidden] {
    display: none !important;
}
@media (min-width: 768px) {
    .hero-row {
        animation: rise 0.8s both;
    }
    .featured-section {
        animation: rise 0.9s 0.1s both;
    }
}
@media (max-width: 991px) {
    .header-inner nav {
        gap: 15px;
    }
    .header-link {
        display: none;
    }
    .featured-copy {
        padding: 30px;
    }
    .featured-copy h2 {
        font-size: 30px;
    }
    .controls {
        flex-wrap: wrap;
    }
    .updates-icon {
        font-size: 65px;
    }
    .updates {
        gap: 20px;
    }
    .updates-button {
        padding: 14px;
    }
    .section-heading p {
        max-width: 230px;
    }
}
@media (max-width: 767px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .header-inner {
        min-height: 80px;
    }
    .header-inner nav {
        display: none;
    }
    .menu-toggle {
        display: block;
        border: 1px solid var(--line);
        background: transparent;
        border-radius: 20px;
        padding: 9px 13px;
    }
    .hero {
        padding-top: 40px;
    }
    .hero-row {
        display: block;
        margin-bottom: 30px;
    }
    h1 {
        letter-spacing: -2.7px;
    }
    .hero-copy {
        margin-top: 25px;
        max-width: 360px;
    }
    .hero-bottom {
        font-size: 8px;
        letter-spacing: 1px;
    }
    .featured-section {
        display: block;
    }
    .featured-art {
        min-height: 290px;
        border-radius: 8px 8px 0 0;
    }
    .featured-copy {
        border-radius: 0 0 8px 8px;
        padding: 28px;
    }
    .featured-copy .eyebrow {
        margin-bottom: 24px;
    }
    .latest-section {
        padding-top: 50px;
    }
    .section-heading {
        display: block;
    }
    .section-heading h2 {
        font-size: 34px;
    }
    .section-heading p {
        max-width: none;
        margin-top: 14px;
    }
    .filter {
        padding: 9px 12px;
    }
    .search-box {
        width: 100%;
    }
    .search-box input {
        width: 100%;
    }
    .updates {
        width: calc(100% - 40px);
        display: block;
        padding: 28px;
    }
    .updates-icon {
        font-size: 60px;
        margin-bottom: 18px;
    }
    .updates-button {
        display: inline-block;
        margin: 24px 0 0;
    }
    .footer-bottom {
        flex-wrap: wrap;
    }
    .footer-top {
        gap: 20px;
    }
    .footer-top p {
        font-size: 11px;
    }
    .footer-top .brand {
        font-size: 16px;
    }
    .footer-top .brand-symbol {
        font-size: 36px;
    }
    .footer-top .brand-sub {
        font-size: 7px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
/* Keep the news layout usable even if the Bootstrap CDN is unavailable. */
#newsGrid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
#newsGrid > div {
    width: calc((100% - 48px) / 3);
    padding: 0;
    margin: 0;
}
@media (max-width: 991px) {
    #newsGrid > div {
        width: calc((100% - 24px) / 2);
    }
}
@media (max-width: 767px) {
    #newsGrid > div {
        width: 100%;
    }
}
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 800px) {
    .editor-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 650px) {
    main {
        padding: 22px 12px;
    }
    .card {
        padding: 18px;
    }
    h1 {
        font-size: 25px;
    }
    .section-top {
        gap: 6px;
    }
}

.photo-preview {
    display: block;
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 8px;
    margin: 10px 0;
}

input[type="file"] {
    font-size: 14px;
}

.row-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.danger {
    background: #b42332;
}
.danger-link {
    color: #a11d2b;
    border-color: #ecc0c5;
}
.delete-confirmation {
    border-color: #ecc0c5;
}

/* --------------------------------
   SC01 animated heading
--------------------------------- */

.sc01 {
    --sc-ink: var(--bs-body-color, #23312b);
    --sc-accent: var(--bs-primary, #247c58);
}

.sc01 .sc23 {
    margin: 0;
    font-size: clamp(27px, 3.6vw, 48px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.05em;
    color: var(--sc-ink);
}

.sc01 .sc24 {
    position: relative;
    display: inline-block;
    font-weight: 400;
    font-style: italic;
    color: var(--sc-accent);
    padding-bottom: 7px;
    isolation: isolate;
}

.sc01 .sc24::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 50%;
    background: var(--sc-accent);
    opacity: 0.5;
    transform-origin: left;
}

.sc01 .sc25 {
    position: absolute;
    right: -9px;
    top: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sc-accent);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--sc-accent), transparent 90%);
}

@media (prefers-reduced-motion: no-preference) {
    .sc01 .sc24::after {
        animation: sc-title-line 4s ease-in-out infinite;
    }

    .sc01 .sc25 {
        animation: sc-title-dot 4s ease-in-out infinite;
    }
}

@keyframes sc-title-line {
    0%,
    100% {
        transform: scaleX(0.3);
        opacity: 0.2;
    }

    40%,
    70% {
        transform: scaleX(1);
        opacity: 0.6;
    }
}

@keyframes sc-title-dot {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.65;
    }

    50% {
        transform: translateY(-7px);
        opacity: 1;
    }
}

@media (max-width: 575.98px) {
    .sc01 .sc23 {
        font-size: 28px;
    }

    .sc01 .sc24 {
        display: block;
        width: fit-content;
        margin: 4px auto 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc01 .sc23,
    .sc01 .sc24,
    .sc01 .sc24::after,
    .sc01 .sc25 {
        animation: none !important;
        transition: none !important;
    }
}

/* Article reader: scoped to the news popup. */
#articleDialog.news-article-dialog {
    width: min(960px, calc(100% - 48px));
    max-width: 960px;
    max-height: 92vh;
    max-height: 92dvh;
    margin: auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: var(--paper);
    color: var(--navy);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    box-shadow: 0 28px 100px rgba(5, 28, 30, 0.32);
    scrollbar-width: thin;
    scrollbar-color: #a7b7aa var(--paper);
}
#articleDialog::backdrop {
    background: rgba(7, 26, 29, 0.78);
    backdrop-filter: blur(8px);
}
#articleDialog .dialog-toolbar {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    padding: 12px 26px;
    background: var(--navy);
    color: var(--paper);
}
#articleDialog .dialog-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    font-family: Manrope, sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--paper);
    text-decoration: none;
}
#articleDialog .dialog-brand > span {
    color: var(--lime);
    font-family: "DM Sans", sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.7px;
}
#articleDialog .close-dialog {
    position: static;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    color: var(--paper);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s;
}
#articleDialog .close-dialog:hover {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--navy);
}
#articleDialog .close-dialog:focus-visible,
#articleDialog .dialog-brand:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 3px;
}
#articleDialog > .dialog-hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    background: #e9ede3;
}
#articleDialog .dialog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 42px 46px 30px;
}
#articleDialog .dialog-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
    color: #536a59;
}
#articleDialog #articleMeta {
    display: block;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}
#articleDialog #articleTitle {
    margin: 0;
    font-family: Manrope, sans-serif;
    font-size: clamp(28px, 4.4vw, 46px);
    font-weight: 700;
    line-height: 1.17;
    letter-spacing: -1.5px;
    color: var(--navy);
    overflow-wrap: anywhere;
}
#articleDialog .dialog-title-rule {
    width: 70px;
    height: 4px;
    margin: 26px 0 30px;
    background: #b6d75b;
}
#articleDialog .dialog-body p {
    margin: 0 0 20px;
    color: #384d49;
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}
#articleDialog .dialog-body p:first-child {
    color: var(--navy);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.7;
}
#articleDialog .dialog-article-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 20px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}
#articleDialog .dialog-article-footer a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}
@media (max-width: 600px) {
    #articleDialog.news-article-dialog {
        width: calc(100% - 16px);
        max-height: 96vh;
        max-height: 96dvh;
        border-radius: 12px;
    }
    #articleDialog .dialog-toolbar {
        min-height: 64px;
        padding: 10px 16px;
    }
    #articleDialog .dialog-brand {
        display: block;
        font-size: 15px;
    }
    #articleDialog .dialog-brand > span {
        display: block;
        margin-top: 4px;
        font-size: 8px;
    }
    #articleDialog .dialog-content {
        padding: 28px 22px 24px;
    }
    #articleDialog #articleTitle {
        letter-spacing: -0.8px;
    }
    #articleDialog .dialog-body p {
        font-size: 15px;
        line-height: 1.8;
    }
    #articleDialog .dialog-body p:first-child {
        font-size: 17px;
    }
}
