<link rel="stylesheet" href="/style.css?v=1">

/* ===============================
   BASE / VARIABLES
================================ */

:root {
  --bg: #f6f5f2;
  --text: #111111;
  --muted: #666666;
  --line: rgba(0,0,0,0.12);
  --card: rgba(255,255,255,0.65);
  --shadow: 0 8px 30px rgba(0,0,0,0.06);
  --radius: 18px;
  --max: 980px;
}

/* ===============================
   RESET
================================ */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* ===============================
   GLOBAL
================================ */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Inter, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===============================
   LAYOUT
================================ */

.container {
  max-width: var(--max);
  padding: 0 24px;
  margin: 0 auto;
}

/* ===============================
   HEADER
================================ */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(246,245,242,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 22px 0;
}

.name {
  font-size: 34px;
  margin: 0;
  letter-spacing: -0.02em;
}

.role {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.nav {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  padding: 8px 10px;
  border-radius: 12px;
}

.nav a:hover {
  background: rgba(255,255,255,0.6);
  text-decoration: none;
}

/* ===============================
   HERO / SECTIONS
================================ */

.hero {
  padding: 40px 0 10px;
}

.intro {
  max-width: 65ch;
  font-size: 18px;
}

.section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 18px;
}

h2 {
  font-size: 18px;
  margin: 0;
}

.muted {
  font-size: 14px;
  color: var(--muted);
}

/* ===============================
   WORK GRID
================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  text-decoration: none;
}

.card-meta h3 {
  font-size: 16px;
  margin: 0 0 4px 0;
}

.card-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 14px;
}

.card-cta {
  font-size: 14px;
  color: var(--muted);
}

/* ===============================
   PROJECT PAGES
================================ */

.back {
  font-size: 14px;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 10px;
}

.project-title {
  font-size: 30px;
  margin: 0;
  letter-spacing: -0.02em;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,0.6);
}

.two-col {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.facts {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.fact {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.fact:first-child {
  border-top: none;
  padding-top: 0;
}

.label {
  font-size: 13px;
  color: var(--muted);
}

/* ===============================
   LISTS & IMAGES
================================ */

.bullets {
  margin: 10px 0 0 18px;
}

.bullets li {
  margin: 8px 0;
}

.image-block {
  margin-top: 18px;
}

.placeholder {
  height: 320px;
  border-radius: var(--radius);
  border: 1px dashed rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.35);
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 12px;
}

.realimg {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
}

.caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

/* ===============================
   FOOTER / NAV
================================ */

.footer {
  padding: 30px 0 60px;
  border-top: 1px solid var(--line);
}

.next-prev {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.next,
.prev {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.6);
  font-size: 14px;
  color: var(--muted);
}

.next:hover,
.prev:hover {
  background: rgba(255,255,255,0.85);
  text-decoration: none;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .topline {
    flex-direction: column;
    align-items: flex-start;
  }
}
