/* ============================================================
   ARVIN BEARNEZA — PORTFOLIO v2 STYLESHEET
   style.css
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS VARIABLES / DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
  --bg:        #030508;
  --bg2:       #080c14;
  --surface:   #0d1220;
  --border:    rgba(99,179,255,0.12);
  --accent:    #4af0c4;
  --accent2:   #6b8cff;
  --accent3:   #f04aff;
  --orange:    #f97316;
  --text:      #e8edf5;
  --muted:     #5a6a88;
  --lakbay:    #7432af;

  /* Spacing scale (8px rhythm) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 80px;
  --space-9: 100px;
  --space-10: 120px;
}

/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ------------------------------------------------------------
   3. TEXTURE OVERLAYS
   ------------------------------------------------------------ */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9990; opacity: 0.3;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(99,179,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,179,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: 0;
}

/* ------------------------------------------------------------
   4. CURSOR
   ------------------------------------------------------------ */
#cursor {
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, background 0.2s;
  mix-blend-mode: screen;
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: all 0.18s cubic-bezier(.25,.46,.45,.94);
  opacity: 0.5;
}

/* Touch devices — no custom cursor at all (it otherwise parks itself in the
   top-left corner, since there's no pointer to follow). Restore native
   cursors so taps behave normally; feedback comes from .is-touched instead. */
@media (hover: none), (pointer: coarse) {
  #cursor, #cursor-ring { display: none; }
  body { cursor: auto; }
  a, button,
  .project-card, .brand-card, .skill-item, .role-pill,
  .btn-primary, .btn-secondary, .contact-link,
  .nav-links a, .nav-burger, .edot, .proj-cta {
    cursor: pointer;
  }
}

/* ------------------------------------------------------------
   5. NAVIGATION
   ------------------------------------------------------------ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 18px 60px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(20px);
  background: rgba(3,5,8,0.75);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Space Mono', monospace;
  font-size: 13px; color: var(--accent);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.nav-logo span { color: var(--muted); }
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-size: 12px; font-weight: 600;
  color: var(--muted); text-decoration: none;
  letter-spacing: 0.15em; text-transform: uppercase;
  transition: color 0.2s; position: relative; cursor: none;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-status {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 10px; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.status-dot {
  width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Burger toggle — hidden on desktop, shown on mobile */
