/* ============ TOKENS ============ */


:root {
    --bg: #FFFFFF;
    /* page background — clean white, matches the left "paper" side */
    --surface: #FFFFFF;
    /* cards, nav, form fields */
    --surface-2: #F6F3EE;
    /* secondary panels — faint warm-white, echoes paper texture instead of cool grey */
    --ink: #2B2013;
    /* main text — warm near-black, sits naturally against kraft tones */
    --ink-muted: #7A6E5C;
    /* secondary/muted text — soft brown-grey */
    --brass: #D97B35;
    /* accent — the kraft-paper orange from your reference */
    --brass-soft: rgba(217, 123, 53, 0.10);
    /* tinted backgrounds for hover/highlight */
    --paper: #D9873F;
    /* NEW: solid kraft-orange block, for the torn-paper panel itself (CTA sections, hero backdrop) */
    --paper-deep: #B8651F;
    /* NEW: shadowed edge of the torn paper, for the ragged-edge shading */
    --line: rgba(43, 32, 19, 0.10);
    /* borders, dividers */
    --success: #3F7D5C;
    /* status/confirmation green — kept neutral so it doesn't fight the orange */
}

:root[data-theme="dark"] {
    --bg: #141110;
    --surface: #1C1815;
    --surface-2: #241E19;
    --ink: #F3EDE3;
    --ink-muted: #A99C87;
    --brass: #E89A56;
    --brass-soft: rgba(232, 154, 86, 0.14);
    --paper: #C77A3A;
    --paper-deep: #8F5220;
    --line: rgba(232, 154, 86, 0.16);
    --success: #6FAE8C;
}



* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.wrap {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 28px;
}

h1,
h2,
h3 {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.15;
    margin: 0;
}

.mono {
    font-family: var(--font-mono);
}

.rule {
    border: none;
    border-top: 1px solid var(--line);
    margin: 0;
}

/* ============ NAV ============ */
nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
}

.brand {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.02em;
}

.brand b {
    color: var(--brass);
    font-weight: 500;
}

.navlinks {
    display: flex;
    gap: 26px;
    font-size: 14px;
}

.navlinks a {
    text-decoration: none;
    color: var(--ink-muted);
}

.navlinks a:hover {
    color: var(--ink);
}

.nav-cta {
    font-size: 13px;
    font-family: var(--font-mono);
    border: 1px solid var(--line);
    padding: 8px 14px;
    text-decoration: none;
    color: var(--ink);
    transition: border-color .15s ease, color .15s ease;
}

.nav-cta:hover {
    border-color: var(--brass);
    color: var(--brass);
}

@media (max-width:640px) {
    .navlinks {
        display: none;
    }
}

/* ============ HERO ============ */
header.hero {
    padding: 76px 0 64px;
    border-bottom: 1px solid var(--line);
}

.status-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 26px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 20%, transparent);
}

.hero h1 {
    font-size: clamp(32px, 5vw, 50px);
    max-width: 15ch;
    letter-spacing: -0.01em;
}

.hero p.lede {
    max-width: 56ch;
    margin-top: 22px;
    font-size: 17px;
    color: var(--ink-muted);
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.btn {
    font-family: var(--font-mono);
    font-size: 14px;
    padding: 13px 22px;
    text-decoration: none;
    display: inline-block;
    border: 1px solid var(--ink);
    transition: transform .15s ease, background .15s ease, color .15s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-secondary:hover {
    border-color: var(--brass);
    color: var(--brass);
}

.stack-row {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-muted);
    border: 1px solid var(--line);
    padding: 6px 10px;
}

/* ============ SECTION HEADERS ============ */
section {
    padding: 64px 0;
    border-bottom: 1px solid var(--line);
}

.sec-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 38px;
    flex-wrap: wrap;
}

.sec-tag {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--brass);
}

.sec-head h2 {
    font-size: 28px;
    margin-top: 8px;
    max-width: 26ch;
}

.sec-desc {
    color: var(--ink-muted);
    max-width: 36ch;
    font-size: 15px;
}


/* ============ OFFERS ============ */
.offers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width:700px) {
    .offers {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.offer {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform .35s cubic-bezier(.2, .7, .2, 1),
        box-shadow .35s ease,
        border-color .25s ease;
    box-shadow:
        0 1px 2px rgba(36, 29, 18, 0.04),
        0 4px 12px rgba(36, 29, 18, 0.04);
}

/* Soft brass halo that fades in on hover — gives the box presence */
.offer::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--brass) 55%, transparent) 0%,
            transparent 45%,
            transparent 55%,
            color-mix(in srgb, var(--brass) 35%, transparent) 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
    z-index: 1;
}

