/* ==========================================================================
   Lasting Love Contemporary Oil Portraiture
   A midnight-gallery theme: deep ink ground, warm cream type, Klimt gold.
   ========================================================================== */

:root {
    --ink: #100e18;
    --ink-2: #17131f;
    --surface: #1e1829;
    --surface-2: #251e33;
    --cream: #ffffff;
    --cream-dim: rgba(255, 255, 255, 0.78);
    --gold: #c9a24b;
    --gold-bright: #e6c77e;
    --line: rgba(201, 162, 75, 0.22);
    --line-strong: rgba(201, 162, 75, 0.45);
    /* Light (white) top half */
    --paper: #ffffff;
    --paper-2: #ffffff;
    --ink-strong: #241c33;
    --ink-muted: #5a5168;
    --gold-deep: #9a7a2f;
    --line-dark: rgba(36, 28, 51, 0.16);
    --line-dark-strong: rgba(36, 28, 51, 0.35);
    --font-display: "Cormorant Garamond", "Georgia", serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
    --header-h: 76px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
    background: var(--ink);
    color: var(--cream);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.0625rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: var(--gold); }

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

.container {
    width: min(1180px, 92vw);
    margin-inline: auto;
}

/* Painterly grain, scoped to the dark bottom sections (white top stays pure) */
.grain {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 400;
    background: var(--gold);
    color: var(--ink);
    padding: 0.6rem 1.2rem;
    font-weight: 500;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Type utilities ---------- */
.eyebrow {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.1rem;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: 0.01em;
}
.section-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--gold-bright);
}

.section-head { margin-bottom: 3.2rem; }
.section-sub {
    max-width: 40rem;
    margin-top: 1.1rem;
    color: var(--cream-dim);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
    background: linear-gradient(160deg, var(--gold-bright), var(--gold));
    border: 1px solid var(--gold);
    padding: 1rem 2.1rem;
    cursor: pointer;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s;
}
.btn:hover {
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 162, 75, 0.25);
}
.btn-ghost {
    background: transparent;
    color: var(--ink-strong);
    border-color: var(--line-dark-strong);
}
.btn-ghost:hover {
    color: var(--gold-deep);
    border-color: var(--gold-deep);
    box-shadow: none;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, color 0.4s;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line-dark);
}
/* Dark theme variant — used once the black bottom half is in view */
.site-header.on-dark.is-scrolled {
    background: rgba(16, 14, 24, 0.86);
    border-bottom-color: var(--line);
}

.nav {
    width: min(1320px, 94vw);
    margin-inline: auto;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--ink-strong);
    transition: color 0.4s;
}
.brand-tag {
    margin-top: 3px;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--gold-deep);
    transition: color 0.4s;
}
.site-header.on-dark .brand-name { color: var(--cream); }
.site-header.on-dark .brand-tag { color: var(--cream-dim); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    list-style: none;
}
.nav-link {
    position: relative;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-muted);
    padding: 0.4rem 0;
    transition: color 0.3s;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: 0;
    height: 1px;
    background: var(--gold-deep);
    transition: right 0.35s var(--ease-out);
}
.nav-link:hover, .nav-link.is-active { color: var(--ink-strong); }
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.site-header.on-dark .nav-link { color: var(--cream-dim); }
.site-header.on-dark .nav-link::after { background: var(--gold); }
.site-header.on-dark .nav-link:hover, .site-header.on-dark .nav-link.is-active { color: var(--cream); }

.nav-cta {
    color: var(--gold-deep);
    border: 1px solid var(--line-dark-strong);
    padding: 0.65rem 1.3rem;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
    background: var(--gold-deep);
    border-color: var(--gold-deep);
    color: var(--paper);
}
.site-header.on-dark .nav-cta {
    color: var(--gold-bright);
    border-color: var(--line-strong);
}
.site-header.on-dark .nav-cta:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 7px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 26px; height: 1.5px;
    background: var(--ink-strong);
    transition: transform 0.35s var(--ease-out), opacity 0.3s, background 0.4s;
}
.site-header.on-dark .nav-toggle span { background: var(--cream); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Hero (white top half) ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--paper);
}

