/* =========================================================================
   OneConnect Pvt Ltd — styles
   1. Tokens            6. Header / nav        11. Process timeline
   2. Reset / base      7. Hero                12. Testimonials
   3. Typography        8. Stats strip         13. CTA band
   4. Layout utils      9. Section heads       14. Contact / forms
   5. Buttons          10. Cards / media       15. Footer
                                               16. Reveal / motion
                                               17. Responsive
   ========================================================================= */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --ink: #0b0b0c;
  --ink-2: #16161a;
  --ink-3: #24242b;
  --paper: #ffffff;
  --paper-2: #f6f7f9;
  --paper-3: #eef0f3;
  --muted: #6b7280;
  --muted-2: #9aa1ad;
  --line: #e6e8ec;
  --line-dark: rgba(255, 255, 255, 0.12);

  --accent: #2563eb;
  --accent-700: #1d4ed8;
  --accent-300: #93b4fb;
  --accent-tint: #eef3ff;

  --container: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  --shadow-sm: 0 1px 2px rgba(11, 11, 12, 0.06), 0 1px 3px rgba(11, 11, 12, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(11, 11, 12, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 11, 12, 0.28);
  --shadow-accent: 0 14px 34px -12px rgba(37, 99, 235, 0.5);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-body);

  --step: clamp(4rem, 9vw, 7.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Reset / base ------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

ul[class] { list-style: none; padding: 0; }

button { font: inherit; color: inherit; cursor: pointer; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* 3. Typography --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem); }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.06rem, 1rem + 0.4vw, 1.3rem);
  color: var(--muted);
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.eyebrow.is-light { color: var(--accent-300); }
.eyebrow.is-light::before { background: var(--accent-300); }

.text-accent {
  background: linear-gradient(100deg, #5b8bf5, #2563eb 35%, #7cc4ff 60%, #2563eb);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: accent-shift 7s linear infinite;
}
@keyframes accent-shift { to { background-position: 220% 0; } }
.text-soft { color: var(--muted-2); font-weight: 500; }

/* 4. Layout utils ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: var(--step); }
.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-dark { background: var(--ink); color: #d7d9df; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-muted { background: var(--paper-2); }

.section-head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 1rem; }
.section-dark .lead { color: #aeb2bd; }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.measure { max-width: 56ch; }
.center { text-align: center; }

/* 5. Buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 0.62rem 1.1rem; font-size: 0.9rem; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }

.btn-primary { --btn-bg: var(--accent); box-shadow: var(--shadow-accent); }
.btn-primary:hover { --btn-bg: var(--accent-700); }

.btn-dark { --btn-bg: var(--ink); box-shadow: var(--shadow-md); }
.btn-dark:hover { --btn-bg: var(--ink-2); }

.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: var(--shadow-md); }
.btn-light:hover { --btn-bg: #f1f2f5; }

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn-ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: var(--line-dark);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.btn-group.is-center { justify-content: center; }
.error-links { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin-top: 2rem; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.error-links a { color: var(--accent-300); }
.error-links a:hover { color: #fff; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
}
.arrow-link svg { transition: transform 0.2s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* 6. Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(11, 11, 12, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-logo { width: 38px; height: 38px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}
.brand-name-accent { color: var(--accent); }
.brand-on-dark .brand-name { color: #fff; }
.brand-wordmark { height: 21px; width: auto; }
/* logo art is solid black; invert it to white on dark surfaces */
.brand-on-dark .brand-logo,
.brand-on-dark .brand-wordmark { filter: brightness(0) invert(1); }

/* WhatsApp floating button */
.wa-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.55);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.wa-fab:hover { transform: translateY(-3px) scale(1.05); }
.wa-fab svg { width: 30px; height: 30px; }

