/* ============================================================
   RENCOP — Shared Stylesheet
   Brand: Navy/Gold/Green, Dark-first, fully responsive
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-1);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ── 2. CSS CUSTOM PROPERTIES ────────────────────────────── */
[data-theme="dark"] {
  --bg-1:        #0A0F1C;
  --bg-2:        #111827;
  --bg-3:        #151D30;
  --border:      rgba(255, 255, 255, 0.08);
  --border-gold: rgba(176, 141, 87, 0.35);
  --gold:        #B08D57;
  --gold-light:  #D4AF6E;
  --gold-dim:    rgba(176, 141, 87, 0.15);
  --green:       #1B4332;
  --green-bright:#40916C;
  --text-1:      #E8ECF4;
  --text-2:      #94A3B8;
  --text-3:      #64748B;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.4);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.6);
  --shadow-gold: 0 4px 24px rgba(176, 141, 87, 0.2);
  --glass-bg:    rgba(21, 29, 48, 0.7);
  --glass-border:rgba(255, 255, 255, 0.06);
  --navbar-bg:   rgba(10, 15, 28, 0.0);
  --navbar-scroll:rgba(10, 15, 28, 0.95);
  --code-bg:     #0D1117;
  --code-text:   #39D353;
  --overlay:     rgba(10, 15, 28, 0.6);
}

[data-theme="light"] {
  --bg-1:        #F8FAFC;
  --bg-2:        #FFFFFF;
  --bg-3:        #F1F5F9;
  --border:      rgba(0, 0, 0, 0.1);
  --border-gold: rgba(139, 111, 58, 0.35);
  --gold:        #8B6F3A;
  --gold-light:  #A08040;
  --gold-dim:    rgba(139, 111, 58, 0.12);
  --green:       #1B4332;
  --green-bright:#40916C;
  --text-1:      #1A2332;
  --text-2:      #4A5568;
  --text-3:      #718096;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.1);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.15);
  --shadow-gold: 0 4px 24px rgba(139, 111, 58, 0.15);
  --glass-bg:    rgba(255, 255, 255, 0.85);
  --glass-border:rgba(0, 0, 0, 0.08);
  --navbar-bg:   rgba(248, 250, 252, 0.0);
  --navbar-scroll:rgba(255, 255, 255, 0.97);
  --code-bg:     #1E2433;
  --code-text:   #39D353;
  --overlay:     rgba(26, 35, 50, 0.5);
}

/* ── 3. TYPOGRAPHY ───────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--text-1);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: 'Inter', sans-serif; }
h5 { font-size: 0.95rem; font-weight: 600; font-family: 'Inter', sans-serif; }

p { color: var(--text-2); line-height: 1.75; }

.text-gold   { color: var(--gold); }
.text-green  { color: var(--green-bright); }
.text-muted  { color: var(--text-2); }
.text-sm     { font-size: 0.875rem; }
.text-xs     { font-size: 0.78rem; }
.font-mono   { font-family: 'Courier New', Courier, monospace; }

/* ── 4. LAYOUT ───────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  padding: 6rem 0;
  background: var(--bg-2);
}

.section-dark {
  padding: 6rem 0;
  background: var(--bg-3);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header p {
  max-width: 600px;
  margin: 1rem auto 0;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ── 5. NAVBAR ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background: var(--navbar-scroll);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0A0F1C;
  font-family: 'Playfair Display', serif;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-1);
  font-family: 'Playfair Display', serif;
}

.logo-accent { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-1);
  background: var(--border);
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: background 0.2s, color 0.2s;
}

.theme-toggle:hover { background: var(--gold-dim); color: var(--gold); }

.theme-toggle svg { width: 16px; height: 16px; }

[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.nav-cta { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 6. FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 1rem;
}

.footer-logo span { color: var(--gold); }

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.social-btn:hover {
  background: var(--gold-dim);
  color: var(--gold);
  transform: translateY(-2px);
}

.social-btn svg { width: 17px; height: 17px; }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li:not(:has(a)) { font-size: 0.9rem; color: var(--text-2); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-3);
}

/* ── 7. BUTTONS ──────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0A0F1C;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  opacity: 0.92;
}

.btn-primary.btn-sm {
  font-size: 0.85rem;
  padding: 0.55rem 1.25rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-1);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--border);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--gold);
  color: #0A0F1C;
  transform: translateY(-2px);
}

/* ── 8. CARDS ────────────────────────────────────────────── */
.card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.card-hover {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.glass-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
}

