/* Lunigraph Studio — site styles
   Palette and type are taken from the studio's own social posts:
   near-black, deep purple glow, tall condensed headlines, pill shapes. */

:root {
  --bg: #07030d;
  --bg-2: #0d0618;
  --card: #120a1f;
  --line: rgba(170, 90, 255, .24);
  --line-2: rgba(255, 255, 255, .09);
  --text: #f5f1fb;
  --muted: #b8accb;
  --accent: #a34cf7;       /* purple for display text on dark (4.7:1) */
  --accent-soft: #d2b0ff;  /* light purple for small labels */
  --brand: #7a10c9;        /* purple fills */
  --brand-2: #9333ea;
  --wa: #25d366;
  --radius: 22px;
  --maxw: 1180px;
  --font-display: 'Bebas Neue', 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(122, 16, 201, .38), transparent 62%),
    radial-gradient(900px 520px at -8% 26%, rgba(122, 16, 201, .2), transparent 62%),
    radial-gradient(900px 600px at 70% 110%, rgba(122, 16, 201, .22), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: 10px;
}
.skip:focus { top: 1rem; }

/* ---------- Type ---------- */
.display, h1, h2, .num, .ticker-track span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .015em; }
h1 { font-size: clamp(3.6rem, 10.5vw, 7.6rem); line-height: .9; }
h2 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: .95; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.hl, h1 em, h2 em { color: var(--accent); font-style: normal; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-soft); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--accent); border-radius: 2px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, #9333ea, #6d0eb5); color: #fff;
  box-shadow: 0 10px 34px -10px rgba(147, 51, 234, .9);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(147, 51, 234, 1); }
.btn-ghost { border-color: var(--line); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(163, 76, 247, .12); }
.btn-sm { padding: .62rem 1.15rem; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 3, 13, .74);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-2);
}
.bar { display: flex; align-items: center; gap: 1.5rem; min-height: 86px; }
.brand { display: block; flex: none; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; gap: .35rem; margin-left: auto; }
.nav a {
  text-decoration: none; padding: .55rem 1rem; border-radius: 999px;
  color: var(--muted); font-weight: 500; font-size: .98rem; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav a[aria-current="page"] { color: #fff; background: rgba(163, 76, 247, .22); }
.burger {
  display: none; width: 46px; height: 46px; margin-left: auto; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04); cursor: pointer; position: relative;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 12px; width: 20px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .25s, top .25s, opacity .2s;
}
.burger span { top: 22px; }
.burger span::before { top: -6px; left: 0; }
.burger span::after { top: 6px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 span { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2rem 0 1.75rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--muted); font-size: .95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta svg { width: 1.1rem; height: 1.1rem; color: var(--accent-soft); }

.hero-art { position: relative; width: min(100%, 520px); aspect-ratio: 1 / .96; margin-inline: auto; }
.hero-art::before {
  content: ""; position: absolute; inset: 8% 6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 51, 234, .55), transparent 68%); filter: blur(30px);
}
.hero-art img {
  position: absolute; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 30px 70px -22px rgba(0, 0, 0, .9), 0 0 60px -14px rgba(147, 51, 234, .55);
}
.art-a { width: 54%; left: 23%; top: 5%; z-index: 3; animation: float 7s ease-in-out infinite; }
.art-b { width: 46%; left: 0; top: 17%; transform: rotate(-9deg); z-index: 1; }
.art-c { width: 46%; right: 0; top: 24%; transform: rotate(8deg); z-index: 2; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line-2); background: rgba(122, 16, 201, .1); padding: .9rem 0; }
.ticker-track { display: flex; gap: 2.2rem; width: max-content; animation: tick 46s linear infinite; }
.ticker-track span { font-size: 1.7rem; line-height: 1; white-space: nowrap; color: var(--text); display: inline-flex; align-items: center; gap: 2.2rem; }
.ticker-track span::after { content: "✦"; color: var(--accent); font-family: var(--font-body); font-size: 1rem; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3.25rem); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 1.1rem auto 0; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 2rem; height: 2px; background: var(--accent); border-radius: 2px; }

/* What we do */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.card {
  grid-column: span 2; position: relative; overflow: hidden;
  padding: 2rem 1.75rem 1.75rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--line-2); transition: transform .25s, border-color .25s, background .25s;
}
.card:nth-child(n+4) { grid-column: span 3; }
.card:hover { transform: translateY(-4px); border-color: var(--line); }
.card .num { position: absolute; right: 1.25rem; top: .4rem; font-size: 4.6rem; line-height: 1; color: rgba(163, 76, 247, .22); }
.card h3 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; max-width: 12em; }
.card p { color: var(--muted); font-size: 1rem; margin-bottom: 1.25rem; }
.more { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--accent-soft); text-decoration: none; }
.more svg { width: 1.1em; height: 1.1em; transition: transform .2s; }
.more:hover svg { transform: translateX(4px); }