.primary-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 0.4rem; }
.nav-link {
  position: relative;
  padding: 0.55rem 0.8rem;
  font-weight: 500;
  font-size: 0.97rem;
  white-space: nowrap;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav-link:hover { color: var(--accent); background: var(--accent-tint); }
.nav-link.is-active { color: var(--accent); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.2rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-cta-item { margin-left: 0.5rem; }
.nav-extra { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.nav-toggle-box { display: grid; gap: 5px; width: 20px; }
.nav-toggle-bar {
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 7. Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #c9ccd4;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.hero::before {
  /* faint circuit grid */
  content: "";
  position: absolute;
  inset: 0;
  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: 54px 54px;
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 35%, transparent 78%);
}
.hero::after {
  /* accent glow */
  content: "";
  position: absolute;
  width: 720px; height: 720px;
  right: -160px; top: -260px;
  background: radial-gradient(closest-side, rgba(37,99,235,0.5), transparent 70%);
  filter: blur(10px);
  opacity: 0.7;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.fx-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero::before, .hero::after, .page-hero::before { z-index: 0; }
.hero-inner { max-width: 60ch; }
.hero h1 { color: #fff; margin-top: 1.4rem; }
.hero-sub { margin-top: 1.5rem; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: #aeb2bd; max-width: 54ch; }
.hero-actions { margin-top: 2.2rem; }
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.6rem;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #d7d9df;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}
.hero-pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-300);
}

/* page hero (sub-pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #c9ccd4;
  padding-block: clamp(4rem, 8vw, 6.5rem) clamp(3rem, 6vw, 4.5rem);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  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: 54px 54px;
  mask-image: radial-gradient(110% 120% at 85% -10%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(110% 120% at 85% -10%, #000 30%, transparent 75%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-inner { max-width: 60ch; }
.page-hero h1 { color: #fff; margin-top: 1.1rem; }
.page-hero .lead { color: #aeb2bd; margin-top: 1.2rem; }

/* 8. Stats strip -------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.section-dark .stats { background: var(--line-dark); border-color: var(--line-dark); }
.stat {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  text-align: center;
}
.section-dark .stat { background: var(--ink); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.section-dark .stat-num { color: #fff; }
.stat-num .unit { color: var(--accent); }
.stat-label {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.section-dark .stat-label { color: var(--muted-2); }

/* Equipment / assets grid */
.asset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(166px, 1fr)); gap: 0.75rem; margin-top: clamp(2rem, 4vw, 3rem); }
.asset {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.asset:hover { border-color: rgba(124, 196, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.asset-ico {
  flex: none;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.16);
  color: var(--accent-300);
}
.asset-ico svg { width: 22px; height: 22px; }
.asset-name { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; line-height: 1.15; color: #fff; }
.asset-name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.76rem; color: var(--muted-2); }

/* 9. Cards / media ------------------------------------------------------ */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-flush { padding: 0; overflow: hidden; }
.card-flush .media { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.card-body { padding: clamp(1.5rem, 2.5vw, 1.9rem); }

/* Real-estate project cards */
.estate-media { position: relative; }
.estate-status {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.5);
}
.estate-status.is-ready { background: #15803d; }
.estate-status.is-soon { background: var(--accent); }
.estate-brand {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

/* cursor-reactive spotlight */
.card { position: relative; isolation: isolate; --mx: 50%; --my: 50%; }
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(37, 99, 235, 0.13), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-tint);
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); }
.card-list { margin-top: 1.1rem; display: grid; gap: 0.55rem; }
.card-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.card-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.card-foot { margin-top: 1.4rem; }

/* division card (bigger, linked) */
.division-card { display: flex; flex-direction: column; overflow: hidden; cursor: pointer; }

/* gradient accent rule along the top, wiped in on hover */
.division-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, var(--accent), var(--accent-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.division-card:hover::after { transform: scaleX(1); }

/* large ghost index number in the corner */
.division-num {
  position: absolute;
  top: 0.55rem;
  right: 1.3rem;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.8rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(37, 99, 235, 0.12);
  pointer-events: none;
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}
.division-card:hover .division-num { color: rgba(37, 99, 235, 0.24); transform: translateY(-2px); }

/* icon comes alive on hover */
.division-card .card-icon {
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.division-card:hover .card-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-700));
  color: #fff;
  transform: translateY(-3px) rotate(-3deg);
  box-shadow: var(--shadow-accent);
}

.division-card .card-foot { margin-top: auto; padding-top: 1.4rem; }
.division-card:hover .arrow-link svg { transform: translateX(4px); }

/* make the whole card a single click target (stretched link) */
.division-card .arrow-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* feature (compact) */
.feature { padding: 0; border: 0; background: transparent; }
.feature:hover { transform: none; box-shadow: none; }
.feature .card-icon {
  width: 46px; height: 46px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.section-dark .feature .card-icon { background: var(--ink-2); border-color: var(--line-dark); color: var(--accent-300); }
.feature h3 { font-size: 1.18rem; }
.section-dark .feature p { color: #aeb2bd; }

/* media placeholders */
.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(37,99,235,0.18), transparent 55%),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.media::before {
  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: 30px 30px;
  opacity: 0.6;
}
.media[data-label]::after {
  content: attr(data-label);
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
  padding: 0.5rem 0.9rem;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}
img.media { display: block; object-fit: cover; }
.media-wide { aspect-ratio: 16 / 10; }
.media-tall { aspect-ratio: 3 / 4; }
.media-square { aspect-ratio: 1 / 1; }
.media-hero { aspect-ratio: 5 / 4; }

/* split (text + media) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.is-reverse .split-media { order: -1; }
.split-body h2 { margin-bottom: 1rem; }
.split-list { margin-top: 1.6rem; display: grid; gap: 1rem; }
.split-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.split-list .check {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-tint);
  color: var(--accent);
  margin-top: 2px;
}
.section-dark .split-list .check { background: rgba(37,99,235,0.18); color: var(--accent-300); }
.split-list h4 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; }
.split-list p { color: var(--muted); font-size: 0.95rem; margin-top: 0.1rem; }
.section-dark .split-list p { color: #aeb2bd; }

/* 10. Projects ---------------------------------------------------------- */
.project {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  border: 1px solid var(--line);
  background: var(--ink);
}
.project .media { border: 0; border-radius: 0; aspect-ratio: 4 / 3; }
.project-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.4rem;
  background: linear-gradient(to top, rgba(8,8,9,0.92), rgba(8,8,9,0.05));
  color: #fff;
}
.project-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-300);
  margin-bottom: 0.4rem;
}
.project-body h3 { color: #fff; font-size: 1.25rem; }
.project-body p { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin-top: 0.25rem; }
.project.is-feature { grid-row: span 2; }
.project.is-feature .media { aspect-ratio: auto; height: 100%; min-height: 320px; }

/* Gallery — "magic" hover (zoom + sheen sweep + caption + accent ring) */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease);
}
.gallery-item .media { border: 0; border-radius: 0; aspect-ratio: 16 / 11; transition: transform 0.7s var(--ease); }
.gallery-item:hover { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(37, 99, 235, 0.45); }
.gallery-item:hover .media { transform: scale(1.09); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.92), rgba(8, 8, 10, 0.12) 55%, transparent);
  opacity: 0.5;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 0.9; }
