/* ============================================================
   Cocktail Wars — design tokens, fonts and base styles
   Colours sampled from the original Canva site.
   ============================================================ */
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-latin.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --ink: #141010;
  --cream: #F3E2CF;
  --paper: #EFE1D0;
  --card-cream: #FDEBD7;
  --pink: #F87AA6;
  --pink-soft: #F9B4C6;
  --pink-pale: #FBD3DC;
  --neon: #FB8283;
  --neon-glow: #FF3D7F;
  --gold: #DEC19A;
  --score-gold: #F1CF71;
  --bottle: #041310;
  --bottle-2: #0B1F1A;
  --crimson: #7B061D;
  --crimson-bright: #9A0029;
  --crimson-deep: #3A0310;
  --white: #FFFFFF;

  --f-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-btn: 'Archivo', 'Montserrat', system-ui, sans-serif;
  --f-serif: 'Playfair Display', 'Didot', 'Bodoni 72', Georgia, serif;
  --f-neon: 'Yellowtail', 'Brush Script MT', cursive;
  --f-script: 'Kaushan Script', 'Brush Script MT', cursive;
  --f-marker: 'Permanent Marker', 'Marker Felt', 'Comic Sans MS', cursive;
  --f-hand: 'Caveat', 'Bradley Hand', 'Segoe Print', cursive;

  --radius: 14px;
  --pill: 999px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --tap: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
main, main:focus, main:focus-visible { display: block; outline: none; }
strong, b { font-weight: 700; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--pink); color: var(--black); padding: 10px 16px; border-radius: var(--pill); font-weight: 700;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--score-gold); outline-offset: 3px; }

.center { text-align: center; }
.noscript { padding: 40px; text-align: center; }

/* Type helpers */
.serif-title { font-family: var(--f-serif); font-weight: 900; line-height: .95; letter-spacing: -.01em; text-transform: uppercase; }
.serif-title.xl { font-size: clamp(2.4rem, 7vw, 4.6rem); }
.script, .script-title { font-family: var(--f-script); font-weight: 400; }
.hand { font-family: var(--f-hand); font-weight: 500; line-height: 1.15; }
.marker { font-family: var(--f-marker); font-weight: 400; letter-spacing: .01em; }
.spaced-caps { text-transform: uppercase; letter-spacing: .28em; font-weight: 600; font-size: .85rem; }
.neon {
  font-family: var(--f-neon); color: #FFE3E8; font-weight: 400;
  text-shadow: 0 0 4px var(--neon), 0 0 12px var(--neon-glow), 0 0 26px var(--neon-glow);
}
.pink-script { font-family: var(--f-script); color: #E0245E; }
.hl { color: #E5484D; font-weight: 600; }

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