:root {
  --black: #050605;
  --black-soft: #0a0c0a;
  --panel: #10130f;
  --panel-border: #1c231a;
  --green: #7ed321;
  --green-bright: #9dff3d;
  --green-dim: #2a4a1a;
  --text: #f2f5ef;
  --text-muted: #9aa79a;
  --text-faint: #5c685c;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(126, 211, 33, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 211, 33, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif; }

svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

a { color: inherit; }

::selection { background: rgba(126, 211, 33, 0.35); color: #eafff0; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--panel-border); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dim); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 6, 5, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--panel-border);
}

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

.logo-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #000;
  border: 1px solid var(--green-dim);
  border-radius: 6px;
  text-decoration: none;
  overflow: hidden;
}
.logo-text {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--green-bright);
  letter-spacing: 2px;
  font-size: 15px;
  text-shadow: 0 0 8px rgba(158, 255, 61, 0.6);
}
.logo-scan {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 2px;
  background: linear-gradient(90deg, transparent, #cfffb0, transparent);
  animation: scan 3.2s linear infinite;
}
@keyframes scan {
  0% { left: -60%; }
  100% { left: 120%; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  padding: 10px 14px;
  font-family: inherit;
  border-radius: 6px;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--green-bright); }
.chev { width: 10px; height: 7px; transition: transform 0.2s ease; stroke-width: 2; }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background: rgba(10, 14, 10, 0.98);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.dropdown a:hover { background: rgba(126, 211, 33, 0.1); }
.dropdown a strong { font-size: 14px; color: var(--text); }
.dropdown a span { font-size: 12.5px; color: var(--text-muted); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  height: 22px;
  box-sizing: content-box;
  padding: 11px;
  margin: -11px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span { background: var(--green-bright); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn:active { transform: scale(0.97); }
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--green-bright);
  color: #06120a;
  box-shadow: 0 0 20px rgba(158,255,61,0.25);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::after { left: 125%; }
.btn-primary:hover { background: #b6ff6b; box-shadow: 0 0 30px rgba(158,255,61,0.4); }
.btn-dark {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--panel-border);
}
.btn-dark:hover { border-color: var(--green-dim); }
.btn-link {
  background: none;
  color: var(--text);
  padding: 13px 6px;
}
.btn-link:hover { color: var(--green-bright); }
.arrow { display: inline-block; transition: transform 0.2s ease; }
.btn-link:hover .arrow { transform: translate(2px, -2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 130px 24px 90px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.2) 68%, rgba(0,0,0,0.9) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 45%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

/* ---------- Hero clock illustration ---------- */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.ambient-glow-1 {
  width: 280px; height: 280px;
  background: rgba(126, 211, 33, 0.14);
  top: 6%; right: 10%;
  animation: drift 9s ease-in-out infinite;
}
.ambient-glow-2 {
  width: 200px; height: 200px;
  background: rgba(120, 170, 255, 0.06);
  bottom: 8%; left: 8%;
  animation: drift 12s ease-in-out infinite reverse;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(14px, -12px); }
}

.clock-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.clock-photo-img,
.clock-photo-glitch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.clock-photo-img {
  filter: brightness(0.55) saturate(0.85) contrast(1.05);
  animation: kenburns 20s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.07); }
}

.clock-photo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 58%, rgba(126, 211, 33, 0.22), transparent 55%);
  mix-blend-mode: screen;
  animation: screen-pulse 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes screen-pulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

.clock-photo-glitch {
  clip-path: inset(45% 37% 34% 51%);
  opacity: 0;
  pointer-events: none;
}
.clock-photo-glitch-r { filter: hue-rotate(300deg) saturate(5) brightness(1.5); animation: glitch-before 5.5s infinite; }
.clock-photo-glitch-b { filter: hue-rotate(140deg) saturate(5) brightness(1.5); animation: glitch-after 5.5s infinite; }
@keyframes glitch-before {
  0%, 92%, 100% { opacity: 0; transform: translate(0, 0); }
  93% { opacity: 0.85; transform: translate(3px, -1px); }
  95% { opacity: 0.85; transform: translate(-3px, 1px); }
  96% { opacity: 0; }
}
@keyframes glitch-after {
  0%, 92%, 100% { opacity: 0; transform: translate(0, 0); }
  93.5% { opacity: 0.85; transform: translate(-3px, 1px); }
  95.5% { opacity: 0.85; transform: translate(3px, -1px); }
  97% { opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  opacity: 1;
  transform: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12.5px;
  color: var(--green-bright);
  font-weight: 700;
  background: rgba(126, 211, 33, 0.08);
  border: 1px solid var(--green-dim);
  padding: 7px 16px;
  border-radius: 20px;
  margin: 0 0 26px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--green-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-bright);
}
.eyebrow-plain {
  display: block;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  margin-bottom: 14px;
}

