:root {
  --white: #fff;
  --muted: #ffffff8f;
  --dim: #ffffff57;
  --green: #1ed760;
  --surface: #030303;
  --panel: #090909c7;
  --panel-solid: #080808;
  --panel-soft: #101010;
  --line: #ffffff1a;
  --green-soft: #1ed76014;
  color: var(--white);
  background: var(--surface);
  font-family:
    "SF Pro Display", "Avenir Next", "Helvetica Neue", "Pretendard",
    "Apple SD Gothic Neo", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(90deg, #ffffff08 1px, transparent 1px),
    linear-gradient(180deg, #ffffff08 1px, transparent 1px),
    var(--surface);
  background-size: 52px 52px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  padding: 18px 28px;
  background: #030303e8;
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 16px;
  font-weight: 900;
}

.brand-icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}

.hero-section,
.section-block,
.capabilities-section {
  width: min(100% - 64px, 1120px);
  margin: 0 auto;
}

.hero-section {
  min-height: 72svh;
  padding: 96px 0 72px;
}

.hero-copy {
  max-width: 840px;
}

.eyebrow,
.case-type,
dt {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 66px;
  line-height: 0.98;
  letter-spacing: 0;
  word-break: keep-all;
}

h2 {
  margin-bottom: 0;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0;
  word-break: keep-all;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
  word-break: keep-all;
}

h4 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.24;
  letter-spacing: 0;
  word-break: keep-all;
}

.lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
  word-break: keep-all;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--green);
  color: #061006;
  font-size: 15px;
  font-weight: 900;
}

.cta-row a + a {
  border-color: var(--line);
  background: #ffffff0f;
  color: var(--white);
}

.focus-grid article,
.offer-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.focus-grid p,
.offer-grid p,
.capability-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
  word-break: keep-all;
}

.section-block {
  padding: 84px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.focus-grid article,
.offer-grid article {
  min-height: 210px;
  padding: 22px;
}

.focus-grid small {
  display: block;
  margin-top: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.project-groups {
  display: flex;
  flex-direction: column;
}

.project-group {
  display: block;
}

.project-group + .project-group {
  margin-top: 0;
}

.company-projects {
  order: 1;
}

.personal-projects {
  order: 2;
  margin-top: 56px;
}

.project-group-heading {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-bottom: 18px;
}

.company-projects .project-group-heading {
  border-top: 0;
  padding-top: 0;
}

.group-kicker {
  margin: 0 0 8px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-list {
  border-top: 1px solid var(--line);
}

.project-card {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.project-card .case-type {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: baseline;
  margin: 0;
  order: 2;
  white-space: nowrap;
}

.project-card .case-type::before {
  content: "|";
  color: var(--dim);
  font-weight: 800;
}

.project-card h4 {
  display: inline-flex;
  flex: 0 1 auto;
  gap: 7px;
  align-items: center;
  margin: 0;
  order: 1;
  text-align: left;
}

.project-outlink {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: var(--green);
  opacity: 0.82;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.project-outlink:hover,
.project-outlink:focus-visible {
  opacity: 1;
  transform: translate(1px, -1px);
}

.project-outlink svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.project-card dl {
  display: grid;
  flex: 1 0 100%;
  gap: 10px;
  margin: 0;
  order: 3;
}

.project-card dl div {
  min-width: 0;
}

.project-card dt {
  margin-bottom: 4px;
}

.project-card dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  word-break: keep-all;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.offer-grid article {
  background:
    linear-gradient(135deg, var(--green-soft), transparent 44%),
    var(--panel);
}

.capabilities-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding: 84px 0 48px;
}

.capability-copy h2 {
  margin-bottom: 16px;
}

.capability-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
  margin-bottom: 22px;
}

.capability-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: #ffffff0f;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .capabilities-section {
    grid-template-columns: 1fr;
  }

  .focus-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 16px;
  }

  .hero-section,
  .section-block,
  .capabilities-section {
    width: min(100% - 32px, 1120px);
  }

  .hero-section {
    min-height: auto;
    padding: 48px 0 64px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 17px;
  }

  .section-block {
    padding: 64px 0;
  }

  .project-card dl div + div {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
