/* ============================================================
   GRAVIX STUDIO — style.css
   Game Studio Portfolio | cPanel Ready (No Build Step)
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg:          #F8F8F6;
  --dark:        #111314;
  --text:        #111314;
  --muted:       #6B7280;
  --accent:      #F37420;
  --accent-h:    #D85F10;
  --border:      #D8E2E7;
  --white:       #FFFFFF;
  --card-bg:     #FFFFFF;

  --font-head: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(17,19,20,.06), 0 1px 2px rgba(17,19,20,.04);
  --shadow-md: 0 4px 16px rgba(17,19,20,.08), 0 2px 6px rgba(17,19,20,.04);
  --shadow-lg: 0 20px 48px rgba(17,19,20,.12), 0 8px 16px rgba(17,19,20,.06);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --section-pad: clamp(64px, 8vw, 120px);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Typography Scale --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

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

.text-muted { color: var(--muted); }

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.section { padding: var(--section-pad) 0; }

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(243,116,32,0.10);
  border: 1px solid rgba(243,116,32,0.2);
  border-radius: 40px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  border-radius: 12.522px;
}
.btn-primary:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(243,116,32,.35);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  padding: 14px 20px;
}
.btn-ghost:hover { color: var(--accent); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248,248,246,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
  transform: translateY(0);
  will-change: transform;
  transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1), border-color var(--transition), box-shadow var(--transition);
}

#header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

#header.is-hidden {
  transform: translateY(-110%);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo svg { flex-shrink: 0; }

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--dark);
}

.logo-sub {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: auto;
  margin-right: auto;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  line-height: 1;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: rgba(17,19,20,.05);
}

.nav-cta { margin-left: 0; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

/* Mobile Menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px clamp(20px, 5vw, 48px) 20px;
  border-top: 1px solid var(--border);
  background: rgba(248,248,246,0.98);
}

.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-mobile a:hover { color: var(--text); background: rgba(17,19,20,.05); }
.nav-mobile .btn { margin-top: 8px; width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  padding: clamp(80px, 12vw, 160px) 0 clamp(64px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
}

.hero-accent-blob {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(243,116,32,.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

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

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243,116,32,.5); }
  50% { box-shadow: 0 0 0 8px rgba(243,116,32,0); }
}

.hero-kicker span {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-headline {
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero-headline em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.3;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* --- Hero stats (ikon + etiket) --- */
.hero-stats .stat-item {
  min-width: 220px;
  gap: 14px;
}
.hero-stats .stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(243,116,32,.12), rgba(243,116,32,.06));
  border: 1px solid rgba(243,116,32,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
}
.hero-stats .stat-icon i {
  font-size: 1.2rem;
  color: var(--accent);
}
.hero-stats .stat-label {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
}
.hero-stats .stat-sub {
  font-size: 0.875rem;
  color: var(--muted);
}


/* ============================================================
   ABOUT
   ============================================================ */
#about {
  background: var(--dark);
  color: var(--white);
  padding: var(--section-pad) 0;
  overflow: hidden;
  position: relative;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(243,116,32,.08) 0%, transparent 65%);
  pointer-events: none;
}

#about h2, #about h3, #about h4 { color: var(--white); }
#about p { color: rgba(255,255,255,0.72); }
#about .tag { color: var(--accent); background: rgba(243,116,32,.12); border-color: rgba(243,116,32,.25); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}

.about-lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.85) !important;
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-body p { margin-bottom: 20px; font-size: 0.9375rem; }

.about-values {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(243,116,32,.12);
  border: 1px solid rgba(243,116,32,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.value-text h4 { color: var(--white); margin-bottom: 4px; font-size: 0.9375rem; }
.value-text p { font-size: 0.875rem; color: rgba(255,255,255,.55) !important; margin: 0; }

.about-story {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 36px;
  height: 100%;
}

.about-story h3 { margin-bottom: 20px; font-size: 1.375rem; color: var(--white); }
.about-story p { font-size: 0.9375rem; margin-bottom: 16px; }

.story-timeline {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: 16px;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.1);
}

.tl-dot {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(243,116,32,.15);
  border: 2px solid rgba(243,116,32,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.tl-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.tl-content {
  padding-bottom: 24px;
}

.tl-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 2px;
  text-transform: uppercase;
}

.tl-content h4 { color: var(--white); font-size: 0.9375rem; margin-bottom: 4px; }
.tl-content p { font-size: 0.8125rem; color: rgba(255,255,255,.45) !important; margin: 0; }

/* ============================================================
   VISION
   ============================================================ */
#vision { background: var(--bg); }

.vision-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.vision-header p { font-size: 1.0625rem; color: var(--muted); margin-top: 16px; }

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
  align-items: stretch;
}

.pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(243,116,32,.2);
}

