:root {
    --ink: #151515;
    --muted: #6f6f66;
    --paper: #f6f4ef;
    --line: #ded8cc;
    --accent: #0457fe;
    --brand-deep: #002180;
    --field: #fffdf8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
}

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

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px clamp(20px, 4vw, 56px);
    color: var(--ink);
    pointer-events: none;
}

.site-header.is-on-hero {
    color: #fff;
}

.site-header.is-on-contacts .menu-button {
    color: var(--ink);
}

.site-logo {
    display: inline-flex;
    align-items: center;
    width: 220px;
    height: 50px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
    pointer-events: auto;
}

.site-logo svg {
    display: block;
    width: 100%;
    height: auto;
}

.logo-primary {
    fill: var(--brand-deep);
    transition: fill .24s ease;
}

.logo-secondary {
    fill: var(--accent);
    transition: fill .24s ease;
}

.site-header.is-on-hero .logo-primary,
.site-header.is-on-hero .logo-secondary {
    fill: #fff;
}

.menu-button {
    width: 66px;
    height: 66px;
    position: relative;
    display: block;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
}

.menu-button span {
    display: block;
    position: absolute;
    left: 8px;
    right: 8px;
    top: 50%;
    height: 4px;
    background: currentColor;
    transform-origin: center;
    transition: transform .28s ease, opacity .2s ease;
}

.menu-button span:nth-child(1) {
    transform: translateY(-12px);
}

.menu-button span:nth-child(2) {
    transform: translateY(0);
}

.menu-button span:nth-child(3) {
    transform: translateY(12px);
}

.menu-button.is-open {
    color: var(--ink);
}

.menu-button.is-open span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-button.is-open span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

.site-nav {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    width: min(520px, 86vw);
    height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 36px;
    padding: 120px clamp(28px, 5vw, 70px) 42px;
    background: rgba(246, 244, 239, .96);
    backdrop-filter: blur(12px);
    box-shadow: -28px 0 70px rgba(0, 0, 0, .18);
    color: var(--ink);
    pointer-events: auto;
    transform: translateX(100%);
    transition: transform .42s ease;
}

.site-nav.is-open { transform: translateX(0); }

.site-nav-links {
    display: grid;
    align-content: start;
    gap: 14px;
}

.site-nav-links a {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: clamp(30px, 6.8vh, 58px);
    font-weight: 900;
    line-height: .92;
    text-transform: uppercase;
}

.site-nav-links a.is-active {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ink);
    text-stroke: 1.5px var(--ink);
}

.nav-footer {
    display: grid;
    gap: 22px;
}

.nav-socials {
    display: flex;
    gap: 14px;
}

.nav-socials a {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: var(--brand-deep);
}

.nav-socials svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.nav-contact {
    display: grid;
    gap: 8px;
}

.nav-contact a {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.2;
}

.snap-page {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

.screen {
    min-height: 100vh;
    scroll-snap-align: start;
}

.hero-screen {
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-screen::after,
.stage-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .55));
}

.stage-card::after {
    transition: background .34s ease;
}

.stage-card:hover::after,
.stage-card:focus-visible::after {
    background: linear-gradient(180deg, rgba(0, 33, 128, .18), rgba(0, 33, 128, .76));
}

.hero-copy {
    position: absolute;
    z-index: 1;
    left: clamp(24px, 6vw, 90px);
    bottom: clamp(32px, 9vh, 110px);
    max-width: min(720px, calc(100vw - 48px));
    color: #fff;
}

.hero-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(42px, 8vw, 110px);
    line-height: .95;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 580px;
    margin: 0;
    font-size: clamp(18px, 2vw, 28px);
    line-height: 1.35;
}

.about-screen {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: var(--paper);
}

.about-media {
    min-height: 100vh;
}

.about-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 110px clamp(28px, 6vw, 90px);
}

.about-copy p {
    max-width: 680px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(19px, 2vw, 27px);
    line-height: 1.52;
}

.about-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 58px;
    padding: 0 8px 0 24px;
    border: 2px solid var(--brand-deep);
    border-radius: 999px;
    color: var(--brand-deep);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    overflow: hidden;
    transition: color .24s ease, background .24s ease, transform .24s ease;
}

