:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface2: #1a1a1a;
  --accent: #8b0000;
  --accent2: #c0392b;
  --blue: #1a4a7a;
  --blue2: #2980b9;
  --text: #e8e8e8;
  --muted: #888;
  --border: #222;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 56px;
}

.nav-brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.nav-brand span { color: var(--accent2); }

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* HERO */
.hero {
  width: 100%;
  min-height: 380px;
  position: relative;
  margin-top: 56px;
  background: linear-gradient(135deg, #1a0000 0%, #0a0a0a 70%);
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--border);
}

.hero-content {
  padding: 3rem;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.hero h1 span { color: var(--accent2); }

.hero p {
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-top: 0.75rem;
}

.hero-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* PAGE HEADER (non-home pages) */
.page-header {
  margin-top: 56px;
  padding: 3rem 2rem 2rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-header p {
  color: var(--muted);
  margin-top: 0.5rem;
}

/* MAIN CONTENT */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* SECTION */
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }

.section-block { margin-bottom: 3rem; }

/* CARDS */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: border-color 0.2s, background 0.2s;
}

.card:hover { border-color: var(--accent2); background: var(--surface2); }
.card .card-label { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent2); margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }

/* GRID */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.col-span-2 { grid-column: 1 / -1; }

@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .col-span-2 { grid-column: 1; }
}

/* PORTFOLIO ITEMS */
.portfolio-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.portfolio-item .item-info { padding: 0.75rem 1rem; }
.portfolio-item .item-info h3 { font-size: 0.9rem; }
.portfolio-item .item-info p { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.portfolio-item iframe { width: 100%; display: block; border: none; }

/* EMBED CARD */
.embed-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.embed-label {
  padding: 0.6rem 1rem 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.embed-card iframe { width: 100%; display: block; border: none; }

/* SERVICES */
.service-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent2);
  border-radius: 6px;
  padding: 1.25rem;
}

.service-item h3 { color: var(--text); font-size: 0.95rem; }
.service-item p { color: var(--muted); font-size: 0.82rem; margin-top: 0.4rem; }

/* BUTTONS */
.link-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, background 0.2s;
}

.link-btn:hover { border-color: var(--accent2); background: var(--surface); }

.link-btn.red { background: var(--accent); border-color: var(--accent); font-weight: 600; }
.link-btn.red:hover { background: var(--accent2); border-color: var(--accent2); }

.link-btn.blue { background: var(--blue); border-color: var(--blue); font-weight: 600; }
.link-btn.blue:hover { background: var(--blue2); border-color: var(--blue2); }

.links-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }

/* ABOUT TEXT */
.about-text { font-size: 1.05rem; line-height: 1.8; max-width: 700px; }
.about-text p + p { margin-top: 1.2em; }

/* SECTION DIVIDER */
.divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

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

/* BEFORE/AFTER LABEL */
.ba-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem;
  background: var(--surface2);
  color: var(--muted);
}

.ba-label.before { border-top: 2px solid #555; }
.ba-label.after { border-top: 2px solid var(--accent2); }
