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

:root {
  --bg: #0a0a0a;
  --text: #ffffff;
  --muted: #888888;
  --accent: #ffffff;
  --border: rgba(255, 255, 255, 0.1);
  --red: #c0392b;
  --red-glow: rgba(192, 57, 43, 0.35);
  --red-subtle: rgba(192, 57, 43, 0.12);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(192, 57, 43, 0.3);
  box-shadow: 0 1px 24px rgba(192, 57, 43, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  text-shadow: 0 0 12px var(--red-glow);
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-socials a {
  color: var(--muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

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

.nav-socials svg {
  width: 18px;
  height: 18px;
}

.btn-touch {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid rgba(192, 57, 43, 0.7);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(192, 57, 43, 0.2);
}

.btn-touch:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--text);
  box-shadow: 0 0 20px var(--red-glow);
}

/* ── HERO ── */
.hero {
  margin-top: 70px;
  position: relative;
  height: calc(100vh - 70px);
  display: flex;
  align-items: flex-end;
  padding: 64px 48px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1496442226666-8d4d0e62e6e9?w=1800&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center 60%;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid rgba(192, 57, 43, 0.7);
  color: var(--text);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 14px rgba(192, 57, 43, 0.2);
}

.hero-cta:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--text);
  box-shadow: 0 0 28px var(--red-glow);
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  margin-top: 70px;
  padding: 80px 48px 48px;
  border-bottom: 1px solid rgba(192, 57, 43, 0.25);
}

.page-header h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-header p {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
}

/* ── SECTIONS ── */
.section {
  padding: 80px 48px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 48px;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
}

.service-card {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  background: var(--red-subtle);
  box-shadow: inset 0 0 30px rgba(192, 57, 43, 0.06);
}

.service-num {
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
}

/* ── TEAM GRID ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
}

.team-card {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.team-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  filter: grayscale(20%);
}

.team-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-card p {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.team-empty {
  padding: 120px 48px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── ABOUT ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-left h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.about-right p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-right p:last-child {
  margin-bottom: 0;
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(192, 57, 43, 0.4), transparent);
  margin: 0 48px;
}

/* ── SHARED full-page particle canvas ── */
.page-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

body:has(.page-bg-canvas) nav,
body:has(.page-bg-canvas) .page-header,
body:has(.page-bg-canvas) .section,
body:has(.page-bg-canvas) .divider,
body:has(.page-bg-canvas) footer,
body:has(.page-bg-canvas) .contact-graphic {
  position: relative;
  z-index: 1;
}

body:has(.page-bg-canvas) .page-header {
  background: rgba(10,10,10,0.72);
}

body:has(.page-bg-canvas) .section {
  background: rgba(10,10,10,0.68);
}

body:has(.page-bg-canvas) footer {
  background: rgba(10,10,10,0.85);
}

/* ── CONTACT GRAPHIC ── */
.contact-graphic {
  position: relative;
  width: 100%;
  height: 340px;
  margin-top: 36px;
}

.contact-graphic canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-graphic-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cg-label {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transform: translate(-50%, -50%);
  white-space: nowrap;
  transition: color 0.3s;
}

/* ── CONTACT ── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.contact-info p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.contact-info a {
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}

.contact-info a:hover {
  border-color: var(--text);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.required {
  color: var(--red);
  margin-left: 2px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.4);
}

.form-group textarea {
  height: 140px;
}

.btn-submit {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid rgba(192, 57, 43, 0.7);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 10px rgba(192, 57, 43, 0.15);
}

.btn-submit:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--text);
  box-shadow: 0 0 24px var(--red-glow);
}

/* ── FOOTER ── */
footer {
  margin-top: auto;
  padding: 40px 48px;
  border-top: 1px solid rgba(192, 57, 43, 0.25);
  box-shadow: 0 -1px 20px rgba(192, 57, 43, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-center {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.footer-center a {
  color: var(--text);
  transition: color 0.2s;
}

.footer-center a:hover {
  color: var(--muted);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-right a {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-right a:hover {
  color: var(--text);
}

.footer-right svg {
  width: 16px;
  height: 16px;
}

/* ── HAMBURGER (mobile) ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.2s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 40px 48px;
  flex-direction: column;
  gap: 32px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--muted);
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--text);
}

.mobile-socials {
  display: flex;
  gap: 20px;
  margin-top: auto;
}

.mobile-socials a {
  font-size: 14px !important;
  font-weight: 500 !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav {
    padding: 18px 24px;
  }

  .nav-links,
  .nav-socials,
  .btn-touch {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 40px 24px;
  }

  .page-header {
    padding: 60px 24px 36px;
  }

  .section {
    padding: 60px 24px;
  }

  .divider {
    margin: 0 24px;
  }

  .about-split,
  .contact-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  footer {
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-menu {
    padding: 40px 24px;
  }
}

[data-netlify-badge], .netlify-badge, #nl-badge-frame { display: none !important; }
