:root {
    --bg:#f4f6f1;
    --surface:#ffffff;
    --ink:#18231f;
    --muted:#6f7a75;
    --line:rgba(24,35,31,.13);
    --accent:#d8ef8e;
    --accent-2:#e9f6c5;
    --deep:#1d2925;
    --radius:28px;
    --shadow:0 28px 80px rgba(18,37,31,.12);
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font-family:"Manrope",sans-serif;
    overflow-x:hidden
}

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

button,input {
    font:inherit
}

img {
    display:block;
    width:100%
}

.noise {
    position:fixed;
    inset:0;
    pointer-events:none;
    opacity:.025;
    z-index:99;
    background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E")
}

.orb {
    position:fixed;
    border-radius:50%;
    filter:blur(2px);
    pointer-events:none;
    z-index:-1;
    opacity:.6;
    animation:floatOrb 10s ease-in-out infinite alternate
}

.orb-a {
    width:260px;
    height:260px;
    background:radial-gradient(circle,var(--accent),transparent 68%);
    top:8%;
    right:-80px
}

.orb-b {
    width:320px;
    height:320px;
    background:radial-gradient(circle,#dcefeb,transparent 68%);
    bottom:3%;
    left:-120px;
    animation-delay:-3s
}

@keyframes floatOrb {
    to {
        transform:translate3d(0,35px,0) scale(1.08)
    }

}

.section-shell {
    width:min(1400px,calc(100% - 48px));
    margin-inline:auto
}

.topbar {
    height: 92px;

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

    width: min(1400px, calc(100% - 48px));
    margin: auto;

    position: sticky;
    top: 14px;

    z-index: 1000;

    padding: 0 22px;

    border: 1px solid transparent;
    border-radius: 24px;

    background: rgba(244, 246, 241, 0);

    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);

    box-shadow: none;

    transition:
        height 0.45s cubic-bezier(.16, 1, .3, 1),
        background 0.45s ease,
        backdrop-filter 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        transform 0.45s cubic-bezier(.16, 1, .3, 1);
}
/* Header after page scroll */

.topbar.is-scrolled {
    height: 72px;

    background: rgba(29, 41, 37, 0.82);

    border-color: rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);

    box-shadow:
        0 18px 50px rgba(10, 18, 15, 0.16),
        0 4px 15px rgba(10, 18, 15, 0.08);
}
.topbar.is-scrolled .brand-mark {
    border-color: rgba(255, 255, 255, 0.85);
}

.topbar.is-scrolled .brand-mark i {
    background: #fff;
}

.topbar.is-scrolled .brand-copy b {
    color: #fff;
}

.topbar.is-scrolled .brand-copy small {
    color: rgba(255, 255, 255, 0.55);
}

.topbar.is-scrolled .desktop-nav {
    color: rgba(255, 255, 255, 0.82);
}

.topbar.is-scrolled .desktop-nav a::after {
    background: #fff;
}

.topbar.is-scrolled .desktop-nav a:hover {
    color: #fff;
}
.topbar.is-scrolled .lang-switcher {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.topbar.is-scrolled .lang {
    color: rgba(255, 255, 255, 0.65);
}

.topbar.is-scrolled .lang:hover {
    color: #fff;
}

.topbar.is-scrolled .lang.is-active {
    background: #fff;
    color: var(--deep);
}
.topbar.is-scrolled .button-small {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
}

.topbar.is-scrolled .button-small:hover {
    background: #e1f3a7;
    border-color: #e1f3a7;
}

.brand {
    display:flex;
    align-items:center;
    gap:12px
}

.brand-mark {
    width:38px;
    height:38px;
    border:1px solid var(--ink);
    border-radius:50%;
    display:flex;
    align-items:end;
    justify-content:center;
    gap:3px;
    padding:9px;
    transform:rotate(-8deg);
    transition:.35s ease
}

.brand:hover .brand-mark {
    transform:rotate(8deg)
}

.brand-mark i {
    display:block;
    width:4px;
    background:var(--ink);
    border-radius:4px
}

.brand-mark i:nth-child(1) {
    height:9px
}

.brand-mark i:nth-child(2) {
    height:18px
}

.brand-mark i:nth-child(3) {
    height:13px
}

.brand-copy {
    display:grid;
    line-height:1
}

.brand-copy b {
    font:700 17px "Space Grotesk",sans-serif;
    letter-spacing:.08em
}

.brand-copy small {
    font-size:8px;
    letter-spacing:.22em;
    margin-top:5px;
    color:var(--muted)
}

.desktop-nav {
    display:flex;
    gap:34px;
    font-size:13px;
    font-weight:600
}

.desktop-nav a {
    position:relative
}

.desktop-nav a:after {
    content:"";
    position:absolute;
    left:0;
    right:100%;
    bottom:-7px;
    height:1px;
    background:var(--ink);
    transition:.3s
}

.desktop-nav a:hover:after {
    right:0
}

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

.lang-switcher {
    display:flex;
    padding:3px;
    border:1px solid var(--line);
    border-radius:999px;
    background:rgba(255,255,255,.6);
    backdrop-filter:blur(12px)
}

.lang {
    border:0;
    background:transparent;
    padding:7px 9px;
    border-radius:999px;
    font-size:11px;
    font-weight:700;
    color:var(--muted);
    cursor:pointer
}

.lang.is-active {
    background:var(--ink);
    color:white
}

.button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--ink);
    color:white;
    border-radius:999px;
    padding:15px 22px;
    font-size:13px;
    font-weight:700;
    transition:.3s ease;
    border:1px solid var(--ink)
}

