:root {
    --forest: #0f3d2e;
    
    --forest-dark: #08241b;
    --leaf: #5ea85b;
    --lime: #d8f171;
    --sand: #f7f0df;
    --clay: #d87945;
    --ink: #14211d;
    --white: #ffffff;
    --muted: #d9e5dd;
    --line: rgba(255, 255, 255, 0.14);
    --shadow: 0 30px 80px rgba(6, 26, 20, 0.35);
    --soft-glow: 0 24px 80px rgba(94, 168, 91, 0.18);
    --container: min(1440px, calc(100vw - 48px));
    --parallax-offset: 0px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(216, 241, 113, 0.14), transparent 24%),
        radial-gradient(circle at top left, rgba(216, 121, 69, 0.08), transparent 28%),
        linear-gradient(180deg, #f9f4e7 0%, #f7f1e4 45%, #fcfaf5 100%);
    color: var(--ink);
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 4px;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--forest);
    color: var(--white);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(8, 36, 27, 0.82);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(6, 26, 20, 0.2);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--white);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    overflow: hidden;
    flex-shrink: 0;
}

.brand-mark img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    transform: scale(2);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-copy span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    color: var(--white);
}

.main-nav a {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.main-nav a:hover {
    color: var(--lime);
    opacity: 1;
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 16px 28px;
    border: 0;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.nav-cta,
.btn-primary {
    color: var(--forest-dark);
    background: linear-gradient(135deg, var(--lime), #fff3a0);
    box-shadow: 0 20px 50px rgba(216, 241, 113, 0.25);
}

.btn-secondary {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.btn:hover,
.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 64px rgba(8, 36, 27, 0.22);
}

.menu-toggle {
    display: none;
}

.hero-section {
    position: relative;
    min-height: 100svh;
    padding: 140px 0 80px;
    overflow: hidden;
    background: var(--forest-dark);
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(12px);
    opacity: 0.65;
}

.hero-section::before {
    top: 18%;
    right: 8%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(216, 241, 113, 0.24), transparent 70%);
    animation: ambientDrift 11s ease-in-out infinite;
}

.hero-section::after {
    bottom: 12%;
    left: 4%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(216, 121, 69, 0.16), transparent 72%);
    animation: ambientDrift 14s ease-in-out infinite reverse;
}

.hero-backdrop {
    position: absolute;
    inset: -10% 0;
    transform: translate3d(0, var(--parallax-offset), 0);
    will-change: transform;
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.15) brightness(0.65);
    animation: heroZoom 16s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(216, 241, 113, 0.22), transparent 22%),
        linear-gradient(120deg, rgba(8, 36, 27, 0.92) 0%, rgba(8, 36, 27, 0.82) 46%, rgba(8, 36, 27, 0.35) 100%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(340px, 1.05fr);
    gap: 56px;
    align-items: center;
}

.eyebrow,
.card-kicker {
    margin: 0 0 18px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--clay);
}

.hero-copy h1,
.section-heading h2,
.section-copy h2,
.contact-card h2 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 4rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.hero-copy h1,
.hero-text,
.hero-stats dt,
.hero-stats dd,
.hero-card-caption,
.section-video .section-copy,
.contact-card {
    color: var(--white);
}

.hero-text {
    max-width: 640px;
    margin: 24px 0 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 60px 0 0;
}

.hero-stats div,
.hero-card,
.story-panel,
.story-logo-panel,
.value-card,
.area-card,
.project-card,
.structure-card,
.team-list,
.main-video-card,
.contact-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-stats div {
    padding: 28px 24px;
    border-radius: 28px;
}

.hero-stats dt {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.hero-stats dd {
    margin: 10px 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.hero-card,
.main-video-card {
    align-self: center;
    height: fit-content;
}

.hero-card,
.main-video-card {
    padding: 16px;
    border-radius: 36px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    animation: floatingCard 8s ease-in-out infinite;
}

hero-card::before,
story-panel::before,
story-logo-panel::before,
value-card::before,
area-card::before,
project-card::before,
structure-card::before,
team-list::before,
gallery-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 35%, rgba(216, 241, 113, 0.08));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.hero-card video,
.main-video-card video {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 26px;
    object-fit: cover;
    background: #000;
}

.hero-card-caption {
    padding: 24px 12px 8px;
}

.hero-card-caption span {
    display: block;
    margin-bottom: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lime);
}

.hero-card-caption strong {
    font-size: 1.2rem;
    line-height: 1.4;
}

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 860px;
    margin-bottom: 60px;
}

.section-heading h2,
.section-copy h2,
.contact-card h2 {
    color: var(--forest-dark);
}

.section-subtitle,
.section-copy p:not(.eyebrow),
.value-card p:last-child,
.area-card p,
.project-card p,
.project-facts li,
.structure-card p:last-child,
.person-row p {
    color: rgba(0, 0, 0, 0.74);
    line-height: 1.8;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(340px, 0.85fr) minmax(360px, 1fr);
    gap: 40px;
    align-items: start;
}

