@import url('https://fonts.googleapis.com/css2?family=Chivo:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* Angela Chen — static replica */

:root {
  --ink: #222222;
  --muted: #6b6b6b;
  --link: red;
  --link-hover: red;
  --bg: #ffffff;
  --rule: #e6e6e6;
  --maxw: 700px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Chivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Header / nav ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 36px 24px 16px;
}

.site-title {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-title a {
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover { color: var(--ink); }

.nav a.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- Main ---------- */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.page-title {
  font-size: 30px;
  font-weight: 600;
  margin: 24px 0 32px;
  letter-spacing: 0.01em;
}

p { margin: 0 0 20px; }

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

em { font-style: italic; }
strong { font-weight: 600; }

/* Ace page cover image */
.cover {
  display: block;
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 0 auto 28px;
}

.buy-links {
  text-align: center;
  margin-bottom: 32px;
  color: var(--muted);
}

/* Selected Work list */
.section-label {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
  margin: 40px 0 16px;
}
.section-label:first-of-type { margin-top: 8px; }

.clip {
  margin: 0 0 14px;
  line-height: 1.6;
}

.clip .outlet { color: var(--muted); }

/* Social row on Ace page */
.social-row {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-row a {
  color: var(--link);
  display: inline-flex;
  transition: opacity 0.15s ease;
}
.social-row a:hover { opacity: 0.6; }
.social-row svg { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 28px;
  }
  .site-title { font-size: 23px; }
  .page-title { font-size: 26px; }
  .nav { justify-content: flex-start; gap: 18px; font-size: 12px; }
  body { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