.button:hover {
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(24,35,31,.15)
}

.button-small {
    padding:11px 17px
}

.button-light {
    background:white;
    color:var(--ink);
    border-color:white
}

.hero {
    min-height:760px;
    display:grid;
    grid-template-columns:.95fr 1.05fr;
    align-items:center;
    gap:70px;
    padding:70px 0 95px
}

.eyebrow {
    display:flex;
    align-items:center;
    gap:10px;
    text-transform:uppercase;
    font-size:10px;
    letter-spacing:.18em;
    font-weight:700;
    color:var(--muted)
}

.eyebrow>span:first-child {
    width:26px;
    height:1px;
    background:currentColor
}

.eyebrow.light {
    color:#cfd8d4
}

.hero h1,.section-intro h2,.partners-copy h2,.gallery-heading h2,.contact-copy h2 {
    font-family:"Space Grotesk",sans-serif;
    letter-spacing:-.055em;
    line-height:.96;
    margin:22px 0
}

.hero h1 {
    font-size:clamp(58px,7.5vw,120px);
    max-width:790px
}

.hero-lead {
    max-width:650px;
    font-size:17px;
    line-height:1.7;
    color:var(--muted)
}

.hero-actions {
    display:flex;
    align-items:center;
    gap:26px;
    margin-top:36px
}

.text-link {
    font-size:13px;
    font-weight:700;
    display:flex;
    gap:10px;
    align-items:center
}

.text-link b {
    font-size:20px;
    transition:.3s
}

.text-link:hover b {
    transform:translate(4px,4px)
}

.hero-meta {
    border-top:1px solid var(--line);
    margin-top:65px;
    padding-top:20px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px
}

.hero-meta div {
    display:grid;
    gap:8px
}

.hero-meta span {
    font-size:10px;
    text-transform:uppercase;
    color:var(--muted);
    letter-spacing:.1em
}

.hero-meta b {
    font-size:12px
}

.hero-visual {
    position:relative
}

.hero-card {
    margin:0;
    background:#ddd;
    border-radius:34px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transform-style:preserve-3d;
    transition:transform .15s ease
}

.hero-card img {
    aspect-ratio:.92/1;
    object-fit:cover
}

.hero-card figcaption {
    position:absolute;
    left:18px;
    right:18px;
    bottom:18px;
    border-radius:20px;
    padding:16px 18px;
    background:rgba(247,249,246,.83);
    backdrop-filter:blur(18px);
    display:flex;
    align-items:center;
    justify-content:space-between
}

.hero-card figcaption div {
    display:grid
}

.hero-card figcaption span {
    font-size:9px;
    text-transform:uppercase;
    color:var(--muted);
    letter-spacing:.14em
}

.hero-card figcaption b {
    font:600 20px "Space Grotesk",sans-serif;
    margin-top:3px
}

.round-arrow {
    width:43px;
    height:43px;
    border-radius:50%;
    background:var(--ink);
    color:white;
    display:grid;
    place-items:center;
    font-size:18px
}

.floating-tag {
    position:absolute;
    border-radius:16px;
    padding:12px 15px;
    background:rgba(255,255,255,.86);
    backdrop-filter:blur(14px);
    box-shadow:0 12px 35px rgba(19,34,29,.12);
    display:flex;
    align-items:center;
    gap:10px;
    animation:floatTag 4s ease-in-out infinite
}

.floating-tag span {
    font-size:9px;
    color:var(--muted)
}

.floating-tag b {
    font-size:11px
}

.tag-one {
    top:8%;
    left:-6%
}

.tag-two {
    right:-4%;
    top:51%;
    animation-delay:-2s
}

@keyframes floatTag {
    50% {
        transform:translateY(-11px) rotate(.5deg)
    }

}

.ticker {
    overflow:hidden;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    padding:17px 0;
    background:rgba(255,255,255,.35)
}

.ticker-track {
    width:max-content;
    display:flex;
    align-items:center;
    gap:30px;
    animation:ticker 24s linear infinite;
    font:600 12px "Space Grotesk",sans-serif;
    letter-spacing:.15em
}

.ticker-track i {
    font-style:normal;
    color:#9cab59
}

@keyframes ticker {
    to {
        transform:translateX(-50%)
    }

}

.split-section {
    display:grid;
    grid-template-columns:.78fr 1.22fr;
    gap:90px;
    padding:140px 0
}

.section-intro h2,.gallery-heading h2,.contact-copy h2 {
    font-size:clamp(45px,5.2vw,78px);
    max-width:690px
}

.about-content>p {
    font-size:20px;
    line-height:1.7;
    color:var(--muted);
    max-width:780px;
    margin:0 0 50px
}

.service-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    border-top:1px solid var(--line)
}

.service-card {
    padding:28px 25px 34px 0;
    border-bottom:1px solid var(--line);
    min-height:185px
}

.service-card:nth-child(odd) {
    border-right:1px solid var(--line);
    padding-right:30px
}

.service-card:nth-child(even) {
    padding-left:30px
}

.service-card span {
    font-size:10px;
    color:var(--muted)
}

.service-card h3 {
    font:600 21px "Space Grotesk",sans-serif;
    margin:35px 0 10px
}

.service-card p {
    font-size:13px;
    line-height:1.65;
    color:var(--muted);
    margin:0
}

.partners-section {
    padding-bottom:140px
}

.partners-panel {
    border-radius:36px;
    background:var(--deep);
    color:white;
    padding:72px;
    display:grid;
    grid-template-columns:1fr .9fr;
    gap:100px;
    position:relative;
    overflow:hidden
}