/* ── 9. BADGES / PILLS ───────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.badge-gold  { background: var(--gold-dim); color: var(--gold); border: 1px solid var(--border-gold); }
.badge-green { background: rgba(64, 145, 108, 0.15); color: var(--green-bright); border: 1px solid rgba(64,145,108,0.3); }
.badge-blue  { background: rgba(59,130,246,0.1); color: #60A5FA; border: 1px solid rgba(59,130,246,0.3); }
.badge-gray  { background: var(--border); color: var(--text-2); }

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  background: var(--border);
  color: var(--text-2);
}

/* ── 10. HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero-sm {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 4rem;
  background: var(--bg-1);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(27,67,50,0.4) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(176,141,87,0.15) 0%, transparent 55%),
              radial-gradient(ellipse at 60% 80%, rgba(10,15,28,0.8) 0%, transparent 70%),
              var(--bg-1);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(27,67,50,0.8) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(176,141,87,0.5) 0%, transparent 70%);
  bottom: -80px;
  right: 10%;
  animation-delay: 4s;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(64,145,108,0.1);
  border: 1px solid rgba(64,145,108,0.3);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--green-bright);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  animation: pulse 2s infinite;
}

.hero h1 em, .hero-center h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.hero-center .hero-cta { justify-content: center; }

.hero-sub {
  font-size: 1.1rem;
  max-width: 620px;
  color: var(--text-2);
}

.hero-center .hero-sub { margin-left: auto; margin-right: auto; }

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-3);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

.scroll-hint svg { width: 20px; height: 20px; }

/* ── 11. STATS BAR ───────────────────────────────────────── */
.stats-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 1rem 2rem;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-2);
  font-weight: 500;
}

/* ── 12. SERVICE CARDS ───────────────────────────────────── */
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
}