.offer:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--brass) 40%, var(--line));
    box-shadow:
        0 2px 4px rgba(36, 29, 18, 0.05),
        0 16px 34px rgba(36, 29, 18, 0.10);
}

.offer:hover::before {
    opacity: 1;
}

/* Flagship — spans full width on desktop and gets a brass accent bar */
.offer-flagship {
    grid-column: 1 / -1;
    background:
        linear-gradient(180deg,
            var(--brass-soft) 0%,
            transparent 60%),
        var(--surface);
    border-color: color-mix(in srgb, var(--brass) 30%, var(--line));
}

.offer-flagship::after {
    content: "";
    position: absolute;
    top: 0;
    left: 26px;
    right: 26px;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--brass) 20%,
            var(--brass) 80%,
            transparent 100%);
    border-radius: 0 0 2px 2px;
}

@media (max-width:700px) {
    .offer-flagship {
        grid-column: auto;
    }
}

/* Head row: tag on the left, ordinal number on the right */
.offer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.offer .tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brass);
    background: var(--brass-soft);
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-block;
    line-height: 1;
}

.offer-num {
    font-size: 12px;
    color: var(--ink-muted);
    opacity: 0.7;
    letter-spacing: 0.04em;
}

.offer h3 {
    font-size: 21px;
    letter-spacing: -0.015em;
    margin: 2px 0 0;
    line-height: 1.15;
}

.offer-flagship h3 {
    font-size: 26px;
}

.offer p.desc {
    color: var(--ink-muted);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}

/* "Best for" — promoted from italic muted text to a readable pill */
.offer .for {
    font-size: 13px;
    color: var(--ink);
    font-style: normal;
    line-height: 1.5;
    background: var(--surface-2);
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 4px;
}

.offer .for::before {
    content: "Best for";
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 3px;
}

/* Price — the loudest element in the card */
.offer-foot {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
}

.offer .price {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
    transition: color .25s ease;
}

.offer-flagship .price {
    font-size: 26px;
}

.offer .price-unit {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--ink-muted);
}

.offer:hover .price {
    color: var(--brass);
}

/* CTA — slides in on hover, always visible for flagship */
.offer-cta {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.02em;
    color: var(--brass);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 0;
    border-top: 1px dashed var(--line);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .25s ease, transform .25s ease, gap .2s ease;
}

.offer:hover .offer-cta,
.offer-flagship .offer-cta {
    opacity: 1;
    transform: translateY(0);
}

.offer-cta:hover {
    gap: 10px;
    color: color-mix(in srgb, var(--brass) 80%, var(--ink));
}

.offer-cta span {
    transition: transform .2s ease;
}

.offer-cta:hover span {
    transform: translateX(2px);
}

/* Keyboard focus — respect accessibility */
.offer-cta:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 2px;
    opacity: 1;
    transform: none;
}

/* Keep the seq-note but give it a little more presence */
.seq-note {
    margin-top: 26px;
    font-size: 14px;
    color: var(--ink-muted);
    padding: 16px 18px;
    background: var(--brass-soft);
    border-left: 2px solid var(--brass);
    border-radius: 0 10px 10px 0;
    line-height: 1.55;
}

/* ============ PROCESS ============ */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

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

.step {
    position: relative;
    padding-top: 44px;
}

.step .num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--brass);
    position: absolute;
    top: 0;
    left: 0;
}

.step .num::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 28px;
    width: 100%;
    max-width: 60px;
    height: 1px;
    background: var(--line);
}

.step h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.step p {
    font-size: 14px;
    color: var(--ink-muted);
    margin: 0;
}

/* ============ TRUST ============ */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
}

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

.trust-item {
    display: flex;
    gap: 16px;
}

.trust-item .mark {
    font-family: var(--font-mono);
    color: var(--brass);
    font-size: 14px;
    flex-shrink: 0;
    padding-top: 2px;
}

.trust-item h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.trust-item p {
    font-size: 14px;
    color: var(--ink-muted);
    margin: 0;
}

/* ============ PROOF ============ */
.proof-card {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 32px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
}

@media (max-width:700px) {
    .proof-card {
        grid-template-columns: 1fr;
    }
}

.proof-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.proof-card p {
    color: var(--ink-muted);
    font-size: 14.5px;
}

.proof-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    font-size: 14px;
}

.proof-list li {
    padding: 9px 0;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 10px;
    color: var(--ink-muted);
}

.proof-list li:first-child {
    border-top: none;
}

.proof-list li::before {
    content: "—";
    color: var(--brass);
    flex-shrink: 0;
}

