@font-face {
  font-family: "Syne";
  src: url("../fonts/syne/syne-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Syne";
  src: url("../fonts/syne/syne-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Syne";
  src: url("../fonts/syne/syne-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans/ibm-plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #12141a;
  --ink-soft: #3a3f4a;
  --muted: #6b7280;
  --paper: #f4f5f7;
  --paper-deep: #e8eaee;
  --line: #d5d8df;
  --accent: #3d7a7a;
  --accent-deep: #2a5555;
  --white: #ffffff;
  --max: 68rem;
  --nav-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 88% -10%, rgba(61, 122, 122, 0.12), transparent 55%),
    radial-gradient(90% 60% at -5% 20%, rgba(18, 20, 26, 0.05), transparent 50%),
    linear-gradient(180deg, #eef0f3 0%, var(--paper) 42%, #eceef2 100%);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3 {
  font-family: "Syne", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}

.wordmark {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.wordmark-lg {
  font-size: clamp(3.4rem, 10vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--ink);
}

.site-main {
  flex: 1;
}

.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: end;
  padding: 3rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% -10% -20% 35%;
  background:
    linear-gradient(135deg, transparent 0%, transparent 42%, rgba(61, 122, 122, 0.09) 42%, rgba(61, 122, 122, 0.09) 43%, transparent 43%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 28px,
      rgba(18, 20, 26, 0.035) 28px,
      rgba(18, 20, 26, 0.035) 29px
    );
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 80%, transparent);
  animation: plane-in 1.1s var(--ease) both;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  display: grid;
  gap: 1.35rem;
}

.hero-copy .lede {
  color: var(--ink-soft);
  font-size: 1.125rem;
  max-width: 34rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.section {
  padding: 5rem 0;
}

.section- Tight {
  padding: 3.5rem 0 5rem;
}

.section-head {
  display: grid;
  gap: 0.75rem;
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

.section-head p {
  color: var(--ink-soft);
}

.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

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

.project-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding: 1.6rem 0.15rem;
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.25s var(--ease);
}

@media (min-width: 720px) {
  .project-row {
    grid-template-columns: 12rem 1fr auto;
    align-items: baseline;
    gap: 1.5rem;
  }
}

.project-row:hover {
  padding-left: 0.55rem;
}

.project-row h3 {
  font-size: 1.35rem;
}

.project-row p {
  color: var(--ink-soft);
  max-width: 36rem;
}

.meta {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.meta.live {
  color: var(--accent-deep);
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.9rem;
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 38rem;
}

.prose {
  max-width: 42rem;
  display: grid;
  gap: 1rem;
  padding-bottom: 4rem;
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
}

.legal {
  max-width: 44rem;
  padding: 3rem 0 5rem;
}

.legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 1rem 0;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal p + p {
  margin-top: 0.75rem;
}

.legal ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.legal hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

.legal .meta-line {
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--white) 55%, var(--paper));
  padding: 2rem 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.8s var(--ease) forwards;
}

.reveal-delay-1 {
  animation-delay: 0.12s;
}

.reveal-delay-2 {
  animation-delay: 0.24s;
}

.reveal-delay-3 {
  animation-delay: 0.36s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes plane-in {
  from {
    opacity: 0;
    transform: translateX(2.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero::before {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.875rem;
  }

  .hero {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }
}
