/* ============================================================
   NILE CALLIGRAPHY
   EXHIBITION PAGE — PREMIUM EDITION
============================================================ */


/* ============================================================
   PAGE FOUNDATION
============================================================ */

.exhibition-page {
    background: var(--background);
    overflow-x: hidden;
}

.exhibition-page main {
    overflow: hidden;
}

.exhibition-wide-container {
    width: min(1400px, 92%);
    margin: 0 auto;
}

.exhibition-page img {
    max-width: 100%;
}


/* ============================================================
   HERO
============================================================ */

.exhibition-hero {
    position: relative;

    min-height: 760px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(circle at 80% 20%,
            rgba(198, 161, 91, 0.14),
            transparent 34%),
        linear-gradient(135deg,
            #11110f 0%,
            var(--primary) 55%,
            #181711 100%);

    color: var(--white);

    overflow: hidden;
}


.exhibition-hero::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -220px;
    top: -200px;

    border: 1px solid rgba(198, 161, 91, 0.18);

    border-radius: 50%;
}


.exhibition-hero::after {
    content: "";

    position: absolute;

    width: 760px;
    height: 760px;

    right: -420px;
    top: -260px;

    border: 1px solid rgba(198, 161, 91, 0.08);

    border-radius: 50%;
}


.exhibition-hero-inner {
    position: relative;
    z-index: 2;

    width: min(1400px, 92%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr) minmax(430px, 0.85fr);

    gap: 90px;

    align-items: center;
}


.exhibition-hero-copy {
    max-width: 720px;
}


.exhibition-eyebrow {
    display: block;

    margin-bottom: 16px;

    color: var(--secondary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.exhibition-kicker {
    display: inline-flex;

    margin-bottom: 25px;

    padding: 9px 15px;

    border: 1px solid rgba(198, 161, 91, 0.35);

    border-radius: 999px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 12px;

    letter-spacing: 1px;
}


.exhibition-hero h2 {
    max-width: 760px;

    margin: 0 0 28px;

    color: var(--white);

    font-family: var(--heading);

    font-size: clamp(60px, 6vw, 92px);

    line-height: 0.9;

    font-weight: 600;

    letter-spacing: -2px;
}


.exhibition-hero h2 span {
    display: block;

    color: var(--secondary);

    font-style: italic;
}


.exhibition-hero-lead {
    max-width: 650px;

    margin: 0 0 40px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 18px;

    line-height: 1.85;
}


.hero-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}


.hero-meta-item {
    min-width: 145px;

    padding: 16px 18px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 10px;

    backdrop-filter: blur(12px);
}


.hero-meta-item span {
    display: block;

    margin-bottom: 6px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.hero-meta-item strong {
    color: var(--white);

    font-size: 14px;

    font-weight: 400;
}


/* ============================================================
   HERO IMAGE
============================================================ */

.exhibition-hero-visual {
    display: flex;

    justify-content: flex-end;
}


.hero-image-frame {
    position: relative;

    width: min(100%, 560px);

    aspect-ratio: 4 / 5;

    padding: 10px;

    background:
        linear-gradient(135deg,
            rgba(198, 161, 91, 0.8),
            rgba(198, 161, 91, 0.12));

    border-radius: 18px;

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.48);

    transform: rotate(1deg);

    transition:
        transform 0.6s ease,
        box-shadow 0.6s ease;
}


.hero-image-frame:hover {
    transform: rotate(0deg) translateY(-8px);

    box-shadow:
        0 45px 110px rgba(0, 0, 0, 0.58);
}


.hero-image-frame::before {
    content: "";

    position: absolute;

    inset: 24px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 8px;

    pointer-events: none;

    z-index: 2;
}


.hero-image-frame img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    background: #e9e4da;

    border-radius: 10px;
}


.hero-image-caption {
    position: absolute;

    left: 28px;
    right: 28px;
    bottom: 28px;

    z-index: 4;

    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 15px 18px;

    background: rgba(17, 17, 15, 0.82);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 10px;

    backdrop-filter: blur(12px);
}