.nav-burger {
  display: none;
  width: 36px; height: 36px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 2px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 0;
}
.nav-burger span {
  width: 16px; height: 1.5px; background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Full-screen mobile menu panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
  background: rgba(3,5,8,0.97); backdrop-filter: blur(20px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: 'Syne', sans-serif;
  font-size: 32px; font-weight: 800;
  color: var(--text); text-decoration: none;
  letter-spacing: -0.01em;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu-status {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-top: 12px;
  opacity: 0; transition: opacity 0.4s ease 0.2s;
}
.mobile-menu.open .mobile-menu-status { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu a { transform: none; }
}

/* ------------------------------------------------------------
   6. HERO
   ------------------------------------------------------------ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 60px 80px;
  position: relative; overflow: hidden;
  gap: 40px;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(130px); pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74,240,196,0.1), transparent 70%);
  top: -200px; right: 0;
  animation: floatGlow 8s ease-in-out infinite;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(107,140,255,0.08), transparent 70%);
  bottom: -150px; left: -80px;
  animation: floatGlow 11s ease-in-out infinite reverse;
}
.hero-glow-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,74,255,0.05), transparent 70%);
  top: 30%; right: 40%;
  animation: floatGlow 14s ease-in-out infinite;
}

.hero-content { max-width: 680px; z-index: 1; min-width: 0; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(74,240,196,0.08);
  border: 1px solid rgba(74,240,196,0.2);
  border-radius: 2px; padding: 6px 14px;
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: var(--accent);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 2s infinite;
}

h1.hero-name {
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 800; line-height: 0.92;
  letter-spacing: -0.03em; margin-bottom: 6px;
  animation: fadeUp 0.8s 0.1s ease both;
}
h1.hero-name .first { color: var(--text); }
h1.hero-name .last {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.3);
  display: block;
}

.hero-sub {
  font-size: clamp(12px, 1.4vw, 15px);
  color: var(--muted); line-height: 1.7;
  max-width: 480px; margin: 24px 0 40px;
  font-family: 'Space Mono', monospace;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-roles {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 44px;
  animation: fadeUp 0.8s 0.3s ease both;
}
.role-pill {
  padding: 6px 14px; border-radius: 2px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid; transition: all 0.25s;
}
.role-pill:nth-child(1) { border-color: rgba(74,240,196,0.3);  color: var(--accent);  background: rgba(74,240,196,0.06); }
.role-pill:nth-child(2) { border-color: rgba(107,140,255,0.3); color: var(--accent2); background: rgba(107,140,255,0.06); }
.role-pill:nth-child(3) { border-color: rgba(240,74,255,0.3);  color: var(--accent3); background: rgba(240,74,255,0.06); }
.role-pill:nth-child(4) { border-color: rgba(74,240,196,0.3);  color: var(--accent);  background: rgba(74,240,196,0.06); }
.role-pill:nth-child(5) { border-color: rgba(107,140,255,0.3); color: var(--accent2); background: rgba(107,140,255,0.06); }
.role-pill:nth-child(6) { border-color: rgba(240,74,255,0.3);  color: var(--accent3); background: rgba(240,74,255,0.06); }
.role-pill:hover { transform: translateY(-2px); filter: brightness(1.2); }

.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.4s ease both;
}

/* Hero illustration side */
.hero-illustration {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 1;
  animation: fadeUp 0.9s 0.3s ease both;
}
.illus-frame {
  position: relative;
  width: 320px; max-width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
}
.illus-clip { position: relative; overflow: hidden; }
.illus-img {
  width: 100%; display: block;
  filter: contrast(1.05) saturate(0.9);
  transition: transform 0.5s ease;
}
.illus-frame:hover .illus-img { transform: scale(1.03); }
.illus-glow {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(3,5,8,0.6) 100%);
  pointer-events: none;
}

/* Signature sticker badge */
.hero-sticker {
  position: absolute;
  top: -64px; right: -64px;
  width: 190px; height: 190px;
  z-index: 5;
  transform: rotate(-9deg);
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94);
  animation: fadeUp 0.9s 0.55s ease both, stickerFloat 6s ease-in-out 1.4s infinite;
}
.hero-sticker img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,0.55)) drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.illus-frame:hover .hero-sticker {
  transform: rotate(0deg) scale(1.08);
}
.illus-label {
  margin-top: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 9px; color: var(--muted);
  letter-spacing: 0.15em; text-transform: uppercase;
  text-align: center;
}

.scroll-ind {
  position: absolute; bottom: 32px; left: 60px;
  display: flex; align-items: center; gap: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 10px; color: var(--muted);
  letter-spacing: 0.15em; text-transform: uppercase;
  grid-column: 1 / -1;
  animation: fadeUp 1s 0.8s ease both;
}
.scroll-line {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ------------------------------------------------------------
   7. BUTTONS
   ------------------------------------------------------------ */
.btn-primary {
  padding: 13px 28px; background: var(--accent);
  color: var(--bg); font-family: 'Syne', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: none; border-radius: 2px;
  text-decoration: none; cursor: none;
  transition: all 0.25s; position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.2);
  transform: translateX(-100%); transition: transform 0.3s;
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(74,240,196,0.3); }

.btn-secondary {
  padding: 13px 28px; background: transparent;
  color: var(--text); font-family: 'Syne', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--border); border-radius: 2px;
  text-decoration: none; cursor: none; transition: all 0.25s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ------------------------------------------------------------
   8. STATS BAR
   ------------------------------------------------------------ */
