/* Base */
:root {
  --bg: #141516;
  --bg2: #1a1c1d;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.04);
  --text: rgba(255, 255, 255, 0.96);
  --muted: rgba(255, 255, 255, 0.78);
  --border: rgba(255, 255, 255, 0.12);
  --accent: #e6f000; /* close to the logo yellow */
  --accent2: rgba(230, 240, 0, 0.16);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.45;
  min-height: 100vh;
  background: var(--accent);
}

a { color: rgba(10,10,10,0.9); text-decoration: none; }
a:hover { color: var(--accent); }
p { margin: 0 0 14px; color: var(--muted); }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
}
.skip-link:focus { left: 12px; z-index: 9999; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(20, 21, 22, 0.7);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand-logo { display: block; height: 44px; width: auto; }

.nav { position: relative; }
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
}
.nav-list {
  display: flex;
  gap: 18px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
}
.nav-list a:hover {
  background: var(--card2);
  color: var(--text);
}

/* Hero */
.hero { padding: 54px 0 26px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}
h1 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.lead { font-size: 18px; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  font-family: Helvetica, Arial, sans-serif;
}
.btn-primary {
  background: var(--accent);
  border-color: rgba(0,0,0,0.25);
  color: #000;
  box-shadow: 0 14px 40px rgba(230, 240, 0, 0.18);
}
.btn-primary:hover { filter: brightness(0.95); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.hero-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
}
.card-title { margin: 0 0 10px; font-size: 18px; color: var(--text); }
details {
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
details:first-of-type { border-top: 0; }
summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
}
details p { margin-top: 10px; }

/* Sections */
.section { padding: 56px 0; }
.section-alt {
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.section-head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.section-head p { max-width: 70ch; }

.grid { display: grid; gap: 14px; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
}
.card h3 { margin: 0 0 8px; color: var(--text); }
.card p { margin: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
  align-items: start;
}
.prose p { color: var(--muted); }
.aside { display: grid; gap: 14px; }
.aside-card {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 18px;
}
.checklist {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.checklist li { margin: 8px 0; }
.aside a { color: var(--accent); }

.testimonials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 18px;
  margin: 0;
}
.quote blockquote {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 16px;
}
.quote figcaption { color: var(--muted); }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 14px;
}
.form {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 18px;
}
.field { display: grid; gap: 8px; margin-bottom: 12px; }
label { color: var(--text); font-weight: 700; }
input, textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  color: var(--text);
  font-family: Helvetica, Arial, sans-serif;
  outline: none;
}
input:focus, textarea:focus {
  border-color: rgba(230, 240, 0, 0.65);
  box-shadow: 0 0 0 4px var(--accent2);
}

.error {
  min-height: 18px;
  color: rgba(255, 140, 140, 0.95);
  font-size: 13px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.form-note { margin: 0; color: var(--muted); }
.form-success { margin: 12px 0 0; color: rgba(190, 255, 190, 0.9); }

.contact-card {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 18px;
}
.contact-card hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  margin: 14px 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  background: rgba(20, 21, 22, 0.75);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-left p { margin: 0; }
.footer-mark { color: var(--accent); font-size: 18px; }
.footer-right { display: flex; gap: 14px; align-items: center; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; }
  .nav-list {
    display: none;
    position: absolute;
    right: 0;
    top: 58px;
    width: min(280px, calc(100vw - 40px));
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(20, 21, 22, 0.95);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-list.is-open { display: flex; }
}


/* Gentle motion layer (tasteful) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;

  /* A soft, moving texture to prevent the background feeling static */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(230,240,0,0.06) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(230,240,0,0.05) 0 2px, transparent 3px),
    radial-gradient(circle at 40% 80%, rgba(230,240,0,0.04) 0 2px, transparent 3px);
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0.55;
  animation: drift 24s linear infinite;
}

@keyframes drift {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-120px,-90px,0); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}


/* Section accent motif (brand dots) */
.accent-rule {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.accent-rule::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow:
    22px 0 0 var(--accent),
    44px 0 0 var(--accent),
    66px 0 0 rgba(230,240,0,0.65);
}

.accent-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(230,240,0,0.50), rgba(255,255,255,0.10), rgba(255,255,255,0.00));
}


}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Landing hero inspired by supplied screenshot */
.landing {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
}

.landing-bg {
  position: absolute;
  inset: 0;
  background: url("assets/landing-bg.svg") center / cover no-repeat;
}

.landing-inner {
  position: relative;
  min-height: 92vh;
}