.about-button span {
    position: relative;
    z-index: 1;
}

.about-button span[aria-hidden="true"] {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--brand-deep);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    transition: background .24s ease, color .24s ease, transform .24s ease;
}

.about-button:hover,
.about-button:focus-visible {
    background: var(--brand-deep);
    color: #fff;
    transform: translateY(-2px);
}

.about-button:hover span[aria-hidden="true"],
.about-button:focus-visible span[aria-hidden="true"] {
    background: #fff;
    color: var(--brand-deep);
    transform: translateX(3px);
}

.stages-screen {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 26px;
    padding: 96px clamp(20px, 4vw, 56px) 40px;
}

.section-heading p,
.admin-heading p {
    margin: 0 0 8px;
    color: var(--muted);
    text-transform: uppercase;
    font-size: 12px;
}

.section-heading h2,
.admin-heading h1 {
    margin: 0;
    color: var(--brand-deep);
    font-size: 75px;
    letter-spacing: 0;
}

.display-heading {
    display: grid;
    gap: 2px;
    color: var(--brand-deep);
    font-size: clamp(44px, 8vw, 104px);
    font-weight: 900;
    line-height: .88;
    text-transform: uppercase;
    margin: 0;
}

.display-heading-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--brand-deep);
    text-stroke: 1.5px var(--brand-deep);
}

.stage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    min-height: 0;
}

.stage-card {
    position: relative;
    min-height: 210px;
    display: flex;
    align-items: flex-end;
    padding: 44px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.stage-card-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    transform: translateY(var(--summary-offset, 0));
    transition: transform .34s ease;
}

.stage-card-title {
    font-size: clamp(20px, 2.2vw, 34px);
    font-weight: 700;
    line-height: 1.05;
}

.stage-card-summary {
    display: block;
    max-width: 92%;
    color: rgba(255, 255, 255, .88);
    font-size: 15px;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(18px);
    max-height: 0;
    overflow: hidden;
    transition: opacity .28s ease, transform .34s ease, max-height .34s ease;
}

.stage-card:hover .stage-card-content,
.stage-card:focus-visible .stage-card-content {
    transform: translateY(-6px);
}

.stage-card:hover .stage-card-summary,
.stage-card:focus-visible .stage-card-summary {
    opacity: 1;
    transform: translateY(0);
    max-height: 120px;
}

.industries-screen {
    display: grid;
    grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: 96px clamp(20px, 4vw, 56px) 56px;
    background: var(--paper);
}

.performance-screen {
    display: grid;
    grid-template-columns: minmax(340px, .9fr) minmax(360px, 1.1fr);
    gap: clamp(36px, 5vw, 86px);
    align-items: center;
    padding: 96px clamp(20px, 4vw, 56px);
    background: #f7faf6;
}

.performance-copy {
    display: grid;
    gap: 30px;
}

.performance-details {
    display: grid;
    gap: 28px;
}

.performance-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(0, 33, 128, .24);
    border-bottom: 1px solid rgba(0, 33, 128, .24);
}

.performance-stat {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(22px, 3vw, 38px);
    color: var(--brand-deep);
}

.performance-stat:nth-child(even) {
    border-left: 1px solid rgba(0, 33, 128, .24);
}

.performance-stat:nth-child(n + 3) {
    border-top: 1px solid rgba(0, 33, 128, .24);
}

.performance-stat strong {
    max-width: 8ch;
    font-size: clamp(42px, 5.2vw, 86px);
    font-weight: 900;
    line-height: .86;
}

.performance-stat span {
    max-width: 230px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.industries-intro {
    display: grid;
    gap: 28px;
}

.industries-intro > p {
    max-width: 620px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 1.55;
}

.green-energy-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    max-width: none;
    padding: 26px 0;
    border-top: 1px solid rgba(20, 128, 73, .32);
}

.green-energy-icon {
    width: 54px;
    height: 54px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(20, 128, 73, .32);
    border-radius: 50%;
    background: rgba(20, 128, 73, .08);
    color: #148049;
}

