:root {
  --navy: #0a1a2f;
  --navy-2: #081525;
  --teal: #62c5b4;
  --gold: #c9a24b;
  --ink: #e9f1f0;
  --muted: #9fb3b8;
  --soft: #c8d6d4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy);
  color: var(--ink);
  line-height: 1.6;
}
h1, h2, h3, .m-punch { font-family: 'Space Grotesk', 'Inter', sans-serif; }
a { color: var(--teal); }

/* Sticky nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  padding: 10px 20px;
  background: rgba(8,21,37,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(98,197,180,0.15);
  box-shadow: 0 8px 24px rgba(4,12,22,0.35);
}
.nav-logo img { height: 30px; width: auto; display: block; }
.nav-links { display: none; gap: 22px; margin-left: auto; }
.nav-links a {
  color: var(--soft); text-decoration: none; font-size: 14px; font-weight: 500;
  position: relative; padding: 4px 0; transition: color .2s ease;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--teal); border-radius: 2px; transition: width .25s ease;
}
.nav-links a:not(.btn):hover { color: var(--teal); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav .btn-small { margin-left: auto; padding: 9px 18px; font-size: 14px; }
.nav-cta-mobile { margin-left: auto; padding: 8px 16px; font-size: 13px; }
@media (min-width: 720px) {
  .nav { padding: 12px 32px; }
  .nav-links { display: flex; }
  .nav .btn-small { margin-left: 0; }
  .nav .nav-cta-mobile { display: none !important; }
}

/* Anchors clear the sticky nav */
section[id], header[id] { scroll-margin-top: 78px; }