.service-icon svg { width: 24px; height: 24px; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.bento-large {
  grid-column: span 1;
  grid-row: span 2;
}

.service-card-bento {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  height: 100%;
}

.service-card-bento:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.service-card-bento h3 { margin-bottom: 0.75rem; }
.service-card-bento p  { font-size: 0.9rem; }

/* ── 13. PROJECT / PORTFOLIO CARDS ───────────────────────── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card:hover .project-overlay { opacity: 1; }
.project-card:hover .project-img img { transform: scale(1.05); }

.project-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,28,0.85) 0%, rgba(10,15,28,0.2) 60%, transparent 100%);
}

.project-body {
  padding: 1.5rem;
  background: var(--bg-3);
}

.project-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.project-body p  { font-size: 0.85rem; margin-bottom: 1rem; }

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-3);
}

.project-meta span::before { content: '•'; margin-right: 0.35rem; }
.project-meta span:first-child::before { content: ''; margin: 0; }

.project-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--border);
  color: var(--text-2);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold-dim);
  color: var(--gold);
  border-color: var(--border-gold);
}

/* ── 14. TIMELINE ────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--green-bright));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg-1);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.timeline-item h4 { margin-bottom: 0.25rem; }
.timeline-item p  { font-size: 0.88rem; margin: 0; }

/* ── 15. PROGRESS BARS ───────────────────────────────────── */
.skill-bar {
  margin-bottom: 1.25rem;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.skill-bar-header span:first-child { font-weight: 500; color: var(--text-1); }
.skill-bar-header span:last-child  { color: var(--gold); font-weight: 600; }

.progress-track {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-bright), var(--gold));
  border-radius: 999px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 16. TECHNOLOGY / TERMINAL ───────────────────────────── */
.terminal {
  background: var(--code-bg);
  border: 1px solid rgba(57,211,83,0.2);
  border-radius: 16px;
  overflow: hidden;
}

.terminal-bar {
  background: rgba(255,255,255,0.04);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.red    { background: #FF5F57; }
.terminal-dot.yellow { background: #FFBD2E; }
.terminal-dot.green  { background: #28CA41; }

.terminal-title {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-left: 0.5rem;
  font-family: 'Courier New', monospace;
}

.terminal-body {
  padding: 1.5rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--code-text);
  overflow-x: auto;
}

.terminal-body .cmd   { color: #60A5FA; }
.terminal-body .ok    { color: var(--code-text); }
.terminal-body .warn  { color: #FBBF24; }
.terminal-body .info  { color: var(--text-2); }
.terminal-body .cursor::after {
  content: '|';
  animation: blink 1s step-end infinite;
}

/* Architecture diagram */
.arch-diagram {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  overflow-x: auto;
}

.arch-node {
  display: inline-block;
  background: rgba(176,141,87,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

.arch-node.green-node {
  background: rgba(64,145,108,0.1);
  border-color: rgba(64,145,108,0.4);
  color: var(--green-bright);
}

.arch-node.blue-node {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.4);
  color: #60A5FA;
}

.arch-arrow { color: var(--text-3); margin: 0 0.25rem; }

/* Pipeline stages */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pipeline-step {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  position: relative;
}

.pipeline-step.complete { border-color: rgba(64,145,108,0.4); }
.pipeline-step.dev      { border-color: var(--border-gold); }

.pipeline-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 0.5rem;
  font-family: 'Courier New', monospace;
}

.pipeline-step h5 { font-size: 0.9rem; margin-bottom: 0.35rem; }
.pipeline-step p  { font-size: 0.8rem; }

.status-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  display: inline-block;
  margin-top: 0.75rem;
}

.status-complete { background: rgba(64,145,108,0.15); color: var(--green-bright); }
.status-dev      { background: var(--gold-dim); color: var(--gold); }

/* ── 17. TESTIMONIALS / SWIPER ───────────────────────────── */
.testimonial-section { overflow: hidden; }

.testimonial-swiper {
  width: 100%;
  padding-bottom: 3rem !important;
}

.testimonial-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  height: auto !important;
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-1);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--green-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #0A0F1C;
  flex-shrink: 0;
}

.author-info .name { font-weight: 600; font-size: 0.95rem; color: var(--text-1); }
.author-info .role { font-size: 0.82rem; color: var(--text-2); }

.swiper-pagination-bullet {
  background: var(--border) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active { background: var(--gold) !important; }

/* ── 18. CONTACT FORM ────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-1);
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-control::placeholder { color: var(--text-3); }

select.form-control option {
  background: var(--bg-2);
  color: var(--text-1);
}

.form-success {
  display: none;
  background: rgba(64,145,108,0.1);
  border: 1px solid rgba(64,145,108,0.3);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  color: var(--green-bright);
}

.form-success.visible { display: block; }

/* FAQ Accordion (CSS-only) */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-item input[type="checkbox"] { display: none; }

.faq-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-1);
  transition: background 0.2s;
  -webkit-user-select: none;
  user-select: none;
}

.faq-label:hover { background: var(--border); }

.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item input:checked ~ .faq-label .faq-icon { transform: rotate(45deg); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item input:checked ~ .faq-body { max-height: 400px; }

.faq-body p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(176,141,87,0.15) 0%, rgba(27,67,50,0.2) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
}

.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p  { max-width: 560px; margin: 0 auto 2rem; }
.cta-banner .hero-cta { justify-content: center; }

/* Standards / ISO grid */
.iso-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.iso-badge {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  transition: border-color 0.2s, color 0.2s;
}

.iso-badge:hover { border-color: var(--gold); color: var(--gold); }

/* Portrait placeholder */
.portrait-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--bg-3) 0%, rgba(176,141,87,0.1) 100%);
  border: 2px solid var(--border-gold);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.portrait-initials {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.8;
}

/* Why cards */
.why-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
  text-align: center;
}

.why-card:hover { border-color: var(--border-gold); transform: translateY(-4px); }

.why-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gold);
}

.why-icon svg { width: 26px; height: 26px; }

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
}

.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0A0F1C;
  margin: 0 auto 1.25rem;
}

/* Contact info cards */
.contact-info-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.contact-info-card:hover { border-color: var(--border-gold); }

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--gold-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-icon svg { width: 18px; height: 18px; }

.contact-info-card h5 { font-size: 0.82rem; color: var(--text-2); margin-bottom: 0.3rem; font-weight: 500; }
.contact-info-card a, .contact-info-card p { font-size: 0.9rem; font-weight: 500; color: var(--text-1); margin: 0; }
.contact-info-card a:hover { color: var(--gold); }

/* Credentials */
.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Video placeholder */
.video-placeholder {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}

