:root {
    --ink: #1c2438;
    --navy: #243056;
    --navy-deep: #1a2340;
    --accent: #e07a3d;
    --accent-dark: #c4632c;
    --cream: #f6f3ee;
    --paper: #fffcf8;
    --line: #e6e1d8;
    --muted: #5c6478;
    --card: #ffffff;
    --shot: 220px;
    --frame: 16px;
    --work-photo: url("../public/serene_lake.jpg");
    --gallery-photo: url("../public/hexagons.jpg");
    --tile: clamp(150px, 16vw, 200px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

#work,
#about,
#gallery,
#contact {
    scroll-margin-top: 92px;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Outfit, "Segoe UI", sans-serif;
    font-size: 1.02rem;
    line-height: 1.6;
}

body.lang-bn {
    font-family: "Noto Sans Bengali", "Segoe UI", sans-serif;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    background: var(--navy-deep);
    color: #d5dced;
    font-size: 0.84rem;
}

.topbar p {
    margin: 0;
}

.topbar-inner,
.header-inner,
.section-head,
.take-part,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-inner {
    min-height: 42px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lang-switch button {
    padding: 0;
    border: 0;
    background: none;
    color: #d5dced;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.lang-switch button.is-active {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lang-switch span {
    opacity: 0.45;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 252, 248, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 74px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.2rem;
    font-weight: 680;
}

body.lang-bn .brand-mark {
    font-family: "Noto Sans Bengali", Georgia, serif;
}

.brand-name {
    margin: 0;
    max-width: 280px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.nav-toggle {
    display: none;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--accent-dark);
}

.hero {
    background:
        linear-gradient(105deg, rgba(26, 35, 64, 0.86) 0%, rgba(26, 35, 64, 0.62) 46%, rgba(26, 35, 64, 0.38) 100%),
        url("../public/hot_air_balloons.jpg") center center / cover no-repeat;
    color: #fff;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 42px;
    align-items: end;
    padding: 72px 0 64px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #f6e7da;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.lang-bn .eyebrow {
    letter-spacing: 0;
    text-transform: none;
}

.hero h1,
.section-head h2,
.about h2,
.take-part h2 {
    margin: 0;
    font-family: Fraunces, Georgia, serif;
    font-weight: 560;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

body.lang-bn .hero h1,
body.lang-bn .section-head h2,
body.lang-bn .about h2,
body.lang-bn .take-part h2,
body.lang-bn .card h3 {
    font-family: "Noto Sans Bengali", Georgia, serif;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 12em;
    font-size: clamp(2.4rem, 4.4vw, 4rem);
}

.only-bn {
    display: none;
}

body.lang-bn .only-en {
    display: none;
}

body.lang-bn .only-bn {
    display: inline;
}

.hero h1 em {
    color: #f3c7a5;
    font-style: italic;
    font-weight: 560;
}

body.lang-bn .hero h1 em {
    font-style: normal;
}

.hero-lead {
    max-width: 46ch;
    margin: 18px 0 0;
    color: #d9e0f2;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.button-solid {
    background: var(--accent);
    color: #fff;
}

.button-solid:hover {
    background: var(--accent-dark);
}

.button-ghost {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero-frames {
    display: grid;
    gap: 14px;
}

.shot {
    position: relative;
    height: var(--shot);
    overflow: hidden;
    border-radius: var(--frame);
    background: #d5deee;
}

.shot img,
.shot video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video-shade,
.hero-video-close {
    position: fixed;
    z-index: 90;
}

.hero-video-shade {
    inset: 0;
    border: 0;
    padding: 0;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.hero-video-shade.is-open {
    opacity: 1;
    pointer-events: auto;
}

.hero-video-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 92;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 28px 16px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease 0.4s;
}

.hero-video-bar.is-open {
    opacity: 1;
    pointer-events: auto;
}

.hero-video-bar button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: 0;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.hero-video-bar button:hover,
.hero-video-bar button:focus-visible {
    background: rgba(255, 255, 255, 0.16);
}

.hero-video-bar svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.hero-video-play .icon-play,
.hero-video-play.is-paused .icon-pause,
.hero-video-mute .icon-on,
.hero-video-mute.is-muted .icon-off {
    display: none;
}

.hero-video-play.is-paused .icon-play,
.hero-video-mute.is-muted .icon-off {
    display: block;
}

.hero-video-time {
    flex: 0 0 auto;
    min-width: 38px;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.hero-video-seek,
.hero-video-volume {
    accent-color: #fff;
    cursor: pointer;
}

.hero-video-seek {
    flex: 1 1 auto;
    min-width: 0;
}

.hero-video-volume {
    width: 72px;
    flex: 0 0 auto;
}

@media (max-width: 720px) {
    .hero-video-volume {
        display: none;
    }
}

.hero-video-close {
    top: 18px;
    right: 18px;
    z-index: 92;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease 0.35s;
}

body.hero-video-open .hero-video-close {
    opacity: 1;
    pointer-events: auto;
}

body.hero-video-open {
    overflow: hidden;
}

.hero-frames .shot video.is-hero-layer {
    position: fixed;
    z-index: 91;
    margin: 0;
    max-width: none;
    object-fit: contain;
    background: #000;
    transition:
        top 1s cubic-bezier(0.22, 0.7, 0.2, 1),
        left 1s cubic-bezier(0.22, 0.7, 0.2, 1),
        width 1s cubic-bezier(0.22, 0.7, 0.2, 1),
        height 1s cubic-bezier(0.22, 0.7, 0.2, 1),
        border-radius 1s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.hero-frames .shot.is-open {
    background: #101420;
}

.hero-frames .shot.is-open .shot-play {
    opacity: 0;
    pointer-events: none;
}

.shot-play {
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.shot-play::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(26, 35, 64, 0.62);
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 18px rgba(26, 35, 64, 0.28);
}

.shot-play::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #fff;
    transform: translate(-30%, -50%);
}

.shot-play:hover::before,
.shot-play:focus-visible::before {
    background: rgba(26, 35, 64, 0.78);
}

.shot-play:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.shot.is-video::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #fff;
    transform: translate(-40%, -50%);
    filter: drop-shadow(0 2px 6px rgba(28, 36, 56, 0.35));
}

.section {
    padding: 72px 0;
}

#work,
#gallery {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#work {
    background-image:
        linear-gradient(rgba(246, 243, 238, 0.38), rgba(246, 243, 238, 0.5)),
        var(--work-photo);
    background-position: center, center;
}

/* #gallery {
    background-image:
        linear-gradient(rgba(246, 243, 238, 0.62), rgba(246, 243, 238, 0.7)),
        var(--gallery-photo);
} */

#work .section-head h2,
#work .section-head p,
#gallery .section-head h2 {
    padding: 2px 10px;
    border-radius: 10px;
    background: rgba(246, 243, 238, 0.82);
}

#work > .wrap,
#gallery > .wrap {
    position: relative;
}

.section-head {
    align-items: end;
    margin-bottom: 28px;
}

.section-head h2,
.about h2,
.take-part h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-head p,
.about-copy p,
.card p,
.take-part p,
.footer-inner p {
    margin: 0;
    color: var(--muted);
}

.section-head p {
    max-width: 36ch;
}

.contact-intro {
    display: grid;
    gap: 14px;
    max-width: 760px;
    margin-bottom: 18px;
}

.contact-intro p {
    margin: 0;
    color: var(--ink);
    line-height: 1.7;
}

.contact-lead {
    color: var(--navy);
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.4;
}

.contact-note {
    color: var(--navy);
    font-family: Fraunces, Georgia, serif;
    font-style: italic;
    font-weight: 560;
    font-size: 1.15rem;
    line-height: 1.45;
}

body.lang-bn .contact-note {
    font-family: "Noto Sans Bengali", "Segoe UI", sans-serif;
    font-style: normal;
    font-weight: 600;
}

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

#workGrid:not(.is-expanded) .card:nth-child(n + 7) {
    display: none;
}

