/* ============================================================
   BORDER BAR CONSULTING — main.css
   Global Design System — shared by all pages
   ============================================================
   Author   : Senior Dev + UX/UI Expert
   Version  : 3.0.0
   Aesthetic: Industrial Precision — Dark, Electric, High-Performance
   Accent   : #bfff00 (Electric Lime)
   ============================================================

   TABLE OF CONTENTS
   1.  Design Tokens (CSS Custom Properties)
   2.  Reset & Base
   3.  Custom Cursor
   4.  Utilities (.container, .reveal, .sep, .section-label, .section-title)
   5.  Buttons (.btn variants)
   6.  Navigation (shared across ALL pages)
   7.  Hero (index.html only — overridden per page if needed)
   8.  Marquee Strip
   9.  Animations & Keyframes
   10. Lazy Load (blur-up)
   11. Responsive — Desktop → Tablet (≤ 1280px)
   12. Responsive — Hamburger breakpoint (≤ 1024px)
   13. Responsive — Mobile (≤ 680px)
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* ── Palette ── */
  --color-bg:          #080808;
  --color-surface:     #0f0f0f;
  --color-surface-2:   #141414;
  --color-border:      rgba(255, 255, 255, 0.07);

  /* Updated per client spec */
  --color-text:        #e8e2d9;
  --color-muted:       rgba(232, 226, 217, 0.55);   /* ← updated */
  --color-white:       #ffffff;

  --color-accent:      #bfff00;                      /* Electric Lime */
  --color-accent-dim:  rgba(191, 255, 0, 0.1);
  --color-accent-mid:  rgba(191, 255, 0, 0.35);

  /* ── Typography ── */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  /* ── Spacing ── */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   8rem;
  --space-2xl: 14rem;

  /* ── Layout ── */
  --container:    1280px;
  --nav-h:        76px;
  --nav-h-shrunk: 54px;

  /* ── Easing ── */
  --ease-smooth:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.76, 0, 0.24, 1);

  /* ── Transitions ── */
  --t-fast: 0.2s;
  --t-mid:  0.45s;
  --t-slow: 0.75s;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  /* cursor: none; */
  /* Push content below fixed nav */
  padding-top: var(--nav-h);
}

/* Hero pages don't need top padding (hero fills 100vh) */
body.page-has-hero {
  padding-top: 0;
}

img    { max-width: 100%; display: block; }
a      { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { 
  font-family: inherit;
  /* cursor: none; */
  border: none;
  background: none;
}

/* ============================================================
   3. CUSTOM CURSOR
   ============================================================ */
/* ── Custom cursor — flecha flat accent ── */
*, *::before, *::after {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M4 2 L4 16 L8 12 L11 18 L13 17 L10 11 L16 11 Z' fill='%23bfff00'/%3E%3C/svg%3E") 4 2, auto;
}

/* .cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: width 0.3s var(--ease-smooth),
              height 0.3s var(--ease-smooth),
              opacity 0.3s ease;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(191, 255, 0, 0.4);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: width 0.4s var(--ease-smooth),
              height 0.4s var(--ease-smooth),
              border-color 0.3s ease;
}

body.cursor-hover .cursor      { width: 16px; height: 16px; }
body.cursor-hover .cursor-ring { width: 56px; height: 56px; border-color: rgba(191, 255, 0, 0.2); } */


/* ============================================================
   4. UTILITIES
   ============================================================ */

/* Container */
.container {
  width: min(var(--container), 100% - 2 * var(--space-md));
  margin-inline: auto;
}

/* Reveal on scroll — base invisible state */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo),
              transform 0.9s var(--ease-out-expo);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Stagger children reveal */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.reveal-stagger.is-visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.55s; }

/* Accent line separator */
.sep {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin-block: var(--space-md);
}

/* Section eyebrow label */
.section-label {
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* Section main title */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-white);
}

.section-title em {
  font-style: italic;
  color: var(--color-accent);
}

