@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Roboto+Slab:wght@400;600&display=swap");

:root {
    --color-background: #ffffff;
    --color-text: #1c1c1c;
    --color-muted: #5a5a5a;
    --color-button-bg: #111111;
    --color-button-text: #ffffff;
    --color-card-shadow: rgba(0, 0, 0, 0.08);
    --color-header-bg: rgba(255, 255, 255, 0.95);
    --color-header-border: #ededed;
    --color-card-bg: #ffffff;
    --color-footer-bg: #fafafa;
    --color-footer-border: #ededed;
    --color-link-underline: #000;
    --color-nav-toggle: #111;
    --color-section-link: #111111;
    --color-section-link-border: rgba(17, 17, 17, 0.2);
    --color-card-excerpt-bg: linear-gradient(135deg, rgba(240, 165, 0, 0.14), rgba(17, 17, 17, 0.05));
    --color-card-excerpt-text: #2a2a2a;
    --color-detail-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 248, 0.88));
    --color-detail-text: #2c2c2c;
    --color-admin-link: #555;
    --color-mobile-menu-bg: #ffffff;
    --color-mobile-menu-shadow: rgba(0, 0, 0, 0.25);
    --color-hero-title: #121212;
    --color-intro-heading: #141218;
    --color-intro-lead-bg: linear-gradient(120deg, rgba(240, 165, 0, 0.12), rgba(17, 17, 17, 0.04));
    --color-intro-lead-border: rgba(17, 17, 17, 0.06);
    --color-intro-lead-text: #2d2d2d;
    --color-highlight-card-bg: linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.86));
    --color-highlight-card-border: linear-gradient(135deg, rgba(240, 165, 0, 0.48), rgba(0, 0, 0, 0.35));
    --color-highlight-card-shadow: rgba(0, 0, 0, 0.55);
    --color-highlight-card-heading: #111111;
    --color-intro-heading-after: rgba(0, 0, 0, 0);
    --container-width: 1200px;
    --transition-duration: 0.3s;
    --accent-color: #f0a500;
}