.partners-panel:after {
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:50%;
    right:-180px;
    top:-180px
}

.partners-copy h2 {
    font-size:clamp(46px,5vw,76px);
    max-width:760px
}

.partners-copy p {
    color:#b7c2bd;
    line-height:1.8;
    max-width:650px;
    margin-bottom:32px
}

.opportunity-list {
    align-self:end;
    position:relative;
    z-index:2
}

.opportunity-list article {
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:18px;
    padding:22px 0;
    border-bottom:1px solid rgba(255,255,255,.15)
}

.opportunity-list article>span {
    font-size:10px;
    color:#8e9d96
}

.opportunity-list article div {
    display:grid;
    gap:5px
}

.opportunity-list b {
    font-size:14px
}

.opportunity-list small {
    font-size:10px;
    color:#93a199
}

.opportunity-list em {
    font-style:normal;
    font-size:20px;
    transition:.3s
}

.opportunity-list article:hover em {
    transform:translate(4px,-4px)
}

.gallery-section {
    padding-bottom:140px
}

.gallery-heading {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:40px;
    margin-bottom:50px
}

.gallery-heading>p {
    max-width:410px;
    color:var(--muted);
    line-height:1.7;
    font-size:13px
}

.gallery-layout {
    display:grid;
    grid-template-columns:1.35fr .65fr;
    gap:24px
}

.gallery-stack {
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:24px
}

.gallery-main,.gallery-secondary {
    margin:0;
    border-radius:28px;
    overflow:hidden;
    position:relative;
    background:#ddd;
    min-height:500px;
    transform-style:preserve-3d;
    transition:transform .15s ease
}

.gallery-main img,.gallery-secondary img {
    height:100%;
    object-fit:cover
}

.gallery-main figcaption,.gallery-secondary figcaption {
    position:absolute;
    left:16px;
    right:16px;
    bottom:16px;
    display:flex;
    justify-content:space-between;
    padding:12px 14px;
    border-radius:14px;
    background:rgba(255,255,255,.83);
    backdrop-filter:blur(12px);
    font-size:11px
}

.upload-card {
    border:1px dashed rgba(24,35,31,.28);
    border-radius:28px;
    min-height:500px;
    padding:42px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:rgba(255,255,255,.46);
    transition:.35s ease;
    cursor:pointer;
    position:relative;
    overflow:hidden
}

.upload-card:hover,.upload-card.is-dragging {
    background:white;
    border-color:var(--ink);
    transform:translateY(-4px);
    box-shadow:var(--shadow)
}

.upload-icon {
    width:76px;
    height:76px;
    border-radius:50%;
    border:1px solid var(--line);
    display:grid;
    place-items:center;
    background:white;
    box-shadow:0 10px 30px rgba(24,35,31,.08);
    animation:pulse 2.7s ease-in-out infinite
}

.upload-icon span {
    font-size:28px;
    font-weight:300
}

@keyframes pulse {
    50% {
        transform:scale(1.06)
    }

}

.upload-card h3 {
    font:600 22px "Space Grotesk",sans-serif;
    margin:24px 0 8px
}

.upload-card p {
    max-width:260px;
    color:var(--muted);
    font-size:12px;
    line-height:1.7
}

.upload-button {
    border:0;
    background:var(--accent);
    padding:12px 16px;
    border-radius:999px;
    font-weight:700;
    font-size:11px;
    margin:10px 0;
    cursor:pointer
}

.upload-card>small {
    font-size:9px;
    color:#9aa49f;
    letter-spacing:.12em
}

.upload-preview {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:6px;
    width:100%;
    margin-top:20px
}

.upload-preview img {
    aspect-ratio:1;
    object-fit:cover;
    border-radius:10px;
    animation:pop .35s ease both
}

.upload-preview .more {
    aspect-ratio:1;
    border-radius:10px;
    background:var(--ink);
    color:white;
    display:grid;
    place-items:center;
    font-size:12px
}

@keyframes pop {
    from {
        transform:scale(.75);
        opacity:0
    }

}

.image-credit {
    font-size:9px;
    color:#97a09c;
    margin-top:12px
}

.contact-section {
    padding-bottom:80px
}

.contact-card {
    background:white;
    border-radius:34px;
    padding:70px;
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:90px;
    box-shadow:0 25px 70px rgba(30,43,38,.06)
}

.contact-copy h2 {
    font-size:clamp(42px,4.6vw,70px)
}

.mail-link {
    display:inline-flex;
    align-items:center;
    gap:15px;
    font-weight:700;
    border-bottom:1px solid var(--ink);
    padding-bottom:8px
}

.mail-link span {
    transition:.3s
}

.mail-link:hover span {
    transform:translate(4px,-4px)
}

.contact-details {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:0;
    border-top:1px solid var(--line);
    align-self:end
}

.contact-details div {
    display:grid;
    gap:10px;
    padding:24px 15px 26px 0;
    border-bottom:1px solid var(--line)
}

.contact-details div:nth-child(odd) {
    border-right:1px solid var(--line)
}

.contact-details div:nth-child(even) {
    padding-left:24px
}

.contact-details span {
    font-size:9px;
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:.1em
}

.contact-details b {
    font-size:12px
}

.social-placeholder {
    justify-self:start;
    border:0;
    border-radius:999px;
    padding:7px 10px;
    font-size:9px;
    background:var(--accent-2);
    font-weight:700
}

.footer {
    height:130px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-top:1px solid var(--line)
}

