/* Larimar Miner — "The Vault" (dark, by-private-acquisition page).
   Layered on the shared "Tide" system (tide.css tokens loaded globally). This is the only DARK page:
   page bg #0c1320, cream text, lighter gold accent #c9b08a for contrast, #1c2536 hairlines.

   Dark CHROME (announce / nav / footer) lives OUTSIDE @section('content') in layouts.tide, so we reach it
   two ways: (1) .tide-dark on <body> when the layout wires @yield('bodyClass'); (2) body:has(.t-vault.tide-dark)
   so the dark theme also works today without touching the shared layout. Page-specific classes are .t-vault-*. */

:root {
    --vault-bg: #0c1320;
    --vault-text: #e7e1d4;
    --vault-head: #f5f0e3;
    --vault-muted: #9aa1b2;
    --vault-muted-2: #6f7890;
    --vault-gold: #c9b08a;
    --vault-line: #1c2536;
    --vault-body: #cdd3df;
}

/* ============================================================================================
   DARK CHROME — override the shared announcement / nav / footer painted by layouts.tide.
   ============================================================================================ */
body.tide-dark,
body:has(.t-vault.tide-dark) {
    background: var(--vault-bg);
    color: var(--vault-text);
}

/* Announcement bar */
body.tide-dark .t-announce,
body:has(.t-vault.tide-dark) .t-announce {
    background: #080d16;
    color: var(--vault-gold);
}

/* Nav — dark surface, gold active link */
body.tide-dark .t-nav,
body:has(.t-vault.tide-dark) .t-nav {
    background: var(--vault-bg);
    border-bottom-color: var(--vault-line);
}
body.tide-dark .t-nav .t-wordmark,
body:has(.t-vault.tide-dark) .t-nav .t-wordmark {
    color: #f3eede;
}
body.tide-dark .t-nav .t-dot,
body:has(.t-vault.tide-dark) .t-nav .t-dot {
    background: var(--vault-gold);
}
body.tide-dark .t-nav__center,
body.tide-dark .t-nav__utils,
body:has(.t-vault.tide-dark) .t-nav__center,
body:has(.t-vault.tide-dark) .t-nav__utils {
    color: var(--vault-muted);
}
body.tide-dark .t-nav__center a:hover,
body.tide-dark .t-nav__utils a:hover,
body:has(.t-vault.tide-dark) .t-nav__center a:hover,
body:has(.t-vault.tide-dark) .t-nav__utils a:hover {
    color: var(--vault-head);
}
body.tide-dark .t-nav__center a.is-active,
body:has(.t-vault.tide-dark) .t-nav__center a.is-active {
    color: var(--vault-gold);
    font-weight: 600;
}
body.tide-dark .t-nav__utils a.is-strong,
body:has(.t-vault.tide-dark) .t-nav__utils a.is-strong {
    color: var(--vault-gold);
}

/* The shared responsive menu paints its own surface; keep it in the Vault theme too. */
body.tide-dark .t-nav__center,
body:has(.t-vault.tide-dark) .t-nav__center {
    background: var(--vault-bg);
    border-bottom-color: var(--vault-line);
}
body.tide-dark .t-nav__burger span,
body:has(.t-vault.tide-dark) .t-nav__burger span {
    background: var(--vault-head);
}

/* Footer — dark variant, #1c2536 top border */
body.tide-dark .t-footer,
body:has(.t-vault.tide-dark) .t-footer {
    background: var(--vault-bg);
    border-top: 1px solid var(--vault-line);
    color: var(--vault-body);
}
body.tide-dark .t-footer__top,
body:has(.t-vault.tide-dark) .t-footer__top {
    border-bottom-color: var(--vault-line);
}
body.tide-dark .t-footer__wordmark,
body:has(.t-vault.tide-dark) .t-footer__wordmark {
    color: var(--vault-head);
}
body.tide-dark .t-footer__heading,
body:has(.t-vault.tide-dark) .t-footer__heading {
    color: var(--vault-gold);
}
body.tide-dark .t-footer__blurb,
body.tide-dark .t-footer__links,
body.tide-dark .t-newsletter-note,
body:has(.t-vault.tide-dark) .t-footer__blurb,
body:has(.t-vault.tide-dark) .t-footer__links,
body:has(.t-vault.tide-dark) .t-newsletter-note {
    color: var(--vault-muted);
}
body.tide-dark .t-footer__links a:hover,
body:has(.t-vault.tide-dark) .t-footer__links a:hover {
    color: var(--vault-head);
}
body.tide-dark .t-newsletter,
body:has(.t-vault.tide-dark) .t-newsletter {
    border-color: var(--vault-line);
}
body.tide-dark .t-newsletter button,
body:has(.t-vault.tide-dark) .t-newsletter button {
    background: var(--vault-gold);
    color: var(--vault-bg);
}