.gallery-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 1.05rem 1.15rem;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.gallery-item:hover .gallery-cap { transform: none; opacity: 1; }
.gallery-title { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.gallery-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #04122e;
  background: var(--accent-300);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.gallery-item::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 55%; height: 100%;
  z-index: 3;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0;
  pointer-events: none;
}
.gallery-item:hover::before { animation: gallery-sheen 0.9s var(--ease); }
@keyframes gallery-sheen {
  0% { left: -75%; opacity: 0; }
  18% { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}

/* Flagship product cards (browser/app frame) */
.flagship { padding: 0; overflow: hidden; }
.app-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.section-muted .app-bar { background: #fff; }
.app-dots { display: flex; gap: 0.35rem; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.app-dots i:nth-child(1) { background: #ff5f57; }
.app-dots i:nth-child(2) { background: #febc2e; }
.app-dots i:nth-child(3) { background: #28c840; }
.app-url {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.85rem;
}
.app-live { margin-left: auto; font-size: 0.75rem; font-weight: 600; color: #15803d; }
.flagship-body { padding: clamp(1.5rem, 2.5vw, 2rem); }
.flagship-tagline { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin: 0.7rem 0 0.85rem; }
.flagship .card-foot { margin-top: 1.4rem; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.chip {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
}
.section-muted .chip { background: #fff; }
.chip-accent { color: var(--accent); background: var(--accent-tint); border-color: transparent; font-weight: 600; }
.chip-dark { color: #d7d9df; background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark); }

/* Innovation cards (dark variant) */
.section-dark .card.innovation { background: var(--ink-2); border: 1px solid var(--line-dark); }
.innovation h3 { color: #fff; }
.innovation p { color: #aeb2bd; }
.innovation .card-icon { background: rgba(37, 99, 235, 0.16); color: var(--accent-300); margin-bottom: 1.2rem; }
.ai-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #04122e;
  background: var(--accent-300);
  padding: 0.12rem 0.5rem;
  border-radius: 6px;
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* Dhivehi OCR visual — a document being scanned */
.ocr-visual { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.4rem; }
.scan-doc {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 128px;
  background: #0c0c11;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.scan-doc .thaana { font-family: "Noto Sans Thaana", "MV Boli", sans-serif; font-size: 1.5rem; line-height: 1.2; color: #fff; }
.doc-line { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); }
.doc-line.short { width: 58%; }
.scan-beam {
  position: absolute;
  left: 0; right: 0; top: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-300), transparent);
  box-shadow: 0 0 14px 2px rgba(124, 196, 255, 0.5);
  animation: ocr-scan 2.8s var(--ease) infinite;
}
@keyframes ocr-scan { 0% { top: 6%; } 50% { top: 92%; } 100% { top: 6%; } }
.ocr-metric { flex: none; text-align: center; }
.ocr-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem); line-height: 1; color: #fff; }
.ocr-unit { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--accent-300); }
.ocr-acc { display: block; font-size: 0.72rem; color: var(--muted-2); margin-top: 0.35rem; text-transform: uppercase; letter-spacing: 0.12em; }

/* ID intelligence visual — documents drop into place, get captured & scanned, then move on */
.id-doc { justify-content: center; }
.id-card {
  display: flex; align-items: center; gap: 0.9rem; width: 100%;
  animation: id-conveyor 4.4s var(--ease) infinite;
}
.id-card .id-photo {
  flex: none; width: 46px; height: 58px; border-radius: 6px;
  background: linear-gradient(160deg, rgba(124, 196, 255, 0.45), rgba(37, 99, 235, 0.14));
  border: 1px solid var(--line-dark);
}
.id-card .id-fields { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; min-width: 0; }
.id-card .id-fields .doc-line { background: rgba(255, 255, 255, 0.12); animation: id-extract 4.4s var(--ease) infinite; }
.id-card .id-fields .id-f1 { animation-delay: 0s; }
.id-card .id-fields .id-f2 { animation-delay: 0.12s; }
.id-card .id-fields .id-f3 { animation-delay: 0.24s; }

/* the document travels in from the top, holds to be read, then exits the bottom */
@keyframes id-conveyor {
  0%   { transform: translateY(-150%); opacity: 0; }
  16%  { transform: translateY(0); opacity: 1; }
  68%  { transform: translateY(0); opacity: 1; }
  86%, 100% { transform: translateY(150%); opacity: 0; }
}
/* fields light up as the scan passes over them */
@keyframes id-extract {
  0%, 32% { background: rgba(255, 255, 255, 0.12); }
  42% { background: var(--accent-300); }
  64% { background: rgba(124, 196, 255, 0.5); }
  80%, 100% { background: rgba(255, 255, 255, 0.12); }
}

/* "click" — a camera-shutter flash the moment the document settles */
.id-doc::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: rgba(210, 235, 255, 0);
  animation: id-click 4.4s var(--ease) infinite;
}
@keyframes id-click {
  0%, 18% { background: rgba(210, 235, 255, 0); }
  22% { background: rgba(220, 240, 255, 0.5); }
  28%, 100% { background: rgba(210, 235, 255, 0); }
}
/* the scan beam sweeps down right after the click */
.id-doc .scan-beam { animation: id-scan 4.4s var(--ease) infinite; }
@keyframes id-scan {
  0%, 30% { top: 10%; opacity: 0; }
  34% { opacity: 1; }
  60% { top: 86%; opacity: 1; }
  64%, 100% { top: 86%; opacity: 0; }
}

/* Invoice cataloging visual — a bill parsed into fields with a total */
.invoice-doc .inv-row { display: flex; align-items: center; gap: 0.6rem; }
.invoice-doc .inv-row .doc-line { flex: 1; }
.invoice-doc .inv-amt { flex: none; width: 34px; height: 8px; border-radius: 4px; background: rgba(124, 196, 255, 0.3); }
.invoice-doc .inv-total { align-self: flex-end; width: 46px; height: 10px; border-radius: 4px; background: var(--accent-300); margin-top: 0.15rem; }

/* Mapping visual — live route with a vessel travelling the path */
.map-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(37, 99, 235, 0.16), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    #0b0b10;
  background-size: 100% 100%, 28px 28px, 28px 28px, auto;
}
.map-routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-routes .route-track { fill: none; stroke: rgba(124, 196, 255, 0.18); stroke-width: 2.4; stroke-linecap: round; }
.map-routes .route-comet {
  fill: none;
  stroke: var(--accent-300);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: 11 89;
  filter: drop-shadow(0 0 4px rgba(124, 196, 255, 0.9));
  animation: route-comet 4.5s linear infinite;
}
@keyframes route-comet { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.map-routes .route-node { fill: #fff; }
.map-routes .gps-core { fill: var(--accent); }
.map-routes .gps-ping {
  fill: none;
  stroke: var(--accent-300);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: gps-ping 2.4s var(--ease) infinite;
}
@keyframes gps-ping { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(3.4); opacity: 0; } }

/* Dhivehi LLM visual — streaming text generation */
.llm-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.1rem 1.2rem;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(37, 99, 235, 0.16), transparent 60%),
    #0c0c11;
}
.llm-panel .thaana { font-family: "Noto Sans Thaana", "MV Boli", sans-serif; font-size: 1.4rem; color: #fff; margin-bottom: 0.1rem; }
.gen-line { height: 8px; border-radius: 4px; background: rgba(124, 196, 255, 0.3); width: 0; animation: gen-stream 5s linear infinite; }
.gen-line.g1 { animation-delay: 0.2s; --gw: 92%; }
.gen-line.g2 { animation-delay: 1.4s; --gw: 78%; }
.gen-line.g3 { animation-delay: 2.6s; --gw: 56%; }
@keyframes gen-stream {
  0%, 4% { width: 0; opacity: 0; }
  8% { opacity: 1; }
  26% { width: var(--gw); }
  82% { width: var(--gw); opacity: 1; }
  100% { width: var(--gw); opacity: 0; }
}
.gen-caret { width: 9px; height: 15px; border-radius: 1px; background: var(--accent-300); animation: gen-caret 1s steps(2, start) infinite; }
@keyframes gen-caret { 50% { opacity: 0; } }

/* Document management visual — files being indexed/shared */
.docs-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 132px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: 0.6rem;
  padding: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(37, 99, 235, 0.16), transparent 60%),
    #0c0c11;
}
.doc-tile {
  position: relative;
  width: 100%;
  max-width: 44px;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  animation: doc-pulse 4s var(--ease) infinite;
}
.doc-tile::before {
  content: "";
  position: absolute; top: 0; right: 0;
  border-width: 0 11px 11px 0;
  border-style: solid;
  border-color: transparent rgba(255, 255, 255, 0.16) transparent transparent;
}
.doc-tile::after {
  content: "";
  position: absolute; left: 7px; right: 7px; top: 16px;
  height: 3px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 7px 0 rgba(255, 255, 255, 0.13), 0 14px 0 rgba(255, 255, 255, 0.1);
}
.doc-tile.d1 { animation-delay: 0s; }
.doc-tile.d2 { animation-delay: 0.6s; }
.doc-tile.d3 { animation-delay: 1.2s; }
.doc-tile.d4 { animation-delay: 1.8s; }
@keyframes doc-pulse {
  0%, 68%, 100% { border-color: var(--line-dark); box-shadow: none; transform: translateY(0); }
  12%, 28% { border-color: var(--accent-300); box-shadow: 0 0 0 1px rgba(124, 196, 255, 0.6), 0 9px 20px -6px rgba(37, 99, 235, 0.65); transform: translateY(-3px); }
}

/* 11. Process timeline -------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.step {
  position: relative;
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.section-dark .step { background: var(--ink-2); border-color: var(--line-dark); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
}
.step h3 { margin: 0.6rem 0 0.4rem; font-size: 1.2rem; }
.step p { color: var(--muted); font-size: 0.95rem; }
.section-dark .step p { color: #aeb2bd; }

/* 12. Testimonials ------------------------------------------------------ */
.tslider { position: relative; }
.tslider-viewport { overflow: hidden; }
.tslider-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}
.tslide { flex: 0 0 100%; padding: 0.25rem; }
.tcard {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.25rem);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(37, 99, 235, 0.06);
}
.tcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-300));
}
.tcard-quote {
  position: absolute;
  top: clamp(0.25rem, 2vw, 1.25rem);
  right: clamp(1rem, 3vw, 2.25rem);
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(7rem, 13vw, 11rem);
  line-height: 1;
  color: var(--accent);
  opacity: 0.09;
  pointer-events: none;
}
.tcard-stars { position: relative; z-index: 1; display: flex; gap: 0.3rem; color: var(--accent); margin-bottom: 1.5rem; }
.tcard-stars svg { width: 20px; height: 20px; }
.tcard blockquote {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem);
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 48ch;
}
.tcard-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-top: 1.9rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.tcard-avatar {
  width: 50px; height: 50px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-700));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.7);
}
.tcard-name { display: block; font-weight: 600; color: var(--ink); }
.tcard-role { display: block; font-size: 0.9rem; color: var(--muted); }

