:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1d1d1d;
  --text: #fafafa;
  --muted: #a8a8a8;
  --muted-2: #d8d8d8;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --glass: rgba(10, 10, 10, 0.74);
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img,
video {
  max-width: 100%;
}

::selection {
  background: var(--text);
  color: var(--bg);
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 56px);
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0));
}

.brand {
  display: inline-flex;
}

.brand img {
  width: 48px;
  height: 48px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted-2);
  font-size: 0.94rem;
}

.nav a:not(.button):hover,
.site-footer a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--text);
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #e8e8e8;
  border-color: #e8e8e8;
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.86rem;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line-strong);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 120px 20px 80px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.08), transparent 35%),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.28), rgba(10, 10, 10, 0.92));
}

.hero-content,
.page-hero-inner,
.contact-panel,
.section-grid,
.cards,
.principles,
.site-footer {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  max-width: 820px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.65rem, 8vw, 5.9rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.25rem;
}

.lead {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--muted-2);
  font-size: clamp(1.08rem, 2.2vw, 1.3rem);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.section {
  padding: clamp(84px, 12vw, 140px) 0;
}

.section-muted {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 96px);
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 20px;
  color: var(--muted-2);
  font-size: 1.08rem;
  line-height: 1.75;
}

.text-stack p {
  margin: 0;
}

.cards,
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.principle,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.card,
.principle {
  min-height: 250px;
  padding: 28px;
}

.card-index {
  display: block;
  margin-bottom: 52px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
}

.card p,
.principle p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-section {
  border-bottom: 1px solid var(--line);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 72px);
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.08), transparent 36%),
    var(--surface);
}

.contact-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted-2);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.42);
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.page-hero {
  padding: 168px 0 96px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 42%),
    var(--bg);
}

.page-hero-inner {
  max-width: 840px;
}

.page-hero .lead {
  margin-left: 0;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 0;
  color: var(--muted);
}

.site-footer img {
  width: 220px;
  height: auto;
}

.site-footer p {
  margin: 8px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 64px;
    padding-inline: 18px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .nav {
    gap: 14px;
  }

  .hero {
    min-height: 92svh;
    padding-inline: 18px;
  }

  .section-grid,
  .contact-panel,
  .cards,
  .principles {
    grid-template-columns: 1fr;
  }

  .card,
  .principle {
    min-height: auto;
  }

  .card-index {
    margin-bottom: 34px;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }
}