.footer p,.back-top {
    font-size:10px;
    color:var(--muted)
}

.reveal {
    opacity:0;
    transform:translateY(28px);
    transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)
}

.reveal.is-visible {
    opacity:1;
    transform:none
}

.delay-1 {
    transition-delay:.12s
}

@media (max-width:1050px) {
    .desktop-nav {
        display:none
    }

    .hero {
        grid-template-columns:1fr;
        gap:40px;
        padding-top:40px
    }

    .hero-copy {
        order:1
    }

    .hero-visual {
        order:2;
        max-width:760px
    }

    .hero-card img {
        aspect-ratio:1.3
    }

    .tag-one {
        left:3%
    }

    .tag-two {
        right:3%
    }

    .split-section {
        grid-template-columns:1fr;
        gap:30px
    }

    .partners-panel,.contact-card {
        grid-template-columns:1fr;
        gap:50px
    }

    .gallery-layout {
        grid-template-columns:1fr
    }

    .upload-card {
        min-height:360px
    }

    .gallery-heading {
        align-items:start;
        flex-direction:column
    }

    .contact-details {
        max-width:650px
    }

}

@media (max-width:720px) {
    .section-shell,.topbar {
        width:min(100% - 26px,1400px)
    }

    .topbar {
        height:78px
    }

    .header-actions .button {
        display:none
    }

    .brand-copy small {
        display:none
    }

    .hero {
        min-height:auto;
        padding:52px 0 75px
    }

    .hero h1 {
        font-size:clamp(48px,16vw,78px)
    }

    .hero-lead {
        font-size:14px
    }

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

    .hero-meta div:last-child {
        display:none
    }

    .floating-tag {
        display:none
    }

    .hero-card {
        border-radius:24px
    }

    .hero-card img {
        aspect-ratio:.82
    }

    .split-section {
        padding:90px 0
    }

    .service-grid {
        grid-template-columns:1fr
    }

    .service-card:nth-child(odd) {
        border-right:0
    }

    .service-card:nth-child(even) {
        padding-left:0
    }

    .partners-section,.gallery-section {
        padding-bottom:90px
    }

    .partners-panel {
        padding:38px 26px;
        border-radius:26px
    }

    .partners-copy h2 {
        font-size:45px
    }

    .gallery-stack {
        grid-template-columns:1fr
    }

    .gallery-main,.gallery-secondary {
        min-height:420px
    }

    .gallery-secondary {
        min-height:300px
    }

    .upload-card {
        padding:28px;
        min-height:340px
    }

    .contact-card {
        padding:38px 24px;
        border-radius:26px
    }

    .contact-details {
        grid-template-columns:1fr
    }

    .contact-details div:nth-child(odd) {
        border-right:0
    }

    .contact-details div:nth-child(even) {
        padding-left:0
    }

    .footer {
        height:auto;
        padding:35px 0;
        gap:20px;
        flex-wrap:wrap
    }

    .footer p {
        order:3;
        width:100%
    }

}

@media (prefers-reduced-motion:reduce) {
    * {
        scroll-behavior:auto!important;
        animation:none!important;
        transition:none!important
    }

    .reveal {
        opacity:1;
        transform:none
    }

}

/* Admin gallery */

.gallery-toolbar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:-12px 0 24px
}

.gallery-status {
    display:flex;
    align-items:center;
    gap:9px;
    font-size:11px;
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:.08em
}

.status-dot {
    width:8px;
    height:8px;
    border-radius:50%;
    background:#a8b668;
    box-shadow:0 0 0 5px rgba(168,182,104,.13)
}

.admin-entry,.admin-session button {
    border:1px solid var(--line);
    background:rgba(255,255,255,.7);
    backdrop-filter:blur(12px);
    border-radius:999px;
    padding:10px 14px;
    font:700 10px Manrope,sans-serif;
    cursor:pointer;
    transition:.25s
}

.admin-entry {
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--muted)
}

.admin-entry:hover,.admin-session button:hover {
    background:#fff;
    color:var(--ink);
    transform:translateY(-1px)
}

.admin-session {
    display:flex;
    align-items:center;
    gap:10px;
    padding:7px 7px 7px 14px;
    border-radius:999px;
    background:rgba(234,241,214,.9);
    font-size:10px;
    font-weight:700
}

.admin-session[hidden],.admin-upload-panel[hidden],.admin-modal[hidden] {
    display:none!important
}

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

.gallery-item {
    position:relative;
    margin:0;
    border-radius:28px;
    overflow:hidden;
    background:#e8ece7;
    min-height:340px;
    box-shadow:0 18px 55px rgba(24,35,31,.06);
    isolation:isolate
}

.gallery-item:nth-child(6n+1) {
    grid-column:span 7;
    min-height:520px
}

.gallery-item:nth-child(6n+2) {
    grid-column:span 5;
    min-height:520px
}

.gallery-item:nth-child(6n+3),.gallery-item:nth-child(6n+4),.gallery-item:nth-child(6n+5) {
    grid-column:span 4
}

.gallery-item:nth-child(6n+6) {
    grid-column:span 12;
    min-height:500px
}

.gallery-item img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .7s cubic-bezier(.2,.7,.2,1)
}

.gallery-item:hover img {
    transform:scale(1.035)
}

.gallery-item figcaption {
    position:absolute;
    left:16px;
    right:16px;
    bottom:16px;
    padding:12px 14px;
    border-radius:14px;
    background:rgba(255,255,255,.82);
    backdrop-filter:blur(14px);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    font-size:11px;
    z-index:2
}

