/* ==========================================================================
   So Wired Productions — Shared Artifact Theme
   Source of truth: SWP business card (Aug 2026), colors sampled directly
   from the printed card, typography measured from embedded PDF font data.
   Link this file from every page on claude.sowired.info.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand colors — measured directly from business card artwork */
  --swp-navy: #012F6F;       /* wordmark, headings */
  --swp-blue: #2A72C6;       /* icon fill, links, accents */
  --swp-gray: #797979;       /* subheads, secondary text */
  --swp-black: #000000;      /* body copy */
  --swp-rule: #000000;       /* hairline dividers */

  /* Neutral surface colors (site-specific, not from card) */
  --swp-bg: #F4F4F4;
  --swp-card-bg: #FFFFFF;
  --swp-header-bg: #EDF2F9;
  --swp-border: #E0E0E0;

  /* Typography */
  --swp-font: "Avenir Next", "Inter", sans-serif;
  --swp-tracking-wide: 0.08em;
}

* { box-sizing: border-box; }

body {
  font-family: var(--swp-font);
  background: var(--swp-bg);
  color: var(--swp-black);
  margin: 0;
}

/* ---- Logo lockup -------------------------------------------------------
   Single-image lockup: icon + wordmark image side by side. Both files are
   pre-formatted (brandmark.png already contains "SO WIRED / PRODUCTIONS"
   set in brand type), so no CSS-rendered text is needed anymore.

   Sizing note: .swp-logo-icon and .swp-logo-mark each have their own fixed
   height, set independently of each other and of the footer tagline below
   — resizing one never affects the others.

   <div class="swp-logo">
     <img src="/assets/logo.png" alt="" class="swp-logo-icon">
     <img src="/assets/brandmark.png" alt="So Wired Productions" class="swp-logo-mark">
   </div>
-------------------------------------------------------------------------- */

.swp-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.swp-logo-icon {
  height: 60px;
  width: auto;
}

.swp-logo-mark {
  height: 48px;
  width: auto;
}

/* ---- Tagline -------------------------------------------------------------
   Standing SWP tagline banner (assets/tagline.png), used in the footer.
   Image already includes the rule lines above/below the text. Sized
   independently of the header logo/brandmark above (separate class,
   separate fixed cap) — adjust this one value to resize just the tagline.

   <img src="/assets/tagline.png" alt="Thoughtfully built technology for
     complicated humans" class="swp-footer-tagline">
   <div class="swp-footer-credit">Created with Claude | &copy;️ 2026 ...</div>
-------------------------------------------------------------------------- */

.swp-footer-tagline {
  display: block;
  width: min(65%, 260px);
  height: auto;
  margin: 0 auto 10px;
}

.swp-footer-credit {
  display: block;
}

/* ---- Shared layout chrome ------------------------------------------------ */

.swp-header {
  background: var(--swp-header-bg);
  padding: 32px 24px;
  border-bottom: 4px solid var(--swp-blue);
}

.swp-header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.swp-page-heading h1 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
  color: var(--swp-navy);
  border-left: 3px solid var(--swp-blue);
  padding-left: 14px;
  font-weight: 600;
}

/* ---- Sticky back-to-home bar (for artifact pages, see issue #3) -------- */

.swp-nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--swp-card-bg);
  border-bottom: 1px solid var(--swp-border);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--swp-font);
}

.swp-nav-bar a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--swp-navy);
  font-weight: 600;
  font-size: 0.85rem;
}

.swp-nav-bar img {
  width: 22px;
  height: 22px;
}

/* ---- Standard footer (see issue #2) ------------------------------------ */

.swp-footer {
  text-align: center;
  padding: 24px;
  color: var(--swp-gray);
  font-size: 0.8rem;
  font-family: var(--swp-font);
}

.swp-footer a {
  color: var(--swp-gray);
  text-decoration: underline;
}

.swp-footer a:hover {
  color: var(--swp-navy);
}

/* ---- Cards (landing page grid) ------------------------------------------ */

.swp-card {
  background: var(--swp-card-bg);
  border: 1px solid var(--swp-border);
  border-top: 4px solid var(--swp-blue);
  border-radius: 6px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.swp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  border-top-color: var(--swp-navy);
}

.swp-card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--swp-navy);
  font-weight: 600;
}

.swp-card p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--swp-gray);
  line-height: 1.4;
}

.swp-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--swp-blue);
  font-weight: 600;
}
