/* ----
   Los Angeles tourism — four giant words.
   Palette: Night Ink, Pulp Cream, Signal Gold, Brick Red, Press Blue, Smoke Gray.
---- */

:root {
  --night-ink: #11151C;
  --pulp-cream: #F0D9A6;
  --signal-gold: #F2B705;
  --brick-red: #A92D32;
  --press-blue: #214B78;
  --smoke-gray: #59616B;
}

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

html,
body {
  height: 100%;
}

body {
  background: var(--pulp-cream);
  color: var(--night-ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: clamp(0.75rem, 4vw, 3rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--night-ink);
  color: var(--pulp-cream);
  padding: 0.5rem 1rem;
  font-weight: 700;
  z-index: 10;
}

.skip-link:focus {
  left: 0;
}

main {
  width: 100%;
  max-width: 96rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  filter: drop-shadow(0.06em 0.1em 0 rgba(17, 21, 28, 0.85));
}

/*
  One giant word supports another:
  the headline is a single unit, letterspaced to fill the viewport.
  Two lines of two words each, sized so the whole phrase fits at every width.
*/
.headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.1em, 1.6vw, 0.6em);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Helvetica Neue", Arial, sans-serif;
  font-stretch: condensed;
  font-weight: 900;
  text-transform: lowercase;
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-size: clamp(3.5rem, 18.5vw, 17rem);
  user-select: none;
}

.word-los {
  color: var(--press-blue);
}

.word-angeles {
  color: var(--night-ink);
  background: var(--signal-gold);
  padding-inline: 0.28em;
  margin-inline: -0.28em; /* keep the visual line flush */
  border: 0.03em solid var(--night-ink);
}

.word-awaits {
  color: var(--brick-red);
}

.word-you {
  color: var(--pulp-cream);
  background: var(--night-ink);
  padding-inline: 0.28em;
  margin-inline: -0.28em;
}

/*
  A thin ink rule between the two rows.
  It tells the eye the sentence keeps reading downward.
*/
.rule {
  display: block;
  width: min(72%, 26em);
  height: 0;
  border-bottom: clamp(3px, 0.5vw, 6px) solid var(--night-ink);
  margin: -0.05em 0 -0.1em 0;
}

@media (max-width: 480px) {
  .headline {
    font-size: clamp(2.75rem, 16vw, 3.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* No motion to suppress: the page is intentionally static press type. */
  .headline,
  .rule,
  .word-los,
  .word-angeles,
  .word-awaits,
  .word-you {
    animation: none;
  }
}