.story-side {
    display: grid;
    gap: 28px;
}

.story-panel,
.story-logo-panel,
.value-card,
.area-card,
.project-card,
.structure-card,
.team-list {
    border-radius: 38px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.story-panel {
    position: relative;
    overflow: hidden;
    padding: 44px;
    border-radius: 38px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.story-logo-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    border-radius: 38px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.story-logo-panel img {
    width: min(340px, 100%);
    height: auto;
    animation: floatingLogo 9s ease-in-out infinite;
}

.story-panel h3,
.value-card h3,
.area-card h3,
.project-card h3,
.structure-card h3,
.person-row strong {
    margin: 0;
    color: var(--forest-dark);
    letter-spacing: -0.05em;
}

.story-panel h3,
.value-card h3,
.area-card h3,
.structure-card h3,
.person-row strong {
    font-size: 1.75rem;
}

.check-list,
.project-facts {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

.check-list li,
.project-facts li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 18px;
}

.check-list li::before,
.project-facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--leaf), var(--lime));
    box-shadow: 0 0 0 6px rgba(94, 168, 91, 0.12);
}

.section-values,
.section-team,
.section-video {
    background: linear-gradient(180deg, #fffdf9 0%, #f4efe4 100%);
}

.values-grid,
.structure-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.value-card,
.area-card,
.structure-card {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border-radius: 34px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
}

.area-card {
    grid-column: span 2;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.area-card:nth-child(4),
.area-card:nth-child(5) {
    grid-column: span 3;
}

.story-panel:hover,
.story-logo-panel:hover,
.value-card:hover,
.area-card:hover,
.project-card:hover,
.structure-card:hover,
.gallery-card:hover,
.team-list:hover {
    transform: translateY(-8px);
    box-shadow: 0 36px 84px rgba(8, 36, 27, 0.2);
}

.hero-card:hover::before,
.story-panel:hover::before,
.story-logo-panel:hover::before,
.value-card:hover::before,
.area-card:hover::before,
.project-card:hover::before,
.structure-card:hover::before,
.gallery-card:hover::before,
.team-list:hover::before {
    opacity: 1;
}

.area-icon {
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    margin-bottom: 28px;
    font-size: 2rem;
    color: var(--forest);
    background: linear-gradient(135deg, rgba(216, 241, 113, 0.7), rgba(94, 168, 91, 0.15));
}

.section-projects,
.section-gallery {
    background:
        radial-gradient(circle at top right, rgba(216, 241, 113, 0.15), transparent 22%),
        linear-gradient(180deg, #f8f3e7 0%, #fffefb 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.project-card {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border-radius: 38px;
}

.project-card::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 241, 113, 0.32), transparent 70%);
}

.project-number {
    display: inline-flex;
    margin-bottom: 36px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--forest);
}

