/* Brand palette (from the IRL logo) */
:root {
  --forest: #2F5D46;
  --sage: #5E8F76;
  --mint: #9CC3AE;
  --sun: #E8A33D;
  --ink: #1D2B24;
  --cream: #F4F1EA;

  --bg: var(--cream);
  --meadow: #E4EDE6;
  --text: var(--ink);
  --muted: var(--ink);
  --heading: var(--forest);
  --line: rgba(29, 43, 36, 0.14);

  --max: 1080px;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--ink);
    --meadow: #23342B;
    --text: var(--cream);
    --muted: #B9C7BF;
    --heading: var(--cream);
    --line: rgba(244, 241, 234, 0.14);
  }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--heading);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
}

a { color: inherit; }

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .container { padding: 0 32px; } }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--forest);
  color: var(--cream);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.text-link {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-thickness: 3px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ink);
  color: var(--cream);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.logo img { height: 40px; width: auto; }
.nav-list {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-list a { text-decoration: none; }
.nav-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 479px) {
  .logo img { height: 34px; }
  .nav-list { gap: 16px; font-size: 0.875rem; }
}

/* Hero */
.hero { padding-top: 96px; }
.hero-inner { padding-bottom: 56px; }
.hero h1 {
  /* Sized to stay on one line down to phone widths */
  font-size: clamp(1.75rem, 7.2vw, 5rem);
}
.lede {
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 28px;
  font-size: clamp(1.15rem, 2vw, 1.3rem);
}
.hero-mountains {
  width: 100%;
  height: clamp(110px, 18vw, 240px);
}

/* Brands: one row each, alternating sides, on the meadow */
.brands {
  background: var(--meadow);
  padding: 48px 0 40px;
}
.brand {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 48px 0;
}
.brand + .brand { border-top: 1px solid var(--line); }
@media (min-width: 800px) {
  .brand {
    grid-template-columns: 5fr 6fr;
    gap: 64px;
    padding: 72px 0;
  }
  .brand:nth-child(even) .brand-art { order: 2; }
}
.brand h2 { font-size: clamp(2.2rem, 5vw, 3.25rem); }
.brand-copy p { margin: 0 0 16px; max-width: 30em; }

.brand-art {
  display: flex;
  justify-content: center;
}

.status {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid currentColor;
}
.status-live { color: var(--heading); }
.status-live::before { background: #3E9B63; border-color: #3E9B63; }
.status-live a {
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* piece&paw: the brick paw sitting on the grass */
.pp-sculpture {
  width: min(240px, 60vw);
  height: auto;
  filter: drop-shadow(0 18px 14px rgba(29, 43, 36, 0.22));
}

/* meh.cards: front and inside, set down a bit carelessly */
.meh-cards {
  position: relative;
  width: min(340px, 86vw);
  height: 250px;
}
.meh-card {
  position: absolute;
  width: 58%;
  aspect-ratio: 5 / 7;
  background: #FAF8F2;
  color: #26241E;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 10px 22px -10px rgba(38, 36, 30, 0.45), 0 0 0 1px rgba(38, 36, 30, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.meh-front {
  left: 0;
  top: 0;
  background: #E8E5DD;
  font-size: 1.15rem;
  transform: rotate(-5deg);
  z-index: 1;
}
.meh-front img { width: 40px; height: 40px; }
.meh-inside {
  right: 0;
  top: 22px;
  justify-content: flex-end;
  padding-bottom: 22%;
  font-size: 0.95rem;
  color: #5E5E5E;
  transform: rotate(4deg);
}

/* schanzy: placeholder until there's a logo */
.brand-icon {
  width: 132px;
  height: 132px;
  border-radius: 28px;
  background: var(--mint);
  display: grid;
  place-items: center;
}
.brand-icon svg { width: 64px; height: 64px; fill: #FAF8F2; }

/* lightcue: real app screens */
.lc-shot {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #0F1222;
}

/* Footer: the ridge at dusk */
.site-footer { background: var(--meadow); }
.footer-ridge {
  width: 100%;
  height: clamp(70px, 11vw, 160px);
  margin-bottom: -1px;
}
.footer-body {
  background: var(--forest);
  color: #DCE6E0;
  padding: 40px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 56px;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.site-footer h2 {
  color: var(--cream);
  font-size: 1.6rem;
}
.site-footer p { margin: 0 0 12px; max-width: 30em; }
.footer-email {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}
.footer-base {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(244, 241, 234, 0.16);
  padding-top: 20px;
}
.footer-base img { border-radius: 6px; }
.footer-base p { margin: 0; }

@media (prefers-color-scheme: dark) {
  .site-footer { background: var(--meadow); }
  .footer-body { background: #18241E; }
  .footer-ridge path { fill: #18241E; }
}
