:root {
  --crimson: #E2564C;        /* logo coral: large display type, marks */
  --crimson-deep: #BF3B32;   /* text links, buttons (5.4:1 on white) */
  --blush: #FBF1EF;
  --rose: #EFD9D5;
  --charcoal: #2A2A2A;
  --slate: #666666;
  --white: #FFFFFF;
  --display: "Alice", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { max-width: 100%; display: block; }
a { color: var(--crimson-deep); text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--crimson-deep); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; color: var(--charcoal); }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; max-width: 64ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.label { font-variant: small-caps; text-transform: lowercase; letter-spacing: 0.06em; color: var(--crimson-deep); font-weight: 600; font-size: 1.05rem; margin: 0 0 12px; }
.lede { font-size: 1.2rem; color: var(--charcoal); }
.muted { color: var(--slate); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 50; }

/* Buttons */
.btn {
  display: inline-block; background: var(--crimson-deep); color: var(--white);
  font-weight: 600; text-decoration: none; padding: 15px 26px; border-radius: 999px;
  transition: background .2s;
}
.btn:hover { background: var(--charcoal); color: var(--white); }
.btn-ghost { background: transparent; color: var(--charcoal); box-shadow: inset 0 0 0 2px var(--rose); }
.btn-ghost:hover { background: var(--blush); color: var(--charcoal); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rose); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 104px; }
.brand img { height: 88px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--charcoal); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--crimson-deep); }
.nav .btn { padding: 11px 20px; font-size: .95rem; }
@media (max-width: 820px) {
  .nav a:not(.btn) { display: none; }
  .brand img { height: 64px; }
}

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 40px; }
.hero h1 { max-width: 12ch; }
.hero .lede { margin: 28px 0 36px; max-width: 34ch; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.bloom { width: 100%; max-width: 460px; justify-self: end; }
.bloom circle { fill: none; stroke: var(--crimson); stroke-width: 1.6; }
.bloom circle.center { fill: var(--crimson); stroke: none; }
@media (prefers-reduced-motion: no-preference) {
  .bloom circle:not(.center) { stroke-dasharray: 380; stroke-dashoffset: 380; animation: draw 1.4s cubic-bezier(.5,0,.2,1) forwards; }
  .bloom circle:nth-child(2) { animation-delay: .15s; }
  .bloom circle:nth-child(3) { animation-delay: .3s; }
  .bloom circle:nth-child(4) { animation-delay: .45s; }
  .bloom circle:nth-child(5) { animation-delay: .6s; }
  .bloom circle:nth-child(6) { animation-delay: .75s; }
  .bloom circle:nth-child(7) { animation-delay: .9s; }
  .bloom circle.center { opacity: 0; animation: fade .6s 1.8s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .bloom { max-width: 220px; justify-self: start; order: -1; margin-bottom: 8px; }
}

/* Why */
.why { background: var(--blush); }
.why .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.statement { font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.2; margin: 0; }
.statement em { font-style: normal; color: var(--crimson-deep); }
@media (max-width: 820px) { .why .wrap { grid-template-columns: 1fr; } }

/* About */
.about .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.portrait { position: relative; }
.about { overflow: hidden; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% 30%; border-radius: 4px; }
.portrait::after { content: ""; position: absolute; width: 46%; aspect-ratio: 1; border: 1.6px solid var(--crimson); border-radius: 50%; right: -9%; bottom: -7%; pointer-events: none; }
.about h2 { margin-bottom: 24px; }
.manifesto { font-family: var(--display); font-size: 1.4rem; line-height: 1.4; border-left: 3px solid var(--crimson); padding-left: 20px; margin: 28px 0; max-width: 30ch; }
@media (max-width: 820px) { .about .wrap { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }

/* Method */
.method { border-top: 1px solid var(--rose); }
.method-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.method-head p { margin: 0; max-width: 40ch; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.steps li { position: relative; padding: 76px 24px 0 0; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 56px; height: 56px; border-radius: 50%; border: 1.6px solid var(--crimson);
  display: grid; place-items: center; font-family: var(--display); font-size: 1.3rem; color: var(--crimson-deep); background: var(--white);
}
.steps li::after { content: ""; position: absolute; top: 28px; left: 56px; right: 0; height: 1px; background: var(--rose); z-index: -1; }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 8px; color: var(--crimson-deep); }
.steps p { color: var(--charcoal); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Services */
.services { background: var(--blush); }
.services .intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 48px; align-items: end; }
.services .intro p { margin: 0; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rose); }
.service-list li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--rose); align-items: baseline; }
.service-list h3 { font-size: 1.5rem; }
.service-list p { margin: 0; color: var(--charcoal); }
@media (max-width: 720px) { .services .intro, .service-list li { grid-template-columns: 1fr; gap: 8px; } }

