/* ═══════════════════════════════════════════════════════════
   FOLIO — DESIGN SYSTEM
   Shared across all pages: index, services, work, about, contact
═══════════════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── TOKENS ── */
:root {
  /* Palette — warm dark + electric green */
  --bg:           #0A0A0B;
  --bg-2:         #131316;
  --bg-3:         #1A1A1E;
  --bg-4:         #232328;
  --fg:           #F4F1E8;       /* warm off-white */
  --fg-mute:      rgba(244,241,232,0.55);
  --fg-dim:       rgba(244,241,232,0.32);
  --fg-faint:     rgba(244,241,232,0.10);
  --accent:       #39D353;       /* electric green */
  --accent-dim:   rgba(57,211,83,0.14);
  --accent-mid:   rgba(57,211,83,0.4);
  --gold:         #D4B068;       /* warm gold for lux moments */
  --red:          #EF4444;
  --amber:        #F59E0B;
  --border:       rgba(244,241,232,0.10);
  --border-mid:   rgba(244,241,232,0.18);
  --accent-rgb:   57,211,83;

  /* Typography */
  --serif:        'Fraunces', 'Times New Roman', serif;
  --sans:         'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:         'JetBrains Mono', 'Courier New', monospace;

  /* Layout */
  --max:          1280px;
  --max-narrow:   960px;
  --pad-x:        clamp(20px, 4vw, 48px);
  --pad-y:        clamp(40px, 6vw, 80px);

  --r:            4px;
  --r-lg:         12px;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── BODY ── */
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv01', 'cv02';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Ambient amber glow (warm vignette) */
body::before {
  content: '';
  position: fixed;
  top: -250px; left: -200px;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,140,40,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variation-settings: 'SOFT' 30, 'WONK' 0, 'opsz' 144;
}
h1 { font-size: clamp(48px, 8vw, 112px); font-weight: 300; }
h2 { font-size: clamp(36px, 5.5vw, 72px); font-weight: 300; }
h3 { font-size: clamp(24px, 3vw, 36px); font-weight: 400; }
h4 { font-size: clamp(18px, 2vw, 22px); font-weight: 500; }

.italic { font-style: italic; font-variation-settings: 'SOFT' 100, 'opsz' 144; color: var(--accent); }
em.italic { color: var(--accent); }
.accent-color { color: var(--accent); }
.gold-color { color: var(--gold); }

p { font-family: var(--sans); }

/* ── LAYOUT HELPERS ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}
.container-narrow {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
section { padding: var(--pad-y) 0; position: relative; z-index: 1; }
.divider { height: 1px; background: var(--border); width: 100%; }
.section-divider {
  border-top: 1px solid var(--border);
  padding-top: var(--pad-y);
}

/* ── SECTION LABEL (numbered) ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION (shared)
═══════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--fg);
  font-variation-settings: 'SOFT' 30, 'opsz' 144;
}
.nav-logo .dot { color: var(--accent); }
.nav-logo .italic-mark { font-style: italic; color: var(--accent); }

.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--fg-mute);
  padding: 8px 14px;
  letter-spacing: -0.005em;
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--fg);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-clock {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 1px;
}
.nav-cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--fg);
  padding: 10px 20px;
  border: 1px solid var(--border-mid);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.3s var(--ease);
  border-radius: 999px;
}
.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 24px rgba(57,211,83,0.18);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 16px 28px;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  color: var(--fg);
}
.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 28px rgba(57,211,83,0.15);
}
.btn-accent {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
  box-shadow: 0 0 28px rgba(244,241,232,0.15);
}
.btn-ghost {
  border: none;
  padding: 16px 0;
  color: var(--fg-mute);
}
.btn-ghost:hover {
  color: var(--fg);
  background: transparent;
  box-shadow: none;
}
.btn-ghost::after { content: '→'; transition: transform 0.25s var(--ease); }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn:focus-visible,
.btn-accent:focus-visible,
.btn-ghost:focus-visible,
.nav-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════
   HASHTAG STRIP (dynamic)
═══════════════════════════════════════════════════════════ */
.hash-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  z-index: 2;
  background: var(--bg);
  margin-top: clamp(32px, 4vw, 56px);
}
.hash-track {
  display: flex;
  white-space: nowrap;
  animation: scroll-x 32s linear infinite;
  gap: 0;
}
.hash-track:hover { animation-play-state: paused; }
.hash-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--fg);
  padding: 0 22px;
  flex-shrink: 0;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
}
.hash-item .hash { color: var(--accent); font-family: var(--mono); font-style: normal; font-size: 18px; margin-right: 4px; vertical-align: 1px; }
.hash-item .sep { color: var(--fg-dim); margin: 0 8px; }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hash-strip .hash-track { animation: none; }
  .reveal { transition: none; }
  .city-rotator .city-item { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   CODE TERMINAL (hero animation)
═══════════════════════════════════════════════════════════ */
.codebox {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-family: var(--mono);
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(57,211,83,0.04);
}
.codebox-header {
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.codebox-tabs {
  display: flex;
  gap: 6px;
}
.codebox-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(244,241,232,0.15);
}
.codebox-dot.r { background: rgba(239,68,68,0.7); }
.codebox-dot.y { background: rgba(245,158,11,0.7); }
.codebox-dot.g { background: rgba(57,211,83,0.7); }
.codebox-file {
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.5px;
}
.codebox-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.codebox-status .live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.codebox-body {
  padding: 22px 26px;
  font-size: 13px;
  line-height: 1.85;
  min-height: 340px;
  color: var(--fg-mute);
  position: relative;
}
.code-line {
  display: block;
  white-space: pre;
}
.code-line .ln {
  display: inline-block;
  width: 28px;
  color: var(--fg-faint);
  text-align: right;
  margin-right: 16px;
  user-select: none;
}
.tag       { color: #FF7B72; }
.attr      { color: #79C0FF; }
.str       { color: var(--accent); }
.num       { color: #FFA657; }
.kw        { color: #FF7B72; }
.com       { color: var(--fg-dim); font-style: italic; }
.fn        { color: #D2A8FF; }
.prop      { color: #79C0FF; }
.val       { color: var(--fg); }
.cursor    {
  display: inline-block;
  width: 8px; height: 16px;
  background: var(--accent);
  vertical-align: -3px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Scanline overlay */
.codebox::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(57,211,83,0.018) 2px,
    rgba(57,211,83,0.018) 4px
  );
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   GRID PATTERNS
═══════════════════════════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.grid-3 > * { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 36px; }
.grid-3 > *:nth-child(3n) { border-right: none; }
.grid-3 > *:nth-last-child(-n+3) { border-bottom: none; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.grid-4 > * { border-right: 1px solid var(--border); padding: 36px 32px; }
.grid-4 > *:nth-child(4n) { border-right: none; }

/* ═══════════════════════════════════════════════════════════
   STAT TILES
═══════════════════════════════════════════════════════════ */
.stat-num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  color: var(--fg);
}
.stat-num .accent-color { font-style: italic; font-variation-settings: 'SOFT' 100, 'opsz' 144; }
.stat-label {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--fg-mute);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   CASE STUDY CARD
═══════════════════════════════════════════════════════════ */
.case-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-mid);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--accent-dim);
}
.case-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.case-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 28px,
    rgba(244,241,232,0.025) 28px,
    rgba(244,241,232,0.025) 29px
  );
}
.case-thumb-tag {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  z-index: 1;
}
.case-thumb-mock {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  font-style: italic;
  color: var(--fg);
  letter-spacing: -0.03em;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  position: relative;
  z-index: 1;
  text-align: center;
}
.case-body {
  padding: 28px 30px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.case-industry {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.case-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.case-desc {
  font-size: 14px;
  color: var(--fg-mute);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}
.case-results {
  display: flex;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.case-stat .v {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
}
.case-stat .l {
  font-size: 11px;
  color: var(--fg-dim);
  margin-top: 6px;
  letter-spacing: 0.2px;
}

/* ═══════════════════════════════════════════════════════════
   PRICING CARD (editorial lux)
═══════════════════════════════════════════════════════════ */
.price-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 36px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.price-card:hover {
  border-color: var(--border-mid);
}
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(57,211,83,0.05) 0%, var(--bg-2) 100%);
}
.price-card.featured::before {
  content: 'Most chosen';
  position: absolute;
  top: -12px; left: 36px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-tier {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 18px;
}
.price-name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.price-name .italic { color: var(--accent); }
.price-amount {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1;
  margin-top: 28px;
  margin-bottom: 4px;
}
.price-amount .sub {
  font-size: 18px;
  color: var(--fg-mute);
  font-weight: 300;
  font-variation-settings: 'SOFT' 100;
}
.price-timeline {
  font-size: 13px;
  color: var(--fg-mute);
  margin-bottom: 30px;
}
.price-list {
  margin-bottom: 32px;
  flex: 1;
}
.price-list li {
  font-size: 14px;
  color: var(--fg);
  padding: 11px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.price-list li:first-child { border-top: none; }
.price-list li::before {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIAL
═══════════════════════════════════════════════════════════ */
.testimonial {
  padding: 48px 40px;
  background: var(--bg-2);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.testimonial-quote {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin-bottom: 32px;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
}
.testimonial-quote::before { content: '"'; color: var(--accent); margin-right: 4px; }
.testimonial-quote::after { content: '"'; color: var(--accent); margin-left: 2px; }
.testimonial-author {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--fg);
  font-weight: 500;
}
.testimonial-meta {
  font-size: 12px;
  color: var(--fg-mute);
  margin-top: 3px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.footer-brand .nav-logo { font-size: 40px; display: block; margin-bottom: 18px; }
.footer-tagline {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
  color: var(--fg-mute);
  line-height: 1.4;
  max-width: 320px;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
}
.footer-col-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer-list li {
  font-size: 14px;
  color: var(--fg-mute);
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-list li a:hover { color: var(--fg); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ═══════════════════════════════════════════════════════════
   CITY ROTATOR — width-stable, never reflows the headline
═══════════════════════════════════════════════════════════ */
.city-rotator {
  display: inline-grid;
  vertical-align: baseline;
  position: relative;
  color: var(--accent);
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  min-width: 0;
}
.city-rotator > * { grid-area: 1 / 1; }
.city-spacer { visibility: hidden; pointer-events: none; user-select: none; }
.city-active {
  animation: city-cycle 0.6s var(--ease);
  will-change: opacity, transform, filter;
}
.city-rotator::after { content: none; }
@keyframes city-cycle {
  0%   { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* ═══════════════════════════════════════════════════════════
   GLASS DISPLAY — hero right column premium floating screen
═══════════════════════════════════════════════════════════ */

.hero-grid { align-items: center; }
.hero-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 0;
}

/* Outer wrapper */
.gd {
  position: relative;
  width: 100%;
  isolation: isolate;
}

/* Soft ambient pool — barely-there green breath behind the glass */
.gd-atmos {
  position: absolute;
  inset: -20% -8% -20% 4%;
  background: radial-gradient(60% 44% at 50% 52%,
    rgba(57,211,83,0.11) 0%,
    rgba(57,211,83,0.04) 55%,
    transparent 78%);
  filter: blur(56px);
  pointer-events: none;
  z-index: 0;
}


/* ── APPLE-STYLE TRANSPARENT THICK GLASS ── */
.gd-screen {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10.8;
  border-radius: 20px;
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
  overflow: hidden;

  /* Zero fill — glass is completely clear, only rim and backdrop betray the material */
  background: rgba(255, 255, 255, 0.000);
  backdrop-filter: blur(3px) saturate(1.06) brightness(1.15);
  -webkit-backdrop-filter: blur(3px) saturate(1.06) brightness(1.15);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 30px rgba(255,255,255,0.02),
    0 0 0 1px rgba(255,255,255,0.18),
    0 0 0 3px rgba(57,211,83,0.18),
    0 0 0 6px rgba(0,0,0,0.50),
    0 0 16px rgba(57,211,83,0.09),
    0 0 44px rgba(57,211,83,0.04),
    0 28px 56px rgba(0,0,0,0.60),
    0 56px 112px rgba(0,0,0,0.36),
    0 112px 160px rgba(0,0,0,0.16);

}


/* Glass face — top shine only. Barely-there so cards read clearly through. */
.gd-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  z-index: 28;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.06) 0%,
    rgba(255,255,255,0.01) 5%,
    rgba(255,255,255,0.004) 40%,
    transparent 100%);
  box-shadow:
    inset 0 0 0 12px rgba(255,255,255,0.018),
    inset 0 1px 0 rgba(255,255,255,0.30);
}

/* Primary light streak — wide, slow, very subtle */
.gd-screen::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -85%;
  width: 55%;
  background: linear-gradient(108deg,
    transparent 28%,
    rgba(255,255,255,0.012) 46%,
    rgba(255,255,255,0.024) 50%,
    rgba(255,255,255,0.012) 54%,
    transparent 72%);
  animation: gd-streak-main 20s ease-in-out infinite 2s;
  pointer-events: none;
  z-index: 26;
}

@keyframes gd-streak-main {
  0%, 100% { left: -85%; opacity: 0; }
  6%        { opacity: 1; }
  60%       { left: 130%; opacity: 1; }
  66%, 99%  { left: 130%; opacity: 0; }
}

/* Secondary fine streaks — offset timing for organic feel */
.gd-streak {
  position: absolute;
  top: 0; bottom: 0;
  width: 30%;
  background: linear-gradient(108deg,
    transparent 34%,
    rgba(255,255,255,0.007) 47%,
    rgba(255,255,255,0.013) 50%,
    rgba(255,255,255,0.007) 53%,
    transparent 66%);
  pointer-events: none;
  z-index: 26;
}
.gd-streak-a { left: -38%; animation: gd-streak-a 26s ease-in-out infinite 10s; }
.gd-streak-b { left: -24%; animation: gd-streak-b 22s ease-in-out infinite 0s; }

@keyframes gd-streak-a {
  0%, 100% { left: -38%; opacity: 0; }
  8%  { opacity: 0.85; }
  62% { left: 130%; opacity: 0.85; }
  70%, 99% { left: 130%; opacity: 0; }
}
@keyframes gd-streak-b {
  0%, 100% { left: -24%; opacity: 0; }
  5%  { opacity: 0.65; }
  52% { left: 130%; opacity: 0.65; }
  60%, 99% { left: 130%; opacity: 0; }
}

/* Holographic shimmer — barely-there colour-shift over the surface */
.gd-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    transparent 0%,
    rgba(57,211,83,0.006) 22%,
    transparent 44%,
    rgba(120,170,255,0.004) 66%,
    transparent 88%,
    rgba(57,211,83,0.005) 100%);
  background-size: 400% 400%;
  animation: gd-shimmer-pan 16s ease-in-out infinite;
  pointer-events: none;
  z-index: 27;
  mix-blend-mode: screen;
}

@keyframes gd-shimmer-pan {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── PORTFOLIO MOSAIC ── sits inside the glass bezel */
.gd-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 0.82fr;
  grid-template-rows: repeat(3, 1fr);
  grid-template-areas:
    "c1 c1 c2 c3"
    "c4 c5 c5 c6"
    "c7 c7 c8 logo";
  gap: 2px;
  /* 12px padding = the visible glass bezel between card area and rim */
  padding: 12px;
  z-index: 1;
  overflow: hidden; /* cards never escape the glass boundary */
}


/* Grid area assignments */
.gd-c1   { grid-area: c1; }
.gd-c2   { grid-area: c2; }
.gd-c3   { grid-area: c3; }
.gd-c4   { grid-area: c4; }
.gd-c5   { grid-area: c5; }
.gd-c6   { grid-area: c6; }
.gd-c7   { grid-area: c7; }
.gd-c8   { grid-area: c8; }
.gd-logo-block { grid-area: logo; }

/* ── Base card ── */
.gd-card {
  position: relative;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  color: var(--fg);
  font: inherit;
  text-align: left;
  outline: none;
  will-change: transform;
  transition:
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
.gd-card:hover {
  /* No scale, no translateY — card stays fully inside the glass.
     Apple-style: selection is shown with a crisp ring + brightness lift. */
  transform: none;
  box-shadow: inset 0 0 0 1.5px rgba(57,211,83,0.55);
  z-index: 10;
  filter: brightness(1.14) saturate(1.06);
}
.gd-card:focus-visible {
  outline: 1.5px solid rgba(57,211,83,0.65);
  outline-offset: 1px;
}

/* Bottom vignette for text legibility */
.gd-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.00) 0%,
    rgba(0,0,0,0.00) 32%,
    rgba(0,0,0,0.52) 70%,
    rgba(0,0,0,0.88) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Mini website UI mockup inside card */
.gd-card-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 6px 7px;
  z-index: 3;
  pointer-events: none;
}
.gd-card-topbar {
  display: flex;
  gap: 3px;
  align-items: center;
}
.gd-dot {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  display: block;
  flex-shrink: 0;
}
/* Headline text visible in upper card area */
.gd-card-hl {
  font-family: var(--serif);
  font-size: clamp(8px, 1.05vw, 14px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.72);
  font-variation-settings: 'SOFT' 30, 'opsz' 144;
  margin-top: 5px;
}
.gd-card-hl em {
  display: block;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
}

/* Metadata strip at card bottom */
.gd-card-foot {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 4px 7px 5px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  z-index: 4;
  pointer-events: none;
}
.gd-card-ind {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(57,211,83,0.82);
}
.gd-card-nm {
  font-family: var(--sans);
  font-size: 7.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.86);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tiny Folio mark — top right of every card */
.gd-fmark {
  position: absolute;
  top: 5px; right: 5px;
  font-family: var(--serif);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: rgba(57,211,83,0.52);
  z-index: 4;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  pointer-events: none;
}

/* ── Card backgrounds — cinematic layered gradients ── */

/* Deepak Products: dark navy-midnight, teal-blue glow, industrial precision */
.gd-deepak {
  background:
    radial-gradient(ellipse 115% 90% at 28% 18%, rgba(38,58,102,0.65) 0%, transparent 52%),
    radial-gradient(ellipse 70% 60% at 78% 82%, rgba(16,30,58,0.55) 0%, transparent 50%),
    radial-gradient(ellipse 55% 45% at 55% 50%, rgba(8,120,100,0.10) 0%, transparent 60%),
    linear-gradient(158deg, #1a2030 0%, #101520 50%, #080e14 100%);
}
/* Horizontal rule — evokes a precision-engineered product datasheet */
.gd-deepak::after {
  content: '';
  position: absolute;
  top: 38%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 6%,
    rgba(57,211,83,0.12) 28%,
    rgba(57,211,83,0.20) 55%,
    rgba(57,211,83,0.12) 78%,
    transparent 94%);
  pointer-events: none;
  z-index: 1;
}

/* Architecture: cool graphite, single diagonal light seam */
.gd-arch {
  background:
    linear-gradient(152deg, rgba(190,190,190,0.058) 0%, transparent 36%),
    linear-gradient(175deg, #171a1c 0%, #0d1012 48%, #080a0c 100%);
}
.gd-arch::after {
  content: '';
  position: absolute;
  top: 24%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 4%,
    rgba(255,255,255,0.10) 32%,
    rgba(255,255,255,0.16) 60%,
    transparent 96%);
  pointer-events: none;
  z-index: 1;
}

/* Restaurant: deep burgundy, central warmth */
.gd-resto {
  background:
    radial-gradient(ellipse 94% 80% at 50% 26%, rgba(92,16,26,0.52) 0%, transparent 64%),
    linear-gradient(165deg, #140508 0%, #0b0404 52%, #070304 100%);
}

/* SaaS: midnight with teal-blue ambient */
.gd-saas {
  background:
    radial-gradient(ellipse 102% 84% at 26% 20%, rgba(12,44,86,0.56) 0%, transparent 64%),
    radial-gradient(ellipse 56% 46% at 78% 78%, rgba(6,68,58,0.24) 0%, transparent 50%),
    linear-gradient(162deg, #040d18 0%, #020910 52%, #010408 100%);
}

/* Interior: warm terracotta stone */
.gd-interior {
  background:
    radial-gradient(ellipse 102% 80% at 32% 42%, rgba(82,46,16,0.48) 0%, transparent 58%),
    radial-gradient(ellipse 66% 56% at 78% 16%, rgba(118,72,24,0.26) 0%, transparent 50%),
    linear-gradient(157deg, #140c06 0%, #0b0805 52%, #060402 100%);
}

/* Tech startup: deep indigo with violet core */
.gd-tech {
  background:
    radial-gradient(ellipse 90% 74% at 50% 26%, rgba(44,16,92,0.54) 0%, transparent 64%),
    linear-gradient(162deg, #0c0618 0%, #07030f 52%, #040209 100%);
}

/* E-commerce: rich amber-black with warmth */
.gd-ecom {
  background:
    radial-gradient(ellipse 112% 90% at 26% 36%, rgba(130,72,6,0.37) 0%, transparent 58%),
    radial-gradient(ellipse 56% 46% at 84% 74%, rgba(72,34,4,0.30) 0%, transparent 46%),
    linear-gradient(157deg, #160e04 0%, #0d0904 52%, #060402 100%);
}

/* Creative agency: graphite with dusty rose depth */
.gd-agency {
  background:
    radial-gradient(ellipse 86% 70% at 56% 30%, rgba(52,24,42,0.44) 0%, transparent 58%),
    radial-gradient(ellipse 56% 46% at 26% 74%, rgba(26,16,36,0.36) 0%, transparent 50%),
    linear-gradient(148deg, #120a10 0%, #0b070c 52%, #060408 100%);
}

/* ── Logo block — fixed, pure black, no animation ── */
.gd-logo-block {
  background: #000000;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.gd-logo-block:hover {
  background: #0a1a0e;
  box-shadow: inset 0 0 0 1px rgba(57,211,83,0.35);
}
.gd-logo-text {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #ffffff;
  font-variation-settings: 'SOFT' 30, 'opsz' 144;
  line-height: 1;
  transition: color 0.22s var(--ease);
}
.gd-logo-block:hover .gd-logo-text { color: #e8f5ec; }
.gd-logo-text i {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
}

/* ── Snippet view (shown on card click) ── */
.gd-snippet-wrap {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: rgb(4, 6, 5);
  animation: gd-body-in 0.4s var(--ease);
}
@keyframes gd-body-in {
  from { opacity: 0; transform: scale(0.985); filter: blur(4px); }
  to   { opacity: 1; transform: scale(1);     filter: blur(0); }
}
.gd-back {
  align-self: flex-start;
  background: rgba(10,10,11,0.55);
  border: 1px solid rgba(244,241,232,0.10);
  color: var(--fg);
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.gd-back:hover { border-color: var(--accent); color: var(--accent); }
.gd-snippet-stage {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(10,10,11,0.30);
  border: 1px solid rgba(57,211,83,0.14);
  padding: 12px 14px;
  display: flex;
}
.gd-snippet-url {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  padding-bottom: 2px;
}
.gd-snippet-url span { color: var(--fg-dim); }

/* Snippet website preview content — reused from original design */
.snip { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 12px; font-family: var(--sans); color: var(--fg); }
.snip-nav { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid rgba(244,241,232,0.08); }
.snip-logo { font-family: var(--serif); font-size: 15px; font-weight: 500; letter-spacing: -0.02em; color: var(--fg); font-variation-settings: 'SOFT' 30, 'opsz' 144; }
.snip-logo em { font-style: italic; color: var(--accent); font-variation-settings: 'SOFT' 100, 'opsz' 144; }
.snip-navlinks { display: flex; gap: 12px; font-family: var(--mono); font-size: 9px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--fg-dim); }
.snip-hero { display: flex; flex-direction: column; gap: 6px; }
.snip-eyebrow { font-family: var(--mono); font-size: 9px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); }
.snip-hero h4 { font-family: var(--serif); font-size: 28px; line-height: 1.05; letter-spacing: -0.025em; font-weight: 300; color: var(--fg); font-variation-settings: 'SOFT' 30, 'opsz' 144; margin: 2px 0 0; }
.snip-hero h4 em { font-style: italic; color: var(--accent); font-variation-settings: 'SOFT' 100, 'opsz' 144; }
.snip-row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.snip-cta {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  color: var(--bg); background: var(--accent);
  padding: 6px 12px; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  transition: opacity 0.18s;
}
.snip-cta:hover { opacity: 0.88; }
.snip-meta { font-family: var(--mono); font-size: 10px; color: var(--fg-mute); }
.snip-sub { font-size: 11px; color: rgba(136,145,165,0.90); line-height: 1.55; margin: 2px 0 0; max-width: 95%; }
.snip-photos { margin-top: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 80px; gap: 8px; }
.snip-photo { border-radius: 8px; border: 1px solid rgba(244,241,232,0.06); }
.snip-photo.p1 { background: linear-gradient(135deg, #2a3a30, #0e1813); }
.snip-photo.p2 { background: linear-gradient(160deg, #3a3024, #16100a); }
.snip-photo.p3 { background: linear-gradient(135deg, #1c2330, #0b0f15); }

/* ── Deepak Products snippet — matches the actual site hero ── */
.snip-deepak {
  background:
    radial-gradient(ellipse 110% 80% at 20% 15%, rgba(38,58,102,0.55) 0%, transparent 55%),
    linear-gradient(158deg, #1a2030 0%, #101520 60%, #080e14 100%);
  border-radius: 8px;
  padding: 14px 16px;
  gap: 10px;
}
.snip-deepak .snip-nav {
  border-bottom-color: rgba(57,211,83,0.12);
}
.snip-deepak .snip-logo {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #E8EAF0;
  text-transform: uppercase;
}
.snip-deepak .snip-logo em { color: #39D353; font-style: normal; }
.snip-deepak .snip-eyebrow { color: #39D353; letter-spacing: 1.8px; }
.snip-deepak .snip-hero h4 {
  font-size: 24px;
  color: #E8EAF0;
  font-weight: 400;
}
.snip-deepak .snip-hero h4 em { color: #39D353; }
.snip-deepak .snip-sub { color: #8891A5; }
/* Divider line matching site's precision aesthetic */
.snip-deepak .snip-hero::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: #39D353;
  margin-bottom: 6px;
}
/* Stats bar at the bottom */
.dp-stats {
  display: flex;
  gap: 0;
  margin-top: auto;
  border-top: 1px solid rgba(57,211,83,0.12);
  padding-top: 10px;
}
.dp-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 12px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.dp-stat:last-child { border-right: none; padding-right: 0; }
.dp-v {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #39D353;
  line-height: 1;
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
}
.dp-l {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #8891A5;
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .gd-screen { aspect-ratio: 16 / 11.5; }
  .gd-mosaic {
    grid-template-columns: 1.2fr 1fr 0.85fr;
    grid-template-areas:
      "c1 c1 c3"
      "c5 c5 c6"
      "c7 c7 logo";
    gap: 2px;
    padding: 8px;
  }
  .gd-c2, .gd-c4, .gd-c8 { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   HOLOGRAPHIC GLOBE — Technologies page hero visual
═══════════════════════════════════════════════════════════ */
.holo-globe {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  isolation: isolate;
}
.holo-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 32px rgba(57,211,83,0.18)); }
.holo-meridians { transform-origin: 50% 50%; animation: holo-spin 28s linear infinite; }
@keyframes holo-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.holo-noise {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(57,211,83,0.03) 2px, rgba(57,211,83,0.03) 3px),
    radial-gradient(circle at 50% 50%, rgba(57,211,83,0.10) 0%, transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.holo-tags { position: absolute; inset: 0; pointer-events: none; }
.holo-tag {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--fg);
  background: rgba(10,10,11,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(57,211,83,0.35);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(57,211,83,0.18);
}
.holo-tag::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  vertical-align: 1px;
  box-shadow: 0 0 6px var(--accent);
}
.holo-tag-0 { top: 6%;  left: 12%; animation: holo-float 6s ease-in-out infinite; }
.holo-tag-1 { top: 22%; right: 4%; animation: holo-float 7s ease-in-out infinite reverse; }
.holo-tag-2 { bottom: 18%; left: 4%; animation: holo-float 8s ease-in-out infinite; }
.holo-tag-3 { bottom: 6%; right: 14%; animation: holo-float 9s ease-in-out infinite reverse; }
@keyframes holo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.holo-readout {
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.holo-readout-row { display: flex; align-items: center; gap: 8px; }
.holo-readout .holo-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: holo-pulse 1.6s ease-in-out infinite; }
@keyframes holo-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

/* ═══════════════════════════════════════════════════════════
   TECHNOLOGIES PAGE
═══════════════════════════════════════════════════════════ */
.page-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); }
.tech-hero { position: relative; overflow: hidden; padding-bottom: clamp(48px, 6vw, 80px); }
.tech-hero-glow {
  position: absolute;
  top: -120px; right: -160px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57,211,83,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.tech-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.tech-meta { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; gap: 36px; flex-wrap: wrap; }
.tech-meta > div { display: flex; flex-direction: column; gap: 4px; }
.tech-meta-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
  line-height: 1;
}
.tech-meta > div > span:last-child { font-size: 12px; color: var(--fg-mute); max-width: 160px; line-height: 1.5; }
.tech-hero-globe { display: flex; align-items: center; justify-content: center; }
.tech-block { padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--border); position: relative; }
.tech-block-alt { background: var(--bg-2); }
.tech-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-group-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 26px 14px;
  transition: border-color 0.3s var(--ease);
}
.tech-block-alt .tech-group-card { background: var(--bg); }
.tech-group-card:hover { border-color: var(--border-mid); }
.tech-group-card .tech-group-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.tech-items { list-style: none; padding: 0; margin: 0; }
.tech-item { display: grid; grid-template-columns: 1fr; padding: 14px 0; border-top: 1px solid var(--border); }
.tech-item:first-child { border-top: none; padding-top: 0; }
.tech-item-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin-bottom: 4px;
  font-variation-settings: 'SOFT' 30, 'opsz' 144;
  display: block;
}
.tech-item-accent .tech-item-name { color: var(--accent); font-style: italic; font-variation-settings: 'SOFT' 100, 'opsz' 144; }
.tech-item-body { font-size: 13px; color: var(--fg-mute); line-height: 1.55; }
.not-do-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.not-do-list { list-style: none; padding: 0; margin: 0; }
.not-do-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--border); align-items: start; }
.not-do-list li:first-child { border-top: none; padding-top: 0; }
.not-do-list strong { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--fg); display: block; margin-bottom: 4px; font-variation-settings: 'SOFT' 30, 'opsz' 144; }
.not-do-list li > div { font-size: 14px; color: var(--fg-mute); line-height: 1.65; }
.not-do-x { width: 28px; height: 28px; border-radius: 50%; background: rgba(239,68,68,0.10); color: rgba(239,68,68,0.85); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   INDUSTRIES PAGE
═══════════════════════════════════════════════════════════ */
.industries-hero { padding-bottom: clamp(48px, 6vw, 80px); }
.industries-section { padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--border); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.industry-card {
  background: var(--bg);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.25s var(--ease);
}
.industry-card:hover { background: var(--bg-2); }
.industry-head { display: flex; align-items: center; gap: 14px; }
.industry-num { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--accent); }
.industry-label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fg-dim); }
.industry-title { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin: 4px 0 0; font-variation-settings: 'SOFT' 30, 'opsz' 144; }
.industry-copy { font-size: 14px; color: var(--fg-mute); line-height: 1.7; max-width: 540px; }
.industry-examples { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.industry-examples li { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3px; color: var(--fg-mute); background: var(--bg-3); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; }
.industry-card:hover .industry-examples li { border-color: var(--border-mid); }
.industry-stat { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); display: flex; align-items: baseline; gap: 12px; }
.industry-stat-v { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--accent); font-variation-settings: 'SOFT' 100, 'opsz' 144; line-height: 1; }
.industry-stat-l { font-size: 12px; color: var(--fg-dim); }
.industries-tail { padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--border); }

/* ═══════════════════════════════════════════════════════════
   FORM INPUTS
═══════════════════════════════════════════════════════════ */
input[type="text"], input[type="email"], input[type="url"], textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, textarea:focus {
  border-color: var(--accent-mid);
  background: var(--bg);
}
input::placeholder { color: var(--fg-dim); }

/* Compare table */
.compare-cell { display: flex; align-items: center; gap: 10px; }
.compare-yes { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); font-size: 12px; flex-shrink: 0; }
.compare-no { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(244,241,232,0.04); color: var(--fg-dim); font-size: 12px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .nav-links a { padding: 8px 10px; font-size: 13px; }
}
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-3 > * { border-right: none; border-bottom: 1px solid var(--border); }
  .grid-3 > *:last-child { border-bottom: none; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-4 > *:nth-child(2n) { border-right: none; }
  .grid-4 > *:nth-child(-n+2) { border-bottom: 1px solid var(--border); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .tech-hero-grid { grid-template-columns: 1fr; }
  .tech-groups { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .not-do-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-clock { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-4 > * { border-right: none; border-bottom: 1px solid var(--border); }
  .grid-4 > *:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .testimonial { padding: 32px 26px; }
  .price-card { padding: 32px 26px; }
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 320px) {
  .container,
  .container-narrow { padding: 0 12px; }
}

/* ═══════════════════════════════════════════════════════════
   TERMINAL BOOT — inside .gd-screen
═══════════════════════════════════════════════════════════ */
.gd-terminal {
  position: absolute;
  inset: 0;
  background: #0D1117;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  overflow: hidden;
}
.gd-term-bar {
  height: 32px;
  background: #161B22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 7px;
  flex-shrink: 0;
}
.gd-term-dot { width: 11px; height: 11px; border-radius: 50%; }
.gd-term-dot:nth-child(1) { background: #FF5F56; }
.gd-term-dot:nth-child(2) { background: #FFBD2E; }
.gd-term-dot:nth-child(3) { background: #27C93F; }
.gd-term-title {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(244,241,232,0.35);
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.5px;
}
.gd-term-body {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(57,211,83,0.9);
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════
   INDUSTRY CARD — FEATURED VARIANT
═══════════════════════════════════════════════════════════ */
.industry-card--featured {
  background: linear-gradient(135deg, rgba(57,211,83,0.07) 0%, rgba(57,211,83,0.02) 100%);
  border-color: rgba(57,211,83,0.22);
}
.industry-card--featured:hover { background: linear-gradient(135deg, rgba(57,211,83,0.12) 0%, rgba(57,211,83,0.04) 100%); }

/* ═══════════════════════════════════════════════════════════
   BROWSER FRAME MOCKS — work.html case cards
═══════════════════════════════════════════════════════════ */
.case-thumb-browser {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.case-thumb-bar {
  height: 24px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  flex-shrink: 0;
}
.case-thumb-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.case-thumb-dot:nth-child(1) { background: rgba(255,95,86,0.6); }
.case-thumb-dot:nth-child(2) { background: rgba(255,189,46,0.6); }
.case-thumb-dot:nth-child(3) { background: rgba(39,201,63,0.6); }
.case-thumb-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.case-thumb-hl {
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
  text-align: center;
}
.case-thumb-hl em { color: var(--accent); font-style: italic; }

/* ═══════════════════════════════════════════════════════════
   BRAIN HOLOGRAM — tech.html
═══════════════════════════════════════════════════════════ */
.brain-map {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}
.brain-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.brain-branch-line {
  stroke: rgba(57,211,83,0.35);
  stroke-width: 1.2;
  fill: none;
  transition: stroke 0.2s, stroke-width 0.2s;
}
.brain-leaf-line {
  stroke: rgba(57,211,83,0.2);
  stroke-width: 0.8;
  fill: none;
  transition: stroke 0.2s;
}
.brain-branch-group:hover .brain-branch-line { stroke: rgba(57,211,83,0.75); stroke-width: 1.8; }
.brain-branch-group:hover .brain-leaf-line { stroke: rgba(57,211,83,0.45); }
.brain-branch-group:hover rect { stroke: rgba(57,211,83,0.55) !important; fill: rgba(57,211,83,0.14) !important; }
.brain-branch-group:hover text { fill: rgba(244,241,232,1) !important; }
.brain-ripple {
  animation: brain-pulse 3s ease-in-out infinite;
}
@keyframes brain-pulse {
  0%, 100% { r: 28; opacity: 1; }
  50% { r: 40; opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — glass display
═══════════════════════════════════════════════════════════ */
@media (max-width: 960px) { .gd-screen { max-height: 60vw; } }