/* Page inner title (sub-pages) */
.page-hero {
  padding-block: var(--space-xl) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.page-hero__eyebrow {
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.0;
}

.page-hero__title em {
  font-style: italic;
  color: var(--color-accent);
}

/* ============================================================
   5. BUTTONS
   ============================================================ */

/* Primary — solid lime */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 2.2em;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-bg);
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  position: relative;
  overflow: hidden;
  transition: color var(--t-mid) var(--ease-smooth);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease-in-out);
  z-index: 0;
}

.btn:hover::before { transform: scaleX(1); }

.btn span, .btn svg { position: relative; z-index: 1; }

.btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  transition: transform var(--t-mid) var(--ease-smooth);
}

.btn:hover svg { transform: translateX(5px); }

/* Ghost */
.btn--ghost {
  color: var(--color-white);
  background: transparent;
  border-color: rgba(255,255,255,0.2);
}

.btn--ghost::before { background: rgba(255,255,255,0.06); }
.btn--ghost:hover { color: var(--color-white); border-color: rgba(255,255,255,0.4); }

/* Outline accent */
.btn--outline-accent {
  color: var(--color-accent);
  background: transparent;
  border-color: rgba(191,255,0,0.35);
}

.btn--outline-accent::before { background: var(--color-accent); }
.btn--outline-accent:hover   { color: var(--color-bg); }

/* ============================================================
   6. NAVIGATION  ← shared across ALL pages
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  /*
     Background ALWAYS visible — dark from the start.
     (No waiting for scroll on pages with hero backgrounds.)
  */
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
  transition: height var(--t-mid) var(--ease-smooth),
              background var(--t-mid) ease,
              box-shadow var(--t-mid) ease;
}

/* Scrolled state — slightly more opaque + shadow */
.nav.is-shrunk {
  height: var(--nav-h-shrunk);
  background: rgba(8, 8, 8, 0.97);
  box-shadow: 0 1px 0 rgba(191, 255, 0, 0.08);
}

.nav__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ── Logo ── */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 32px;        /* ajusta a tu gusto */
  width: auto;
  display: block;
  transition: opacity var(--t-mid) var(--ease-smooth);
}

.nav.is-shrunk .nav__logo-img {
  opacity: 0.85;       /* pequeño fade al shrunk, opcional */
}

/* Si activas el isotipo para shrunk: */

.nav__logo-icon-img {
  height: 30px;
  width: auto;
  display: none;
}

.nav.is-shrunk .nav__logo-img      { display: none; }
.nav.is-shrunk .nav__logo-icon-img { display: block; }


/* .nav__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
} */

/* .nav__logo-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-mid) var(--ease-smooth);
} */

/* .nav__logo-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.2;
}

.nav.is-shrunk .nav__logo-icon { transform: scale(1.05); } */

/* .nav__logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  overflow: hidden;
  max-width: 200px;
  transition: opacity var(--t-mid) var(--ease-smooth),
              transform var(--t-mid) var(--ease-smooth),
              max-width var(--t-mid) var(--ease-smooth);
}

.nav.is-shrunk .nav__logo-wordmark {
  opacity: 0;
  transform: translateX(-8px);
  max-width: 0;
}

.nav__logo-name {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-white);
  white-space: nowrap;
}

.nav__logo-sub {
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  white-space: nowrap;
} */

/* ── Nav links — WHITE text ── */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.nav__link {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-white);          /* ← white */
  white-space: nowrap;
  position: relative;
  transition: color var(--t-fast) ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--color-accent);
  transition: width var(--t-mid) var(--ease-smooth);
}

.nav__link:hover { color: var(--color-accent); }
.nav__link:hover::after { width: 100%; }

/* Active page link */
.nav__link.is-active {
  color: var(--color-accent);
}

.nav__link.is-active::after { width: 100%; }

/* ── Right cluster: lang + CTA ── */
.nav__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Language toggle */
.nav__lang {
  display: flex;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.nav__lang-btn {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  padding: 0.38em 0.65em;
  transition: background var(--t-fast), color var(--t-fast);
  cursor: pointer;
  line-height: 1;
}

.nav__lang-btn.is-active,
.nav__lang-btn:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* CTA */
.nav__cta {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 0.58em 1.3em;
  border: 1px solid rgba(191, 255, 0, 0.5);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: color var(--t-mid) var(--ease-smooth);
}

.nav__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease-in-out);
}

