:root {
  --bg: #000000;
  --fg: #ccc8b8;
  --muted: #545454;
  --border: rgba(204, 200, 184, 0.18);
  --card: #141414;
  --card-hover: #1a1a1a;
  --input-bg: #111111;
  --input-bg-focus: #171717;
  --accent: #ccc8b8;
  --danger: #e35b5b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Sansation", ui-sans-serif, system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1152px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
}
.brand img { height: 48px; width: auto; opacity: 0.9; transition: opacity .2s; }
.brand:hover img { opacity: 1; }
.site-nav { display: flex; gap: 2.5rem; }
.site-nav a {
  font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--fg); }
.nav-toggle {
  display: none; width: 40px; height: 40px; background: none;
  border: 1px solid var(--border); cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 1px; background: var(--fg); }

/* Sections */
section { padding: 4rem 0; }
@media (min-width: 768px) { section { padding: 6rem 0; } }

.eyebrow {
  font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.5rem;
}
h1, h2, h3 { font-weight: 300; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); line-height: 1.15; }
h3 { font-size: 1.25rem; }
p  { color: var(--fg); }
p.muted { color: var(--muted); }
.italic { font-style: italic; }
.block { display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.5rem; font-size: 0.75rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  border: 1px solid var(--fg); background: var(--fg); color: var(--bg);
  cursor: pointer; transition: all .2s;
}
.btn:hover { background: transparent; color: var(--fg); }
.btn-outline { background: transparent; color: var(--fg); }
.btn-outline:hover { background: var(--fg); color: var(--bg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 6rem 0 5rem;
}
.hero-bg {
  position: absolute; inset: 0; opacity: 0.15;
  background-size: cover; background-position: center;
}
.hero-inner { position: relative; }
.hero p.lead { max-width: 34rem; font-size: 1.125rem; color: var(--muted); margin-top: 2rem; }
.hero .cta-row { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Cards / feature grid */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem; transition: background .2s, border-color .2s;
}
.card:hover { background: var(--card-hover); border-color: rgba(204,200,184,0.35); }
.card .numeral {
  font-size: 0.75rem; letter-spacing: 0.4em; color: var(--muted); margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

.hairline { height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); margin: 3rem 0; }

/* Contact form */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 2fr; } }

.contact-info h4 {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 0.5rem;
}
.contact-info p, .contact-info a { font-size: 1.05rem; margin: 0 0 2rem; }
.contact-info a:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }

.field label {
  display: block;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.5rem;
}
.field input, .field textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: inherit; font-size: 1rem;
  padding: 0.75rem 0.85rem;
  transition: background .2s, border-color .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--fg); background: var(--input-bg-focus);
}
.field textarea { resize: vertical; min-height: 140px; }
.field .error { color: var(--danger); font-size: 0.8rem; margin-top: 0.4rem; }

.field-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form-footer .fineprint { font-size: 0.75rem; color: var(--muted); margin: 0; }

.alert {
  padding: 1rem 1.25rem; border: 1px solid var(--border);
  background: var(--card); font-size: 0.95rem;
}
.alert.success { border-color: rgba(204,200,184,0.4); }
.alert.error   { border-color: rgba(227,91,91,0.6); color: #f4b4b4; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 0; margin-top: 4rem; }
.footer-inner {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-inner { grid-template-columns: auto 1fr; } }
.footer-brand img { height: 40px; width: auto; margin-bottom: 0.75rem; }
.tagline { color: var(--muted); font-size: 0.9rem; margin: 0; max-width: 26rem; }
.footer-meta { text-align: left; }
@media (min-width: 700px) { .footer-meta { text-align: right; } }
.footer-meta p { margin: 0.25rem 0; font-size: 0.85rem; color: var(--muted); }
.footer-meta a { color: var(--fg); }

/* Mobile nav */
@media (max-width: 767px) {
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0;
    padding: 0.5rem 1.5rem;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid var(--border); }
  .site-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: inline-flex; }
}