.hero-content h1 {
  font-size: 58px;
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 24px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
}
.accent { color: var(--green-bright); }

.hero-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 36px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 24px 60px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  max-width: 140%;
  height: 380px;
  background: radial-gradient(ellipse, rgba(126, 211, 33, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.page-hero .watermark { font-size: 160px; }
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero-content h1 {
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 18px;
}
.page-hero-content p {
  color: var(--text-muted);
  font-size: 16.5px;
  margin: 0;
}

/* ---------- Homepage teasers ---------- */
.teasers {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.teaser-card {
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 32px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.teaser-eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-bright);
}
.teaser-card h3 { margin: 0; font-size: 21px; }
.teaser-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; flex: 1; }
.teaser-link { color: var(--green-bright); font-size: 14px; font-weight: 700; }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  background: var(--black-soft);
  overflow: hidden;
  padding: 22px 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-left 30s linear infinite;
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.dot-sep { color: var(--green-dim); }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Stats / value props ---------- */
.stats {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 70px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 30px 26px;
}
.stat-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(126, 211, 33, 0.08);
  border: 1px solid var(--green-dim);
  border-radius: 10px;
  color: var(--green-bright);
  padding: 8px;
  margin-bottom: 18px;
}
.stat-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--green-bright);
  margin: 0 0 8px;
}
.stat-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* ---------- Sections shared ---------- */
.services, .process {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 24px;
  position: relative;
}
.services h2, .process h2, .cta-section h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 14px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 620px;
  margin: 0 0 50px;
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 220px;
  font-weight: 800;
  color: rgba(126, 211, 33, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: 'Courier New', monospace;
}

/* ---------- Shared card texture (services / process / results / teasers) ---------- */
.service-card,
.process-list li,
.stat-card,
.teaser-card {
  position: relative;
  background-color: var(--panel);
  background-image:
    repeating-linear-gradient(135deg, rgba(126, 211, 33, 0.04) 0px, rgba(126, 211, 33, 0.04) 1px, transparent 1px, transparent 10px),
    radial-gradient(circle at 100% 0%, rgba(126, 211, 33, 0.05), transparent 60%);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service-card::before, .service-card::after,
.process-list li::before, .process-list li::after,
.stat-card::before, .stat-card::after,
.teaser-card::before, .teaser-card::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--green-bright);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.service-card::before, .process-list li::before, .stat-card::before, .teaser-card::before {
  top: 8px; left: 8px;
  border-right: none; border-bottom: none;
}
.service-card::after, .process-list li::after, .stat-card::after, .teaser-card::after {
  bottom: 8px; right: 8px;
  border-left: none; border-top: none;
}
.service-card:hover, .process-list li:hover, .stat-card:hover, .teaser-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-dim);
}
.service-card:hover::before, .service-card:hover::after,
.process-list li:hover::before, .process-list li:hover::after,
.stat-card:hover::before, .stat-card:hover::after,
.teaser-card:hover::before, .teaser-card:hover::after {
  opacity: 0.7;
}

/* ---------- Services ---------- */
.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 28px;
}
.service-icon {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(126, 211, 33, 0.08);
  border: 1px solid var(--green-dim);
  border-radius: 10px;
  color: var(--green-bright);
  padding: 9px;
  margin-bottom: 18px;
}
.service-card h3 { margin: 0 0 10px; font-size: 18px; }
.service-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* ---------- Process ---------- */
.process-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.process-list li {
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 28px;
}
.process-num {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  font-weight: 800;
  color: var(--green-bright);
  margin-bottom: 10px;
}
.process-list h3 { margin: 0 0 8px; font-size: 18px; }
.process-list p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* ---------- Pricing ---------- */
.pricing {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px 100px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 36px 30px;
}
.pricing-card.featured {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 1px var(--green-bright), 0 30px 60px rgba(126, 211, 33, 0.12);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-bright);
  color: #06120a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}
