/* ─── Design Tokens ─────────────────────── */
:root {
    --bg-void: #0a0806;
    --bg-deep: #100d0a;
    --bg-surface: #16120e;
    --bg-raised: #1e1812;
    --copper-light: #d4956a;
    --copper: #b87333;
    --copper-dark: #8b5a2b;
    --brass: #c9a84c;
    --brass-light: #e8c97e;
    --gold: #d4af37;
    --text-primary: #f0e8d8;
    --text-secondary: #a89880;
    --text-muted: #8a7a6a;
    --border-subtle: rgba(180, 130, 60, 0.15);
    --border-medium: rgba(180, 130, 60, 0.3);
    --border-strong: rgba(180, 130, 60, 0.55);
    --font-display: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', serif;
    --font-ui: 'Rajdhani', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    font-size: 18px
}

body {
    background: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: .45
}

img {
    display: block;
    max-width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit
}

ul {
    list-style: none
}

::-webkit-scrollbar {
    width: 5px
}

::-webkit-scrollbar-track {
    background: var(--bg-deep)
}

::-webkit-scrollbar-thumb {
    background: var(--copper-dark);
    border-radius: 3px
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: .6
    }

    50% {
        opacity: 1
    }
}

/* ─── NAVBAR ─────────────────────────────── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background .4s, border-color .4s;
    border-bottom: 1px solid transparent
}

#navbar.scrolled {
    background: rgba(10, 8, 6, .92);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--border-subtle)
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px
}

.gear-sm {
    width: 22px;
    height: 22px;
    opacity: .7;
    animation: rotateSlow 22s linear infinite
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .12em
}

.logo-sub {
    font-family: var(--font-ui);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 2px;
    align-self: flex-end
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px
}

.nav-link {
    font-family: var(--font-ui);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color .2s;
    position: relative
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 100%;
    height: 1px;
    background: var(--copper);
    transition: right .3s var(--ease-out)
}

.nav-link:hover {
    color: var(--text-primary)
}

.nav-link:hover::after {
    right: 0
}

.nav-cta {
    font-family: var(--font-ui);
    font-size: .73rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--copper);
    border: 1px solid var(--border-medium);
    padding: 7px 18px;
    border-radius: 2px;
    transition: all .2s
}

.nav-cta:hover {
    background: var(--copper);
    color: var(--bg-void)
}

/* ─── HERO ────────────────────────────────── */
#hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    overflow: hidden
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .1s ease-out;
    will-change: transform
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(10, 8, 6, .72) 0%, transparent 28%),
        linear-gradient(to top, rgba(10, 8, 6, .96) 0%, rgba(10, 8, 6, .55) 42%, rgba(10, 8, 6, .18) 100%)
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 38%, rgba(10, 8, 6, .6) 100%)
}

.corner {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 2
}

.corner::before,
.corner::after {
    content: '';
    position: absolute;
    background: var(--copper);
    opacity: .35
}

.c-tl {
    top: 24px;
    left: 24px
}

.c-tr {
    top: 24px;
    right: 24px
}

.c-bl {
    bottom: 24px;
    left: 24px
}

.c-br {
    bottom: 24px;
    right: 24px
}

.c-tl::before,
.c-tr::before,
.c-bl::before,
.c-br::before {
    width: 100%;
    height: 1px
}

.c-tl::after,
.c-bl::after {
    left: 0;
    width: 1px;
    height: 100%
}

.c-tr::after,
.c-br::after {
    right: 0;
    width: 1px;
    height: 100%
}

.c-tl::before {
    top: 0;
    left: 0
}

.c-tr::before {
    top: 0;
    right: 0
}

.c-bl::before {
    bottom: 0;
    left: 0
}

.c-br::before {
    bottom: 0;
    right: 0
}

.c-tl::after {
    top: 0
}

.c-tr::after {
    top: 0
}

.c-bl::after {
    bottom: 0
}

.c-br::after {
    bottom: 0
}

.hero-gear-1 {
    position: absolute;
    top: 12%;
    right: 8%;
    z-index: 2
}

.hero-gear-2 {
    position: absolute;
    top: 18%;
    right: 13%;
    z-index: 2
}

.hero-gear-3 {
    position: absolute;
    bottom: 20%;
    left: 5%;
    z-index: 2
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px 96px
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    animation: fadeUp .85s var(--ease-out) .1s both
}