.hero-image-caption span {
    color: rgba(255, 255, 255, 0.62);

    font-size: 11px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.hero-image-caption strong {
    color: var(--secondary);

    font-size: 13px;
}


/* ============================================================
   INTRODUCTION
============================================================ */

.exhibition-introduction {
    padding: 125px 0;

    background: var(--white);
}


.exhibition-wide-container .intro-heading {
    display: grid;

    grid-template-columns: 1fr 1.2fr;

    gap: 100px;

    align-items: end;
}


.intro-heading h2 {
    max-width: 650px;

    margin: 0;

    font-family: var(--heading);

    font-size: clamp(48px, 5vw, 72px);

    line-height: 0.98;

    color: var(--primary);
}


.intro-copy {
    max-width: 700px;

    margin: 55px 0 0 auto;
}


.intro-copy p {
    margin: 0 0 20px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.85;
}


.intro-copy p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   SECTION HEADINGS
============================================================ */

.section-heading-centered {
    max-width: 760px;

    margin: 0 auto 60px;

    text-align: center;
}


.section-heading-centered h2 {
    margin: 10px 0 15px;

    color: var(--primary);

    font-family: var(--heading);

    font-size: clamp(44px, 4vw, 62px);

    line-height: 1;
}


.section-heading-centered p {
    margin: 0;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.7;
}


.gallery-section-heading {
    display: flex;

    justify-content: space-between;
    align-items: end;

    gap: 50px;

    margin-bottom: 45px;
}


.gallery-section-heading h2 {
    margin: 10px 0 0;

    color: var(--primary);

    font-family: var(--heading);

    font-size: clamp(42px, 4vw, 60px);

    line-height: 0.95;
}


.gallery-section-heading>p {
    max-width: 360px;

    margin: 0;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.7;
}


/* ============================================================
   FACTS
============================================================ */

.exhibition-facts {
    padding: 125px 0;

    background:
        linear-gradient(180deg,
            var(--background),
            #eee9df);
}


.facts-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


.fact-card {
    position: relative;

    min-height: 285px;

    border-radius: 18px;

    overflow: hidden;

    cursor: pointer;

    background:
        linear-gradient(145deg,
            var(--primary),
            #222119);

    border: 1px solid rgba(198, 161, 91, 0.2);

    box-shadow:
        0 15px 45px rgba(25, 24, 20, 0.08);

    transition:
        transform 0.45s cubic-bezier(.2, .8, .2, 1),
        box-shadow 0.45s ease;
}


.fact-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    top: -70px;

    border-radius: 50%;

    border: 1px solid rgba(198, 161, 91, 0.15);

    transition:
        transform 0.6s ease;
}


.fact-card:hover,
.fact-card:focus-within {
    transform: translateY(-9px);

    box-shadow:
        0 30px 70px rgba(25, 24, 20, 0.18);
}


.fact-card:hover::before,
.fact-card:focus-within::before {
    transform: scale(1.35);
}


.fact-front {
    position: relative;
    z-index: 2;

    min-height: 285px;

    padding: 30px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;
}


.fact-number {
    color: rgba(255, 255, 255, 0.35);

    font-family: var(--heading);

    font-size: 16px;

    letter-spacing: 2px;
}


.fact-icon {
    position: absolute;

    right: 28px;
    top: 28px;

    color: var(--secondary);

    font-size: 25px;
}


.fact-front h3 {
    margin: auto 0 8px;

    color: var(--white);

    font-family: var(--heading);

    font-size: 32px;

    line-height: 1;
}


.fact-front p {
    margin: 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 14px;
}


.fact-hint {
    margin-top: 20px;

    color: var(--secondary);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.fact-reveal {
    position: absolute;

    inset: 0;

    z-index: 5;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 32px;

    background:
        linear-gradient(135deg,
            rgba(198, 161, 91, 0.97),
            rgba(167, 127, 55, 0.96));

    transform: translateY(100%);

    transition:
        transform 0.45s cubic-bezier(.2, .8, .2, 1);
}


.fact-card:hover .fact-reveal,
.fact-card:focus-within .fact-reveal {
    transform: translateY(0);
}


.fact-reveal>span {
    margin-bottom: 14px;

    color: rgba(17, 17, 15, 0.62);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


.fact-reveal h3 {
    margin: 0 0 12px;

    color: var(--primary);

    font-family: var(--heading);

    font-size: 32px;

    line-height: 1;
}


.fact-reveal p {
    margin: 0;

    color: rgba(17, 17, 15, 0.72);

    font-size: 14px;

    line-height: 1.7;
}


/* ============================================================
   EXPERIENCE
============================================================ */

.experience-section {
    padding: 125px 0;

    background: var(--white);
}


.experience-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) minmax(380px, 0.7fr);

    gap: 90px;

    align-items: center;
}


.experience-copy h2 {
    max-width: 680px;

    margin: 12px 0 30px;

    color: var(--primary);

    font-family: var(--heading);

    font-size: clamp(46px, 4.5vw, 68px);

    line-height: 0.95;
}


.experience-copy p {
    max-width: 650px;

    margin: 0 0 18px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.85;
}


.experience-highlight-card {
    position: relative;

    padding: 55px 45px;

    background: var(--primary);

    border-radius: 22px;

    box-shadow:
        0 30px 70px rgba(17, 17, 15, 0.18);

    overflow: hidden;
}


.experience-highlight-card::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -120px;
    bottom: -120px;

    border-radius: 50%;

    border: 1px solid rgba(198, 161, 91, 0.22);
}


.experience-highlight-card>span {
    position: relative;
    z-index: 2;

    color: var(--secondary);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;
}


.experience-highlight-card h3 {
    position: relative;
    z-index: 2;

    margin: 25px 0;

    color: var(--white);

    font-family: var(--heading);

    font-size: 50px;

    line-height: 0.95;
}


.highlight-line {
    position: relative;
    z-index: 2;

    width: 55px;
    height: 1px;

    margin-bottom: 25px;

    background: var(--secondary);
}


.experience-highlight-card p {
    position: relative;
    z-index: 2;

    max-width: 400px;

    margin: 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 15px;

    line-height: 1.8;
}


/* ============================================================
   GALLERY SECTIONS
============================================================ */

.exhibition-gallery-section {
    padding: 120px 0;
}


.portrait-gallery-section {
    background: var(--background);
}


.horizontal-gallery-section {
    background: var(--white);
}


.exhibition-row {
    display: flex;

    gap: 26px;

    overflow-x: auto;

    overflow-y: hidden;

    padding: 8px 4px 28px;

    scroll-behavior: smooth;

    scroll-snap-type: x proximity;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(198, 161, 91, 0.6) transparent;
}


.exhibition-row::-webkit-scrollbar {
    height: 7px;
}


.exhibition-row::-webkit-scrollbar-track {
    background: transparent;
}


.exhibition-row::-webkit-scrollbar-thumb {
    background: rgba(198, 161, 91, 0.5);

    border-radius: 999px;
}


.exhibition-row::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}