/* Brand statement band */
.statement { position: relative; overflow: hidden; background: var(--ink); color: #fff; text-align: center; }
.statement::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  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: 54px 54px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}
.statement::after {
  content: "";
  position: absolute; z-index: 0;
  width: 640px; height: 640px; left: 50%; top: -42%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.4), transparent 70%);
  pointer-events: none;
}
.statement .container { position: relative; z-index: 2; }
.statement-eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-300); }
.statement-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent-300); border-radius: 2px; }
.statement-text { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem); line-height: 1.18; letter-spacing: -0.02em; color: #fff; max-width: 24ch; margin: 1.2rem auto 0; }
.statement-by { margin-top: 1.6rem; color: var(--muted-2); font-size: 0.95rem; }

/* Team */
.team-card { text-align: center; }
.team-avatar {
  position: relative;
  width: 92px; height: 92px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-700));
  box-shadow: 0 12px 26px -10px rgba(37, 99, 235, 0.7);
}
.team-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.team-name { font-size: 1.18rem; }
.team-role { color: var(--accent); font-weight: 600; font-size: 0.92rem; margin-top: 0.15rem; }
.team-links { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.1rem; }
.team-links a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.team-links a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.team-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: clamp(1rem, 2.4vw, 1.75rem); justify-content: center; }
@media (max-width: 560px) { .team-pair { grid-template-columns: minmax(0, 320px); } }
.team-note { font-size: 0.95rem; color: var(--muted); }
.team-note .arrow-link { display: inline-flex; }

