/* H-town Hotspot — splash styles
   Palette source of truth: PROJECT_INFO.md
   Replace these values once the real logo + brand palette are in. */

:root {
  --color-primary:   #C8281D;
  --color-secondary: #2A2622;
  --color-accent:    #F2B441;
  --color-surface:   #EFE3CC;
  --color-muted:     #6B5E55;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;

  --radius-pill: 999px;
}

/* --- Reset (minimal) ------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-sans);
  color: var(--color-secondary);
  background-color: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Splash layout -------------------------------------------------------- */
.splash {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--space-md);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 15%, rgba(242, 180, 65, 0.18), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(200, 40, 29, 0.14), transparent 60%),
    var(--color-surface);
}

.splash::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(rgba(42, 38, 34, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.7;
}

.splash__inner {
  text-align: center;
  max-width: 36rem;
  width: 100%;
}

/* Pizza mark */
.splash__mark {
  display: block;
  width: clamp(96px, 18vw, 144px);
  height: auto;
  margin: 0 auto var(--space-md);
  filter: drop-shadow(0 8px 18px rgba(42, 38, 34, 0.18));
  transform: rotate(-6deg);
  transform-origin: center;
}

/* Eyebrow pill */
.splash__eyebrow {
  display: inline-block;
  margin: 0 0 var(--space-md);
  padding: 0.4em 1em;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  background-color: rgba(200, 40, 29, 0.08);
  border: 1px solid rgba(200, 40, 29, 0.22);
  border-radius: var(--radius-pill);
}

/* Title */
.splash__title {
  margin: 0 0 var(--space-md);
  font-size: clamp(2.5rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-secondary);
}

.splash__title-accent {
  color: var(--color-primary);
}

/* Stacked meta lines */
.splash__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.splash__meta-line {
  margin: 0;
  line-height: 1.3;
}

.splash__meta-line--label {
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.splash__meta-line--place {
  color: var(--color-secondary);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.splash__meta-line--address {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Footer */
.splash__footer {
  position: absolute;
  bottom: var(--space-md);
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-muted);
  opacity: 0.7;
}

/* --- Tablet / desktop ----------------------------------------------------- */
@media (min-width: 768px) {
  .splash {
    padding: var(--space-xl);
  }

  .splash__inner {
    max-width: 44rem;
  }

  .splash__footer {
    bottom: var(--space-lg);
  }
}

/* --- Reduced motion respect ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
