/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1e3748;
  background: #fcfbf8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #b9483c; text-decoration: none; border-bottom: 1px solid currentColor; transition: opacity .15s ease; }
a:hover { opacity: .65; }

/* ---------- Layout ---------- */
.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site {
  padding: 32px 0 24px;
  border-bottom: 1px solid rgba(30,55,72,0.08);
  background: #fcfbf8;
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
}
header.site .inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
header.site a.brand {
  font-weight: 600;
  font-size: 18px;
  color: #1e3748;
  border-bottom: none;
}
header.site nav a {
  color: #4a6578;
  border-bottom: none;
  font-size: 15px;
  margin-left: 28px;
}
header.site nav a:hover { color: #b9483c; opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
}
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 400;
  color: #1e3748;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.hero .avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #3b6b4a;
  background: rgba(59,107,74,0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero .avail::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: #3b6b4a;
}
.hero .meta {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.hero .meta div { font-size: 14px; }
.hero .meta .label {
  color: #7a8a95;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* ---------- Section headers ---------- */
section { padding: 64px 0; }
section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #7a8a95;
  margin: 0 0 32px;
}

/* ---------- Work cards ---------- */
.work-list { display: flex; flex-direction: column; gap: 56px; }
.work-card {
  padding: 28px 0;
  border-top: 1px solid rgba(30,55,72,0.1);
}
.work-card .year {
  font-size: 13px;
  color: #7a8a95;
  margin-bottom: 8px;
}
.work-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 12px;
  color: #1e3748;
}
.work-card .teaser-stat {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: #b9483c;
  font-size: 18px;
  margin: 16px 0 12px;
  line-height: 1.4;
}
.work-card p { margin: 0 0 16px; color: #3a5062; }
.work-card .tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.work-card .tag {
  font-size: 12px;
  color: #4a6578;
  background: rgba(30,55,72,0.05);
  padding: 4px 10px;
  border-radius: 999px;
}
.work-card .link {
  display: inline-block;
  font-weight: 500;
}
.work-card .link::after {
  content: " →";
  transition: transform .15s ease;
  display: inline-block;
}
.work-card .link:hover::after { transform: translateX(3px); }

/* ---------- About ---------- */
.about p { margin: 0 0 20px; }
.methods {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.methods .m {
  font-size: 13px;
  color: #4a6578;
  background: rgba(30,55,72,0.05);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Contact ---------- */
.contact .links { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.contact .links a { font-size: 18px; }

/* ---------- Footer ---------- */
footer.site {
  padding: 48px 0 64px;
  border-top: 1px solid rgba(30,55,72,0.08);
  color: #7a8a95;
  font-size: 14px;
}
footer.site .inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- Case study pages ---------- */
.cs-header { padding: 64px 0 32px; }
.cs-header .back {
  display: inline-block;
  font-size: 14px;
  color: #7a8a95;
  border-bottom: none;
  margin-bottom: 32px;
}
.cs-header .back::before { content: "← "; }
.cs-header h1 {
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #1e3748;
  letter-spacing: -0.01em;
}
.cs-header .subtitle {
  font-size: 19px;
  color: #4a6578;
  margin: 0 0 32px;
  font-style: italic;
  line-height: 1.5;
}
.cs-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(30,55,72,0.1);
  border-bottom: 1px solid rgba(30,55,72,0.1);
  margin-bottom: 48px;
}
.cs-meta .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a8a95;
  margin-bottom: 4px;
}
.cs-meta .val { font-size: 14px; color: #1e3748; }

.cs h2 {
  font-family: Georgia, serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #7a8a95;
  margin: 64px 0 24px;
}
.cs h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: #1e3748;
  margin: 40px 0 16px;
}
.cs p { margin: 0 0 20px; }
.cs figure {
  margin: 40px -40px;
  text-align: center;
}
.cs figure img { margin: 0 auto; border-radius: 6px; }
.cs figcaption {
  font-size: 13px;
  color: #7a8a95;
  font-style: italic;
  margin-top: 12px;
}
.cs blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid #b9483c;
  font-family: Georgia, serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  color: #1e3748;
}
.cs .stat-callout {
  padding: 24px 28px;
  background: rgba(185,72,60,0.06);
  border-left: 3px solid #b9483c;
  margin: 24px 0 32px;
  border-radius: 0 6px 6px 0;
}
.cs .stat-callout .big {
  font-family: Georgia, serif;
  font-size: 32px;
  color: #1e3748;
  line-height: 1;
  margin-bottom: 6px;
}
.cs .stat-callout .small {
  font-size: 14px;
  color: #4a6578;
}
.fcw { margin: 20px 0; padding-left: 20px; border-left: 2px solid rgba(30,55,72,0.1); }
.fcw p { margin: 0 0 8px; }
.fcw p strong { color: #1e3748; }

.cs-next {
  margin: 96px 0 64px;
  padding: 48px 0;
  border-top: 1px solid rgba(30,55,72,0.1);
  text-align: center;
}
.cs-next .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7a8a95;
  margin-bottom: 12px;
}
.cs-next a {
  font-family: Georgia, serif;
  font-size: 24px;
  color: #1e3748;
  border-bottom: none;
}
.cs-next a::after {
  content: " →";
  color: #b9483c;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 32px; }
  .cs-header h1 { font-size: 30px; }
  .cs-header .subtitle { font-size: 17px; }
  .cs figure { margin: 32px 0; }
  .cs h3 { font-size: 20px; }
  .cs blockquote { font-size: 18px; }
  header.site nav a { margin-left: 16px; }
  section { padding: 48px 0; }
}
