/* The Rolling Carinderia — teaser page styles
   Tokens come from tokens.css (colors, type, spacing, card style). */

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

body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-char);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.5rem, 8vw, var(--text-3xl)); color: var(--color-red); }
h2 { font-size: clamp(1.75rem, 5vw, var(--text-2xl)); }

a { color: var(--color-blue); }

.eyebrow {
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-blue);
  margin: var(--space-3) 0 var(--space-1);
}

/* — Gold rules: dividers only, never text — */
.rule-gold {
  border: none;
  border-top: 4px solid var(--color-gold);
  width: 72px;
  margin: 0 0 var(--space-3);
}
.rule-gold--center { margin-inline: auto; }

/* — Buttons — */
.btn {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  text-decoration: none;
  border: 2px solid var(--color-char);
  border-radius: var(--radius-btn);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(26, 22, 14, 0.12);
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover, .btn:focus-visible { background: var(--color-red-dark); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(26, 22, 14, 0.12); }
.btn--small { padding: 0.5rem 1rem; font-size: var(--text-sm); box-shadow: none; }

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

/* — Sticky bar — */
.stickybar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem var(--space-3);
  background: var(--color-cream);
  border-bottom: 2px solid var(--color-char);
  transform: translateY(-100%);
  transition: transform 0.25s ease;
}
.stickybar.is-visible { transform: translateY(0); }
.stickybar__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-base);
  margin-right: auto;
}

/* — Hero — */
.hero { padding: var(--space-section) 0; text-align: center; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__mark { width: clamp(120px, 20vw, 160px); }
.hero__hook {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, var(--text-2xl));
  text-transform: uppercase;
  margin: 0 0 var(--space-2);
}
.hero__sub {
  font-size: var(--text-lg);
  max-width: 40rem;
  margin: 0 0 var(--space-3);
}

.badge {
  display: inline-block;
  background: var(--color-white);
  border: var(--border-card);
  border-radius: 999px;
  padding: 0.375rem 1.25rem;
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
}

/* — Email signup — */
.signup { width: 100%; max-width: 34rem; }
.signup__row { display: flex; gap: var(--space-1); flex-wrap: wrap; justify-content: center; }
.signup__input {
  flex: 1 1 14rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 0.75rem 1rem;
  border: var(--border-card);
  border-radius: var(--radius-btn);
  background: var(--color-white);
  color: var(--color-char);
}
.signup__micro { font-size: var(--text-xs); margin: var(--space-1) 0 0; }
.signup__msg { font-weight: 600; min-height: 1.5em; margin: var(--space-1) 0 0; }
.signup__msg.is-success { color: var(--color-green); }
.signup__msg.is-error { color: var(--color-red-dark); }

/* honeypot — visually removed, still in the DOM for bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* — Sections & cards — */
.section { padding: var(--space-section) 0; }

.card {
  background: var(--color-white);
  border: var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-4);
}
.card--about {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
}
.card--center { text-align: center; }
.card--center .btn { margin-top: var(--space-2); }

.photo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  border: 2px dashed var(--color-char);
  border-radius: var(--radius-card);
  min-height: 220px;
}
.photo-slot img { opacity: 0.18; }

.catering { margin-top: var(--space-3); font-size: var(--text-sm); }

/* — Dark section — */
.section--dark {
  background: var(--color-char);
  color: var(--color-cream);
  text-align: center;
}
.section--dark h2 { color: var(--color-white); }
.section--dark .rule-gold { margin-inline: auto; }
.section--dark__lead { max-width: 38rem; margin-inline: auto; }
.sari-list {
  list-style: none;
  padding: 0;
  margin: var(--space-3) auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  max-width: 26rem;
}
.sari-list li {
  border: 2px solid var(--color-cream);
  border-radius: var(--radius-btn);
  padding: 0.625rem 1rem;
  font-weight: 600;
}

/* — Footer — */
.footer {
  border-top: 4px solid var(--color-gold);
  padding: var(--space-6) 0;
  text-align: center;
  font-size: var(--text-sm);
}
.footer__inner p { margin: 0.25rem 0; }
.footer__mark { opacity: 0.85; margin-bottom: var(--space-2); }
.footer__name { font-family: var(--font-display); text-transform: uppercase; font-size: var(--text-base); }
.footer__tbd { opacity: 0.6; }
.footer__fine { margin-top: var(--space-2); font-size: var(--text-xs); }

/* — Responsive — */
@media (min-width: 720px) {
  .card--about { grid-template-columns: 3fr 2fr; }
}

@media (prefers-reduced-motion: reduce) {
  .stickybar, .btn { transition: none; }
}