.green-energy-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.green-energy-panel h3 {
    margin: 0 0 8px;
    color: #148049;
    font-size: clamp(22px, 2vw, 32px);
    line-height: 1.05;
}

.green-energy-panel p {
    margin: 0;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.55;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(0, 33, 128, .24);
}

.industry-item {
    min-height: 88px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0, 33, 128, .24);
    color: var(--brand-deep);
    transition: background .24s ease, color .24s ease;
}

.industry-item:nth-child(odd) {
    border-right: 1px solid rgba(0, 33, 128, .24);
}

.industry-item span {
    color: transparent;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 1px var(--brand-deep);
    text-stroke: 1px var(--brand-deep);
}

.industry-item strong {
    font-size: clamp(18px, 1.6vw, 26px);
    line-height: 1.08;
}

.industry-item:hover {
    background: var(--brand-deep);
    color: #fff;
}

.industry-item:hover span {
    -webkit-text-stroke-color: #fff;
    text-stroke-color: #fff;
}

.timeline-screen {
    display: grid;
    grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
    gap: clamp(32px, 5vw, 78px);
    align-items: center;
    padding: 96px clamp(20px, 4vw, 56px) 64px;
    background: #fffdf8;
}

.timeline-intro {
    align-self: start;
    padding-top: clamp(20px, 5vh, 62px);
}

.timeline-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(0, 33, 128, .22);
}

.timeline-item {
    position: relative;
    min-height: 128px;
    display: grid;
    align-content: start;
    gap: 13px;
    padding: 24px clamp(18px, 2.4vw, 34px) 22px 28px;
    border-bottom: 1px solid rgba(0, 33, 128, .22);
}

.timeline-item:nth-child(odd) {
    border-right: 1px solid rgba(0, 33, 128, .22);
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 0;
    width: 9px;
    height: 9px;
    border: 2px solid var(--brand-deep);
    border-radius: 50%;
    background: #fffdf8;
    transform: translateX(-50%);
}

.timeline-item:nth-child(odd)::before {
    left: auto;
    right: 0;
    transform: translateX(50%);
}

.timeline-item time {
    color: var(--brand-deep);
    font-size: clamp(24px, 2.4vw, 42px);
    font-weight: 900;
    line-height: .95;
}

.timeline-item p {
    max-width: 38ch;
    margin: 0;
    color: var(--ink);
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.45;
}

.facility-screen .about-copy p {
    font-size: clamp(18px, 1.65vw, 24px);
}

.facility-screen .display-heading,
.green-approach-screen .display-heading {
    font-size: clamp(40px, 6vw, 82px);
}

.green-approach-screen {
    display: grid;
    grid-template-columns: minmax(360px, .95fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 76px);
    align-items: center;
    padding: 96px clamp(20px, 4vw, 56px) 64px;
    background: #f7faf6;
}

.green-approach-copy {
    display: grid;
    gap: 28px;
}

.green-approach-copy > p {
    max-width: 700px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(18px, 1.65vw, 24px);
    line-height: 1.55;
}

.green-approach-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(20, 128, 73, .28);
}

.green-approach-list li {
    min-height: 84px;
    display: flex;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(20, 128, 73, .28);
    color: #148049;
    font-size: clamp(15px, 1vw, 17px);
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.green-approach-list li:nth-child(odd) {
    border-right: 1px solid rgba(20, 128, 73, .28);
}

.green-approach-gallery {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 16px;
    height: min(68vh, 680px);
    min-height: 460px;
}

.green-approach-gallery img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.green-approach-gallery img:first-child {
    grid-row: 1 / -1;
}

.contacts-screen {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 50vw);
    min-height: 100vh;
}

.contact-info {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 96px clamp(22px, 6vw, 90px);
}

.contact-text {
    max-width: 620px;
    margin: 16px 0 28px;
    font-size: 20px;
    line-height: 1.55;
}

.contact-panel {
    will-change: opacity, transform;
}

.contact-panel.is-sliding-out {
    animation: contactSlideOut .18s ease forwards;
}

.contact-panel.is-sliding-in {
    animation: contactSlideIn .38s ease forwards;
}

@keyframes contactSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-18px);
    }
}