/* ============================================================================================
   PAGE WRAPPER
   ============================================================================================ */
.t-vault {
    background: var(--vault-bg);
    color: var(--vault-text);
    overflow: hidden;
}
.t-vault .t-display { color: var(--vault-head); }
.t-vault img { display: block; max-width: 100%; }

/* ============================================================================================
   HERO — editorial split with an explicitly illustrative archive photograph
   ============================================================================================ */
.t-vault-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(380px, 1.14fr);
    align-items: center;
    gap: clamp(42px, 7vw, 108px);
    padding: 90px var(--gutter) 80px;
    text-align: left;
    overflow: hidden;
    max-width: var(--maxw);
    margin: 0 auto;
}
.t-vault-hero__glow {
    position: absolute;
    left: 50%;
    top: 54%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 760px;
    max-width: 130vw;
    background: radial-gradient(circle,
        rgba(86,150,170,.34) 0%,
        rgba(54,85,138,.16) 40%,
        rgba(12,19,32,0) 72%);
    pointer-events: none;
}
.t-vault-hero__inner { position: relative; z-index: 1; }
.t-vault-hero__eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--vault-gold);
    margin-bottom: 30px;
}
.t-vault-hero__title {
    font-family: var(--display);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(3.4rem, 8vw, 84px);
    line-height: 1;
    margin: 0 0 26px;
    color: var(--vault-head);
}
.t-vault-hero__lede {
    font-size: 16px;
    line-height: 1.8;
    color: var(--vault-muted);
    font-weight: 300;
    max-width: 620px;
    margin: 0;
}
.t-vault-hero__media {
    position: relative;
    z-index: 1;
    min-height: 520px;
    height: min(620px, 54vw);
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--vault-line);
    background: var(--vault-line);
    box-shadow: 0 30px 100px rgba(72,140,160,.24);
}
.t-vault-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.t-vault-hero__media figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: fit-content;
    max-width: calc(100% - 36px);
    padding: 8px 12px;
    background: rgba(8,13,22,.82);
    border: 1px solid rgba(201,176,138,.35);
    color: var(--vault-text);
    font-family: var(--mono);
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: .09em;
    text-transform: uppercase;
}

/* ============================================================================================
   WHAT BELONGS HERE — visual vocabulary without implying current stock
   ============================================================================================ */
.t-vault-families {
    padding: 20px var(--gutter) 80px;
    max-width: var(--maxw);
    margin: 0 auto;
}
.t-vault-families__head {
    max-width: 1120px;
    margin-bottom: 34px;
}
.t-vault-families__head .t-vault-hero__eyebrow { margin-bottom: 16px; }
.t-vault-families__head p {
    max-width: 690px;
    margin: 16px 0 0;
    color: var(--vault-muted);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
}
.t-vault-families__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.t-vault-families figure { margin: 0; }
.t-vault-families img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 1px solid var(--vault-line);
}
.t-vault-families figcaption {
    padding: 14px 0;
    border-bottom: 1px solid var(--vault-line);
    color: var(--vault-body);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

/* ============================================================================================
   CURRENT HOLDINGS
   ============================================================================================ */
.t-vault-holdings {
    padding: 10px var(--gutter) 30px;
    max-width: var(--maxw);
    margin: 0 auto;
}
.t-vault-holdings__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 38px;
    border-top: 1px solid var(--vault-line);
    padding-top: 34px;
}
.t-vault-holdings__title {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(1.9rem, 3.4vw, 40px);
    margin: 0;
    color: var(--vault-head);
}
.t-vault-holdings__count {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--vault-gold);
}

.t-vault-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.t-vault-empty {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px clamp(28px, 5vw, 80px);
    align-items: start;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid var(--vault-line);
    background: linear-gradient(135deg, rgba(28,37,54,.72), rgba(12,19,32,.38));
}
.t-vault-empty h3 {
    margin: 0;
    color: var(--vault-head);
    font-size: clamp(1.7rem, 3vw, 34px);
    font-weight: 500;
}
.t-vault-empty p {
    margin: 0;
    color: var(--vault-muted);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
}
.t-vault-empty__actions {
    grid-column: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.t-vault-card__media {
    position: relative;
    height: 380px;
    overflow: hidden;
    background: var(--vault-line);
    box-shadow: 0 30px 90px rgba(72,140,160,.35);
}
.t-vault-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.t-vault-card:hover .t-vault-card__media img {
    transform: scale(1.04);
}
.t-vault-card__lot {
    position: absolute;
    left: 16px;
    top: 16px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .08em;
    color: var(--vault-bg);
    background: var(--vault-gold);
    padding: 5px 10px;
}
.t-vault-card__name {
    font-family: var(--display);
    font-size: 26px;
    margin-top: 20px;
    color: var(--vault-head);
}
.t-vault-card__spec {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--vault-muted-2);
    margin-top: 6px;
}
.t-vault-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
    border-top: 1px solid var(--vault-line);
    padding-top: 14px;
}
.t-vault-card__price {
    font-family: var(--display);
    font-size: 24px;
    color: var(--vault-head);
}
.t-vault-card__price--ask {
    font-size: 20px;
    font-style: italic;
}
.t-vault-card__enquire {
    font-family: var(--ui);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--vault-gold);
    white-space: nowrap;
    transition: color .2s ease;
}
.t-vault-card__enquire:hover { color: var(--vault-head); }

