/* Victorious Innovations — shared brand tokens for all three plan mockups.
   Type: Cormorant (display, scripture) + Libre Franklin (UI, body). Palette: black, gold leaf, ivory. */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Cormorant:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Libre+Franklin:wght@400;500;600;700&family=Bodoni+Moda:opsz,wght@6..96,600&display=swap');

:root {
  --black: #000;
  --night: #0d0b08;        /* panels on black */
  --ember: #1a130a;        /* warm panel */
  --line: #33281a;         /* hairlines on dark */
  --ivory: #f4ede1;        /* light sections + the print colour */
  --paper: #fbf8f2;
  --stone: #57534e;        /* body text on light */
  --gold: #c9a04a;
  --gold-hi: #e6c87d;
  --gold-deep: #8a5a0c;    /* gold text on light backgrounds (AA) */
  --muted: #b3a68f;        /* secondary text on dark */
  --paperwarm: #ece5d8;    /* warm backdrop behind product photos */
  --ok: #7fc8a0;
  --display: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --ui: "Libre Franklin", "Segoe UI", system-ui, sans-serif;
  --r: 2px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--ivory); font: 400 16px/1.7 var(--ui); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
.serif-i { font-family: var(--display); font-style: italic; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border-radius: var(--r); font: 600 13px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: #120d05; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn-line { background: transparent; color: var(--ivory); border-color: rgba(244,237,225,.4); }
.btn-line:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.btn-dark { background: #000; color: var(--ivory); border-color: #000; }
.btn-dark:hover { background: #222; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Form bits */
.field { display: grid; gap: 6px; font: 600 12px var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select { font: 400 16px var(--ui); letter-spacing: 0; text-transform: none; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; min-height: 50px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }

/* Size + color pickers */
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button { min-width: 54px; min-height: 46px; padding: 0 10px; border: 1px solid var(--line); background: transparent; color: inherit; font: 600 13px var(--ui); cursor: pointer; border-radius: var(--r); }
.sizes button[aria-pressed="true"] { border-color: var(--gold); background: rgba(201,160,74,.15); color: var(--gold-hi); }
.swatches { display: flex; gap: 12px; }
.swatches button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); cursor: pointer; position: relative; padding: 0; }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--black), 0 0 0 3px var(--gold-hi); }
.swatches button:disabled { cursor: not-allowed; opacity: .5; }
.swatches button:disabled::after { content: ""; position: absolute; left: 50%; top: 5px; bottom: 5px; width: 1.5px; background: currentColor; color: #e9e1d2; transform: rotate(45deg); }

/* Garment art holder */
.art { display: grid; place-items: center; }
.art svg { width: 100%; height: auto; }
.sample { font: italic 500 15px var(--display); color: var(--muted); }

/* Mockup bar: sits in the page flow at the very top, so it never covers a button */
.plan-ribbon { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--ivory); color: #17120a; font: 500 13px/1.3 var(--ui); padding: 8px 16px; text-align: center; }
.plan-ribbon b { font-weight: 700; color: var(--gold-deep); }
.plan-ribbon a { color: #17120a; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 36px; display: inline-flex; align-items: center; }

/* Product photographs */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.art.is-photo { padding: 0 !important; background: var(--paperwarm) !important; overflow: hidden; }
.art.is-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.ph:has(.art.is-photo) { padding: 0 !important; }
a:hover .art.is-photo img { transform: scale(1.025); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Product photos sit on warm paper, not stark white */
img[src*="/img/ps91-"] { mix-blend-mode: multiply; }