/* Why */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.why-grid h2 { margin-bottom: 1.25rem; }
.why-list { display: grid; gap: .9rem; }
.why-list li {
  display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.25rem 1.4rem;
  border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2);
}
.tick { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: rgba(163, 76, 247, .2); color: var(--accent-soft); }
.tick svg { width: 1.2rem; height: 1.2rem; }
.why-list h3 { font-size: 1.1rem; margin-bottom: .15rem; }
.why-list p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2rem; }
.chip {
  padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03); color: var(--muted); font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip[aria-pressed="true"] { background: linear-gradient(135deg, #9333ea, #6d0eb5); color: #fff; border-color: transparent; }
.gallery { column-count: 3; column-gap: 1.1rem; }
.tile { display: block; break-inside: avoid; margin: 0 0 1.1rem; text-decoration: none; animation: pop .45s ease both; }
.tile[hidden] { display: none; }
.tile .frame {
  display: block; position: relative; overflow: hidden; border-radius: 18px;
  border: 1px solid var(--line-2); background: var(--card);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.tile img { width: 100%; transition: transform .5s; }
.tile .frame::after {
  content: ""; position: absolute; right: .8rem; top: .8rem; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: rgba(7, 3, 13, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
  opacity: 0; transition: opacity .25s;
}
.tile:hover .frame, .tile:focus-visible .frame { border-color: var(--accent); box-shadow: 0 20px 50px -20px rgba(147, 51, 234, .8); transform: translateY(-3px); }
.tile:hover .frame::after, .tile:focus-visible .frame::after { opacity: 1; }
.tile:hover img { transform: scale(1.03); }
.cap { display: block; padding: .7rem .25rem 0; font-size: .9rem; line-height: 1.35; color: var(--muted); }
.cap b { display: block; color: var(--text); font-weight: 600; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.note { text-align: center; color: var(--muted); font-size: .85rem; margin: 2rem auto 0; max-width: 40rem; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(4, 1, 8, .94); padding: 1rem; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; text-align: center; max-width: 100%; }
.lb img { max-width: min(92vw, 1000px); max-height: calc(100vh - 8.5rem); width: auto; height: auto; margin-inline: auto; border-radius: 14px; box-shadow: 0 30px 90px -20px rgba(147, 51, 234, .6); }
.lb figcaption { margin-top: 1rem; color: var(--muted); font-size: .98rem; }
.lb figcaption b { color: var(--text); }
.lb button {
  position: absolute; width: 3.1rem; height: 3.1rem; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .07); cursor: pointer; display: grid; place-items: center; transition: background .2s;
}
.lb button:hover { background: rgba(163, 76, 247, .4); }
.lb button svg { width: 1.35rem; height: 1.35rem; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; text-align: center; padding: clamp(3rem, 7vw, 5.5rem) 1.5rem;
  border-radius: 34px; border: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(147, 51, 234, .55), transparent 70%),
    radial-gradient(600px 300px at 90% 100%, rgba(109, 14, 181, .6), transparent 70%),
    #0e0719;
}
.cta-band h2 { max-width: 14em; margin: 0 auto 1.5rem; }
.cta-band p { color: var(--muted); max-width: 32rem; margin: 0 auto 2rem; }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); text-align: center; }
.page-hero h1 { font-size: clamp(3.4rem, 9vw, 6.4rem); margin-bottom: 1.25rem; }
.page-hero .lede { margin-inline: auto; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.svc {
  display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--line-2); transition: transform .25s, border-color .25s;
}
.svc:hover { transform: translateY(-4px); border-color: var(--line); }
.ico { width: 3.2rem; height: 3.2rem; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.25rem; background: rgba(163, 76, 247, .18); color: var(--accent-soft); border: 1px solid var(--line); }
.ico svg { width: 1.5rem; height: 1.5rem; }
.svc h3 { margin-bottom: .5rem; }
.svc p { color: var(--muted); font-size: 1rem; flex: 1; }
.svc .more { margin-top: .5rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.step { position: relative; padding: 1.75rem 1.5rem; border-radius: var(--radius); border: 1px dashed var(--line); background: rgba(255, 255, 255, .02); }
.step .num { font-size: 3.4rem; line-height: 1; color: var(--accent); }
.step h3 { margin: .5rem 0 .4rem; }
.step p { margin: 0; color: var(--muted); font-size: .98rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-grid h2 { margin-bottom: 1.25rem; }
.about-grid p { color: var(--muted); }
.logo-badge { width: min(100%, 400px); margin-inline: auto; aspect-ratio: 1; border-radius: 36px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 0 90px -20px rgba(147, 51, 234, .75); }
.logo-badge img { width: 100%; height: 100%; object-fit: cover; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 1.75rem; justify-content: center; }
.member { text-align: center; }
.member .photo { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: 0 30px 70px -30px rgba(147, 51, 234, .7); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.member h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; letter-spacing: .02em; margin-top: 1.2rem; font-weight: 400; }
.member p { color: var(--accent-soft); margin: .1rem 0 0; font-weight: 500; }
.sectors { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1.5rem; }
.sectors span { padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.c-card { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); text-decoration: none; transition: transform .25s, border-color .25s; }
a.c-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.c-card .ico { margin: 0; flex: none; }
.c-card small { display: block; color: var(--accent-soft); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; margin-bottom: .2rem; }
.c-card strong { display: block; font-size: 1.3rem; line-height: 1.25; word-break: break-word; }
.c-card span.sub { display: block; color: var(--muted); font-size: .95rem; margin-top: .25rem; }
.c-card.primary { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(147, 51, 234, .4), rgba(109, 14, 181, .18)); border-color: var(--line); }
.contact-grid > :last-child:nth-child(even) { grid-column: 1 / -1; }
.c-card.primary strong { font-size: clamp(1.8rem, 5vw, 2.8rem); font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.5rem; }
.chips a { padding: .6rem 1.15rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s, border-color .2s; }
.chips a:hover { background: rgba(163, 76, 247, .2); border-color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-2); background: rgba(7, 3, 13, .7); padding: 3.5rem 0 1.5rem; }
.f-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.2fr; gap: 2.5rem; }
.f-grid img { height: 66px; width: auto; margin-bottom: 1rem; }
.f-grid h4 { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 1rem; font-family: var(--font-body); }
.f-grid li { margin-bottom: .55rem; }
.f-grid a { color: var(--muted); text-decoration: none; transition: color .2s; }
.f-grid a:hover { color: #fff; }
.f-grid p { color: var(--muted); font-size: .98rem; }
.f-tag { font-style: italic; max-width: 20rem; }
.social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.social a { width: 2.7rem; height: 2.7rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); transition: background .2s, border-color .2s; }
.social a:hover { background: var(--brand); border-color: transparent; color: #fff; }
.social svg { width: 1.2rem; height: 1.2rem; }
.f-contact li { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); }
.f-contact svg { width: 1.15rem; height: 1.15rem; margin-top: .3rem; color: var(--accent-soft); flex: none; }
.f-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; color: var(--muted); font-size: .85rem; }
.f-base p { margin: 0; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; width: 3.7rem; height: 3.7rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; text-decoration: none;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .65), 0 0 0 0 rgba(37, 211, 102, .5);
  animation: ping 3.2s ease-out infinite;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 1.9rem; height: 1.9rem; }
@keyframes ping { 0% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .65), 0 0 0 0 rgba(37, 211, 102, .5); } 70%, 100% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .65), 0 0 0 20px rgba(37, 211, 102, 0); } }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .why-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-art { order: 2; width: min(100%, 440px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card, .card:nth-child(n+4) { grid-column: auto; }
  .card:last-child { grid-column: 1 / -1; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { column-count: 2; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .logo-badge { width: min(100%, 320px); }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .header-cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: .25rem; padding: .75rem 1rem 1.25rem;
    background: rgba(7, 3, 13, .97); border-bottom: 1px solid var(--line-2); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 1rem; font-size: 1.05rem; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand img { height: 52px; }
  .bar { min-height: 72px; }
  .cards, .svc-grid, .steps, .contact-grid { grid-template-columns: 1fr; }
  .card:last-child { grid-column: auto; }
  .team { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .gallery { column-gap: .7rem; }
  .tile { margin-bottom: .8rem; }
  .cap { font-size: .8rem; }
  .f-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .lb-prev { left: .4rem; } .lb-next { right: .4rem; }
  .lb button { width: 2.7rem; height: 2.7rem; }
  .ticker-track span { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .art-a, .wa-float { animation: none; }
  .tile { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