/* Neon menu in top-right */
.landing-menu {
  position: absolute;
  top: 34px;
  right: 0;
  display: grid;
  gap: 8px;
  text-align: right;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
}

.landing-menu a {
  color: var(--accent);
  opacity: 0.98;
}

.landing-menu a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Big dp mark anchored bottom-left */
.landing-mark {
  position: absolute;
  left: 0;
  bottom: 26px;
  width: min(720px, 80vw);
}

.landing-mark img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 50px rgba(0,0,0,0.55));
}

/* Make sure header doesn't compete with landing */
.site-header {
  position: relative;
  background: transparent;
  border-bottom: none;
}
.site-header .nav,
.site-header .nav-toggle,
.site-header .nav-list {
  display: none !important;
}

/* Slightly darker section alternates to fit the landing tone */
.section-alt {
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 960px) {
  .landing-menu { position: relative; right: auto; top: 22px; text-align: left; }
  .landing-inner { padding-top: 10px; }
  .landing-mark { position: relative; bottom: auto; margin-top: 18px; width: min(760px, 92vw); }
}

.accent-title { color: var(--accent); }

/* Reduce main dp mark by ~25% */
.landing-mark--reduced {
  width: min(540px, 60vw);
}



/* Color fix: avoid blending yellow canvas with translucent panels */
.section {
  background: #141516;
}

.section-alt {
  background: #1a1c1d;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-footer {
  background: #141516;
}

/* Ensure default paragraph/link colors remain readable on dark panels */
.section p, .section-alt p, .site-footer p { color: rgba(255,255,255,0.78); }
.section a, .section-alt a, .site-footer a { color: rgba(255,255,255,0.92); }
.section a:hover, .section-alt a:hover, .site-footer a:hover { color: var(--accent); }

/* Landing: remove header entirely to avoid any top strip */
.site-header { display: none !important; }

/* Ensure landing starts at very top with no gaps */
body { padding: 0; }
.landing { min-height: 100vh; }
.landing-inner { min-height: 100vh; padding-top: 0; padding-bottom: 0; }

/* Lock DP mark to the left edge (and keep it visually grounded) */
.landing-mark--locked {
  left: 0;
  bottom: 0;
  top: auto;
  transform: none;
  margin: 0;
}

/* Remove container left padding influence for the mark by allowing it to bleed */
.landing-inner { position: relative; }
.landing-mark--locked img { margin-left: 0; }

.landing-bg { inset: 0; }

/* Landing tweak: lift DP mark slightly off the bottom */
.landing-mark--locked {
  bottom: 60px; /* was flush to bottom */
}

/* Add more breathing room after Services */
#services {
  padding-bottom: 140px;
}

#about {
  padding-top: 140px;
}

/* Mobile fix: lower DP logo on small screens */
@media (max-width: 480px) {
  .landing-mark--locked {
    bottom: 20px;
  }
}

/* iPhone/Small-screen fix: keep DP mark anchored (override the 960px rule that makes it relative) */
@media (max-width: 960px) {
  .landing .landing-mark.landing-mark--locked {
    position: absolute !important;
    left: 0 !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 24px) !important;
    margin: 0 !important;
    width: min(540px, 84vw) !important;
  }
}

/* Extra-tight phones */
@media (max-width: 480px) {
  .landing .landing-mark.landing-mark--locked {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px) !important;
    width: min(520px, 88vw) !important;
  }
}

/* Fine-tune DP mark position for larger phones */
@media (max-width: 960px) and (min-width: 600px) {
  .landing .landing-mark.landing-mark--locked {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 56px) !important;
  }
}

/* Smaller phones remain slightly lower */
@media (max-width: 599px) {
  .landing .landing-mark.landing-mark--locked {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 28px) !important;
  }
}

/* Pro Max / large-phone raise (move DP mark higher) */
@media (max-width: 960px) and (min-width: 600px) and (min-height: 800px) {
  .landing .landing-mark.landing-mark--locked {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 92px) !important;
  }
}

/* Very tall phones */
@media (max-width: 960px) and (min-width: 600px) and (min-height: 900px) {
  .landing .landing-mark.landing-mark--locked {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 110px) !important;
  }
}


/* Services cards: long-form readability */
.services-cards .card {
  padding: 22px;
}

.services-cards .card h3 {
  margin-bottom: 8px;
}

.services-cards .strap {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.services-cards .card p {
  margin: 0 0 12px;
}

.services-cards .card p:last-child {
  margin-bottom: 0;
}