.gallery-number {
    color:var(--muted);
    font-size:10px
}

.gallery-delete {
    position:absolute;
    top:16px;
    right:16px;
    z-index:3;
    width:40px;
    height:40px;
    border:0;
    border-radius:50%;
    background:rgba(20,30,27,.82);
    backdrop-filter:blur(10px);
    color:#fff;
    cursor:pointer;
    display:grid;
    place-items:center;
    font-size:17px;
    box-shadow:0 8px 25px rgba(0,0,0,.18);
    transition:.25s
}

.gallery-delete:hover {
    transform:scale(1.08);
    background:#7e3f36
}

.admin-upload-panel {
    margin-top:24px
}

.admin-upload-panel .upload-card {
    min-height:300px
}

.upload-progress {
    font-size:11px;
    margin-top:12px;
    color:var(--muted);
    min-height:16px
}

.admin-modal {
    position:fixed;
    inset:0;
    z-index:200;
    display:grid;
    place-items:center;
    padding:20px
}

.admin-modal-backdrop {
    position:absolute;
    inset:0;
    background:rgba(20,29,26,.46);
    backdrop-filter:blur(12px)
}

.admin-dialog {
    position:relative;
    z-index:1;
    width:min(100%,430px);
    background:#f9fbf7;
    border:1px solid rgba(255,255,255,.65);
    border-radius:30px;
    padding:38px;
    box-shadow:0 35px 100px rgba(15,25,21,.27);
    animation:adminIn .3s ease both
}

.admin-close {
    position:absolute;
    right:17px;
    top:17px;
    width:36px;
    height:36px;
    border:1px solid var(--line);
    border-radius:50%;
    background:#fff;
    font-size:19px;
    cursor:pointer
}

.admin-badge {
    width:54px;
    height:54px;
    border-radius:16px;
    display:grid;
    place-items:center;
    background:var(--deep);
    color:#fff;
    font:700 16px 'Space Grotesk',sans-serif;
    margin-bottom:20px
}

.admin-kicker {
    font-size:9px;
    letter-spacing:.13em;
    text-transform:uppercase;
    color:var(--muted)
}

.admin-dialog h3 {
    font:600 32px 'Space Grotesk',sans-serif;
    letter-spacing:-.04em;
    margin:9px 0 10px
}

.admin-dialog>p {
    font-size:12px;
    line-height:1.65;
    color:var(--muted)
}

.admin-dialog label {
    display:grid;
    gap:8px;
    margin-top:24px;
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em
}

.admin-dialog input {
    width:100%;
    border:1px solid var(--line);
    border-radius:15px;
    background:#fff;
    padding:14px 15px;
    font:500 15px Manrope,sans-serif;
    outline:0
}

.admin-dialog input:focus {
    border-color:#8f9d65;
    box-shadow:0 0 0 4px rgba(168,182,104,.14)
}

.admin-error {
    color:#994c43!important;
    margin:10px 0 0!important
}

.admin-submit {
    width:100%;
    border:0;
    margin-top:18px;
    cursor:pointer
}

.admin-modal.is-open .admin-dialog {
    animation:adminIn .3s ease both
}

@keyframes adminIn {
    from {
        opacity:0;
        transform:translateY(16px) scale(.98)
    }

}

@media(max-width:720px) {
    .gallery-toolbar {
        align-items:flex-start;
        flex-direction:column
    }

    .public-gallery {
        grid-template-columns:1fr;
        gap:14px
    }

    .gallery-item,.gallery-item:nth-child(n) {
        grid-column:auto;
        min-height:320px;
        border-radius:22px
    }

    .gallery-item:first-child {
        min-height:430px
    }

    .admin-dialog {
        padding:30px 24px
    }

    .admin-session {
        width:100%;
        justify-content:space-between
    }

}

/* URL-only admin + fullscreen gallery */

.admin-entry {
    display:none!important
}

.admin-header-session {
    display:flex;
    align-items:center;
    gap:8px;
    padding:6px 7px 6px 10px;
    border:1px solid rgba(36,50,44,.1);
    border-radius:999px;
    background:rgba(255,255,255,.82);
    backdrop-filter:blur(16px);
    box-shadow:0 8px 28px rgba(25,39,33,.07);
    animation:adminHeaderIn .45s cubic-bezier(.2,.8,.2,1) both
}

.admin-header-session[hidden] {
    display:none!important
}

.admin-header-dot {
    width:7px;
    height:7px;
    border-radius:50%;
    background:#91a45d;
    box-shadow:0 0 0 4px rgba(145,164,93,.14)
}

.admin-header-session strong {
    font:700 10px Manrope,sans-serif;
    letter-spacing:.05em
}

.admin-header-session button {
    border:0;
    background:#1d2b25;
    color:#fff;
    border-radius:999px;
    padding:7px 10px;
    font:700 9px Manrope,sans-serif;
    cursor:pointer;
    transition:.25s
}

.admin-header-session button:hover {
    transform:translateY(-1px);
    background:#32483e
}

@keyframes adminHeaderIn {
    from {
        opacity:0;
        transform:translateY(-8px) scale(.96)
    }

}

.gallery-open-button {
    display:flex;
    align-items:center;
    gap:12px;
    border:1px solid var(--line);
    background:rgba(255,255,255,.72);
    backdrop-filter:blur(14px);
    border-radius:999px;
    padding:12px 14px 12px 18px;
    font:700 10px Manrope,sans-serif;
    cursor:pointer;
    transition:.3s cubic-bezier(.2,.8,.2,1);
    box-shadow:0 10px 30px rgba(28,42,36,.04)
}

