:root {
    --ink: #121212;
    --muted: #5f6166;
    --paper: #f7f4ef;
    --panel: #ffffff;
    --line: rgba(18, 18, 18, 0.12);
    --gold: #bd8b3f;
    --moss: #516552;
    --clay: #9a5f48;
    --shadow: 0 24px 70px rgba(17, 18, 15, 0.16);
}

/* Gear panel */
.gear-panel {
    width: min(calc(100% - 40px), 1180px);
    margin: 0 auto 82px;
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: center;
    border: 1px solid rgba(0, 132, 210, 0.18);
    border-radius: 8px;
    background:
        radial-gradient(circle at 16% 10%, rgba(0, 213, 255, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(223, 246, 252, 0.58));
    box-shadow: 0 24px 70px rgba(0, 43, 92, 0.12);
}

.gear-panel[hidden] {
    display: none;
}

.gear-panel.is-visible {
    animation: gearReveal 420ms ease both;
}

.gear-visual {
    min-height: 440px;
}

.camera-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 440px;
    border-radius: 8px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
    background:
        radial-gradient(circle at 50% 36%, rgba(93, 240, 255, 0.34), transparent 26%),
        radial-gradient(circle at 24% 74%, rgba(17, 111, 209, 0.28), transparent 32%),
        linear-gradient(145deg, #031226, #0a3158 54%, #d7f5fc);
    box-shadow:
        inset 0 0 0 1px rgba(190, 240, 255, 0.18),
        0 24px 64px rgba(3, 18, 36, 0.22);
}

.camera-stage.is-dragging {
    cursor: grabbing;
}

.camera-stage p {
    position: absolute;
    left: 18px;
    bottom: 16px;
    margin: 0;
    color: rgba(247, 252, 255, 0.78);
    font-weight: 800;
    font-size: 0.88rem;
}

.camera-model {
    --camera-rotation: -12deg;
    position: relative;
    width: min(86%, 470px);
    height: 280px;
    perspective: 900px;
    transform: rotateY(var(--camera-rotation));
    transform-style: preserve-3d;
    transition: transform 120ms linear;
}

.camera-body {
    position: absolute;
    inset: 66px 42px 34px;
    border-radius: 20px 24px 18px 18px;
    background:
        radial-gradient(circle at 25% 24%, rgba(255, 255, 255, 0.14), transparent 20%),
        linear-gradient(145deg, #111827, #050914 64%, #1e293b);
    box-shadow:
        0 36px 70px rgba(0, 0, 0, 0.42),
        inset 0 0 0 2px rgba(255, 255, 255, 0.08);
    transform-style: preserve-3d;
}

.camera-brand,
.camera-model-name {
    position: absolute;
    z-index: 3;
    color: #ffffff;
    font-weight: 900;
}

.camera-brand {
    left: 28px;
    top: 28px;
    font-size: 1.1rem;
}

.camera-model-name {
    right: 34px;
    top: 32px;
    color: #8feaff;
    font-size: 0.9rem;
}

.camera-viewfinder {
    position: absolute;
    left: 35%;
    top: -52px;
    width: 130px;
    height: 82px;
    border-radius: 28px 28px 10px 10px;
    background: linear-gradient(145deg, #172033, #050914);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.camera-grip {
    position: absolute;
    right: -38px;
    top: 22px;
    width: 78px;
    height: 154px;
    border-radius: 20px 28px 26px 16px;
    background: linear-gradient(145deg, #0d1424, #02050b);
}

.camera-lens {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: 52%;
    display: grid;
    place-items: center;
    width: 178px;
    height: 178px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 42% 38%, #14243a 0 18%, #02050b 42%, #0c1220 66%, #1f2937 100%);
    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.54),
        inset 0 0 0 16px #111827,
        inset 0 0 0 24px #2b3444,
        inset 0 0 0 34px #030712;
    transform: translate(-50%, -50%) translateZ(70px);
}

.camera-lens span {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 30%, rgba(93, 240, 255, 0.85), transparent 14%),
        radial-gradient(circle, #07162f, #02050b 68%);
    box-shadow: inset 0 0 24px rgba(0, 213, 255, 0.28);
}

.gear-content h2 {
    margin: 0;
    color: #07162f;
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: 0.98;
}

.gear-content > p:not(.eyebrow) {
    max-width: 640px;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

.lens-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.lens-list article {
    padding: 18px;
    border: 1px solid rgba(0, 132, 210, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
}

.lens-list span {
    color: #007ed2;
    font-weight: 900;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.lens-list h3 {
    margin: 8px 0;
    color: #07162f;
    font-size: 1.12rem;
}

.lens-list p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

@keyframes gearReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .gear-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .gear-panel {
        width: min(calc(100% - 28px), 1180px);
        padding: 16px;
    }

    .gear-visual,
    .camera-stage {
        min-height: 340px;
    }

    .camera-model {
        width: 96%;
        height: 230px;
    }
}

/* About image carousel */
.about-card {
    grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
}

.about-slider {
    position: relative;
    width: 100%;
    height: 360px;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: 8px;
    background: #dcecf3;
    box-shadow:
        0 20px 54px rgba(0, 55, 120, 0.22),
        0 0 0 1px rgba(0, 174, 255, 0.18);
}

.about-slider-track {
    position: absolute;
    inset: 0;
}

.about-slider img,
.about-card .about-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.025);
    box-shadow: none;
    transition: opacity 260ms ease, transform 420ms ease;
}

.about-slider img.is-active,
.about-card .about-slider img.is-active {
    opacity: 1;
    transform: scale(1);
}

.about-slide-button {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(190, 240, 255, 0.52);
    border-radius: 50%;
    background: rgba(3, 18, 36, 0.58);
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(14px);
    transform: translateY(-50%);
    transition: background 180ms ease, transform 180ms ease;
}

.about-slide-button:hover {
    background: rgba(17, 111, 209, 0.72);
    transform: translateY(-50%) scale(1.05);
}

.about-slide-button.prev {
    left: 12px;
}

.about-slide-button.next {
    right: 12px;
}

.about-slider-dots {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 14px;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
}

.about-slider-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.58);
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease;
}

.about-slider-dots button.is-active {
    width: 24px;
    background: #5df0ff;
}

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

    .about-slider {
        height: auto;
        max-width: 560px;
    }
}