.stats-bar {
  display: flex;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2); position: relative; z-index: 1;
}
.stat-item { flex: 1; padding: 28px 36px; border-right: 1px solid var(--border); transition: background 0.3s; }
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(74,240,196,0.04); }
.stat-num { font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-num sup { font-size: 20px; color: var(--accent2); }
.stat-label { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 6px; }

/* ------------------------------------------------------------
   9. SECTION SHARED
   ------------------------------------------------------------ */
section { position: relative; z-index: 1; }

/* Cursor-reactive aquamarine hover glow — a soft "liquid" orb + small boxes surfacing
   near the pointer. Rendered as pseudo-elements so it always paints behind the
   section's real content (never covers text, images, or cards). */
@property --mx { syntax: '<length>'; inherits: true; initial-value: 0px; }
@property --my { syntax: '<length>'; inherits: true; initial-value: 0px; }

section { --mx: 50%; --my: 50%; }

section::before, section::after {
  content: ''; position: absolute; inset: 0;
  pointer-events: none; z-index: -1; opacity: 0;
  transition: opacity 0.5s ease, --mx 0.3s ease, --my 0.3s ease;
}
section.glow-active::before { opacity: 1; }
section.glow-active::after  { opacity: 0.55; }

/* Soft blurred liquid core */
section::before {
  background: radial-gradient(circle 240px at var(--mx) var(--my),
    rgba(74,240,196,0.24) 0%,
    rgba(107,140,255,0.08) 45%,
    transparent 72%);
  filter: blur(14px);
}
/* Small boxes catching the light near the pointer */
section::after {
  background-image:
    linear-gradient(rgba(74,240,196,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,240,196,0.5) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle 140px at var(--mx) var(--my), black 0%, black 20%, transparent 68%);
          mask-image: radial-gradient(circle 140px at var(--mx) var(--my), black 0%, black 20%, transparent 68%);
}
@media (prefers-reduced-motion: reduce) {
  section::before, section::after { display: none; }
}
.section-header { display: flex; align-items: baseline; gap: 20px; margin-bottom: 48px; }
.section-num { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--accent); letter-spacing: 0.2em; }
.section-title { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.section-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); margin-left: 20px; }

/* Work category label */
.work-category { margin-bottom: var(--space-3); }
.work-category.cat-gap { margin-top: var(--space-7); }
.cat-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 10px; color: var(--muted);
  letter-spacing: 0.2em; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.cat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cat-dot-purple { background: var(--accent3); }
.cat-dot-blue { background: var(--accent2); }
.cat-dot-pink { background: var(--accent3); }

/* ------------------------------------------------------------
   10. PROJECTS
   ------------------------------------------------------------ */
#projects { padding: 100px 60px; background: var(--bg); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden; position: relative;
  cursor: none;
  transition: border-color 0.4s cubic-bezier(.25,.46,.45,.94), transform 0.15s ease-out;
  transform-style: preserve-3d;
  min-height: 400px;
}
/* `.is-touched` mirrors :hover — added on touchstart so tapping a card on a
   phone gets the same feedback a pointer gets on desktop. */
.project-card:hover,
.project-card.is-touched { border-color: rgba(74,240,196,0.3); }
.project-card:hover .proj-img-overlay,
.project-card.is-touched .proj-img-overlay { opacity: 0.4; }
.project-card:hover .proj-arrow,
.project-card.is-touched .proj-arrow { transform: translate(4px,-4px); opacity: 1; }

/* 3D tilt glare — a soft highlight that tracks the pointer, giving the tilt
   a glassy sense of depth. Sits above the image/overlay but below badges,
   the arrow, and the text content so it never washes out anything readable. */
.project-card::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 2; pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 280px at var(--cx, 50%) var(--cy, 50%), rgba(255,255,255,0.16), transparent 60%);
  transition: opacity 0.3s ease;
}
.project-card:hover::before,
.project-card.is-touched::before { opacity: 1; }

.project-card.featured { grid-column: span 12; min-height: 420px; }

/* ── LAKBAYGO ── */
.project-card.lakbay {
  display: block;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #1a0832;
}
/* Full sheet image — show the middle branding section */
.lakbay-img-wrap {
  position: absolute;
  top: 0; left: 30%; right: 0; bottom: 0;
  overflow: hidden;
}
.lakbay-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(.25,.46,.45,.94);
}
.project-card.lakbay:hover .lakbay-img-wrap img,
.project-card.lakbay.is-touched .lakbay-img-wrap img { transform: scale(1.04); }
/* Fade left edge into dark bg */
.lakbay-img-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, #1a0832 0%, rgba(26,8,50,0.6) 40%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
/* Dark bg on the right fade out */
.lakbay-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(26,8,50,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}
/* Purple glow */
.lakbay-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116,50,175,0.35) 0%, transparent 70%);
  top: -100px; left: -100px;
  pointer-events: none;
  z-index: 1;
}
/* Content panel pinned bottom-left */
.lakbay-panel {
  position: absolute;
  bottom: 0; left: 0;
  width: 46%;
  padding: 36px 44px;
  z-index: 4;
}
.lakbay-badge-row {
  display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap;
}
.project-card.lakbay .proj-content {
  position: static; padding: 0; z-index: 4;
}
.project-card.lakbay .proj-featured-badge {
  position: static; display: inline-block;
}
.project-card.lakbay .proj-arrow {
  position: absolute; top: 24px; right: 24px; z-index: 5;
}

