:root {
    --navy-950: #03244d;
    --navy-900: #073b7a;
    --navy-800: #0a4d99;
    --green: #06a85f;
    --green-dark: #07814c;
    --yellow: #ffd21a;
    --orange: #ff9f1a;
    --ink: #132238;
    --muted: #65758b;
    --line: #e5ecf4;
    --surface: #ffffff;
    --surface-soft: #f5f8fc;
    --shadow: 0 18px 50px rgba(4, 44, 92, .13);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--surface-soft);
    -webkit-font-smoothing: antialiased;
}
body.lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
svg { display: block; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(222,232,244,.9);
    backdrop-filter: blur(18px);
    transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(4,44,92,.09); }
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 152px; height: 58px; object-fit: contain; object-position: left center; }
.header-actions { display: flex; align-items: center; gap: 30px; font-weight: 650; color: #405169; }
.header-actions a { position: relative; padding: 30px 0; transition: color .2s ease; }
.header-actions a:hover, .header-actions a.active { color: var(--navy-900); }
.header-actions a.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 17px; margin: auto;
    width: 22px; height: 3px; border-radius: 10px; background: linear-gradient(90deg, var(--green), var(--yellow));
}
.menu-toggle { display: none; border: 0; background: transparent; padding: 9px; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--navy-900); border-radius: 2px; }

.hero {
    min-height: 610px;
    padding: 170px 0 105px;
    position: relative;
    overflow: hidden;
    color: white;
    background:
        radial-gradient(circle at 78% 25%, rgba(0, 203, 118, .28), transparent 28%),
        linear-gradient(128deg, var(--navy-950), var(--navy-900) 52%, #086aa5);
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent 95%);
}
.hero-shape { position: absolute; border-radius: 42px; transform: rotate(28deg); opacity: .95; }
.hero-shape-a { width: 290px; height: 85px; right: -80px; top: 145px; background: var(--yellow); }
.hero-shape-b { width: 220px; height: 70px; left: -85px; bottom: 70px; background: var(--green); transform: rotate(-24deg); }
.hero-content { position: relative; z-index: 2; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(255,210,26,.13); }
.hero h1 { margin: 24px auto 18px; max-width: 900px; font-size: clamp(3rem, 7vw, 6.3rem); line-height: .96; letter-spacing: -.065em; }
.hero h1::after { content: ""; display: block; width: 110px; height: 7px; margin: 28px auto 0; border-radius: 99px; background: linear-gradient(90deg, var(--yellow), var(--green)); }
.hero p { max-width: 720px; margin: 0 auto; color: rgba(255,255,255,.78); font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.7; }
.hero-stats { display: inline-grid; grid-template-columns: repeat(3, minmax(115px, 1fr)); margin-top: 44px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); overflow: hidden; }
.hero-stats div { padding: 18px 28px; border-right: 1px solid rgba(255,255,255,.13); }
.hero-stats div:last-child { border: 0; }
.hero-stats strong { display: block; font-size: 1.65rem; color: white; }
.hero-stats span { display: block; margin-top: 2px; color: rgba(255,255,255,.68); font-size: .75rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; transform: translateX(-50%); animation: bounce 2s infinite; }
.scroll-cue svg { width: 22px; fill: none; stroke: white; stroke-width: 2; }
@keyframes bounce { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,7px)} }