/* Back to top */
.to-top {
  position: fixed; left: 18px; bottom: 18px; z-index: 60;
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(13,33,54,0.9); color: var(--teal);
  border: 1px solid rgba(98,197,180,0.35);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, border-color .2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { border-color: var(--teal); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 8px;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, #d9b45f 0%, var(--gold) 100%); color: #10233a; box-shadow: 0 6px 18px rgba(201,162,75,0.28); }
.btn-gold:hover { box-shadow: 0 8px 22px rgba(201,162,75,0.38); }
.btn-teal { background: var(--teal); color: #10233a; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(233,241,240,0.35); }

/* Hero */
.hero {
  text-align: center;
  padding: 72px 24px 72px;
  background:
    linear-gradient(rgba(98,197,180,0.05) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(98,197,180,0.05) 1px, transparent 1px) 0 0 / 56px 100%,
    linear-gradient(160deg, #0d2136 0%, var(--navy-2) 100%);
}
.hero-logo { width: min(280px, 64%); height: auto; }
.hero h1 { margin: 32px 0 0; font-size: clamp(28px, 5vw, 46px); font-weight: 700; color: #fff; }
.hero-sub { margin: 12px auto 0; max-width: 540px; color: var(--teal); font-size: 17px; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Manifesto */
.manifesto {
  text-align: center; padding: 64px 24px;
  border-top: 1px solid rgba(201,162,75,0.35);
  background: var(--navy-2);
}
.m-line { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.m-punch { margin: 16px 0 0; font-size: clamp(24px, 4vw, 34px); font-weight: 700; color: var(--teal); }
.m-body { margin: 24px auto 0; max-width: 620px; color: var(--soft); font-size: 15px; }

/* Sections */
.section { max-width: 920px; margin: 0 auto; padding: 76px 24px 12px; }
.eyebrow {
  margin: 0 0 8px; font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.section h2 { font-size: clamp(25px, 3.6vw, 34px); letter-spacing: -0.01em; color: #fff; margin: 0 0 26px; }
.section h2 + p { max-width: 680px; }
.section p { color: var(--soft); font-size: 15.5px; }
.fine { font-size: 13px; color: var(--muted); }

/* Accessible focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px;
}

/* Service cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: svc; }
.cards li {
  counter-increment: svc; background: rgba(98,197,180,0.06);
  border: 1px solid rgba(98,197,180,0.16); border-radius: 12px; padding: 20px 22px 20px 62px; position: relative;
}
.cards li::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute; left: 20px; top: 20px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--teal); font-size: 15px;
}
.cards h3, .worklist h3, .note h3 { margin: 0 0 6px; font-size: 17px; color: #fff; }
.cards p, .worklist p, .note p { margin: 0; font-size: 14px; color: var(--soft); }

.note {
  margin-top: 20px; padding: 20px 22px; border-radius: 12px;
  background: rgba(201,162,75,0.08); border: 1px solid rgba(201,162,75,0.3);
}

/* Steps + models */
.steps { margin: 0 0 24px; padding-left: 22px; color: var(--soft); }
.steps li { margin-bottom: 12px; }
.steps strong { color: #fff; }
.models { display: grid; gap: 12px; grid-template-columns: 1fr; }
.models div {
  border: 1px solid rgba(98,197,180,0.16); border-radius: 12px; padding: 16px 18px;
  font-size: 14px; color: var(--soft);
}
.models span { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--teal); margin-bottom: 4px; }

/* Work */
.worklist { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.worklist li { border-left: 3px solid var(--teal); padding: 4px 0 4px 16px; }

/* CTA panel */
.cta-panel {
  text-align: center; padding: 48px 24px; border-radius: 16px;
  background:
    linear-gradient(rgba(98,197,180,0.05) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(98,197,180,0.05) 1px, transparent 1px) 0 0 / 48px 100%,
    linear-gradient(160deg, #0d2136 0%, var(--navy-2) 100%);
  border: 1px solid rgba(98,197,180,0.2);
}
.cta-panel h2 { margin-bottom: 12px; }
.cta-panel p { max-width: 520px; margin: 0 auto 24px; }

/* Brief form */
.brief-top { margin: 6px 0 18px; }
#brief-form { display: grid; gap: 18px; margin-top: 22px; padding-top: 26px; border-top: 1px solid rgba(233,241,240,0.08); }
#brief-form label { display: grid; gap: 8px; font-size: 14px; color: var(--soft); }
#brief-form input, #brief-form textarea {
  background: rgba(233,241,240,0.05); border: 1px solid rgba(233,241,240,0.2);
  border-radius: 8px; padding: 12px 14px; color: var(--ink); font: inherit; font-size: 15px;
}
#brief-form input:focus, #brief-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
#brief-form fieldset { border: 0; margin: 0; padding: 0; }
#brief-form legend { font-size: 14px; color: var(--soft); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips button {
  font: inherit; font-size: 14px; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid rgba(233,241,240,0.3);
}
.chips button.on { background: var(--teal); border-color: var(--teal); color: #10233a; font-weight: 600; }
#brief-send { justify-self: start; }

/* Contact */
.contactlist { list-style: none; margin: 0; padding: 0; }
.contactlist li { padding: 14px 0; border-bottom: 1px solid rgba(233,241,240,0.1); color: var(--soft); font-size: 15px; }
.contactlist span { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: #fff; margin-bottom: 2px; }
.contactlist a { text-decoration: none; transition: color .2s ease; }
.contactlist a:hover { color: var(--gold); }

/* Footer */
.footer {
  margin-top: 72px; text-align: center; padding: 44px 24px 40px;
  background: linear-gradient(180deg, #0d2136 0%, var(--navy-2) 100%);
  border-top: 1px solid rgba(98,197,180,0.15);
}
.footer-logo { width: 110px; height: auto; opacity: 0.9; }
.footer p { margin: 14px 0 0; font-size: 11px; letter-spacing: 0.18em; color: var(--teal); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.wa-float:hover { transform: scale(1.05); }

@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .models { grid-template-columns: 1fr 1fr; }
}

/* ===== v2: nav menu, new sections, animations ===== */

/* Mobile nav */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: flex; flex-direction: column; gap: 5px; margin-left: 0; cursor: pointer; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav .btn-small.nav-cta { margin: 10px 0 4px; }
.nav-links {
  position: absolute; top: 100%; left: 0; right: 0;
  display: none; flex-direction: column; gap: 4px;
  background: rgba(8,21,37,0.98); border-bottom: 1px solid rgba(98,197,180,0.15);
  padding: 14px 20px 18px; margin-left: 0;
}
.nav-links a { padding: 10px 0; border-bottom: 1px solid rgba(233,241,240,0.07); }
.nav-links a:last-child { border-bottom: 0; }
.nav-toggle:checked ~ .nav-links { display: flex; }
.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 720px) {
  .nav-burger, .nav-toggle { display: none; }
  .nav-links {
    position: static; display: flex; flex-direction: row; align-items: center;
    gap: 22px; margin-left: auto; padding: 0; background: none; border: 0;
  }
  .nav-links a { padding: 0; border: 0; }
  .nav .btn-small.nav-cta { margin: 0 0 0 8px; padding: 9px 18px; }
}

/* Hero entrance animation */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise .7s ease both; }
.r1 { animation-delay: .05s; }
.r2 { animation-delay: .18s; }
.r3 { animation-delay: .32s; }
.r4 { animation-delay: .46s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .rise, .reveal { animation: none; transition: none; opacity: 1; transform: none; }
}

/* Vision / mission / values */
.vmv { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 28px; }
.vmv-card {
  border: 1px solid rgba(201,162,75,0.3); border-radius: 12px; padding: 22px;
  background: rgba(201,162,75,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.vmv-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.35); }
.vmv-card h3 { margin: 0 0 8px; color: var(--gold); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.vmv-card p { margin: 0; font-size: 15px; }
.values-title { margin: 8px 0 14px; color: #fff; font-size: 19px; }
.values { margin: 0; padding-left: 22px; color: var(--soft); }
.values li { margin-bottom: 12px; font-size: 15px; }
.values strong { color: #fff; }

/* Team */
.team-lead {
  border: 1px solid rgba(98,197,180,0.16); border-radius: 12px; padding: 22px;
  background: rgba(98,197,180,0.06); margin-bottom: 16px;
}
.team-lead h3 { margin: 0 0 6px; color: #fff; font-size: 17px; }
.team-lead p { margin: 0; font-size: 14px; }

/* Projects */
.projects { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 16px; }
.project-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid rgba(98,197,180,0.16); border-radius: 12px; padding: 22px;
  background: rgba(98,197,180,0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); border-color: rgba(98,197,180,0.4); }
.project-card h3 { margin: 0 0 4px; font-size: 17px; color: #fff; }
.project-card p { margin: 0; font-size: 14px; color: var(--soft); }
.project-card .tag {
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px;
}

/* Clients */
.client-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.client-chip {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; color: var(--ink);
  border: 1px solid rgba(233,241,240,0.25); border-radius: 999px; padding: 10px 20px;
  transition: border-color .2s ease, color .2s ease;
}
.client-chip:hover { border-color: var(--gold); color: var(--gold); }

/* Service card hover */
.cards li { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.cards li:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.35); border-color: rgba(98,197,180,0.4); }

/* Gold button shimmer */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: left .5s ease;
}
.btn-gold:hover::after { left: 130%; }

/* WhatsApp float pulse */
@keyframes wa-pulse {
  0% { box-shadow: 0 6px 18px rgba(0,0,0,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 6px 18px rgba(0,0,0,0.4), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 18px rgba(0,0,0,0.4), 0 0 0 0 rgba(37,211,102,0); }
}
.wa-float { animation: wa-pulse 2.6s infinite; transition: transform .2s ease; }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

@media (min-width: 720px) {
  .vmv { grid-template-columns: 1fr 1fr; }
  .projects { grid-template-columns: 1fr 1fr 1fr; }
}

/* Clients logo marquee */
.logo-marquee {
  overflow: hidden; margin-bottom: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track { display: flex; gap: 14px; width: max-content; animation: logo-marquee 42s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-tile {
  flex: 0 0 auto; width: 210px; height: 92px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(233,241,240,0.14); border-radius: 12px;
  background: rgba(233,241,240,0.03);
}
.logo-tile img { max-width: 74%; max-height: 62%; object-fit: contain; }
.logo-name {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px;
  color: var(--soft); text-align: center; padding: 0 14px;
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; width: auto; flex-wrap: wrap; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; overflow: visible; }
}

/* Logo tiles with image */
.logo-tile--img { background: #f8f3ec; border-color: rgba(0,0,0,0.05); }
.logo-tile--img img { max-width: 82%; max-height: 78%; }
.logo-tile--img-white { background: #ffffff; border-color: rgba(0,0,0,0.06); }
.logo-tile--img-white img { max-width: 82%; max-height: 78%; }
.logo-tile--img-dark { background: #050505; border-color: rgba(255,255,255,0.08); }
.logo-tile--img-dark img { max-width: 82%; max-height: 78%; }
