/* MoneyBluez site styles. True black, bone white, one blue. Blackletter only for display.
   Layout language (2026-09-26, see RESEARCH/layout-references-2026-09-26.md):
   ticker for real info, image-only openers, product tiles with no paragraph,
   his words set large across the width or over his photos, image edges as the only dividers,
   info-only footer. Sentence case everywhere; capitals only in the ticker. */
:root{
  --ink:#000; --ink-2:#000;
  --line:#2a2a2e;            /* decorative rules only (drawer dividers) */
  --edge:#77777d;            /* control borders: 4.4:1 on #000 */
  --bone:#f2efe8; --mute:#9a978f; --blue:#2b44ff; --blue-text:#7a8bff; --blue-2:#1a2fd6;
  --display:'Pirata One', serif; --body:'Archivo', system-ui, sans-serif;
  --pad:clamp(16px,4vw,48px);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--ink);color:var(--bone);font-family:var(--body);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--blue-text);outline-offset:3px}
.label{font-size:14px;color:var(--mute);font-weight:500}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ticker: real info only (product, price, sizes, his shipping line) plus his creed */
.ticker{background:var(--blue);color:#fff;overflow:hidden;white-space:nowrap;font-size:12px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;height:34px;display:flex;align-items:center}
.ticker .track{display:inline-flex;animation:tick 48s linear infinite}
.ticker span{padding-right:2.4em}
.ticker span i{font-style:normal;padding-left:2.4em;opacity:.7}
@keyframes tick{to{transform:translateX(-50%)}}

/* nav: no rule under it; the next thing is an image edge */
.nav{position:sticky;top:0;z-index:20;background:var(--ink)}
.nav .bar{display:flex;align-items:center;justify-content:space-between;height:64px;padding:0 var(--pad)}
.nav .logo img{height:38px;width:auto}
.nav ul{display:flex;gap:6px;list-style:none;align-items:center;font-size:16px;font-weight:600}
.nav ul a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px}
.nav ul a:hover,.nav ul a[aria-current]{color:var(--blue-text)}
.bag-btn{background:none;border:1px solid var(--edge);color:var(--bone);font:inherit;font-size:16px;font-weight:600;padding:10px 14px;min-height:44px;cursor:pointer;transition:border-color .2s ease-out}
.bag-btn:hover{border-color:var(--bone)}
.bag-btn b{color:var(--blue-text)}