/* FAQ accordion */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item:hover { border-color: var(--accent-300); }
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--accent); }
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform 0.25s var(--ease); }
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-a { padding: 0 1.3rem 1.3rem; }
.faq-a p { color: var(--muted); max-width: 66ch; }

/* Cross-link cards */
.xlink { display: flex; flex-direction: column; }
.xlink h3 { margin-bottom: 0.5rem; }
.xlink p { color: var(--muted); }
.xlink .arrow-link { margin-top: 1.2rem; }
.xlink:hover .arrow-link svg { transform: translateX(4px); }

/* Portfolio work cards */
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s var(--ease);
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.work-thumb {
  position: relative;
  aspect-ratio: 16 / 6;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-2), var(--ink));
}
.work-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 25% 15%, var(--proj, var(--accent)), transparent 60%);
  opacity: 0.5;
  transition: opacity 0.3s var(--ease);
}
.work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}
.work-card:hover .work-thumb::before { opacity: 0.72; }
.work-mark { position: relative; z-index: 1; color: #fff; opacity: 0.92; }
.work-mark svg { width: 40px; height: 40px; }
.work-cat, .work-status {
  position: absolute;
  top: 0.9rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
}
.work-cat { left: 0.9rem; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.work-status { right: 0.9rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.work-status.is-live { background: rgba(21, 128, 61, 0.9); }
.work-status.is-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #7ef0a8; }
.work-status.is-rd { background: rgba(139, 92, 246, 0.92); }
.work-body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.1rem, 2vw, 1.4rem); }
.work-body h3 { font-size: 1.2rem; }
.work-body p { color: var(--muted); margin-top: 0.35rem; font-size: 0.95rem; }
.work-more { margin-top: auto; padding-top: 0.95rem; display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--accent); }
.work-more svg { transition: transform 0.2s var(--ease); }
.work-card:hover .work-more svg { transform: translateX(4px); }

/* Detail-page back link */
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--accent-300); margin-bottom: 1.2rem; }
.back-link:hover { color: #fff; }

/* Feature list in two columns (detail pages) */
.feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2.5rem; }
@media (max-width: 640px) { .feature-cols { grid-template-columns: 1fr; } }

/* Larger visual panels on detail pages */
.scan-doc-lg { min-height: 280px; }
.llm-panel-lg { min-height: 280px; gap: 0.9rem; padding: 1.5rem 1.6rem; }
.llm-panel-lg .thaana { font-size: 1.7rem; }
.llm-panel-lg .gen-line { height: 10px; }
.llm-panel-lg .gen-caret { height: 18px; }
.tslider-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
}
.tslider-arrows { display: flex; gap: 0.5rem; }
.tslider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: grid; place-items: center;
  transition: background 0.2s var(--ease), border-color 0.2s, color 0.2s;
}
.tslider-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tslider-dots { display: flex; gap: 0.45rem; margin-left: auto; }
.tslider-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  padding: 0;
  transition: background 0.2s, width 0.2s;
}
.tslider-dot.is-active { background: var(--accent); width: 26px; border-radius: 999px; }