.work-more {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.work-more button {
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.work-more button:hover {
    background: var(--navy);
    color: #fff;
}

.gallery-empty {
    margin: 0;
    color: var(--muted);
}

.gallery-collage {
    display: grid;
    grid-template-rows: var(--tile) var(--tile);
    grid-auto-columns: var(--tile);
    grid-auto-flow: column;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(36, 48, 86, 0.35) transparent;
}

.gallery-collage.is-playing {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.gallery-collage::-webkit-scrollbar {
    height: 8px;
}

.gallery-collage::-webkit-scrollbar-thumb {
    background: rgba(36, 48, 86, 0.35);
    border-radius: 99px;
}

.gallery-tile {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #d5deee;
    scroll-snap-align: start;
}

.gallery-tile.is-tall {
    grid-row: span 2;
}

.gallery-tile img,
.gallery-tile video,
.gallery-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.gallery-fallback {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.28), transparent 42%),
        linear-gradient(160deg, #243056, #e07a3d);
}

.gallery-hit {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.gallery-hit:hover,
.gallery-hit:focus-visible {
    background: rgba(26, 35, 64, 0.12);
}

.gallery-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(26, 35, 64, 0.62);
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 18px rgba(26, 35, 64, 0.28);
}

.gallery-play::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 14px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #fff;
}

.pswp {
    --pswp-bg: #101420;
    --pswp-placeholder-bg: #101420;
}

.pswp__img {
    border-radius: 12px;
    object-fit: contain;
}

.pswp__button--arrow {
    width: 44px;
    height: 64px;
    margin-top: -32px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 14px;
}

.pswp--touch .pswp__button--arrow,
.pswp__button--arrow {
    visibility: visible;
}

.pswp__button--arrow--prev {
    left: 18px;
}

.pswp__button--arrow--next {
    right: 18px;
}

.pswp__button--arrow .pswp__icn {
    width: 44px;
    height: 44px;
    margin-top: -22px;
}

.pswp__button--arrow--prev .pswp__icn {
    left: 0;
}

.pswp__button--arrow--next .pswp__icn {
    right: 0;
}

.pswp__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 10;
    margin: 0;
    padding: 0 72px;
    color: #f6f3ee;
    text-align: center;
    font-weight: 600;
    pointer-events: none;
}

