/* two23six rebuild: shared layer on top of base.css */
:root { --red:#ff2a3c; --cyan:#00f0ff; --nav-h:56px; }
body { padding-top: calc(var(--bar-h, 2.6rem) + var(--nav-h)); }
.wrap { padding-top: 2.5rem; }
@media (max-width: 720px) { header { padding-top: 0.5rem; } }
section[id] { scroll-margin-top: calc(var(--bar-h, 2.6rem) + var(--nav-h) + 1rem); }
.skip-link { position:absolute; left:-999px; top:0; z-index:100; background:var(--gold); color:#000; padding:.6rem 1rem; }
.skip-link:focus { left: .5rem; top: .5rem; }

/* top nav bar */
.topnav { position: fixed; top: var(--bar-h, 2.6rem); left: 0; right: 0; height: var(--nav-h); z-index: 60;
  display: flex; align-items: center; gap: .75rem; padding: 0 .75rem; background: #000; border-bottom: 1px solid rgba(196,162,90,.28); }
.topnav .nav-toggle { position: static; min-height: 40px; }
.brand-mini { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 1.25rem; letter-spacing: .06em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-mini span { color: var(--gold); }
.brand-mini:hover, .brand-mini:focus-visible { text-shadow: -2px 0 var(--red), 2px 0 var(--cyan); outline: none; }
.cart-btn { margin-left: auto; position: relative; display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .45rem .8rem;
  background: #000; color: var(--gold); border: 1.5px solid rgba(196,162,90,.7); border-radius: 12px; cursor: pointer;
  font: 500 .72rem/1 "Outfit", system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.cart-btn:hover, .cart-btn:focus-visible { border-color: var(--gold); box-shadow: -2px 0 0 var(--red), 2px 0 0 var(--cyan); outline: none; }
.cart-count { min-width: 1.35rem; height: 1.35rem; border-radius: 999px; background: var(--gold); color: #000; display: inline-grid; place-items: center; font-size: .7rem; letter-spacing: 0; font-weight: 600; }
.cart-count[data-n="0"] { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.site-nav { top: calc(var(--bar-h, 2.6rem) + var(--nav-h) + .4rem); }
.site-nav a[aria-current="page"] { color: var(--gold); }
@media (min-width: 900px) {
  .topnav .nav-toggle { display: none; }
  .nav-scrim { display: none; }
  .site-nav { position: static; transform: none; visibility: visible; display: flex; align-items: center; gap: .1rem;
    width: auto; max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none; transition: none; }
  .site-nav a { min-height: 0; padding: .55rem .7rem; font-size: .74rem; position: relative; }
  .site-nav a + a { border-top: 0; }
  .site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .15rem; height: 1px; background: var(--gold); }
}
.site-nav a:hover, .site-nav a:focus-visible { text-shadow: -1px 0 var(--red), 1px 0 var(--cyan); }

/* page heads */
.page-head { text-align: center; margin: .5rem auto 2.25rem; }
.page-kicker { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.page-title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: clamp(2.1rem, 9vw, 3.4rem); line-height: 1.05; position: relative; display: inline-block; }
.glitch-text { position: relative; }
.glitch-text::before, .glitch-text::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.glitch-text::before { color: var(--red); }
.glitch-text::after { color: var(--cyan); }
.glitch-text:hover::before, .glitch-hover:hover .glitch-text::before { opacity: .8; transform: translate(-3px,0); clip-path: inset(15% 0 50% 0); animation: gt 0.4s steps(2) infinite; }
.glitch-text:hover::after, .glitch-hover:hover .glitch-text::after { opacity: .8; transform: translate(3px,0); clip-path: inset(55% 0 10% 0); animation: gt 0.4s steps(2) infinite reverse; }
@keyframes gt { 0% { clip-path: inset(10% 0 60% 0); } 50% { clip-path: inset(60% 0 15% 0); } 100% { clip-path: inset(35% 0 40% 0); } }
.page-blurb { color: var(--muted); margin-top: .7rem; font-weight: 300; line-height: 1.6; }

/* oswald shop buttons used for actions */
.shop-btn { font-family: "Oswald", Impact, "Arial Narrow", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; font-size: 1rem;
  padding: .8em 1.6em; color: #fff; background: #000; border: 2px solid #e8e2d4; box-shadow: -3px 0 0 var(--red), 3px 0 0 var(--cyan); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: color .15s, transform .15s; min-height: 48px; }
.shop-btn:hover, .shop-btn:focus-visible { color: var(--gold); transform: translateY(-1px); text-shadow: -2px 0 var(--red), 2px 0 var(--cyan); animation: cg-shop-glitch .35s steps(2) infinite; outline: none; }
.shop-btn[disabled] { opacity: .5; cursor: not-allowed; animation: none; }
.shop-btn.block { width: 100%; }

/* merch grid */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .product-grid { grid-template-columns: 1fr 1fr; } }
.p-card { display: block; text-decoration: none; color: var(--ink); background: #050505; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.p-card:hover, .p-card:focus-visible { border-color: rgba(196,162,90,.6); box-shadow: -3px 0 0 var(--red), 3px 0 0 var(--cyan); transform: translateY(-2px); outline: none; }
.p-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; }
.p-card .p-meta { padding: 1rem 1.1rem 1.2rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.p-card h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.45rem; font-weight: 600; }
.p-price { color: var(--gold); white-space: nowrap; font-weight: 500; }
.p-sub { color: var(--muted); font-size: .85rem; padding: 0 1.1rem 1.2rem; margin-top: -.6rem; }
.ship-note { text-align: center; color: var(--muted); font-size: .85rem; letter-spacing: .06em; margin: 2rem auto 0; max-width: 40rem; line-height: 1.6; }
.ship-note strong { color: var(--gold); font-weight: 500; }

/* product detail */
.pdp { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 860px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: start; } }
.gallery-main { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .7rem; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs button[aria-pressed="true"] { border-color: var(--gold); box-shadow: -2px 0 0 var(--red), 2px 0 0 var(--cyan); }
.thumbs button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pdp h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 600; line-height: 1.05; }
.pdp .price { color: var(--gold); font-size: 1.4rem; margin: .5rem 0 1rem; }
.pdp .desc { color: var(--ink); opacity: .85; line-height: 1.7; font-weight: 300; }
.pdp .verse { color: var(--muted); font-style: italic; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.15rem; margin: 1rem 0; }
.opt-label { display: block; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 1.4rem 0 .6rem; }
.sizes { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sizes span { display: inline-grid; place-items: center; min-width: 3.1rem; min-height: 44px; padding: 0 .7rem; border: 1px solid rgba(232,230,224,.35); border-radius: 10px; font-size: .9rem; letter-spacing: .06em; }
.sizes input:checked + span { border-color: var(--gold); color: #000; background: var(--gold); box-shadow: -2px 0 0 var(--red), 2px 0 0 var(--cyan); }
.sizes input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(232,230,224,.35); border-radius: 10px; overflow: hidden; }
.qty button { width: 44px; height: 44px; background: #000; color: var(--ink); border: 0; font-size: 1.2rem; cursor: pointer; }
.qty button:hover, .qty button:focus-visible { color: var(--gold); outline: none; }
.qty input { width: 3rem; height: 44px; text-align: center; background: #000; color: var(--ink); border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 1rem; }
.form-msg { min-height: 1.4em; margin-top: .7rem; color: var(--cyan); font-size: .9rem; }
.colorway { display: flex; gap: .6rem; }
.colorway a { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .8rem; min-height: 44px; border: 1px solid rgba(232,230,224,.35); border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .9rem; }
.colorway a[aria-current="true"] { border-color: var(--gold); }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #888; display: inline-block; }
.details-list { margin: 1.2rem 0 0 1.1rem; color: var(--muted); line-height: 1.8; font-size: .92rem; }
.back-link { display: inline-block; color: var(--muted); text-decoration: none; margin-bottom: 1.2rem; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.back-link:hover { color: var(--gold); }

/* cart drawer */
.cart-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.75); opacity: 0; pointer-events: none; transition: opacity .25s; }
.cart-open .cart-scrim { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(25rem, 100vw); background: #000; border-left: 2px solid rgba(196,162,90,.6);
  display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s; }
.cart-open .cart-drawer { transform: none; visibility: visible; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; font-weight: 600; }
.icon-btn { width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.icon-btn:hover, .icon-btn:focus-visible { border-color: var(--gold); color: var(--gold); outline: none; }
.cart-items { flex: 1; overflow-y: auto; padding: .5rem 1.1rem; list-style: none; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: #fff; }
.cart-item .ci-name { font-size: .95rem; }
.cart-item .ci-var { color: var(--muted); font-size: .8rem; margin-top: .2rem; }
.cart-item .qty button { width: 34px; height: 34px; font-size: 1rem; }
.cart-item .qty input { width: 2.2rem; height: 34px; font-size: .9rem; }
.cart-item .ci-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.ci-remove { background: none; border: 0; color: var(--muted); font-size: .75rem; text-decoration: underline; cursor: pointer; min-height: 32px; }
.ci-remove:hover { color: var(--red); }
.cart-empty { color: var(--muted); text-align: center; padding: 2.5rem 0; }
.cart-foot { padding: 1rem 1.1rem 1.3rem; border-top: 1px solid var(--line); }
.cart-row { display: flex; justify-content: space-between; margin-bottom: .4rem; }
.cart-row.total { font-size: 1.1rem; color: var(--gold); }
.cart-fine { color: var(--muted); font-size: .78rem; margin: .4rem 0 1rem; line-height: 1.5; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: 1rem; background: rgba(0,0,0,.8); }
.modal.open { display: grid; }
.modal-box { background: #000; border: 2px solid #e8e2d4; box-shadow: -4px 0 0 var(--red), 4px 0 0 var(--cyan); max-width: 26rem; width: 100%; padding: 1.6rem 1.4rem; text-align: center; }
.modal-box h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.8rem; margin-bottom: .6rem; }
.modal-box p { color: var(--muted); line-height: 1.6; margin-bottom: 1.2rem; }

/* about + prose */
.prose { max-width: 40rem; margin: 0 auto; line-height: 1.85; font-weight: 300; font-size: 1.05rem; }
.prose p + p { margin-top: 1.2rem; }
.prose h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 1.6rem; margin: 2rem 0 .6rem; color: var(--ink); }
.prose a { color: var(--gold); }
.prose ul { margin: .6rem 0 0 1.2rem; }
.timeline { list-style: none; max-width: 40rem; margin: 2.5rem auto 0; border-left: 2px solid rgba(196,162,90,.5); padding-left: 1.3rem; }
.timeline li { margin-bottom: 1.1rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.3rem - 7px); top: .45rem; width: 12px; height: 12px; background: #000; border: 2px solid var(--gold); box-shadow: -2px 0 0 var(--red), 2px 0 0 var(--cyan); }
.timeline .yr { color: var(--gold); font-family: "Oswald", Impact, sans-serif; letter-spacing: .12em; margin-right: .5rem; }
.draft-banner { text-align: center; color: var(--muted); font-size: .8rem; letter-spacing: .1em; border: 1px dashed var(--line); padding: .6rem; margin-bottom: 2rem; }

/* footer */
.site-footer { margin-top: 3rem; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem; margin-bottom: 1rem; }
.foot-links a { color: var(--muted); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: .35rem 0; }
.foot-links a:hover { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.ship-note a { color: var(--gold); }
.brand-mini { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* Top tracks Spotify player */
.spotify-embed{max-width:560px;margin:1.35rem auto 0;border:1px solid var(--line,rgba(196,162,90,.3));border-radius:16px;background:rgba(16,19,26,.55);backdrop-filter:blur(10px);padding:.95rem .95rem .85rem;overflow:hidden}
.spotify-embed .embed-kicker{font-size:.68rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold,#c4a25a);text-align:center;margin-bottom:.75rem}
.spotify-embed iframe{display:block;width:100%;border:0;border-radius:12px;background:#000}

/* music note glitch (same effect as coffee/merch icons) */
.cg-note { -webkit-mask: url(/assets/music-note.png) center/contain no-repeat; mask: url(/assets/music-note.png) center/contain no-repeat; background: currentColor; }
.music-glitch-icon { display: block; margin: 0 auto 1.2rem; }