.exhibition-photo-card {
    flex: 0 0 auto;

    scroll-snap-align: start;
}


.portrait-row .exhibition-photo-card {
    width: 390px;
}


.horizontal-row .exhibition-photo-card {
    width: 560px;
}


.exhibition-photo-frame {
    position: relative;

    width: 100%;

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(145deg,
            #e9e4da,
            #ddd6c8);

    border: 1px solid rgba(25, 24, 20, 0.08);

    border-radius: 16px;

    box-shadow:
        0 12px 38px rgba(25, 24, 20, 0.09);

    isolation: isolate;

    transition:
        transform 0.5s cubic-bezier(.2, .8, .2, 1),
        box-shadow 0.5s ease;
}


.exhibition-photo-frame::after {
    content: "";

    position: absolute;

    inset: 12px;

    z-index: 2;

    border: 1px solid rgba(198, 161, 91, 0.18);

    border-radius: 10px;

    pointer-events: none;
}


.portrait-frame {
    aspect-ratio: 4 / 5;
}


.horizontal-frame {
    aspect-ratio: 3 / 2;
}


.exhibition-photo-frame img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    object-position: center;

    transition:
        transform 0.7s cubic-bezier(.2, .8, .2, 1);
}


.exhibition-photo-card:hover .exhibition-photo-frame {
    transform: translateY(-8px);

    box-shadow:
        0 28px 65px rgba(25, 24, 20, 0.16);
}


.exhibition-photo-card:hover img {
    transform: scale(1.035);
}


.photo-number {
    position: absolute;

    z-index: 4;

    right: 22px;
    bottom: 20px;

    min-width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(17, 17, 15, 0.78);

    border: 1px solid rgba(198, 161, 91, 0.45);

    color: var(--secondary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    backdrop-filter: blur(8px);
}


/* ============================================================
   HERITAGE
============================================================ */

.heritage-section {
    padding: 125px 0;

    background:
        linear-gradient(135deg,
            #eee9df,
            #ffffff);
}


.heritage-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) minmax(0, 0.85fr);

    gap: 80px;

    align-items: center;
}


