:root {
  --bg: #fcfbfa;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --accent-1: #c17a56;
  --accent-2: #4a7c6f;
  --accent-3: #b0546e;
  --border: #e5e3de;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.dropdown { position: relative; }

.dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  color: inherit;
  padding: 0;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 28px;
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 8px 0;
  min-width: 140px;
  flex-direction: column;
}

.dropdown.is-open .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  padding: 8px 16px;
}

.dropdown-menu a:hover { color: var(--accent-1); }

.menu-button {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 40px;
}

.hero-greeting {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 8px;
}

.hero-greeting a { text-decoration: underline; }

.hero-heading {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 28px;
  max-width: 780px;
}

.hl { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hl-1 { color: var(--accent-1); }
.hl-2 { color: var(--accent-2); }
.hl-3 { color: var(--accent-3); }

.hero-bio {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
}

/* Section title */
.section-title {
  max-width: var(--max-width);
  margin: 40px auto 24px;
  padding: 0 24px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

/* Work list */
.work-list {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.work-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.work-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.work-card-image {
  flex: 1 1 50%;
  overflow: hidden;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-card-image img { transform: scale(1.03); }

.work-card-body {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.work-card-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 16px;
}

.work-card-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}

.work-card-sub {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 28px;
}

.work-card-button {
  display: inline-block;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--bg);
  background: var(--ink);
  padding: 14px 28px;
  border-radius: 100px;
  transition: opacity 0.2s ease;
}

.work-card:hover .work-card-button { opacity: 0.85; }

/* About page */
.about-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: flex;
  align-items: center;
  gap: 64px;
}

.about-photo {
  flex: 0 0 38%;
  border-radius: 16px;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-content {
  flex: 1 1 auto;
}

.about-content h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  margin: 0 0 20px;
}

.about-content p {
  max-width: 480px;
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 16px;
}

.about-extra {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.skill-tags li {
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 28px 24px 32px;
}

.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  color: var(--ink);
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--accent-1);
}

/* Case study */
.case-study {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.case-eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent-1);
  font-weight: 600;
  margin: 0 0 16px;
}

.case-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
}

.case-subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 32px;
}

.case-meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin: 0 0 8px;
}

.case-meta dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.case-meta dd {
  margin: 0;
  font-size: 15px;
  max-width: 320px;
}

.case-section {
  padding-top: 48px;
}

.case-section h2 {
  font-size: 22px;
  margin: 0 0 20px;
}

.case-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 18px;
}

.case-quote {
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
}

.case-list {
  padding-left: 20px;
  margin: 0 0 18px;
}

.case-list li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.finding-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 32px 0;
}

.finding-card {
  background: var(--bg);
  padding: 28px 24px;
}

.finding-number {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--accent-1);
  font-weight: 700;
  margin-bottom: 12px;
}

.finding-card h3 {
  font-size: 17px;
  margin: 0 0 10px;
}

.finding-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.case-figure {
  margin: 32px 0;
}

.case-figure-placeholder {
  background: var(--border);
  color: var(--muted);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 4px;
}

.case-blockquote {
  border-left: 3px solid var(--accent-1);
  padding: 4px 0 4px 20px;
  margin: 24px 0;
}

.case-blockquote p {
  font-size: 18px;
  font-style: italic;
  margin: 0 0 8px;
}

.case-blockquote cite {
  font-size: 14px;
  color: var(--muted);
  font-style: normal;
}

.case-note {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

.more-projects {
  padding-top: 56px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}

.more-projects .section-title {
  padding: 0;
  margin: 0 0 24px;
}

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

.more-project-card {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.more-project-card:hover { transform: translateY(-2px); }

.more-project-card--a { background: #cfe9df; }
.more-project-card--b { background: #f3ded0; }

.more-project-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

/* Responsive */
@media (max-width: 767px) {
  .nav-links { display: none; }
  .menu-button { display: block; }
  .work-card { flex-direction: column; }
  .work-card-image img { aspect-ratio: 4 / 3; }
  .work-card-body { padding: 28px 24px; }
  .work-card-title { font-size: 22px; }
  .case-meta { gap: 24px; }
  .finding-grid { grid-template-columns: 1fr; }
  .about-hero { flex-direction: column; gap: 32px; }
  .about-photo { flex-basis: auto; width: 100%; max-width: 320px; }
  .more-projects-grid { grid-template-columns: 1fr; }
}
