:root {
  --ink: #0b0b0b;
  --paper: #fdfdfb;
  --soft: #f1f1ed;
  --line: #d4d4ce;
  --muted: #5d5d59;
  --wine: #731f26;
  --grid: 1180px;
  --pad: clamp(20px, 4.5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Open Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; }

.grid {
  width: min(var(--grid), calc(100% - (2 * var(--pad))));
  margin-inline: auto;
}
.mono,
.kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
}
.kicker {
  margin: 0 0 22px;
  color: var(--wine);
  font-weight: 600;
}
.section {
  padding-block: clamp(76px, 9vw, 132px);
  border-bottom: 1px solid var(--line);
}
.section-title {
  max-width: 900px;
  margin: 0;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 800;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 600;
}
.text-link::after { content: "↗"; color: var(--wine); font-size: 16px; transition: transform .2s; }
.text-link:hover::after { transform: translate(3px, -3px); }
a:focus-visible,
button:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 82px;
  background: rgb(253 253 251 / .96);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: blur(12px);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 36px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  text-decoration: none;
}
.brand-symbol {
  width: 27px;
  height: 36px;
  flex: 0 0 27px;
  display: grid;
  grid-template-rows: 22px 11.125px;
  justify-items: center;
  align-content: center;
  row-gap: 2.875px;
}
.brand-symbol span {
  font-size: 24px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -.07em;
}
.brand-symbol i {
  display: block;
  width: 18px;
  height: 11.125px;
  background: var(--wine);
}
.brand-name {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 10px;
  line-height: 12px;
  font-weight: 600;
  white-space: normal;
}
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a,
.menu-toggle {
  text-decoration: none;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 10px;
}
.main-nav a { position: relative; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--wine);
  transition: right .2s;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { right: 0; }
.contact-link { padding: 12px 17px; border: 1px solid var(--ink); }
.contact-link:hover { background: var(--ink); color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px 0; color: var(--ink); }

.breadcrumb { border-bottom: 1px solid var(--line); }
.breadcrumb .grid {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

.hero { border-bottom: 1px solid var(--ink); }
.hero-grid {
  min-height: min(760px, calc(100svh - 130px));
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
}
.hero-copy {
  grid-column: 1 / span 6;
  min-width: 0;
  padding: clamp(64px, 8vw, 120px) clamp(36px, 6vw, 84px) clamp(64px, 8vw, 120px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(46px, 5.3vw, 78px);
  line-height: .94;
  letter-spacing: -.062em;
  font-weight: 800;
  text-wrap: balance;
}
.hero-lead {
  max-width: 610px;
  margin: 30px 0 0;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
  color: #353532;
}
.hero-action { margin-top: 34px; }
.hero-media { grid-column: 7 / -1; min-width: 0; overflow: hidden; }
.hero-media img { height: 100%; object-fit: cover; }
.hero-media.contain { background: #ecece7; padding: clamp(28px, 4vw, 58px); }
.hero-media.contain img { object-fit: contain; }

.sequence-intro { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(44px, 9vw, 125px); align-items: start; }
.sequence-intro p { margin: 0; max-width: 720px; font-size: clamp(19px, 1.8vw, 25px); line-height: 1.6; }
.service-sequence { margin-top: clamp(60px, 8vw, 100px); border-top: 1px solid var(--ink); }
.sequence-item {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(240px, 4fr) minmax(280px, 5fr) 28px;
  gap: 28px;
  align-items: center;
  min-height: 190px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.sequence-item::before {
  content: "";
  position: absolute;
  left: 43px;
  top: -1px;
  bottom: -1px;
  width: 1px;
  background: var(--line);
}
.sequence-item:first-child::after {
  content: "";
  position: absolute;
  left: 40px;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--wine);
  transform: rotate(45deg);
}
.sequence-item .num { z-index: 1; color: var(--wine); background: var(--paper); width: max-content; padding-block: 8px; }
.sequence-item h2 { margin: 0; font-size: clamp(28px, 3vw, 43px); line-height: 1.06; letter-spacing: -.04em; }
.sequence-item p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.sequence-item .arrow { color: var(--wine); font-size: 26px; transition: transform .2s; }
.sequence-item:hover .arrow { transform: translateX(6px); }

.statement { background: var(--soft); }
.statement-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(44px, 9vw, 125px); align-items: start; }
.statement h2 { margin: 0; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.05; letter-spacing: -.045em; }
.statement-copy { max-width: 720px; }
.statement-copy p { margin: 0 0 24px; font-size: 18px; line-height: 1.72; color: #353532; }
.statement-copy p:last-child { margin-bottom: 0; }

.question-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.question-grid h2 { margin: 0; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.05em; }
.question-list { border-top: 1px solid var(--ink); }
.question {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.55;
}
.question .mono { color: var(--wine); padding-top: 5px; }

.deliverables-head { max-width: 850px; margin-bottom: clamp(50px, 7vw, 84px); }
.deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(48px, 8vw, 110px);
  row-gap: 0;
  border-top: 1px solid var(--ink);
}
.deliverable { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.deliverable .mono { color: var(--wine); padding-top: 5px; }
.deliverable h3 { margin: 0; font-size: clamp(23px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -.035em; }
.deliverable p { margin: 12px 0 0; color: var(--muted); line-height: 1.65; }

.process-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(44px, 9vw, 125px); }
.process-heading { position: sticky; top: 120px; align-self: start; }
.process-heading h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -.05em; }
.process-list { border-top: 1px solid var(--ink); }
.process-step { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.process-step .mono { color: var(--wine); padding-top: 5px; }
.process-step h3 { margin: 0; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.1; letter-spacing: -.035em; }
.process-step p { margin: 12px 0 0; color: var(--muted); line-height: 1.62; }

.case { padding: 0; }
.case-grid { display: grid; grid-template-columns: 7fr 5fr; min-height: 650px; }
.case-media { overflow: hidden; }
.case-media img { height: 100%; object-fit: cover; }
.case-copy { padding: clamp(56px, 7vw, 100px); display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); }
.case-copy h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: -.045em; }
.case-copy p { margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.68; }
.case-copy .text-link { margin-top: 30px; }

.related-head { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 52px; }
.related-head h2 { margin: 0; font-size: clamp(36px, 4.5vw, 60px); line-height: 1; letter-spacing: -.045em; }
.related-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ink); }
.related-service { min-height: 260px; padding: 32px; display: flex; flex-direction: column; text-decoration: none; }
.related-service + .related-service { border-left: 1px solid var(--ink); }
.related-service .mono { color: var(--wine); }
.related-service h3 { margin: auto 0 0; max-width: 430px; font-size: clamp(27px, 3vw, 40px); line-height: 1.06; letter-spacing: -.04em; }
.related-service span:last-child { margin-top: 22px; }