.nav__cta:hover   { color: var(--color-bg); }
.nav__cta:hover::before { transform: scaleX(1); }
.nav__cta span   { position: relative; z-index: 1; }

/* ── Hamburger — base: hidden (shown at ≤ 1024px) ── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 4px;
  flex-shrink: 0;
  cursor: pointer;
}

.nav__hamburger-line {
  display: block;
  height: 1px;
  background: var(--color-accent);
  transform-origin: center;
  transition: transform 0.4s var(--ease-in-out),
              opacity   0.3s ease,
              width     0.4s var(--ease-in-out);
}

.nav__hamburger-line:nth-child(1) { width: 22px; }
.nav__hamburger-line:nth-child(2) { width: 14px; }
.nav__hamburger-line:nth-child(3) { width: 22px; }

.nav__hamburger.is-open .nav__hamburger-line:nth-child(1) { width:22px; transform: translateY(6px) rotate(45deg); }
.nav__hamburger.is-open .nav__hamburger-line:nth-child(2) { opacity:0; width:0; }
.nav__hamburger.is-open .nav__hamburger-line:nth-child(3) { width:22px; transform: translateY(-6px) rotate(-45deg); }

/* ── Mobile overlay ── */
.nav__mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.45s var(--ease-out-expo),
              transform 0.45s var(--ease-out-expo),
              visibility 0s linear 0.45s;
}

.nav__mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.45s var(--ease-out-expo),
              transform 0.45s var(--ease-out-expo),
              visibility 0s linear 0s;
}

.nav__mobile-link {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 7vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--color-white);
  position: relative;
  transition: color 0.3s ease;
}

.nav__mobile-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--color-accent);
  transition: width 0.4s var(--ease-out-expo);
}

.nav__mobile-link:hover { color: var(--color-accent); }
.nav__mobile-link:hover::after { width: 100%; }

/* Stagger entry */
.nav__mobile-overlay .nav__mobile-link {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease-out-expo),
              transform 0.45s var(--ease-out-expo),
              color 0.3s ease;
}

.nav__mobile-overlay.is-open .nav__mobile-link:nth-child(1) { opacity:1; transform:none; transition-delay:.06s; }
.nav__mobile-overlay.is-open .nav__mobile-link:nth-child(2) { opacity:1; transform:none; transition-delay:.12s; }
.nav__mobile-overlay.is-open .nav__mobile-link:nth-child(3) { opacity:1; transform:none; transition-delay:.18s; }
.nav__mobile-overlay.is-open .nav__mobile-link:nth-child(4) { opacity:1; transform:none; transition-delay:.24s; }
.nav__mobile-overlay.is-open .nav__mobile-link:nth-child(5) { opacity:1; transform:none; transition-delay:.30s; }
.nav__mobile-overlay.is-open .nav__mobile-link:nth-child(6) { opacity:1; transform:none; transition-delay:.36s; }
.nav__mobile-overlay.is-open .nav__mobile-link:nth-child(7) { opacity:1; transform:none; transition-delay:.42s; }

/* ============================================================
   7. HERO (index.html)
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  /* Hero covers full screen, nav sits on top */
  margin-top: calc(-1 * var(--nav-h));
}

.hero__slider { position: absolute; inset: 0; z-index: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s var(--ease-smooth),
              transform 8s var(--ease-smooth);
  will-change: opacity, transform;
}

.hero__slide.is-active  { opacity: 1; transform: scale(1); }

.hero__slide.is-leaving {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 1.4s var(--ease-smooth),
              transform 1.4s var(--ease-smooth);
}

.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 0.08s linear;
}

.hero__slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(8,8,8,0.9) 0%, rgba(8,8,8,0.25) 55%, transparent 100%),
    linear-gradient(to right, rgba(8,8,8,0.65) 0%, transparent 65%);
}