@media (max-width: 620px) {
    .about-slider {
        max-width: none;
        aspect-ratio: 4 / 3;
    }
}

/* Blue glass brand treatment */
.site-header {
    background:
        radial-gradient(circle at 18% 0%, rgba(0, 213, 255, 0.22), transparent 34%),
        linear-gradient(110deg, rgba(4, 12, 27, 0.9), rgba(7, 22, 47, 0.74) 50%, rgba(247, 244, 239, 0.76)) !important;
    border-color: rgba(125, 222, 255, 0.34) !important;
    box-shadow:
        0 18px 58px rgba(5, 25, 60, 0.26),
        0 0 46px rgba(0, 174, 255, 0.16) !important;
}

.site-header.is-scrolled {
    background:
        radial-gradient(circle at 18% 0%, rgba(0, 213, 255, 0.26), transparent 34%),
        linear-gradient(110deg, rgba(4, 12, 27, 0.96), rgba(7, 22, 47, 0.88) 52%, rgba(247, 244, 239, 0.88)) !important;
}

.brand {
    color: #f7fbff;
}

.brand-mark {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.95), transparent 20%),
        linear-gradient(135deg, #00d5ff 0%, #1677ff 52%, #07162f 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(185, 239, 255, 0.56);
    text-shadow: 0 1px 14px rgba(0, 213, 255, 0.95);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.16) inset,
        0 0 30px rgba(0, 180, 255, 0.58),
        0 14px 32px rgba(0, 52, 120, 0.38);
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: -24%;
    z-index: -1;
    background: conic-gradient(from 140deg, transparent, rgba(0, 213, 255, 0.62), transparent 34%);
    animation: brandSweep 5s linear infinite;
}

