:root {
  --bg: #0a0a0a;
  --fg: #f5f5f5;
  --muted: #9b9b9b;
  --border: #2a2a2a;
  --accent: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem clamp(1.25rem, 5vw, 4rem);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 70px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 2.25rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg);
  opacity: 0.9;
  transition: opacity 0.15s ease;
}

.site-nav a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--fg);
  display: block;
}

/* Flash messages */

.flash-stack {
  padding: 0 clamp(1.25rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: -0.5rem;
}

.flash {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  max-width: 640px;
}

.flash-success {
  background: rgba(70, 200, 120, 0.12);
  border: 1px solid rgba(70, 200, 120, 0.35);
  color: #7ee2a0;
}

.flash-error {
  background: rgba(220, 80, 80, 0.12);
  border: 1px solid rgba(220, 80, 80, 0.35);
  color: #f39b9b;
}

/* Hero */

main {
  flex: 1;
  display: flex;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding: 2rem clamp(1.25rem, 5vw, 4rem) 4rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 34rem;
  margin: 0 0 2.5rem;
}

.hero-tagline {
  white-space: nowrap;
}

.coming-soon {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.coming-soon-label {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1rem;
}

.contact-form button {
  background: var(--accent);
  color: #0a0a0a;
  border: none;
  padding: 0.85rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.contact-form button:hover {
  opacity: 0.85;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}

/* Simple content pages */

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem clamp(1.25rem, 5vw, 4rem) 6rem;
  width: 100%;
}

.page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

.page-lead {
  color: var(--fg);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.page p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.page a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact form */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  background: #141414;
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #555;
}

.contact-form button {
  align-self: flex-start;
}

/* Footer */

.site-footer {
  padding: 1.5rem clamp(1.25rem, 5vw, 4rem) 2rem;
  text-align: right;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Responsive */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
    padding-top: 1rem;
  }

  .hero-art {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: clamp(1.25rem, 5vw, 4rem);
    left: clamp(1.25rem, 5vw, 4rem);
    background: #121212;
    border: 1px solid var(--border);
    border-radius: 10px;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    display: none;
    z-index: 20;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-tagline {
    white-space: normal;
  }
}