/* ============ PROJECT GALLERY ============ */
.projects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width:700px) {
    .projects {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

/* Card shell — rounded, soft elevation, subtle gradient ring on hover */
.project-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform .35s cubic-bezier(.2, .7, .2, 1),
        box-shadow .35s ease,
        border-color .25s ease;
    box-shadow:
        0 1px 2px rgba(36, 29, 18, 0.04),
        0 4px 12px rgba(36, 29, 18, 0.04);
}

.project-card::before {
    /* thin brass gradient strip at the top, revealed on hover */
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--brass) 30%,
            var(--brass) 70%,
            transparent 100%);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 3;
    pointer-events: none;
}

.project-card:hover {
    border-color: color-mix(in srgb, var(--brass) 45%, var(--line));
    transform: translateY(-4px);
    box-shadow:
        0 2px 4px rgba(36, 29, 18, 0.05),
        0 18px 40px rgba(36, 29, 18, 0.10),
        0 0 0 1px color-mix(in srgb, var(--brass) 18%, transparent);
}

.project-card:hover::before {
    opacity: 1;
}

/* Media / preview area */
.project-media {
    position: relative;
    aspect-ratio: 16 / 10;
    width: 100%;
    background: var(--surface-2);
    overflow: hidden;
    cursor: pointer;
    /* internal rounding so the media clips nicely inside the rounded card */
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
}

.project-media img,
.project-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.project-card:hover .project-media img,
.project-card:hover .project-media video {
    transform: scale(1.05);
}

/* Photo count badge — soft pill, top-right */
.media-count {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #fff;
    background: rgba(36, 29, 18, 0.72);
    padding: 6px 11px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 2;
    letter-spacing: 0.02em;
}

.media-count svg {
    width: 12px;
    height: 12px;
    opacity: 0.9;
}

/* Hover hint pill — centered over the media, appears on card hover */
.media-hover-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(36, 29, 18, 0.42);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.03em;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
    z-index: 2;
}

.media-hover-hint svg {
    width: 14px;
    height: 14px;
    transition: transform .25s ease;
}

.project-card:hover .media-hover-hint {
    opacity: 1;
}

.project-card:hover .media-hover-hint svg {
    transform: translateX(3px);
}

/* Placeholder — soft diagonal stripes, rounded inside card */
.project-media.placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--ink-muted);
    background:
        repeating-linear-gradient(45deg,
            var(--surface-2),
            var(--surface-2) 10px,
            transparent 10px,
            transparent 20px);
}

.project-media.placeholder svg {
    width: 32px;
    height: 32px;
    opacity: 0.55;
}

.project-media.placeholder span {
    font-family: var(--font-mono);
    font-size: 12px;
}

/* Video play overlay */
.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(36, 29, 18, 0.25);
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}

.project-media.has-video .play-overlay {
    opacity: 1;
}

.project-card:hover .play-overlay {
    background: rgba(36, 29, 18, 0.4);
}

.play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--surface);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.play-btn svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
    color: var(--ink);
}

/* Body */
.project-body {
    padding: 24px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.project-body .tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--brass);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--brass-soft);
    display: inline-block;
}

.project-body .year {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
}

.project-body h3 {
    font-size: 21px;
    letter-spacing: -0.015em;
    margin-top: 2px;
    line-height: 1.15;
}

.project-role {
    font-size: 12.5px;
    color: var(--ink-muted);
    font-style: italic;
    margin-top: -4px;
}

.project-summary {
    font-size: 14.5px;
    color: var(--ink);
    margin: 6px 0 0;
    line-height: 1.55;
    font-weight: 500;
}

.project-outcomes {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project-outcomes li {
    font-size: 13.5px;
    color: var(--ink-muted);
    padding-left: 18px;
    position: relative;
    line-height: 1.45;
}

.project-outcomes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 1px;
    background: var(--brass);
    border-radius: 1px;
}

/* Tech chips — rounded pills */
.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.project-stack span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-muted);
    background: var(--surface-2);
    border: 1px solid transparent;
    padding: 5px 10px;
    border-radius: 999px;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.project-card:hover .project-stack span {
    border-color: color-mix(in srgb, var(--brass) 30%, var(--line));
}

/* Action row — pill-shaped button */
.project-actions {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-view-btn {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--brass);
    background: var(--brass-soft);
    border: 1px solid transparent;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background .2s ease, gap .2s ease, border-color .2s ease;
}

.project-view-btn:hover {
    background: color-mix(in srgb, var(--brass) 20%, transparent);
    border-color: color-mix(in srgb, var(--brass) 40%, transparent);
    gap: 10px;
}