@keyframes contactSlideIn {
    from {
        opacity: 0;
        transform: translateX(42px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-location-title {
    margin: 34px 0 0;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.05;
}

.contact-meta {
    display: grid;
    gap: 18px;
    margin: 0;
}

.contact-meta div {
    display: grid;
    gap: 4px;
}

.contact-meta dt {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.contact-meta dd {
    min-height: 20px;
    margin: 0;
}

.contact-map {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    min-height: 100vh;
    z-index: 1;
    background: #d8deed;
}

.leaflet-container {
    width: 100%;
    height: 100%;
    min-height: inherit;
    font: inherit;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    border-radius: 0;
    background: var(--brand-deep);
    color: #fff;
}

.leaflet-control-attribution,
.leaflet-control-zoom a {
    background: rgba(0, 33, 128, .9) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .22) !important;
}

.map-marker {
    width: 34px !important;
    height: 44px !important;
    margin: 0 !important;
    background: transparent;
}

.map-marker span {
    position: absolute;
    left: 50%;
    top: 0;
    width: 26px;
    height: 26px;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: var(--brand-deep);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
    transform: translateX(-50%) rotate(-45deg);
    transition: background .24s ease, border-color .24s ease, transform .24s ease, box-shadow .24s ease;
}

.map-marker span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #fff;
    transform: translate(-50%, -50%);
}

.map-marker.is-active span {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 8px rgba(4, 87, 254, .24), 0 14px 30px rgba(0, 0, 0, .55);
    transform: translateX(-50%) translateY(-6px) rotate(-45deg) scale(1.16);
}

.map-marker.is-active span::after {
    background: var(--accent);
}

.detail-page { background: var(--paper); }

.detail-stage-screen {
    min-height: 100vh;
    padding-top: 0;
}

.stage-intro-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 150px clamp(28px, 6vw, 90px) 110px;
}

.stage-intro-summary {
    max-width: 680px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(19px, 2vw, 27px);
    line-height: 1.52;
}

.stage-intro-body {
    max-width: 680px;
}

.stage-visual-panel {
    min-height: 100vh;
    padding: 40px;
    display: grid;
}

.stage-preview-grid {
    width: 100%;
    height: min(760px, calc(100vh - 80px));
    max-height: 100%;
    margin: auto 0;
    display: grid;
    gap: 20px;
    overflow: hidden;
}

.stage-preview-grid.is-single {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.stage-preview-grid.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.stage-preview-grid.is-compact .stage-preview-item:first-child {
    grid-row: 1 / -1;
}

.stage-preview-grid.is-full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.stage-preview-item {
    position: relative;
    margin: 0;
    min-height: 0;
    overflow: hidden;
}

.stage-preview-link {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.stage-preview-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .32s ease;
}

.stage-preview-link:hover img,
.stage-preview-link:focus-visible img {
    transform: scale(1.04);
}

.pswp__custom-caption {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 30;
    width: min(720px, calc(100vw - 32px));
    padding: 14px 18px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    background: rgba(12, 16, 24, .82);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    transform: translateX(-50%);
    backdrop-filter: blur(10px);
}

.pswp__custom-caption.is-hidden {
    display: none;
}

.detail-stage-screen .section-heading {
    display: grid;
    gap: 0;
}

.detail-stage-screen .section-heading h1 {
    margin: 0;
}

.rich-text {
    font-size: 19px;
    line-height: 1.7;
}


.site-footer {
    padding: 28px clamp(24px, 6vw, 90px);
    border-top: 1px solid var(--line);
}

.admin-body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 250px 1fr;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 28px;
    border-right: 1px solid var(--line);
    background: #ebe6db;
}

.admin-brand {
    font-size: 24px;
    font-weight: 700;
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
}

.admin-sidebar nav a,
.link-button {
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.admin-main {
    padding: 36px clamp(24px, 5vw, 70px);
}

.admin-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.admin-form,
.admin-list,
.login-panel {
    padding: 24px;
    border: 1px solid var(--line);
    background: #fffaf1;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.wide { grid-column: 1 / -1; }

label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.field-help {
    color: #7f7668;
    font-size: 12px;
    line-height: 1.45;
}

.admin-section-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.admin-section-tabs a {
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: #fffaf1;
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
}

.admin-section-tabs a.is-active {
    background: var(--ink);
    color: #fff;
}

input,
textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid var(--line);
    background: var(--field);
    color: var(--ink);
    font: inherit;
}

textarea { resize: vertical; }

.jodit-container:not(.jodit_inline) {
    border-color: var(--line);
}

.jodit-toolbar__box:not(:empty) {
    border-color: var(--line);
    background: #f3ede3;
}

.jodit-workplace {
    background: var(--field);
}

.jodit-wysiwyg {
    color: var(--ink);
    font: inherit;
    line-height: 1.55;
}

.checkbox,
.admin-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox input { width: auto; }

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.admin-form .primary-button { margin-top: 20px; }

.admin-list {
    display: grid;
    gap: 1px;
    padding: 0;
    overflow: hidden;
}

.admin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: #fffdf8;
}

.admin-row div:first-child {
    display: grid;
    gap: 6px;
}

.admin-row span {
    color: var(--muted);
    font-size: 14px;
}

.row-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.danger { color: var(--brand-deep); }

.notice {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #aac09b;
    background: #eef6ea;
}

.notice.error {
    border-color: #d9a19a;
    background: #fff0ed;
}

.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-panel {
    width: min(420px, 100%);
    display: grid;
    gap: 18px;
}

.login-panel h1 { margin: 0; }

.empty-state {
    grid-column: 1 / -1;
    align-self: center;
}

nav[role="navigation"] { margin-top: 18px; }

/* ── Clients page ─────────────────────────────────────────── */

.clients-page-screen {
    grid-template-columns: minmax(360px, .84fr) minmax(0, 1.16fr);
    align-items: stretch;
}

.clients-page-screen .about-copy {
    min-height: 100vh;
    padding-top: 104px;
    padding-bottom: 44px;
}

.clients-page-screen .about-media {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 92px clamp(20px, 4vw, 56px) 56px 0;
}

.clients-lead {
    max-width: 680px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(18px, 1.65vw, 24px);
    line-height: 1.5;
}

.clients-map-screen {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 0;
    background: var(--paper);
    padding: 0;
    overflow: hidden;
}

.clients-map-intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 110px clamp(20px, 4vw, 56px) 28px;
}