.pricing-name {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-bright);
  margin: 0 0 14px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}
.pricing-price .amount {
  font-size: 40px;
  font-weight: 800;
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
}
.pricing-price .period {
  color: var(--text-muted);
  font-size: 14px;
}
.pricing-card p.pricing-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0 0 26px;
}
.pricing-features {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
  flex: 1;
}
.pricing-features li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 14.5px;
}
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-bright);
  font-weight: 800;
}
.pricing-card .btn { justify-content: center; width: 100%; }

/* ---------- Contact form ---------- */
.contact-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px 100px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background-color: var(--panel);
  background-image:
    repeating-linear-gradient(135deg, rgba(126, 211, 33, 0.04) 0px, rgba(126, 211, 33, 0.04) 1px, transparent 1px, transparent 10px);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 36px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row-full { grid-column: 1 / -1; }
.form-row label { font-size: 14px; font-weight: 600; color: var(--text); }
.req { color: var(--green-bright); }
.form-row input,
.form-row select,
.form-row textarea {
  background: #0a0c0a;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(158, 255, 61, 0.15);
}
.form-row-full .btn { align-self: flex-start; }
.form-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-faint);
}
.form-note.success { color: var(--green-bright); }

.contact-alt {
  text-align: center;
  margin-top: 40px;
}
.contact-alt p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 16px;
}

/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 90px 40px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  overflow: hidden;
}
.cta-section > *:not(.watermark) { position: relative; z-index: 1; }
.cta-section p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 34px;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  max-width: var(--max-width);
  margin: 60px auto 0;
  padding: 30px 24px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(300px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-dim), transparent);
}
.site-footer p {
  color: var(--text-faint);
  font-size: 13px;
  margin: 0;
}

/* ---------- Reveal animation (fixed: visible immediately, subtle entrance only) ---------- */
.reveal {
  animation: reveal-in 0.7s ease both;
}
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 63px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(5, 6, 5, 0.98);
    border-bottom: 1px solid var(--panel-border);
    padding: 8px 20px 18px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease, visibility 0.3s;
  }
  .main-nav.nav-open {
    max-height: 420px;
    opacity: 1;
    visibility: visible;
  }
  .nav-link {
    width: 100%;
    padding: 15px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--panel-border);
    justify-content: space-between;
  }
  .nav-item:last-child .nav-link { border-bottom: none; }
  .dropdown { display: none; }
  .chev { display: none; }
  .hero-content h1 { font-size: 42px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .teasers { grid-template-columns: repeat(2, 1fr); }
  .page-hero-content h1 { font-size: 34px; }
  .contact-form { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .header-inner { padding: 12px 16px; }
  .btn-small { padding: 8px 14px; font-size: 13px; }
  .hero { padding: 80px 16px 60px; }
  .hero-content h1 { font-size: 32px; }
  .hero-sub { font-size: 15.5px; }
  .stats { grid-template-columns: 1fr; padding: 50px 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .teasers { grid-template-columns: 1fr; }
  .services, .process { padding: 60px 16px; }
  .cta-section { padding: 60px 20px; margin: 0 16px; border-radius: 18px; }
  .watermark { font-size: 120px; }

  /* The hero photo is landscape; on a tall narrow screen object-fit:cover
     crops it to a very zoomed-in sliver that fights the headline for
     attention. Darken it further so it recedes into a texture instead. */
  .clock-photo-img { filter: brightness(0.4) saturate(0.7) contrast(1.05); animation-name: kenburns-mobile; }
  @keyframes kenburns-mobile {
    0% { transform: scale(1); }
    100% { transform: scale(1.04); }
  }
  /* At this crop the M glyph isn't reliably in frame, so skip the glitch. */
  .clock-photo-glitch { display: none; }
  .hero-vignette {
    background:
      linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.4) 68%, rgba(0,0,0,0.92) 100%),
      radial-gradient(ellipse at 50% 50%, transparent 20%, rgba(0,0,0,0.8) 100%);
  }
}