/* ============================================================================================
   A NOTE ON VALUE — two-column band, left divider
   ============================================================================================ */
.t-vault-note {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 60px var(--gutter) 0;
    max-width: calc(var(--maxw) - (2 * var(--gutter)));
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid var(--vault-line);
}
.t-vault-note__copy { padding: 54px 50px 54px 0; }
.t-vault-note__eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--vault-gold);
    margin-bottom: 18px;
}
.t-vault-note__title {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(1.9rem, 3.2vw, 38px);
    line-height: 1.1;
    margin: 0 0 18px;
    color: var(--vault-head);
}
.t-vault-note__body {
    font-size: 15px;
    line-height: 1.85;
    color: var(--vault-muted);
    font-weight: 300;
    margin: 0;
}
.t-vault-note__points {
    padding: 54px 0 54px 50px;
    border-left: 1px solid var(--vault-line);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
}
.t-vault-point {
    display: flex;
    gap: 20px;
    align-items: baseline;
}
.t-vault-point__num {
    font-family: var(--display);
    font-size: 34px;
    color: var(--vault-gold);
    line-height: 1;
    min-width: 54px;
}
.t-vault-point__text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--vault-body);
    font-weight: 300;
}

/* ============================================================================================
   CONCIERGE — centered band on a subtle vertical gradient
   ============================================================================================ */
.t-vault-concierge {
    padding: 78px var(--gutter);
    text-align: center;
    margin-top: 50px;
    background: linear-gradient(180deg, #0e1626 0%, #0c1320 100%);
    border-top: 1px solid var(--vault-line);
}
.t-vault-concierge__eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--vault-gold);
}
.t-vault-concierge__title {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.2rem, 4.4vw, 50px);
    margin: 22px 0 18px;
    color: var(--vault-head);
}
.t-vault-concierge__body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--vault-muted);
    font-weight: 300;
    max-width: 520px;
    margin: 0 auto 32px;
}
.t-vault-concierge__cta {
    display: inline-block;
    font-family: var(--ui);
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--vault-bg);
    background: var(--vault-gold);
    padding: 16px 38px;
    transition: background .2s ease;
}
.t-vault-concierge__cta:hover { background: #d8c2a0; }

/* ============================================================================================
   RESPONSIVE
   ============================================================================================ */
@media (max-width: 1040px) {
    .t-vault-grid { grid-template-columns: repeat(2, 1fr); }
    .t-vault-hero { grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr); gap: 42px; }
    .t-vault-hero__media { min-height: 440px; }
}
@media (max-width: 900px) {
    .t-vault-hero {
        grid-template-columns: 1fr;
        padding: 64px var(--gutter) 56px;
        text-align: center;
    }
    .t-vault-hero__lede { margin: 0 auto; }
    .t-vault-hero__media { width: min(100%, 680px); height: min(72vw, 540px); min-height: 380px; margin: 0 auto; }
    .t-vault-grid { grid-template-columns: 1fr; }
    .t-vault-families__grid { grid-template-columns: 1fr; }
    .t-vault-families img { height: min(62vw, 440px); }
    .t-vault-note { grid-template-columns: 1fr; }
    .t-vault-note__copy { padding: 40px 0 0; }
    .t-vault-note__points {
        padding: 36px 0 0;
        border-left: 0;
        border-top: 1px solid var(--vault-line);
        margin-top: 36px;
    }
}
@media (max-width: 760px) {
    .t-vault-empty { grid-template-columns: 1fr; }
    .t-vault-empty__actions { grid-column: 1; align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
    .t-vault-hero__media { min-height: 320px; }
    .t-vault-families { padding-bottom: 54px; }
    .t-vault-card__media { height: 320px; }
    .t-vault-concierge { padding: 56px var(--gutter); }
}
