:root {
  --bg: #f0f4f8;
  --surface: #ffffff;
  --border: rgba(15, 23, 42, 0.11);
  --text: #0f172a;
  --muted: #64748b;
  --accent: #0d9488;
  --accent-dark: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.1);
  --font: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1120px;
  --radius: 18px;
  --space: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(ellipse 100% 60% at 50% -20%, rgba(13, 148, 136, 0.14), transparent 60%),
    var(--bg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

a {
  color: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - var(--space) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--muted);
}

.back-link {
  color: var(--muted);
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent-dark);
}

.hero {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 720px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.925rem;
  font-weight: 700;
  text-decoration: none;
}

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

.btn:hover {
  transform: translateY(-1px);
}

.project-shot {
  margin: 0 0 clamp(3rem, 8vw, 6rem);
  padding: clamp(0.5rem, 2vw, 1rem);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  background: var(--surface);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
}

.project-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.fact {
  padding: 1.4rem;
  background: var(--surface);
}

.fact dt {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact dd {
  margin: 0;
  font-weight: 700;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.story h2,
.features h2,
.next h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.story-copy {
  color: var(--muted);
}

.story-copy p:last-child {
  margin-bottom: 0;
}

.features {
  padding: clamp(3rem, 8vw, 5rem) 0;
  border-top: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-num {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.feature h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.next {
  margin: clamp(3rem, 8vw, 6rem) 0;
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: calc(var(--radius) + 8px);
  background: #0f172a;
  color: white;
}

.next p {
  max-width: 620px;
  color: #cbd5e1;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 760px) {
  .facts,
  .feature-grid,
  .story {
    grid-template-columns: 1fr;
  }

  .story {
    gap: 1rem;
  }

  .footer-inner {
    flex-direction: column;
  }
}

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