:root {
  --bg: #050505;
  --card: #111111;
  --text: #ffffff;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --border: #27272a;
  --white: #ffffff;
  --black: #000000;
  --green: #4ade80;
}

body.light-mode {
  --bg: #f5f5f7;
  --card: #ffffff;
  --text: #111111;
  --muted: #52525b;
  --muted-2: #71717a;
  --border: #d4d4d8;
  --white: #111111;
  --black: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  width: 100%;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(circle at top left, rgba(255,255,255,.08), transparent 35%),
    radial-gradient(circle at bottom right, rgba(255,255,255,.05), transparent 35%),
    #050505;
}

body.light-mode .page-bg {
  background:
    radial-gradient(circle at top left, rgba(0,0,0,.08), transparent 35%),
    radial-gradient(circle at bottom right, rgba(0,0,0,.05), transparent 35%),
    #f5f5f7;
}

.theme-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;

  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);

  border-radius: 999px;
  padding: 12px 18px;

  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 32px;

  background: rgba(5,5,5,.72);
  backdrop-filter: blur(20px);

  border-bottom: 1px solid rgba(255,255,255,.06);

  z-index: 999;
}

body.light-mode .site-header {
  background: rgba(245,245,247,.72);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.nav {
  display: flex;
  gap: 26px;

  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.menu-btn {
  display: none;
}

.section {
  padding: 120px 0;
}

.hero {
  min-height: 100vh;

  display: flex;
  align-items: center;

  padding-top: 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 72px;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;

  border-radius: 999px;

  background: rgba(17,17,17,.85);
  border: 1px solid var(--border);

  color: #d4d4d8;

  margin-bottom: 30px;
}

body.light-mode .status-badge {
  background: rgba(255,255,255,.85);
  color: #3f3f46;
}

.status-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: .92;
  letter-spacing: -.08em;

  margin-bottom: 32px;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.06em;
}

.hero-lead {
  font-size: 1.3rem;
  line-height: 1.6;

  color: #d4d4d8;

  margin-bottom: 18px;
}

body.light-mode .hero-lead {
  color: #3f3f46;
}

.hero-text,
.text-block p,
.contact-content p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 40px;
}

.contact-actions {
  justify-content: center;
  align-items: center;
  width: 100%;
}

.btn {
  min-height: 54px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 24px;

  border-radius: 18px;

  font-weight: 700;

  transition: .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--white);
  color: var(--black);
  border: none;
}

.profile-card {
  background: rgba(17,17,17,.92);

  border: 1px solid var(--border);

  border-radius: 40px;

  padding: 18px;
}

body.light-mode .profile-card {
  background: rgba(255,255,255,.92);
}

.profile-image {
  border-radius: 28px;
  overflow: hidden;
}

.profile-info {
  padding: 24px 8px 8px;
}

.profile-info h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.profile-info p {
  color: var(--muted);
}

.border-section {
  border-top: 1px solid #18181b;
}

body.light-mode .border-section {
  border-top: 1px solid #e4e4e7;
}

.two-columns {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
}

.eyebrow {
  display: inline-block;

  margin-bottom: 22px;

  color: var(--muted-2);

  text-transform: uppercase;
  letter-spacing: .25em;

  font-size: .75rem;
  font-weight: 800;
}

.contact-section {
  text-align: center;
}

.contact-content {
  max-width: 900px;
}

.contact-content h2 {
  margin-bottom: 30px;
}

.contact-content p {
  max-width: 700px;
  margin: 0 auto;
}

.contact-content small {
  display: block;

  margin-top: 40px;

  color: #52525b;

  text-transform: uppercase;
  letter-spacing: .22em;
}

.contact-form {
  margin: 60px auto 0;
  max-width: 760px;
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;

  margin-bottom: 8px;

  color: #d4d4d8;

  font-size: .95rem;
  font-weight: 700;
}

body.light-mode .form-group label {
  color: #27272a;
}

.form-group input,
.form-group textarea {
  width: 100%;

  border: 1px solid var(--border);

  border-radius: 18px;

  background: rgba(17,17,17,.85);

  color: var(--text);

  font: inherit;

  padding: 16px 18px;

  outline: none;

  transition:
    border-color .25s ease,
    background .25s ease;
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
  background: rgba(255,255,255,.85);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #71717a;
  background: rgba(24,24,27,.96);
}

body.light-mode .form-group input:focus,
body.light-mode .form-group textarea:focus {
  background: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.form-button {
  width: 100%;
  cursor: pointer;
}

.form-note {
  margin-top: 18px;
  text-align: center;
  color: var(--muted-2);
  font-size: .95rem;
}

.hidden-field {
  display: none;
}

.footer {
  padding: 30px 20px;

  border-top: 1px solid #18181b;

  text-align: center;

  color: #52525b;
}

body.light-mode .footer {
  border-top: 1px solid #e4e4e7;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity .7s ease,
    transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid,
  .two-columns,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    position: fixed;
    top: 76px;
    right: 20px;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
  }

  .menu-btn {
    display: block;

    width: 42px;
    height: 42px;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 14px;
  }

  .menu-btn span {
    display: block;

    width: 18px;
    height: 2px;

    background: var(--text);

    margin: 5px auto;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  h1 {
    font-size: 3.2rem;
  }

  .theme-toggle {
    right: 16px;
    bottom: 16px;
    padding: 10px 14px;
  }
}