
/* === AwakeVC static site === */
:root {
  --bg: #faf8f3;
  --bg-soft: #f3efe6;
  --surface: #ffffff;
  --ink: #111217;
  --ink-soft: #3a3b42;
  --muted: #7a7b82;
  --line: #e5e0d4;
  --line-soft: #efeadd;
  --accent: #b4531a;
  --accent-ink: #8a3f14;
  --accent-soft: #fbeedf;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(17, 18, 23, 0.04), 0 1px 3px rgba(17, 18, 23, 0.06);
  --shadow-md: 0 6px 20px rgba(17, 18, 23, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}
.wrap.narrow { max-width: 760px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(250, 248, 243, 0.82);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-dot { color: var(--accent); }
.site-nav {
  display: flex;
  gap: 30px;
}
.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.site-nav a:hover { color: var(--accent-ink); text-decoration: none; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Hero (home) ---------- */
.hero {
  padding: 92px 0 72px;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(180, 83, 26, 0.10), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(180, 83, 26, 0.06), transparent 60%);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 16ch;
  color: var(--ink);
}
.hero-title em {
  font-style: italic;
  color: var(--accent-ink);
}
.hero-lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-1px); text-decoration: none; box-shadow: var(--shadow-md); }
.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}
.btn-ghost:hover { border-color: var(--ink); text-decoration: none; }

/* ---------- Callout cards (home) ---------- */
.callouts { padding: 48px 0 24px; }
.callouts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.card-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
.card-desc {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Multiverse section ---------- */
.multiverse { padding: 80px 0 12px; }
.section-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  max-width: 20ch;
}
.section-lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 66ch;
  margin: 0;
}

/* ---------- Meta blocks ---------- */
.metas { padding: 28px 0 120px; }
.metas .wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
}
.meta-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.meta-block:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.meta-header h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.meta-header p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.meta-pages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.meta-pages li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--bg);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.meta-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
}
.meta-icon-placeholder {
  display: none;
}
.meta-pages li a:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
}

/* ---------- Cover hero ---------- */
.cover-hero {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 720px) {
  .cover-hero { height: 180px; }
}

/* ---------- Article page ---------- */
.page-main { padding: 0; }
.page-main > .wrap { padding-top: 40px; padding-bottom: 96px; }
.page-main:not(:has(.cover-hero)) > .wrap { padding-top: 56px; }
.breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 28px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-ink); }

.page-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 36px;
  color: var(--ink);
}
.page-title.with-icon {
  display: flex;
  align-items: center;
  gap: 16px;
}
.page-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.prose { font-size: 18px; line-height: 1.75; color: var(--ink-soft); }
.prose h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 48px 0 16px;
  color: var(--ink);
}
.prose h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  margin: 36px 0 12px;
  color: var(--ink);
}
.prose h4 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 30px 0 8px;
}
.prose p { margin: 0 0 20px; }
.prose a { color: var(--accent-ink); border-bottom: 1px solid rgba(180, 83, 26, 0.3); }
.prose a:hover { border-bottom-color: var(--accent); text-decoration: none; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}
.prose figure { margin: 32px 0; }
.prose figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.prose figcaption {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

.callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}
.callout p { margin: 0 0 12px; color: var(--ink-soft); }
.callout p:last-child { margin-bottom: 0; }
.callout a { color: var(--accent-ink); }

/* ---------- Portfolio ---------- */
.portfolio { margin-top: 40px; }
.portfolio-year { margin-bottom: 56px; }
.portfolio-year h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--ink);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.portfolio-item {
  padding: 22px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.portfolio-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 40px;
  padding: 48px 0 64px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand .brand-mark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.footer-tag {
  font-style: italic;
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 14px;
}
.footer-meta { text-align: right; font-size: 14px; color: var(--ink-soft); }
.footer-meta p { margin: 0 0 6px; }
.footer-meta a { color: var(--ink-soft); }
.footer-meta a:hover { color: var(--accent-ink); }
.footer-fine { color: var(--muted); font-size: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .callouts-grid { grid-template-columns: repeat(2, 1fr); }
  .metas .wrap { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 60px 0 48px; }
  .hero-lede { font-size: 17px; }
  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 12px 28px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .site-nav a { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: block; }
  .site-footer .wrap { flex-direction: column; }
  .footer-meta { text-align: left; }
  .prose { font-size: 17px; }
  .page-main { padding: 32px 0 72px; }
}
