/* ============================================================
   mike · personal site — overrides on top of shared/base.css
   warm dark-first, editorial, reysu.io spirit. left-aligned.
   ============================================================ */
:root {
  --brand-bg-dark: #15110d;
  --brand-bg-light: #f3ede3;
  --brand-accent: #e8af79;
  --brand-accent-2: #b46c2d;
  --brand-accent-ink: #15110d;
  --maxw: 1040px;
}

/* ---- editorial, left-aligned hero (different from app heroes) ---- */
.p-hero { padding-top: clamp(3.5rem, 12vh, 8rem); padding-bottom: clamp(2.5rem, 7vh, 5rem); }
.p-hero__name {
  font-size: clamp(2.6rem, 6vw + 0.5rem, 4.6rem);
  max-width: 18ch; margin-bottom: 1.5rem;
}
.p-hero__name em { color: var(--brand-accent); }
.p-hero__sub { font-size: clamp(1.1rem, 1vw + 1rem, 1.4rem); color: var(--text-2); max-width: 56ch; line-height: 1.5; }
.p-hero__meta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; color: var(--text-3); font-family: var(--font-mono); font-size: var(--fs-cap); letter-spacing: 0.04em; }
.p-hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-accent); display: inline-block; }
.dot--live { background: #6cc08a; }
.dot--web { background: var(--brand-accent); }

/* ---- section heading ---- */
.p-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.p-head h2 { font-size: var(--fs-h2); }
.p-head .muted { font-family: var(--font-mono); font-size: var(--fs-cap); letter-spacing: 0.04em; }

/* ---- work grid: the apps ---- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (max-width: 680px) {
  .work-grid { grid-template-columns: 1fr; }
}
.work-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem;
  padding: 1.4rem 1.5rem;
  background: var(--bg-card); border: 1px solid var(--hairline); border-radius: var(--radius-card);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.work-card:hover { border-color: var(--hairline-strong); transform: translateY(-3px); }
.work-card__icon { width: 54px; height: 54px; border-radius: 13px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.6); }
.work-card__body h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.25rem; letter-spacing: -0.01em; }
.work-card__body p { color: var(--text-2); font-size: 0.95rem; line-height: 1.45; }
.work-card__arrow { color: var(--text-3); transition: transform 0.3s var(--ease), color 0.3s; }
.work-card:hover .work-card__arrow { color: var(--brand-accent); transform: translateX(3px); }
.status-chip { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 999px; border: 1px solid var(--hairline-strong); color: var(--text-2); }

/* ---- about / philosophy ---- */
.about-blurb { font-size: clamp(1.15rem, 1.2vw + 1rem, 1.55rem); line-height: 1.55; color: var(--text-1); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 2.5rem; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }
.principle { padding: 1.4rem 1.5rem; border-left: 2px solid color-mix(in srgb, var(--brand-accent) 50%, transparent); }
.principle p { color: var(--text-2); font-size: 0.98rem; line-height: 1.5; }
.principle b { color: var(--text-1); font-weight: 500; }

/* ---- now / logbook ---- */
.now-card { background: var(--bg-elevated); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); }
.now-card .display { font-size: clamp(1.4rem, 2vw + 1rem, 2rem); margin-bottom: 1rem; }
.now-card p { color: var(--text-2); max-width: 60ch; }
.now-card a.inline { color: var(--brand-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---- logbook: the index and every note share this shell ---- */
.log .container { max-width: var(--maxw-prose); }
.log h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 0.5rem; }
.log .dateline { font-family: var(--font-mono); font-size: var(--fs-cap); color: var(--text-3); letter-spacing: 0.08em; margin-bottom: 2.5rem; }
.log .back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-2); font-size: var(--fs-sm); margin-bottom: 2rem; }
.log .back:hover { color: var(--text-1); }

/* ---- contact ---- */
.contact-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.contact-link { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.3rem; border: 1px solid var(--hairline-strong); border-radius: var(--radius-pill); color: var(--text-1); transition: border-color .25s, background .25s, transform .2s var(--ease); }
.contact-link:hover { border-color: var(--brand-accent); background: var(--bg-card); transform: translateY(-2px); }
.contact-link svg { width: 18px; height: 18px; }