/* buttons (bag drawer checkout, product page add) */
.btn{display:inline-block;background:var(--blue);color:#fff;border:1px solid var(--blue);font:inherit;font-weight:700;font-size:17px;padding:14px 30px;min-height:52px;cursor:pointer;transition:background .2s ease-out}
.btn:hover{background:var(--blue-2)}
.btn:active,.sizes button:active,.bag-btn:active{transform:translateY(1px);transition-duration:.05s}
/* disabled: an outlined, readable state (text 7:1, border 4.4:1) instead of a faded blue */
.btn[disabled]{background:none;border-color:var(--edge);color:var(--mute);cursor:not-allowed}

/* opener: images only, edge to edge, no copy */
.open{display:grid;grid-template-columns:1fr 1fr}
.open a,.open > img{display:block}
.open img{width:100%;height:min(94vh,1200px);object-fit:cover;object-position:center top}

/* shop grid: one tile plus image cells, no gaps; cells stretch to the tile's height */
.grid{display:grid;grid-template-columns:repeat(4,1fr);align-items:stretch}
.grid .cell{position:relative;display:block;min-height:240px}
.grid .cell img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tile .flip{position:relative;display:block;aspect-ratio:3/4;background:#000;overflow:hidden}
.tile .flip img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .3s ease-out}
.tile .flip img+img{opacity:0}
.tile .flip:hover img+img,.tile .flip:focus-visible img+img{opacity:1}
.tile .meta{padding:14px 16px 18px;display:flex;flex-direction:column;gap:12px}
.tile .row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-weight:700;font-size:18px}
.tile .row span{font-variant-numeric:tabular-nums}
.sizes{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.sizes button{min-height:44px;background:none;border:1px solid var(--edge);color:var(--bone);font:inherit;font-weight:600;font-size:15px;cursor:pointer;transition:border-color .22s ease-out,background .22s ease-out,color .22s ease-out}
.sizes button:hover{border-color:var(--bone)}
.sizes button[aria-pressed="true"]{border-color:var(--blue);background:var(--blue);color:#fff}

/* his words set large across the full width; no eyebrow, no button, no accented words */
.words{background:var(--bone);color:var(--ink);padding:clamp(40px,7vw,110px) var(--pad)}
.words p{font-size:clamp(24px,3.9vw,60px);line-height:1.14;font-weight:600;letter-spacing:-.015em}
.words p+p{margin-top:.8em}
.words.ink{background:var(--ink);color:var(--bone)}
.words.mid p{font-size:clamp(22px,3vw,46px);line-height:1.2}

/* creed poster: blackletter across the full width */
.creed{background:var(--blue);color:#fff;padding:clamp(32px,6vw,90px) var(--pad)}
.creed p{font-family:var(--display);font-size:clamp(56px,13vw,210px);line-height:.86}

/* image strip: photos meeting edge to edge; optional caption burned onto the photo */
.strip{position:relative;display:grid;grid-template-columns:repeat(var(--n,2),1fr)}
.strip img{width:100%;aspect-ratio:3/4;object-fit:cover}
.strip .cap{position:absolute;left:0;right:0;bottom:0;padding:clamp(60px,10vw,160px) var(--pad) clamp(22px,4vw,56px);background:linear-gradient(transparent,rgba(0,0,0,.9));font-family:var(--display);font-size:clamp(38px,6.4vw,104px);line-height:.92;color:var(--bone);pointer-events:none}

/* about: Franklin art opens; his words run large and wrap the curve of the oval */
.ab-open{display:flow-root;background:#000;padding:clamp(24px,4vw,56px) var(--pad) clamp(40px,6vw,88px) 0}
.ab-open img{float:left;width:min(46%,660px);aspect-ratio:1/1;shape-outside:ellipse(35% 47% at 50% 50%);shape-margin:28px;margin-top:-8px}
.ab-open p{font-size:clamp(26px,4.3vw,66px);line-height:1.1;font-weight:600;letter-spacing:-.02em;padding-top:clamp(24px,4vw,64px)}

/* band: a pair of his photos with his words set over the lower edge */
.band{position:relative;display:grid;grid-template-columns:1fr 1fr}
.band img{width:100%;height:min(80vh,780px);object-fit:cover;object-position:center top}
.band .over{position:absolute;left:0;right:0;bottom:0;padding:clamp(80px,14vw,220px) var(--pad) clamp(24px,4vw,56px);background:linear-gradient(transparent,rgba(0,0,0,.55) 30%,rgba(0,0,0,.92));pointer-events:none}
.band .over p{font-size:clamp(24px,3.6vw,56px);line-height:1.12;font-weight:600;letter-spacing:-.015em;color:var(--bone)}
.band .over p.bl{font-family:var(--display);font-weight:400;letter-spacing:0;font-size:clamp(40px,6.6vw,112px);line-height:.92}

/* product page */
.shots{display:grid;grid-template-columns:repeat(4,1fr)}
.shots img{width:100%;height:min(78vh,900px);object-fit:cover;object-position:center top;background:#000}
.shots img.flat{object-fit:contain}
.buybar{display:grid;grid-template-columns:auto auto 1fr auto;gap:clamp(16px,3vw,40px);align-items:center;padding:22px var(--pad) 28px}
.buybar h1{font-family:var(--display);font-weight:400;font-size:clamp(44px,5vw,72px);line-height:.9}
.buybar .price{font-size:24px;font-weight:700;font-variant-numeric:tabular-nums}
.buybar .sizes{max-width:340px;width:100%;justify-self:end}
.buybar .btn{min-width:220px}
.facts{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 28px;font-size:15px;color:var(--mute)}

/* thanks: his photos fill the screen, the thank-you is set on them */
.done{position:relative;display:grid;grid-template-columns:1fr 1fr;background:#000}
.done img{width:100%;height:calc(100svh - 64px);min-height:520px;object-fit:cover;object-position:center top}
.done .over{position:absolute;left:0;right:0;bottom:0;padding:clamp(120px,18vw,260px) var(--pad) clamp(28px,4vw,56px);background:linear-gradient(transparent,rgba(0,0,0,.6) 35%,rgba(0,0,0,.94));display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px 48px}
.done h1{flex:1 1 100%;font-family:var(--display);font-weight:400;font-size:clamp(72px,15vw,240px);line-height:.8}
.done p{font-size:clamp(18px,1.8vw,22px);color:var(--bone)}
.done .home{color:var(--bone);font-weight:600;font-size:18px;min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.done .home:hover{color:var(--blue-text)}
#ref{display:flex;align-items:center;gap:12px}
#ref[hidden]{display:none}
.order-ref{display:inline-block;font-size:clamp(17px,2vw,20px);font-weight:700;border:1px solid var(--edge);padding:10px 14px;user-select:all;word-break:break-all;font-variant-numeric:tabular-nums}

/* footer: information only */
.foot{padding:40px var(--pad) 56px;display:grid;grid-template-columns:repeat(5,1fr);gap:28px;font-size:15px;color:var(--mute)}
.foot b{display:block;color:var(--bone);font-weight:600;font-size:15px;margin-bottom:4px}
.foot a{display:flex;align-items:center;min-height:44px}
.foot a:hover{color:var(--blue-text)}
.foot p{padding:11px 0;line-height:1.55}

/* bag drawer (markup injected by bag.js) */
.scrim{position:fixed;inset:0;background:rgba(0,0,0,.6);opacity:0;pointer-events:none;transition:opacity .25s ease-out;z-index:40}
.drawer{position:fixed;top:0;right:0;height:100%;width:min(420px,100%);background:var(--ink-2);border-left:1px solid var(--line);transform:translateX(100%);transition:transform .25s ease-out;z-index:50;display:flex;flex-direction:column}
body.bag-open .scrim{opacity:1;pointer-events:auto}
body.bag-open .drawer{transform:none}
.drawer header{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid var(--line)}
.drawer header .label{color:var(--bone);font-size:17px;font-weight:600}
.drawer header button{background:none;border:0;color:var(--bone);font-size:26px;cursor:pointer;line-height:1;width:44px;height:44px;margin:-10px -12px -10px 0}
.lines{flex:1;overflow:auto;padding:8px 24px}
.line{display:grid;grid-template-columns:72px 1fr auto;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}
.line img{width:72px;height:72px;object-fit:contain;background:#000}
.line .qty{display:flex;gap:10px;align-items:center;margin-top:6px}
.line .qty button{width:44px;height:44px;font-size:18px;background:none;border:1px solid var(--edge);color:var(--bone);cursor:pointer}
.empty{color:var(--mute);padding:28px 0;display:flex;flex-direction:column;gap:14px}
.empty b{color:var(--bone);font-size:18px}
.empty a{color:var(--blue-text);font-weight:600;text-decoration:underline;text-underline-offset:4px}
.drawer footer{padding:20px 24px 28px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:14px;color:var(--bone)}
.drawer footer .row{display:flex;justify-content:space-between;font-weight:700;font-size:18px;font-variant-numeric:tabular-nums}
/* toast sits top-left, clear of the drawer's Checkout button at every width */
.toast{position:fixed;left:16px;top:16px;max-width:calc(100% - 96px);transform:translateY(-12px);opacity:0;background:var(--bone);color:#000;padding:12px 18px;font-weight:600;font-size:15px;transition:opacity .25s ease-out,transform .25s ease-out;z-index:60;pointer-events:none}
.toast.on{opacity:1;transform:none}

@media (max-width:960px){
  .grid{grid-template-columns:1fr 1fr}
  .grid .cell{aspect-ratio:auto;min-height:0}
  .grid .cell img{position:static;display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
  .grid .tile{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:end}
  .shots{grid-template-columns:1fr 1fr}
  .shots img{height:auto;aspect-ratio:3/4}
  .buybar{grid-template-columns:1fr auto}
  .buybar .sizes{grid-column:1/-1;max-width:none;justify-self:stretch}
  .buybar .btn{grid-column:1/-1;width:100%}
  .foot{grid-template-columns:1fr 1fr}
}

/* phone: designed at 390px, not shrunk from desktop */
@media (max-width:600px){
  body{font-size:16px}
  .nav .bar{height:58px}
  .nav .logo img{height:32px}
  .nav ul{font-size:15px;gap:0}
  .nav ul a{padding:0 10px}
  .bag-btn{font-size:15px;padding:9px 12px}
  .open{grid-template-columns:1fr}
  .open img{height:auto;aspect-ratio:821/1400}
  .open .alt{display:none}
  .grid .tile{display:block}
  .tile .flip{aspect-ratio:1/1}
  .grid .cell.wide{grid-column:1/-1}
  .grid .cell.wide img{aspect-ratio:1/1}
  .strip{--n:2}
  .strip.four{--n:2!important}
  /* swipe gallery: each photo is 80% wide so the next one shows at the edge */
  .shots{display:flex;gap:4px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scroll-padding-left:var(--pad);padding-left:var(--pad)}
  .shots img{flex:0 0 80%;width:80%;min-width:0;scroll-snap-align:start}
  .shots::after{content:"";flex:0 0 var(--pad)}
  .buybar{padding-top:18px}
  .ab-open{padding:0 0 40px}
  .ab-open img{float:none;width:100%;shape-outside:none;margin:0}
  .ab-open p{padding:4px var(--pad) 0}
  .band img{height:auto;aspect-ratio:3/4}
  .band .over{grid-column:1/-1;position:static;padding:22px var(--pad) 40px;background:#000}
  .done{grid-template-columns:1fr}
  .done img{height:78svh;min-height:0}
  .done img+img{display:none}
  .done .over{padding-top:140px}
  #ref{flex-wrap:wrap}
}

@media (prefers-reduced-motion:reduce){
  .ticker .track{animation:none}
  *{transition:none!important;scroll-behavior:auto!important}
}

/* Saxon Foundry footer credit, same as Rosie's. */
.sf-credit{color:inherit;text-decoration:none}
.sf-mark{font-family:"Darker Grotesque",sans-serif;font-weight:700;font-size:1.08em;letter-spacing:.01em;text-transform:none;margin-left:3px;transition:opacity .2s ease}
.sf-credit:hover .sf-mark{opacity:.7}

