/* Olsen Bake Shop — Standard tier custom demo */
/* Thesis: A bakery shopfront poster from the year your great-grandmother remembered */

:root {
  --ink:      #1a1612;          /* warm brown-black, woodblock-print ink */
  --ink-soft: #2c241c;
  --butter:   #f0e3a8;          /* Hungarian-flag-coded butter yellow paper */
  --butter-deep: #ecdfa3;
  --cream-2:  #ebe4d0;          /* secondary surface */
  --paprika:  #b81e1e;          /* Hungarian-flag-coded brand red */
  --paprika-deep: #8a1616;
  --rye:      #5b4624;          /* dark rye / wheat brown for muted text */
  --line:     #c9b88a;          /* warm wheat-tinged hairline */
  --line-dark:#3d3326;
}

html { scroll-behavior: smooth; color-scheme: light; }
body {
  background: var(--butter);
  color: var(--ink);
  font-family: 'Lora', Georgia, serif;
  font-feature-settings: "liga" 1, "kern" 1, "onum" 1;
}

::selection { background: var(--paprika); color: var(--butter); }

/* Display + body utility classes */
.font-display { font-family: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif; }
.font-text    { font-family: 'Libre Caslon Text', Georgia, serif; }
.font-body    { font-family: 'Lora', Georgia, serif; }

/* Small caps label — period-fidelity */
.smallcaps {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: all-small-caps;
  letter-spacing: 0.16em;
  font-weight: 600;
}

/* Plaque label — uppercase tracked, used very sparingly */
.plaque {
  font-family: 'Libre Caslon Text', Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--paprika);
}

/* Brochure rule — heavy ink between sections */
.rule {
  border: 0;
  border-top: 2px solid var(--ink);
  height: 0;
}
.rule-thin {
  border: 0;
  border-top: 1px solid var(--line);
}

/* Top-band stripe — like a printed letterhead band */
.stripe-top {
  background: var(--ink);
  color: var(--butter);
}

/* Photo placeholder — bakery-glass / sepia warmth */
.photo-fill {
  background:
    radial-gradient(ellipse at 30% 25%, rgba(240, 227, 168, 0.28), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(184, 30, 30, 0.18), transparent 60%),
    linear-gradient(165deg, #4a3a26 0%, #2c241c 50%, #1a1612 100%);
  position: relative;
  overflow: hidden;
}
.photo-fill::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 3px, rgba(240,227,168,0.015) 3px 4px);
  pointer-events: none;
}
.photo-fill[data-label]::before {
  content: attr(data-label);
  position: absolute; inset: auto 0 1.25rem 0;
  text-align: center;
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: all-small-caps;
  letter-spacing: 0.18em;
  font-size: 0.65rem;
  color: rgba(240, 227, 168, 0.5);
  pointer-events: none;
  z-index: 1;
}

/* Light photo placeholder for cream-section contexts */
.photo-fill-light {
  background:
    radial-gradient(ellipse at 30% 25%, rgba(184, 30, 30, 0.12), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(91, 70, 36, 0.18), transparent 60%),
    linear-gradient(165deg, #d9c682 0%, #c9b88a 50%, #b8a874 100%);
  position: relative;
  overflow: hidden;
}

/* Display number — for prices, years */
.display-number {
  font-family: 'Libre Caslon Display', Georgia, serif;
  font-feature-settings: "lnum" 1;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Menu line — bakery price card rhythm */
.menu-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.6rem 0;
  border-bottom: 1px dotted var(--line);
}
.menu-row .leader { flex: 1 1 0; min-width: 1rem; }
.menu-row .name { font-family: 'Lora', Georgia, serif; font-weight: 500; font-size: 1.05rem; }
.menu-row .price { font-family: 'Libre Caslon Display', Georgia, serif; font-weight: 700; font-size: 1.1rem; color: var(--ink); }

/* CTA buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--paprika); color: var(--butter);
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: all-small-caps;
  letter-spacing: 0.16em;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border: 2px solid var(--paprika);
  transition: all 150ms ease;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--paprika-deep);
  border-color: var(--paprika-deep);
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: transparent; color: var(--ink);
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-variant: all-small-caps;
  letter-spacing: 0.16em;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border: 2px solid var(--ink);
  transition: all 150ms ease;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--butter);
}

/* Card */
.card {
  background: #fbf6df;
  border: 1px solid var(--line);
  padding: 2rem;
}

/* Footer band */
.footer-stripe {
  background: var(--ink);
  color: var(--butter-deep);
}

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

/* Mobile tweaks */
section[id] { scroll-margin-top: 4.5rem; }
