:root {
  --bg: #0b0c0e;
  --fg: #f5f5f3;
  --muted: #b8b8b4;
  --accent: #e8e6df;
  --border: rgba(245, 245, 243, 0.14);
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 0 6vw;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(4, 6, 10, 0.38) 0%, rgba(4, 6, 10, 0.12) 40%, transparent 62%),
    url("assets/hero.jpg") center / cover no-repeat,
    #0b0c0e;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  animation: fade-up 0.8s ease-out both;
}

.hero-eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero-motto {
  margin: 0 0 2.5rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.5), 0 1px 28px rgba(0, 0, 0, 0.6);
}

.hero-cta {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 0.2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.hero-cta:hover {
  border-color: var(--fg);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Contact ---------- */

.contact {
  background: var(--fg);
  color: #16171b;
  padding: 8rem 6vw;
}

.contact-inner {
  max-width: 520px;
  margin: 0 auto;
}

.contact h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.contact-sub {
  color: #55564f;
  margin: 0 0 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d8d8d2;
  border-radius: 6px;
  background: #fff;
  color: #16171b;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #16171b;
  outline-offset: 1px;
}

.contact-form button {
  margin-top: 0.5rem;
  align-self: flex-start;
  background: #16171b;
  color: #fff;
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

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

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg);
  color: var(--muted);
  padding: 2.5rem 6vw;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--fg);
}

.footer-links span {
  margin: 0 0.4em;
}

/* ---------- Legal pages ---------- */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 6rem 6vw 4rem;
  color: var(--fg);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.65;
}

.legal-page h1 {
  font-family: var(--serif);
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin-top: 2.25rem;
}

.legal-page p, .legal-page li {
  color: var(--accent);
}

.legal-page a {
  color: var(--fg);
}

.legal-back {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-back:hover {
  color: var(--fg);
}

@media (max-width: 640px) {
  .hero { padding: 0 6vw; }
  .contact { padding: 5rem 6vw; }
}
