:root {
  --page: #f4f4f2;
  --board: #fbfbfa;
  --ink: #0d0d0d;
  --muted: #606060;
  --soft: #8c8c8c;
  --line: #d6d6d2;
  --line-dark: #b9b9b4;
  --chrome: #d7d7d5;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(12px, 2vw, 24px);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.9), transparent 44%),
    linear-gradient(180deg, #eeeeec 0%, #f7f7f5 100%);
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.browser-shell {
  width: min(1520px, 100%);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 16px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #dfdfdd 0%, #c9c9c7 100%);
}

.browser-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #737373;
}

.browser-bar span:nth-child(2) {
  background: #8c8c8c;
}

.browser-bar span:nth-child(3) {
  background: #b0b0ad;
}

.board {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 48px);
  border: 1px solid #cfcfcb;
  border-radius: 0 0 14px 14px;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.035) 1px, transparent 1px) 0 0 / 160px 160px,
    linear-gradient(180deg, rgba(13, 13, 13, 0.026) 1px, transparent 1px) 0 0 / 160px 160px,
    var(--board);
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(32px, 4.2vw, 58px);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark img {
  display: block;
  width: clamp(150px, 15vw, 230px);
  height: auto;
  margin-left: -8px;
  margin-bottom: -6px;
}

.wordmark span,
.section-label,
.kicker {
  color: #1e1e1e;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dot-field {
  width: 104px;
  height: 72px;
  opacity: 0.5;
  background-image: radial-gradient(#111 1px, transparent 1px);
  background-size: 14px 14px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.98fr) minmax(330px, 1.18fr) minmax(270px, 0.88fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-bottom: clamp(26px, 3.2vw, 42px);
  border-bottom: 1px solid var(--line-dark);
}

.corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: #111;
  opacity: 0.45;
}

.corner-left {
  top: -18px;
  left: 0;
  border-top: 1px solid;
  border-left: 1px solid;
}

.corner-right {
  top: -18px;
  right: 0;
  border-top: 1px solid;
  border-right: 1px solid;
}

.hero-copy {
  max-width: 460px;
  padding-left: clamp(0px, 2vw, 38px);
}

.kicker {
  margin: 0 0 24px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 3.1vw, 3.45rem);
  line-height: 0.96;
}

.short-rule {
  width: 36px;
  height: 1px;
  margin: 0 0 28px;
  background: #111;
}

.hero-copy p:not(.kicker) {
  margin-bottom: 26px;
  color: #222;
  line-height: 1.75;
}

.black-button,
.quick-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 58px;
  padding: 0 32px;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  transition: transform 140ms ease, background 140ms ease;
}

.black-button:hover,
.quick-form button:hover {
  transform: translateY(-1px);
  background: #202020;
}

.black-button span,
.quick-form button span {
  font-size: 1.4rem;
  line-height: 1;
}

.blueprint {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 27vw, 380px);
}

.blueprint::before {
  content: "";
  position: absolute;
  width: min(370px, 72%);
  aspect-ratio: 1;
  border: 1px dashed #c7c7c2;
  border-radius: 50%;
}

.blueprint::after {
  content: "";
  position: absolute;
  inset: 12%;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), var(--line) calc(50% - 0.5px), var(--line) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(180deg, transparent calc(50% - 0.5px), var(--line) calc(50% - 0.5px), var(--line) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  opacity: 0.88;
}

.blueprint-grid span,
.blueprint-grid i {
  position: absolute;
  display: block;
}

.h {
  left: 7%;
  right: 7%;
  height: 1px;
  background: var(--line);
}

.h1 { top: 28%; }
.h2 { top: 50%; }
.h3 { top: 72%; }

.v {
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: var(--line);
}

.v1 { left: 25%; }
.v2 { left: 50%; }
.v3 { left: 75%; }

.diag {
  width: 170px;
  height: 1px;
  background: var(--line);
}

.d1 {
  top: 22%;
  left: 14%;
  transform: rotate(45deg);
}

.d2 {
  top: 22%;
  right: 14%;
  transform: rotate(-45deg);
}

.d3 {
  bottom: 22%;
  left: 14%;
  transform: rotate(-45deg);
}

.d4 {
  right: 14%;
  bottom: 22%;
  transform: rotate(45deg);
}

.mark {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a0a09c;
}

.p1 { top: 27.5%; left: 17%; }
.p2 { top: 49.5%; left: 24%; }
.p3 { top: 49.5%; right: 24%; }
.p4 { bottom: 27.5%; left: 17%; }
.p5 { bottom: 27.5%; right: 17%; }

.plus {
  width: 17px;
  height: 17px;
}

.plus::before,
.plus::after,
.plus-label::before,
.plus-large::before,
.plus-large::after {
  content: "";
  position: absolute;
  background: #111;
}

.plus::before,
.plus-large::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
}

.plus::after,
.plus-large::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
}

.plus.a { top: 20%; left: 8%; }
.plus.b { top: 20%; right: 8%; }
.plus.c { bottom: 20%; left: 8%; }
.plus.d { bottom: 20%; right: 8%; }

.blueprint-core {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  text-transform: uppercase;
}

.blueprint-logo {
  display: block;
  width: clamp(210px, 18vw, 300px);
  height: auto;
  margin-bottom: 2px;
}

.blueprint-core span {
  color: #4c4c4c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.services {
  position: relative;
  padding-left: 62px;
}

.rail {
  position: absolute;
  top: 18px;
  bottom: 8px;
  left: 0;
  width: 1px;
  background: var(--line-dark);
}

.rail::before,
.rail::after {
  content: "";
  position: absolute;
  left: -4px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: var(--board);
}

