:root {
  --bg: #fff7f4;
  --paper: #fffdfb;
  --ink: #20171a;
  --muted: #6f5e63;
  --line: #ead8db;
  --accent: #e61770;
  --accent-orange: #e84f26;
  --accent-soft: #ffe0ec;
  --orange-soft: #ffe2d7;
  --soft: #f7e9ec;
  --dark: #24181c;
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}
a {color:#e84f26; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 18px 4px 18px 4px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  font-size: 18px;
}
.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.site-header nav { display: flex; gap: 24px; font-size: 14px; }
.site-header nav a { color: var(--muted); }
.site-header nav a:hover { color: var(--ink); }

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 105px 0;
}
.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
  padding-top: 90px;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
h1, h2, h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0;
}
h1 { font-size: clamp(52px, 7vw, 94px); max-width: 760px; }
h2 { font-size: clamp(40px, 5vw, 66px); }
h3 { font-size: 28px; }
.lede {
  max-width: 670px;
  margin: 28px 0 0;
  font-size: 19px;
  color: var(--muted);
}
.hero-actions { display: flex; gap: 24px; align-items: center; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.button-dark { background: var(--accent); color: white; box-shadow: 0 10px 28px rgba(230, 23, 112, .22); }
.button-dark:hover { background: var(--dark); }
.text-link { font-weight: 600; }
.text-link span, .project-link span, .contact-email span { display: inline-block; transition: transform 160ms ease; }
.text-link:hover span, .project-link:hover span, .contact-email:hover span { transform: translate(3px, -2px); }

.hero-note { position: relative; min-height: 380px; }
.note-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(31, 27, 19, 0.08);
}
.note-card + .note-card { margin-top: 28px; }
.note-offset { margin-left: 70px; background: linear-gradient(135deg, var(--accent), var(--accent-orange)); border-color: transparent; }
.note-label { display: block; margin-bottom: 24px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.note-card strong { display: block; font-size: 32px; font-family: "Space Grotesk", sans-serif; line-height: 1.05; letter-spacing: -0.03em; }
.note-card p { margin: 10px 0 0; color: var(--muted); }
.note-offset p { color: rgba(255,255,255,.86); }

.section-heading, .case-header { margin-bottom: 44px; }
.section-intro, .case-summary { margin: 8px; color: var(--muted); font-size: 16px; }
.work-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 24px; }
.project-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project-visual { min-height: 360px; padding: 44px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ffe0ec, #ffe4da); border-color: rgba(232,79,38,.35);}
.project-image { max-height: 320px;}
.project-body { padding: 30px; }
.project-card-accent { border-color: rgba(230,23,112,.18); }
.project-kicker { font-size: 12px; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:var(--muted); margin-bottom:14px; }
.project-body p { color: var(--muted); max-width: 620px; }
.tag-list { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0 24px; }
.tag-list span { padding:6px 10px; border:1px solid var(--line); border-radius:999px; font-size:12px; color:var(--muted); }
.project-link { font-weight:700; }

.case-study { border-top: 1px solid var(--line); }
.case-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: stretch; }
.case-grid.reverse { grid-template-columns: 1.1fr .9fr; }
.case-copy { padding: 10px 0; }
.case-copy h3 { margin: 0 0 12px; font-size:24px; }
.case-copy h3 + p, .case-copy h3 + ul { margin-top: 0; }
.case-copy h3:not(:first-child) { margin-top: 34px; }
.case-copy p, .case-copy li { color: var(--muted); }
.case-copy ul { padding-left: 18px; }
.case-image {min-height: 400px; border;8px solid #fff; border-radius:16px;}
.case-strip { display:grid; grid-template-columns:repeat(3,1fr); margin-top:30px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.case-strip div { padding:22px 20px; border-right:1px solid var(--line); }
.case-strip div:last-child { border-right:0; }
.metric { display:block; margin-bottom:4px; font-family:"Space Grotesk",sans-serif; font-size:22px; font-weight:700; }
.case-strip div span:last-child { color:var(--muted); font-size:14px; }

.about-section { display:grid; grid-template-columns: .75fr 1.25fr; gap: 90px; border-top:1px solid var(--line); }
.about-copy { max-width: 720px; }
.about-copy p { font-size:20px; margin:0 0 24px; }
.about-copy p:last-child { margin-bottom:0; }

.experience-section { border-top:1px solid var(--line); }
.timeline { border-top:1px solid var(--line); }
.timeline-item { display:grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 30px 0; border-bottom:1px solid var(--line); }
.timeline-date { color:var(--muted); font-size:14px; }
.timeline-item h3 { font-size:26px; margin-bottom:6px; }
.role { margin:0 0 12px; font-weight:600; }
.timeline-item p:last-child { color:var(--muted); max-width:760px; margin:0; }
.timeline-care { background: linear-gradient(to right, transparent, rgba(230,23,112,.08)); }

.contact-section { display:grid; grid-template-columns: 1fr 1fr; gap: 80px; border-top:1px solid var(--line); }
.contact-copy { max-width: 560px; }
.contact-email { display:inline-block; margin-top:14px; font-family:"Space Grotesk",sans-serif; font-size: 24px; font-weight:700; letter-spacing:-.03em; overflow-wrap:anywhere; }
.contact-links { display:flex; gap:22px; margin-top:30px; font-weight:600; }
.site-footer { width:min(calc(100% - 40px), var(--max)); margin:0 auto; padding:24px 0 40px; display:flex; justify-content:space-between; color:var(--muted); font-size:13px; border-top:1px solid var(--line); }

@media (max-width: 900px) {
  .hero, .about-section, .contact-section, .case-grid, .case-grid.reverse, .work-grid { grid-template-columns:1fr; }
  .hero { gap:45px; padding-top:60px; }
  .hero-note { min-height:auto; }
  .note-offset { margin-left:30px; }
  .case-image-placeholder { min-height:320px; }
  .site-header nav { gap:14px; font-size:13px; }
  .timeline-item { grid-template-columns:1fr; gap:8px; }
  .about-section { gap:40px; }
  .contact-section { gap:40px; }
}

@media (max-width: 620px) {
  .section, .site-header, .site-footer { width:min(calc(100% - 28px), var(--max)); }
  .site-header { padding-top:14px; padding-bottom:14px; }
  .site-header nav a:nth-child(3) { display:none; }
  h1 { font-size:48px; }
  h2 { font-size:40px; }
  .lede { font-size:17px; }
  .project-visual { padding:20px; min-height:250px; }
  .case-strip { grid-template-columns:1fr; }
  .case-strip div { border-right:0; border-bottom:1px solid var(--line); }
  .case-strip div:last-child { border-bottom:0; }
  .site-footer { flex-direction:column; gap:8px; }
}
