/* Marketismo home — page theme layered over the Nocturne design system (nocturne.css). */
:root {
  --color-bg: #17181a; --color-surface: #212225; --color-text: #e9e9ea;
  --color-accent: #e07a78; --color-accent-2: #e07a78;
  --color-neutral-100: #f4f4f5; --color-neutral-200: #e2e2e4; --color-neutral-300: #c6c6c9;
  --color-neutral-400: #a8a8ac; --color-neutral-500: #8b8b90; --color-neutral-600: #6e6e73;
  --color-neutral-700: #535358; --color-neutral-800: #3b3b3f; --color-neutral-900: #262628;
  --color-accent-100: #fff4f3; --color-accent-200: #ffe3e1; --color-accent-300: #fdc9c6;
  --color-accent-400: #f39e9c; --color-accent-500: #e07a78; --color-accent-600: #bf6260;
  --color-accent-700: #94494a; --color-accent-800: #6a3435; --color-accent-900: #3f2425;
  --color-accent-2-800: #6a3435; --color-accent-2-100: #fff4f3;

  --brand-red: #e20203;
  --fade-h: clamp(90px, 13vw, 170px);
  --gutter: clamp(20px, 6vw, 72px);
}

body { margin: 0; background: var(--color-bg); color: var(--color-text); -webkit-font-smoothing: antialiased; }
a { color: var(--color-accent); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-300); }

@keyframes mkFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.page {
  min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(90% 60% at 8% -10%, rgba(224,122,120,0.16), transparent 70%),
    radial-gradient(60% 40% at 100% 0%, rgba(224,122,120,0.06), transparent 70%),
    var(--color-bg);
}

/* — header — */
.site-header { display: flex; flex-direction: column; align-items: center; }
.logo-link {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; background: var(--brand-red); overflow: hidden;
  padding: clamp(24px, 3.6vw, 46px) 0 0; text-decoration: none;
  animation: mkFade .8s ease both;
}
.logo-link img {
  display: block; width: 100%; max-width: none; height: clamp(118px, 17vw, 196px);
  object-fit: cover; object-position: center;
  transition: transform .9s cubic-bezier(.16,.84,.26,1);
}
.logo-link:hover img { transform: scale(1.03); }
.logo-fade {
  width: 100%; height: var(--fade-h);
  background: linear-gradient(to bottom, #e20203 0%, #cd0203 18%, #a51105 38%, #6d1209 58%, #3b1210 76%, #221618 90%, #17181a 100%);
}
.site-nav {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(18px, 3vw, 34px); margin-top: calc(var(--fade-h) * -0.3);
  padding: 14px 20px; font-size: 13px;
}
.site-nav a, .site-footer a { color: var(--color-neutral-300); text-decoration: none; }
.site-nav a { font-size: 13px; }
.site-nav a:hover, .site-footer a:hover { color: var(--color-accent); }

/* — hero — */
.hero {
  padding: clamp(34px, 7vw, 88px) var(--gutter) clamp(40px, 7vw, 80px);
  max-width: 1180px; animation: mkFade .7s ease both;
}
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.eyebrow-mark { width: 34px; height: 2px; background: var(--color-accent); border-radius: 2px; }
.eyebrow-text { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-accent-300); }
.hero h1 {
  margin: 0; font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(46px, 9.5vw, 116px); line-height: 0.94; letter-spacing: -0.035em;
  color: var(--color-text); text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--color-accent); }
.hero p {
  margin: 34px 0 0; max-width: 52ch; font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65; color: var(--color-neutral-300); text-wrap: pretty;
}

/* — tiles — */
.tiles { padding: 0 var(--gutter) clamp(56px, 9vw, 110px); max-width: 1180px; }
.tile-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.tile {
  display: flex; flex-direction: column; gap: 12px; min-height: 250px; padding: 26px;
  text-decoration: none; color: inherit;
  background: var(--color-surface); border: 1px solid var(--color-neutral-800);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.tile:hover { color: inherit; transform: translateY(-4px); border-color: var(--color-neutral-600); box-shadow: var(--shadow-md); }
.tile-kicker { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-neutral-400); }
.tile-title {
  margin-top: auto; font-family: var(--font-heading); font-weight: 500;
  font-size: 27px; line-height: 1.15; letter-spacing: -0.02em;
}
.tile-body { font-size: 13.5px; line-height: 1.6; color: var(--color-neutral-300); }
.tile-cta { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: 0.04em; color: var(--color-neutral-400); }

.tile--featured {
  background: linear-gradient(165deg, var(--color-accent-900), var(--color-surface) 62%);
  border-color: var(--color-accent-800);
}
.tile--featured:hover { border-color: var(--color-accent); box-shadow: var(--shadow-lg); }
.tile--featured .tile-kicker { color: var(--color-accent-300); }
.tile--featured .tile-cta { color: var(--color-accent); }

/* — footer — */
.site-footer {
  margin-top: auto; padding: 22px var(--gutter) 30px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--color-neutral-900);
}
.site-footer span { font-size: 12px; color: var(--color-neutral-600); }
.site-footer a { font-size: 12px; color: var(--color-neutral-400); }

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