/* ── MOTION GRID ── */
.motion-grid { grid-template-columns: repeat(3, 1fr); gap: 2px; }
.motion-card { grid-column: span 1; min-height: 460px; }
@media (min-width: 1101px) {
  .motion-card.ncaf { grid-column: 2; }
}

.proj-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .proj-video,
.project-card.is-touched .proj-video { transform: scale(1.03); }

.motion-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(3,5,8,0.92) 100%);
  z-index: 1; opacity: 0.8; transition: opacity 0.4s;
}
.proj-video-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(3,5,8,0.7); border: 1px solid var(--border);
  padding: 5px 10px; z-index: 2;
  font-family: 'Space Mono', monospace;
  font-size: 9px; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.play-icon { font-size: 8px; }

/* ── LED WALL CARD ── */
.led-card { background: #020408; }
.led-visual {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.led-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px; padding: 40px;
}
.led-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(74,240,196,0.08);
  border: 1px solid rgba(74,240,196,0.15);
  transition: all 0.3s;
}
.led-dot.active {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(74,240,196,0.6), 0 0 24px rgba(74,240,196,0.3);
  animation: ledPulse 1.5s ease-in-out infinite;
}
.led-scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(74,240,196,0.02) 3px, rgba(74,240,196,0.02) 4px);
  pointer-events: none;
}
.led-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(2,4,8,0.95) 100%);
  z-index: 1; opacity: 0.85;
}

/* ── E-LOCATE ── */
.project-card.elocate {
  display: grid;
  grid-template-columns: 38% 62%;
  position: relative;
  min-height: 520px;
  background: #07090f;
  overflow: hidden;
}
.elocate-content-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 44px;
  z-index: 4;
  background: #07090f;
}
.elocate-content-panel::after {
  content: '';
  position: absolute;
  top: 0; right: -60px; bottom: 0; width: 80px;
  background: linear-gradient(to right, #07090f, transparent);
  pointer-events: none; z-index: 1;
}
.elocate-content-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 10% 90%, rgba(249,115,22,0.1) 0%, transparent 55%);
  pointer-events: none;
}
.project-card.elocate .proj-content   { position: static; padding: 0; z-index: 2; }
.project-card.elocate .proj-featured-badge { position: static; display: inline-block; margin-bottom: 18px; }
.project-card.elocate .proj-arrow     { position: absolute; top: 24px; right: 24px; z-index: 6; }

/* Phone area — dark bg, phones centered */
.elocate-screens {
  position: relative;
  background: #07090f;
  overflow: hidden;
}
/* Fade left edge into content panel */
.elocate-screens::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 80px;
  background: linear-gradient(to right, #07090f, transparent);
  z-index: 3; pointer-events: none;
}

/* Crossfade slides */
.elocate-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  background: transparent;
}
.elocate-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.elocate-slide img {
  max-height: 86%;
  max-width: 86%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 48px rgba(0,0,0,0.85))
          drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}

/* Dot nav */
.elocate-dots {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 6;
}
.edot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer; transition: all 0.3s; border: none;
}
.edot.active { background: var(--orange); width: 20px; border-radius: 3px; }

.elocate-overlay-grad { display: none; }
.elocate-track        { display: none; }

/* ── PRODUCT / SYSTEM INTERFACES (AETHER platform, LCIBMS) ──
   These repos ship no UI screenshots, so each card leads with the product's
   own mark on a branded panel and carries the detail in a structured spec
   list — image-on-top / content-below, so it stacks cleanly at every width. */
.systems-grid { grid-template-columns: 1fr 1fr !important; gap: 2px; }
.system-card {
  grid-column: span 1;
  min-height: 0;
  display: flex; flex-direction: column;
  background: var(--surface);
}
/* Screenshot area — real captures of the running front-end, presented in a
   light browser chrome so they read as product shots rather than raw images. */
.system-shots {
  position: relative; flex-shrink: 0;
  padding: 26px 26px 0;
  overflow: hidden;
}
.shot-frame {
  border: 1px solid var(--border);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  background: #0a0f18;
  box-shadow: 0 -2px 40px rgba(0,0,0,0.5);
  transition: transform 0.6s cubic-bezier(.25,.46,.45,.94);
}
.system-card:hover .shot-frame,
.system-card.is-touched .shot-frame { transform: translateY(-4px); }
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}
.shot-bar span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.16);
}
.shot-stage { position: relative; aspect-ratio: 16 / 10; }
.shot-stage .shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0; transition: opacity 0.7s ease;
}
.shot-stage .shot.active { opacity: 1; }
.system-card .proj-content {
  position: relative; z-index: 3;
  padding: 28px 32px 32px;
  display: flex; flex-direction: column; flex: 1;
}

