@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

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

:root {
  --dark: #111110;
  --dark-2: #1E1E1C;
  --dark-3: #2E2E2B;
  --surface: #F9F8F4;
  --surface-2: #F1F0EA;
  --white: #FFFFFF;
  --text: #1A1A18;
  --text-light: #F4F3EE;
  --text-muted: #6B6B66;
  --text-faint: #ADADAA;
  --accent: #2B7A64;
  --border: #E0DED7;
  --border-dark: #2E2E2B;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(17,17,16,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-dark);
}

.nav-logo {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-faint);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--text-light); }

.nav-links .nav-cta {
  color: var(--text-light);
  border: 1px solid rgba(244,243,238,0.18);
  padding: 6px 16px;
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
}

.nav-links .nav-cta:hover { border-color: rgba(244,243,238,0.45); }

/* ─── HERO ─────────────────────────────── */
.hero {
  background: var(--dark);
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 48px 72px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(54px, 9vw, 104px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-faint);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 52px;
}

.hero-rule { width: 100%; height: 1px; background: var(--border-dark); margin-bottom: 32px; }

.hero-meta {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.hero-meta-item { display: flex; flex-direction: column; gap: 6px; }

.hero-meta-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero-meta-value {
  font-size: 13px;
  color: rgba(244,243,238,0.65);
}

.hero-meta-value a {
  color: rgba(244,243,238,0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(244,243,238,0.18);
  transition: border-color 0.2s;
}

.hero-meta-value a:hover { border-color: rgba(244,243,238,0.5); }

/* ─── SHARED CONTENT SURFACE ────────────── */
/* All page content below hero uses one consistent background.
   Sections separated by thin rules + generous whitespace only. */

.section-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-weight: 500;
}

/* ─── WORK ─────────────────────────────── */
.work {
  padding: 80px 48px;
  background: var(--surface);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}

.case-card {
  background: var(--white);
  padding: 48px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
  border-right: 1px solid var(--border);
}

.case-card:last-child { border-right: none; }
.case-card:hover { background: var(--surface-2); }

.case-card-year {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.case-card-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
}

.case-card-role {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.case-card-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.case-card-cta {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ─── ABOUT ─────────────────────────────── */
.about {
  padding: 72px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
}

.about-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-body p + p { margin-top: 14px; }

.about-links {
  display: flex;
  gap: 24px;
  margin-top: 28px;
}

.about-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(43,122,100,0.22);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.about-link:hover { border-color: var(--accent); }

/* ─── FOOTER ─────────────────────────────── */
footer {
  background: var(--dark);
  color: var(--text-faint);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

footer a { color: var(--text-faint); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--text-light); }

/* ─── CASE STUDY: HERO ─────────────────── */
.cs-hero {
  background: var(--dark);
  color: var(--text-light);
  padding: 140px 48px 72px;
}

.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-decoration: none;
  margin-bottom: 48px;
  transition: color 0.2s;
}

.cs-back:hover { color: var(--text-light); }

.cs-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.cs-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 48px;
}

.cs-at-a-glance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-dark);
  padding-top: 28px;
  gap: 0;
}

.cs-stat {
  padding-right: 28px;
  border-right: 1px solid var(--border-dark);
}

.cs-stat:last-child { border-right: none; padding-left: 28px; padding-right: 0; }
.cs-stat:not(:first-child):not(:last-child) { padding-left: 28px; }

.cs-stat-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.cs-stat-value {
  font-size: 13px;
  color: rgba(244,243,238,0.65);
  line-height: 1.5;
}

/* ─── CASE STUDY: BODY ─────────────────── */
/* One consistent surface — all sections the same */
.cs-section {
  padding: 28px 48px;
  background: var(--surface);
}

.cs-hero + .cs-section { padding-top: 56px; }
.cs-section:has(+ .cs-next) { padding-bottom: 56px; }

.cs-section-inner { max-width: 720px; margin: 0 auto; }

.cs-section-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-weight: 500;
}

.cs-h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 28px;
  color: var(--text);
}

.cs-h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0;
  margin: 44px 0 12px;
  color: var(--text);
  line-height: 1.2;
}

.cs-p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 18px;
  color: #3E3E3A;
}

.cs-ul {
  list-style: none;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-ul li {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
  color: #3E3E3A;
}

.cs-ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* ─── SCREEN PLACEHOLDER ────────────────── */
.screen-placeholder {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 52px 24px;
  text-align: center;
  margin: 28px 0;
}

.screen-placeholder-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ─── METRICS ───────────────────────────── */
.cs-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 28px 0;
}

.cs-metric {
  background: var(--white);
  padding: 28px 32px;
}

.cs-metric-value {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.cs-metric-label {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── CS NEXT ───────────────────────────── */
.cs-next {
  padding: 60px 48px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--white);
}

.cs-next-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.cs-next-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  margin-bottom: 14px;
}

.cs-next-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.cs-next-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(43,122,100,0.22);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.cs-next-link:hover { border-color: var(--accent); }

/* ─── RESPONSIVE ────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .hero, .work, .about { padding-left: 24px; padding-right: 24px; }
  .hero-meta { gap: 28px; }
  .work-grid { grid-template-columns: 1fr; }
  .case-card { border-right: none; border-bottom: 1px solid var(--border); }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .cs-hero { padding: 120px 24px 60px; }
  .cs-at-a-glance { grid-template-columns: 1fr 1fr; }
  .cs-section { padding: 56px 24px; }
  .cs-metrics { grid-template-columns: 1fr; }
  .cs-next { grid-template-columns: 1fr; gap: 0; padding: 48px 24px; }
  footer { flex-direction: column; gap: 10px; }
}

@media (max-width: 600px) {
  .nav-link-hide { display: none; }
  .cs-at-a-glance { grid-template-columns: 1fr; }
  .cs-stat { border-right: none; border-bottom: 1px solid var(--border-dark); padding: 20px 0 !important; }
  .cs-stat:last-child { border-bottom: none; }
}

/* ─── BEFORE / AFTER ─────────────────────────────────────────────── */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 28px 0;
}

.before-after-col {
  background: var(--surface);
  padding: 24px 28px;
}

.before-after-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .before-after { grid-template-columns: 1fr; }
}

/* ─── CASE STUDY IMAGES ──────────────────────────────────────────── */
.cs-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin: 28px 0;
}

.cs-img-caption {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: -18px;
  margin-bottom: 28px;
  text-align: center;
}
