/* Angela Taylor LLC — shared styles
   Palette: lavender paper, deep indigo ink, pink underlines, green status glyphs.
   Type: IBM Plex Mono for headings and navigation, IBM Plex Sans for reading.
   The status glyphs are the one bold device; everything else stays quiet. */

:root {
  --paper: #cfb7f6;        /* Huemint lavender */
  --paper-raised: #ddcdf8;
  --ink: #251944;          /* Huemint deep indigo */
  --ink-soft: #463a66;     /* 5.7:1 on paper */
  --rule: #b39ae2;
  --link: #251944;
  --accent: #ed5892;       /* Huemint pink: underlines and rules only, never text */
  --live: #00754a;         /* darker Huemint green, 3.2:1 on paper for graphics */
  --mark: #f6e7a8;
  --ghost: #dac8f8;
  --photo-tint: #cfb7f6;

  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;

  --measure: 38rem;
  --wide: 64rem;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.7rem;
  --step-4: clamp(2rem, 4.8vw, 3.1rem);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #17112b;
  --paper-raised: #211a3a;
  --ink: #ebe3f5;
  --ink-soft: #b9aed3;
  --rule: #3a2f5c;
  --link: #cfb7f6;
  --accent: #ed5892;
  --live: #2fc486;
  --mark: #5a4a1e;
  --ghost: #221a3d;
  --photo-tint: #9d86cf;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.7;
}

h1, h2, h3 { font-family: var(--font-mono); }

a {
  color: var(--link);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }

/* Header */
.site-header { padding: 28px 0 0; }
.site-header .wrap {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.wordmark { font-family: var(--font-mono); font-weight: 600; font-size: var(--step-0); color: var(--ink); text-decoration: none; }
.site-nav { display: flex; gap: 24px; font-family: var(--font-mono); font-size: var(--step--1); }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

main.wrap { padding-top: 56px; padding-bottom: 96px; }
@media (min-width: 640px) { main.wrap { padding-top: 88px; } }

/* Home hero */
.hero { display: grid; gap: 40px; align-items: center; }
@media (min-width: 880px) { .hero { grid-template-columns: 1.15fr 0.85fr; gap: 56px; } }
.hero h1 {
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 28px;
}
.hero p { font-size: 1.125rem; line-height: 1.7; color: var(--ink-soft); max-width: var(--measure); margin: 0; }

/* Photo slot: any image placed here is tinted to the palette automatically */
.photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  max-width: 26rem;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}
.photo img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  object-position: 68% center; /* keeps the hands in frame on the portrait crop */
  filter: grayscale(1) contrast(1.08);
}
.photo::after {
  content: ""; position: absolute; inset: 0;
  background: var(--photo-tint);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.photo-empty {
  display: grid; place-items: center; height: 100%;
  background: var(--paper-raised);
  border: 1px dashed var(--ink-soft);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-align: center;
  padding: 24px;
}
.photo:has(.photo-empty) { background: none; }
.photo:has(.photo-empty)::after { display: none; }

section { margin-top: 96px; }
h2 { font-size: var(--step-1); font-weight: 600; margin: 0 0 20px; }

/* Work ledger — the signature element */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ledger li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 4px 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 720px) {
  .ledger li { grid-template-columns: 1.5rem 14rem 1fr 9rem; align-items: baseline; }
}
.glyph {
  display: inline-block;
  flex-shrink: 0;
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  border: 2px solid var(--live);
  align-self: center;
}
.glyph.live { background: var(--live); }
.glyph.flight { background: linear-gradient(90deg, var(--live) 50%, transparent 50%); }
.ledger .name { font-family: var(--font-mono); font-weight: 600; font-size: var(--step-0); }
.ledger .name a { color: var(--ink); }
.ledger .desc { color: var(--ink-soft); grid-column: 2; }
.ledger .status { color: var(--ink-soft); font-family: var(--font-mono); font-size: var(--step--1); grid-column: 2; }
@media (min-width: 720px) {
  .ledger .desc { grid-column: 3; }
  .ledger .status { grid-column: 4; text-align: right; }
}
.legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px; font-family: var(--font-mono); font-size: var(--step--1); color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend .glyph { width: 0.6rem; height: 0.6rem; }

/* What I do */
.principles { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .principles { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 32px 36px; } }
.principles li { border-left: 2px solid var(--accent); padding-left: 16px; }
.principles strong { display: block; font-family: var(--font-mono); font-weight: 600; margin-bottom: 6px; }
.principles span { color: var(--ink-soft); line-height: 1.55; }

.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1em; }

/* Inner pages */
body { overflow-x: clip; }
.page-head { position: relative; isolation: isolate; padding-top: 40px; }
/* Ghosted page title behind the heading, as in the Huemint mockup */
.ghost {
  position: absolute; z-index: -1;
  left: -0.06em; top: 50%; transform: translateY(-62%);
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(4.5rem, 15vw, 10rem); line-height: 1;
  color: var(--ghost);
  white-space: nowrap;
  pointer-events: none; user-select: none;
}
.page-head h1 { font-size: var(--step-2); font-weight: 600; line-height: 1.2; margin: 0 0 12px; }
.page-head .lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.5; max-width: var(--measure); margin: 0; }
.doc { max-width: var(--measure); margin-top: 48px; }
.doc h2 { margin-top: 44px; }
.doc h3 { font-size: var(--step-0); font-weight: 600; margin: 28px 0 8px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 0.4em; }
.meta { color: var(--ink-soft); font-family: var(--font-mono); font-size: var(--step--1); margin-top: 16px; }

/* Items Angela must confirm before publishing */
mark.confirm { background: var(--mark); color: inherit; padding: 0 3px; border-radius: 2px; }

.callout { background: var(--paper-raised); border-left: 3px solid var(--accent); padding: 20px 22px; margin-top: 40px; max-width: var(--measure); }
.callout p { margin: 0; }

/* Footer */
.site-footer { padding: 0 0 40px; font-size: var(--step--1); color: var(--ink-soft); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-top: 28px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--font-mono); }
.site-footer a { color: var(--ink-soft); }

@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: settle 0.7s ease-out both; }
  .hero-text > p { animation-delay: 0.12s; }
  @keyframes settle { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