.rail::before { top: 26%; }
.rail::after { bottom: 26%; }

.services .section-label {
  margin: 0 0 24px;
}

.services article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.services article:last-child {
  margin-bottom: 0;
}

svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.services h2,
.mini-cards h3 {
  margin-bottom: 7px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.services p,
.mini-cards p {
  margin-bottom: 0;
  color: #2c2c2c;
  font-size: 0.83rem;
}

.lower-grid {
  display: grid;
  grid-template-columns: 0.98fr 1.52fr;
  border-bottom: 1px solid var(--line-dark);
}

.approach,
.built {
  padding: 24px 0 28px;
}

.built {
  padding-left: 58px;
  border-left: 1px solid var(--line-dark);
}

.plus-label {
  position: relative;
  padding-left: 30px;
  margin: 0 0 22px;
}

.plus-label::before {
  left: 0;
  top: 50%;
  width: 16px;
  height: 1px;
}

.plus-label::after {
  content: "";
  position: absolute;
  left: 7.5px;
  top: calc(50% - 8px);
  width: 1px;
  height: 16px;
  background: #111;
}

.mini-cards {
  display: grid;
}

.mini-cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-cards article {
  min-height: 112px;
  padding: 0 clamp(18px, 2vw, 32px);
  border-right: 1px solid var(--line-dark);
}

.mini-cards article:last-child {
  border-right: 0;
}

.simple-icon {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
}

.target {
  border: 1px solid transparent;
}

.target::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid #111;
  border-radius: 50%;
}

.target::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #111;
  box-shadow: -16px 16px 0 -15px #111, 16px 16px 0 -15px #111;
}

.plus-large::before,
.plus-large::after {
  position: absolute;
}

.square::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid #111;
}

.mini-cards svg {
  display: block;
  margin-bottom: 16px;
}

.contact-strip {
  display: grid;
  grid-template-columns: 100px minmax(230px, 0.9fr) minmax(520px, 1.8fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
  padding-top: 24px;
}

.mail-card {
  display: grid;
  place-items: center;
  width: 70px;
  height: 78px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
}

.mail-card svg {
  width: 44px;
  height: 44px;
}

.contact-title {
  padding-right: 42px;
  border-right: 1px solid var(--line-dark);
}

.contact-title .section-label {
  margin: 0 0 14px;
}

.contact-title h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2.25vw, 2.45rem);
  line-height: 1.02;
}

.quick-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr)) minmax(170px, 0.9fr);
  gap: 18px;
}

.quick-form label {
  display: grid;
  gap: 8px;
  color: #252525;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-form input {
  width: 100%;
  height: 48px;
  padding: 0 17px;
  border: 1px solid #c8c8c3;
  border-radius: 0;
  background: transparent;
  color: #111;
  outline: none;
}

.quick-form input:focus {
  border-color: #111;
}

.quick-form button {
  align-self: end;
  min-height: 48px;
  padding-inline: 24px;
  cursor: pointer;
}

.contact-meta {
  grid-column: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
  font-style: normal;
}

.contact-meta a {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  color: #111;
  font-size: 0.82rem;
  text-decoration: none;
}

.contact-meta svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
}

.site.subpage {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 54px;
}

.text-masthead {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
}

.text-masthead h1 {
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.text-masthead p {
  margin: 0;
}

.text-masthead a,
.text-block a,
.project-listing a,
.tool-card a {
  color: #000;
  font-weight: 800;
}

hr {
  display: none;
}

.text-block,
.project-listing,
.tool-listing,
.category-columns {
  padding: 28px 0;
}

.text-block {
  max-width: 760px;
}

.link-list {
  margin: 0;
  padding-left: 20px;
}

.link-list li {
  margin-bottom: 18px;
}

.link-list span {
  display: block;
  margin-top: 4px;
  color: #444;
}

.tool-card {
  max-width: 760px;
  padding: 24px;
  border: 1px solid var(--line-dark);
}

.tool-card h2,
.category-column h2 {
  color: var(--ink);
}

.category-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.bullet-list {
  margin: 0 0 24px;
  padding-left: 20px;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(250px, 0.85fr) minmax(320px, 1fr);
  }

  .services {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-left: 0;
    border-top: 1px solid var(--line-dark);
    padding-top: 28px;
  }

  .services .section-label,
  .services .rail {
    display: none;
  }

  .services article {
    grid-template-columns: 34px 1fr;
    padding-right: 10px;
  }

  .quick-form {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .quick-form button {
    grid-column: span 2;
  }

  .contact-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body {
    display: block;
    padding: 0;
  }

  .browser-shell {
    width: 100%;
    border-radius: 0;
  }

  .browser-bar {
    border-radius: 0;
  }

  .board {
    border-radius: 0;
    padding: 24px;
  }

  .site-header,
  .hero-grid,
  .lower-grid,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .site-header {
    margin-bottom: 44px;
  }

  .hero-copy {
    max-width: none;
    padding-left: 0;
  }

  .blueprint {
    min-height: 360px;
  }

  .services,
  .mini-cards.three,
  .mini-cards.four,
  .quick-form,
  .contact-meta {
    grid-template-columns: 1fr;
  }

  .services article,
  .mini-cards article {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .lower-grid {
    border-bottom: 0;
  }

  .built {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .contact-strip {
    border-top: 1px solid var(--line-dark);
    padding-top: 28px;
  }

  .contact-title {
    padding-right: 0;
    border-right: 0;
  }

  .quick-form button,
  .contact-meta {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .dot-field {
    display: none;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

  .black-button,
  .quick-form button {
    width: 100%;
  }

  .blueprint {
    min-height: 300px;
  }

  .blueprint-core strong {
    letter-spacing: 0.14em;
  }
}
