:root {
  --bg: #0B0D12;
  --bg-alt: #0F1218;
  --card: #12151C;
  --line: #1E232D;
  --line-strong: #2A303C;
  --text: #E8ECF2;
  --muted: #9AA3B2;
  --faint: #8A93A3;
  --white: #FFFFFF;
  --accent: #D4FF3A;
  --display: "Sora", system-ui, sans-serif;
  --body: "Sora", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }
.stack { display: flex; flex-direction: column; gap: 48px; }

.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
h1, h2, h3 { font-family: var(--display); color: var(--white); margin: 0; }
h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: 22px; }
p { margin: 0; }
.muted { color: var(--muted); line-height: 1.6; }
.head { display: flex; flex-direction: column; gap: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { color: var(--bg); filter: brightness(1.08); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); font-weight: 500; background: transparent; }
.btn--ghost:hover { border-color: var(--faint); }

/* Nav */
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.logo span { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; }
.nav-links .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
header { border-bottom: 1px solid var(--line); }

/* Hero */
.hero { padding: 120px 0 112px; display: flex; flex-direction: column; gap: 32px; }
.hero h1 {
  font-weight: 700;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 960px;
}
.hero .lead { font-size: 20px; max-width: 620px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }

/* Grids */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card svg { stroke: var(--accent); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--line-strong); padding-top: 24px; }
.steps li:first-child { border-top-color: var(--accent); }
.steps .num { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--accent); }

.row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.projects { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.project { display: flex; flex-direction: column; gap: 16px; }
.project .thumb {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: #161A22;
  border: 1px dashed var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  font-size: 14px;
}
.project p { font-size: 15px; color: var(--muted); }

/* Split sections */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > :first-child { flex: 1 1 340px; }
.split > :last-child { flex: 999 1 480px; }
.about-text { display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.7; color: var(--muted); }

/* Contact */
.contact-info { display: flex; flex-direction: column; gap: 8px; font-size: 16px; padding-top: 8px; color: var(--muted); }
form { display: flex; flex-direction: column; gap: 20px; }
.fields { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; }
label { font-size: 14px; font-weight: 500; color: #C5CCD8; }
input, textarea {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  min-height: 48px;
}
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: var(--accent); outline: none; }
form .btn { align-self: flex-start; }

/* Footer */
footer { border-top: 1px solid var(--line); }
.footer {
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--faint);
}
.footer nav { display: flex; gap: 24px; }
.footer a { text-decoration: none; color: var(--faint); }
.footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .hero { padding: 72px 0 64px; }
  .section { padding: 64px 0; }
  .nav-links { gap: 18px; }
}
