/* Muy Delicioso — socials hub (socials.muydelicioso.app)
   Brand: navy #070A61 · amber #FCAB0D · cream #FAE7D0 · Sofia Pro.
   Design rules: no colored borders (fills + shadow + spacing only),
   no em-dashes in copy, WCAG-AA contrast, 44px touch targets. */

@font-face { font-family:'Sofia Pro'; src:url('/fonts/sofia/SofiaPro.woff2') format('woff2'),url('/fonts/sofia/SofiaPro.woff') format('woff'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Sofia Pro'; src:url('/fonts/sofia/SofiaPro-Medium.woff2') format('woff2'),url('/fonts/sofia/SofiaPro-Medium.woff') format('woff'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Sofia Pro'; src:url('/fonts/sofia/SofiaPro-SemiBold.woff2') format('woff2'),url('/fonts/sofia/SofiaPro-SemiBold.woff') format('woff'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Sofia Pro'; src:url('/fonts/sofia/SofiaPro-Bold.woff2') format('woff2'),url('/fonts/sofia/SofiaPro-Bold.woff') format('woff'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Sofia Pro'; src:url('/fonts/sofia/SofiaPro-Black.woff2') format('woff2'),url('/fonts/sofia/SofiaPro-Black.woff') format('woff'); font-weight:900; font-style:normal; font-display:swap; }

:root {
  --navy: #070A61;
  --amber: #FCAB0D;
  --cream: #FAE7D0;
  --ink: #070A61;
  --font: 'Sofia Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --maxw: 960px;
  --radius: 16px;
}

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

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(48px, 9vw, 96px) 20px clamp(40px, 7vw, 72px);
  text-align: center;
}
.hero__inner { max-width: var(--maxw); margin: 0 auto; }

.hero__eyebrow {
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 13px;
  opacity: 0.75;
  margin-bottom: 14px;
}

.wordmark {
  font-weight: 900;
  font-size: clamp(54px, 13vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--amber);
  text-transform: uppercase;
}

.hero__tagline {
  font-weight: 500;
  font-size: clamp(17px, 2.6vw, 22px);
  margin-top: 16px;
  opacity: 0.95;
}

/* ── Channel buttons (fills only, no colored borders) ─────── */
.channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: clamp(28px, 5vw, 40px) auto 0;
  max-width: 560px;
}
.channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(250, 231, 208, 0.12);
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: transform 120ms ease, background 120ms ease;
}
.channel:hover { background: var(--amber); color: var(--navy); transform: translateY(-2px); }
.channel:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ── Primary CTA ─────────────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: clamp(28px, 5vw, 40px);
  padding: 0 34px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34); }
.cta:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }

/* ── Latest feed ─────────────────────────────────────────── */
.latest { padding: clamp(40px, 7vw, 72px) 20px; }
.latest__inner { max-width: var(--maxw); margin: 0 auto; }
.latest__head { margin-bottom: clamp(20px, 4vw, 32px); }
.latest__head h2 {
  font-weight: 900;
  font-size: clamp(26px, 5vw, 40px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.latest__sub { font-weight: 500; opacity: 0.7; margin-top: 6px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.grid__loading, .grid__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px 0;
  font-weight: 500;
  opacity: 0.65;
}

/* ── Post card (fills + shadow, no colored borders) ───────── */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(7, 10, 97, 0.08);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(7, 10, 97, 0.16); }
.card:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.card__media {
  aspect-ratio: 1 / 1;
  background: var(--navy);
  background-size: cover;
  background-position: center;
  position: relative;
}
.card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__caption { font-weight: 600; font-size: 14.5px; }
.card__date { font-size: 12px; font-weight: 500; opacity: 0.55; margin-top: auto; }

/* ── Footer ──────────────────────────────────────────────── */
.foot {
  background: var(--navy);
  color: var(--cream);
  padding: 36px 20px;
  text-align: center;
}
.foot__inner { max-width: var(--maxw); margin: 0 auto; }
.foot__links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.foot__links a { font-weight: 700; font-size: 14px; text-decoration: none; opacity: 0.9; }
.foot__links a:hover { color: var(--amber); }
.foot__links a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.foot__made { font-size: 13px; opacity: 0.6; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
