:root {
  --accent: #65c525;
  /* brand maroon */
  --accent-bright: #9fee6a;
  /* brighter highlight to improve visibility */
  --bg: #1c0118;
  /* cooler deep slate to avoid conflict */
  --fg: #e9eaec;
  --muted: #a0a3aa;
  --card: #121218;
  --glass: rgba(255, 255, 255, .06);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background:
    /* subtle premium grid pattern */
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0, rgba(255, 255, 255, .035) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0, rgba(255, 255, 255, .035) 1px, transparent 1px, transparent 24px),
    radial-gradient(1200px 600px at 70% -10%, rgba(28, 1, 24, .28), transparent 55%),
    radial-gradient(900px 400px at 10% -20%, rgba(70, 80, 255, .08), transparent 60%),
    var(--bg);
  overflow-x: hidden;
}

/* Canvas background */
#bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block;
  background: transparent
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent);
  backdrop-filter: saturate(140%) blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg)
}

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(28, 1, 24, .5))
}

.brand-name {
  letter-spacing: .18em;
  font-weight: 800
}

.site-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0
}

.site-nav a {
  color: var(--fg);
  text-decoration: none;
  opacity: .9
}

.site-nav a {
  position: relative;
  transition: color .2s ease, opacity .2s ease
}

.site-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-bright), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease
}

.site-nav a:hover {
  opacity: 1;
  color: #fff
}

.site-nav a:hover:after {
  transform: scaleX(1)
}

.site-nav .cta {
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent))
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 34px;
  height: 28px;
  gap: 6px;
  flex-direction: column;
  justify-content: center
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 24px 80px
}

.headline {
  font-family: "Fraunces", serif;
  font-size: clamp(40px, 7vw, 96px);
  line-height: .95;
  margin: 0;
  letter-spacing: .01em
}

.headline .sub {
  display: block;
  font-weight: 700;
  font-family: "Space Grotesk", system-ui;
  letter-spacing: .12em;
  color: #fff;
  opacity: .9
}

.tagline {
  max-width: 720px;
  margin: 20px 0 10px;
  color: var(--muted);
  font-size: 18px
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0
}

.badges span {
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--glass)
}

.button {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease
}

.button.primary {
  border: 0;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 6px 30px rgba(255, 77, 155, .22)
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 77, 155, .24)
}

.button.ghost {
  background: transparent
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 18px
}

.scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  opacity: .6;
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase
}

.section {
  padding: 96px 24px
}

.section-head {
  max-width: 960px;
  margin: 0 auto 36px
}

.section h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 4.6vw, 48px);
  margin: 0 0 8px
}

.section p {
  color: var(--muted)
}

.grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px
}

.card {
  grid-column: span 4;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 18px;
  overflow: hidden;
  transform: translateY(12px);
  opacity: 0;
  animation: reveal .9s .1s forwards;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease
}

.card-media {
  height: 200px;
  background: linear-gradient(#000, #000), var(--img) center/cover;
  filter: saturate(1.05);
  transition: transform .4s ease
}

.card-body {
  padding: 18px
}

.card h3 {
  margin: 0 0 6px
}

.tags {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0
}

.tags li {
  font-size: 12px;
  color: #cfcfd5;
  background: rgba(255, 255, 255, .06);
  padding: 4px 8px;
  border-radius: 999px
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35), 0 10px 28px rgba(255, 77, 155, .12);
  border-color: rgba(255, 77, 155, .24)
}

.card:hover .card-media {
  transform: scale(1.04)
}

.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px
}

.service {
  grid-column: span 4;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(to bottom right, rgba(28, 1, 24, .35), rgb(0 0 0));
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .2s ease, border-color .2s ease, background .2s ease
}

.service:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 77, 155, .25);
  background: linear-gradient(to bottom right, rgba(28, 1, 24, .45), rgba(255, 255, 255, .04))
}

.service h3 {
  margin: 0 0 8px
}

.service p {
  margin: 0 0 10px
}

.service ul {
  margin: 0;
  padding-left: 18px;
  color: #c9c9cf
}

.vision-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px
}

.vision-item {
  grid-column: span 6;
  padding: 24px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, .04);
  border-radius: 10px
}

.vision-item .num {
  font-weight: 800;
  color: #fff;
  opacity: .6;
  margin-right: 10px
}

.vision-item p {
  display: inline
}

.about {
  background: linear-gradient(180deg, rgba(28, 1, 24, .3), transparent 40%), radial-gradient(800px 400px at 10% -20%, rgba(255, 255, 255, .06), transparent 60%)
}

.about-inner {
  max-width: 980px;
  margin: 0 auto
}

.contact-form {
  max-width: 900px;
  margin: 20px auto 0
}

.contact-form .row {
  display: flex;
  gap: 18px
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1
}

.contact-form label.full {
  flex-basis: 100%
}

.contact-form input,
.contact-form textarea {
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  outline: 0
}

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

.contact-form .actions {
  margin-top: 16px
}

.site-footer {
  padding: 48px 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(to top, rgb(0 0 0), #000000);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap
}

.brandline {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: .9
}

.brandline img {
  width: 26px;
  height: 26px
}

.site-footer nav {
  display: flex;
  gap: 14px
}

.site-footer a {
  color: #e7e7ea;
  text-decoration: none;
  opacity: .8
}

.site-footer a {
  transition: opacity .2s ease, color .2s ease
}

.site-footer a:hover {
  opacity: 1;
  color: #fff
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none
  }
}

/* Responsive */
@media (max-width: 980px) {
  .card {
    grid-column: span 6
  }

  .service {
    grid-column: span 6
  }

  .vision-item {
    grid-column: span 12
  }
}

@media (max-width: 680px) {
  .site-nav ul {
    position: fixed;
    inset: 60px 16px auto 16px;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    gap: 10px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: .2s
  }

  .site-nav[aria-expanded="true"] ul {
    transform: none;
    opacity: 1;
    pointer-events: auto
  }

  .nav-toggle {
    display: flex
  }

  .site-nav ul a {
    padding: 10px 6px;
    display: block
  }

  .grid {
    grid-template-columns: repeat(6, 1fr)
  }

  .services-grid {
    grid-template-columns: repeat(6, 1fr)
  }

  .card {
    grid-column: span 6
  }

  .service {
    grid-column: span 6
  }

  .contact-form .row {
    flex-direction: column
  }
}