[data-theme="dark"] {
    --color-background: #0a0a0a;
    --color-text: #e5e5e5;
    --color-muted: #9a9a9a;
    --color-button-bg: #f0a500;
    --color-button-text: #0a0a0a;
    --color-card-shadow: rgba(0, 0, 0, 0.4);
    --color-header-bg: rgba(10, 10, 10, 0.95);
    --color-header-border: #2a2a2a;
    --color-card-bg: #1a1a1a;
    --color-footer-bg: #111111;
    --color-footer-border: #2a2a2a;
    --color-link-underline: #f0a500;
    --color-nav-toggle: #e5e5e5;
    --color-section-link: #e5e5e5;
    --color-section-link-border: rgba(240, 165, 0, 0.3);
    --color-card-excerpt-bg: linear-gradient(135deg, rgba(240, 165, 0, 0.2), rgba(240, 165, 0, 0.08));
    --color-card-excerpt-text: #e5e5e5;
    --color-detail-bg: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(20, 20, 20, 0.88));
    --color-detail-text: #e5e5e5;
    --color-admin-link: #9a9a9a;
    --color-mobile-menu-bg: #1a1a1a;
    --color-mobile-menu-shadow: rgba(0, 0, 0, 0.5);
    --color-hero-title: #e5e5e5;
    --color-intro-heading: #e5e5e5;
    --color-intro-lead-bg: linear-gradient(120deg, rgba(240, 165, 0, 0.2), rgba(240, 165, 0, 0.08));
    --color-intro-lead-border: rgba(240, 165, 0, 0.2);
    --color-intro-lead-text: #e5e5e5;
    --color-highlight-card-bg: linear-gradient(120deg, rgba(26, 26, 26, 0.92), rgba(20, 20, 20, 0.86));
    --color-highlight-card-border: linear-gradient(135deg, rgba(240, 165, 0, 0.48), rgba(240, 165, 0, 0.25));
    --color-highlight-card-shadow: rgba(0, 0, 0, 0.7);
    --color-highlight-card-heading: #e5e5e5;
    --color-intro-heading-after: rgba(240, 165, 0, 0.3);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Roboto", Arial, sans-serif;
    color: var(--color-text);
    background-color: var(--color-background);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.container {
    width: min(100% - 2rem, var(--container-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-header-bg);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--color-header-border);
    margin-bottom: 1.75rem;
    transition: background var(--transition-duration) ease, border-color var(--transition-duration) ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 0;
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle-button {
    border: none;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: background var(--transition-duration) ease, transform var(--transition-duration) ease;
}

.theme-toggle-button:hover,
.theme-toggle-button:focus-visible {
    background: var(--color-card-shadow);
    transform: scale(1.05);
    outline: none;
}

.theme-toggle-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.theme-toggle-button .theme-icon-light {
    display: block;
}

.theme-toggle-button .theme-icon-dark {
    display: none;
}

[data-theme="dark"] .theme-toggle-button .theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-toggle-button .theme-icon-dark {
    display: block;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-zoom-button {
    border: none;
    background: rgba(17, 17, 17, 0.08);
    color: #111111;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.logo-zoom-button:hover,
.logo-zoom-button:focus-visible {
    background: rgba(17, 17, 17, 0.18);
    transform: translateY(-1px);
}

.site-logo {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
}

.site-title {
    font-family: "Roboto Slab", serif;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-navigation {
    position: relative;
}

.menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.menu-item a {
    position: relative;
    padding: 0.5rem 0;
}

.menu-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-link-underline);
    transition: width var(--transition-duration) ease;
}

.menu-item a:hover::after,
.menu-item a:focus-visible::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.25rem;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--color-nav-toggle);
    transition: transform var(--transition-duration) ease, background var(--transition-duration) ease;
}

.hero-slider {
    position: relative;
}

.hero-swiper {
    width: 100%;
    height: clamp(400px, 60vw, 640px);
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.swiper-slide-active .slide-background {
    transform: scale(1.12);
}

.slide-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 480px;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.slide-title {
    font-family: "Roboto Slab", serif;
    font-size: clamp(2.25rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.slide-description {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.slide-link {
    align-self: flex-start;
    padding: 0.75rem 1.75rem;
    background: rgba(17, 17, 17, 0.85);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 2rem;
    transition: transform var(--transition-duration) ease, background var(--transition-duration) ease;
}

.slide-link:hover,
.slide-link:focus-visible {
    transform: translateY(-2px);
    background: #111111;
}

.swiper-button-prev,
.swiper-button-next {
    color: #ffffff;
    width: 48px;
    height: 48px;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.65);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #ffffff;
}

.content-section {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: clamp(1.75rem, 4.5vw, 3rem);
}

.section-title-group {
    display: grid;
    gap: 0.45rem;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.section-kicker::before {
    content: "";
    display: block;
    width: 32px;
    height: 1px;
    background: var(--accent-color);
}

.section-title {
    margin: 0;
    font-family: "Roboto Slab", serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-section-link);
    padding: 0.4rem 0.2rem;
    border-bottom: 1px solid var(--color-section-link-border);
    transition: color var(--transition-duration) ease, border-color var(--transition-duration) ease, transform var(--transition-duration) ease;
}

.section-link::after {
    content: "↗";
    font-size: 0.9rem;
    transform: translateY(-1px);
}

.section-link:hover,
.section-link:focus-visible {
    color: var(--accent-color);
    border-color: rgba(240, 165, 0, 0.5);
    transform: translateY(-1px);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(1.5rem, 3.5vw, 2.4rem);
}

.page-header {
    display: grid;
    gap: 0.75rem;
}

.page-title {
    font-family: "Roboto Slab", serif;
    font-size: clamp(2.25rem, 5vw, 3rem);
    margin: 0 0 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.page-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(140deg, rgba(240, 165, 0, 0.2), rgba(17, 17, 17, 0.08));
    color: var(--accent-color);
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-subtitle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 6px rgba(240, 165, 0, 0.18);
}

.about-content,
.contact-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-muted);
}

.about-content p + p {
    margin-top: 1.25rem;
}

.contact-content {
    display: grid;
    gap: 1.5rem;
}

.contact-card {
    background: var(--color-card-bg);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 25px 45px -35px var(--color-card-shadow);
    transition: background var(--transition-duration) ease;
}

.contact-card h2 {
    margin: 0 0 0.75rem;
    font-family: "Roboto Slab", serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 1.05rem;
}

.contact-card a {
    text-decoration: underline;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--color-card-bg);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 45px -30px var(--color-card-shadow);
    transition: transform var(--transition-duration) ease, box-shadow var(--transition-duration) ease, background var(--transition-duration) ease;
}

