/* ============================================================
   Sheepscape - playsheepscape.com
   Theme tokens live here. Rebrand with the real Sheepscape
   palette/fonts when the art lands.
   ============================================================ */

:root {
  --bg:        #f4efe2;  /* warm cream - pasture light */
  --surface:   #fbf8ef;
  --ink:       #2c2a24;  /* near-black, warm */
  --muted:     #6f6a5d;
  --line:      #e0d8c4;
  --accent:    #5f8a46;  /* pasture green */
  --accent-ink:#3f6230;
  --gold:      #c98b2e;  /* wool/sun accent */
  --max:       1080px;
  --radius:    12px;
  --shadow:    0 1px 3px rgba(44,42,36,.08), 0 8px 24px rgba(44,42,36,.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 .4em; }
h2 { font-size: 1.5rem; margin: 2.4em 0 .6em; }
h3 { font-size: 1.05rem; margin: 1.6em 0 .4em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* --- Top bar --- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.nav a { margin-left: 22px; color: var(--ink); font-weight: 600; font-size: .95rem; }

/* --- Buttons --- */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  background: var(--accent); color: #fff; border: 0;
}
.btn:hover { background: var(--accent-ink); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--accent-ink); border: 1.5px solid var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }

/* --- Hero (content overlaid on the vista) --- */
.hero { position: relative; overflow: hidden; text-align: center; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%;
  image-rendering: pixelated; z-index: 0;
}
.hero::after {   /* gentle fade into the page - keeps text legible + melts to cream */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(244,239,226,0) 50%, rgba(244,239,226,.5) 78%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; padding: clamp(40px, 7vw, 92px) 0 clamp(52px, 8vw, 100px); }
/* feather-soft cream glow behind the text cluster - lifts contrast without a "box". Drop this rule if it reads as a smudge on the sky. */
.hero-content::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 48%; transform: translate(-50%, -50%); width: min(720px, 88%); height: 78%; background: radial-gradient(ellipse at center, rgba(244, 239, 226, .55), rgba(244, 239, 226, 0) 72%); pointer-events: none; }
.hero-content .lead { color: var(--ink); }
.hero-content .tagline, .hero-content .lead { text-shadow: 0 0 2px rgba(244, 239, 226, .9), 0 1px 8px rgba(244, 239, 226, .85); }
.hero-logo { display: block; width: min(460px, 82%); height: auto; margin: 0 auto 14px; image-rendering: pixelated; filter: drop-shadow(0 2px 5px rgba(44, 42, 36, .18)); }

/* --- Trailer --- */
.trailer { padding-top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hero .tagline { color: var(--ink); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; }
.hero p.lead { font-size: 1.2rem; font-weight: 500; color: var(--ink); max-width: 640px; margin: 0 auto 1.8em; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.media {
  margin: 48px auto 0; max-width: 920px; aspect-ratio: 16 / 9;
  background: var(--surface) repeating-linear-gradient(45deg, transparent 0 18px, rgba(95,138,70,.05) 18px 36px);
  border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; color: var(--muted); box-shadow: var(--shadow);
  overflow: hidden;
}
.media iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- Feature grid --- */
.features { padding: 72px 0; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* --- Footer --- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .92rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.socials a { margin-left: 16px; font-weight: 600; }
.socials a:first-child { margin-left: 0; }

/* ============================================================
   Press kit
   ============================================================ */
.press { padding: 48px 0 80px; }
.press-head { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 8px; }
.press-layout { display: grid; gap: 40px; grid-template-columns: 300px 1fr; align-items: start; }
@media (max-width: 800px) { .press-layout { grid-template-columns: 1fr; } }

.factsheet {
  position: sticky; top: 84px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.factsheet h2 { margin: 0 0 .8em; font-size: 1.1rem; }
.factsheet dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .92rem; }
.factsheet dt { color: var(--muted); font-weight: 600; }
.factsheet dd { margin: 0; }

.press-body h2:first-child { margin-top: 0; }
.press-body ul { padding-left: 1.2em; }
.press-body li { margin: .3em 0; }

.permission { background: #eef3e6; border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 8px; }

.shots { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 12px 0; }
.shots img {
  width: 100%; height: auto; display: block; border-radius: 8px;
  border: 1px solid var(--line); image-rendering: pixelated;
}
.logo-icon-row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.logo-icon-row img {
  image-rendering: pixelated; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line); padding: 10px;
}

.note { color: var(--muted); font-size: .9rem; font-style: italic; }