/* Spec list — label / value rows */
.system-specs { list-style: none; margin: 18px 0 0; padding: 0; }
.system-specs li {
  font-family: 'Space Mono', monospace;
  font-size: 10px; color: var(--muted);
  line-height: 1.6; letter-spacing: 0.03em;
  padding: 8px 0; border-top: 1px solid var(--border);
}
.system-specs li span {
  display: block;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text); opacity: 0.55; margin-bottom: 3px;
}
.system-specs li:last-child { margin-bottom: 0; }

/* AETHER platform — green, matching its own brand */
.system-card.aether-sys .system-shots {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(27,186,111,0.16) 0%, transparent 70%),
    #06120d;
}
.system-card.aether-sys:hover,
.system-card.aether-sys.is-touched { border-color: rgba(27,186,111,0.4) !important; }

/* L&L Cafe — coffee brown / cream, matching the app's own palette */
.system-card.lcibms .system-shots {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(169,130,88,0.22) 0%, transparent 70%),
    #17120c;
}
.system-card.lcibms:hover,
.system-card.lcibms.is-touched { border-color: rgba(169,130,88,0.45) !important; }
.lcibms-tag {
  color: #c9a274 !important;
  background: rgba(169,130,88,0.1) !important;
  border: 1px solid rgba(169,130,88,0.28) !important;
}
.lcibms-arrow { border-color: rgba(169,130,88,0.35) !important; color: #c9a274 !important; }

@media (max-width: 760px) {
  .systems-grid { grid-template-columns: 1fr !important; }
  .system-shots { padding: 18px 18px 0; }
  .system-card .proj-content { padding: 24px; }
}

/* ── ILLUSTRATION ── */
.illus-grid { grid-template-columns: 5fr 7fr; gap: 2px; }
.illus-card { grid-column: span 1; min-height: 500px; }
.illus-info-card { grid-column: span 1; min-height: 500px; background: var(--surface); }
.illus-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 0.6s ease;
}
.project-card:hover .illus-hero-img,
.project-card.is-touched .illus-hero-img { transform: scale(1.03); }
.illus-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(3,5,8,0.9) 100%);
  z-index: 1; opacity: 0.7;
}
.illus-info-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(240,74,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(107,140,255,0.05) 0%, transparent 60%);
}
.illus-info-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; padding: 48px;
  z-index: 1;
}
.illus-quote {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700; color: var(--text);
  line-height: 1.5; margin-bottom: 32px;
  font-style: italic; opacity: 0.8;
  border-left: 2px solid var(--accent3);
  padding-left: 20px;
}
.illus-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.tool-pill {
  padding: 6px 14px; border-radius: 2px;
  font-family: 'Space Mono', monospace;
  font-size: 10px; color: var(--accent3);
  border: 1px solid rgba(240,74,255,0.2);
  background: rgba(240,74,255,0.06);
  letter-spacing: 0.08em;
}
.illus-desc {
  font-family: 'Space Mono', monospace;
  font-size: 12px; color: var(--muted);
  line-height: 1.8;
}