.hero-media, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 0.7s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.08);
}
.hero-slide.is-active img { animation: heroDrift 9s var(--ease-out) forwards; }
@keyframes heroDrift {
    from { transform: scale(1.12) translateY(-1.5%); }
    to   { transform: scale(1.02) translateY(0); }
}

.hero-scrim {
    position: absolute; inset: 0;
    background:
        linear-gradient(to top, var(--paper) 2%, rgba(255, 255, 255, 0.62) 34%, rgba(255, 255, 255, 0.45) 60%, rgba(255, 255, 255, 0.72) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 6vw;
    max-width: 62rem;
}
.hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(3.6rem, 11vw, 8.5rem);
    line-height: 0.98;
    letter-spacing: 0.015em;
    color: var(--ink-strong);
    text-shadow: 0 2px 30px rgba(255, 255, 255, 0.9), 0 1px 2px rgba(255, 255, 255, 0.85);
}
.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold-deep);
}
.hero-tagline {
    margin: 1.6rem auto 2.6rem;
    max-width: 34rem;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: var(--ink-strong);
    text-shadow: 0 1px 16px rgba(255, 255, 255, 0.95);
}
.hero .eyebrow { color: var(--gold-deep); text-shadow: 0 1px 12px rgba(255, 255, 255, 0.95); }
.hero-actions { display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap; }

.hero-caption {
    position: absolute;
    right: 2.2rem; bottom: 2rem;
    z-index: 2;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--ink-muted);
    letter-spacing: 0.04em;
    opacity: 0.85;
}

.scroll-hint {
    position: absolute;
    left: 50%; bottom: 1.6rem;
    transform: translateX(-50%);
    z-index: 2;
}
.scroll-line {
    display: block;
    width: 1px; height: 52px;
    background: linear-gradient(var(--gold-deep), transparent);
    animation: scrollPulse 2.6s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Statement (white) ---------- */
.statement {
    padding: clamp(5rem, 11vw, 9.5rem) 0 clamp(4rem, 8vw, 7rem);
    background: var(--paper);
}
.statement-lead {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.7rem, 3.6vw, 2.9rem);
    line-height: 1.32;
    max-width: 56rem;
    color: var(--ink-strong);
}
.statement-lead::before {
    content: "";
    display: block;
    width: 64px; height: 1px;
    background: var(--gold-deep);
    margin-bottom: 2rem;
}
.statement-body {
    margin-top: 2.2rem;
    max-width: 42rem;
    color: var(--ink-muted);
}

/* ---------- Banner divider (white → black) ---------- */
.banner-divider {
    width: 100%;
    line-height: 0;
    font-size: 0;
    background: var(--paper);
}
.banner-divider img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Works (white) ---------- */
.works { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--paper); }
.works .eyebrow { color: var(--gold-deep); }
.works .section-title { color: var(--ink-strong); }
.works .section-title em { color: var(--gold-deep); }
.works .section-sub { color: var(--ink-muted); }

.filters {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 2.8rem;
}
.filter-btn {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-muted);
    background: transparent;
    border: 1px solid var(--line-dark);
    padding: 0.62rem 1.5rem;
    cursor: pointer;
    transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.filter-btn:hover { color: var(--ink-strong); border-color: var(--line-dark-strong); }
.filter-btn.is-active {
    color: var(--paper);
    background: var(--gold-deep);
    border-color: var(--gold-deep);
}

