:root {
  --ink: #101010;
  --muted: #686868;
  --line: #d9d7d1;
  --paper: #f4f2ec;
  --white: #fbfaf7;
  --blue: #165dff;
  --max: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.shell {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
}
.topline {
  height: 4px;
  background: var(--ink);
}
.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1.5px;
}
.wordmark span {
  font-weight: 500;
}
.wordmark b {
  color: var(--blue);
}
.nav nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}
.nav nav a,
.nav-cta,
.text-link,
.project-info a {
  transition: opacity 0.2s;
}
.nav nav a:hover,
.text-link:hover,
.project-info a:hover {
  opacity: 0.55;
}
.nav-cta {
  font-size: 13px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.nav-cta span,
.button span,
.project-info a span,
.contact-link span {
  margin-left: 7px;
}
.hero {
  padding: 105px 0 45px;
}
.eyebrow,
.section-kicker,
.project-info > div,
.hero-meta,
.tags,
.wl-top,
.wl-bottom,
.contact-meta {
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}
.dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  display: inline-block;
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(76px, 12vw, 168px);
  line-height: 0.82;
  letter-spacing: -0.075em;
  font-weight: 600;
  margin: 30px 0 55px;
}
.hero h1 em,
.contact h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.07em;
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.hero-copy {
  max-width: 470px;
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  color: #343434;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-end;
}
.button {
  display: inline-flex;
  align-items: center;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 600;
}
.button-dark {
  background: var(--ink);
  color: var(--white);
}
.text-link {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}
.hero-rule {
  border-top: 1px solid var(--line);
  margin-top: 65px;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  color: #777;
}
.statement {
  padding: 180px 0 170px;
}
.statement h2 {
  font-size: clamp(40px, 6.4vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 500;
  margin: 30px 0 45px;
}
.statement h2 span {
  color: #8b8982;
}
.statement-copy {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  margin-left: auto;
  color: #555;
}
.services,
.work,
.process {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}
.section-note {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
  text-transform: uppercase;
  text-align: right;
  color: #777;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.service {
  min-height: 360px;
  padding: 27px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
}
.service-accent {
  background: var(--blue);
  color: white;
}
.service-num {
  font-family: "DM Mono", monospace;
  font-size: 10px;
}
.service h3 {
  font-size: 43px;
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin: 60px 0 18px;
}
.service p {
  max-width: 430px;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: #555;
}
.service-accent p {
  color: #eef3ff;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
}
.tags span {
  border: 1px solid currentColor;
  padding: 6px 8px;
}
.work-list {
  display: flex;
  flex-direction: column;
  gap: 75px;
}
.project-large {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 30px;
}
.project-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.project-visual {
  min-height: 520px;
  background: #dedbd3;
  overflow: hidden;
  position: relative;
}
.project-pair .project-visual {
  min-height: 430px;
}
.sertus {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d9e0ea;
}
.visual-window {
  width: 78%;
  background: #fff;
  box-shadow: 0 25px 50px #0002;
}
.window-bar {
  height: 30px;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
  font:
    8px "DM Mono",
    monospace;
  color: #777;
}
.window-bar i {
  width: 5px;
  height: 5px;
  background: #bbb;
  border-radius: 50%;
}
.window-bar span {
  margin-left: auto;
}
.dashboard {
  display: flex;
  height: 310px;
}
.dash-sidebar {
  width: 23%;
  background: #f1f3f5;
}
.dash-main {
  padding: 25px;
  flex: 1;
}
.dash-title {
  width: 45%;
  height: 10px;
  background: #151515;
  margin-bottom: 35px;
}
.dash-row {
  display: flex;
  gap: 12px;
}
.dash-row b {
  display: block;
  background: #e7ebef;
  height: 58px;
  flex: 1;
}
.dash-table {
  margin-top: 25px;
  display: grid;
  gap: 8px;
}
.dash-table i {
  height: 18px;
  background: #edf0f2;
}
.clipperzz {
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clip-ui {
  width: 58%;
  background: #1d1d1d;
  border: 1px solid #444;
  padding: 18px;
  box-shadow: 0 20px 50px #0008;
}
.clip-top {
  height: 8px;
  background: #ddd;
  width: 42%;
  margin-bottom: 20px;
}
.clip-card {
  height: 100px;
  background: #2c2c2c;
  border: 1px solid #3d3d3d;
  margin: 8px 0;
}
.clip-card.short {
  height: 52px;
}
.civic {
  background: #e4e8e4;
}
.civic-map {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      35deg,
      transparent 45%,
      #cbd0ca 46%,
      #cbd0ca 47%,
      transparent 48%
    ),
    linear-gradient(
      115deg,
      transparent 40%,
      #cbd0ca 41%,
      #cbd0ca 42%,
      transparent 43%
    );
  opacity: 0.9;
}
.map-line {
  position: absolute;
  width: 75%;
  height: 2px;
  background: #9ca49c;
  top: 55%;
  left: 8%;
  transform: rotate(-12deg);
}
.pin {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50% 50% 50% 0;
  background: var(--blue);
  transform: rotate(-45deg);
}
.p1 {
  left: 31%;
  top: 31%;
}
.p2 {
  left: 58%;
  top: 62%;
}
.p3 {
  left: 71%;
  top: 27%;
}
.civic-panel {
  position: absolute;
  right: 7%;
  top: 10%;
  bottom: 10%;
  width: 28%;
  background: #fff;
  box-shadow: 0 15px 35px #0002;
}
.project-info {
  padding-top: 20px;
}
.project-info > div {
  display: flex;
  gap: 15px;
  color: #777;
}
.project-index {
  color: var(--ink);
}
.project-info h3 {
  font-size: 43px;
  letter-spacing: -0.05em;
  margin: 25px 0 12px;
  font-weight: 500;
}
.project-info p {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  max-width: 470px;
}
.project-info a {
  display: inline-block;
  margin-top: 12px;
  font:
    10px "DM Mono",
    monospace;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
}
.white-label {
  margin-top: 80px;
  background: var(--ink);
  color: var(--white);
  padding: 100px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.white-label .section-kicker {
  color: #999;
}
.wl-copy h2 {
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 500;
  margin: 28px 0;
}
.wl-copy p {
  max-width: 470px;
  color: #aaa;
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 35px;
}
.wl-card {
  border: 1px solid #3e3e3e;
  min-height: 390px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.wl-top {
  color: #777;
  display: flex;
  justify-content: space-between;
}
.wl-big {
  font-size: 50px;
  line-height: 0.94;
  letter-spacing: -0.055em;
  margin: auto 0;
}
.wl-big strong {
  font-weight: 500;
  color: #fff;
}
.wl-bottom {
  display: flex;
  justify-content: space-between;
  color: #777;
  border-top: 1px solid #333;
  padding-top: 14px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.process-grid > div {
  padding: 24px 20px 0 0;
  border-right: 1px solid var(--line);
  min-height: 230px;
}
.process-grid > div:not(:first-child) {
  padding-left: 20px;
}
.process-grid span {
  font:
    10px "DM Mono",
    monospace;
  color: #777;
}
.process-grid h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 45px 0 10px;
}
.process-grid p {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  max-width: 220px;
}
.contact {
  padding: 180px 0 100px;
  border-top: 1px solid var(--line);
}
.contact h2 {
  font-size: clamp(65px, 10vw, 135px);
  line-height: 0.82;
  letter-spacing: -0.07em;
  font-weight: 500;
  margin: 30px 0 45px;
}
.contact-copy {
  font-size: 16px;
  color: #666;
  margin-bottom: 35px;
}
.contact-link {
  font-size: clamp(28px, 4vw, 50px);
  letter-spacing: -0.045em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 7px;
}
.contact-meta {
  display: flex;
  justify-content: space-between;
  color: #777;
  border-top: 1px solid var(--line);
  margin-top: 100px;
  padding-top: 14px;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 40px;
  display: flex;
  justify-content: space-between;
  font:
    10px "DM Mono",
    monospace;
  text-transform: uppercase;
  color: #777;
}
@media (max-width: 800px) {
  .shell {
    width: min(calc(100% - 30px), var(--max));
  }
  .nav nav {
    display: none;
  }
  .nav {
    height: 72px;
  }
  .nav-cta {
    font-size: 11px;
  }
  .hero {
    padding-top: 75px;
  }
  .hero h1 {
    font-size: 20vw;
    margin: 25px 0 45px;
  }
  .hero-bottom,
  .project-large,
  .project-pair,
  .white-label {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    justify-content: flex-start;
    margin-top: 20px;
  }
  .hero-meta {
    gap: 15px;
    overflow: auto;
    justify-content: flex-start;
  }
  .statement {
    padding: 110px 0;
  }
  .statement-copy {
    margin-left: 0;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service {
    min-height: 300px;
  }
  .service h3 {
    margin-top: 45px;
  }
  .project-visual,
  .project-pair .project-visual {
    min-height: 350px;
  }
  .project-pair {
    gap: 55px;
  }
  .white-label {
    padding: 65px 25px;
    gap: 50px;
  }
  .wl-big {
    font-size: 40px;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid > div {
    min-height: 190px;
  }
  .contact {
    padding: 120px 0 75px;
  }
  .contact-meta {
    flex-direction: column;
    gap: 10px;
  }
  .footer {
    gap: 18px;
    flex-wrap: wrap;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
