/* Shared: pinned nav + the email list. Loaded on every page. */

/* Pinned nav: slides down once the pink header scrolls away */
.vtx-pin { position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: #231f20; color: #f3ebdd; transform: translateY(-100%); visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s; box-shadow: 0 2px 0 rgba(0,0,0,.12); }
.vtx-pin.is-on { transform: none; visibility: visible; transition: transform .22s ease, visibility 0s; }
.vtx-pin__in { max-width: 1200px; margin: 0 auto; box-sizing: border-box; padding: 0 clamp(12px, 4vw, 48px); height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vtx-pin__home { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: inherit; flex: none; }
.vtx-pin__home img { height: 34px; width: auto; display: block; background: var(--sign-pink); padding: 2px 3px; }
.vtx-pin__home span { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; }
.vtx-pin__links { display: flex; gap: 0 clamp(12px, 2.2vw, 28px); }
.vtx-pin__links a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-weight: 800; font-size: clamp(15px, 1.8vw, 18px); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: inherit; white-space: nowrap; }
.vtx-pin__links a:hover { color: var(--sign-pink); }
.vtx-pin__links a:focus-visible, .vtx-pin__home:focus-visible { outline: 2px solid var(--sign-pink); outline-offset: 2px; }
@media (max-width: 640px) { .vtx-pin__home span { display: none; } }
@media (prefers-reduced-motion: reduce) { .vtx-pin { transition: none; } }
[id] { scroll-margin-top: 60px; }

/* Header nav: five links. "Photo archive" on wide screens, "Photos" on phones. */
.vtx-nav { gap: 0 clamp(9px, 2vw, 28px); }
.vtx-navlink { font-size: clamp(16px, 2vw, 20px); }
.vtx-nav-short { display: none; }
@media (max-width: 800px) { .vtx-navlink { font-size: clamp(13px, 3.85vw, 16px); } }
@media (max-width: 720px) { .vtx-nav-long { display: none; } .vtx-nav-short { display: inline; } }
@media (max-width: 345px) { .vtx-pin__links { gap: 0 10px; } .vtx-pin__links a { font-size: 13px; } }

/* Doors: what the bar is, up top on the home page, before the merch */
.vtx-doors { display: flex; flex-direction: column; gap: var(--space-2); }
.vtx-doors__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2) var(--space-3); }
.vtx-door { display: flex; flex-direction: column; gap: 4px; min-height: 44px; box-sizing: border-box; padding: 10px 12px 12px; background: #fbf6ee; color: #231f20; box-shadow: inset 0 0 0 2px #231f20; text-decoration: none; } /* fixed colors: the doors sit on the pink band, which stays pink after sunset */
.vtx-button--quiet.vtx-on-pink { color: var(--on-pink); box-shadow: inset 0 0 0 2px var(--on-pink); }
/* The BAR OPEN sign sits on the pink band too. It used to flip to a black box after sunset: keep it a cream card with dark type. */
.vtx-stamp { background: #fbf6ee; color: #231f20; box-shadow: inset 0 0 0 2px #231f20; }
.vtx-stamp .vtx-stamp__sub { color: #5a514c; }
.vtx-door:hover { background: #231f20; color: #f3ebdd; }
.vtx-door:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.vtx-door__k { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 2.5vw, 30px); line-height: 0.95; text-transform: uppercase; }
.vtx-door__k::after { content: "\2192"; font: 500 16px/1 var(--font-mono); }
.vtx-door__v { font: 500 13px/17px var(--font-text); }
@media (min-width: 900px) { .vtx-door__v { font-size: 14px; line-height: 19px; } }
@media (max-width: 760px) { .vtx-doors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vtx-door:last-child { grid-column: 1 / -1; } }

/* Photo archive block on the home page */
.vtx-reelstrip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.vtx-reelstrip a { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #d8d0c3; }
.vtx-reelstrip img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vtx-reelstrip span { position: absolute; left: 4px; top: 4px; padding: 3px 6px; background: #231f20; color: #ffc0cb; font: 800 16px/1 var(--font-display); }
.vtx-reelstrip a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* The list: footer box + slide-up card share these */
.vtx-list-form { display: flex; flex-direction: column; gap: var(--space-3); }
.vtx-list-row { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.vtx-list-row input[type=email] { flex: 1 1 200px; min-width: 0; min-height: 48px; box-sizing: border-box; padding: 10px 12px; border: 0; border-radius: 0; background: #fff; color: #231f20; box-shadow: inset 0 0 0 2px var(--ink); font: 16px/24px var(--font-text); }
.vtx-list-row .vtx-button { min-height: 48px; flex: none; }
.vtx-list-check { display: flex; gap: 10px; align-items: flex-start; font: 500 14px/20px var(--font-text); cursor: pointer; }
.vtx-list-check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--oxblood); }
.vtx-list-status { margin: 0; min-height: 20px; font: 500 14px/20px var(--font-text); }
.vtx-list-status.is-err { color: var(--heart-red); }
.vtx-list-status.is-ok { font-weight: 700; }
.vtx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Footer version sits on oxblood */
#visit .vtx-list-row input[type=email] { box-shadow: inset 0 0 0 2px var(--on-oxblood); }
#visit .vtx-list-row .vtx-button { background: var(--sign-pink); color: #231f20; }
#visit .vtx-list-status.is-err { color: var(--sign-pink); }
#visit .vtx-list-check input { accent-color: var(--sign-pink); }

/* Slide-up card */
.vtx-card { position: fixed; z-index: 45; right: 16px; bottom: 16px; width: min(380px, calc(100% - 32px)); box-sizing: border-box; padding: 20px 20px 16px; background: var(--sign-pink); color: #231f20; box-shadow: inset 0 0 0 2px #231f20, 6px 6px 0 #231f20; transform: translateY(calc(100% + 40px)); transition: transform .38s cubic-bezier(.2,.9,.25,1.15); }
.vtx-card.is-on { transform: none; }
.vtx-card__x { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; background: transparent; color: #231f20; font: 800 22px/1 var(--font-display); cursor: pointer; }
.vtx-card .vtx-card__head { margin: 4px 0 8px; font: 900 40px/0.9 var(--font-display); text-transform: uppercase; }
.vtx-card p { margin: 0 0 12px; font: 400 15px/21px var(--font-text); }
.vtx-card .vtx-list-row input[type=email] { box-shadow: inset 0 0 0 2px #231f20; }
.vtx-card .vtx-list-check input { accent-color: #632e38; }
@media (max-width: 520px) { .vtx-card { right: 8px; left: 8px; bottom: 8px; width: auto; box-shadow: inset 0 0 0 2px #231f20, 4px 4px 0 #231f20; } .vtx-card .vtx-card__head { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { .vtx-card { transition: none; } }

.vtx-preview-note { position: relative; z-index: 50; background: #231f20; color: #ffc0cb; text-align: center; padding: 6px 12px; font: 500 12px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- top left: the name in big type, three lines set to one width ---------- */
.vtx-headrow { flex-wrap: nowrap; }
.vtx-wordmark { --lock: min(100vw - 2 * clamp(16px, 4vw, 48px), 480px); display: flex; flex-direction: column; gap: calc(var(--lock) / 60); flex: none; width: var(--lock); color: var(--on-pink); text-decoration: none; font-family: var(--font-display); text-transform: uppercase; white-space: nowrap; }
.vtx-wordmark__name { font-weight: 900; font-size: calc(var(--lock) / 3.9); line-height: 0.84; letter-spacing: 0; }
.vtx-wordmark__name > span { display: block; }
.vtx-wordmark__tag { font-weight: 800; font-size: calc(var(--lock) / 9.05); line-height: 0.95; letter-spacing: 0.02em; }
.vtx-wordmark:focus-visible { outline: 3px solid var(--on-pink); outline-offset: 4px; }
@media (max-width: 899px) {
  .vtx-headrow { flex-direction: column; align-items: stretch !important; gap: var(--space-3) !important; }
  .vtx-headside { flex-direction: row !important; flex-wrap: wrap; align-items: center !important; justify-content: space-between; gap: 0 var(--space-4) !important; }
  .vtx-headside .vtx-nav { flex: 1 1 100%; justify-content: flex-start !important; gap: 0 clamp(14px, 5vw, 28px); }
  .vtx-headside .vtx-navlink { font-size: clamp(16px, 4.6vw, 20px); }
}

/* ---------- top photo: riders out front ---------- */
.vtx-hero { margin: 0; }
.vtx-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 60%; background: #cdb9a6; }
@media (min-width: 900px) { .vtx-hero img { aspect-ratio: 2.2 / 1; } }
@media (max-width: 760px) { .vtx-hero { margin: 0 calc(-1 * clamp(16px, 4vw, 48px)); } }

/* ---------- the new matchbook, under the featured tee ---------- */
.vtx-match { display: flex; align-items: center; gap: var(--space-3); }
.vtx-match img { display: block; width: clamp(92px, 11vw, 128px); height: auto; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: 0 0 0 2px #231f20; }
.vtx-match p { margin: 0 0 0 var(--space-1); display: flex; flex-direction: column; gap: var(--space-1); max-width: 14em; }

/* ---------- the place: photo mosaic ---------- */
.vtx-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 27vw, 330px); gap: var(--space-4); }
.vtx-mosaic > img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; background: #cdb9a6; }
.vtx-mosaic > .w2 { grid-column: span 2; }
.vtx-mosaic > .vtx-sign { box-sizing: border-box; padding: var(--space-3); min-width: 0; min-height: 0; }
@media (max-width: 640px) { .vtx-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 56vw; gap: var(--space-2); } }

/* ---------- for Valentine locals: the photo archive, at the bottom ---------- */
.vtx-locals { max-width: 1200px; margin: 0 auto; box-sizing: border-box; padding: var(--space-12) clamp(16px, 4vw, 48px); display: flex; flex-direction: column; gap: var(--space-6); }