.gallery-open-button b {
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--ink);
    color:#fff;
    font-size:12px;
    transition:.3s
}

.gallery-open-button:hover {
    transform:translateY(-3px);
    background:#fff;
    box-shadow:0 18px 45px rgba(28,42,36,.09)
}

.gallery-open-button:hover b {
    transform:rotate(45deg)
}

.gallery-preview .gallery-item:nth-child(1) {
    grid-column:span 7;
    min-height:520px
}

.gallery-preview .gallery-item:nth-child(2) {
    grid-column:span 5;
    min-height:520px
}

.gallery-locked {
    position:absolute;
    top:16px;
    right:16px;
    z-index:3;
    padding:7px 10px;
    border-radius:999px;
    background:rgba(255,255,255,.82);
    backdrop-filter:blur(10px);
    font:700 8px Manrope,sans-serif;
    letter-spacing:.1em;
    color:var(--muted);
    box-shadow:0 8px 25px rgba(0,0,0,.08)
}

.gallery-modal[hidden] {
    display:none!important
}

.gallery-modal {
    position:fixed;
    inset:0;
    z-index:180;
    padding:18px;
    display:grid;
    place-items:center
}

.gallery-modal-backdrop {
    position:absolute;
    inset:0;
    background:rgba(17,27,23,.54);
    backdrop-filter:blur(18px);
    opacity:0;
    transition:opacity .3s ease
}

.gallery-modal-panel {
    position:relative;
    z-index:1;
    width:min(1500px,100%);
    height:min(920px,calc(100vh - 36px));
    overflow:auto;
    overscroll-behavior:contain;
    background:#f5f8f3;
    border:1px solid rgba(255,255,255,.7);
    border-radius:34px;
    padding:28px;
    box-shadow:0 40px 120px rgba(9,18,14,.3);
    opacity:0;
    transform:translateY(30px) scale(.975);
    transition:opacity .36s ease,transform .5s cubic-bezier(.16,1,.3,1)
}

.gallery-modal.is-open .gallery-modal-backdrop {
    opacity:1
}

.gallery-modal.is-open .gallery-modal-panel {
    opacity:1;
    transform:none
}

.gallery-modal-head {
    position:sticky;
    top:-28px;
    z-index:20;
    margin:-28px -28px 24px;
    padding:24px 28px 18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:linear-gradient(#f5f8f3 72%,rgba(245,248,243,.88));
    backdrop-filter:blur(18px);
    border-radius:34px 34px 0 0
}

.gallery-modal-kicker {
    font:700 9px Manrope,sans-serif;
    letter-spacing:.14em;
    color:var(--muted)
}

.gallery-modal-head h2 {
    font:600 clamp(28px,4vw,52px) 'Space Grotesk',sans-serif;
    letter-spacing:-.045em;
    margin:4px 0 0
}

.gallery-modal-close {
    width:48px;
    height:48px;
    border:1px solid var(--line);
    border-radius:50%;
    background:#fff;
    cursor:pointer;
    font-size:25px;
    line-height:1;
    transition:.3s
}

.gallery-modal-close:hover {
    transform:rotate(90deg);
    background:var(--ink);
    color:#fff
}

.full-gallery-grid {
    display:grid;
    grid-template-columns:repeat(12,1fr);
    gap:18px;
    padding-bottom:10px
}

.full-gallery-item {
    grid-column:span 6!important;
    min-height:430px!important;
    opacity:0;
    transform:translateY(22px) scale(.985)
}

.gallery-modal.is-open .full-gallery-item {
    animation:fullItemIn .65s cubic-bezier(.16,1,.3,1) forwards
}

.gallery-modal.is-open .full-gallery-item:nth-child(2) {
    animation-delay:.06s
}

.gallery-modal.is-open .full-gallery-item:nth-child(3) {
    animation-delay:.12s
}

.gallery-modal.is-open .full-gallery-item:nth-child(4) {
    animation-delay:.18s
}

.full-gallery-item:nth-child(3n) {
    grid-column:span 12!important;
    min-height:560px!important
}

@keyframes fullItemIn {
    to {
        opacity:1;
        transform:none
    }

}

body.gallery-modal-open {
    overflow:hidden
}

@media(max-width:900px) {
    .full-gallery-item,.full-gallery-item:nth-child(3n) {
        grid-column:span 12!important;
        min-height:430px!important
    }

    .admin-header-session strong {
        display:none
    }

}

@media(max-width:720px) {
    .gallery-preview .gallery-item:nth-child(n) {
        grid-column:auto;
        min-height:360px
    }

    .gallery-modal {
        padding:8px
    }

    .gallery-modal-panel {
        height:calc(100vh - 16px);
        border-radius:24px;
        padding:18px
    }

    .gallery-modal-head {
        top:-18px;
        margin:-18px -18px 16px;
        padding:18px;
        border-radius:24px 24px 0 0
    }

    .gallery-modal-close {
        width:42px;
        height:42px
    }

    .full-gallery-grid {
        gap:12px
    }

    .full-gallery-item,.full-gallery-item:nth-child(3n) {
        min-height:330px!important
    }

    .gallery-toolbar {
        flex-direction:row;
        align-items:center
    }

    .gallery-open-button span {
        display:none
    }

    .gallery-open-button {
        padding:7px
    }

    .gallery-open-button b {
        width:32px;
        height:32px
    }

    .admin-header-session {
        position:fixed;
        right:12px;
        top:86px;
        z-index:120
    }

    .admin-header-session button {
        padding:8px 10px
    }

}

/* =========================================================
PROJECT SLIDER
Full-width cinematic slider placed after the ticker
========================================================= */

.project-slider {
    position: relative;
    width: min(1600px, calc(100% - 48px));
    height: clamp(560px, 72vh, 820px);
    margin: 34px auto 120px;
    overflow: hidden;
    border-radius: 34px;
    background: #dfe4de;
    box-shadow: var(--shadow);
    isolation: isolate;
}

.project-slider__slides {
    position: absolute;
    inset: 0;
}

.project-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transform: scale(1.035);
    transition:         opacity 900ms cubic-bezier(.22, .61, .36, 1),         transform 1400ms cubic-bezier(.22, .61, .36, 1),         visibility 900ms;
}