/* ---------- Works viewer: one work at a time, swipeable ---------- */
.works-viewer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(0.8rem, 3vw, 2.2rem);
    user-select: none;
}
.wv-stage {
    position: relative;
    margin: 0;
    background: var(--paper-2);
    border: 1px solid var(--line-dark);
    box-shadow: 0 14px 44px rgba(36, 28, 51, 0.1);
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
}
.wv-stage:active { cursor: grabbing; }
.wv-stage img {
    width: 100%;
    max-height: 68vh;
    object-fit: contain;
    display: block;
    margin-inline: auto;
}
.wv-stage figcaption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 1rem 1.3rem 1.1rem;
    border-top: 1px solid var(--line-dark);
    background: var(--paper-2);
}
.wv-nav {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 300;
    line-height: 1;
    width: clamp(46px, 6vw, 60px);
    height: clamp(46px, 6vw, 60px);
    display: grid;
    place-items: center;
    color: var(--ink-muted);
    background: transparent;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.wv-nav:hover {
    color: var(--paper);
    background: var(--gold-deep);
    border-color: var(--gold-deep);
}

/* Work data lives in a hidden container; keep its captions styled for reuse */
.works-data[hidden] { display: none; }

/* ---------- Artist (black bottom half) ---------- */
.artist {
    position: relative;
    padding: clamp(5rem, 10vw, 9rem) 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
}
.artist .eyebrow { color: var(--cream); }
.artist .section-title { color: var(--cream); }
.artist .section-title em { color: var(--cream); }
.artist-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}
.artist-text p { margin-top: 1.4rem; color: var(--cream-dim); }
.artist-text p:first-of-type { color: var(--cream); }
.artist-text strong, .artist-text cite { color: var(--cream); font-weight: 400; }
.artist-signature {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 2.6rem;
    color: var(--cream);
    margin-top: 2.2rem !important;
}
.artist-figure {
    position: relative;
    padding: 1.1rem;
    border: 1px solid var(--line-strong);
}
.artist-figure::after {
    content: "";
    position: absolute;
    inset: -14px 14px 14px -14px;
    border: 1px solid var(--line);
    pointer-events: none;
}
.artist-figure img { width: 100%; }
.artist-figure figcaption {
    padding-top: 0.9rem;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cream-dim);
    text-align: center;
}

/* ---------- Process (black bottom half) ---------- */
.process { position: relative; padding: clamp(5rem, 10vw, 9rem) 0; background: var(--ink); }
.process .eyebrow { color: var(--cream); }
.process .section-title { color: var(--cream); }
.process .section-title em { color: var(--cream); }
.process-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: start;
}
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2.6rem;
    counter-reset: step;
}
.step-num {
    display: block;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 3rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--cream);
    margin-bottom: 0.9rem;
}
.step h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 0.55rem;
}
.step p { font-size: 0.95rem; color: var(--cream-dim); }

.process-aside { display: grid; gap: 2rem; }
.process-figure img { width: 100%; border: 1px solid var(--line); }
.process-figure figcaption {
    padding-top: 0.8rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--cream-dim);
}
.gift-note {
    border: 1px solid var(--line-strong);
    background: var(--surface);
    padding: 1.8rem 1.7rem;
}
.gift-note h3 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--cream);
    margin-bottom: 0.6rem;
}
.gift-note p { font-size: 0.93rem; color: var(--cream-dim); }

