/* Theme kit "premium": fine dining. Ivory, ink and muted gold, Cormorant
   Garamond titles over a light sans. Scoped to .theme-kit--premium
   (test/lib/theme_kit_css_scope_convention_test.rb); layout lives in
   app/views/theme_kits/_band.html.erb, this sheet carries look and motion only.
   Motion uses opacity and the individual scale property, never `transform`, so
   the band's RTL mirror (rtl:-scale-x-100) is kept. */

.theme-kit--premium {
  --tk-display: 'Cormorant Garamond', 'Noto Serif', 'Noto Serif Armenian', 'Noto Naskh Arabic', 'Noto Serif Hebrew',
    'Noto Serif JP', 'Noto Serif SC', 'Noto Serif KR', 'Noto Serif Thai', 'Noto Serif Devanagari',
    'Noto Serif Bengali', 'Noto Serif Tamil', 'Noto Serif Telugu', 'Noto Serif Ethiopic', Georgia, serif;
  --tk-band-ink: #161412;
  --tk-band-scrim: 247, 243, 234;
}

/* Text never sits on the art: a near-solid wash of the band colour under it. */
.theme-kit--premium .tk-band__scrim {
  background: linear-gradient(90deg, rgba(var(--tk-band-scrim), .94) 0%, rgba(var(--tk-band-scrim), .86) 42%, rgba(var(--tk-band-scrim), 0) 66%);
}
.theme-kit--premium[dir="rtl"] .tk-band__scrim {
  background: linear-gradient(270deg, rgba(var(--tk-band-scrim), .94) 0%, rgba(var(--tk-band-scrim), .86) 42%, rgba(var(--tk-band-scrim), 0) 66%);
}

.theme-kit--premium .tk-name {
  font-family: var(--tk-display);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(2rem, 9cqw, 2.875rem);
  line-height: 1.05;
  letter-spacing: .06em;
  color: var(--tk-band-ink);
}
.theme-kit--premium .tk-band--short .tk-name { font-size: 1.625rem; }
.theme-kit--premium .tk-band__kicker {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #7a5a22;
}