.card:hover,
.card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.15);
}

.card-image {
    padding-top: 66%;
    background-size: cover;
    background-position: center;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.5rem;
}

.card-title {
    font-family: "Roboto Slab", serif;
    font-size: 1.15rem;
    margin: 0;
}

.card-title a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: transparent;
    transition: text-decoration-color var(--transition-duration) ease;
}

.card-title a:hover,
.card-title a:focus-visible {
    text-decoration-color: currentColor;
}

.card-excerpt {
    margin: 0;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    background: var(--color-card-excerpt-bg);
    color: var(--color-card-excerpt-text);
    line-height: 1.65;
    font-size: 0.96rem;
    text-align: center;
    letter-spacing: 0.02em;
    transition: background var(--transition-duration) ease, color var(--transition-duration) ease;
}

.card-read-more {
    margin-top: auto;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
}

.site-footer {
    border-top: 1px solid var(--color-footer-border);
    padding: 1.5rem 0;
    background: var(--color-footer-bg);
    transition: background var(--transition-duration) ease, border-color var(--transition-duration) ease;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-link {
    color: var(--color-admin-link);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    transition: color var(--transition-duration) ease;
}

.project-detail,
.story-detail,
.news-detail {
    display: grid;
    gap: clamp(1.75rem, 5vw, 2.75rem);
}

.project-detail-hero img,
.story-detail-hero img,
.news-detail-hero img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 24px 45px -30px rgba(0, 0, 0, 0.2);
}

.project-detail-body,
.story-detail-body,
.news-detail-body {
    background: var(--color-detail-bg);
    border-radius: 28px;
    padding: clamp(1.8rem, 5vw, 2.8rem);
    box-shadow: 0 45px 90px -65px var(--color-card-shadow);
    line-height: 1.85;
    color: var(--color-detail-text);
    transition: background var(--transition-duration) ease, color var(--transition-duration) ease;
}

.project-detail-body p + p,
.story-detail-body p + p,
.news-detail-body p + p {
    margin-top: 1rem;
}

.project-detail-back,
.story-detail-back,
.news-detail-back {
    font-size: 0.9rem;
}

.project-detail-back a,
.story-detail-back a,
.news-detail-back a {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.singles-gallery {
    display: grid;
    gap: clamp(1rem, 2vw, 1.75rem);
}

.singles-gallery[data-columns="1"] {
    grid-template-columns: 1fr;
}

.singles-gallery[data-columns="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.singles-gallery[data-columns="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.singles-gallery[data-columns="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.singles-gallery-column {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.75rem);
}

.singles-gallery figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.singles-lightbox-trigger {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.singles-lightbox-trigger:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 4px;
}

.singles-lightbox-trigger:hover img,
.singles-lightbox-trigger:focus-visible img {
    transform: scale(1.02);
}

.singles-gallery img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease;
}

.singles-gallery figcaption {
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-muted);
}