.cta { border-bottom: 0; }
.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: end;
  padding-top: 42px;
  border-top: 2px solid var(--ink);
}
.cta-grid::before { content: ""; position: absolute; top: -2px; left: 0; width: 96px; height: 2px; background: var(--wine); }
.cta h2 { margin: 0; font-size: clamp(42px, 6vw, 82px); line-height: .98; letter-spacing: -.055em; }
.cta-contact { border-top: 1px solid var(--line); padding-top: 22px; }
.cta-contact p { margin: 0 0 12px; font-size: 16px; }
.cta-contact .text-link { margin-top: 16px; }

.site-footer { background: var(--ink); color: #fff; }
.footer-inner { padding-block: 58px 34px; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 44px; align-items: start; padding-bottom: 45px; border-bottom: 1px solid #3d3d3d; }
.footer-brand { max-width: 560px; }
.footer-brand strong { display: block; font-family: "JetBrains Mono", monospace; letter-spacing: .15em; text-transform: uppercase; font-size: 15px; }
.footer-brand p { margin: 17px 0 0; color: #bdbdbd; line-height: 1.6; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; }
.footer-nav a { color: #ddd; text-decoration: none; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 25px; color: #979797; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { height: 72px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px var(--pad) 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .contact-link { border: 0; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { grid-column: 1; padding: 70px 0; }
  .hero-media { grid-column: 1; height: min(72vw, 620px); }
  .sequence-intro,
  .statement-grid,
  .question-grid,
  .process-grid { grid-template-columns: 1fr; gap: 42px; }
  .process-heading { position: static; }
  .case-grid { grid-template-columns: 1fr; }
  .case-media { min-height: 520px; }
  .case-copy { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .grid { width: calc(100% - 40px); max-width: calc(100% - 40px); }
  .header-inner { gap: 14px; }
  .brand { gap: 9px; }
  .brand-name { width: 112px; max-width: 112px; line-height: 12px; font-size: 9px; }
  .menu-toggle { display: block !important; justify-self: end; }
  .breadcrumb .grid { min-height: 56px; font-size: 9px; }
  .hero-copy { padding: 58px 0; }
  .hero-copy { width: 100%; max-width: 100%; overflow: hidden; }
  .hero-copy > * { max-width: 100%; }
  .hero h1 { font-size: 40px; line-height: .98; letter-spacing: -.045em; text-wrap: wrap; overflow-wrap: anywhere; }
  .hero-lead { font-size: 17px; overflow-wrap: anywhere; }
  .hero-media { height: 78vw; min-height: 340px; }
  .sequence-item { grid-template-columns: 48px 1fr 22px; gap: 16px; padding: 27px 0; }
  .sequence-item::before { left: 22px; }
  .sequence-item:first-child::after { left: 19px; }
  .sequence-item p { grid-column: 2 / -1; font-size: 15px; }
  .deliverables { grid-template-columns: 1fr; }
  .deliverable { grid-template-columns: 44px 1fr; }
  .case-media { min-height: 380px; }
  .related-head { display: block; }
  .related-head .text-link { margin-top: 24px; }
  .related-services { grid-template-columns: 1fr; }
  .related-service + .related-service { border-left: 0; border-top: 1px solid var(--ink); }
  .cta-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
