/* ============================================================
   Armaweb Technologies — Redesign
   Brand: monochrome foundation + one confident accent — brand lime.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand: monochrome + lime accent (from the Armaweb logo mark) */
  --ink: #0a0a0a;
  --ink-900: #000000;
  --ink-800: #131313;
  --ink-700: #1e1e1e;

  --lime: #d2ff28;
  --lime-600: #a9d400;
  --lime-glow: rgba(210, 255, 40, 0.35);

  --gray-100: #f4f4f2;
  --gray-300: #d4d4d0;
  --gray-500: #9a9a95;
  --gray-600: #737370;
  --gray-700: #4c4c49;

  --glow: rgba(210, 255, 40, 0.28);

  /* Neutrals */
  --paper: #ffffff;
  --paper-2: #f4f4f2;
  --line: #e2e2de;
  --muted: #6b6b67;
  --muted-dark: #a6a6a2;
  --text: #121211;

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(10, 10, 10, 0.3);
  --shadow-invert: 0 18px 44px -18px var(--glow);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  position: relative;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Film-grain overlay — subtle texture across the whole page */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 20;
  pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Scroll progress bar */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--lime); z-index: 300; transition: width 0.1s linear; }

/* Custom cursor (desktop, pointer:fine only — injected by JS) */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%); mix-blend-mode: difference;
}
.cursor-dot { width: 7px; height: 7px; background: #fff; }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid #fff; transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.2s; opacity: 0.85; }
.cursor-ring.is-active { width: 60px; height: 60px; }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

/* ---------- Utilities ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--lime-600); border-radius: 2px; }
.section.dark .eyebrow { color: var(--lime); }
.section.dark .eyebrow::before { background: var(--lime); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.h-xl { font-size: clamp(2.8rem, 7.4vw, 6.1rem); line-height: 0.98; }
.h-lg { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.section.dark .lead { color: var(--muted-dark); }

/* Accent: brand lime text + animated underline sweep */
.accent {
  color: var(--lime-600);
  background-image: linear-gradient(var(--lime-600), var(--lime-600));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 3px;
  transition: background-size 1s var(--ease) 0.25s;
  padding-bottom: 0.05em;
}
.section.dark .accent, .hero .accent, .page-hero .accent {
  color: var(--lime);
  background-image: linear-gradient(var(--lime), var(--lime));
}
[data-reveal].in .accent, [data-split].in .accent { background-size: 100% 3px; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 18px; }

/* Word-mask split-reveal (JS wraps text in .word > .word-inner) */
[data-split] .word { display: inline-block; overflow: hidden; vertical-align: top; }
[data-split] .word-inner { display: inline-block; transform: translateY(112%); transition: transform 0.85s var(--ease); }
[data-split].in .word-inner { transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--ink); box-shadow: var(--shadow-invert); }
.btn-primary:hover { background: #e2ff5c; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero .btn-ghost, .page-hero .btn-ghost, .section.dark .btn-ghost, .cta-band .btn-ghost {
  border-color: rgba(255,255,255,0.3); color: #fff;
}
.hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .section.dark .btn-ghost:hover, .cta-band .btn-ghost:hover {
  background: #fff; color: var(--ink); border-color: #fff;
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.magnetic { transition: transform 0.2s ease-out; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: box-shadow 0.3s;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo .brand-mark { height: 30px; width: auto; }
.nav-logo .brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: -0.02em; color: #fff; line-height: 1; }
.nav-logo .brand-word .accent { color: #fff; background-image: none; padding-bottom: 0; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.96rem;
  color: rgba(255,255,255,0.78); position: relative; padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: #fff; border-radius: 2px; transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }

/* HUD-style live readout in header */
.hud-clock {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.62); white-space: nowrap;
}
.hud-clock .hud-live { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--lime-glow); animation: pulse 2.2s ease-in-out infinite; flex: none; }
.hud-clock time { color: #fff; font-weight: 500; }
@media (max-width: 980px) { .hud-clock { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  padding-block: clamp(70px, 11vw, 130px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 78% 8%, rgba(255,255,255,0.08), transparent 60%),
              radial-gradient(700px 500px at 12% 100%, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 40%, transparent 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-meta {
  position: absolute; top: clamp(70px, 11vw, 130px); right: var(--gutter); z-index: 1;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45); white-space: nowrap;
}
@media (max-width: 760px) { .hero-meta { display: none; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; color: rgba(255,255,255,0.85);
  margin-bottom: 28px; font-family: var(--font-display);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px var(--lime-glow); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { max-width: 17ch; color: #fff; }
.hero-sub { margin-top: 26px; max-width: 54ch; font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: rgba(255,255,255,0.7); }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 36px; max-width: 640px;
}
.hero-stats .num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; color: #fff; }
.hero-stats .num span:last-child { color: var(--lime); }
.hero-stats .lbl { font-size: 0.9rem; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* ---------- HUD capability bar (sits on the hero's base edge) ---------- */
.hud-bar { position: relative; background: var(--ink-900); border-top: 1px solid rgba(255,255,255,0.1); overflow-x: auto; }
.hud-row { display: flex; align-items: stretch; min-width: max-content; }
.hud-seg {
  position: relative; flex: 1 1 0; min-width: 170px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 18px; text-align: center;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.66); border-right: 1px solid rgba(255,255,255,0.08);
}
.hud-seg:last-child { border-right: none; }
.hud-seg::after {
  content: "▲"; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  font-size: 8px; color: var(--lime); background: var(--ink-900); line-height: 1; padding: 3px 0;
}
.hud-seg:last-child::after { content: none; }
.hud-seg .hud-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); flex: none; }

/* ---------- Marquee ticker ---------- */
.marquee { position: relative; overflow: hidden; background: var(--ink-900); padding-block: 20px; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 44px; padding-right: 44px; white-space: nowrap; }
.marquee-track span.word { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2.3vw, 1.7rem); color: #fff; text-transform: uppercase; letter-spacing: -0.01em; }
.marquee-track span.sep { color: var(--lime); font-size: 1rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.svc-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s, background 0.35s;
  position: relative; overflow: hidden;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--ink); background: var(--ink); }
.svc-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: var(--lime); margin-bottom: 22px; transition: background 0.35s, color 0.35s;
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-card:hover .svc-icon { background: var(--lime); color: var(--ink); }
.svc-card h3 { font-size: 1.28rem; margin-bottom: 10px; transition: color 0.35s; }
.svc-card:hover h3 { color: #fff; }
.svc-card p { color: var(--muted); font-size: 0.98rem; transition: color 0.35s; }
.svc-card:hover p { color: rgba(255,255,255,0.72); }
.svc-num { position: absolute; top: 24px; right: 28px; font-family: var(--font-display); font-weight: 700; color: var(--line); font-size: 1.1rem; transition: color 0.35s; }
.svc-card:hover .svc-num { color: rgba(210,255,40,0.4); }

/* ---------- Pillars (why us) ---------- */
.section.dark { background: var(--ink); }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.pillar {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 30px;
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.pillar:hover { border-color: var(--lime); transform: translateY(-4px); background: #fff; }
.pillar .p-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--lime); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; transition: background 0.3s, color 0.3s; }
.pillar .p-icon svg { width: 24px; height: 24px; }
.pillar:hover .p-icon { background: var(--ink); color: var(--lime); }
.pillar h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; transition: color 0.3s; }
.pillar p { color: var(--muted-dark); font-size: 0.96rem; transition: color 0.3s; }
.pillar:hover h3 { color: var(--ink); }
.pillar:hover p { color: var(--muted); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: var(--paper-2); border: 1px solid var(--line); transition: border-color 0.3s, background 0.3s;
}
.step:hover { border-color: var(--ink); }
.step .step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  color: var(--ink); background: var(--lime); width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 20px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.work-card {
  display: block; border-radius: var(--radius); overflow: hidden; background: var(--ink); position: relative;
  border: 1px solid rgba(255,255,255,0.08); transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-invert); border-color: rgba(210,255,40,0.5); }
.work-thumb.ph { display: grid; place-items: center; background: radial-gradient(120% 120% at 30% 20%, var(--ink-700), var(--ink-900)); position: relative; }
.work-thumb.ph::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 40px 40px; }
.work-thumb.ph .ph-mark { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; letter-spacing: -0.03em; color: var(--lime); }
.work-visit { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--lime); }
.work-visit .arrow { transition: transform 0.3s var(--ease); }
.work-card:hover .work-visit .arrow { transform: translate(3px, -3px); }
.work-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--ink-800); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform 0.6s var(--ease), filter 0.6s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.06); filter: grayscale(0) contrast(1.05); }
.work-body { padding: 22px 24px 26px; }
.work-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.work-tags span { font-size: 0.74rem; font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--lime); border: 1px solid rgba(210,255,40,0.3); padding: 4px 10px; border-radius: 999px; transition: border-color 0.3s; }
.work-card:hover .work-tags span { border-color: rgba(210,255,40,0.65); }
.work-body h3 { color: #fff; font-size: 1.3rem; }
.work-body p { color: var(--muted-dark); font-size: 0.94rem; margin-top: 6px; }

/* ---------- Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.tst-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.tst-stars { color: var(--lime-600); font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 16px; }
.tst-quote { font-size: 1.12rem; color: var(--ink); font-family: var(--font-display); font-weight: 500; line-height: 1.45; }
.tst-author { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.tst-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.tst-author .who { font-family: var(--font-display); font-weight: 600; }
.tst-author .role { font-size: 0.86rem; color: var(--muted); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s; background: var(--paper); }
.post-card:hover { transform: translateY(-4px); border-color: var(--ink); background: var(--ink); }
.post-meta { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; transition: color 0.3s; }
.post-card:hover .post-meta { color: var(--gray-500); }
.post-card h3 { font-size: 1.22rem; line-height: 1.25; transition: color 0.3s; }
.post-card:hover h3 { color: #fff; }
.post-card .read { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--ink); transition: color 0.3s; }
.post-card:hover .read { color: #fff; }
.post-card:hover .read .arrow { transform: translateX(4px); }
.post-card .read .arrow { transition: transform 0.3s var(--ease); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--ink); color: #fff; border-radius: clamp(20px, 4vw, 34px); padding: clamp(44px, 7vw, 80px); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 20%, rgba(210,255,40,0.22), transparent 60%); }
.cta-band .inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,0.68); margin-top: 12px; max-width: 40ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,0.6); padding-top: clamp(56px, 8vw, 84px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 54px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .brand-lockup { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.footer-brand .brand-mark { height: 30px; width: auto; }
.footer-brand .brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: -0.02em; color: #fff; line-height: 1; }
.footer-brand .brand-word .accent { color: #fff; background-image: none; padding-bottom: 0; }
.footer-brand p { max-width: 32ch; font-size: 0.95rem; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); display: grid; place-items: center; transition: 0.25s; color: rgba(255,255,255,0.8); }
.footer-social a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--lime); }
.footer-contact a { display: block; margin-bottom: 12px; font-size: 0.95rem; }
.footer-contact .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); display: block; margin-bottom: 2px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px; font-size: 0.86rem; }
.footer-bottom a:hover { color: var(--lime); }
.footer-time { font-variant-numeric: tabular-nums; color: rgba(255,255,255,0.45); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding-block: clamp(70px, 10vw, 120px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 80% 0%, rgba(255,255,255,0.08), transparent 60%); }
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 40%, transparent 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.crumb { font-family: var(--font-display); font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.crumb a:hover { color: var(--lime); }
.page-hero h1 { max-width: 18ch; color: #fff; }
.page-hero p { margin-top: 20px; color: rgba(255,255,255,0.7); max-width: 56ch; font-size: 1.1rem; }

/* ---------- About specifics ---------- */
.about-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.about-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--ink); aspect-ratio: 4/5; }
.about-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.6s var(--ease); }
.about-media:hover img { filter: grayscale(0) contrast(1.05); }
.value-list { margin-top: 26px; display: grid; gap: 14px; }
.value-list li { display: flex; gap: 14px; align-items: flex-start; }
.value-list .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 0.8rem; margin-top: 2px; }
.value-list strong { font-family: var(--font-display); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.team-card { text-align: center; padding: 34px 24px; border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.3s var(--ease), box-shadow 0.3s; background: var(--paper); }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: #fff; background: var(--ink); border: 3px solid var(--gray-300); }
.team-photo { width: 122px; height: 122px; border-radius: 50%; margin: 0 auto 22px; overflow: hidden; border: 3px solid var(--lime); box-shadow: 0 12px 28px -10px rgba(0,0,0,0.5); background: var(--paper-2); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; filter: grayscale(1) contrast(1.08); transition: filter 0.5s var(--ease); }
.team-card:hover .team-photo img { filter: grayscale(0) contrast(1.05); }
.team-card h3 { font-size: 1.2rem; }
.section.dark .team-card h3, .team-card h3 { color: var(--ink); }
.team-card .team-role { color: var(--muted); font-size: 0.9rem; margin-top: 6px; font-family: var(--font-display); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s; background: var(--paper); }
.contact-card:hover { border-color: var(--ink); transform: translateX(4px); }
.contact-card .ci { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--lime); display: grid; place-items: center; }
.contact-card .ci svg { width: 22px; height: 22px; }
.contact-card .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.contact-card .val { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); word-break: break-word; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: var(--lime-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; color: var(--text); background: var(--paper-2); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(210,255,40,0.28);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.form-success {
  display: none; margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: rgba(210,255,40,0.14); border: 1px solid var(--lime-600); color: var(--ink); font-weight: 500;
}
.form-success.show { display: block; }
.form-error {
  display: none; margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(220, 38, 38, 0.08); border: 1px solid rgba(220, 38, 38, 0.5); color: #b91c1c; font-weight: 500; font-size: 0.94rem;
}
.form-error.show { display: block; }

/* Choice chips (quote page) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: 0.92rem;
  transition: 0.2s; user-select: none;
}
.chip input:checked + span { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.chip span:hover { border-color: var(--ink); }

/* FAQ */
.faq { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.faq-q .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: 0.3s; font-size: 1.1rem; }
.faq-item.open .faq-q .plus { background: var(--lime); border-color: var(--lime); color: var(--ink); transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); color: var(--muted); }
.faq-a p { padding-bottom: 24px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .about-split { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 16/10; max-height: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn:not(.nav-toggle) { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: flex-start;
    background: var(--ink); padding: 24px var(--gutter); gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-140%); transition: transform 0.4s var(--ease); z-index: 99;
  }
  .nav-links.open { display: flex; transform: translateY(0); }
  .nav-links a { width: 100%; padding: 12px 0; font-size: 1.1rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 0; }
  .hero-stats > div { padding-block: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .field-row { grid-template-columns: 1fr; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; }
  .cursor-dot, .cursor-ring { display: none; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* No custom cursor on touch/coarse pointers */
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-split] .word-inner { transform: none; }
  .marquee-track { animation: none; }
}