body.lightbox-open {
    overflow: hidden;
}

.media-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 6, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 3rem);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.media-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.media-lightbox__inner {
    position: relative;
    max-width: min(96vw, 1400px);
    max-height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.media-lightbox__inner img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(90vh - 80px);
    border-radius: 20px;
    box-shadow: 0 60px 120px -80px rgba(0, 0, 0, 0.8);
}

@media (max-width: 640px) {
    .media-lightbox__inner img {
        max-height: calc(90vh - 60px);
    }
}

.media-lightbox__caption {
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f4f4f4;
    text-align: center;
}

.media-lightbox__close {
    position: absolute;
    top: clamp(1rem, 4vw, 2rem);
    right: clamp(1rem, 4vw, 2rem);
    border: none;
    background: rgba(17, 17, 17, 0.65);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.media-lightbox__close:hover,
.media-lightbox__close:focus-visible {
    transform: scale(1.05);
    background: rgba(240, 165, 0, 0.85);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.9rem;
    border-radius: 999px;
    background: linear-gradient(140deg, var(--accent-color) 0%, #111111 95%);
    color: #ffffff;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -22px rgba(0, 0, 0, 0.7);
}

.page-hero-section {
    margin-bottom: clamp(2rem, 7vw, 4rem);
}

.page-hero-wrapper {
    display: grid;
    gap: clamp(1.5rem, 5vw, 2.75rem);
}

.page-hero-heading {
    display: grid;
    gap: 0.55rem;
    align-content: start;
    max-width: 720px;
}

.page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.page-hero-eyebrow::before {
    content: "";
    display: block;
    width: 34px;
    height: 1px;
    background: var(--accent-color);
}

.page-hero-title {
    margin: 0;
    font-family: "Roboto Slab", serif;
    font-size: clamp(2.4rem, 7vw, 3.8rem);
    letter-spacing: 0.02em;
    line-height: 1.08;
    color: var(--color-hero-title);
    text-shadow: 0 18px 42px rgba(0, 0, 0, 0.15);
    transition: color var(--transition-duration) ease;
}

.page-hero-visual {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    min-height: clamp(320px, 52vw, 470px);
    background-size: cover;
    background-position: center;
    box-shadow: 0 38px 85px -50px rgba(0, 0, 0, 0.7);
}

.page-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(9, 9, 9, 0.75) 8%, rgba(9, 9, 9, 0.25) 55%, rgba(0, 0, 0, 0.6) 100%);
}

.page-hero-visual-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.2rem;
    padding: clamp(2rem, 6vw, 4.2rem);
    color: #ffffff;
}

.page-hero-lead {
    margin: 0;
    max-width: 560px;
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.93);
    text-shadow: 0 16px 35px rgba(0, 0, 0, 0.55);
}

.page-hero-visual-content .btn-primary {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    text-transform: uppercase;
}

.page-hero-visual-content .btn-primary:hover,
.page-hero-visual-content .btn-primary:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.65);
}

.about-content,
.contact-content {
    width: min(100% - 2rem, 980px);
    margin: 0 auto;
    display: grid;
    gap: clamp(2rem, 6vw, 3rem);
}

.page-intro-layout {
    display: grid;
    gap: clamp(1.5rem, 5vw, 2.5rem);
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-intro {
    display: grid;
    gap: 0.75rem;
    text-align: center;
}

.intro-heading {
    margin: 0;
    font-family: "Roboto Slab", serif;
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    letter-spacing: 0.04em;
    color: var(--color-intro-heading);
    transition: color var(--transition-duration) ease;
}

.intro-heading::after {
    content: "";
    display: block;
    width: 58px;
    height: 3px;
    margin: 0.6rem auto 0;
    background: linear-gradient(90deg, var(--accent-color), var(--color-intro-heading-after));
    transition: background var(--transition-duration) ease;
}

.intro-lead {
    margin: 0 auto;
    max-width: 560px;
    padding: 1.25rem 1.6rem;
    border-radius: 18px;
    background: var(--color-intro-lead-bg);
    border: 1px solid var(--color-intro-lead-border);
    color: var(--color-intro-lead-text);
    font-size: 1.05rem;
    line-height: 1.85;
    transition: background var(--transition-duration) ease, border-color var(--transition-duration) ease, color var(--transition-duration) ease;
}

.page-intro-media {
    justify-self: center;
    width: min(100%, 360px);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 35px 70px -50px rgba(0, 0, 0, 0.65);
}

.page-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlights-grid,
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
}

