/* ===================================================================
   IDEAS GENIUS — DESIGN TOKENS (locked system from brand work)
   =================================================================== */
:root {
  --ink: #1A1225;
  --ivory: #F5F0FA;
  --purple: #4B2F91;
  --pink: #EC5BA0;
  --slate: #8a7f95;
  --line: #E4DCEE;

  --font-display: 'General Sans', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  --wide-width: 1120px;
  --max-width: 740px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: var(--wide-width); margin: 0 auto; padding: 0 28px; }

/* ===================================================================
   NAV
   =================================================================== */
.site-nav { background: var(--ink); }
.site-nav .wrap-wide {
  display: flex; align-items: center; justify-content: space-between; height: 76px;
}
.site-nav .brand { display: flex; align-items: center; gap: 12px; }
.site-nav .brand .mark { width: 24px; height: 32px; }
.site-nav .brand .word { color: var(--ivory); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.site-nav .brand .word .g { color: var(--pink); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: #b9adc9; }
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }
.nav-links .btn { margin-left: 6px; }

@media (max-width: 680px) { .nav-links a:not(.btn) { display: none; } }

/* ===================================================================
   TYPE
   =================================================================== */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; color: var(--ink); }
h1 { font-size: 46px; }
h2 { font-size: 30px; margin-bottom: 20px; }
h3 { font-size: 20px; }

.eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); font-weight: 600; margin-bottom: 14px; }
.lede { font-size: 19px; color: var(--slate); max-width: 620px; }
p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }
.prose blockquote {
  border-left: 3px solid var(--pink); padding-left: 20px; margin: 1.6em 0;
  font-family: var(--font-display); font-size: 20px; font-style: italic;
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.03em; padding: 12px 24px; border-radius: 24px; text-transform: uppercase; }
.btn-primary { background: var(--pink); color: var(--ink); }
.btn-primary:hover { background: #f374b0; }
.btn-secondary { border: 1px solid #4a3d5c; color: var(--ivory); }
.btn-secondary:hover { background: rgba(255,255,255,0.08); }
.btn-dark { border: 1px solid var(--ink); color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--ivory); }

/* ===================================================================
   SECTIONS
   =================================================================== */
section { padding: 84px 0; }
section.tight { padding: 52px 0; }
.bg-ink { background: var(--ink); color: var(--ivory); }
.bg-ink .slate { color: #b9adc9; }
.section-border-top { border-top: 1px solid var(--line); }

/* ===================================================================
   HERO
   =================================================================== */
.hero { background: var(--ink); color: var(--ivory); padding: 90px 0 76px; }
.hero .lede { color: #c9bfd6; margin-top: 20px; }
.hero h1 { color: var(--ivory); max-width: 760px; }
.hero-buttons { display: flex; gap: 14px; margin-top: 30px; }

/* ===================================================================
   PROJECT GRID
   =================================================================== */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.project-card { background: var(--ivory); padding: 36px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; transition: background 0.15s; }
.project-card:hover { background: #EEE6F5; }
.project-card .mark-icon { width: 34px; height: 45px; margin-bottom: 16px; }
.project-card .tag { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); font-weight: 600; margin-bottom: 10px; }
.project-card p { color: var(--slate); font-size: 15px; margin-bottom: 0; }
.project-card .arrow { margin-top: 18px; font-size: 14px; font-weight: 600; }
@media (max-width: 720px) { .project-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   BLOG LIST
   =================================================================== */
.post-row { display: flex; justify-content: space-between; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); gap: 24px; }
.post-row:first-child { border-top: 1px solid var(--line); }
.post-row .post-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.post-row .post-title:hover { color: var(--purple); }
.post-row .post-meta { font-size: 13px; color: var(--slate); white-space: nowrap; }
.post-row .post-excerpt { color: var(--slate); font-size: 14px; margin-top: 6px; max-width: 520px; }
.post-photo { width: 96px; height: 72px; object-fit: cover; flex-shrink: 0; filter: grayscale(1); }
.post-featured-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 32px; filter: grayscale(1); }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { background: var(--ink); color: #b9adc9; padding: 40px 0; font-size: 14px; }
.site-footer .wrap-wide { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--ivory); }
.site-footer .brand { display: flex; align-items: center; gap: 10px; }
.site-footer .mark { width: 16px; height: 21px; }

/* ===================================================================
   MISC
   =================================================================== */
.two-col { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }
.avatar-block { width: 100%; aspect-ratio: 4/5; background: var(--ink); display: flex; align-items: center; justify-content: center; color: var(--ivory); font-family: var(--font-display); font-size: 15px; text-align: center; padding: 20px; overflow: hidden; }
.avatar-block img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.project-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 24px; filter: grayscale(1); }
.contact-list { list-style: none; margin-top: 24px; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .label { color: var(--slate); font-size: 14px; }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; color: var(--slate); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); background: #fff; padding: 13px 14px; font-family: var(--font-body); font-size: 15px; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); }
.field textarea { resize: vertical; min-height: 130px; }

.note-flag { background: #EEE6F5; border-left: 3px solid var(--purple); padding: 14px 18px; font-size: 14px; color: var(--purple); margin-bottom: 32px; }

.alert-error { background: #FBEAEA; border-left: 3px solid #C0392B; padding: 14px 18px; font-size: 14px; color: #C0392B; margin-bottom: 24px; }
.field input.input-error { border-color: #C0392B; }
.field-error { color: #C0392B; font-size: 13px; margin-top: 6px; }