.project-view-btn svg {
    width: 13px;
    height: 13px;
}

/* Third card — full-width showcase layout */
@media (min-width:701px) {
    .projects .project-card:nth-child(3) {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1.3fr 1fr;
        align-items: stretch;
    }

    .projects .project-card:nth-child(3) .project-media {
        aspect-ratio: auto;
        height: 100%;
        min-height: 340px;
        border-top-right-radius: 0;
        border-bottom-left-radius: 17px;
    }

    .projects .project-card:nth-child(3) .project-body {
        padding: 34px 34px 30px;
        justify-content: center;
        height: 100%;
    }
}

.project-title-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    border-radius: 8px;
    padding: 2px 8px 2px 0;
    margin-left: -2px;
    transition: color .2s ease;
}

.project-title-link h3 {
    margin: 0;
    transition: color .2s ease;
}

.project-title-link .project-link-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--brass);
    transition: transform .2s ease, color .2s ease;
}

/* Hover state — the whole row reacts */
.project-title-link:hover h3 {
    color: var(--brass);
}

.project-title-link:hover .project-link-icon {
    transform: translate(2px, -2px);
}

/* Accessible focus ring */
.project-title-link:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}

/* ============ FAQ ============ */
.faq-item {
    border-top: 1px solid var(--line);
}

.faq-item:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 18px 0;
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: 500;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-q .plus {
    font-family: var(--font-mono);
    color: var(--brass);
    font-size: 16px;
    flex-shrink: 0;
    transition: transform .2s ease;
}

.faq-item[data-open="true"] .plus {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    font-size: 14.5px;
    color: var(--ink-muted);
}

.faq-a p {
    margin: 0 0 18px;
    max-width: 60ch;
}

.faq-item[data-open="true"] .faq-a {
    max-height: 240px;
}

/* ============ CONTACT ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

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

.contact-info p {
    color: var(--ink-muted);
    font-size: 15px;
    max-width: 38ch;
}

.contact-direct {
    margin-top: 22px;
    font-family: var(--font-mono);
    font-size: 14px;
}

.contact-direct a {
    color: var(--brass);
    text-decoration: none;
}

.contact-direct a:hover {
    text-decoration: underline;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-muted);
}

input,
textarea {
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    width: 100%;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--brass);
}

textarea {
    resize: vertical;
    min-height: 110px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.submit-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
}

#formNote {
    font-size: 12.5px;
    color: var(--ink-muted);
    font-family: var(--font-mono);
}

/* ============ FOOTER ============ */
footer {
    padding: 40px 0;
}

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

footer .mono {
    font-size: 13px;
    color: var(--ink-muted);
}

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


/* ============ LIGHTBOX ============ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(20, 16, 10, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    padding: 24px;
    backdrop-filter: blur(4px);
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}

.lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    font-family: var(--font-mono);
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s ease, color .2s ease;
}

.lightbox-close:hover {
    border-color: var(--brass);
    color: var(--brass);
}

/* Inner shell — fixed grid rows so nothing jumps */
.lb-shell {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 16px;
    max-height: 90vh;
}

/* Header */
.lb-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.lb-title-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.lb-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--brass);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.lb-title {
    font-family: var(--font-head);
    font-size: 22px;
    color: #fff;
    font-weight: 600;
    margin: 0;
    line-height: 1.15;
}

.lb-role {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.lb-counter {
    font-family: var(--font-mono);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    flex-shrink: 0;
    padding-bottom: 4px;
}

/* Stage — fixed height container, image fits inside */
.lb-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: min(60vh, 560px);
    background: rgba(0, 0, 0, 0.35);
    border-radius: 4px;
    overflow: hidden;
}

.lb-media-holder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-media-holder img,
.lb-media-holder video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 3px;
}