.project-card h3 {
    font-size: 2.2rem;
    margin-bottom: 18px;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.team-tags span {
    padding: 14px 20px;
    border-radius: 999px;
    background: #ecf3e7;
    color: var(--forest);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-list {
    border-radius: 38px;
    padding: 16px;
}

.person-row {
    padding: 24px 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

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

.person-row p {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clay);
}

.gallery-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-filters,
.gallery-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gallery-filter,
.gallery-page-button {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--forest);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter.is-active,
.gallery-page-button.is-active,
.gallery-filter:hover,
.gallery-page-button:hover {
    background: linear-gradient(135deg, var(--forest), var(--forest-dark));
    color: var(--white);
    box-shadow: 0 20px 50px rgba(8, 36, 27, 0.18);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gallery-card {
    position: relative;
    border: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 34px;
    background: var(--forest-dark);
    min-height: 320px;
    cursor: pointer;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.16);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-card.is-hidden {
    display: none;
}

.gallery-card img,
.gallery-card video {
    width: 100%;
    height: 390px;
    object-fit: cover;
    opacity: 0.88;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.gallery-card:hover img,
.gallery-card:hover video {
    transform: scale(1.06);
    opacity: 1;
}

.gallery-badge,
.gallery-play {
    position: absolute;
    z-index: 1;
    color: var(--white);
}

.gallery-badge {
    top: 18px;
    left: 18px;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: rgba(8, 36, 27, 0.6);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(8, 36, 27, 0.18);
}

.gallery-play {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 18px 26px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(216, 241, 113, 0.95), rgba(247, 240, 223, 0.95));
    color: var(--forest-dark);
    box-shadow: var(--soft-glow);
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.video-shell {
    display: grid;
    grid-template-columns: minmax(300px, 0.75fr) minmax(360px, 1fr);
    align-items: center;
    gap: 36px;
    padding: 24px;
    border-radius: 44px;
    background: linear-gradient(135deg, var(--forest-dark), #0f3d2e);
    box-shadow: var(--shadow);
}

.section-video .section-copy {
    padding: 34px 18px 34px 24px;
}

.section-video .section-copy h2,
.contact-card h2 {
    color: var(--white);
}

.section-video .section-copy p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.8);
}

.contact-card {
    border-radius: 42px;
    padding: 64px;
    text-align: center;
    background:
        radial-gradient(circle at top right, rgba(216, 241, 113, 0.22), transparent 20%),
        linear-gradient(135deg, var(--forest-dark), var(--forest));
}

.section-partners {
    background:
        radial-gradient(circle at top left, rgba(216, 241, 113, 0.14), transparent 24%),
        linear-gradient(180deg, #fffefb 0%, #f7f1e4 100%);
}

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

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 36px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 36px 84px rgba(8, 36, 27, 0.2);
}

.partner-card img {
    width: 100%;
    max-width: 320px;
    max-height: 160px;
    object-fit: contain;
}

.contact-card p:not(.eyebrow) {
    max-width: 640px;
    margin: 22px auto 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.contact-card .btn {
    margin-top: 36px;
}

.site-footer {
    padding: 52px 0 48px;
    background: var(--forest-dark);
    color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    font-size: 0.9rem;
}

.footer-brand-block,
.footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-title,
.footer-contact-title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
}

.footer-skyware,
.footer-contact-block a {
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-skyware:hover,
.footer-contact-block a:hover {
    color: var(--lime);
    opacity: 1;
}

.footer-top-link {
    margin-top: 8px;
    font-weight: 700;
}

.media-lightbox {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(1100px, calc(100vw - 32px));
    max-height: calc(100svh - 32px);
    margin: 0;
    border: 0;
    padding: 0;
    border-radius: 34px;
    background: transparent;
}

.media-lightbox::backdrop {
    background: rgba(6, 26, 20, 0.88);
    backdrop-filter: blur(12px);
}

.lightbox-body {
    border-radius: 34px;
    overflow: hidden;
    background: #000;
}

.lightbox-body img,
.lightbox-body video {
    width: 100%;
    max-height: 85svh;
    object-fit: contain;
    background: #000;
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lime), #fff3a0);
    color: var(--forest-dark);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lime), #fff3a0);
    color: var(--forest-dark);
    font-size: 1.8rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(8, 36, 27, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 28px 64px rgba(8, 36, 27, 0.38);
}

.reveal-up {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    transition: opacity 0.9s cubic-bezier(0.2, 1, 0.2, 1), transform 0.9s cubic-bezier(0.2, 1, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

@keyframes floatingCard {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatingLogo {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.02);
    }
}

@keyframes ambientDrift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, -18px, 0) scale(1.08);
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .two-column,
    .values-grid,
    .projects-grid,
    .structure-grid,
    .video-shell,
    .partners-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .area-card,
    .area-card:nth-child(4),
    .area-card:nth-child(5) {
        grid-column: span 1;
    }

    .main-nav {
        position: fixed;
        inset: 96px 24px auto;
        display: grid;
        gap: 8px;
        padding: 18px;
        border-radius: 28px;
        background: rgba(8, 36, 27, 0.96);
        box-shadow: var(--shadow);
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav a {
        padding: 16px 18px;
        border-radius: 18px;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        gap: 6px;
        width: 54px;
        height: 54px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.1);
        cursor: pointer;
    }

    .menu-toggle span {
        width: 22px;
        height: 2px;
        border-radius: 999px;
        background: var(--white);
    }
}

@media (max-width: 720px) {
    :root {
        --container: min(100vw - 28px, 1440px);
    }

    .site-header {
        padding: 12px 0;
    }

    .brand-copy span {
        display: none;
    }

    .brand-mark {
        width: 68px;
        height: 68px;
        border-radius: 18px;
    }

    .brand-mark img {
        width: 68px;
        height: 68px;
    }

    .brand-copy strong {
        font-size: 1rem;
    }

    .hero-section {
        padding-top: 118px;
    }

    .hero-grid,
    .two-column,
    .values-grid,
    .projects-grid,
    .structure-grid,
    .video-shell,
    .partners-grid,
    .gallery-grid,
    .hero-stats,
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        margin-top: 40px;
    }

    .hero-stats div,
    .story-panel,
    .story-logo-panel,
    .value-card,
    .area-card,
    .project-card,
    .structure-card,
    .partner-card,
    .contact-card {
        padding: 28px;
        border-radius: 28px;
    }

    .section {
        padding: 76px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .gallery-card img,
    .gallery-card video {
        height: 310px;
    }

    .video-shell {
        padding: 14px;
    }

    .section-video .section-copy {
        padding: 22px 12px 8px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 54px;
        height: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-backdrop img,
    .hero-backdrop,
    .hero-card,
    .hero-section::before,
    .hero-section::after,
    .story-logo-panel img,
    .reveal-up,
    .btn,
    .nav-cta,
    .gallery-card,
    .gallery-card img,
    .gallery-card video,
    .area-card,
    .project-card,
    .structure-card,
    .back-to-top {
        animation: none;
        transition: none;
    }

    .reveal-up {
        opacity: 1;
        transform: none;
        will-change: auto;
    }

    .hero-backdrop {
        transform: none;
    }
}