/* ---------- Commission form ---------- */
.commission {
    position: relative;
    padding: clamp(5rem, 10vw, 9rem) 0 clamp(6rem, 11vw, 10rem);
    background: var(--ink-2);
    border-top: 1px solid var(--line);
}
.commission .eyebrow { color: var(--cream); }
.commission .section-title { color: var(--cream); }
.commission .section-title em { color: var(--cream); }
.commission .section-head {
    max-width: 720px;
    margin-inline: auto;
}
.commission-form {
    max-width: 720px;
    margin-inline: auto;
}
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}
.field { margin-bottom: 1.8rem; }
.field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream-dim);
    margin-bottom: 0.55rem;
}
.req { color: var(--cream); }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--cream);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    padding: 0.7rem 0.1rem;
    border-radius: 0;
    transition: border-color 0.3s;
}
.field select {
    appearance: none;
    -webkit-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 1l5 5 5-5' stroke='%23c9a24b' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.2rem center;
    cursor: pointer;
}
.field select option { background: var(--surface); color: var(--cream); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-bottom-color: var(--gold-bright);
}
.field input.is-invalid, .field textarea.is-invalid { border-bottom-color: #c96a5a; }

.field-check {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}
.field-check input {
    margin-top: 0.3rem;
    width: 16px; height: 16px;
    accent-color: var(--gold);
    cursor: pointer;
    flex-shrink: 0;
}
.field-check label {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0;
    text-transform: none;
    color: var(--cream-dim);
    margin: 0;
    cursor: pointer;
}

.form-error {
    color: #e08a7a;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}
.form-success {
    border: 1px solid var(--line-strong);
    background: var(--surface);
    padding: 1.6rem 1.5rem;
    text-align: center;
    margin-bottom: 1.4rem;
}
.success-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--cream);
}
.success-sub { margin-top: 0.5rem; font-size: 0.92rem; color: var(--cream-dim); }
.btn-submit:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }
.btn-submit { width: 100%; }
.form-note {
    margin-top: 1.4rem;
    text-align: center;
    font-size: 0.88rem;
    color: var(--cream-dim);
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    border-top: 1px solid var(--line);
    background: var(--ink);
    padding: 3.5rem 0 2.6rem;
}
.footer-inner { text-align: center; display: grid; gap: 0.5rem; justify-items: center; }
.footer-brand .brand-name { font-size: 1.8rem; color: var(--cream); }
.footer-brand .brand-tag { color: var(--cream-dim); }
.footer-loc { color: var(--cream-dim); font-size: 0.92rem; margin-top: 0.6rem; }
.footer-mail { font-size: 0.92rem; color: var(--cream); }
.footer-mail a { color: var(--cream); }
.footer-copy { margin-top: 1.6rem; font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 8, 15, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.35s;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }

.lb-stage {
    max-width: min(88vw, 1100px);
    max-height: 86vh;
    display: flex;
    flex-direction: column;
}
.lb-stage img {
    max-width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border: 1px solid var(--line-strong);
    margin-inline: auto;
}
.lb-stage figcaption {
    padding-top: 1rem;
    text-align: center;
    display: grid;
    gap: 0.2rem;
}
#lbTitle {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--cream);
}
#lbMeta {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream);
}

.lb-close {
    position: absolute;
    top: 1.2rem; right: 1.6rem;
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--cream-dim);
    background: none;
    border: 0;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}
.lb-close:hover { color: var(--gold-bright); }
.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    font-weight: 300;
    color: var(--cream-dim);
    background: none;
    border: 0;
    cursor: pointer;
    padding: 1rem 1.4rem;
    transition: color 0.3s;
}
.lb-nav:hover { color: var(--gold-bright); }
.lb-prev { left: 0.6rem; }
.lb-next { right: 0.6rem; }

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
    .works-viewer { gap: 0.6rem; }
    .wv-nav { font-size: 1.8rem; width: 42px; height: 42px; }
    .artist-grid { grid-template-columns: 1fr; }
    .artist-figure { max-width: 460px; }
    .process-grid { grid-template-columns: 1fr; }
    .process-aside { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (max-width: 760px) {
    body { font-size: 1rem; }

    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: rgba(16, 14, 24, 0.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line);
        padding: 0.6rem 6vw 1.4rem;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s, transform 0.3s var(--ease-out);
    }
    .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
    .nav-links li { width: 100%; }
    .nav-link { display: block; padding: 0.85rem 0; font-size: 0.9rem; color: var(--cream-dim); }
    .nav-link:hover, .nav-link.is-active { color: var(--cream); }
    .nav-link::after { background: var(--gold); }
    .nav-cta { display: inline-block; margin-top: 0.8rem; color: var(--gold-bright); border-color: var(--line-strong); }
    .nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

    .works-viewer { grid-template-columns: 1fr; }
    .wv-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        background: rgba(255, 255, 255, 0.85);
    }
    .wv-prev { left: 0.4rem; }
    .wv-next { right: 0.4rem; }
    .works-viewer { position: relative; }
    .steps { grid-template-columns: 1fr; gap: 2.4rem; }
    .process-aside { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .hero-caption { display: none; }
    .lb-nav { font-size: 2.2rem; padding: 0.6rem 0.8rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-slide { transition: opacity 0.6s ease; }
    .hero-slide.is-active img { animation: none; transform: none; }
    .scroll-line { animation: none; }
}