.clients-map-stat {
    margin: 0;
    font-size: 16px;
    color: var(--muted);
}

.clients-map-stat strong {
    color: var(--accent);
    font-size: 28px;
    font-weight: 900;
    margin-right: 6px;
}

.clients-map-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.clients-map-canvas {
    position: relative;
    display: block;
    width: 100%;
    max-height: min(78vh, 760px);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    line-height: 0;
}

.clients-map-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    pointer-events: none;
    user-select: none;
}

.clients-list-screen {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 40px;
    padding: 96px clamp(20px, 4vw, 56px) 60px;
    background: var(--paper);
    align-content: start;
}

.clients-country-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    max-height: min(56vh, 580px);
    overflow-y: auto;
    border-top: 1px solid rgba(0, 33, 128, .24);
    scrollbar-width: thin;
    scrollbar-color: var(--brand-deep) transparent;
}

.clients-country-item {
    min-height: 58px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(0, 33, 128, .24);
    color: var(--brand-deep);
    transition: background .24s ease, color .24s ease;
    cursor: default;
}

.clients-country-item:nth-child(odd) {
    border-right: 1px solid rgba(0, 33, 128, .24);
}

.clients-country-index {
    color: transparent;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 1px var(--brand-deep);
    text-stroke: 1px var(--brand-deep);
    transition: -webkit-text-stroke-color .24s ease;
}

.clients-country-name {
    color: currentColor;
    font-size: clamp(14px, 1.2vw, 19px);
    font-weight: 900;
    line-height: 1.1;
}

.clients-country-item:hover,
.clients-country-item:focus-visible {
    background: var(--brand-deep);
    color: #fff;
    outline: 0;
}

.clients-country-item:hover .clients-country-index,
.clients-country-item:focus-visible .clients-country-index {
    -webkit-text-stroke-color: #fff;
    text-stroke-color: #fff;
}

