/* =============================================================
   GLENGARRY FALCONS — Editorial design system
   v14 · refined typography, spacing, hierarchy
   ============================================================= */

:root {
    /* Color */
    --bone:        #f3efe7;
    --bone-warm:   #ede7da;
    --bone-deep:   #e2dbc9;
    --ink:         #16171a;
    --ink-deep:    #0e0f12;
    --ink-soft:    #2a2c30;
    --slate:       #4a5260;
    --slate-soft:  #76808d;
    --gold:        #b89248;
    --gold-soft:   #d6b06f;
    --ember:       #a85a1f;
    --ember-deep:  #7e4214;
    --rule:        #c8b885;

    /* Type */
    --serif: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

    /* Motion */
    --ease: cubic-bezier(.2,.7,.2,1);

    /* Geometry */
    --radius: 2px;
    --line: 1px solid #00000018;
    --line-light: 1px solid #ffffff14;

    /* Container widths */
    --w-prose:   62ch;
    --w-narrow:  720px;
    --w-std:     1140px;
    --w-wide:    1320px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
*  { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 17px;
    color: var(--ink);
    background: var(--bone);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern", "liga", "calt";
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

::selection { background: var(--gold); color: var(--ink); }

/* ----- Type scale ----- */
h1, h2, h3, h4, blockquote, .h1-main {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.018em;
    font-feature-settings: "lnum", "kern", "liga", "dlig";
}

h1 {
    font-size: clamp(2.6rem, 6.8vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
}
h2 {
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -0.022em;
}
h3 {
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: -0.012em;
    font-weight: 500;
}
h4 {
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink);
}

/* ----- Typographic helpers ----- */
.section-kicker,
.small-caps,
.kicker {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}
.section-kicker {
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.section-kicker::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--gold);
    opacity: 0.7;
}
.small-caps  { color: var(--slate); }
.kicker {
    color: var(--bone);
    opacity: 0.7;
    letter-spacing: 0.32em;
    font-weight: 500;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.3s var(--ease),
                border-color 0.3s var(--ease),
                color 0.3s var(--ease);
}
.btn-primary {
    background: var(--ember);
    color: var(--bone);
    border-color: var(--ember);
}
.btn-primary:hover { background: var(--ember-deep); border-color: var(--ember-deep); }
.btn-ghost {
    background: transparent;
    color: var(--bone);
    border-color: #ffffff44;
}
.btn-ghost:hover { background: #ffffff10; border-color: var(--bone); color: var(--bone); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px clamp(24px, 4vw, 56px);
    background: rgba(14, 15, 18, 0.78);
    backdrop-filter: saturate(140%) blur(18px);
    -webkit-backdrop-filter: saturate(140%) blur(18px);
    color: var(--bone);
    border-bottom: var(--line-light);
    transition: padding 0.3s var(--ease);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--bone);
}

.brand-logo {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ffffff20;
    box-shadow: 0 1px 4px #0006;
}

.nav-brand strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}
.nav-brand em {
    display: block;
    font-style: normal;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 5px;
}

.nav-links {
    display: flex;
    gap: clamp(14px, 2vw, 30px);
    align-items: center;
}
.nav-links a {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bone);
    opacity: 0.72;
    position: relative;
    padding: 6px 0;
    transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ----- Hamburger ----- */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid #ffffff30;
    border-radius: var(--radius);
    width: 44px; height: 44px;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 60;
    transition: border-color 0.25s var(--ease);
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle span {
    display: block;
    position: absolute;
    left: 11px; right: 11px;
    height: 1.5px;
    background: var(--bone);
    transition: transform 0.35s var(--ease), opacity 0.2s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ----- Mobile drawer ----- */
.mobile-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(360px, 88vw);
    background: var(--ink-deep);
    padding: 100px 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 55;
    box-shadow: -24px 0 60px #00000088;
    overflow-y: auto;
}
.mobile-nav a {
    padding: 18px 0;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--bone);
    border-bottom: 1px solid #ffffff10;
    transition: color 0.25s var(--ease);
    letter-spacing: -0.01em;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-email {
    margin-top: auto;
    padding-top: 28px;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}