.play-icon {
  width: 60px;
  height: 60px;
  background: var(--gold-dim);
  border: 2px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

/* Software stack badges */
.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stack-badge {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.2s;
}

.stack-badge:hover { border-color: var(--border-gold); color: var(--gold); }

/* Platform stats */
.platform-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.platform-stat {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.platform-stat .stat-number {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

/* ── 19. ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(64,145,108,0.6); }
  50%       { box-shadow: 0 0 0 8px rgba(64,145,108,0); }
}

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

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── 20. PAGE-SPECIFIC LAYOUT HELPERS ───────────────────── */

/* about.html — two-col portrait/narrative */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

/* about.html / services.html — two-col equal */
.two-col-start {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* services.html — two-col centered */
.two-col-center {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* services.html — inner mini-grid */
.mini-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* about.html — mission card icon centered */
.mission-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gold);
}

.mission-icon svg { width: 26px; height: 26px; }

/* technology.html hero override */
.hero-sm-code { background: var(--bg-1); }

/* about.html skills section two-col */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* services.html — inner card */
.service-detail-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

/* contact.html */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.office-hours-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.office-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.office-hours-row:last-child { border-bottom: none; }
.office-hours-row span:first-child { color: var(--text-2); }
.office-hours-row span:last-child  { color: var(--text-1); font-weight: 500; }

/* portfolio.html — video placeholders grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* technology.html — floor-plan converter box */
.converter-box {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
}

.converter-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.converter-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.converter-node-icon {
  width: 80px;
  height: 100px;
  background: var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
}

.converter-node-icon.ai-node {
  width: 80px;
  height: 80px;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  color: var(--gold);
}

.converter-node-icon.output-node {
  background: rgba(64,145,108,0.1);
  border: 1px solid rgba(64,145,108,0.3);
  color: var(--green-bright);
}

.converter-node-icon svg { width: 32px; height: 32px; }

.converter-arrow { color: var(--gold); font-size: 1.5rem; }

.converter-label { font-size: 0.75rem; }
.converter-label.label-gold  { color: var(--gold); }
.converter-label.label-green { color: var(--green-bright); }
.converter-label.label-muted { color: var(--text-3); }

/* architecture diagram in technology.html */
.arch-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.arch-col-group {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.arch-arrow-down { color: var(--text-3); }
.arch-hint {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  color: var(--text-3);
  font-size: 0.78rem;
  line-height: 1.8;
  font-family: 'Courier New', monospace;
}

@media (max-width: 1024px) {
  .about-story-grid,
  .two-col-start,
  .two-col-center,
  .skills-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .mini-grid-2  { grid-template-columns: 1fr; }
  .video-grid   { grid-template-columns: 1fr; }
}

/* ── 21. COMPONENT HELPERS (replaces inline styles) ─────── */

/* Checklist items used in services / technology pages */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-2);
}

.check-list li .check-icon {
  width: 16px;
  height: 16px;
  color: var(--green-bright);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Inline icon sizing — applied to <i> tags rendered by Lucide */
.icon-sm,
.icon-sm svg { width: 16px; height: 16px; display: inline-block; vertical-align: middle; }
.icon-md,
.icon-md svg { width: 24px; height: 24px; display: inline-block; vertical-align: middle; }
.icon-lg,
.icon-lg svg { width: 32px; height: 32px; display: inline-block; vertical-align: middle; }

/* Grid with small gap */
.grid-2-sm { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Contact info card — anchor version */
.contact-info-link {
  display: flex;
  text-decoration: none;
}

/* About page — mission icon centred above heading */
.mission-icon-center {
  width: 56px;
  height: 56px;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gold);
}

.mission-icon-center svg { width: 26px; height: 26px; }

/* Form submit full-width centered */
.btn-submit {
  width: 100%;
  justify-content: center;
}

/* FAQ max-width wrapper */
.faq-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

/* Success icon */
.success-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* Flex wrap for badges */
.badge-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

/* Lucide icon inline in list items */
.list-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  color: var(--green-bright);
  margin-right: 0.4rem;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Architecture diagram text helpers */
.arch-muted { color: var(--text-3); text-align: center; }
.arch-hint-text {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  color: var(--text-3);
  font-size: 0.78rem;
  line-height: 1.8;
  font-family: 'Courier New', monospace;
}

/* Two-col grid with 2rem gap */
.grid-2-tight { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* Service detail cards */
.detail-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.detail-card h5 { color: var(--gold); margin-bottom: 0.3rem; }

/* Inner card variants */
.card-bg1 { background: var(--bg-1); }
.card-bg3 { background: var(--bg-3); }

/* Stack grid centered */
.stack-grid-center {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ISO grid left-aligned */
.iso-grid-start {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

/* Timeline highlight dot */
.timeline-dot-highlight {
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.3);
}

/* Play icon sizing */
.play-icon svg { width: 24px; height: 24px; }

/* Social icon sizing */
.social-icon-sm { width: 16px; height: 16px; }

@media (max-width: 768px) {
  .grid-2-sm, .grid-2-tight { grid-template-columns: 1fr; }
}

/* ── 22. UTILITIES ───────────────────────────────────────── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.rounded  { border-radius: 12px; }
.rounded-lg { border-radius: 16px; }

/* ── 21. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4         { grid-template-columns: repeat(2, 1fr); }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .platform-stats { grid-template-columns: repeat(2, 1fr); }
  .pipeline-grid  { grid-template-columns: repeat(2, 1fr); }
  .process-grid   { grid-template-columns: repeat(2, 1fr); }
  .bento-grid     { grid-template-columns: repeat(2, 1fr); }
  .bento-large    { grid-column: span 1; grid-row: span 1; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2), .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .section, .section-alt, .section-dark { padding: 4rem 0; }
  .hero { padding: 6rem 0 4rem; }
  .hero-sm { padding: 6rem 0 3rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-1);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 999;
    padding: 2rem;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .platform-stats { grid-template-columns: 1fr 1fr; }
  .pipeline-grid  { grid-template-columns: 1fr 1fr; }
  .process-grid   { grid-template-columns: 1fr; }
  .project-grid   { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .cta-banner     { padding: 2.5rem 1.5rem; }
  .hero-cta       { flex-direction: column; }
  .btn-primary, .btn-secondary, .btn-outline { width: 100%; justify-content: center; }
  .filter-bar     { gap: 0.5rem; }
  .stat-item      { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ============================================================
   RENCOP — Additional Styles (added 2026-06-24)
   ============================================================ */

/* ── EQUAL SERVICES GRID (Home) ── */
.services-equal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  border-color: var(--gold);
}
.svc-card-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.svc-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(10,15,28,0.6));
}
.svc-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.svc-card-body .svc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(176,141,87,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.svc-card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-1);
  margin: 0;
}
.svc-card-body p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 1024px) {
  .services-equal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-equal-grid { grid-template-columns: 1fr; }
}