.highlight-card,
.contact-card {
    position: relative;
    background: var(--color-highlight-card-bg) padding-box,
        var(--color-highlight-card-border) border-box;
    border: 1px solid transparent;
    border-radius: 22px;
    padding: 1.8rem;
    box-shadow: 0 40px 70px -55px var(--color-highlight-card-shadow);
    display: grid;
    gap: 1.1rem;
    text-align: left;
    transition: background var(--transition-duration) ease, box-shadow var(--transition-duration) ease;
}

.highlight-card h3,
.contact-card h3 {
    margin: 0;
    font-family: "Roboto Slab", serif;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-highlight-card-heading);
    transition: color var(--transition-duration) ease;
}

.icon-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.icon-list li {
    display: grid;
    grid-template-columns: 26px 1fr;
    align-items: start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.icon-list li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    width: 26px;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.06);
    color: #111111;
    font-size: 0.75rem;
    font-weight: 600;
}

.timeline-panel {
    background: #ffffff;
    border-radius: 24px;
    padding: clamp(1.8rem, 5vw, 2.4rem);
    box-shadow: 0 38px 70px -50px rgba(0, 0, 0, 0.55);
    display: grid;
    gap: 1.5rem;
}

.timeline-panel h3 {
    margin: 0;
    font-family: "Roboto Slab", serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1a1a1a;
}

.timeline-track {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px dashed rgba(0, 0, 0, 0.1);
    display: grid;
    gap: 1.4rem;
}

.timeline-item {
    position: relative;
    padding-left: 0.5rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 6px rgba(240, 165, 0, 0.15);
}

.timeline-year {
    display: inline-block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #666666;
    margin-bottom: 0.3rem;
}

.timeline-item p {
    margin: 0;
    color: #2f2f2f;
    line-height: 1.65;
}

.narrative-block {
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
    border-radius: 24px;
    padding: clamp(1.8rem, 5vw, 2.5rem);
    box-shadow: 0 35px 70px -50px rgba(0, 0, 0, 0.45);
    color: #2a2a2a;
    line-height: 1.85;
    font-size: 1.02rem;
    display: grid;
    gap: 1.1rem;
}

.about-cta,
.contact-cta {
    background: radial-gradient(circle at top right, rgba(240, 165, 0, 0.28), rgba(0, 0, 0, 0.92));
    color: #ffffff;
    border-radius: 26px;
    padding: clamp(2rem, 6vw, 3.4rem);
    display: grid;
    gap: 1.4rem;
    box-shadow: 0 45px 85px -55px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.about-cta h3,
.contact-cta h3 {
    margin: 0;
    font-family: "Roboto Slab", serif;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    letter-spacing: 0.04em;
}

.about-cta p,
.contact-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.8;
}

.about-gallery,
.contact-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}

.about-gallery figure,
.contact-gallery figure {
    margin: 0;
}

.about-gallery img,
.contact-gallery img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 32px 70px -55px rgba(0, 0, 0, 0.5);
}

.contact-card a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.contact-card a:hover,
.contact-card a:focus-visible {
    text-decoration-color: currentColor;
}