/* 13. CTA band ---------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 120% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 120% at 50% 0%, #000, transparent 75%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin: 1rem auto 0; }
.cta-band .btn-group { justify-content: center; margin-top: 2rem; }

/* 14. Contact / forms --------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.field .req { color: var(--accent); }
.input, .textarea, .select {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s var(--ease), background 0.18s, box-shadow 0.18s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.textarea { resize: vertical; min-height: 130px; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.form-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.4rem; }
.form-status { font-size: 0.92rem; font-weight: 500; }
.form-status.is-error { color: #c0392b; }
.form-status.is-ok { color: #15803d; }
.field-error { display: block; color: #c0392b; font-size: 0.82rem; margin-top: 0.35rem; min-height: 0; }

.contact-aside { display: grid; gap: 1rem; align-content: start; }
.contact-tile {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-tile .card-icon { margin: 0; width: 46px; height: 46px; flex: none; }
.contact-tile h3 { font-size: 1.05rem; }
.contact-tile a, .contact-tile p { color: var(--muted); font-size: 0.96rem; }
.contact-tile a:hover { color: var(--accent); }
.map-slot { aspect-ratio: 16 / 9; display: block; overflow: hidden; }
.map-slot::before { display: none; }
.map-slot iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link { margin-top: 0.9rem; text-align: right; font-weight: 600; font-family: var(--font-display); }
.map-link a { color: var(--accent); }
.map-link a:hover { color: var(--accent-700); }

/* contact preview (home) */
.contact-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* 15. Footer ------------------------------------------------------------ */
.site-footer {
  background: var(--ink);
  color: #aeb2bd;
  padding-top: clamp(3rem, 6vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 3rem;
}
.footer-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: #fff;
  margin-top: 1.2rem;
}
.footer-note { margin-top: 0.7rem; font-size: 0.94rem; max-width: 38ch; }
.social-list { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.social-list a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark);
  color: #d7d9df;
  transition: background 0.2s var(--ease), color 0.2s, transform 0.2s;
}
.social-list a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a:hover { color: #fff; }
.footer-contact-label { display: block; color: var(--muted-2); font-size: 0.8rem; }
.footer-contact li { margin-bottom: 0.7rem; line-height: 1.45; }
.footer-cta { margin-top: 0.6rem; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.9rem;
}
.to-top:hover { color: #fff; }

/* 16. Reveal / motion --------------------------------------------------- */
.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
/* Only hide pre-animation when JS is available — no JS, content stays visible. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* 16b. Construction page — build scene, timeline & equipment ----------- */

/* Hero: text + animated construction scene */
.build-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.build-hero .page-hero-inner { max-width: 40rem; }

.build-stage {
  position: relative;
  aspect-ratio: 11 / 10;
}
.build-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.build-svg .ground { stroke: rgba(124, 196, 255, 0.45); stroke-width: 2; stroke-linecap: round; }
.build-svg .c-line { stroke: #b4bdd2; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.build-svg .c-line.thin { stroke-width: 1.4; stroke: rgba(180, 189, 210, 0.6); }
.build-svg .c-base,
.build-svg .c-weight { fill: rgba(255, 255, 255, 0.12); stroke: #b4bdd2; stroke-width: 1.4; }
.build-svg .cable { stroke: rgba(180, 189, 210, 0.85); }
.build-svg .payload { fill: rgba(37, 99, 235, 0.9); stroke: var(--accent-300); stroke-width: 1.4; }
.build-svg .fl { fill: rgba(255, 255, 255, 0.035); stroke: rgba(124, 196, 255, 0.5); stroke-width: 1.6; }
.build-svg .win { fill: rgba(124, 196, 255, 0.22); }
.build-svg .floor.top .fl { stroke: var(--accent-300); fill: rgba(37, 99, 235, 0.20); }
.build-svg .floor.top .win { fill: rgba(124, 196, 255, 0.55); }
.build-svg .mast-flag { stroke: var(--accent-300); stroke-width: 1.6; fill: rgba(37, 99, 235, 0.6); }
.build-svg .scan { stroke: var(--accent-300); stroke-width: 2; opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .build-svg .floor {
    opacity: 0;
    transform: translateY(16px);
    transform-box: fill-box;
    animation: build-rise 0.55s var(--ease) forwards;
    animation-delay: calc(0.35s + var(--i) * 0.2s);
  }
  .build-svg .rig {
    transform-box: view-box;
    transform-origin: 284px 86px;
    animation: load-sway 4.2s ease-in-out 1.6s infinite;
  }
  .build-svg .scan {
    transform-box: view-box;
    animation: survey-sweep 4.8s ease-in-out 2.2s infinite;
  }
}
@keyframes build-rise { to { opacity: 1; transform: translateY(0); } }
@keyframes load-sway { 0%, 100% { transform: rotate(-2.6deg); } 50% { transform: rotate(2.6deg); } }
@keyframes survey-sweep {
  0%, 100% { transform: translateY(346px); opacity: 0; }
  14%, 86% { opacity: 0.85; }
  50% { transform: translateY(120px); }
}

/* Process: animated build timeline */
.build-timeline {
  --bt-gap: clamp(1rem, 3vw, 2.2rem);
  list-style: none; margin: clamp(1.6rem, 4vw, 2.6rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--bt-gap);
}
.bt-step { position: relative; padding-top: 3.6rem; }
.bt-step::before {
  content: ""; position: absolute; top: 21px; left: 44px; right: calc(-1 * var(--bt-gap));
  height: 3px; border-radius: 3px; background: var(--accent);
  transform-origin: left;
}
.bt-step:last-child::before { display: none; }
.bt-dot {
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px var(--paper-2);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  z-index: 1;
}
.bt-step h3 { font-size: 1.18rem; margin: 0 0 0.35rem; }
.bt-step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .bt-step::before { transform: scaleX(0); }
  .bt-dot { opacity: 0; transform: scale(0.3); }
  .build-timeline.is-visible .bt-dot {
    animation: bt-pop 0.5s var(--ease) forwards;
    animation-delay: calc(0.2s + var(--i) * 0.28s);
  }
  .build-timeline.is-visible .bt-step::before {
    animation: bt-beam 0.45s var(--ease) forwards;
    animation-delay: calc(0.42s + var(--i) * 0.28s);
  }
}
@keyframes bt-pop { to { opacity: 1; transform: scale(1); } }
@keyframes bt-beam { to { transform: scaleX(1); } }

/* Equipment grid: cascade in on scroll, energise on hover */
@media (prefers-reduced-motion: no-preference) {
  .asset-grid.is-visible .asset { animation: asset-rise 0.5s var(--ease) backwards; }
  .asset-grid.is-visible .asset:nth-child(2) { animation-delay: 0.05s; }
  .asset-grid.is-visible .asset:nth-child(3) { animation-delay: 0.1s; }
  .asset-grid.is-visible .asset:nth-child(4) { animation-delay: 0.15s; }
  .asset-grid.is-visible .asset:nth-child(5) { animation-delay: 0.2s; }
  .asset-grid.is-visible .asset:nth-child(6) { animation-delay: 0.25s; }
  .asset-grid.is-visible .asset:nth-child(7) { animation-delay: 0.3s; }
  .asset-grid.is-visible .asset:nth-child(8) { animation-delay: 0.35s; }
  .asset-grid.is-visible .asset:nth-child(9) { animation-delay: 0.4s; }
  .asset:hover .asset-ico { animation: asset-zap 0.6s var(--ease); }
}
@keyframes asset-rise { from { transform: translateY(14px); } to { transform: translateY(0); } }
@keyframes asset-zap {
  0% { box-shadow: 0 0 0 0 rgba(124, 196, 255, 0.55); }
  60% { box-shadow: 0 0 0 8px rgba(124, 196, 255, 0); transform: translateY(-2px) scale(1.07); }
  100% { box-shadow: 0 0 0 0 rgba(124, 196, 255, 0); transform: none; }
}

/* Construction-page responsive */
@media (max-width: 860px) {
  .build-hero-grid { grid-template-columns: 1fr; }
  .build-stage { width: 100%; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .build-timeline { grid-template-columns: 1fr; gap: 0; }
  .bt-step { padding: 0 0 1.9rem 3.7rem; }
  .bt-step::before { top: 44px; bottom: 0; left: 21px; right: auto; width: 3px; height: auto; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 720px) {
  .bt-step::before { transform: scaleY(0); transform-origin: top; }
  .build-timeline.is-visible .bt-step::before { animation: bt-beam-v 0.45s var(--ease) forwards; animation-delay: calc(0.42s + var(--i) * 0.28s); }
}
@keyframes bt-beam-v { to { transform: scaleY(1); } }

/* 16c. Technology & Real Estate hero scenes ---------------------------- */

/* Shared two-column hero layout for venture pages */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-split .page-hero-inner { max-width: 40rem; }
.hero-scene { position: relative; aspect-ratio: 11 / 10; }
.hero-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Technology — a circuit board with a processor routing data */
.it-svg .trace { fill: none; stroke: rgba(124, 196, 255, 0.26); stroke-width: 1.6; }
.it-svg .flow { fill: none; stroke: var(--accent-300); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 0.1 1; opacity: 0; }
.it-svg .node { fill: rgba(124, 196, 255, 0.08); stroke: rgba(124, 196, 255, 0.5); stroke-width: 1.5; }
.it-svg .via { fill: var(--accent-300); }
.it-svg .pin { fill: none; stroke: rgba(124, 196, 255, 0.55); stroke-width: 1.6; stroke-linecap: round; }
.it-svg .chip { fill: rgba(37, 99, 235, 0.10); stroke: var(--accent-300); stroke-width: 2; }
.it-svg .core { fill: rgba(124, 196, 255, 0.05); stroke: rgba(124, 196, 255, 0.4); stroke-width: 1.4; }
.it-svg .core-d { fill: rgba(37, 99, 235, 0.5); stroke: var(--accent-300); stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .it-svg .node { opacity: 0; transform: scale(0.5); transform-box: fill-box; transform-origin: center; animation: node-in 0.5s var(--ease) forwards; animation-delay: calc(0.3s + var(--i) * 0.12s); }
  .it-svg .trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace-draw 0.8s var(--ease) forwards; animation-delay: calc(0.5s + var(--i) * 0.12s); }
  .it-svg .flow { animation: trace-flow 2.4s linear infinite; animation-delay: calc(1.4s + var(--d) * 0.4s); }
  .it-svg .core-d { transform-box: view-box; transform-origin: 220px 200px; animation: core-pulse 3s ease-in-out infinite; }
  .it-svg .via { animation: via-blink 1.8s ease-in-out infinite; animation-delay: calc(var(--k) * 0.4s); }
}
@keyframes node-in { to { opacity: 1; transform: scale(1); } }
@keyframes trace-draw { to { stroke-dashoffset: 0; } }
@keyframes trace-flow { 0% { stroke-dashoffset: 1.1; opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes core-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes via-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Real Estate — a residence whose windows light up as homes fill */
.re-svg .ground { stroke: rgba(124, 196, 255, 0.4); stroke-width: 2; stroke-linecap: round; }
.re-svg .body { fill: rgba(255, 255, 255, 0.02); stroke: rgba(124, 196, 255, 0.42); stroke-width: 1.8; }
.re-svg .parapet { fill: rgba(255, 255, 255, 0.05); stroke: rgba(124, 196, 255, 0.42); stroke-width: 1.6; }
.re-svg .rail { stroke: rgba(124, 196, 255, 0.22); stroke-width: 1.4; }
.re-svg .door { fill: rgba(37, 99, 235, 0.5); stroke: var(--accent-300); stroke-width: 1.6; }
.re-svg .pane { fill: rgba(124, 196, 255, 0.55); }
.re-svg .palm { stroke: rgba(124, 196, 255, 0.4); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .re-svg .pane { fill: rgba(124, 196, 255, 0.08); animation: re-light 0.7s var(--ease) forwards; animation-delay: calc(0.3s + var(--i) * 0.2s); }
  .re-svg .palm { transform-box: view-box; transform-origin: 373px 356px; animation: palm-sway 5s ease-in-out infinite; }
}
@keyframes re-light { 0% { fill: rgba(124, 196, 255, 0.08); } 70% { fill: rgba(150, 212, 255, 0.85); } 100% { fill: rgba(124, 196, 255, 0.55); } }
@keyframes palm-sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }

/* Shared hero-scene responsive */
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-scene { width: 100%; max-width: 460px; margin-inline: auto; }
}

/* Marine — a crewed vessel & parasail riding the swell */
.ma-svg .canopy { fill: rgba(37, 99, 235, 0.30); stroke: var(--accent-300); stroke-width: 1.8; stroke-linejoin: round; }
.ma-svg .lines { fill: none; stroke: rgba(124, 196, 255, 0.42); stroke-width: 0.9; }
.ma-svg .tether { stroke: rgba(124, 196, 255, 0.5); stroke-width: 1.6; }
.ma-svg .hull { fill: rgba(37, 99, 235, 0.22); stroke: var(--accent-300); stroke-width: 1.8; stroke-linejoin: round; }
.ma-svg .trim { fill: none; stroke: rgba(124, 196, 255, 0.55); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ma-svg .cockpit { fill: rgba(11, 11, 12, 0.35); stroke: rgba(124, 196, 255, 0.5); stroke-width: 1.4; stroke-linejoin: round; }
.ma-svg .gores { fill: none; stroke: rgba(124, 196, 255, 0.38); stroke-width: 1.1; }
.ma-svg .wake { fill: none; stroke: rgba(124, 196, 255, 0.32); stroke-width: 1.5; stroke-linecap: round; }
.ma-svg .vent { fill: rgba(11, 11, 12, 0.4); stroke: rgba(124, 196, 255, 0.45); stroke-width: 1.1; }
.ma-svg .rider { fill: rgba(124, 196, 255, 0.75); stroke: rgba(124, 196, 255, 0.75); stroke-width: 1.6; stroke-linecap: round; }
.ma-svg .flag { fill: rgba(37, 99, 235, 0.7); stroke: none; }
.ma-svg .wave { fill: none; stroke: rgba(124, 196, 255, 0.4); stroke-width: 2; stroke-linecap: round; }
.ma-svg .wave.w2 { stroke: rgba(124, 196, 255, 0.26); }
.ma-svg .wave.w3 { stroke: rgba(124, 196, 255, 0.16); }
@media (prefers-reduced-motion: no-preference) {
  .ma-svg .w1 { transform-box: view-box; animation: wave-drift 3.6s linear infinite; }
  .ma-svg .w2 { transform-box: view-box; animation: wave-drift 5.2s linear infinite reverse; }
  .ma-svg .w3 { transform-box: view-box; animation: wave-drift 7.4s linear infinite; }
  .ma-svg .boat { transform-box: view-box; transform-origin: 312px 250px; animation: boat-bob 4.2s ease-in-out infinite; }
  .ma-svg .sail { transform-box: view-box; transform-origin: 312px 250px; animation: sail-sway 5.6s ease-in-out infinite; }
}
@keyframes wave-drift { to { transform: translateX(-80px); } }
@keyframes boat-bob { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
@keyframes sail-sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

/* 17. Responsive -------------------------------------------------------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 80px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { position: static; }

  /* Full-screen futuristic drawer */
  .nav-menu {
    counter-reset: navi;
    position: fixed;
    inset: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(72px + clamp(1.5rem, 7vw, 2.75rem)) clamp(1.5rem, 7vw, 2.5rem) 2rem;
    background:
      radial-gradient(95% 55% at 88% 0%, rgba(37, 99, 235, 0.26), transparent 60%),
      linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      #08080a;
    background-size: 100% 100%, 46px 46px, 46px 46px, auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  }
  .nav-menu.is-open { transform: none; opacity: 1; visibility: visible; }

  .nav-menu > li { opacity: 0; transform: translateY(14px); }
  .nav-menu.is-open > li { opacity: 1; transform: none; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
  .nav-menu.is-open > li:nth-child(1) { transition-delay: 0.08s; }
  .nav-menu.is-open > li:nth-child(2) { transition-delay: 0.13s; }
  .nav-menu.is-open > li:nth-child(3) { transition-delay: 0.18s; }
  .nav-menu.is-open > li:nth-child(4) { transition-delay: 0.23s; }
  .nav-menu.is-open > li:nth-child(5) { transition-delay: 0.28s; }
  .nav-menu.is-open > li:nth-child(6) { transition-delay: 0.34s; }
  .nav-menu.is-open > li:nth-child(7) { transition-delay: 0.40s; }

  .nav-link {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    padding: 0.85rem 0;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 8vw, 2.15rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-link::before {
    counter-increment: navi;
    content: "0" counter(navi);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-300);
    opacity: 0.85;
  }
  .nav-link:hover, .nav-link.is-active { color: var(--accent-300); background: transparent; }
  .nav-link.is-active::after { display: none; }

  .nav-cta-item { margin-top: 1.75rem; }
  .nav-cta-item .btn { width: 100%; font-size: 1.05rem; padding: 1rem; }

  .nav-extra { display: block; margin-top: auto; padding-top: 2rem; }
  .nav-extra-contact { display: grid; gap: 0.65rem; margin-bottom: 1.4rem; }
  .nav-extra-contact a { color: #aeb2bd; font-size: 1rem; }
  .nav-extra-contact a:hover { color: #fff; }
  .nav-extra-social { display: flex; gap: 0.6rem; }
  .nav-extra-social a {
    width: 42px; height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #d7d9df;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-dark);
  }
  .nav-extra-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

  /* header blends into the dark drawer while open */
  body.menu-open .site-header { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open .brand-logo, body.menu-open .brand-wordmark { filter: brightness(0) invert(1); }
  body.menu-open .nav-toggle { border-color: rgba(255, 255, 255, 0.3); }
  body.menu-open .nav-toggle-bar { background: #fff; }

  .split { grid-template-columns: 1fr; }
  .split.is-reverse .split-media { order: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .cols-2, .cols-3, .contact-preview { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .project.is-feature { grid-row: span 1; }
  .project.is-feature .media { min-height: 0; aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .tslider-track { transition: none; }
}