.heritage-image {
    aspect-ratio: 3 / 2;

    overflow: hidden;

    border-radius: 20px;

    background: #e9e4da;

    box-shadow:
        0 25px 65px rgba(25, 24, 20, 0.13);
}


.heritage-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


.heritage-copy h2 {
    max-width: 650px;

    margin: 12px 0 25px;

    color: var(--primary);

    font-family: var(--heading);

    font-size: clamp(45px, 4.3vw, 65px);

    line-height: 0.96;
}


.heritage-copy p {
    max-width: 620px;

    margin: 0 0 28px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.85;
}


.heritage-pill {
    display: inline-flex;

    flex-direction: column;

    gap: 5px;

    padding: 18px 22px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 12px;

    box-shadow: var(--shadow-soft);
}


.heritage-pill span {
    color: var(--secondary);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


.heritage-pill strong {
    color: var(--primary);

    font-size: 14px;
}


/* ============================================================
   QUESTIONS
============================================================ */

.questions-section {
    padding: 125px 0;

    background: var(--background);
}


.questions-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}


.question-card {
    position: relative;

    min-height: 240px;

    padding: 36px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 18px;

    overflow: hidden;

    box-shadow: var(--shadow-soft);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


.question-card::after {
    content: "";

    position: absolute;

    right: -70px;
    bottom: -70px;

    width: 190px;
    height: 190px;

    border-radius: 50%;

    border: 1px solid rgba(198, 161, 91, 0.13);

    transition:
        transform 0.5s ease;
}


.question-card:hover {
    transform: translateY(-7px);

    border-color: rgba(198, 161, 91, 0.5);

    box-shadow: var(--shadow-luxury);
}


.question-card:hover::after {
    transform: scale(1.25);
}


.question-number {
    display: block;

    margin-bottom: 30px;

    color: var(--secondary);

    font-family: var(--heading);

    font-size: 18px;
}


.question-card h3 {
    position: relative;
    z-index: 2;

    max-width: 550px;

    margin: 0 0 15px;

    color: var(--primary);

    font-family: var(--heading);

    font-size: 30px;

    line-height: 1.05;
}


.question-card p {
    position: relative;
    z-index: 2;

    max-width: 580px;

    margin: 0;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.75;
}


/* ============================================================
   RECOGNITION
============================================================ */

.recognition-section {
    padding: 125px 0;

    background: var(--white);
}


.recognition-cards {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}


.recognition-card {
    position: relative;

    min-height: 250px;

    padding: 30px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    background: var(--background);

    border: 1px solid var(--border);

    border-radius: 16px;

    overflow: hidden;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;
}


.recognition-card::before {
    content: "";

    position: absolute;

    top: 25px;
    left: 25px;

    width: 35px;
    height: 1px;

    background: var(--secondary);

    transition:
        width 0.4s ease;
}


.recognition-card:hover {
    transform: translateY(-8px);

    background: var(--primary);

    box-shadow: var(--shadow-luxury);
}


.recognition-card:hover::before {
    width: 65px;
}


.recognition-card>span {
    position: absolute;

    top: 27px;
    right: 27px;

    color: rgba(25, 24, 20, 0.42);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.recognition-card:hover>span {
    color: rgba(255, 255, 255, 0.4);
}


.recognition-card h3 {
    margin: 0 0 12px;

    color: var(--primary);

    font-family: var(--heading);

    font-size: 28px;

    line-height: 1;
}


.recognition-card p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.65;
}


.recognition-card:hover h3 {
    color: var(--white);
}


.recognition-card:hover p {
    color: rgba(255, 255, 255, 0.65);
}


/* ============================================================
   IMPACT
============================================================ */

.impact-section {
    padding: 105px 0;

    background: var(--primary);
}


.impact-grid {
    display: grid;

    grid-template-columns:
        1.3fr 0.65fr 0.65fr;

    gap: 25px;

    align-items: stretch;
}


.impact-copy {
    padding: 20px 35px 20px 0;
}


.impact-copy h2 {
    max-width: 600px;

    margin: 12px 0 22px;

    color: var(--white);

    font-family: var(--heading);

    font-size: clamp(45px, 4vw, 62px);

    line-height: 0.96;
}


.impact-copy p {
    max-width: 600px;

    margin: 0;

    color: rgba(255, 255, 255, 0.66);

    font-size: 16px;

    line-height: 1.8;
}


.impact-stat-card {
    min-height: 260px;

    padding: 32px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    background: rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(198, 161, 91, 0.25);

    border-radius: 18px;

    transition:
        transform 0.4s ease,
        background 0.4s ease;
}


.impact-stat-card:hover {
    transform: translateY(-8px);

    background: rgba(255, 255, 255, 0.075);
}


.impact-stat-card strong {
    color: var(--secondary);

    font-family: var(--heading);

    font-size: 64px;

    line-height: 0.9;
}


.impact-stat-card span {
    margin-top: 12px;

    color: var(--white);

    font-family: var(--heading);

    font-size: 25px;
}


.impact-stat-card small {
    margin-top: 12px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 12px;

    line-height: 1.5;
}


/* ============================================================
   TIMELINE
============================================================ */

.timeline-section {
    padding: 125px 0;

    background: var(--background);
}


.timeline {
    position: relative;

    max-width: 1000px;

    margin: 0 auto;

    padding-left: 75px;
}


.timeline::before {
    content: "";

    position: absolute;

    left: 24px;
    top: 0;
    bottom: 0;

    width: 1px;

    background:
        linear-gradient(to bottom,
            transparent,
            rgba(198, 161, 91, 0.6),
            transparent);
}


.timeline-item {
    position: relative;

    display: grid;

    grid-template-columns: 70px 1fr;

    gap: 30px;

    margin-bottom: 45px;

    padding: 28px 30px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 14px;

    box-shadow: var(--shadow-soft);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.timeline-item:last-child {
    margin-bottom: 0;
}


.timeline-item:hover {
    transform: translateX(8px);

    box-shadow: var(--shadow-luxury);
}


.timeline-item>span {
    position: absolute;

    left: -78px;
    top: 27px;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary);

    border: 1px solid var(--secondary);

    color: var(--secondary);

    font-size: 11px;

    font-weight: 700;

    z-index: 2;
}


.timeline-item h3 {
    margin: 0 0 8px;

    color: var(--primary);

    font-family: var(--heading);

    font-size: 29px;
}


.timeline-item p {
    max-width: 700px;

    margin: 0;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.75;
}


/* ============================================================
   CLOSING
============================================================ */

.exhibition-closing {
    padding: 145px 20px;

    background:
        radial-gradient(circle at center,
            rgba(198, 161, 91, 0.12),
            transparent 40%),
        var(--primary);

    text-align: center;
}


.exhibition-closing-inner {
    max-width: 850px;

    margin: 0 auto;
}


.exhibition-closing h2 {
    margin: 15px auto 25px;

    color: var(--white);

    font-family: var(--heading);

    font-size: clamp(50px, 5vw, 76px);

    line-height: 0.95;
}


.exhibition-closing p {
    max-width: 720px;

    margin: 0 auto 35px;

    color: rgba(255, 255, 255, 0.66);

    font-size: 17px;

    line-height: 1.85;
}


.closing-actions {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;
}


.closing-actions .primary-btn {
    background: var(--secondary);

    color: var(--primary);

    border-color: var(--secondary);
}


.closing-actions .primary-btn:hover {
    background: var(--white);

    border-color: var(--white);
}


.closing-actions .secondary-btn {
    color: var(--white);

    border-color: rgba(255, 255, 255, 0.3);
}


.closing-actions .secondary-btn:hover {
    background: var(--white);

    color: var(--primary);

    border-color: var(--white);
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1100px) {

    .exhibition-hero {
        min-height: auto;

        padding: 90px 0;
    }


    .exhibition-hero-inner {
        grid-template-columns:
            1fr 0.8fr;

        gap: 50px;
    }


    .facts-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .experience-grid {
        grid-template-columns:
            1fr;

        gap: 50px;
    }


    .experience-highlight-card {
        max-width: 650px;
    }


    .recognition-cards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .impact-grid {
        grid-template-columns:
            1fr 1fr;
    }


    .impact-copy {
        grid-column: 1 / -1;

        padding-right: 0;
    }

}


/* ============================================================
   TABLET / SMALL DESKTOP
============================================================ */

@media (max-width: 900px) {

    .exhibition-hero-inner {
        grid-template-columns: 1fr;
    }


    .exhibition-hero-copy {
        max-width: 800px;
    }


    .exhibition-hero-visual {
        justify-content: center;
    }


    .hero-image-frame {
        width: min(100%, 520px);
    }


    .exhibition-wide-container .intro-heading {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .intro-copy {
        margin-left: 0;
    }


    .portrait-row .exhibition-photo-card {
        width: 340px;
    }


    .horizontal-row .exhibition-photo-card {
        width: 500px;
    }


    .heritage-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .heritage-image {
        max-width: 750px;
    }


    .questions-grid {
        grid-template-columns: 1fr;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 768px) {

    .exhibition-wide-container {
        width: min(92%, 620px);
    }


    .exhibition-hero {
        padding: 75px 0 80px;
    }


    .exhibition-hero h2 {
        font-size: 58px;

        letter-spacing: -1px;
    }


    .exhibition-hero-lead {
        font-size: 16px;
    }


    .hero-meta {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .hero-meta-item {
        min-width: 0;
    }


    .hero-image-frame {
        width: 100%;

        max-width: 430px;
    }


    .exhibition-introduction,
    .exhibition-facts,
    .experience-section,
    .exhibition-gallery-section,
    .heritage-section,
    .questions-section,
    .recognition-section,
    .timeline-section {
        padding: 85px 0;
    }


    .intro-heading h2 {
        font-size: 48px;
    }


    .section-heading-centered {
        margin-bottom: 42px;
    }


    .section-heading-centered h2 {
        font-size: 45px;
    }


    .facts-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .fact-card,
    .fact-front {
        min-height: 250px;
    }


    .gallery-section-heading {
        display: block;

        margin-bottom: 35px;
    }


    .gallery-section-heading h2 {
        font-size: 45px;

        margin-bottom: 18px;
    }


    .gallery-section-heading>p {
        max-width: 600px;
    }


    .portrait-row .exhibition-photo-card {
        width: min(82vw, 350px);
    }


    .horizontal-row .exhibition-photo-card {
        width: min(90vw, 510px);
    }


    .experience-copy h2,
    .heritage-copy h2 {
        font-size: 47px;
    }


    .experience-highlight-card {
        padding: 40px 30px;
    }


    .experience-highlight-card h3 {
        font-size: 42px;
    }


    .recognition-cards {
        grid-template-columns: 1fr;
    }


    .recognition-card {
        min-height: 210px;
    }


    .impact-grid {
        grid-template-columns: 1fr;
    }


    .impact-copy {
        grid-column: auto;
    }


    .timeline {
        padding-left: 55px;
    }


    .timeline::before {
        left: 18px;
    }


    .timeline-item {
        grid-template-columns: 1fr;

        gap: 8px;

        padding: 27px 24px;
    }


    .timeline-item>span {
        left: -55px;

        width: 38px;
        height: 38px;

        top: 25px;

        font-size: 9px;
    }


    .timeline-item h3 {
        font-size: 27px;
    }


    .exhibition-closing {
        padding: 100px 20px;
    }


    .exhibition-closing h2 {
        font-size: 52px;
    }

}


/* ============================================================
   SMALL PHONES
============================================================ */

@media (max-width: 480px) {

    .exhibition-hero h2 {
        font-size: 47px;
    }


    .hero-meta {
        grid-template-columns: 1fr;
    }


    .hero-image-frame {
        padding: 7px;

        border-radius: 13px;
    }


    .hero-image-caption {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }


    .intro-heading h2 {
        font-size: 42px;
    }


    .section-heading-centered h2 {
        font-size: 40px;
    }


    .portrait-row .exhibition-photo-card {
        width: 82vw;
    }


    .horizontal-row .exhibition-photo-card {
        width: 88vw;
    }


    .experience-copy h2,
    .heritage-copy h2 {
        font-size: 42px;
    }


    .question-card {
        min-height: auto;

        padding: 30px 25px;
    }


    .question-card h3 {
        font-size: 27px;
    }


    .impact-stat-card {
        min-height: 220px;
    }


    .impact-stat-card strong {
        font-size: 55px;
    }


    .exhibition-closing h2 {
        font-size: 44px;
    }


    .closing-actions {
        flex-direction: column;
    }


    .closing-actions a {
        width: 100%;

        text-align: center;
    }

}


/* ============================================================
   ACCESSIBILITY / REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .exhibition-page *,
    .exhibition-page *::before,
    .exhibition-page *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;
    }

}