/* navi.css — the new storefront's one look (V15). Every page links it; nothing else sets colours, type or corners.
   Natalie, 11-01: Bodoni Moda for headers, member names and prices; Brygada 1918 for everything smaller. Her pastel
   glass: frost (a backdrop blur) ONLY on the few things that float (the header, a bar, a sheet) — a blur on big
   sections costs iPhone memory (the 10-30 crash). Card corners: 5/32 inch on a 55 × 85 mm photocard, at any size. */

@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(/fonts/bodoni-moda-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(/fonts/bodoni-moda-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/bodoni-moda-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/bodoni-moda-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Brygada 1918"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(/fonts/brygada-1918-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Brygada 1918"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(/fonts/brygada-1918-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Brygada 1918"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/brygada-1918-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Brygada 1918"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/brygada-1918-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ground: #FBF4F6;
  --ink: #3A2A30;          /* text, the dark buttons */
  --ink-soft: #5E4A53;     /* secondary text */
  --ink-dim: #68545D;      /* hints: 6.4:1 on the ground, 4.6 where her ribbon runs behind (was #6E5A63: 4.2 there — V17) */
  --accent: #95395B;       /* prices, links, the badge: 6.4:1 on the ground, 4.56 on her ribbon's deepest pink, 7.0 under
                              white text (was #A8466A: 3.9 over the ribbon — one shade deeper, Chris 11-10, V17 §10.4) */
  --on-ink: #FFF7FA;
  --field-line: #B7788F;   /* a typing box's edge: her pink, deeper — 3.4:1 on white, 3.3 on the glass (the guideline for a
                              control's edge is 3:1; the pale edge before it read 1.4 — Chris 11-11, V17 §11) */
  --blush: #F4C9D6;
  --lilac: #E9DDF7;
  --white-line: rgba(255, 255, 255, .92);
  --lift: 0 14px 34px rgba(160, 72, 104, .10), 0 2px 6px rgba(160, 72, 104, .05);
  --card-shadow: 0 12px 24px rgba(90, 40, 60, .22), 0 2px 4px rgba(90, 40, 60, .10);
  --display: "Bodoni Moda", "Didot", Georgia, serif;
  --text: "Brygada 1918", Georgia, serif;
  --pc-radius: 7.2% / 4.67%;   /* 3.97 mm on 55 × 85 mm: a true round corner at any width */
  --gutter: 16px;
  --page: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }   /* the floating header's height: a focused link never lands under it */
body {
  margin: 0; min-height: 100vh; background: var(--ground); color: var(--ink);
  font: 400 16px/1.5 var(--text); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::placeholder { color: var(--ink-dim); opacity: 1; }   /* every browser's own grey is paler (Safari's reads 2.3:1) */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* The first Tab on every page: past the header to the page itself (each page's own line, before its header). Off screen
   until it has the keyboard's focus. */
.skip-link {
  position: absolute; left: 12px; top: 12px; z-index: 200; padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); font-weight: 600; text-decoration: none; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }   /* the skip link's landing: the page itself, not a ring round all of it */

/* ── Type ── */
.display, h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h1 { font-size: 46px; line-height: 1.05; }
h2 { font-size: 32px; line-height: 1.1; }
h3 { font-size: 24px; line-height: 1.15; }
.kicker { margin: 0; font-style: italic; font-size: 19px; color: var(--accent); }
.hint { margin: 4px 0 0; font-size: 15px; color: var(--ink-dim); }
.name { font-family: var(--display); font-weight: 600; }       /* a member's name */
.price { font-family: var(--display); font-weight: 700; color: var(--accent); }
@media (min-width: 900px) {
  h1 { font-size: 64px; }
  h2 { font-size: 40px; }
  .kicker { font-size: 22px; }
}

/* ── The page ── */
.page { position: relative; z-index: 1; width: 100%; max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto;
        padding: 12px var(--gutter) 0; }
@media (min-width: 900px) { .page { padding-top: 20px; } }
.stack > * + * { margin-top: 24px; }

/* Her ribbon floats behind the glass: a layer the size of the page, never a fixed one that repaints on scroll. */
.ribbons { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ribbons img { position: absolute; display: block; height: auto; user-select: none; }

/* ── Glass ── a panel (no blur) and frost (with a blur: floating things only) */
.glass {
  background: linear-gradient(140deg, rgba(255,255,255,.84), rgba(255,255,255,.56) 46%, rgba(255,255,255,.70));
  border: 1px solid var(--white-line);
  box-shadow: inset 0 1px 0 #fff, inset 0 -12px 26px rgba(255,255,255,.20), var(--lift);
}
.frost {
  background: linear-gradient(140deg, rgba(255,255,255,.82), rgba(255,255,255,.46) 46%, rgba(255,255,255,.62));
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--white-line);
  box-shadow: inset 0 1px 0 #fff, var(--lift);
}
.panel { border-radius: 32px; padding: 20px 22px 22px; }
@media (min-width: 900px) { .panel { border-radius: 36px; padding: 28px 32px 32px; } }

/* ── Buttons ── 44 px or more to tap */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 0; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: transform .15s var(--ease), background-color .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-soft { background: rgba(255,255,255,.8); color: var(--ink); border: 1px solid #fff; box-shadow: 0 4px 14px rgba(160,72,104,.10); }
.btn-block { display: flex; width: 100%; }
.icon-btn {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative;
  text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover { background: rgba(255,255,255,.7); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--accent); text-decoration: none; }

/* Tabs: a frosted pill of choices (aria-pressed marks the one on) */
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; }
.tabs button {
  flex: 1; min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft);
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; position: relative;
}
.tabs button::after { content: ""; position: absolute; inset: -4px 0; }   /* 48 to the thumb: the pill's own padding */
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }

/* ── A photocard ── its own shape, at any size */
.pc {
  display: block; position: relative; aspect-ratio: 55 / 85; border-radius: var(--pc-radius); overflow: hidden;
  background: #fff; box-shadow: var(--card-shadow);
}
.pc > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pc.framed { outline: 2px solid rgba(255,255,255,.95); outline-offset: -2px; }
.badge {
  position: absolute; top: 5px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--accent); color: #fff; font: 700 11px/17px var(--text); text-align: center;
}
.badge[hidden] { display: none; }

/* ── Header ── the one floating bar with frost */
.site-header {
  position: sticky; top: 8px; z-index: 20; height: 56px; border-radius: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 6px 0 18px;
}
.site-header .logo { display: flex; align-items: center; min-height: 44px; }
.site-header .logo img { height: 28px; width: auto; display: block; }
.site-header .tools { display: flex; gap: 2px; align-items: center; }
.site-header nav { display: none; }
.site-header .search { display: none; }
@media (min-width: 900px) {
  .site-header { height: 64px; border-radius: 32px; padding: 0 10px 0 26px; top: 12px; }
  .site-header .logo img { height: 32px; }
  .site-header nav { display: flex; gap: 2px; }
  .site-header nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; }
  .site-header nav a:hover, .site-header nav a[aria-current="page"] { background: rgba(255,255,255,.7); }
  .site-header .search {
    display: flex; align-items: center; gap: 8px; width: 230px; height: 44px; padding: 0 14px; border-radius: 22px;
    background: rgba(255,255,255,.7); border: 1px solid #fff;
  }
  .site-header .search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 15px; outline: none; }
  .site-header .search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }   /* the box wears the input's focus */
  .site-header .search-btn { display: none; }
}