.clients-map-img .is-country-highlight {
    filter: drop-shadow(0 0 10px rgba(0, 33, 128, .34));
}

/* ── End clients page ─────────────────────────────────────── */

/* ── Contacts list page ───────────────────────────────────── */

.contacts-list-page-screen {
    display: grid;
    grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: 104px clamp(28px, 6vw, 90px) 64px;
    background: var(--paper);
}

.contacts-list-intro {
    display: grid;
    gap: 28px;
}

.contacts-list-intro > p {
    max-width: 620px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 1.55;
}

.contacts-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: min(72vh, 760px);
    overflow-y: auto;
    border-top: 1px solid rgba(0, 33, 128, .24);
    scrollbar-width: thin;
    scrollbar-color: var(--brand-deep) transparent;
}

.contacts-address-item {
    min-height: 220px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 20px;
    border-bottom: 1px solid rgba(0, 33, 128, .24);
    color: var(--brand-deep);
    transition: background .24s ease, color .24s ease;
}

.contacts-address-item:nth-child(odd) {
    border-right: 1px solid rgba(0, 33, 128, .24);
}

.contacts-address-index {
    color: transparent;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 1px var(--brand-deep);
    text-stroke: 1px var(--brand-deep);
    transition: -webkit-text-stroke-color .24s ease;
}

.contacts-address-content {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 14px;
}

.contacts-address-content h2 {
    margin: 0;
    color: currentColor;
    font-size: clamp(22px, 2vw, 34px);
    line-height: 1.05;
}

.contacts-address-text {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.45;
    transition: color .24s ease;
}

.contacts-address-meta {
    display: grid;
    gap: 12px;
    margin: 2px 0 0;
}

.contacts-address-meta div {
    display: grid;
    gap: 4px;
}

.contacts-address-meta dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    transition: color .24s ease;
}

.contacts-address-meta dd {
    min-width: 0;
    margin: 0;
    color: currentColor;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.contacts-address-item:hover {
    background: var(--brand-deep);
    color: #fff;
}

.contacts-address-item:hover .contacts-address-index {
    -webkit-text-stroke-color: #fff;
    text-stroke-color: #fff;
}

.contacts-address-item:hover .contacts-address-text,
.contacts-address-item:hover .contacts-address-meta dt {
    color: rgba(255, 255, 255, .78);
}

/* ── End contacts list page ───────────────────────────────── */

/* ── Catalog and static pages ─────────────────────────────── */

.catalog-detail-screen {
    grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
}

.catalog-gallery-panel {
    padding: 40px;
}

.catalog-gallery-grid {
    margin: auto 0;
}

.catalog-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.catalog-download-button {
    min-height: 58px;
    display: inline-grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    row-gap: 2px;
    padding: 8px 18px 8px 10px;
    border: 2px solid var(--brand-deep);
    border-radius: 999px;
    color: var(--brand-deep);
    transition: background .24s ease, color .24s ease, transform .24s ease;
}

.catalog-download-button span {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-deep);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    transition: background .24s ease, color .24s ease;
}

.catalog-download-button strong {
    font-size: 15px;
    line-height: 1;
    text-transform: uppercase;
}

.catalog-download-button small {
    color: currentColor;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    opacity: .72;
}

.catalog-download-button:hover {
    background: var(--brand-deep);
    color: #fff;
    transform: translateY(-2px);
}

.catalog-download-button:hover span {
    background: #fff;
    color: var(--brand-deep);
}

.catalog-download-empty {
    color: var(--muted);
    font-size: 15px;
}

.static-content-screen {
    display: flex;
    align-items: center;
    padding: 104px clamp(28px, 8vw, 120px) 72px;
    background: var(--paper);
}

.static-content-inner {
    width: 100%;
    margin: 0 auto;
    color: var(--ink);
    font-size: clamp(18px, 1.55vw, 24px);
    line-height: 1.6;
}

.static-content-inner h2,
.static-content-inner h3 {
    margin: 0 0 18px;
    color: var(--brand-deep);
    line-height: 1.05;
}

main.detail-page.snap-page .about-media {
    max-height: 100vh;
}

