/* Mnemosaic LLC — site styles */

:root {
  --ink:        #16202b;
  --ink-soft:   #45566a;
  --paper:      #ffffff;
  --paper-alt:  #f4f6f9;
  --line:       #e2e7ee;
  --brand:      #1f6f6b;   /* deep teal */
  --brand-deep: #164f4c;
  --brand-tint: #e7f2f1;
  --accent:     #c8892f;   /* warm gold */
  --radius:     14px;
  --wrap:       1080px;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--brand);
  color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 1.25rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  background: var(--brand); color: #fff; border-radius: 9px;
  font-weight: 600; font-size: 1.1rem;
}
.brand-text { font-weight: 600; }
.brand-llc { font-family: var(--font-sans); font-size: 0.62em; font-weight: 600; color: var(--brand); vertical-align: super; margin-left: 4px; letter-spacing: 0.06em; }

.site-nav { display: flex; gap: 26px; }
.site-nav a { color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; }
.site-nav a:hover { color: var(--brand); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 15% -10%, var(--brand-tint), transparent 60%),
    linear-gradient(180deg, #fbfdfd, var(--paper));
  border-bottom: 1px solid var(--line);
}
.hero-inner { padding: clamp(3.5rem, 8vw, 6rem) 24px clamp(3rem, 6vw, 4.5rem); max-width: 900px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--brand); margin: 0 0 1rem; }
.lede { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-soft); max-width: 44ch; margin: 0 0 2rem; }
.lede strong { color: var(--ink); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.5rem; border-radius: 10px; font-weight: 600; font-size: 0.98rem;
  transition: transform .08s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(31,111,107,0.28); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: #fff; color: var(--brand-deep); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); }

.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 2.5rem; padding: 1.75rem 0 0; margin: 0; border-top: 1px solid var(--line); }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-serif); font-size: 1.5rem; color: var(--brand-deep); }
.hero-stats span { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--accent); margin: 0 0 0.6rem; }
.section-intro { font-size: 1.08rem; color: var(--ink-soft); max-width: 62ch; margin: 0.5rem 0 2.5rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; transition: box-shadow .18s ease, transform .1s ease, border-color .18s ease;
}
.card:hover { box-shadow: 0 10px 30px rgba(22,32,43,0.08); transform: translateY(-2px); border-color: #cdd6e0; }
.card h3 { color: var(--brand-deep); }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
.about-grid p { color: var(--ink-soft); }
.about-facts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.about-facts h3 { color: var(--brand-deep); margin-bottom: 1rem; }
.about-facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.55rem 1rem; }
.about-facts dt { color: var(--ink-soft); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.about-facts dd { margin: 0; font-weight: 500; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0 0 3rem; padding: 0; }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 1.25rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: none; }
.timeline-when { font-family: var(--font-serif); font-weight: 600; color: var(--accent); padding-top: 2px; }
.timeline-what h3 { margin-bottom: 0.25rem; }
.timeline-what p { margin: 0; color: var(--ink-soft); }

/* ---------- Skills ---------- */
.skills h3 { color: var(--brand-deep); margin-bottom: 1rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.chips li { background: var(--brand-tint); color: var(--brand-deep); border-radius: 999px; padding: 0.4rem 0.95rem; font-size: 0.9rem; font-weight: 500; }

/* ---------- Contact ---------- */
.contact-inner { max-width: 760px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 0.5rem; }
.contact-card {
  display: flex; flex-direction: column; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; transition: border-color .18s ease, box-shadow .18s ease, transform .1s ease;
}
.contact-card:hover { text-decoration: none; border-color: var(--brand); box-shadow: 0 8px 24px rgba(22,32,43,0.08); transform: translateY(-2px); }
.contact-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }
.contact-value { font-weight: 600; color: var(--brand-deep); word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7d2de; padding: 3rem 0 1.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .brand-text { font-family: var(--font-serif); font-size: 1.3rem; color: #fff; }
.footer-brand .brand-llc { color: #7fc9c3; }
.footer-brand p { margin: 0.6rem 0 0; font-size: 0.92rem; color: #97a6b6; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: #c7d2de; font-size: 0.95rem; }
.footer-links a:hover { color: #fff; }
.footer-legal { padding-top: 1.25rem; }
.footer-legal p { margin: 0; font-size: 0.85rem; color: #7f8c9c; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
}
@media (max-width: 560px) {
  .timeline li { grid-template-columns: 1fr; gap: 0.35rem; }
  .hero-stats { gap: 1.5rem; }
}