/* ── SHARED PROJECT CARD ELEMENTS ── */
.proj-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(3,5,8,0.95) 100%);
  opacity: 0.7; transition: opacity 0.4s;
}
.proj-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 32px; z-index: 3;
}
.proj-featured-badge {
  position: absolute; top: 20px; left: 20px;
  background: rgba(74,240,196,0.15); border: 1px solid rgba(74,240,196,0.3);
  padding: 4px 10px; z-index: 4;
  font-family: 'Space Mono', monospace;
  font-size: 9px; color: var(--accent);
  letter-spacing: 0.15em; text-transform: uppercase;
}
.proj-featured-badge.orange {
  background: rgba(249,115,22,0.15); border-color: rgba(249,115,22,0.3);
  color: var(--orange);
}
.proj-tags { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.proj-tag {
  font-family: 'Space Mono', monospace; font-size: 9px;
  color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase;
  background: rgba(74,240,196,0.1); border: 1px solid rgba(74,240,196,0.2);
  padding: 3px 8px; border-radius: 2px;
}
.proj-tag.alt  { color: var(--accent2); background: rgba(107,140,255,0.1); border-color: rgba(107,140,255,0.2); }
.proj-tag.alt2 { color: var(--accent3); background: rgba(240,74,255,0.1);  border-color: rgba(240,74,255,0.2); }
.proj-tag.orange-tag { color: var(--orange); background: rgba(249,115,22,0.1); border-color: rgba(249,115,22,0.2); }
.proj-name { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; margin-bottom: 8px; }
.proj-desc { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--muted); line-height: 1.7; max-width: 560px; }
.proj-org { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--accent2); letter-spacing: 0.1em; margin-top: 8px; }
.proj-arrow {
  position: absolute; top: 20px; right: 20px; z-index: 4;
  width: 34px; height: 34px; border: 1px solid rgba(74,240,196,0.3);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all 0.3s; color: var(--accent); font-size: 15px;
}
.proj-cta {
  display: inline-block; margin-top: 14px;
  font-family: 'Space Mono', monospace; font-size: 10px;
  color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid rgba(74,240,196,0.3);
  padding-bottom: 2px; transition: border-color 0.2s, color 0.2s;
}
.proj-cta:hover { border-color: var(--accent); }
.proj-cta.orange-cta { color: var(--orange); border-color: rgba(249,115,22,0.3); }
.proj-cta.orange-cta:hover { border-color: var(--orange); }

/* ------------------------------------------------------------
   11. ABOUT SECTION
   ------------------------------------------------------------ */
#about {
  padding: 100px 60px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: center;
}

/* Photo */
.about-visual { position: relative; }
.about-photo-wrap {
  position: relative; display: inline-block;
  line-height: 0;
}
.about-photo {
  width: 100%; max-width: 380px;
  display: block;
  filter: grayscale(10%) contrast(1.05);
  transition: filter 0.4s;
}
.about-photo-wrap:hover .about-photo { filter: grayscale(0%) contrast(1.08); }
.about-photo-border {
  position: absolute; inset: 12px -12px -12px 12px;
  border: 1px solid var(--accent);
  opacity: 0.25; pointer-events: none;
}
.about-photo-corner {
  position: absolute; width: 16px; height: 16px;
  border-color: var(--accent); border-style: solid;
  opacity: 0.6;
}
.about-photo-corner.tl { top: -4px; left: -4px; border-width: 2px 0 0 2px; }
.about-photo-corner.tr { top: -4px; right: -4px; border-width: 2px 2px 0 0; }
.about-photo-corner.bl { bottom: -4px; left: -4px; border-width: 0 0 2px 2px; }
.about-photo-corner.br { bottom: -4px; right: -4px; border-width: 0 2px 2px 0; }

.about-badge {
  display: flex; align-items: center; gap: 12px;
  margin-top: 20px; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--border);
  max-width: 380px;
}
.badge-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }
.badge-name { font-size: 13px; font-weight: 700; color: var(--text); }
.badge-loc { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.1em; margin-top: 2px; }

/* Text */
.about-intro {
  font-size: clamp(14px, 1.6vw, 17px); line-height: 1.8;
  color: var(--text); margin-bottom: 24px; opacity: 0.85;
}
.about-intro strong { color: var(--accent); font-weight: 700; }

.skills-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-top: 32px;
}
.skill-item {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Mono', monospace; font-size: 11px;
  color: var(--muted); letter-spacing: 0.08em;
  padding: 10px 14px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.01); transition: all 0.25s;
}
.skill-item:hover { border-color: var(--accent); color: var(--accent); background: rgba(74,240,196,0.04); }
.skill-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.skill-item:nth-child(even) .skill-dot { background: var(--accent2); }

/* ------------------------------------------------------------
   12. CONTACT
   ------------------------------------------------------------ */
#contact {
  padding: 120px 60px;
  background: var(--bg); border-top: 1px solid var(--border); text-align: center;
}
.contact-inner { max-width: 700px; margin: 0 auto; }
.contact-eyebrow { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--accent); letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 20px; }
.contact-heading { font-size: clamp(42px, 7vw, 80px); font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; margin-bottom: 24px; }
.contact-heading .outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.2); }
.contact-sub { font-family: 'Space Mono', monospace; font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 52px; }
.contact-links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.contact-link {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 26px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text);
  text-decoration: none; font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 2px; transition: all 0.25s; cursor: none;
}
.contact-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(74,240,196,0.12); }
.contact-link svg { width: 15px; height: 15px; }

