/* ==========================================================================
   BiCafe — Design 2 theme. From the BiCafe brand guidelines. Very minimal:
   black ground, white type, hairline rules, BiCafe red used small.
   Shared by every page.
   ========================================================================== */

:root {
  /* BiCafe brand palette (70 / 20 / 10):
     black carries the brand, white is for type, red is an accent used small. */
  --noir: #0B0B0B;           /* Noir Black */
  --white: #FFFFFF;
  --red: #C8102E;            /* BiCafe Red */
  --maroon: #6E0A14;         /* Deep Maroon */
  --graphite: #6B6B6B;
  --ash: #1C1C1C;

  /* Roles used by the pages */
  --bg: var(--noir);
  --fg: var(--white);
  --tile: #161616;           /* panel behind drink photos */
  --ink-soft: rgba(255, 255, 255, 0.62);
  --line: rgba(200, 16, 46, 0.55);    /* red hairline for grids */
  --rule: rgba(255, 255, 255, 0.14);  /* neutral hairline */
  --peach: #F4D8B4;          /* coming soon page type */

  /* Type: Helvetica Neue for headlines and body, a Gilroy-like geometric for
     labels and numbers, JetBrains Mono for the tagline. Inter and Plus Jakarta Sans
     stand in where the licensed faces aren't installed. */
  --font-head: 'Helvetica Neue', 'Inter', Helvetica, Arial, sans-serif;
  --font-sans: var(--font-head);
  --font-label: 'Gilroy', 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  /* Layout */
  --gutter: clamp(1.25rem, 3.5vw, 3rem);
  --max: 1360px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* Small uppercase label */
.label {
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Tagline: wide-tracked mono */
.tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
}

/* The red asterisk from the wordmark */
.ast {
  color: var(--red);
}

/* Film grain (coming soon page) */
.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.25em);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

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