.brand strong {
    background: linear-gradient(90deg, #ffffff, #91ecff 42%, #2f8cff 86%);
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 24px rgba(0, 188, 255, 0.34);
}

.brand small {
    color: rgba(226, 246, 255, 0.74) !important;
}

.main-nav a {
    color: rgba(242, 250, 255, 0.88) !important;
}

.main-nav a:hover {
    background: rgba(0, 213, 255, 0.15) !important;
    color: #ffffff !important;
}

@keyframes brandSweep {
    to {
        transform: rotate(1turn);
    }
}

/* Site-wide blue modern palette */
body {
    background:
        radial-gradient(circle at 14% 8%, rgba(0, 213, 255, 0.13), transparent 26%),
        radial-gradient(circle at 86% 18%, rgba(22, 119, 255, 0.12), transparent 28%),
        linear-gradient(135deg, #eef7fb 0%, #f8fbfd 46%, #eef3f7 100%) !important;
}

.eyebrow {
    color: #009ee8 !important;
    text-shadow: 0 0 24px rgba(0, 213, 255, 0.22);
}

.hero-media {
    background:
        linear-gradient(90deg, rgba(2, 10, 24, 0.78), rgba(5, 29, 58, 0.48) 45%, rgba(240, 248, 252, 0.16)),
        radial-gradient(circle at 64% 12%, rgba(0, 213, 255, 0.42), transparent 30%),
        var(--hero-image, linear-gradient(135deg, #03101f, #0b7fc8 48%, #eaf7fb)) !important;
    background-size: cover;
    background-position: center;
}

.hero h1 {
    text-shadow: 0 18px 58px rgba(0, 34, 70, 0.42);
}

.button.primary {
    background: linear-gradient(135deg, #ffffff, #dff8ff 42%, #62d9ff) !important;
    color: #041324 !important;
    border-color: rgba(0, 177, 255, 0.28);
    box-shadow: 0 14px 36px rgba(0, 137, 212, 0.22);
}

.button.ghost {
    border-color: rgba(164, 232, 255, 0.56) !important;
    color: #f7fcff !important;
    background: rgba(0, 149, 220, 0.12);
}

.hero-stats {
    background: rgba(151, 222, 248, 0.24) !important;
    border-color: rgba(190, 240, 255, 0.34) !important;
    box-shadow: 0 18px 60px rgba(0, 43, 92, 0.18);
}

.hero-stats div {
    background: rgba(4, 20, 42, 0.34) !important;
}

.intro,
.contact,
.site-footer {
    border-color: rgba(0, 132, 210, 0.16) !important;
}

.intro h2,
.portfolio h2,
.contact h2 {
    color: #07162f;
}

.about-card img {
    box-shadow:
        0 20px 54px rgba(0, 55, 120, 0.22),
        0 0 0 1px rgba(0, 174, 255, 0.18);
}

.filter {
    border-color: rgba(0, 132, 210, 0.22) !important;
    color: #0b345c !important;
    background: rgba(255, 255, 255, 0.42) !important;
}

.filter.active {
    background: linear-gradient(135deg, #07162f, #116fd1 55%, #00d5ff) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 34px rgba(0, 119, 210, 0.24);
}

.gallery-item {
    background: #dcecf3 !important;
    box-shadow:
        0 16px 42px rgba(0, 44, 90, 0.14),
        0 0 0 1px rgba(0, 174, 255, 0.1);
}

.gallery-item span {
    background:
        linear-gradient(135deg, rgba(3, 14, 31, 0.78), rgba(0, 116, 192, 0.58)) !important;
    border: 1px solid rgba(155, 231, 255, 0.24);
}

.empty-gallery,
.services article,
.contact-form {
    background:
        radial-gradient(circle at 18% 0%, rgba(0, 213, 255, 0.13), transparent 34%),
        rgba(255, 255, 255, 0.68) !important;
    border-color: rgba(0, 132, 210, 0.18) !important;
    box-shadow: 0 18px 54px rgba(0, 43, 92, 0.1);
}

.empty-camera {
    border-color: #07162f !important;
}

.empty-camera::before {
    border-color: #00bff2 !important;
}

.services span,
.form-status {
    color: #007ed2 !important;
}

input,
select,
textarea {
    background: rgba(248, 253, 255, 0.88) !important;
    border-color: rgba(0, 132, 210, 0.2) !important;
}

input:focus,
select:focus,
textarea:focus {
    outline-color: rgba(0, 213, 255, 0.24) !important;
    border-color: #00bff2 !important;
    box-shadow: 0 0 0 4px rgba(0, 213, 255, 0.08);
}

.contact-form .button.primary {
    background: linear-gradient(135deg, #07162f, #116fd1 58%, #00d5ff) !important;
    color: #ffffff !important;
}

.lightbox {
    background:
        radial-gradient(circle at 50% 8%, rgba(0, 213, 255, 0.22), transparent 34%),
        rgba(2, 8, 18, 0.94) !important;
}

.lightbox-close {
    border-color: rgba(164, 232, 255, 0.34) !important;
    background: rgba(0, 149, 220, 0.16) !important;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: 0 0 auto;
}

.hero-social {
    margin-top: 18px;
}

.hero-social a {
    padding: 0 14px;
    color: #f7fcff;
    border: 1px solid rgba(174, 239, 255, 0.34);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(0, 166, 232, 0.18));
    box-shadow: 0 10px 28px rgba(0, 41, 78, 0.14);
    backdrop-filter: blur(14px);
}

.hero-social a:hover {
    border-color: rgba(199, 247, 255, 0.68);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(0, 198, 255, 0.26));
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.footer-social a {
    min-height: 34px;
    padding: 0 12px;
    color: #0b345c;
    border: 1px solid rgba(0, 132, 210, 0.18);
    background: rgba(255, 255, 255, 0.48);
}

.footer-social a:hover {
    color: #ffffff;
    border-color: rgba(0, 191, 242, 0.42);
    background: linear-gradient(135deg, #07162f, #116fd1 58%, #00d5ff);
}

.developer-credit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.social-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 132, 210, 0.18);
    background: rgba(255, 255, 255, 0.48);
    color: #0b345c;
    font-weight: 800;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.social-chip:hover {
    transform: translateY(-2px);
    color: #ffffff;
    border-color: rgba(0, 191, 242, 0.42);
    background: linear-gradient(135deg, #07162f, #116fd1 58%, #00d5ff);
}

/* Refined blue system: cleaner navbar, logo and mobile contrast */
.site-header {
    background:
        linear-gradient(100deg, rgba(1, 10, 26, 0.98) 0%, rgba(3, 27, 61, 0.94) 34%, rgba(21, 65, 98, 0.78) 68%, rgba(190, 231, 244, 0.78) 100%) !important;
    border-color: rgba(142, 224, 255, 0.42) !important;
    box-shadow:
        0 18px 54px rgba(4, 31, 58, 0.28),
        0 0 42px rgba(0, 196, 255, 0.14) !important;
}

.site-header.is-scrolled {
    background:
        linear-gradient(100deg, rgba(1, 10, 26, 0.99) 0%, rgba(3, 27, 61, 0.96) 38%, rgba(20, 60, 92, 0.86) 72%, rgba(190, 231, 244, 0.86) 100%) !important;
}

.brand-mark {
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.92), transparent 24%),
        linear-gradient(145deg, #5df0ff 0%, #178cff 48%, #274dff 100%) !important;
    border: 1px solid rgba(205, 248, 255, 0.72) !important;
    text-shadow: 0 1px 8px rgba(5, 42, 76, 0.35) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.22) inset,
        0 8px 22px rgba(0, 93, 180, 0.34),
        0 0 24px rgba(0, 213, 255, 0.34) !important;
    overflow: visible !important;
}

.brand-mark::after {
    content: none !important;
    display: none !important;
}

.brand strong {
    background: linear-gradient(90deg, #ffffff 0%, #aeefff 38%, #58b9ff 100%) !important;
    background-clip: text !important;
    color: transparent !important;
    text-shadow: none !important;
}

.brand small {
    color: rgba(222, 244, 255, 0.86) !important;
}

.main-nav a {
    color: rgba(246, 252, 255, 0.92) !important;
    text-shadow: 0 1px 18px rgba(2, 14, 28, 0.18);
}

.main-nav a:hover {
    background: rgba(216, 247, 255, 0.17) !important;
}

.hero-media {
    background:
        linear-gradient(90deg, rgba(8, 25, 42, 0.82) 0%, rgba(34, 77, 102, 0.56) 42%, rgba(213, 242, 251, 0.24) 100%),
        radial-gradient(circle at 68% 12%, rgba(78, 209, 244, 0.5), transparent 28%),
        radial-gradient(circle at 12% 72%, rgba(4, 21, 39, 0.52), transparent 36%),
        var(--hero-image, linear-gradient(135deg, #07182c 0%, #1c80b9 48%, #e8f8fc 100%)) !important;
    background-size: cover;
    background-position: center;
}

.button.primary {
    background: linear-gradient(135deg, #f6fdff 0%, #bff4ff 52%, #4cd7ff 100%) !important;
    box-shadow:
        0 14px 34px rgba(0, 130, 196, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset !important;
}

.button.ghost {
    background: rgba(52, 151, 193, 0.16) !important;
    color: #ffffff !important;
}

@media (max-width: 900px) {
    .site-header {
        background:
            linear-gradient(100deg, rgba(1, 10, 26, 0.99) 0%, rgba(3, 27, 61, 0.94) 58%, rgba(148, 211, 232, 0.78) 100%) !important;
    }

    .main-nav {
        background:
            linear-gradient(145deg, rgba(3, 18, 36, 0.98), rgba(6, 48, 84, 0.96) 58%, rgba(15, 119, 167, 0.92)) !important;
        border: 1px solid rgba(142, 224, 255, 0.36);
        box-shadow:
            0 18px 50px rgba(3, 18, 36, 0.34),
            0 0 34px rgba(0, 196, 255, 0.14) !important;
    }

    .main-nav a {
        color: #f7fcff !important;
        text-shadow: none !important;
    }

    .main-nav a:hover {
        background: rgba(255, 255, 255, 0.12) !important;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
}

img {
    display: block;
    width: 100%;
}

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

.site-header {
    position: fixed;
    z-index: 20;
    top: 18px;
    left: 50%;
    width: min(calc(100% - 28px), 1180px);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 8px;
    background: rgba(247, 244, 239, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 42px rgba(20, 20, 18, 0.12);
    transition: padding 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
    padding-block: 9px;
    background: rgba(247, 244, 239, 0.94);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    font-weight: 800;
    font-size: 0.82rem;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.1;
}

.brand small {
    color: var(--muted);
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: #2d2c28;
    font-weight: 700;
    font-size: 0.92rem;
}

.main-nav a:hover {
    background: rgba(18, 18, 18, 0.08);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: var(--paper);
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: end;
    padding: 128px max(22px, calc((100vw - 1180px) / 2)) 34px;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12, 12, 11, 0.78), rgba(12, 12, 11, 0.36) 46%, rgba(12, 12, 11, 0.12)),
        var(--hero-image, linear-gradient(135deg, #26241f, #7a6b58 45%, #d4c0a1));
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    color: #fffaf2;
    padding-bottom: 124px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1,
.intro h2,
.portfolio h2,
.contact h2 {
    margin: 0;
    font-weight: 800;
    line-height: 0.98;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(3rem, 10vw, 8.2rem);
}

.lead {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255, 250, 242, 0.86);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.7;
}

.hero-actions,
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-actions {
    margin-top: 30px;
}

.button,
.filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 18px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.filter:hover,
.gallery-item:hover {
    transform: translateY(-2px);
}

.button.primary {
    background: #fffaf2;
    color: var(--ink);
}

.button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.button.ghost {
    border-color: rgba(255, 255, 255, 0.42);
    color: #fffaf2;
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    width: min(720px, 100%);
    background: rgba(255, 255, 255, 0.22);
    color: #fffaf2;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.hero-stats div {
    padding: 18px;
    background: rgba(18, 18, 18, 0.28);
}

.hero-stats strong,
.hero-stats span {
    display: block;
}

.hero-stats strong {
    font-size: 1.8rem;
}

.hero-stats span {
    color: rgba(255, 250, 242, 0.76);
    font-size: 0.86rem;
}

.intro,
.portfolio,
.services,
.contact {
    width: min(calc(100% - 40px), 1180px);
    margin: 0 auto;
}

.intro {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 42px;
    padding: 90px 0 64px;
    border-bottom: 1px solid var(--line);
}

.intro h2,
.portfolio h2,
.contact h2 {
    font-size: clamp(2rem, 5vw, 4.8rem);
}

.intro p:last-child,
.contact-copy p:last-child {
    margin: 34px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.about-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
}

.about-card img {
    aspect-ratio: 4 / 5;
    height: 360px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(18, 18, 18, 0.16);
}

.about-card p {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.portfolio {
    padding: 70px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.filter {
    min-height: 40px;
    background: transparent;
    border-color: var(--line);
    color: #3a3935;
    font-size: 0.9rem;
}

.filter.active {
    background: var(--ink);
    color: #fffaf2;
}

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

.gallery-item {
    position: relative;
    min-height: 280px;
    grid-column: span 4;
    border: 0;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    background: #ddd6cb;
    box-shadow: 0 12px 36px rgba(18, 18, 18, 0.1);
    cursor: zoom-in;
    transition: transform 180ms ease, opacity 180ms ease;
}

.gallery-item:nth-child(6n + 1),
.gallery-item:nth-child(6n + 4) {
    grid-column: span 5;
    min-height: 420px;
}

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

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

.gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 360ms ease;
}

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

.gallery-item span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: end;
    padding: 14px;
    border-radius: 8px;
    background: rgba(12, 12, 11, 0.68);
    color: #fffaf2;
    text-align: left;
    backdrop-filter: blur(14px);
}

.gallery-item strong,
.gallery-item small {
    display: block;
}

.gallery-item small {
    color: rgba(255, 250, 242, 0.72);
}

.empty-gallery {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 34px;
    border: 1px dashed rgba(18, 18, 18, 0.22);
    border-radius: 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.44);
}

.empty-gallery h3 {
    margin: 18px 0 8px;
    font-size: 1.6rem;
}

.empty-gallery p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.empty-camera {
    width: 92px;
    height: 68px;
    border: 5px solid var(--ink);
    border-radius: 8px;
    position: relative;
}

.empty-camera::before {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    border: 5px solid var(--gold);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-bottom: 82px;
}

.services article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
}

.services span {
    color: var(--clay);
    font-weight: 900;
}

.services h3 {
    margin: 28px 0 10px;
    font-size: 1.35rem;
}

.services p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.contact {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 40px;
    padding: 76px 0 96px;
    border-top: 1px solid var(--line);
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.contact-form label,
.contact-form span {
    display: grid;
    gap: 8px;
}

.contact-form span {
    color: #36342f;
    font-weight: 800;
    font-size: 0.88rem;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    background: #fbfaf7;
    color: var(--ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(189, 139, 63, 0.24);
    border-color: var(--gold);
}

.contact-form .button.primary {
    width: 100%;
    background: var(--ink);
    color: #fffaf2;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.form-status {
    min-height: 22px;
    margin: 0;
    color: var(--moss);
    font-weight: 700;
}

.lightbox {
    position: fixed;
    z-index: 40;
    inset: 0;
    display: none;
    place-items: center;
    padding: 28px;
    background: rgba(10, 10, 10, 0.9);
}

.lightbox.is-open {
    display: grid;
}

.lightbox img {
    width: min(1100px, 100%);
    max-height: 78svh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox p {
    margin: 16px 0 0;
    color: #fffaf2;
    font-weight: 800;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    width: min(calc(100% - 40px), 1180px);
    margin: 0 auto;
    padding: 28px 0 34px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        display: none;
        width: min(280px, calc(100vw - 28px));
        padding: 10px;
        border-radius: 8px;
        background: rgba(247, 244, 239, 0.96);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: grid;
    }

    .main-nav a {
        border-radius: 8px;
    }

    .hero-content {
        padding-bottom: 40px;
    }

    .hero-stats,
    .intro,
    .contact,
    .services {
        grid-template-columns: 1fr;
    }

    .about-card {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .about-card img {
        height: 280px;
    }

    .section-head {
        display: grid;
        align-items: start;
    }

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

@media (max-width: 620px) {
    .site-header {
        top: 10px;
        width: calc(100% - 20px);
    }

    .brand small {
        display: none;
    }

    .hero {
        padding-inline: 18px;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

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

    .intro,
    .portfolio,
    .services,
    .contact,
    .site-footer {
        width: min(calc(100% - 28px), 1180px);
    }

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

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

    .gallery-item span {
        display: grid;
    }

    .site-footer {
        display: grid;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .hero-social a {
        min-height: 42px;
    }

    .about-card {
        grid-template-columns: 1fr;
    }

    .about-card img {
        width: min(220px, 100%);
        height: auto;
    }
}