/* ------------------------------------------------------------
   13. FOOTER
   ------------------------------------------------------------ */
footer {
  padding: 28px 60px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'Space Mono', monospace; font-size: 11px;
  color: var(--muted); letter-spacing: 0.08em; position: relative; z-index: 1;
}
footer span { color: var(--accent); }

/* ------------------------------------------------------------
   14. ANIMATIONS
   ------------------------------------------------------------ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatGlow {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(24px,-24px) scale(1.05); }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.6); }
}
@keyframes scrollLine {
  0%,100% { width: 40px; opacity: 1; }
  50%      { width: 64px; opacity: 0.5; }
}
@keyframes ledPulse {
  0%,100% { box-shadow: 0 0 8px rgba(74,240,196,0.5), 0 0 16px rgba(74,240,196,0.25); }
  50%      { box-shadow: 0 0 16px rgba(74,240,196,0.8), 0 0 32px rgba(74,240,196,0.4); }
}
@keyframes stickerFloat {
  0%,100% { transform: rotate(-9deg) translateY(0); }
  50%      { transform: rotate(-5deg) translateY(-8px); }
}

/* ------------------------------------------------------------
   15. SCROLL REVEAL UTILITY
   ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(28px) scale(0.97); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.25,.46,.45,.94); }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

/* ------------------------------------------------------------
   15b. REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { transform: none; }
}

/* ------------------------------------------------------------
   16. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .motion-grid { grid-template-columns: 1fr 1fr; }
  .motion-card:nth-child(3) { grid-column: span 2; }
}
@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-status { display: none; }
  .nav-burger { display: flex; }

  /* align-items:start — centering taller-than-viewport content pushed the
     illustration (and its sticker) up underneath the fixed nav. */
  #hero { grid-template-columns: 1fr; padding: 100px 24px 60px; gap: 48px; align-items: start; }
  .hero-illustration { order: -1; }
  .illus-frame { width: 240px; }
  /* Offset accounts for the rotate+float animation expanding the visual box
     ~20px past the layout box — otherwise the hair clips under the nav. */
  .hero-sticker { width: 150px; height: 150px; top: -8px; right: -34px; }
  .scroll-ind { left: 24px; }

  .stats-bar { flex-wrap: wrap; }
  .stat-item { flex: 1 1 50%; }

  #projects { padding: 70px 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1 !important; min-height: 340px; }
  .elocate-map { display: none; }

  #about { padding: 70px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 100%; }
  .about-photo-border { display: none; }

  #contact { padding: 70px 24px; }
  footer { padding: 20px 24px; flex-direction: column; gap: 10px; text-align: center; }
}

/* Tablet tier — keep 2-up grids instead of collapsing straight to 1 column */
@media (min-width: 641px) and (max-width: 900px) {
  .motion-grid { grid-template-columns: 1fr 1fr; }
  .motion-card { min-height: 320px; }
  .motion-card:nth-child(3) { grid-column: span 2; }
  .illus-grid { grid-template-columns: 1fr 1fr; }
  .illus-info-card { min-height: 360px; }
}

/* Small phones — collapse everything to a single column */
@media (max-width: 640px) {
  .motion-grid { grid-template-columns: 1fr; }
  .motion-card { grid-column: span 1 !important; min-height: 300px; }
  .illus-grid { grid-template-columns: 1fr; }
  .illus-info-card { min-height: 300px; }
}

@media (max-width: 900px) {
  /* Same reasoning as LakbayGO/brand cards — stack instead of overlaying,
     so text legibility never depends on the illustration's brightness. */
  .illus-card { min-height: 0; }
  /* The portrait is 516x716 — a fixed landscape height would crop the figure
     off mid-torso, so let it render at its natural aspect instead. */
  .illus-hero-img {
    position: relative; inset: auto;
    width: 100%; height: auto;
    display: block;
  }
  .illus-overlay { display: none; }
  .illus-card .proj-content {
    position: static; padding: 24px;
    background: var(--surface);
  }
}

/* Small phones — the 52px floor on hero-name is wide enough to overflow ~375-430px viewports */
@media (max-width: 480px) {
  h1.hero-name { font-size: clamp(34px, 11.5vw, 52px); }
}