/* Work */
.work-head { margin-bottom: 40px; }
.cases { display: grid; gap: 0; border-top: 1px solid var(--rose); }
.case-row {
  display: grid; grid-template-columns: 180px 1fr 240px; gap: 32px; align-items: center;
  padding: 36px 0; border-bottom: 1px solid var(--rose); text-decoration: none; color: var(--charcoal);
}
.case-row .sector { color: var(--slate); font-size: .95rem; }
.case-row h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; transition: color .2s; }
.case-row p { margin: 0; color: var(--slate); }
.case-row .metric { font-family: var(--display); font-size: 1.3rem; color: var(--crimson-deep); line-height: 1.3; }
.case-row:hover h3 { color: var(--crimson-deep); }
.case-row .more { display: block; font-family: var(--body); font-size: .92rem; color: var(--charcoal); margin-top: 8px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) { .case-row { grid-template-columns: 1fr; gap: 10px; } }

/* Quote */
.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 30ch; font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.3; }
.quote cite { display: block; margin-top: 20px; font-style: normal; color: var(--slate); font-size: 1rem; }
.quote .mark { width: 44px; margin: 0 auto 24px; }

/* CTA */
.cta { background: var(--crimson-deep); color: var(--white); }
.cta .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta h2 { color: var(--white); margin-bottom: 16px; }
.cta p { color: var(--white); font-size: 1.2rem; margin: 0; }
.cta .btn { background: var(--white); color: var(--crimson-deep); }
.cta .btn:hover { background: var(--charcoal); color: var(--white); }
.cta .contact { justify-self: end; text-align: left; }
.cta .contact a:not(.btn) { color: var(--white); display: block; margin-top: 10px; }
@media (max-width: 820px) { .cta .wrap { grid-template-columns: 1fr; } .cta .contact { justify-self: start; } }

/* Footer */
.site-footer { padding: 48px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer img { height: 96px; width: auto; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; font-size: .95rem; }
.site-footer a { color: var(--charcoal); }
.site-footer small { color: var(--slate); display: block; width: 100%; font-size: .85rem; }

/* Case study pages */
.cs-hero { padding: clamp(48px, 7vw, 96px) 0 48px; }
.cs-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); max-width: 18ch; }
.cs-hero .lede { margin-top: 24px; max-width: 44ch; font-size: clamp(1.15rem, 2vw, 1.35rem); }
.back { display: inline-block; margin-bottom: 28px; font-size: .95rem; }
.glance { background: var(--blush); padding: 44px 0; }
.glance ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.glance strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 3.4rem); line-height: 1; color: var(--crimson-deep); margin-bottom: 10px; }
.glance span { color: var(--charcoal); display: block; max-width: 24ch; }
@media (max-width: 720px) { .glance ul { grid-template-columns: 1fr; gap: 24px; } }

.cs-body .wrap { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 88px); }
.facts { position: sticky; top: 120px; align-self: start; margin: 0; }
.facts dt { color: var(--slate); font-size: .9rem; margin-top: 18px; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 2px 0 0; font-weight: 500; }
.story h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 56px 0 18px; }
.story h2:first-child { margin-top: 0; }
.story ul { padding: 0; margin: 0 0 1em; list-style: none; max-width: 64ch; }
.story li { position: relative; padding-left: 28px; margin-bottom: 14px; }
.story li::before { content: ""; position: absolute; left: 0; top: .55em; width: 11px; height: 11px; border: 1.6px solid var(--crimson); border-radius: 50%; }
.story li strong { font-weight: 600; }
.takeaway { background: var(--blush); border-radius: 4px; padding: 28px 32px; margin-top: 48px; max-width: 64ch; }
.takeaway p:last-child { margin-bottom: 0; }
.takeaway .label { margin-bottom: 6px; }
@media (max-width: 820px) { .cs-body .wrap { grid-template-columns: 1fr; } .facts { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; } .facts dt:nth-of-type(2) { margin-top: 0; } }

.next-cases { border-top: 1px solid var(--rose); }
.next-cases ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.next-cases a { display: block; padding: 28px; border: 1px solid var(--rose); border-radius: 4px; text-decoration: none; color: var(--charcoal); height: 100%; }
.next-cases a:hover { background: var(--blush); }
.next-cases a span { display: block; color: var(--slate); font-size: .92rem; margin-bottom: 6px; }
.next-cases a strong { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
@media (max-width: 720px) { .next-cases ul { grid-template-columns: 1fr; } }