.project-slide.is-active, .project-slide.active {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.project-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.07);
    transition: transform 7s cubic-bezier(.2, .7, .2, 1);
}

.project-slide.is-active img, .project-slide.active img {
    transform: scale(1);
}

.project-slide__overlay {
    position: absolute;
    inset: 0;
    background:         linear-gradient(             90deg,             rgba(17, 25, 21, .64) 0%,             rgba(17, 25, 21, .34) 38%,             rgba(17, 25, 21, .08) 72%         ),         linear-gradient(             0deg,             rgba(10, 15, 13, .38) 0%,             transparent 48%         );
    z-index: 1;
}

.project-slide__content {
    position: absolute;
    left: clamp(30px, 6vw, 100px);
    bottom: clamp(96px, 13vh, 145px);
    width: min(720px, calc(100% - 60px));
    color: #fff;
    z-index: 3;
}

.project-slide__number {
    display: inline-flex;
    margin-bottom: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition:         opacity 700ms 120ms ease,         transform 700ms 120ms cubic-bezier(.16, 1, .3, 1);
}

.project-slide h2 {
    margin: 0;
    max-width: 760px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(46px, 6.2vw, 94px);
    font-weight: 500;
    line-height: .94;
    letter-spacing: -.055em;
    opacity: 0;
    transform: translateY(42px);
    transition:         opacity 900ms 180ms ease,         transform 900ms 180ms cubic-bezier(.16, 1, .3, 1);
}

.project-slide p {
    max-width: 560px;
    margin: 26px 0 0;
    font-size: clamp(13px, 1.2vw, 17px);
    line-height: 1.65;
    letter-spacing: .03em;
    color: rgba(255, 255, 255, .86);
    opacity: 0;
    transform: translateY(28px);
    transition:         opacity 800ms 300ms ease,         transform 800ms 300ms cubic-bezier(.16, 1, .3, 1);
}

.project-slide.is-active .project-slide__number, .project-slide.is-active h2, .project-slide.is-active p, .project-slide.active .project-slide__number, .project-slide.active h2, .project-slide.active p {
    opacity: 1;
    transform: translateY(0);
}

.project-slider__bottom {
    position: absolute;
    left: clamp(30px, 6vw, 100px);
    right: clamp(30px, 4vw, 64px);
    bottom: 32px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 24px;
}

.project-slider__progress {
    position: relative;
    flex: 1;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
}

.project-slider__progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: rgba(255, 255, 255, .96);
}

.project-slider__controls {
    display: flex;
    gap: 9px;
}

.project-slider__controls button {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 50%;
    background: rgba(255, 255, 255, .11);
    color: #fff;
    font-size: 19px;
    cursor: pointer;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:         transform 280ms cubic-bezier(.16, 1, .3, 1),         background 280ms ease,         border-color 280ms ease;
}

.project-slider__controls button:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, .23);
    border-color: rgba(255, 255, 255, .62);
}

.project-slider__controls button:active {
    transform: scale(.94);
}

@media (max-width: 720px) {
    .project-slider {
        width: calc(100% - 24px);
        height: 68vh;
        min-height: 520px;
        margin: 18px auto 82px;
        border-radius: 24px;
    }

    .project-slide__content {
        left: 25px;
        right: 25px;
        bottom: 108px;
        width: auto;
    }

    .project-slide h2 {
        font-size: clamp(40px, 12vw, 64px);
    }

    .project-slide__overlay {
        background:             linear-gradient(                 0deg,                 rgba(15, 22, 18, .78) 0%,                 rgba(15, 22, 18, .28) 56%,                 rgba(15, 22, 18, .08) 100%             );
    }

    .project-slider__bottom {
        left: 25px;
        right: 25px;
        bottom: 24px;
        gap: 14px;
    }

    .project-slider__controls button {
        width: 46px;
        height: 46px;
    }

}
/* =====================================================
   HEADER HIDE WHEN GALLERY IS OPEN
===================================================== */

.topbar {
    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(.16, 1, .3, 1),
        visibility 0.4s ease,
        height 0.45s cubic-bezier(.16, 1, .3, 1),
        background 0.45s ease,
        backdrop-filter 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}


/* Когда открыта галерея */

body.gallery-modal-open .topbar {
    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-28px)
        scale(.97);

    pointer-events: none;
}

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

.mobile-menu-button {
    display: none;

    position: relative;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 1px solid var(--line);
    border-radius: 50%;

    background: rgba(255, 255, 255, .68);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    cursor: pointer;

    z-index: 1201;

    transition:
        background .35s ease,
        border-color .35s ease,
        transform .35s cubic-bezier(.16, 1, .3, 1);
}


/* 3 линии */