/* ------------------------------------------------------------
   19. LAKBAYGO & ELOCATE RESPONSIVE FIXES
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  /* Stack image on top / content below — the source brand sheet is very tall,
     so cropping to a narrow centered strip (the desktop treatment) fragmented
     the logo and icon grid. Full width lets it read as one clean band. */
  .project-card.lakbay { min-height: 0; display: block; }
  .lakbay-img-wrap {
    position: relative; inset: auto;
    width: 100%; height: 260px;
  }
  .lakbay-img-wrap::before, .lakbay-img-wrap::after { display: none; }
  .lakbay-glow { display: none; }
  .lakbay-panel {
    position: relative; bottom: auto; left: auto;
    width: 100%; padding: 24px;
    background: var(--surface);
  }

  .project-card.elocate {
    grid-template-columns: 1fr;
    grid-template-rows: auto 320px;
  }
  .elocate-content-panel { padding: 28px 24px; }
  .elocate-content-panel::after { display: none; }
  .elocate-screens { min-height: 320px; }
}

/* ============================================================
   20. DAKKUTEK & AETHER BRANDING CARDS
   ============================================================ */

/* 2-column branding grid */
.branding-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 2px;
  margin-top: 2px;
}

.brand-card {
  grid-column: span 1;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  cursor: none;
}

/* ── Shared image wrapper ── */
.brand-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.brand-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s cubic-bezier(.25,.46,.45,.94);
}
.project-card.brand-card:hover .brand-img-wrap img,
.project-card.brand-card.is-touched .brand-img-wrap img {
  transform: scale(1.04);
}

/* ── Shared gradient scrim (bottom-up, dark) ── */
.brand-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ── DAKKUTEK — warm gold/champagne scrim ── */
.project-card.dakkutek {
  background: #1a1408;
}
.dakkutek-scrim {
  background: linear-gradient(
    to bottom,
    rgba(26,20,8,0.05)  0%,
    rgba(26,20,8,0.15) 35%,
    rgba(26,20,8,0.82) 65%,
    rgba(26,20,8,0.98) 100%
  );
}
.project-card.dakkutek:hover,
.project-card.dakkutek.is-touched { border-color: rgba(193,163,95,0.4) !important; }

.dkt-tag {
  color: #c1a35f !important;
  background: rgba(193,163,95,0.1) !important;
  border: 1px solid rgba(193,163,95,0.25) !important;
}
.project-card.dakkutek .proj-name { color: #f0e8d0; }
.project-card.dakkutek .proj-desc { color: #9a8c72; }
.project-card.dakkutek .proj-org  { color: #c1a35f; opacity: 0.8; }
.project-card.dakkutek .proj-arrow {
  border-color: rgba(193,163,95,0.35) !important;
  color: #c1a35f !important;
}

/* ── AETHER — deep green/teal scrim ── */
.project-card.aether {
  background: #031a10;
}
.aether-scrim {
  background: linear-gradient(
    to bottom,
    rgba(3,26,16,0.05)  0%,
    rgba(3,26,16,0.15) 35%,
    rgba(3,26,16,0.82) 65%,
    rgba(3,26,16,0.98) 100%
  );
}
.project-card.aether:hover,
.project-card.aether.is-touched { border-color: rgba(27,186,111,0.4) !important; }

.aether-tag {
  color: #1bba6f !important;
  background: rgba(27,186,111,0.1) !important;
  border: 1px solid rgba(27,186,111,0.25) !important;
}
.aether-arrow {
  border-color: rgba(27,186,111,0.35) !important;
  color: #1bba6f !important;
}
.aether-org { color: #1bba6f !important; opacity: 0.8; }
.project-card.aether .proj-desc { color: #6a9a7a; }

/* ── Responsive ── */
@media (max-width: 900px) {
  /* A gradient scrim over an unpredictable brand-sheet image can't guarantee
     contrast at every scroll/scene — stack image-on-top, content-below on a
     solid background instead, same fix as LakbayGO. */
  .brand-card { min-height: 0; }
  .brand-img-wrap {
    position: relative; inset: auto;
    width: 100%; height: 220px;
  }
  .brand-scrim { display: none; }
  .project-card.dakkutek .proj-content,
  .project-card.aether .proj-content {
    position: static; padding: 24px;
    background: var(--surface);
  }
}

@media (max-width: 640px) {
  .branding-grid {
    grid-template-columns: 1fr !important;
  }
  .brand-card {
    grid-column: span 1 !important;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .brand-card { min-height: 420px; }
}