:root {
  --bg: #0b0b0d;
  --bg-raised: #131316;
  --border: #232327;
  --text: #f2f1ee;
  --text-dim: #a6a4a0;
  --accent: #d9a84e;
  --accent-dim: #7a6234;
  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Ambient light rig */
.light-rig {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.beam {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(110px);
  background: radial-gradient(circle, var(--accent) 0%, transparent 68%);
  mix-blend-mode: screen;
  will-change: transform;
}

.beam-left {
  top: -160px;
  left: -280px;
  opacity: 0.26;
}

.beam-right {
  bottom: -200px;
  right: -260px;
  width: 700px;
  height: 700px;
  opacity: 0.18;
}

@media (prefers-reduced-motion: reduce) {
  .beam { transition: none !important; }
}

@media (max-width: 880px) {
  .beam { display: none; }
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.wordmark span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.site-nav a:hover { color: var(--text); }

.site-nav a.header-cta {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #16130a;
}

.btn-primary:hover { background: #e8bb66; }

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero {
  padding: 140px 0 120px;
  border-bottom: 1px solid var(--border);
}

.hero-inner { max-width: 760px; }

.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 0 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Services */
.services { padding: 120px 0; border-bottom: 1px solid var(--border); }

.services h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 56px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--bg);
  padding: 40px 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.service-index {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dim);
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
}

.service-feature {
  margin-top: 1px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-top: none;
  padding: 44px 32px;
  display: flex;
  gap: 28px;
  align-items: baseline;
}

.service-feature .service-index {
  margin-bottom: 0;
  color: var(--accent);
}

.service-feature-body h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.service-feature-body p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0;
  max-width: 640px;
}

/* About */
.about { padding: 120px 0; border-bottom: 1px solid var(--border); }

.about-inner { max-width: 760px; }

.about h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 24px;
}

.about > .about-inner > p {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 620px;
}

.about-stats {
  display: flex;
  gap: 56px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }

.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Contact */
.contact { padding: 120px 0; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
}

.contact-copy h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 20px;
}

.contact-copy p {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 380px;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.contact-details li { margin-bottom: 10px; }

.contact-details a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.contact-details a:hover { color: var(--accent); border-color: var(--accent); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.contact-form input,
.contact-form textarea {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form button { margin-top: 6px; align-self: flex-start; }

.contact-form button:disabled { opacity: 0.6; cursor: wait; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-size: 14px;
  min-height: 1.5em;
}

.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: #e07a6a; }

.form-status a { color: inherit; }

/* Simple pages (404, thanks) */
.simple-page {
  min-height: calc(100vh - 77px - 82px);
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.simple-page h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
}

.simple-page p {
  color: var(--text-dim);
  font-size: 17px;
  margin: 0 0 32px;
  max-width: 520px;
}

/* Footer */
.site-footer { padding: 32px 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 880px) {
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 8px 0 16px;
  }

  .site-nav.is-open a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
  }

  .site-nav.is-open a.header-cta {
    margin: 12px 24px 0;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-align: center;
  }

  .hero h1 br { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-feature { flex-direction: column; gap: 12px; }
  .hero { padding: 100px 0 80px; }
  .services, .about, .contact { padding: 80px 0; }
  .about-stats { gap: 36px; }
}