/* Slide images — real assets override these */
.hero__slide:nth-child(1) .hero__slide-bg {
  /* background-image: url('assets/images/hero-1.jpg'),
    url('https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?w=1800&auto=format&fit=crop&q=80'); */
  background-image: url('assets/images/hero-1.jpg'),
    url('../images/bgrk-borderbar-contrabarra-01.jpg');
}
.hero__slide:nth-child(2) .hero__slide-bg {
  background-image: url('assets/images/hero-2.jpg'),
    url('https://images.unsplash.com/photo-1572116469696-31de0f17cc34?w=1800&auto=format&fit=crop&q=80');
}
.hero__slide:nth-child(3) .hero__slide-bg {
  background-image: url('assets/images/hero-3.jpg'),
    url('https://images.unsplash.com/photo-1551024709-8f23befc6f87?w=1800&auto=format&fit=crop&q=80');
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(var(--space-lg), 10vh, var(--space-xl));
}

.hero__eyebrow {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.4s forwards;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}

/*
   HERO TITLE
   Structure: "Welcome to" (line 1) + "BORDER Consulting" (line 2 inline)
   - "BORDER"     → Bebas Neue, uppercase, white
   - "Consulting" → Cormorant Garamond, italic, mixed case, accent
*/
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 6rem);
  font-weight: 400;
  line-height: 1.0;
  color: var(--color-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.65s forwards;
}

.hero-bkgr-about {
  background: url('../images/bgrk-borderbar-bar-01.jpg') no-repeat top center;
  background-size: cover;
}

/* "Consulting" — overrides parent to use serif italic + mixed case */
.hero__title-consulting {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  text-transform: none;         /* Overrides parent uppercase */
  letter-spacing: 0.01em;
  color: var(--color-accent);
  /* Slight vertical alignment tweak — serif baseline vs display */
  position: relative;
  top: 0.06em;
}

/* "Welcome to" line — slightly smaller */
.hero__title-welcome {
  display: block;
  font-size: 0.55em;
  letter-spacing: 0.18em;
  color: var(--color-white);
  opacity: 0.75;
  margin-bottom: 0.1em;
}

/* "BORDER Consulting" — inline, same line */
.hero__title-brand {
  display: block;
}

.hero__desc {
  margin-top: var(--space-md);
  max-width: 46ch;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-muted);
  line-height: 1.9;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.9s forwards;
}

.hero__actions {
  margin-top: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 1.1s forwards;
}

/* Slider dots */
.hero__controls {
  position: absolute;
  bottom: clamp(var(--space-md), 5vh, var(--space-lg));
  right: var(--space-md);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 0.8s ease 1.8s forwards;
}

.hero__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: none;
  transition: background var(--t-mid) ease, transform var(--t-mid) ease;
}

.hero__dot.is-active {
  background: var(--color-accent);
  transform: scale(1.5);
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  animation: fadeIn 0.8s ease 2s forwards;
}

.hero__scroll-hint span {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollBounce 2s ease-in-out infinite 2.5s;
}

/* Floating parallax micro-elements */
.hero__float {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.3;
  will-change: transform;
}

.hero__float--diamond {
  top: 22%; right: 15%;
  width: 10px; height: 10px;
  border: 1px solid var(--color-accent);
  transform: rotate(45deg);
}

.hero__float--ring {
  top: 55%; right: 22%;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(191, 255, 0, 0.2);
}

.hero__float--dot {
  top: 35%; left: 40%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ============================================================
   8. MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  border-block: 1px solid var(--color-border);
  overflow: hidden;
  padding: 0.72rem 0;
  background: rgba(191, 255, 0, 0.018);
}

.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  font-size: 0.63rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.marquee__item::before {
  content: '◆';
  font-size: 0.36rem;
  color: var(--color-accent);
}

/* ============================================================
   9. FOOTER (shared across all pages)
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-lg) var(--space-md);
  background: url('../images/bkgr-abstract-03.jpg') no-repeat top center;
  background-size: cover;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.footer__brand-name {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.footer__brand-sub {
  font-size: 0.52rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.footer__tagline {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 28ch;
  margin-bottom: var(--space-md);
}

.footer__social {
  display: flex;
  gap: 0.6rem;
}

.footer__social-link {
  width: 30px; height: 30px;
  border: 1px solid rgba(191, 255, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  transition: border-color var(--t-mid), color var(--t-mid), background var(--t-mid);
}

.footer__social-link:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-bg);
}

.footer__col-title {
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__nav-link {
  font-size: 0.82rem;
  color: rgba(232, 226, 217, 0.4);    /* ← updated per spec */
  transition: color var(--t-fast);
}

