:root {
  --orange: #D15A2A;
  --teal: #1A8EAD;
  --parchment: #F5F5EC;
  --slate: #1E252B;
  --midnight: #15191C;
  --muted: #9AA3A8;
  --line: #2C353C;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--slate);
  color: var(--parchment);
  font: 400 16px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1080px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

h1, h2, h3 { font-family: Inter, system-ui, sans-serif; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { letter-spacing: -0.035em; line-height: 1.02; }
h3 { font-weight: 600; letter-spacing: -0.01em; }

.label {
  font: 400 13px/1 "Space Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot.o { background: var(--orange); }
.dot.t { background: var(--teal); }
.dot.ring { border: 1.5px solid var(--teal); }

/* nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.wordmark {
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 15px;
}
.wordmark b { font-weight: 700; }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav nav a:not(.btn) { color: var(--muted); transition: color .15s; }
.nav nav a:not(.btn):hover { color: var(--parchment); }
@media (max-width: 720px) { .nav nav a:not(.btn) { display: none; } }

/* buttons */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--parchment);
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid var(--orange);
  transition: border-color .15s;
}
.btn:hover { border-color: var(--parchment); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.link { color: var(--teal); font-weight: 500; }
.link:hover { text-decoration: underline; }

/* hero */
.hero { padding-top: 96px; }
.hero h1 { font-size: clamp(36px, 10vw, 76px); max-width: 11em; margin: 24px 0; }
.lede { font-size: 19px; max-width: 34em; color: #D8DAD2; }
.actions { display: flex; align-items: center; gap: 28px; margin-top: 40px; flex-wrap: wrap; }

/* sections */
main section { margin-bottom: 112px; }
section > h2.label { margin-bottom: 32px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.card {
  background: var(--midnight);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; }
.card:nth-child(odd) h3::before,
.card:nth-child(even) h3::before {
  content: "";
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.card:nth-child(odd) h3::before { background: var(--orange); }
.card:nth-child(even) h3::before { background: var(--teal); }

.section-intro { color: var(--muted); margin: -12px 0 24px; }
.project {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--midnight);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.project img { flex: none; }
.project + .project { margin-top: 16px; }
.project h3 { font-size: 22px; margin-bottom: 10px; }
.project p { color: var(--muted); max-width: 44em; }
.project-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.project-links .link { white-space: nowrap; }

.steps { list-style: none; border-top: 1px solid var(--line); }
.steps li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.steps .n { font-family: "Space Mono", monospace; color: var(--teal); padding-top: 2px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); max-width: 40em; }

.contact {
  background: var(--midnight);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
}
.contact h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.contact p { color: var(--muted); margin-bottom: 32px; }

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.accents { display: flex; gap: 10px; }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .wordmark { font-size: 13px; }
  .hero { padding-top: 48px; }
  main section { margin-bottom: 80px; }
  .steps li { grid-template-columns: 48px 1fr; }
  .project { flex-direction: column; gap: 16px; padding: 24px; }
  .project img { width: 56px; height: 56px; }
  .contact { padding: 40px 20px; }
  .contact .btn { font-size: 14px; padding: 12px 18px; }
}