#hero .section-label {
    color: var(--brass-light);
    text-shadow: 0 1px 10px rgba(0, 0, 0, .9)
}

.eyebrow-line {
    flex: 0 0 32px;
    height: 1px;
    background: var(--copper);
    opacity: .5
}

.section-label {
    font-family: var(--font-ui);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--copper)
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 400;
    letter-spacing: .05em;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 680px;
    animation: fadeUp .85s var(--ease-out) .3s both
}

.hero-medium {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-secondary);
    letter-spacing: .05em;
    margin-bottom: 40px;
    animation: fadeUp .85s var(--ease-out) .5s both
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp .85s var(--ease-out) .7s both
}

.btn-primary {
    font-family: var(--font-ui);
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--copper), var(--copper-dark));
    color: var(--bg-void);
    padding: 14px 32px;
    border-radius: 2px;
    transition: all .25s;
    box-shadow: 0 8px 24px rgba(184, 115, 51, .25)
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--brass-light), var(--copper));
    box-shadow: 0 12px 32px rgba(184, 115, 51, .4);
    transform: translateY(-2px)
}

.btn-ghost {
    font-family: var(--font-ui);
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-secondary);
    border: 1px solid var(--border-medium);
    padding: 14px 32px;
    border-radius: 2px;
    transition: all .25s
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--copper);
    background: rgba(184, 115, 51, .06)
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    right: 40px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeIn 2s ease 1.6s both
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--copper), transparent)
}

.scroll-text {
    font-family: var(--font-ui);
    font-size: .58rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--text-muted);
    writing-mode: vertical-rl
}

/* ─── GALLERY ─────────────────────────────── */
#gallery {
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 32px
}

.gallery-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
    gap: 32px
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    letter-spacing: .06em;
    color: var(--text-primary);
    line-height: 1.2
}

.copper-line {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, var(--copper), transparent);
    margin: 14px 0
}

.gallery-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 360px;
    text-align: right
}

.gallery-gear {
    position: absolute;
    top: 0;
    right: 0
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 2px
}

.g-item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out)
}

.g-item.visible {
    opacity: 1;
    transform: translateY(0)
}

.g-landscape {
    grid-column: span 2
}

.g-portrait {
    grid-row: span 2
}

.g-btn {
    display: block;
    width: 100%;
    height: 100%;
    position: relative
}

.g-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-raised)
}

.g-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-out), opacity .4s;
    opacity: 0
}

.g-img.loaded {
    opacity: 1
}

.g-btn:hover .g-img {
    transform: scale(1.05)
}

.g-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 8, 6, .92) 0%, rgba(10, 8, 6, .1) 60%, transparent 100%);
    opacity: 0;
    transition: opacity .3s;
    display: flex;
    align-items: flex-end
}

.g-btn:hover .g-overlay {
    opacity: 1
}

.g-info {
    padding: 20px;
    transform: translateY(8px);
    transition: transform .3s var(--ease-out)
}

.g-btn:hover .g-info {
    transform: translateY(0)
}

.g-title-label {
    display: block;
    font-family: var(--font-display);
    font-size: .88rem;
    font-weight: 400;
    letter-spacing: .06em;
    color: var(--text-primary);
    margin-bottom: 3px
}

.g-meta {
    display: block;
    font-family: var(--font-ui);
    font-size: .62rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 9px
}

.g-view {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-size: .62rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--text-muted)
}

.g-view-line {
    width: 22px;
    height: 1px;
    background: var(--copper);
    opacity: .6
}

/* Frame corners */
.fc {
    position: absolute;
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: opacity .25s;
    z-index: 2
}

.g-btn:hover .fc {
    opacity: 1
}

.fc::before,
.fc::after {
    content: '';
    position: absolute;
    background: var(--copper)
}

.fc-tl {
    top: 6px;
    left: 6px
}

.fc-tr {
    top: 6px;
    right: 6px
}

.fc-bl {
    bottom: 6px;
    left: 6px
}

.fc-br {
    bottom: 6px;
    right: 6px
}

.fc-tl::before,
.fc-tr::before,
.fc-bl::before,
.fc-br::before {
    width: 100%;
    height: 1px
}

.fc-tl::after,
.fc-bl::after {
    left: 0;
    width: 1px;
    height: 100%
}

.fc-tr::after,
.fc-br::after {
    right: 0;
    width: 1px;
    height: 100%
}

.fc-tl::before {
    top: 0;
    left: 0
}

