/* MLDZ Media — shared stylesheet
   Fonts: Space Grotesk (headers/logo), Outfit (body). Normal case.
   Chrome shine: slow silver sweep on headers, glint on CTA buttons.
   Hero, alt sections, and trust strip slightly transparent so the
   particle background shows through. */

:root {
  --bg: #0A0A0A;
  --bg-alt: #131313;
  --gold: #C9A84C;
  --gold-light: #E4C878;
  --silver: #C7C9CB;
  --text: #F2F2F2;
  --text-muted: #A8A8A8;
  --border: rgba(201, 168, 76, 0.25);
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em 0;
  /* chrome shine: slow silver gleam, sweeps then rests */
  background: linear-gradient(100deg,
    #c8ccd0 0%, #c8ccd0 38%,
    #ffffff 48%, #9ea3a8 52%,
    #c8ccd0 62%, #c8ccd0 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: chrome-sweep 12s linear infinite;
}

/* sweep takes ~4s, then holds still ~8s before repeating */
@keyframes chrome-sweep {
  0%   { background-position: 125% 0; }
  33%  { background-position: -125% 0; }
  100% { background-position: -125% 0; }
}

@media (prefers-reduced-motion: reduce) {
  h1, h2, h3, h4 { animation: none; }
  .btn-primary::after, .nav-cta::after { display: none; }
}

p { color: var(--text-muted); margin: 0 0 1em 0; }

a { color: var(--gold); text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: linear-gradient(120deg, var(--gold-light), var(--silver) 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo span { color: var(--text); -webkit-text-fill-color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

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

.nav-cta {
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: #0A0A0A !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-cta { display: inline-block; margin-top: 8px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: #0A0A0A;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
}

.btn-secondary {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* chrome glint sweeping across CTA buttons.
   display:inline-block + overflow:hidden keeps the glint
   strictly inside the button shape. */
.btn-primary, .nav-cta {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-primary::after, .nav-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.5) 50%,
    rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  animation: btn-sweep 9s ease-in-out infinite;
  pointer-events: none;
}

/* glint passes in ~1.5s, rests ~7.5s */
@keyframes btn-sweep {
  0%   { left: -80%; }
  17%  { left: 130%; }
  100% { left: 130%; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 110px 0 90px;
  text-align: center;
  /* solid base color removed so the particle field shows through */
  background: radial-gradient(ellipse at 50% -20%, rgba(201,168,76,0.15), transparent 60%);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 780px;
  margin: 0 auto 0.5em;
}

.hero p.subhead {
  max-width: 620px;
  margin: 0 auto 2.2em;
  font-size: 1.15rem;
}

.hero .btn-row { justify-content: center; }

.eyebrow {
  display: inline-block;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

/* ---------- Sections ---------- */

section { padding: 80px 0; }
section.alt { background: rgba(19, 19, 19, 0.82); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

/* ---------- Cards ---------- */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover { border-color: var(--gold); transform: translateY(-4px); }

.card .tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card .price { color: var(--gold-light); font-weight: bold; margin-top: 12px; }

/* ---------- Trust strip ---------- */

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  background: rgba(19, 19, 19, 0.82);
}

.trust-strip h3 { color: var(--gold); }
.trust-strip p { max-width: 640px; margin: 0 auto; }

/* ---------- Case study teaser ---------- */

.case-card {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 34px;
  overflow: hidden;
}

.case-card .status-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card h3 { margin-bottom: 6px; }
.case-card ul { color: var(--text-muted); padding-left: 20px; margin: 14px 0; }
.case-card ul li { margin-bottom: 6px; }

.empty-state {
  text-align: center;
  max-width: 560px;
  margin: 50px auto 0;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Founder / About ---------- */

.founder-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

@media (max-width: 800px) {
  .founder-block { grid-template-columns: 1fr; }
}

.founder-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px;
}

.founder-card h4 { letter-spacing: 0.05em; }

/* ---------- Contact form ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

@media (max-width: 860px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

.form-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 34px;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 6px;
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 0.95rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea { resize: vertical; min-height: 120px; }

.contact-side .contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text);
}

.contact-side .contact-line span.label { color: var(--text-muted); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer .logo-mini {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  text-align: center;
  padding: 90px 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.12), transparent 65%);
  border-top: 1px solid var(--border);
}

.cta-banner h2 { max-width: 620px; margin: 0 auto 0.4em; }
.cta-banner p { max-width: 560px; margin: 0 auto 2em; }
.cta-banner .btn-row { justify-content: center; }