/* ── ABOUT SPLIT ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-split-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1.25rem; }
.about-split-text p { color: var(--text-2); line-height: 1.8; margin-bottom: 1rem; }
.about-img-card { border-radius: 1.25rem; overflow: hidden; border: 1px solid var(--border); }
.about-img-placeholder {
  background: var(--bg-3);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.about-img-inner {
  text-align: center;
  color: var(--text-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.about-img-icon { color: var(--gold); }
.about-img-inner p { font-size: 0.875rem; max-width: 260px; line-height: 1.6; }
@media (max-width: 768px) { .about-split { grid-template-columns: 1fr; gap: 2rem; } }

/* ── DIFFER GRID ── */
.differ-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.differ-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.differ-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.differ-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(176,141,87,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 1rem;
}
.differ-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.differ-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }
@media (max-width: 640px) { .differ-grid { grid-template-columns: 1fr; } }

/* ── CAPABILITY GRID ── */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.capability-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s;
}
.capability-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.cap-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(176,141,87,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 1rem;
}
.capability-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.capability-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }
@media (max-width: 768px) { .capability-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .capability-grid { grid-template-columns: 1fr; } }

/* ── VIDEO PLACEHOLDER GRID ── */
.video-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.video-placeholder-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: border-color 0.3s, transform 0.3s;
}
.video-placeholder-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.video-play { color: var(--gold); }
.video-play svg { width: 48px; height: 48px; }
.video-placeholder-card h3 { font-size: 1rem; font-weight: 600; }
.video-placeholder-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }
@media (max-width: 640px) { .video-placeholder-grid { grid-template-columns: 1fr; } }

/* ── SERVICE PHOTO ── */
.service-img-card { border-radius: 1rem; overflow: hidden; border: 1px solid var(--border); }
.service-photo { width: 100%; height: 300px; object-fit: cover; display: block; }
.service-img-label { padding: 0.6rem 1rem; font-size: 0.78rem; color: var(--text-muted); background: var(--card); }
.service-photo-inline { width: 100%; height: 220px; object-fit: cover; display: block; border-radius: 0.5rem; }
.about-site-photo { width: 100%; height: 380px; object-fit: cover; display: block; border-radius: 1rem; }

/* ── REVIEW CTA ── */
.review-cta-text { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }

/* ── SOFTWARE DETAIL GRID ── */
.software-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.sw-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}
.sw-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.sw-name { font-weight: 700; font-size: 0.95rem; color: var(--gold); margin-bottom: 0.75rem; }
.sw-use { font-size: 0.85rem; color: var(--text-2); line-height: 1.65; }
@media (max-width: 1024px) { .software-detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .software-detail-grid { grid-template-columns: 1fr; } }

/* ── BTN-SM variant for outline ── */
.btn-outline.btn-sm {
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
}

/* ── CONTACT DETAIL inside card (no anchor wrapper) ── */
.contact-detail h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* ── SERVICE TAGS row ── */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
