/* ===== Tokens ===== */
:root {
  --bg: #FAF8F3;
  --ink: #17181C;
  --ink-soft: #55564F;
  --ink-faint: #8A8A80;
  --line: #E6E1D3;
  --card: #FFFFFF;
  --navy: #1B2A41;
  --brass: #A97A34;
  --brass-soft: #E9D9BC;
  --max: 960px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

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

a { color: inherit; }

/* ===== Masthead ===== */
.masthead {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-faint);
}

.masthead-inner strong {
  color: var(--ink);
  font-weight: 600;
}

/* ===== Hero ===== */
.hero {
  padding: 88px 0 64px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.06;
  margin-bottom: 26px;
}

.hero-lead {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ===== Projects ===== */
.projects {
  padding: 20px 0 80px;
}

.projects .wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.project:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(23, 24, 28, 0.08);
  border-color: #D8D0BA;
}

.project-media {
  height: 96px;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.project-monogram {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  color: rgba(250, 248, 243, 0.92);
}

.project-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.project-head h2 {
  font-size: 19px;
  font-weight: 500;
}

.project-tag {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
  background: var(--brass-soft);
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}

.project-body p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.project-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.project-link:hover { text-decoration: underline; }

.more-tools {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-faint);
}

.more-tools a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.more-tools a:hover { text-decoration: underline; }

/* ===== Next up ===== */
.next-up {
  background: var(--navy);
  padding: 72px 0;
}

.next-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-soft);
  border: 1px solid rgba(233, 217, 188, 0.35);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.next-up h2 {
  color: #FAF8F3;
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 16px;
  max-width: 620px;
}

.next-up p {
  color: rgba(250, 248, 243, 0.72);
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.7;
}

/* ===== Footer ===== */
.site-footer {
  padding: 28px 0 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-faint);
}

.footer-inner a {
  text-decoration: none;
  color: var(--ink-faint);
}

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

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .projects .wrap { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .masthead-inner { font-size: 12px; }
}