.pswp__caption[hidden] {
    display: none;
}

.gallery-embed,
.gallery-embed video,
.gallery-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
    background: #000;
    display: block;
}

body.gallery-open {
    overflow: hidden;
}

.card {
    position: relative;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.card:hover,
.card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(26, 35, 64, 0.12);
}

.card-open {
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.card-body {
    padding: 14px 16px 16px;
}

.card h3 {
    display: block;
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.12rem;
    line-height: 1.35;
}

.card p {
    line-height: 1.65;
}

.work-modal[hidden] {
    display: none;
}

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

.work-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(16, 20, 32, 0.72);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.work-modal.is-open .work-modal-backdrop {
    opacity: 1;
}

.work-modal-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(760px, 100%);
    max-height: min(860px, calc(100vh - 56px));
    overflow: auto;
    background: var(--paper);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(16, 20, 32, 0.28);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-modal.is-open .work-modal-dialog {
    opacity: 1;
    transform: none;
}

.work-modal-close {
    position: sticky;
    top: 12px;
    align-self: flex-end;
    z-index: 2;
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 12px 12px -56px 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 6px 16px rgba(16, 20, 32, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(16, 20, 32, 0.55);
    cursor: pointer;
}

.work-modal-close:hover,
.work-modal-close:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    outline: none;
}

.work-modal-frame {
    flex: 0 0 280px;
    height: 280px;
    min-height: 280px;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    background: #d5deee;
}

.work-modal-frame img,
.work-modal-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-modal-copy {
    padding: 22px 28px 32px;
}

.work-modal-copy h3 {
    margin: 0 0 14px;
    color: var(--navy);
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 560;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

body.lang-bn .work-modal-copy h3 {
    font-family: "Noto Sans Bengali", Georgia, serif;
    letter-spacing: 0;
}

.work-modal-body {
    display: grid;
    gap: 20px;
}

.work-modal-body p {
    margin: 0;
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.75;
}

body.work-open {
    overflow: hidden;
}

.about {
    background: var(--paper);
    border-block: 1px solid var(--line);
}

.about-grid {
    display: grid;
    grid-template-columns: fit-content(14rem) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 48px);
    align-items: start;
}

.about h2 {
    max-width: 100%;
}

.about-copy {
    display: grid;
    gap: 18px;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-size: 1.16rem;
    font-weight: 450;
}

body.lang-bn .about-copy {
    font-family: "Noto Sans Bengali", "Segoe UI", sans-serif;
    font-weight: 400;
}

.about-copy p {
    color: var(--ink);
    line-height: 1.72;
}

.about-contact {
    display: grid;
    gap: 6px;
}

.about-contact strong {
    color: var(--navy);
}

.about-contact a {
    overflow-wrap: anywhere;
}

.take-part {
    padding: 28px;
    border-radius: 22px;
    background: var(--navy);
    color: #fff;
}

.take-part p {
    color: #d5dced;
}

.take-part .button-solid {
    flex: 0 0 auto;
}

.contact {
    background: var(--paper);
    border-block: 1px solid var(--line);
}

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

.contact-form {
    position: relative;
    display: grid;
    gap: 16px;
    max-width: 760px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

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

.contact-form label {
    display: grid;
    gap: 6px;
    color: var(--navy);
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 400;
}

.contact-form input {
    min-height: 48px;
    padding: 0 12px;
}

.contact-form textarea {
    min-height: 140px;
    padding: 12px;
    resize: vertical;
}

.contact-form button.button {
    justify-self: start;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    margin: 0 0 8px;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 600;
}

.form-alert.is-ok {
    background: #e7f4ea;
    color: #1d5c32;
}

.form-alert.is-bad {
    background: #fde8df;
    color: #8a3414;
}

.whatsapp-button {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 25;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 16px 0 12px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(20, 80, 40, 0.28);
}

.whatsapp-button svg {
    width: 26px;
    height: 26px;
}

.whatsapp-button:hover {
    background: #1ebe5b;
    color: #fff;
}

.site-footer {
    padding: 28px 0 36px;
}

.footer-inner {
    align-items: flex-start;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.footer-name {
    margin: 0 0 4px;
    color: var(--navy);
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a,
.footer-links .sitemap summary {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links .sitemap summary:hover {
    text-decoration: underline;
}

.footer-links .sitemap {
    position: relative;
}

.footer-links .sitemap summary {
    cursor: pointer;
    list-style: none;
}

.footer-links .sitemap summary::-webkit-details-marker,
.footer-links .sitemap summary::marker {
    display: none;
    content: "";
}

.sitemap-list,
.sitemap-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sitemap-list {
    position: absolute;
    z-index: 6;
    left: 0;
    bottom: calc(100% + 12px);
    display: grid;
    gap: 8px;
    width: max-content;
    max-width: min(260px, 72vw);
    max-height: min(360px, 62vh);
    overflow: auto;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(28, 36, 56, 0.12);
}

.sitemap-list a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}

.sitemap-list a:hover {
    color: var(--accent-dark);
}

.sitemap-list ul {
    display: grid;
    gap: 6px;
    margin-top: 6px;
    padding-left: 12px;
}

.sitemap-list ul a {
    font-weight: 600;
    color: var(--muted);
}

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

@media (max-width: 900px) {
    .hero-inner,
    .card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-inner,
    .about-grid,
    .section-head,
    .take-part,
    .footer-inner {
        display: grid;
    }

    .hero h1 {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .wrap {
        width: min(1120px, calc(100% - 28px));
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 14px 14px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
    }

    .site-header.is-open .site-nav {
        display: flex;
    }

    .site-nav a {
        padding: 12px 4px;
        border-top: 1px solid var(--line);
    }

    .hero-inner,
    .card-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid .is-wide {
        grid-column: auto;
    }

    .gallery-collage {
        --tile: clamp(108px, 31vw, 160px);
        gap: 6px;
    }

    .pswp__button--arrow--prev {
        left: 8px;
    }

    .pswp__button--arrow--next {
        right: 8px;
    }

    .pswp__caption {
        padding: 0 16px;
    }

    .hero-inner {
        padding: 48px 0 40px;
    }

    .section {
        padding: 48px 0;
    }

    .shot {
        height: 200px;
    }
}

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

    .card,
    .work-modal-backdrop,
    .work-modal-dialog,
    .hero-video-shade,
    .hero-video-close,
    .hero-video-bar,
    .hero-frames .shot video.is-hero-layer {
        transition: none;
    }
}