.footer__nav-link:hover { color: var(--color-white); }

/* Footer bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  font-size: 0.64rem;
  color: rgba(232, 226, 217, 0.4);    /* ← updated per spec */
  letter-spacing: 0.1em;
}

.footer__slogan {
  /* font-family: var(--font-serif); */
  font-family: auto;
  /* font-style: italic; */
  color: rgba(191, 255, 0, 0.6);       /* ← updated per spec */
}

/* ============================================================
   10. CONTACT MODAL (shared)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-smooth),
              visibility 0s linear 0.4s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease-smooth),
              visibility 0s linear 0s;
}

.modal {
  background: var(--color-surface-2);
  border: 1px solid rgba(191, 255, 0, 0.12);
  padding: clamp(var(--space-lg), 6vw, var(--space-xl));
  max-width: 540px;
  width: 100%;
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.45s var(--ease-out-expo);
}

.modal-overlay.is-open .modal { transform: translateY(0) scale(1); }

.modal__close {
  position: absolute;
  top: var(--space-md); right: var(--space-md);
  width: 34px; height: 34px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color var(--t-mid), color var(--t-mid);
}

.modal__close:hover { border-color: var(--color-accent); color: var(--color-accent); }

.modal__eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.modal__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.modal__title em { font-style: italic; color: var(--color-accent); }

.modal__divider {
  width: 40px; height: 1px;
  background: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.modal__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.modal__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem var(--space-sm);
  border: 1px solid var(--color-border);
  transition: border-color var(--t-mid), background var(--t-mid);
  color: var(--color-text);
}

.modal__contact-item:hover {
  border-color: rgba(191, 255, 0, 0.3);
  background: var(--color-accent-dim);
  color: var(--color-white);
}

.modal__contact-icon {
  width: 34px; height: 34px;
  border: 1px solid rgba(191, 255, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-transform: uppercase;
}

.modal__contact-label {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.12rem;
}

.modal__contact-value {
  font-size: 0.88rem;
  color: var(--color-text);
}

.modal__social {
  display: flex;
  gap: 0.65rem;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

.modal__social-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65em;
  border: 1px solid var(--color-border);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: all var(--t-mid);
}

.modal__social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================================
   11. ANIMATIONS / KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50%       { transform: scaleY(0.4); transform-origin: top; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* ============================================================
   12. LAZY LOAD — blur-up effect
   ============================================================ */
.lazy-img {
  opacity: 0;
  filter: blur(12px);
  transform: scale(1.03);
  transition: opacity 1.1s var(--ease-smooth),
              filter 1.1s var(--ease-smooth),
              transform 1.1s var(--ease-smooth);
}

.lazy-img.is-loaded {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* ============================================================
   13. RESPONSIVE — TABLET (≤ 1280px)
   ============================================================ */
@media (max-width: 1280px) {
  .nav__links { gap: 1.4rem; }
  .footer__top { 
    /* grid-template-columns: 1fr 1fr; */
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-md);
  }
}

/* ============================================================
   14. RESPONSIVE — HAMBURGER BREAKPOINT (≤ 1024px)
   ← Client requested: hamburger starts at 1024px
   ============================================================ */
@media (max-width: 1024px) {
  /* Hide desktop nav links & lang toggle */
  .nav__links { display: none; }
  .nav__lang  { display: none; }

  /* Show hamburger */
  .nav__hamburger {
    display: flex;
    order: 3;   /* Logo | CTA | Hamburger */
  }

  /* CTA stays visible */
  .nav__cta {
    order: 2;
    padding: 0.5em 1em;
    font-size: 0.62rem;
  }

  .nav__right {
    gap: 0.5rem;
  }
}

/* ============================================================
   15. RESPONSIVE — MOBILE (≤ 680px)
   ============================================================ */
@media (max-width: 680px) {
  :root {
    --nav-h: 62px;
    --nav-h-shrunk: 50px;
  }

  .footer__top { grid-template-columns: 1fr; }

  .footer__bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .hero__actions { flex-direction: column; align-items: flex-start; }

  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }
  button, a { cursor: pointer; }
}