.gallery-section { padding: 88px 0 110px; min-height: 700px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-kicker { display: inline-block; color: var(--green-dark); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.section-heading h2 { margin: 7px 0 8px; color: var(--navy-950); font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); line-height: 1.7; }
.search-box { min-width: 330px; height: 52px; display: flex; align-items: center; gap: 11px; padding: 0 13px 0 16px; background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 7px 24px rgba(14,57,100,.05); transition: border .2s, box-shadow .2s; }
.search-box:focus-within { border-color: rgba(6,168,95,.65); box-shadow: 0 0 0 4px rgba(6,168,95,.09); }
.search-box svg { width: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-box input::placeholder { color: #9aa7b7; }
.search-box kbd { min-width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 7px; background: #f8fafc; color: #8190a2; font-size: .75rem; }

.album-tabs { display: flex; gap: 10px; padding: 8px; overflow-x: auto; background: #eef3f8; border-radius: 19px; scrollbar-width: none; }
.album-tabs::-webkit-scrollbar { display: none; }
.album-tab { min-width: max-content; flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 15px; border: 0; border-radius: 13px; background: transparent; color: #607086; font-weight: 750; transition: all .2s ease; }
.album-tab:hover { color: var(--navy-900); background: rgba(255,255,255,.58); }
.album-tab.active { color: var(--navy-900); background: white; box-shadow: 0 7px 22px rgba(19,51,89,.1); }
.tab-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: rgba(7,59,122,.07); }
.tab-icon svg { width: 15px; height: 15px; fill: var(--navy-900); }
.album-tab.active .tab-icon { background: linear-gradient(135deg, rgba(6,168,95,.17), rgba(255,210,26,.24)); }
.album-tab small { min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 5px; border-radius: 999px; background: #dfe7f0; font-size: .69rem; }
.album-tab.active small { color: white; background: var(--navy-900); }

.active-album-info { display: flex; align-items: center; gap: 13px; margin: 22px 0 26px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.active-album-icon { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); }
.active-album-icon svg { width: 21px; fill: white; }
.active-album-info > div:nth-child(2) { display: grid; gap: 2px; }
.active-album-info strong { color: var(--navy-950); }
.active-album-info span { color: var(--muted); font-size: .87rem; }
.active-album-info b { margin-left: auto; padding: 8px 12px; border-radius: 999px; background: #eff8f3; color: var(--green-dark); font-size: .78rem; white-space: nowrap; }

.photo-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.photo-card { grid-column: span 4; min-height: 365px; border-radius: var(--radius); overflow: hidden; outline: none; box-shadow: 0 8px 28px rgba(6,45,88,.09); transition: transform .28s ease, box-shadow .28s ease, opacity .2s ease; }
.photo-card:nth-child(5n + 1) { grid-column: span 8; }
.photo-card:nth-child(5n + 1) .photo-media { aspect-ratio: 16/8.7; }
.photo-card:hover, .photo-card:focus-visible { transform: translateY(-7px); box-shadow: var(--shadow); }
.photo-card.hidden { display: none; }
.photo-media { position: relative; height: 100%; min-height: 365px; aspect-ratio: 4/4.5; overflow: hidden; background: #dce5ef; }
.photo-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .35s; }
.photo-card:hover img { transform: scale(1.06); filter: saturate(1.06); }
.photo-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,21,45,.93), rgba(2,31,64,.06) 65%); }
.photo-category { position: absolute; left: 18px; top: 18px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(3,36,77,.68); color: white; backdrop-filter: blur(10px); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.expand-button { position: absolute; top: 17px; right: 17px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(3,36,77,.68); opacity: 0; transform: translateY(-4px); transition: all .2s ease; }
.photo-card:hover .expand-button, .photo-card:focus-visible .expand-button { opacity: 1; transform: translateY(0); }
.expand-button svg { width: 20px; fill: none; stroke: white; stroke-width: 1.8; }
.photo-content { position: absolute; inset: auto 22px 21px; color: white; }
.photo-content h3 { margin: 0 0 10px; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.15; letter-spacing: -.025em; }
.photo-meta { display: flex; flex-wrap: wrap; gap: 12px; color: rgba(255,255,255,.76); font-size: .78rem; }
.photo-meta span { display: inline-flex; align-items: center; gap: 5px; }
.photo-meta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.empty-state { padding: 70px 20px; text-align: center; }
.empty-state > div { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 22px; background: white; box-shadow: 0 10px 30px rgba(8,52,99,.08); }
.empty-state svg { width: 27px; fill: none; stroke: var(--navy-900); stroke-width: 1.7; }
.empty-state h3 { margin: 0 0 7px; color: var(--navy-950); font-size: 1.35rem; }
.empty-state p { margin: 0 0 18px; color: var(--muted); }
.empty-state button { border: 0; border-radius: 12px; padding: 11px 16px; background: var(--navy-900); color: white; font-weight: 750; }

.site-footer { color: white; background: var(--navy-950); }
.footer-inner { min-height: 180px; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 25px; }
.footer-inner img { width: 150px; filter: brightness(0) invert(1); opacity: .96; }
.footer-inner p { text-align: center; color: rgba(255,255,255,.65); }
.footer-inner a { justify-self: end; display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.76); font-weight: 700; }
.footer-inner a:hover { color: var(--yellow); }
.footer-inner svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.footer-bottom { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; color: rgba(255,255,255,.52); font-size: .78rem; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 40px 82px; background: rgba(1,14,30,.94); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure { width: min(1120px, 100%); max-height: calc(100vh - 80px); display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); margin: 0; overflow: hidden; border-radius: 24px; background: white; box-shadow: 0 25px 90px rgba(0,0,0,.5); transform: scale(.97); transition: transform .25s ease; }
.lightbox.open .lightbox-figure { transform: scale(1); }
.lightbox-image-wrap { min-height: 500px; background: #061c37; display: grid; place-items: center; overflow: hidden; }
.lightbox-image-wrap img { width: 100%; height: 100%; max-height: calc(100vh - 80px); object-fit: contain; }
.lightbox figcaption { align-self: stretch; padding: 38px 31px; overflow: auto; }
.lightbox figcaption > span { display: inline-block; padding: 7px 10px; border-radius: 999px; background: #eaf7f0; color: var(--green-dark); font-size: .71rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.lightbox h3 { margin: 18px 0 12px; color: var(--navy-950); font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.08; letter-spacing: -.04em; }
.lightbox p { color: var(--muted); line-height: 1.75; }
.lightbox-meta { display: grid; gap: 9px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: #52647b; font-size: .88rem; }
.lightbox-meta span { display: flex; align-items: center; gap: 8px; }
.lightbox-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.lightbox-tags span { padding: 7px 9px; border-radius: 8px; background: #f0f4f8; color: #5d6d81; font-size: .73rem; }
.lightbox-close, .lightbox-nav { position: absolute; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: white; background: rgba(255,255,255,.08); transition: background .2s, transform .2s; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.18); }
.lightbox-close { top: 20px; right: 22px; width: 45px; height: 45px; border-radius: 50%; }
.lightbox-close svg, .lightbox-nav svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lightbox-nav { top: 50%; width: 48px; height: 62px; border-radius: 15px; transform: translateY(-50%); }
.lightbox-nav.previous { left: 18px; }
.lightbox-nav.next { right: 18px; }
.lightbox-counter { position: absolute; left: 50%; bottom: 13px; transform: translateX(-50%); color: rgba(255,255,255,.72); font-size: .78rem; }

@media (max-width: 980px) {
    .header-actions { position: fixed; top: 82px; left: 20px; right: 20px; display: grid; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .2s; }
    .header-actions.open { opacity: 1; transform: none; pointer-events: auto; }
    .header-actions a { padding: 14px; border-radius: 10px; }
    .header-actions a.active::after { display: none; }
    .header-actions a:hover { background: #f1f6fa; }
    .menu-toggle { display: block; }
    .section-heading { align-items: stretch; flex-direction: column; }
    .search-box { min-width: 0; width: 100%; }
    .photo-card, .photo-card:nth-child(5n + 1) { grid-column: span 6; }
    .photo-card:nth-child(5n + 1) .photo-media { aspect-ratio: 4/4.5; }
    .lightbox { padding: 55px 65px; }
    .lightbox-figure { grid-template-columns: 1fr; overflow-y: auto; }
    .lightbox-image-wrap { min-height: 50vh; }
    .lightbox-image-wrap img { max-height: 58vh; }
}

@media (max-width: 680px) {
    .shell { width: min(100% - 28px, 1180px); }
    .header-inner { height: 72px; }
    .brand img { width: 130px; height: 48px; }
    .header-actions { top: 72px; left: 14px; right: 14px; }
    .hero { min-height: 620px; padding: 145px 0 100px; }
    .hero h1 { font-size: clamp(3.15rem, 16vw, 4.8rem); }
    .hero-stats { width: 100%; grid-template-columns: repeat(3, 1fr); }
    .hero-stats div { padding: 15px 7px; }
    .hero-stats strong { font-size: 1.35rem; }
    .hero-stats span { font-size: .62rem; }
    .gallery-section { padding: 66px 0 80px; }
    .section-heading h2 { font-size: 2.25rem; }
    .album-tabs { margin-inline: -14px; border-radius: 0; padding-inline: 14px; }
    .album-tab { flex: 0 0 auto; }
    .active-album-info { align-items: flex-start; flex-wrap: wrap; }
    .active-album-info b { width: max-content; margin-left: 57px; margin-top: -8px; }
    .photo-grid { gap: 14px; }
    .photo-card, .photo-card:nth-child(5n + 1) { grid-column: 1 / -1; min-height: 360px; }
    .photo-media { min-height: 360px; aspect-ratio: 4/4.2 !important; }
    .expand-button { opacity: 1; transform: none; }
    .footer-inner { grid-template-columns: 1fr; padding: 35px 0; text-align: center; }
    .footer-inner img, .footer-inner a { justify-self: center; }
    .footer-inner p { margin: 0; }
    .lightbox { padding: 52px 12px 35px; }
    .lightbox-figure { max-height: calc(100vh - 95px); border-radius: 18px; }
    .lightbox-image-wrap { min-height: 42vh; }
    .lightbox figcaption { padding: 25px 21px; }
    .lightbox-nav { top: 45%; width: 40px; height: 50px; background: rgba(1,14,30,.58); }
    .lightbox-nav.previous { left: 17px; }
    .lightbox-nav.next { right: 17px; }
    .lightbox-close { top: 8px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