/* ── Footer ── */
.site-footer { padding: 40px 0 32px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.site-footer img { width: 96px; height: auto; display: block; }
.site-footer p { margin: 0; font-size: 15px; line-height: 1.45; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; font-size: 14px; }
.site-footer nav a { padding: 12px 8px; min-width: 44px; }

/* ── Motion ── short, on small things only; none for those who ask for none */
@keyframes navi-deal { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes navi-sheen { from { transform: translateX(-170%) skewX(-18deg); } to { transform: translateX(330%) skewX(-18deg); } }
@keyframes navi-fade { from { opacity: 0; } to { opacity: 1; } }
.fade-in { animation: navi-fade .4s ease both; }
/* "Added to your bag!" on the button (11-02): a small check draws itself. Drawn by default, so with motion off (the
   rule below stops every animation) it is simply there. */
.btn-added { pointer-events: none; animation: added-in .28s var(--ease) both; }
.btn-added .check-draw path { stroke-dasharray: 24; animation: check-draw .5s var(--ease) .08s both; }
@keyframes added-in { from { transform: scale(.97); opacity: .85; } }
@keyframes check-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Her ribbon's three loops (the canvas's places): phone, then computer */
body { position: relative; }
.ribbons .r1 { left: -120px; top: 40px; width: 560px; transform: rotate(-12deg); }
.ribbons .r2 { left: -60px; top: 48%; width: 520px; transform: rotate(160deg); opacity: .9; }
.ribbons .r3 { left: -140px; top: 76%; width: 560px; transform: rotate(-25deg); opacity: .85; }
@media (min-width: 900px) {
  .ribbons .r1 { left: auto; right: -120px; top: -160px; width: 760px; transform: none; }
  .ribbons .r2 { left: -240px; top: 22%; width: 720px; transform: none; opacity: 1; }
  .ribbons .r3 { left: auto; right: -100px; top: 60%; width: 700px; transform: none; opacity: 1; }
}

/* ── Shop Access: the banner (paused) and the curtain (locked) ── */
.shop-banner { margin: 12px 0 0; padding: 12px 16px; border-radius: 20px; font-size: 15px; text-align: center; }
html.locked, html.locked body { overflow: hidden; }
.lock-curtain {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(251, 244, 246, .72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.lock-box { width: 100%; max-width: 380px; border-radius: 32px; padding: 28px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.lock-msg { font-size: 26px; line-height: 1.2; }
.lock-form { display: flex; gap: 8px; width: 100%; }
.lock-form[hidden] { display: none; }
.lock-form input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border-radius: 25px; border: 1px solid var(--field-line); background: rgba(255,255,255,.85); font-size: 16px; }
.lock-err { margin: 0; min-height: 1.4em; color: var(--accent); font-size: 15px; }

/* The account button's card, on a computer (chrome.js; Chris, 11-03): who's signed in, and the way to the full profile */
.acct-card[popover] {
  position: fixed; inset: auto; margin: 0; width: 280px; max-width: calc(100vw - 24px); padding: 18px 18px 16px;
  border-radius: 24px; color: var(--ink); overflow: visible;
}
.acct-card .acct-kicker { margin: 0; font-size: 13px; color: var(--ink-dim); }
.acct-card .acct-name { margin: 2px 0 0; font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.2; overflow-wrap: anywhere; }
.acct-card .acct-email { margin: 2px 0 0; font-size: 14px; color: var(--ink-soft); overflow-wrap: anywhere; }
.acct-card .btn { margin-top: 14px; min-height: 44px; font-size: 15px; }