.static-content-inner p,
.static-content-inner ul,
.static-content-inner ol {
    margin: 0 0 22px;
}

.page-image-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 22px);
    margin: 34px 0;
}

.page-image-grid img {
    width: 100%;
    display: block;
}

.page-image-grid.is-wide img {
    aspect-ratio: 16 / 10;
}

/* ── End catalog and static pages ─────────────────────────── */

@media (max-width: 1120px) {
    .page-image-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .stage-grid,
    .contacts-screen,
    .about-screen,
    .contacts-list-page-screen,
    .industries-screen,
    .performance-screen,
    .form-grid,
    .admin-body {
        grid-template-columns: 1fr;
    }

    .snap-page {
        height: auto;
        overflow-y: visible;
        scroll-snap-type: none;
    }

    .screen { scroll-snap-align: none; }

    .stages-screen { min-height: auto; }

    .about-media {
        min-height: 60vh;
        padding: 24px;
    }

    .about-copy {
        padding: 54px 24px 72px;
    }

    .about-screen.is-reversed .about-copy {
        order: 2;
    }

    .about-screen.is-reversed .about-media {
        order: 1;
    }

    .clients-page-screen .about-copy {
        min-height: auto;
        padding: 92px 24px 36px;
    }

    .clients-page-screen .about-media {
        min-height: auto;
        padding: 0 18px 56px;
    }

    .stage-intro-panel {
        padding: 120px 24px 72px;
    }

    .stage-visual-panel {
        min-height: 60vh;
        padding: 24px;
    }

    .stage-preview-grid {
        height: 56vh;
        min-height: 320px;
        gap: 14px;
    }

    .stage-preview-grid.is-full {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, minmax(0, 1fr));
    }

    .stage-card { min-height: 180px; }

    .timeline-screen {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
        padding: 70px 24px;
    }

    .timeline-intro {
        padding-top: 0;
    }

    .timeline-list {
        grid-template-columns: 1fr;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        min-height: auto;
        border-right: 0;
        padding: 22px 0 22px 28px;
    }

    .timeline-item::before,
    .timeline-item:nth-child(odd)::before {
        left: 0;
        right: auto;
        transform: translateX(-50%);
    }

    .green-approach-screen {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
        padding: 70px 24px;
    }

    .green-approach-list {
        grid-template-columns: 1fr;
    }

    .green-approach-list li:nth-child(odd) {
        border-right: 0;
    }

    .green-approach-gallery {
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .green-approach-gallery img,
    .green-approach-gallery img:first-child {
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }

    .industries-screen {
        padding: 70px 24px;
    }

    .performance-screen {
        padding: 70px 24px;
    }

    .performance-stat {
        min-height: 156px;
        padding: 22px 18px;
    }

    .green-energy-panel {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
    }

    .green-energy-icon {
        width: 44px;
        height: 44px;
    }

    .green-energy-icon svg {
        width: 25px;
        height: 25px;
    }

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

    .industry-item:nth-child(odd) {
        border-right: 0;
    }

    .contact-map { min-height: 56vh; }

    .clients-map-canvas {
        max-height: none;
        width: 100%;
    }

    .clients-country-grid {
        grid-template-columns: 1fr;
        max-height: none;
        overflow: visible;
    }

    .clients-country-item:nth-child(odd) {
        border-right: 0;
    }

    .contacts-list-page-screen {
        min-height: auto;
        padding: 92px 24px 64px;
    }

    .catalog-gallery-panel {
        min-height: auto;
        padding: 24px;
    }

    .static-content-screen {
        min-height: auto;
        padding: 76px 24px;
    }

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

    .contacts-address-grid {
        grid-template-columns: 1fr;
        max-height: none;
        overflow: visible;
    }

    .contacts-address-item:nth-child(odd) {
        border-right: 0;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-heading,
    .admin-row,
    .row-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .page-image-grid {
        grid-template-columns: 1fr;
    }

    .performance-stats {
        grid-template-columns: 1fr;
    }

    .performance-stat:nth-child(even) {
        border-left: 0;
    }

    .performance-stat + .performance-stat {
        border-top: 1px solid rgba(0, 33, 128, .24);
    }
}