/* Nav arrows — absolutely positioned, don't affect layout */
.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(36, 29, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.lb-nav svg {
    width: 20px;
    height: 20px;
}

.lb-nav:hover {
    background: rgba(227, 169, 77, 0.25);
    border-color: var(--brass);
}

.lb-prev {
    left: 12px;
}

.lb-next {
    right: 12px;
}

.lb-nav:hover.lb-prev {
    transform: translateY(-50%) translateX(-2px);
}

.lb-nav:hover.lb-next {
    transform: translateY(-50%) translateX(2px);
}

/* Footer — caption + thumbs */
.lb-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lb-caption {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    margin: 0;
    min-height: 20px;
    font-family: var(--font-body);
}

/* Thumbnails strip */
.lb-thumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lb-thumb {
    width: 64px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    border-radius: 3px;
    transition: border-color .2s ease, transform .2s ease;
    opacity: 0.55;
}

.lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lb-thumb:hover {
    opacity: 0.85;
    border-color: rgba(255, 255, 255, 0.5);
}

.lb-thumb.active {
    opacity: 1;
    border-color: var(--brass);
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width:640px) {
    .lightbox {
        padding: 12px;
    }

    .lightbox-close {
        top: -40px;
        right: 0;
    }

    .lb-stage {
        height: min(50vh, 380px);
    }

    .lb-title {
        font-size: 18px;
    }

    .lb-nav {
        width: 38px;
        height: 38px;
    }

    .lb-thumb {
        width: 52px;
        height: 36px;
    }
}



/* ============ OFFER MODAL ============ */
.offer-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.offer-modal.open {
    opacity: 1;
    visibility: visible;
}

.offer-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 16, 10, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.offer-modal-panel {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px 30px 28px;
    box-shadow: 0 24px 60px rgba(36, 29, 18, 0.25);
    transform: translateY(12px) scale(0.98);
    transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}

.offer-modal.open .offer-modal-panel {
    transform: translateY(0) scale(1);
}

/* brass accent strip on top */
.offer-modal-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%, var(--brass) 20%,
            var(--brass) 80%, transparent 100%);
    border-radius: 0 0 2px 2px;
}

.offer-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink-muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s ease, color .2s ease;
}

.offer-modal-close:hover {
    border-color: var(--brass);
    color: var(--brass);
}

.offer-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.offer-modal-tag {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brass);
    background: var(--brass-soft);
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 1;
}

.offer-modal-price {
    font-size: 13px;
    color: var(--ink-muted);
    letter-spacing: -0.01em;
}

.offer-modal-panel h3 {
    font-size: 24px;
    letter-spacing: -0.015em;
    margin: 0 0 6px;
    line-height: 1.15;
}

.offer-modal-lede {
    font-size: 14px;
    color: var(--ink-muted);
    margin: 0 0 22px;
    line-height: 1.55;
}

.offer-modal-panel form {
    gap: 12px;
}

.offer-modal-panel input,
.offer-modal-panel textarea {
    background: var(--surface-2);
    border-radius: 8px;
}

.offer-modal-panel textarea {
    min-height: 90px;
}

@media (max-width:520px) {
    .offer-modal {
        padding: 12px;
    }

    .offer-modal-panel {
        padding: 26px 20px 22px;
        border-radius: 14px;
    }

    .offer-modal-panel h3 {
        font-size: 20px;
    }
}

/* Lock scroll when modal/lightbox is open */
body.modal-open {
    overflow: hidden;
}


/* ============ OFFER MODAL ============ */
.offer-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.offer-modal.open {
    opacity: 1;
    visibility: visible;
}

.offer-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 16, 10, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.offer-modal-panel {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px 30px 28px;
    box-shadow: 0 24px 60px rgba(36, 29, 18, 0.25);
    transform: translateY(12px) scale(0.98);
    transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}

.offer-modal.open .offer-modal-panel {
    transform: translateY(0) scale(1);
}

.offer-modal-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%, var(--brass) 20%,
            var(--brass) 80%, transparent 100%);
    border-radius: 0 0 2px 2px;
}

.offer-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink-muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s ease, color .2s ease;
}

.offer-modal-close:hover {
    border-color: var(--brass);
    color: var(--brass);
}

.offer-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.offer-modal-tag {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brass);
    background: var(--brass-soft);
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 1;
}

.offer-modal-price {
    font-size: 13px;
    color: var(--ink-muted);
    letter-spacing: -0.01em;
}

.offer-modal-panel h3 {
    font-size: 24px;
    letter-spacing: -0.015em;
    margin: 0 0 6px;
    line-height: 1.15;
}

.offer-modal-lede {
    font-size: 14px;
    color: var(--ink-muted);
    margin: 0 0 22px;
    line-height: 1.55;
}

.offer-modal-panel form {
    gap: 12px;
}

.offer-modal-panel input,
.offer-modal-panel textarea {
    background: var(--surface-2);
    border-radius: 8px;
}

.offer-modal-panel textarea {
    min-height: 90px;
}

@media (max-width:520px) {
    .offer-modal {
        padding: 12px;
    }

    .offer-modal-panel {
        padding: 26px 20px 22px;
        border-radius: 14px;
    }

    .offer-modal-panel h3 {
        font-size: 20px;
    }
}

body.modal-open {
    overflow: hidden;
}

/* ============ TURNSTILE WIDGET SPACING ============ */
.cf-turnstile {
    margin: 6px 0 4px;
}