.pillar-card:hover::before { transform: scaleX(1); }

.pillar-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(243,116,32,.12);
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--transition);
}

.pillar-card:hover .pillar-number { color: #f37420dc; }

.pillar-card h3 { font-size: 1.125rem; margin-bottom: 12px; }
.pillar-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

.vision-milestone {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  overflow: hidden;
  position: relative;
}

.vision-milestone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(243,116,32,.06) 0%, transparent 70%);
}

.ms-item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
}

.ms-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(243,116,32,.12);
  border: 1px solid rgba(243,116,32,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 16px;
  color: var(--accent);
}
.ms-icon i {
  color: var(--accent);
}


.ms-item h4 { color: var(--white); font-size: 0.9375rem; margin-bottom: 6px; }
.ms-item p { color: rgba(255,255,255,.5); font-size: 0.8125rem; }

.ms-arrow {
  color: rgba(255,255,255,.18);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ============================================================
   PROJECTS / WORKSHOP
   ============================================================ */
#projects { background: var(--bg); }

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}

.projects-header-text { }
.projects-header-text p { color: var(--muted); margin-top: 8px; max-width: 480px; font-size: 0.9375rem; }

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

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.project-thumb {
  aspect-ratio: 16/9;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-thumb-inner {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated placeholder thumbs */
.thumb-1 { background: linear-gradient(135deg, #0f0f14 0%, #1a1525 50%, #0d1117 100%); }
.thumb-2 { background: linear-gradient(135deg, #0e1a14 0%, #0f2519 50%, #0a1510 100%); }
.thumb-3 { background: linear-gradient(135deg, #150e14 0%, #220f28 50%, #100812 100%); }
.thumb-4 { background: linear-gradient(135deg, #0f1218 0%, #121928 50%, #090c14 100%); }
.thumb-5 { background: linear-gradient(135deg, #181210 0%, #281a0e 50%, #150e08 100%); }
.thumb-6 { background: linear-gradient(135deg, #0e1614 0%, #0f2020 50%, #0a1615 100%); }

.thumb-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.thumb-icon {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  opacity: 0.6;
}

.wip-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(243,116,32,.9);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 40px;
  z-index: 2;
}

.project-info {
  padding: 24px;
}

.project-genre {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.project-info h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.project-info p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ptag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
}

/* ============================================================
   FAQ
   ============================================================ */
#faq { background: var(--dark); padding: var(--section-pad) 0; }
#faq h2, #faq .tag { }
#faq h2 { color: var(--white); }
#faq .tag { color: var(--accent); background: rgba(243,116,32,.12); border-color: rgba(243,116,32,.25); }

.faq-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.faq-intro { }
.faq-intro p { color: rgba(255,255,255,.6); margin-top: 16px; font-size: 0.9375rem; line-height: 1.75; }
.faq-intro .btn-primary { margin-top: 32px; }

.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.faq-item:first-child { border-top: 1px solid rgba(255,255,255,.07); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.faq-chevron svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform var(--transition);
}

.faq-item.open .faq-question { color: var(--accent); }
.faq-item.open .faq-chevron { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-chevron svg { transform: rotate(180deg); stroke: var(--white); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding-bottom: 22px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #0C0E0F;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.45);
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo .logo-name { color: var(--white); }
.footer-logo .logo-sub { color: rgba(255,255,255,.35); }

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--accent); }

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

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

.social-link svg { width: 16px; height: 16px; fill: rgba(255,255,255,.6); transition: fill var(--transition); }
.social-link:hover svg { fill: var(--white); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.28);
}

.footer-bottom a {
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--accent); }

.footer-legal {
  display: flex;
  gap: 20px;
}

/* ============================================================
   SCROLL ANIMATION CLASSES (driven by JS/GSAP)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.72s cubic-bezier(0.4,0,0.2,1), transform 0.72s cubic-bezier(0.4,0,0.2,1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.72s cubic-bezier(0.4,0,0.2,1), transform 0.72s cubic-bezier(0.4,0,0.2,1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.72s cubic-bezier(0.4,0,0.2,1), transform 0.72s cubic-bezier(0.4,0,0.2,1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* stagger delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .vision-pillars { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .vision-milestone {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
  }
  .ms-arrow { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  #header.is-hidden { transform: translateY(0); }

  .hero-stats { flex-direction: column; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .vision-pillars { grid-template-columns: 1fr; }
  .projects-header { flex-direction: column; align-items: flex-start; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .vision-milestone { padding: 32px 24px; }
  .about-story { padding: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