.theme-kit--premium .tk-tag { background: #f1eadc; color: #5e4519; }

/* Variant premium.noche: fine dining at night, gold line on black. */
.theme-kit--premium.theme-kit--premium-noche {
  --tk-display: 'Cormorant Garamond', 'Noto Serif', 'Noto Serif Armenian', 'Noto Naskh Arabic', 'Noto Serif Hebrew',
    'Noto Serif JP', 'Noto Serif SC', 'Noto Serif KR', 'Noto Serif Thai', 'Noto Serif Devanagari',
    'Noto Serif Bengali', 'Noto Serif Tamil', 'Noto Serif Telugu', 'Noto Serif Ethiopic', Georgia, serif;
  --tk-band-ink: #ede8df;
  --tk-band-scrim: 14, 14, 14;
}
.theme-kit--premium.theme-kit--premium-noche .tk-name {
  font-style: normal;
  font-weight: 500;
  font-size: clamp(2rem, 9.5cqw, 3rem);
  line-height: 1.02;
  letter-spacing: .04em;
  text-transform: none;
  text-shadow: none;
}
.theme-kit--premium.theme-kit--premium-noche .tk-band--short .tk-name { font-size: 1.625rem; }
.theme-kit--premium.theme-kit--premium-noche .tk-band__kicker {
  font-family: inherit;
  font-weight: 500;
  letter-spacing: .3em;
  color: #c8a96a;
}

.theme-kit--premium.theme-kit--premium-noche .tk-tag { background: #1f1d1a; color: #e2c88e; }

/* Variant premium.zen: sushi, washi cream, ink and vermilion. */
.theme-kit--premium.theme-kit--premium-zen {
  --tk-display: 'Shippori Mincho', 'Noto Serif', 'Noto Serif Armenian', 'Noto Naskh Arabic', 'Noto Serif Hebrew',
    'Noto Serif JP', 'Noto Serif SC', 'Noto Serif KR', 'Noto Serif Thai', 'Noto Serif Devanagari',
    'Noto Serif Bengali', 'Noto Serif Tamil', 'Noto Serif Telugu', 'Noto Serif Ethiopic', Georgia, serif;
  --tk-band-ink: #1b1b1b;
  --tk-band-scrim: 244, 239, 227;
}
.theme-kit--premium.theme-kit--premium-zen .tk-name {
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.875rem, 8.5cqw, 2.75rem);
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: none;
  text-shadow: none;
}
.theme-kit--premium.theme-kit--premium-zen .tk-band--short .tk-name { font-size: 1.625rem; }
.theme-kit--premium.theme-kit--premium-zen .tk-band__kicker {
  font-family: inherit;
  font-weight: 500;
  letter-spacing: .3em;
  color: #9e3324;
}

.theme-kit--premium.theme-kit--premium-zen .tk-tag { background: #f1e6da; color: #9e3324; }

/* Photographic premium.foto: the photo fills the band under the shared wash
   (base.css, .tk-band--photo); here only its letters. */
.theme-kit--premium.theme-kit--premium-foto {
  --tk-display: 'Cormorant Garamond', 'Noto Serif', 'Noto Serif Armenian', 'Noto Naskh Arabic', 'Noto Serif Hebrew',
    'Noto Serif JP', 'Noto Serif SC', 'Noto Serif KR', 'Noto Serif Thai', 'Noto Serif Devanagari',
    'Noto Serif Bengali', 'Noto Serif Tamil', 'Noto Serif Telugu', 'Noto Serif Ethiopic', Georgia, serif;
  --tk-band-ink: #171513;
  --tk-band-scrim: 246, 243, 238;
}
.theme-kit--premium.theme-kit--premium-foto .tk-name {
  font-style: normal;
  font-weight: 500;
  font-size: clamp(2rem, 9cqw, 2.75rem);
  line-height: 1.05;
  letter-spacing: .04em;
  text-transform: none;
  text-shadow: none;
}
.theme-kit--premium.theme-kit--premium-foto .tk-band--short .tk-name { font-size: 1.625rem; }
.theme-kit--premium.theme-kit--premium-foto .tk-band__kicker {
  font-family: inherit;
  font-weight: 600;
  letter-spacing: .16em;
  color: #7a5a22;
}

.theme-kit--premium.theme-kit--premium-foto .tk-tag { background: #f1eadc; color: #5e4519; }

/* The candle glow flickers three times, then stays lit. */
@keyframes tk-premium-candle {
  0%, 100% { opacity: 1; }
  30% { opacity: .5; }
  60% { opacity: .85; }
}
.theme-kit--premium.theme-kit--premium-noche .tk-band:not(.tk-still) .tk-premium-candle { animation: tk-premium-candle 1.4s ease-in-out 3; }
@media (prefers-reduced-motion: reduce) {
  .theme-kit--premium .tk-premium-candle { animation: none !important; }
}

/* ---- Menu, in the kit template (base.css; docs/strategy/THEMES_FIDELIDAD.md) ---- */

/* Premium: fine dining, serious and minimal. Cormorant titles in spaced
   capitals, centred over a gold hairline; light Jost text; prices in the title
   face; the sections as underlined tabs instead of chips. */
.theme-kit--premium.theme-kit {
  --theme-font: 'Jost', var(--tk-sans);
  --tk-h2-size: 1.375rem;
  --tk-h2-weight: 600;
  --tk-h2-transform: uppercase;
  --tk-h2-spacing: .18em;
  --tk-name-weight: 400;
  --tk-name-size: 1rem;
  --tk-price-font: var(--tk-display);
  --tk-price-size: 1.1875rem;
  --tk-price-weight: 600;
  --tk-tag-bg: transparent;
  --tk-tag-color: var(--theme-primary);
}
.theme-kit--premium .tk-section__head::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: .875rem auto 0;
  background: var(--theme-accent);
}
.theme-kit--premium .tk-tag { border: 1px solid currentColor; font-weight: 500; letter-spacing: .06em; }
.theme-kit--premium [data-section-nav-target="pill"] {
  padding: .5rem .125rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--theme-muted);
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
}
/* The one button that stands in for the tabs when they do not fit (section-nav's
   compact mode) names the current section, so it reads as the active tab. */
.theme-kit--premium [data-section-nav-target="compactButton"] {
  border: 0;
  border-bottom: 2px solid var(--theme-primary);
  border-radius: 0;
  background: transparent;
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.theme-kit--premium [data-section-nav-target="pill"].bg-theme-text {
  background: transparent;
  color: var(--theme-text);
  border-color: transparent;
  border-bottom-color: var(--theme-primary);
  font-weight: 500;
}

/* Premium · noche: the same restraint in black and gold. */
.theme-kit--premium.theme-kit--premium-noche { --tk-tag-color: #c8a96a; }

/* Premium · zen: a Japanese counter. Shippori titles flush left after a small
   red seal, fine rules between dishes. */
.theme-kit--premium.theme-kit--premium-zen {
  --tk-h2-align: start;
  --tk-h2-transform: none;
  --tk-h2-spacing: .02em;
  --tk-h2-size: 1.5rem;
  --tk-h2-weight: 700;
  --tk-price-font: inherit;
  --tk-price-size: 1rem;
  --tk-price-weight: 500;
  --tk-price-color: var(--theme-text);
  --tk-rule: #e6dfd0;
}
.theme-kit--premium.theme-kit--premium-zen .tk-section__head::after { display: none; }
.theme-kit--premium.theme-kit--premium-zen .tk-section__title::before {
  content: "";
  display: inline-block;
  width: .5rem;
  height: .5rem;
  margin-inline-end: .625rem;
  vertical-align: .2em;
  background: #b23a2a;
}
.theme-kit--premium.theme-kit--premium-zen .tk-dish + .tk-dish { border-top: 1px solid var(--tk-rule); }

/* Premium · foto: the premium carta under a photographic header. */
.theme-kit--premium.theme-kit--premium-foto { --tk-tag-color: #7a5a22; }
