/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Brand tokens (C · Blend winner) ────────────────────── */
:root {
  --ground:   #138E84;   /* teal — primary bg          */
  --screen:   #E22B6E;   /* rosa — TV screen            */
  --accent:   #EF9023;   /* mango — VISTE + details     */
  --terra:    #CE4226;   /* terracotta — TV body        */
  --paper:    #F4E8D0;   /* hueso — light text          */
  --paperC:   #FBF3E2;   /* cream — card bg             */
  --ink:      #3A2417;   /* cacao — ink / shadow        */
  --inkSoft:  #7A5A41;   /* soft ink — muted text       */

  --font-display: 'Alfa Slab One', serif;
  --font-serif:   'Yeseva One', serif;
  --font-body:    'Archivo', sans-serif;
  --font-mono:    'Space Mono', monospace;
}

/* ── Base ────────────────────────────────────────────────── */
html, body { height: 100%; }

body {
  min-height: 100%;
  background: var(--ground);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

/* ── Stage (full-screen teal frame) ─────────────────────── */
.stage {
  position: relative;
  width: min(520px, 100%);
  /* maintain roughly square feel on all screen sizes */
  min-height: min(520px, 90vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* inset cream border — brand rule: 5% inset */
.inset-border {
  position: absolute;
  inset: 0;
  border: 3px solid var(--paper);
  border-radius: 6px;
  pointer-events: none;
}

/* diamond corner accents in mango — brand rule: 7% from corners */
.diamond {
  position: absolute;
  width: 11px;
  height: 11px;
  background: var(--accent);
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 2;
}
.diamond.tl { top:  calc(7% - 5px); left:  calc(7% - 5px); }
.diamond.tr { top:  calc(7% - 5px); right: calc(7% - 5px); }
.diamond.bl { bottom: calc(7% - 5px); left:  calc(7% - 5px); }
.diamond.br { bottom: calc(7% - 5px); right: calc(7% - 5px); }

/* ── Centre content ──────────────────────────────────────── */
.centre {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 3rem 2rem;
}

/* ── TV mark card ────────────────────────────────────────── */
.mark-card {
  background: var(--paperC);
  border-radius: 18px;
  padding: 20px 28px;
  box-shadow: 5px 5px 0 var(--ink);
  display: inline-flex;
  margin-bottom: 26px;
}

.tele {
  width: 140px;
  height: auto;
  display: block;
}

/* ── Wordmark ─────────────────────────────────────────────── */
.wordmark {
  font-family: var(--font-display);
  line-height: 0.96;
  text-align: center;
  margin-bottom: 1.5rem;
}

.wm-top {
  font-size: clamp(2.4rem, 10vw, 3.4rem);
  color: var(--paper);
  text-shadow: 3px 3px 0 var(--ink);
}

.wm-bot {
  font-size: clamp(2.4rem, 10vw, 3.4rem);
  color: var(--accent);
  text-shadow: 3px 3px 0 var(--ink);
}

.wm-q {
  color: var(--paper);
}

/* ── Tagline ─────────────────────────────────────────────── */
.tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 1.8vw, 0.75rem);
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: rgba(251, 243, 226, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.75rem;
  max-width: 38ch;
}

/* ── Coming soon pill ────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(251, 243, 226, 0.22);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 243, 226, 0.65);
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 1.25rem;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--screen);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* ── Socials ─────────────────────────────────────────────── */
.socials {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.socials a {
  color: rgba(251, 243, 226, 0.45);
  transition: color 0.15s;
  display: flex;
  align-items: center;
}

.socials a:hover { color: var(--paperC); }

.socials svg {
  width: 20px;
  height: 20px;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(251, 243, 226, 0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.contact:hover { color: var(--paperC); }

/* ── Paper grain overlay ─────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 10;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 440px) {
  .br-wide  { display: none; }
  .tele     { width: 100px; }
  .mark-card { padding: 14px 18px; border-radius: 14px; }
  .diamond  { width: 9px; height: 9px; }
}