.mobile-menu-button span {
    position: absolute;

    left: 50%;

    width: 18px;
    height: 1.5px;

    border-radius: 10px;

    background: var(--ink);

    transform: translateX(-50%);

    transition:
        top .35s cubic-bezier(.16, 1, .3, 1),
        transform .35s cubic-bezier(.16, 1, .3, 1),
        opacity .25s ease,
        background .3s ease;
}


.mobile-menu-button span:nth-child(1) {
    top: 17px;
}


.mobile-menu-button span:nth-child(2) {
    top: 23px;
}


.mobile-menu-button span:nth-child(3) {
    top: 29px;
}


/* Когда меню открыто */

.mobile-menu-button.is-open span:nth-child(1) {
    top: 23px;

    transform:
        translateX(-50%)
        rotate(45deg);
}


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

    transform:
        translateX(-50%)
        scaleX(.3);
}


.mobile-menu-button.is-open span:nth-child(3) {
    top: 23px;

    transform:
        translateX(-50%)
        rotate(-45deg);
}


.mobile-menu-button:active {
    transform: scale(.92);
}



/* =====================================================
   MOBILE MENU PANEL
===================================================== */

.mobile-menu {
    position: fixed;

    inset: 0;

    z-index: 1100;

    padding:
        100px
        14px
        14px;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    background: rgba(15, 23, 20, .30);

    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);

    transition:
        opacity .4s ease,
        visibility .4s ease,
        backdrop-filter .5s ease;
}


.mobile-menu.is-open {
    visibility: visible;

    opacity: 1;

    pointer-events: auto;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}



/* Сам блок меню */

.mobile-menu__inner {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding:
        28px
        24px
        24px;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, .10);

    border-radius: 28px;

    background:
        rgba(25, 37, 32, .94);

    box-shadow:
        0 30px 90px
        rgba(8, 15, 12, .28);

    transform:
        translateY(-18px)
        scale(.98);

    opacity: 0;

    transition:
        transform .55s
        cubic-bezier(.16, 1, .3, 1),

        opacity .4s ease;
}


.mobile-menu.is-open
.mobile-menu__inner {

    transform:
        translateY(0)
        scale(1);

    opacity: 1;
}



/* =====================================================
   MOBILE MENU LINKS
===================================================== */

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
}


.mobile-menu__nav a {
    display: flex;

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

    padding:
        20px
        2px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, .12);

    color: #fff;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            30px,
            9vw,
            48px
        );

    font-weight: 500;

    line-height: 1;

    letter-spacing: -.045em;

    opacity: 0;

    transform:
        translateY(20px);

    transition:
        color .25s ease,
        transform .6s
        cubic-bezier(.16, 1, .3, 1),
        opacity .5s ease;
}


.mobile-menu__nav a span {
    font-size: 20px;

    opacity: .45;

    transition:
        transform .3s ease,
        opacity .3s ease;
}


.mobile-menu__nav a:active {
    color: var(--accent);
}


.mobile-menu__nav a:hover span {
    transform:
        translate(
            4px,
            -4px
        );

    opacity: 1;
}



/* Плавное появление пунктов */

.mobile-menu.is-open
.mobile-menu__nav a {

    opacity: 1;

    transform:
        translateY(0);
}


.mobile-menu.is-open
.mobile-menu__nav a:nth-child(1) {
    transition-delay: .08s;
}


.mobile-menu.is-open
.mobile-menu__nav a:nth-child(2) {
    transition-delay: .13s;
}


.mobile-menu.is-open
.mobile-menu__nav a:nth-child(3) {
    transition-delay: .18s;
}


.mobile-menu.is-open
.mobile-menu__nav a:nth-child(4) {
    transition-delay: .23s;
}



/* =====================================================
   MOBILE MENU BOTTOM
===================================================== */

.mobile-menu__bottom {
    display: flex;

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

    gap: 20px;

    padding-top: 25px;

    color:
        rgba(255, 255, 255, .55);

    font-size: 10px;

    letter-spacing: .08em;
}


.mobile-menu__bottom a {
    color:
        rgba(255, 255, 255, .82);

    font-size: 11px;

    letter-spacing: 0;
}



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

@media (max-width: 720px) {

    .desktop-nav {
        display: none;
    }


    .mobile-menu-button {
        display: block;
    }


    /*
     На телефоне:
     logo | languages | burger
    */

    .topbar {
        gap: 8px;
    }


    .header-actions {
        margin-left: auto;
    }


    .header-actions .button-small {
        display: none;
    }


    /*
     Когда sticky header темный
    */

    .topbar.is-scrolled
    .mobile-menu-button {

        background:
            rgba(255, 255, 255, .09);

        border-color:
            rgba(255, 255, 255, .14);
    }


    .topbar.is-scrolled
    .mobile-menu-button span {

        background: #fff;
    }


    /*
     Когда мобильное меню открыто
    */

    body.mobile-menu-open
    .topbar {

        background:
            rgba(29, 41, 37, .96);

        border-color:
            rgba(255, 255, 255, .10);
    }


    body.mobile-menu-open
    .brand-mark {

        border-color: #fff;
    }


    body.mobile-menu-open
    .brand-mark i {

        background: #fff;
    }


    body.mobile-menu-open
    .brand-copy b {

        color: #fff;
    }


    body.mobile-menu-open
    .mobile-menu-button {

        background:
            rgba(255, 255, 255, .1);

        border-color:
            rgba(255, 255, 255, .18);
    }


    body.mobile-menu-open
    .mobile-menu-button span {

        background: #fff;
    }

}


/* Блокировка страницы */

body.mobile-menu-open {
    overflow: hidden;
}