.mobile-nav-email a { color: var(--gold); }

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 9, 12, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
    z-index: 54;
}
body.nav-open .mobile-nav { transform: translateX(0); }
body.nav-open .mobile-nav-backdrop { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

@media (max-width: 980px) {
    .nav-brand em { display: none; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px clamp(28px, 6vw, 96px) 140px;
    color: var(--bone);
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute; inset: 0; z-index: -2;
    background: var(--ink-deep);
    overflow: hidden;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.45) contrast(1.06) saturate(0.82);
    transform: scale(1.18) translateX(14%);
    transform-origin: center;
}
@media (max-width: 900px) {
    .hero-img { transform: scale(1.25) translateX(18%); }
}

.hero-overlay {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(8,10,14,0.5) 0%, rgba(8,10,14,0.25) 35%, rgba(8,10,14,0.85) 100%),
        linear-gradient(95deg, rgba(8,10,14,0.78) 0%, rgba(8,10,14,0.18) 60%, transparent 90%);
}

.hero-content {
    max-width: 760px;
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: 380px; height: 380px;
    border-radius: 50%;
    margin-bottom: 36px;
    border: 1px solid #ffffff22;
    box-shadow: 0 18px 60px -20px #000000c0;
    object-fit: cover;
}
@media (max-width: 900px) { .hero-logo { width: 240px; height: 240px; margin-bottom: 28px; } }
@media (max-width: 600px) { .hero-logo { width: 180px; height: 180px; } }

.hero .kicker { margin-bottom: 28px; }

.h1-main { display: block; color: var(--bone); }
.h1-main:last-of-type {
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
}
.hero h1 { margin: 0 0 36px; max-width: 14ch; }

.lede {
    font-family: var(--serif);
    font-size: clamp(1.2rem, 1.7vw, 1.55rem);
    line-height: 1.45;
    font-weight: 400;
    font-style: italic;
    color: var(--bone);
    opacity: 0.9;
    max-width: 36ch;
    margin: 0 0 48px;
    letter-spacing: 0;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--bone);
    opacity: 0.55;
    font-size: 0.62rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    animation: bob 3s ease-in-out infinite;
}
.scroll-hint svg { width: 16px; height: 16px; }
@keyframes bob {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.55; }
    50%      { transform: translate(-50%, 8px); opacity: 0.95; }
}

/* ============================================================
   SECTION RHYTHM
   ============================================================ */
section {
    padding-block: clamp(96px, 12vw, 180px);
    padding-inline: clamp(28px, 6vw, 96px);
}
section.hero { padding: 160px clamp(28px, 6vw, 96px) 140px; }