.contact-meta {
    display: grid;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.centered-block {
    text-align: center;
    margin: 0 auto;
    max-width: 640px;
}

.callout-image {
    float: right;
    width: min(260px, 35vw);
    margin: 0 0 1.5rem 1.5rem;
    border-radius: 18px;
    box-shadow: 0 24px 50px -35px rgba(0, 0, 0, 0.35);
}

.media-video-caption {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin: 0.75rem 0 0;
    text-align: left;
}

.detail-gallery,
.detail-videos {
    width: 100%;
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
    display: grid;
    gap: 1rem;
}

.detail-section-title {
    margin: 0;
    font-family: "Roboto Slab", serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: #888888;
}

.media-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.media-gallery-item {
    margin: 0;
}

.media-gallery-trigger {
    display: block;
    width: 100%;
    border: none;
    background: none;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-gallery-trigger:hover,
.media-gallery-trigger:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 30px 70px -55px rgba(0, 0, 0, 0.6);
}

.media-gallery-trigger img {
    width: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.media-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.media-video {
    display: grid;
    gap: 0.75rem;
}

.media-video iframe,
.media-video video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 35px 75px -55px rgba(0, 0, 0, 0.55);
    background: #000;
}

@media (max-width: 640px) {
    .media-video iframe,
    .media-video video {
        min-height: 200px;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: clamp(2rem, 6vw, 3rem) auto 0;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.85);
    color: #111111;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.pagination-link:hover,
.pagination-link:focus-visible {
    transform: translateY(-2px);
    border-color: var(--accent-color);
    background: rgba(240, 165, 0, 0.12);
}

.pagination-link.is-active {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px -28px rgba(240, 165, 0, 0.45);
}

.pagination-link--prev,
.pagination-link--next {
    padding: 0 1.5rem;
}

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .page-hero-heading {
        text-align: center;
        justify-items: center;
    }

    .page-intro {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 110%;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        background: var(--color-mobile-menu-bg);
        padding: 1.5rem;
        border-radius: 16px;
        box-shadow: 0 24px 45px -30px var(--color-mobile-menu-shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity var(--transition-duration) ease, transform var(--transition-duration) ease, background var(--transition-duration) ease, box-shadow var(--transition-duration) ease;
        min-width: 220px;
    }

    .menu.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .cards-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .page-hero-title {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .page-hero-visual {
        border-radius: 22px;
    }
}

@media (max-width: 640px) {
    .site-branding {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .logo-zoom-button {
        padding: 0.25rem 0.6rem;
    }
}

@media (max-width: 540px) {
    .page-hero-heading {
        gap: 0.35rem;
    }

    .intro-lead {
        padding: 1.1rem 1.25rem;
    }
}

@media (max-width: 520px) {
    .site-title {
        display: none;
    }

    .slide-title {
        font-size: clamp(1.75rem, 9vw, 2.25rem);
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .about-cta,
    .contact-cta {
        border-radius: 18px;
    }

    .about-gallery,
    .contact-gallery {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .callout-image {
        float: none;
        width: 100%;
        margin: 0 0 1.25rem;
    }
}

.card-excerpt {
    margin: 0;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    background: var(--color-card-excerpt-bg);
    color: var(--color-card-excerpt-text);
    line-height: 1.65;
    font-size: 0.96rem;
    text-align: center;
    letter-spacing: 0.02em;
    transition: background var(--transition-duration) ease, color var(--transition-duration) ease;
}

.detail-excerpt {
    margin: 0 auto;
    max-width: 640px;
    padding: clamp(0.75rem, 3vw, 1.25rem) clamp(1rem, 4vw, 1.8rem);
    color: #1a1a1a;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.8;
    text-align: center;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.detail-excerpt::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    margin: 0.75rem auto 0;
    background: rgba(17, 17, 17, 0.25);
}

.hero-swiper, .swiper-wrapper, .swiper-slide {
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.hero-swiper .swiper-slide {
    transition: opacity 0.75s ease-in-out;
    pointer-events: none;
}

.hero-swiper .swiper-slide.swiper-slide-active {
    pointer-events: auto;
}