.fc-tr::before {
    top: 0;
    right: 0
}

.fc-bl::before {
    bottom: 0;
    left: 0
}

.fc-br::before {
    bottom: 0;
    right: 0
}

.fc-tl::after {
    top: 0
}

.fc-tr::after {
    top: 0
}

.fc-bl::after {
    bottom: 0
}

.fc-br::after {
    bottom: 0
}

.copper-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 72px
}

.div-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-medium), transparent)
}

/* ─── ABOUT ───────────────────────────────── */
#about {
    position: relative;
    padding: 120px 0;
    overflow: hidden
}

.about-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-deep) 50%, var(--bg-surface) 100%);
    opacity: .65
}

.about-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(180, 130, 60, .022) 39px, rgba(180, 130, 60, .022) 40px)
}

.about-inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 88px;
    align-items: start
}

.portrait-col {
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out)
}

.portrait-col.visible {
    opacity: 1;
    transform: translateX(0)
}

.portrait-frame {
    position: relative;
    border: 1px solid var(--border-medium);
    overflow: hidden
}

.portrait-corner {
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(180, 130, 60, .14);
    z-index: 2;
    pointer-events: none
}

.portrait-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    filter: contrast(1.05) saturate(.85)
}

.portrait-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 58%, rgba(10, 8, 6, .72) 100%)
}

.copper-plate {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    padding: 12px 16px;
    background: rgba(10, 8, 6, .78);
    border: 1px solid var(--border-medium);
    backdrop-filter: blur(8px);
    z-index: 3
}

.plate-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--text-primary);
    margin-bottom: 2px
}

.plate-title {
    display: block;
    font-family: var(--font-ui);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--copper)
}

.about-gear-group {
    position: absolute;
    bottom: -8px;
    right: -16px;
    width: 72px;
    height: 72px
}

.text-col {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .9s var(--ease-out) .2s, transform .9s var(--ease-out) .2s
}

.text-col.visible {
    opacity: 1;
    transform: translateX(0)
}

.body-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin: 40px 0;
    border: 1px solid var(--border-subtle)
}

.stat {
    padding: 20px 14px;
    border-right: 1px solid var(--border-subtle);
    text-align: center
}

.stat:last-child {
    border-right: none
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--copper);
    letter-spacing: .04em;
    line-height: 1;
    margin-bottom: 6px
}

.stat-label {
    display: block;
    font-family: var(--font-ui);
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-muted)
}

.btn-ghost-copper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-ui);
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--copper);
    border: 1px solid var(--border-medium);
    padding: 14px 28px;
    border-radius: 2px;
    transition: all .25s
}

.btn-ghost-copper:hover {
    background: rgba(184, 115, 51, .06);
    border-color: var(--copper);
    color: var(--brass-light)
}

.btn-arrow {
    transition: transform .25s
}

.btn-ghost-copper:hover .btn-arrow {
    transform: translateX(4px)
}

/* ─── CONTACT ─────────────────────────────── */
#contact {
    padding: 120px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle)
}

.contact-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 80px;
    align-items: start
}

.contact-info {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out)
}

.contact-info.visible {
    opacity: 1;
    transform: translateY(0)
}

.contact-body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 36px;
    font-style: italic
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.detail-label {
    font-family: var(--font-ui);
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--copper)
}

.detail-value {
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--text-secondary)
}

.contact-gear {
    position: relative;
    width: 72px;
    height: 72px
}

.form-wrap {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s var(--ease-out) .2s, transform .8s var(--ease-out) .2s
}

.form-wrap.visible {
    opacity: 1;
    transform: translateY(0)
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px
}

.form-label {
    font-family: var(--font-ui);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-muted)
}

.form-input,
.form-select,
.form-textarea {
    background: var(--bg-raised);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: .95rem;
    padding: 12px 14px;
    border-radius: 2px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    width: 100%
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
    font-style: italic
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--copper-dark);
    box-shadow: 0 0 0 2px rgba(184, 115, 51, .08)
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23b87333' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer
}

.form-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-ui);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--copper), var(--copper-dark));
    color: var(--bg-void);
    padding: 15px 34px;
    border-radius: 2px;
    transition: all .25s;
    box-shadow: 0 8px 24px rgba(184, 115, 51, .2);
    align-self: flex-start
}

.form-submit:hover {
    background: linear-gradient(135deg, var(--brass-light), var(--copper));
    box-shadow: 0 12px 32px rgba(184, 115, 51, .35);
    transform: translateY(-1px)
}