.section-head {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ============================================================
   MISSION & VISION
   ============================================================ */
.mv {
    background: var(--ink-deep);
    color: var(--bone);
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid #00000033;
}

.mv-grid {
    max-width: var(--w-std);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #ffffff0e;
}

.mv-card {
    padding: clamp(48px, 5.5vw, 80px);
    background: var(--ink-deep);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.mv-card + .mv-card { border-left: 1px solid #ffffff10; }
.mv-card .section-kicker { color: var(--gold); margin-bottom: 28px; }
.mv-card .section-kicker::before { background: var(--gold); }
.mv-card h2 {
    color: var(--bone);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    margin-bottom: 28px;
    max-width: 13ch;
    letter-spacing: -0.02em;
}
.mv-card p {
    color: var(--bone);
    opacity: 0.72;
    font-size: 1.02rem;
    line-height: 1.8;
    max-width: 48ch;
}

@media (max-width: 760px) {
    .mv-grid { grid-template-columns: 1fr; }
    .mv-card + .mv-card { border-left: none; border-top: 1px solid #ffffff10; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bone); }

.about-grid {
    max-width: var(--w-std);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
}

.about-photo {
    position: sticky;
    top: 120px;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--bone-deep);
    box-shadow: 0 30px 80px -40px #00000044;
}
.about-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 1.5s var(--ease);
}
.about-photo:hover img { transform: scale(1.025); }
.about-photo figcaption {
    position: absolute;
    bottom: 18px; left: 22px;
    background: rgba(14,15,18,0.82);
    backdrop-filter: blur(6px);
    color: var(--gold);
    padding: 8px 14px;
    font-family: var(--sans);
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 1px;
}

.about-text .section-kicker { margin-bottom: 24px; }
.about-text h2 {
    margin-bottom: 48px;
    max-width: 17ch;
}
.about-text p {
    margin-bottom: 22px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--ink-soft);
    max-width: 60ch;
}
.about-text p strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-photo { position: static; max-width: 440px; }
}

/* ============================================================
   FACILITY (3 alternating rows)
   ============================================================ */
.facility {
    background: var(--bone-warm);
    border-top: var(--line);
    border-bottom: var(--line);
}

.facility-head {
    max-width: 720px;
    margin: 0 auto clamp(72px, 9vw, 120px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.facility-head .section-kicker { justify-content: center; }
.facility-head h2 { max-width: 14ch; margin: 0 auto; }

.fac-row {
    max-width: var(--w-std);
    margin: 0 auto clamp(96px, 11vw, 144px);
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
    position: relative;
}
.fac-row:last-child { margin-bottom: 0; }

.fac-row.fac-reverse { grid-template-columns: 1.15fr 1fr; }
.fac-row.fac-reverse .fac-photo { order: 2; }
.fac-row.fac-reverse .fac-text  { order: 1; }

.fac-photo {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bone-deep);
    box-shadow: 0 20px 60px -30px #00000044;
}
.fac-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 1.5s var(--ease);
}
.fac-photo:hover img { transform: scale(1.03); }

.fac-text h3 {
    margin-bottom: 28px;
    color: var(--ink);
    max-width: 18ch;
}
.fac-text h3::before {
    content: "";
    display: block;
    width: 36px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 24px;
}
.fac-text p {
    margin-bottom: 18px;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--ink-soft);
    max-width: 56ch;
}
.fac-text p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
    .fac-row, .fac-row.fac-reverse { grid-template-columns: 1fr; }
    .fac-row.fac-reverse .fac-photo { order: 0; }
    .fac-row.fac-reverse .fac-text  { order: 0; }
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy {
    background: var(--ink-deep);
    color: var(--bone);
    border-top: 1px solid var(--gold);
}

.phil-grid {
    max-width: var(--w-std);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: center;
}

.phil-text .section-kicker { color: var(--gold); margin-bottom: 24px; }
.phil-text .section-kicker::before { background: var(--gold); }
.phil-text h2 {
    color: var(--bone);
    margin-bottom: 44px;
    max-width: 18ch;
}
.phil-text p {
    color: var(--bone);
    opacity: 0.78;
    margin-bottom: 22px;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 56ch;
}

.phil-photo {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.phil-photo > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius);
    overflow: hidden;
    background: #0a0b0e;
    box-shadow: 0 40px 80px -30px #000000c0;
}

/* ===== Epigraph under philosophy photo ===== */
.phil-epigraph {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 16px;
    text-align: center;
}
.phil-epigraph .epigraph-rule {
    display: none;
}
.phil-photo.in .phil-epigraph .epigraph-rule {
    opacity: 1;
    transform: scaleY(1);
}

.phil-epigraph-line {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: -0.012em;
    color: var(--bone);
    max-width: 22ch;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1em;
}

