/* creativemayhem.com — corporate parent site
   Whiteish palette pivot from the original spec because the current bulb mark
   is black-on-white and looks bad on near-black. Replace mark + flip palette
   when the new logo lands (~15 days). */

@import "/assets/css/fonts.css";

:root {
  --bg: #faf9f5;             /* warm off-white page bg */
  --bg-card: #ffffff;        /* card surfaces */
  --bg-sunken: #f1f0ea;      /* hero / hover surfaces */
  --border: #e6e4dc;
  --border-strong: #d2cfc4;

  --text: #111111;
  --text-muted: #555555;
  --text-faint: #888888;

  --link: #0a5fb8;           /* deep blue, professional, AAA on white */
  --link-hover: #08487e;
  --status-amber: #b8590a;   /* darker amber for legibility on light bg */
  --status-live: #1d7a3a;    /* dark green for LIVE */

  --ff-display: "Bebas Neue", "Impact", "Arial Black", sans-serif;
  --ff-editorial: "DM Serif Display", Georgia, "Times New Roman", serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ff-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--ff-sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* -------- Header / nav -------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 40;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: var(--container); margin: 0 auto; gap: 1.5rem;
}
.nav-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.nav-brand:hover { color: var(--text); }
.nav-brand img { height: 32px; width: auto; }
.nav-brand .wordmark { font-family: var(--ff-display); font-size: 1.45rem; letter-spacing: .04em; color: var(--text); line-height: 1; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; font-family: var(--ff-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.nav-links a { color: var(--text-muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

/* -------- Eyebrows / typography helpers -------- */
.eyebrow { font-family: var(--ff-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin-bottom: .85rem; }
.display { font-family: var(--ff-display); font-weight: 400; letter-spacing: .005em; line-height: 1.05; }
.editorial { font-family: var(--ff-editorial); font-weight: 400; letter-spacing: -.005em; }

h1.display { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2.editorial { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 1rem; }

/* -------- Bento grid (home) -------- */
.bento {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
  padding: 2.5rem 0 3.5rem;
}
.tile {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; display: flex; flex-direction: column; gap: 1rem;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  text-decoration: none; color: var(--text);
  min-height: 260px;
}
.tile:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: 0 12px 28px -16px rgba(0,0,0,.18); color: var(--text); }
.tile-hero { grid-column: span 2; min-height: 320px; padding: 2.5rem; background: var(--bg-card); position: relative; overflow: hidden; }
.tile-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("/assets/img/cm-mark.png");
  background-repeat: no-repeat; background-position: right -40px center;
  background-size: contain; opacity: .07; pointer-events: none;
}
.tile-hero > * { position: relative; z-index: 1; }
.tile-hero .display { max-width: 720px; }
.tile-hero .sub { font-family: var(--ff-mono); font-size: .92rem; color: var(--text-muted); margin-top: 1rem; max-width: 620px; line-height: 1.55; }
.tile-hero .cta { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--ff-mono); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text); padding: .8rem 1.25rem; background: var(--text); color: var(--bg-card); border-radius: 6px; text-decoration: none; }
.tile-hero .cta:hover { background: #333; color: #fff; }

/* product tiles */
.tile-mark { display: flex; align-items: center; gap: .85rem; min-height: 56px; }
.tile-mark img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.tile-mark .tile-wordmark { font-family: var(--ff-editorial); font-size: 1.6rem; letter-spacing: -.01em; color: var(--text); line-height: 1; }
.tile-mark.image-only { display: block; padding: .25rem 0; }
.tile-mark.image-only img { width: 100%; height: auto; max-height: 140px; object-fit: contain; object-position: left center; }

.tile-tagline { font-size: 1.05rem; color: var(--text); flex: 1; }
.tile-status { font-family: var(--ff-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--status-live); border-top: 1px solid var(--border); padding-top: .85rem; }
.tile-status.amber { color: var(--status-amber); }
.tile-arrow { font-family: var(--ff-mono); font-size: .85rem; color: var(--text-muted); align-self: flex-end; }

/* -------- Manifesto -------- */
.page-head { padding: 3.5rem 0 1rem; }
.page-head .display { font-size: clamp(3rem, 7vw, 5.5rem); }
.page-sub { font-family: var(--ff-mono); color: var(--text-muted); font-size: .9rem; margin-top: .5rem; }

.manifesto {
  padding: 2rem 0 4rem;
  max-width: 760px;
}
.manifesto h2 {
  font-family: var(--ff-editorial); font-weight: 400; font-size: 1.7rem;
  margin: 2.75rem 0 .75rem; color: var(--text); letter-spacing: -.005em;
}
.manifesto h2:first-child { margin-top: 0; }
.manifesto p { font-size: 1.075rem; color: var(--text); margin-bottom: 1rem; line-height: 1.65; }
.manifesto p strong { font-weight: 600; }

.manifesto-signature {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-family: var(--ff-mono); font-size: .85rem; color: var(--text-muted);
}
.manifesto-press { margin-top: 1.5rem; font-family: var(--ff-mono); font-size: .85rem; }

/* -------- Press -------- */
.press { padding: 1rem 0 4rem; max-width: 800px; }
.press h2 {
  font-family: var(--ff-editorial); font-weight: 400; font-size: 1.5rem;
  margin: 2.5rem 0 .85rem; color: var(--text);
}
.press h2:first-child { margin-top: 0; }
.press p { color: var(--text); margin-bottom: .9rem; line-height: 1.65; }
.press ul { list-style: none; padding: 0; margin: .75rem 0 1rem; }
.press ul li { padding: .35rem 0; border-bottom: 1px solid var(--border); }
.press ul li:last-child { border-bottom: none; }
.press .meta-line { font-family: var(--ff-mono); font-size: .85rem; color: var(--text-muted); }
.press .principal-name { font-family: var(--ff-editorial); font-size: 1.6rem; line-height: 1.2; margin-bottom: .15rem; }
.press .principal-role { font-family: var(--ff-mono); font-size: .85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }

.press-links a { font-family: var(--ff-mono); font-size: .9rem; }
.press-contact-cta {
  margin-top: 2rem; padding: 1.5rem; background: var(--bg-sunken); border-radius: var(--radius);
  font-family: var(--ff-mono); font-size: .9rem; color: var(--text);
}
.press-contact-cta a { font-family: var(--ff-mono); }

/* -------- Footer -------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 2.5rem 1.5rem 2rem;
  font-family: var(--ff-mono);
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 2rem;
}
.site-footer .footer-inner { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.site-footer .footer-extras { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-copyright a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .sep { color: var(--text-faint); opacity: .7; }

/* -------- Responsive -------- */
@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr; }
  .tile-hero { grid-column: span 1; }
  .nav { flex-wrap: wrap; row-gap: .5rem; }
  .nav-links { gap: 1rem; }
  .tile { padding: 1.5rem; min-height: auto; }
  .tile-hero { padding: 1.75rem; }
}
