/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0b0d12;
  --bg-alt:    #111318;
  --surface:   #181b22;
  --border:    #252830;
  --accent:    #c9a84c;
  --accent-dk: #a8882e;
  --text:      #e8eaf0;
  --muted:     #7a7e8e;
  --radius:    10px;
  --font:      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

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

/* Logo image in the nav bar — black bg blends into the dark header */
.brand-logo {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.brand-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

nav {
  display: flex;
  gap: 1.8rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover { color: var(--accent); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--border);
}

/* Two-column layout: text left, logo right */
.hero-layout {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content { flex: 1; }

/* Logo in hero — large, let it breathe */
.hero-logo {
  flex-shrink: 0;
  width: 260px;
  height: 260px;
  object-fit: contain;
  border-radius: 16px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.2rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  background: var(--accent);
  color: #0b0d12;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.btn:hover  { background: var(--accent-dk); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover { background: rgba(201, 168, 76, 0.1); transform: translateY(-1px); }

.btn-store {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

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

.btn-soon {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.btn-soon small {
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

/* ── Sections ─────────────────────────────────────────────── */
.section      { padding: 5rem 0; border-bottom: 1px solid var(--border); }
.section-alt  { background: var(--bg-alt); }

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

/* ── Project card ─────────────────────────────────────────── */
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.project-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.project-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.project-desc {
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project-glyph {
  font-size: 6rem;
  opacity: 0.06;
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}

/* ── Services grid ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Contact ──────────────────────────────────────────────── */
.contact-container {
  text-align: center;
  max-width: 600px;
}

.contact-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  padding: 2rem 0;
  text-align: center;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo {
  height: 56px;
  width: 56px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.8;
}

.site-footer p {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Stack hero: logo moves above text on tablet and below */
  .hero-layout {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .hero-logo {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 640px) {
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 3.5rem 0; }

  .project-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-glyph { display: none; }

  nav { gap: 1.2rem; }
  .brand-name { display: none; }
}