.phil-epigraph .epigraph-bred,
.phil-epigraph .epigraph-remembered {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.phil-epigraph .epigraph-bred  { transition-delay: 0.2s; }
.phil-epigraph .epigraph-dash {
    display: inline-block;
    color: var(--gold);
    font-weight: 300;
    margin: 0.05em 0;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.5s var(--ease) 0.65s, transform 0.6s var(--ease) 0.65s;
    font-size: 1.15em;
}
.phil-epigraph .epigraph-remembered {
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
    transition-delay: 0.95s;
}
.phil-photo.in .epigraph-bred,
.phil-photo.in .epigraph-remembered { opacity: 1; transform: translateY(0); }
.phil-photo.in .epigraph-dash       { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
    .phil-epigraph .epigraph-rule,
    .phil-epigraph .epigraph-bred,
    .phil-epigraph .epigraph-dash,
    .phil-epigraph .epigraph-remembered {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 860px) {
    .phil-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   EPIGRAPH — between Philosophy and Gallery
   ============================================================ */
.epigraph {
    background: var(--bone);
    padding: clamp(96px, 14vw, 200px) clamp(28px, 6vw, 96px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.epigraph-rule {
    width: 1px;
    height: 56px;
    background: var(--gold);
    margin: 0 auto clamp(40px, 5vw, 64px);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
}
.epigraph-rule-bottom {
    margin: clamp(40px, 5vw, 64px) auto 0;
    transform-origin: bottom;
}
.epigraph.in .epigraph-rule { opacity: 1; transform: scaleY(1); }

.epigraph-line {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 4vw, 3.3rem);
    line-height: 1.25;
    font-weight: 400;
    letter-spacing: -0.018em;
    color: var(--ink);
    max-width: 18ch;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.15em;
    align-items: center;
}

.epigraph-bred,
.epigraph-remembered {
    display: inline-block;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.epigraph-bred  { transition-delay: 0.2s; }
.epigraph-dash {
    display: inline-block;
    color: var(--gold);
    font-weight: 300;
    margin: 0.05em 0;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.6s var(--ease) 0.7s, transform 0.7s var(--ease) 0.7s;
    font-size: 1.1em;
}
.epigraph-remembered {
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
    transition-delay: 1.0s;
}
.epigraph.in .epigraph-bred,
.epigraph.in .epigraph-remembered {
    opacity: 1;
    transform: translateY(0);
}
.epigraph.in .epigraph-dash {
    opacity: 1;
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .epigraph-rule,
    .epigraph-bred,
    .epigraph-dash,
    .epigraph-remembered {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--bone); }

.gallery-head {
    max-width: 720px;
    margin: 0 auto clamp(64px, 8vw, 96px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.gallery-head .section-kicker { justify-content: center; }
.gallery-head h2 { max-width: 18ch; margin: 0 auto; }

.gal-grid {
    max-width: var(--w-wide);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 260px;
    gap: 14px;
}

.gal-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bone-deep);
    cursor: zoom-in;
    transition: transform 0.5s var(--ease);
}
.gal-item.tall { grid-row: span 2; }
.gal-item:hover { transform: translateY(-2px); }
.gal-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transition: transform 1.6s var(--ease), filter 0.5s var(--ease);
}
.gal-item:hover img { transform: scale(1.05); filter: brightness(1.04); }

.gal-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 56px 18px 18px;
    background: linear-gradient(180deg, transparent 0%, rgba(14,15,18,0.92) 78%);
    color: var(--bone);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gal-item:hover figcaption,
.gal-item:focus-within figcaption { opacity: 1; transform: translateY(0); }

.gal-item figcaption strong {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.gal-item figcaption em {
    font-style: italic;
    font-size: 0.78rem;
    color: var(--gold-soft);
    opacity: 0.95;
    line-height: 1.3;
    font-family: var(--serif);
}

@media (max-width: 600px) {
    .gal-grid { grid-auto-rows: 220px; gap: 10px; }
    .gal-item figcaption { opacity: 1; transform: none; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(6, 7, 10, 0.96);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
    max-width: 92vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 50px 100px #000000aa;
}
.lb-cap {
    color: var(--bone);
    margin-top: 24px;
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    max-width: 600px;
    letter-spacing: -0.01em;
}
.lb-cap em {
    color: var(--gold-soft);
    font-style: italic;
    display: block;
    font-size: 0.92rem;
    margin-top: 6px;
    font-weight: 400;
}
.lb-close {
    position: absolute;
    top: 24px; right: 28px;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid #ffffff30;
    color: var(--bone);
    font-size: 1.6rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lb-close:hover { background: #ffffff14; border-color: var(--bone); }

/* ============================================================
   STORE
   ============================================================ */
.store {
    background: var(--bone-warm);
    border-top: var(--line);
    border-bottom: var(--line);
}

.store-inner {
    max-width: var(--w-std);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: center;
}

.store-text .section-kicker { margin-bottom: 24px; }
.store-text h2 {
    margin-bottom: 32px;
    max-width: 14ch;
}
.store-text p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ink-soft);
    margin-bottom: 18px;
    max-width: 50ch;
}
.store-status {
    font-family: var(--serif);
    font-style: italic;
    color: var(--ember);
    font-weight: 400;
    font-size: 1.15rem;
}

.store-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
    max-width: 480px;
}
.store-form input {
    flex: 1;
    min-width: 220px;
    padding: 14px 18px;
    font-family: var(--sans);
    font-size: 0.95rem;
    border: 1px solid #00000020;
    background: var(--bone);
    border-radius: var(--radius);
    color: var(--ink);
    transition: border-color 0.25s var(--ease);
}
.store-form input:focus {
    outline: none;
    border-color: var(--ember);
}
.store-form .form-note { width: 100%; }

.store-photo {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 30px 80px -30px #00000055;
}
.store-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}
.coming-soon-tag {
    position: absolute;
    top: 22px; left: 22px;
    background: var(--ink-deep);
    color: var(--gold);
    padding: 8px 18px;
    font-family: var(--sans);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    border-radius: 1px;
    border: 1px solid var(--gold);
}

@media (max-width: 800px) {
    .store-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    position: relative;
    isolation: isolate;
    border-top: 1px solid var(--gold);
}

.contact-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}
.contact-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.32) contrast(1.06) saturate(0.78);
}
.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
        rgba(14,15,18,0.85) 0%,
        rgba(14,15,18,0.5) 40%,
        rgba(14,15,18,0.85) 100%);
}