.submit-arrow {
    transition: transform .25s
}

.form-submit:hover .submit-arrow {
    transform: translateX(4px)
}

.success-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px;
    border: 1px solid var(--border-medium);
    background: rgba(184, 115, 51, .04)
}

.success-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--copper);
    letter-spacing: .06em
}

.success-body {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8
}

.form-error {
    font-family: var(--font-body);
    font-size: .9rem;
    color: #c0634a;
    margin-top: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(192, 99, 74, .3);
    border-radius: 4px;
    background: rgba(192, 99, 74, .06)
}

/* ─── FOOTER ──────────────────────────────── */
footer {
    background: var(--bg-void);
    border-top: 1px solid var(--border-subtle);
    padding: 48px 0 32px
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px
}

.footer-name {
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .12em
}

.footer-links {
    display: flex;
    gap: 30px
}

.footer-link {
    font-family: var(--font-ui);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color .2s
}

.footer-link:hover {
    color: var(--copper)
}

.footer-div {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
    margin-bottom: 26px
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px
}

.footer-copy,
.footer-craft {
    font-family: var(--font-ui);
    font-size: .72rem;
    font-weight: 400;
    letter-spacing: .1em;
    color: var(--text-secondary)
}

/* ─── LIGHTBOX ────────────────────────────── */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 4, 3, .97);
    backdrop-filter: blur(14px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn .2s ease
}

#lightbox.open {
    display: flex
}

.lb-panel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    padding: 16px
}

.lb-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color .2s;
    z-index: 10
}

.lb-close:hover {
    color: var(--text-primary)
}

.lb-img-area {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden
}

.lb-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-height: 76vh;
    position: relative
}

.lb-spinner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-subtle);
    border-top-color: var(--copper);
    border-radius: 50%;
    animation: rotateSlow .9s linear infinite
}

.lb-img {
    max-width: 100%;
    max-height: 76vh;
    object-fit: contain;
    opacity: 0;
    transition: opacity .4s;
    box-shadow: 0 0 0 1px var(--border-subtle), 0 32px 80px rgba(0, 0, 0, .8)
}

.lb-img.loaded {
    opacity: 1
}

.lb-nav {
    flex: 0 0 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color .2s;
    border: 1px solid transparent;
    border-radius: 2px
}

.lb-nav:hover {
    color: var(--copper);
    border-color: var(--border-subtle);
    background: rgba(184, 115, 51, .04)
}

.lb-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 18px 52px 4px;
    border-top: 1px solid var(--border-subtle);
    margin-top: 16px
}

.lb-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: .06em;
    color: var(--text-primary);
    display: block;
    margin-bottom: 3px
}

.lb-meta {
    font-family: var(--font-body);
    font-size: .85rem;
    font-style: italic;
    color: var(--text-secondary)
}

.lb-counter {
    font-family: var(--font-ui);
    font-size: .68rem;
    letter-spacing: .15em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 3px;
    text-align: right
}

.lb-year {
    font-family: var(--font-display);
    font-size: .8rem;
    color: var(--copper);
    letter-spacing: .1em
}

/* Gear SVG util */
.gear-svg {
    display: block
}

.gear-anim {
    animation: rotateSlow 22s linear infinite
}

.gear-anim-rev {
    animation: rotateSlow 16s linear infinite reverse
}

.gear-anim-slow {
    animation: rotateSlow 30s linear infinite
}

/* ─── Responsive ──────────────────────────── */
@media(max-width:1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 220px
    }

    .gallery-header {
        flex-direction: column;
        align-items: flex-start
    }

    .gallery-subtitle {
        text-align: left
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 48px
    }

    .portrait-col {
        max-width: 400px
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .stat:nth-child(2) {
        border-right: none
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 56px
    }
}

@media(max-width:640px) {
    #gallery {
        padding: 80px 20px
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px
    }

    .g-portrait {
        grid-row: span 1
    }

    .about-inner {
        padding: 0 20px
    }

    #contact {
        padding: 80px 0
    }

    .contact-inner {
        padding: 0 20px
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .hero-content {
        padding: 0 20px 80px
    }

    .hero-actions {
        flex-direction: column
    }

    .scroll-hint {
        display: none
    }

    .nav-links {
        display: none
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start
    }

    .lb-info {
        padding: 14px 4px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px
    }
}