.contact-inner {
    max-width: 880px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bone);
    color: var(--ink);
    padding: clamp(40px, 5.5vw, 80px);
    border-radius: var(--radius);
    box-shadow: 0 60px 120px -30px #000000c0;
}

.contact-card .section-kicker { margin-bottom: 24px; }
.contact-card h2 {
    margin-bottom: 24px;
    max-width: 12ch;
}
.contact-lede {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--ink-soft);
    line-height: 1.55;
    margin-bottom: 44px;
    max-width: 52ch;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    padding: 32px 0;
    margin-bottom: 40px;
    border-top: var(--line);
    border-bottom: var(--line);
}
.contact-details > div { display: flex; flex-direction: column; gap: 8px; }
.contact-details p {
    font-size: 1rem;
    color: var(--ink);
    margin: 0;
}
.contact-details a { color: var(--ember); }
.contact-details a:hover { text-decoration: underline; }
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a { color: var(--ember); font-weight: 500; }
.socials-soon {
    font-style: italic;
    color: var(--slate-soft);
    font-size: 0.95rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-form label span {
    font-family: var(--sans);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--slate);
}
.contact-form input,
.contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #00000020;
    padding: 12px 0;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    transition: border-color 0.25s var(--ease);
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--ember);
}
.contact-form button {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 16px;
}

.form-note {
    grid-column: 1 / -1;
    width: 100%;
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--ember);
    min-height: 1.2em;
}
.form-note.ok { color: #2c6b4d; }

@media (max-width: 600px) {
    .contact-form { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
    background: var(--ink-deep);
    color: var(--bone);
    padding: 96px clamp(28px, 6vw, 96px) 36px;
    border-top: 1px solid var(--gold);
}

.foot-grid {
    max-width: var(--w-std);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr 1.4fr;
    gap: clamp(36px, 4vw, 72px);
    padding-bottom: 56px;
    border-bottom: 1px solid #ffffff14;
}

.foot-logo {
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 1px solid #ffffff20;
    margin-bottom: 18px;
    object-fit: cover;
}
.foot-name {
    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1.3;
    color: var(--bone);
    margin-bottom: 12px;
    letter-spacing: -0.012em;
}
.foot-name em {
    display: block;
    font-style: italic;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 6px;
    font-weight: 500;
    font-family: var(--sans);
}

.foot .small-caps {
    color: var(--gold);
    margin-bottom: 22px;
    display: block;
}
.foot ul { list-style: none; }
.foot ul li {
    font-size: 0.92rem;
    margin-bottom: 11px;
    opacity: 0.74;
    transition: opacity 0.25s var(--ease);
}
.foot ul li:hover { opacity: 1; }
.foot ul li a:hover { color: var(--gold); }
.foot .fine {
    font-size: 0.84rem;
    line-height: 1.7;
    opacity: 0.62;
}

.foot-bottom {
    max-width: var(--w-std);
    margin: 28px auto 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.5;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ============================================================
   QUIET LEDE (small section description)
   ============================================================ */
.lede-quiet {
    font-family: var(--serif);
    font-size: 1.15rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--ink-soft);
    max-width: 50ch;
    margin: 0 auto;
}
.philosophy .lede-quiet,
.mv .lede-quiet { color: var(--bone); opacity: 0.78; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .scroll-hint { animation: none; }
}

/* ============================================================
   FOCUS STATES (a11y)
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
