/* ============================================================
   GSK — Gowtham Senna K | Premium Personal Brand CSS
   Theme: Dark luxury tech with teal accent
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary: #071011;
  --bg-secondary: #101A1D;
  --bg-card: #111F23;
  --bg-card-hover: #162830;
  --bg-light: #F7F4EF;

  --accent: #2DE2C5;
  --accent-soft: #B8F3E6;
  --accent-dim: rgba(45, 226, 197, 0.12);
  --accent-glow: rgba(45, 226, 197, 0.25);
  --gold: #C7A25A;
  --gold-dim: rgba(199, 162, 90, 0.15);

  --text-primary: #F5F7F6;
  --text-secondary: #A7B7B4;
  --text-muted: #5A6E6B;
  --text-light: #111817;
  --text-light-muted: #4A5A58;

  --border: rgba(255,255,255,0.07);
  --border-accent: rgba(45,226,197,0.2);
  --border-gold: rgba(199,162,90,0.25);

  --font-head: 'Manrope', 'Inter Tight', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --nav-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-card: 0 4px 32px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 40px rgba(45,226,197,0.08);
}

/* ---------- 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 {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.light-page {
  background: var(--bg-light);
  color: var(--text-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol { list-style: none; }

input, textarea, select, button {
  font-family: var(--font-body);
  font-size: inherit;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 300; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); font-weight: 300; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 400; }
h4 { font-size: 1.1rem; font-weight: 500; }

p { font-size: 0.975rem; color: var(--text-secondary); font-weight: 300; }
.light-page p { color: var(--text-light-muted); }

/* ---------- Utilities ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; font-family: var(--font-head);
  margin-bottom: 20px;
}
.section-label::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--accent);
}
.section-title { margin-bottom: 16px; }
.section-intro { font-size: 1.05rem; max-width: 560px; margin-bottom: 56px; }

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

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

.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-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.text-center { text-align: center; }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 32px; border-radius: 100px; font-size: 0.875rem;
  font-family: var(--font-head); font-weight: 500; letter-spacing: 0.02em;
  cursor: pointer; transition: all var(--transition); border: none; outline: none;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: var(--accent); color: #071011;
}
.btn-primary:hover {
  background: var(--accent-soft); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(45,226,197,0.3);
}

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

.btn-ghost {
  background: transparent; color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.15); }

.btn-gold {
  background: transparent; color: var(--gold);
  border: 1px solid var(--border-gold);
}
.btn-gold:hover { background: var(--gold-dim); }

.btn-sm { padding: 9px 22px; font-size: 0.8rem; }
.btn-lg { padding: 16px 40px; font-size: 0.95rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(45,226,197,0.03) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--transition);
}
.card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-card), var(--shadow-glow); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--accent-dim); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.5; }

.card-title { font-size: 1.05rem; font-weight: 500; margin-bottom: 10px; color: var(--text-primary); font-family: var(--font-head); }
.card-text { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.75; }

/* ---------- Badge ---------- */
.badge {
  display: inline-block; padding: 4px 14px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; font-family: var(--font-head);
}
.badge-accent { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--border-accent); }
.badge-gold { background: var(--gold-dim); color: var(--gold); border: 1px solid var(--border-gold); }
.badge-muted { background: rgba(255,255,255,0.05); color: var(--text-secondary); border: 1px solid var(--border); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(7,16,17,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 32px rgba(0,0,0,0.4);
}
.nav-inner {
  height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.nav-logo {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--text-primary); letter-spacing: -0.01em; flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo span { color: var(--accent); }
.nav-logo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 100px;
  font-size: 0.845rem; font-weight: 400; font-family: var(--font-head);
  color: var(--text-secondary); transition: all var(--transition);
}
.nav-link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.5; flex-shrink: 0; }
.nav-link:hover, .nav-link.active {
  color: var(--text-primary); background: rgba(255,255,255,0.06);
}
.nav-link.active { color: var(--accent); }

.nav-cta { margin-left: 8px; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  border-radius: 8px; transition: background var(--transition);
}
.nav-hamburger:hover { background: rgba(255,255,255,0.06); }
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text-primary); border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(7,16,17,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding-top: var(--nav-h);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  font-size: 1.1rem; padding: 12px 32px; width: 240px; justify-content: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; padding-top: var(--nav-h);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(45,226,197,0.06) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 20% 80%, rgba(199,162,90,0.04) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-primary) 0%, #0A1518 100%);
}

/* Animated orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 480px; height: 480px; right: -80px; top: 10%;
  background: radial-gradient(circle, rgba(45,226,197,0.08) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 320px; height: 320px; left: -60px; bottom: 15%;
  background: radial-gradient(circle, rgba(199,162,90,0.06) 0%, transparent 70%);
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 200px; height: 200px; right: 30%; top: 20%;
  background: radial-gradient(circle, rgba(45,226,197,0.05) 0%, transparent 70%);
  animation-delay: -2s; animation-duration: 12s;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* Grid lines */
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 80%);
}

.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1240px; margin: 0 auto; padding: 80px 24px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(45,226,197,0.08); border: 1px solid var(--border-accent);
  border-radius: 100px; padding: 6px 18px; margin-bottom: 32px;
  font-size: 0.78rem; color: var(--accent); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-head);
}
.hero-eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(0.8)} }

.hero-title { margin-bottom: 24px; }
.hero-title em { font-style: normal; color: var(--accent); }

.hero-subtitle {
  font-size: 1.15rem; color: var(--text-secondary); font-weight: 300;
  max-width: 620px; margin-bottom: 16px; line-height: 1.65;
}

.hero-para {
  font-size: 0.95rem; color: var(--text-muted); max-width: 540px; margin-bottom: 48px;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 72px; }

/* Hero cards */
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-card {
  background: rgba(17,31,35,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: all var(--transition);
}
.hero-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.hero-card-icon { margin-bottom: 14px; }
.hero-card-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.hero-card-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; font-family: var(--font-head); }
.hero-card-text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.65; }

/* ---------- Trust Strip ---------- */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  overflow: hidden; padding: 18px 0;
}
.trust-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 30s linear infinite;
}
.trust-track:hover { animation-play-state: paused; }
.trust-item {
  display: flex; align-items: center; gap: 24px; padding: 0 32px;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500; font-family: var(--font-head);
  white-space: nowrap;
}
.trust-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.5; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT PREVIEW (homepage)
   ============================================================ */
.about-preview-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,16,17,0.6) 0%, transparent 50%);
  border-radius: var(--radius-lg);
}
.about-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
  background: linear-gradient(135deg, var(--bg-card) 0%, #1A2E34 100%);
}
.about-img-placeholder svg { width: 56px; height: 56px; stroke: var(--text-muted); fill: none; stroke-width: 1; }
.about-img-placeholder span { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.1em; }

.about-badge {
  position: absolute; bottom: 28px; left: 28px; z-index: 2;
  background: rgba(7,16,17,0.9); backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent); border-radius: var(--radius-md);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
}
.about-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease infinite; }
.about-badge-text { font-size: 0.8rem; color: var(--text-primary); font-weight: 500; }
.about-badge-sub { font-size: 0.72rem; color: var(--text-secondary); }

.about-content .section-title { margin-bottom: 24px; }
.about-content p { margin-bottom: 16px; }

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.about-tag {
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 400; font-family: var(--font-head);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-secondary); transition: all var(--transition);
}
.about-tag:hover { border-color: var(--border-accent); color: var(--accent); }

/* ============================================================
   SERVICES PREVIEW
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px 24px;
  transition: all var(--transition); cursor: default; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.service-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-card:hover::after { transform: scaleX(1); }

.service-card-num {
  font-size: 0.72rem; letter-spacing: 0.15em; color: var(--accent);
  font-weight: 600; font-family: var(--font-head); margin-bottom: 16px;
}
.service-card-icon { margin-bottom: 16px; }
.service-card-icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.service-card-title { font-size: 0.95rem; font-weight: 500; margin-bottom: 8px; font-family: var(--font-head); }
.service-card-text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   WORKS PREVIEW
   ============================================================ */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg-card); border: 1px solid var(--border);
  transition: all var(--transition); cursor: pointer;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--border-accent); }
.work-card-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-card) 0%, #1A2E34 100%);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition-slow);
}
.work-card:hover .work-card-img { transform: scale(1.04); }
.work-card-img svg { width: 40px; height: 40px; stroke: var(--text-muted); fill: none; stroke-width: 1; }
.work-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,16,17,0.95) 0%, rgba(7,16,17,0.3) 60%, transparent 100%);
  padding: 24px; display: flex; flex-direction: column; justify-content: flex-end;
}
.work-card-cat { font-size: 0.7rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; font-weight: 600; }
.work-card-title { font-size: 1rem; font-weight: 500; font-family: var(--font-head); }

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #0D1F23 100%);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 72px; margin: 0 24px;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 300; color: var(--accent); line-height: 1;
  margin-bottom: 10px; letter-spacing: -0.03em;
}
.stat-label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 300; line-height: 1.5; }
.stat-divider {
  width: 1px; background: var(--border); align-self: stretch;
}

/* ============================================================
   TESTIMONIAL / QUOTE
   ============================================================ */
.quote-section {
  text-align: center; padding: 80px 40px;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(45,226,197,0.04) 0%, transparent 70%);
}
.quote-mark { font-size: 5rem; line-height: 1; color: var(--accent); opacity: 0.3; font-family: Georgia, serif; }
.quote-text {
  font-family: var(--font-head); font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 300; font-style: italic; color: var(--text-primary);
  max-width: 760px; margin: 0 auto 32px; line-height: 1.5;
}
.quote-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.quote-avatar {
  width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--border-accent);
  background: var(--bg-card); display: flex; align-items: center; justify-content: center;
}
.quote-avatar svg { width: 22px; height: 22px; stroke: var(--text-muted); fill: none; stroke-width: 1.5; }
.quote-name { font-size: 0.9rem; font-weight: 600; font-family: var(--font-head); }
.quote-role { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(45,226,197,0.06) 0%, rgba(199,162,90,0.04) 100%);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 80px; margin: 0 24px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(45,226,197,0.05) 0%, transparent 70%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section .section-title { margin-bottom: 16px; }
.cta-section p { max-width: 520px; margin: 0 auto 40px; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   ARTICLES / BLOG PREVIEW
   ============================================================ */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: all var(--transition);
}
.article-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.article-card-img {
  aspect-ratio: 16/9; background: linear-gradient(135deg, var(--bg-secondary) 0%, #1A2E34 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.article-card-img svg { width: 32px; height: 32px; stroke: var(--text-muted); fill: none; stroke-width: 1; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-body { padding: 24px; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.article-cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-family: var(--font-head); }
.article-date { font-size: 0.75rem; color: var(--text-muted); }
.article-read { font-size: 0.75rem; color: var(--text-muted); }
.article-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); }
.article-title { font-size: 1rem; font-weight: 500; margin-bottom: 10px; line-height: 1.4; font-family: var(--font-head); transition: color var(--transition); }
.article-card:hover .article-title { color: var(--accent); }
.article-excerpt { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.article-link { font-size: 0.8rem; color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.article-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.article-card:hover .article-link { gap: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; }

.footer-brand-name {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  margin-bottom: 6px; display: flex; align-items: center; gap: 8px;
}
.footer-brand-name span { color: var(--accent); }
.footer-brand-tagline { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-brand-desc { font-size: 0.845rem; color: var(--text-muted); line-height: 1.75; max-width: 300px; }

.footer-col-title {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-primary); margin-bottom: 20px; font-family: var(--font-head);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.845rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social-link {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--transition);
}
.footer-social-link:hover { border-color: var(--border-accent); color: var(--accent); background: var(--accent-dim); }
.footer-social-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.footer-newsletter { margin-top: 24px; }
.footer-newsletter p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-input {
  flex: 1; padding: 10px 16px; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 0.845rem; outline: none;
  transition: border-color var(--transition);
}
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-input:focus { border-color: var(--border-accent); }
.newsletter-btn {
  padding: 10px 20px; border-radius: 100px; background: var(--accent);
  color: #071011; font-size: 0.8rem; font-weight: 600; border: none;
  cursor: pointer; transition: all var(--transition); font-family: var(--font-head);
}
.newsletter-btn:hover { background: var(--accent-soft); }

.footer-bottom {
  border-top: 1px solid var(--border); padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.78rem; color: var(--text-muted); transition: color var(--transition); }
.footer-legal a:hover { color: var(--accent); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + 64px); padding-bottom: 72px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(45,226,197,0.05) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.05rem; max-width: 560px; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--text-muted); margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 12px; height: 12px; stroke: var(--text-muted); fill: none; stroke-width: 2; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.beliefs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.belief-card {
  padding: 28px 24px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  display: flex; align-items: flex-start; gap: 14px;
  transition: all var(--transition);
}
.belief-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.belief-check { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.belief-check svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; }
.belief-text { font-size: 0.9rem; font-weight: 400; font-family: var(--font-head); }

/* Timeline */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 4px; bottom: 4px;
  width: 1px; background: linear-gradient(180deg, var(--accent) 0%, var(--border) 100%);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -32px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-primary); border: 2px solid var(--accent);
}
.timeline-dot::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.timeline-label { font-size: 0.75rem; color: var(--accent); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-head); margin-bottom: 8px; }
.timeline-title { font-size: 1rem; font-weight: 500; margin-bottom: 6px; font-family: var(--font-head); }
.timeline-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-full-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-full-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 36px 32px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.service-full-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.service-full-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-full-card:hover::before { opacity: 1; }
.service-full-card .card-icon { width: 52px; height: 52px; }
.service-full-card .card-title { font-size: 1.15rem; }
.service-full-card .card-text { font-size: 0.9rem; }

/* Process steps */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
  opacity: 0.3;
}
.process-step { text-align: center; padding: 0 16px; position: relative; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--bg-card); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; color: var(--accent);
  position: relative; z-index: 1;
}
.process-title { font-size: 0.875rem; font-weight: 600; font-family: var(--font-head); margin-bottom: 8px; }
.process-text { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--border-accent); }
.faq-q {
  width: 100%; padding: 20px 24px; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 500;
  color: var(--text-primary); cursor: pointer; text-align: left;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-q svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--accent); }
.faq-a { display: none; padding: 0 24px 20px; font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ============================================================
   WORKS PAGE
   ============================================================ */
.works-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-full-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: all var(--transition);
}
.work-full-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.work-img-ph {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #1A2E34 100%);
  display: flex; align-items: center; justify-content: center;
}
.work-img-ph svg { width: 36px; height: 36px; stroke: var(--text-muted); fill: none; stroke-width: 1; }
.work-card-body { padding: 24px; }
.work-card-cat { font-size: 0.7rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; font-family: var(--font-head); margin-bottom: 10px; }
.work-card-title { font-size: 1.05rem; font-weight: 500; margin-bottom: 10px; font-family: var(--font-head); }
.work-card-text { font-size: 0.845rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }

/* Case study card */
.case-card {
  background: var(--bg-card); border: 1px solid var(--border-gold);
  border-radius: var(--radius-md); padding: 32px; transition: all var(--transition);
}
.case-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.case-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px; font-family: var(--font-head);
}
.case-value { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 0; }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-search-bar {
  display: flex; gap: 12px; margin-bottom: 32px;
}
.blog-search-input {
  flex: 1; padding: 12px 20px; border-radius: 100px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 0.9rem; outline: none;
  transition: border-color var(--transition);
}
.blog-search-input::placeholder { color: var(--text-muted); }
.blog-search-input:focus { border-color: var(--border-accent); }

.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.blog-cat-btn {
  padding: 7px 18px; border-radius: 100px; border: 1px solid var(--border);
  background: transparent; color: var(--text-muted);
  font-size: 0.8rem; font-weight: 500; font-family: var(--font-head);
  cursor: pointer; transition: all var(--transition);
}
.blog-cat-btn:hover, .blog-cat-btn.active {
  border-color: var(--border-accent); color: var(--accent); background: var(--accent-dim);
}

.featured-article {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 64px;
  display: grid; grid-template-columns: 1fr 1fr;
  transition: all var(--transition);
}
.featured-article:hover { border-color: var(--border-accent); box-shadow: var(--shadow-card); }
.featured-img {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #1A3038 100%);
  min-height: 320px; display: flex; align-items: center; justify-content: center;
}
.featured-img svg { width: 48px; height: 48px; stroke: var(--text-muted); fill: none; stroke-width: 1; }
.featured-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.featured-badge { margin-bottom: 16px; }
.featured-title { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 400; margin-bottom: 16px; line-height: 1.35; font-family: var(--font-head); }
.featured-excerpt { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; }

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

/* ============================================================
   ARTICLE TEMPLATE
   ============================================================ */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.article-main {}
.article-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }

.article-header { margin-bottom: 40px; }
.article-meta-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.article-author-info { display: flex; align-items: center; gap: 10px; }
.article-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
}
.article-avatar svg { width: 18px; height: 18px; stroke: var(--text-muted); fill: none; stroke-width: 1.5; }
.article-author-name { font-size: 0.875rem; font-weight: 600; font-family: var(--font-head); }
.article-author-role { font-size: 0.75rem; color: var(--text-muted); }
.article-info { display: flex; align-items: center; gap: 12px; }
.article-info span { font-size: 0.78rem; color: var(--text-muted); }

.article-h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400; margin-bottom: 24px; line-height: 1.25; font-family: var(--font-head); }

.article-featured-img {
  border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 16/7; background: linear-gradient(135deg, var(--bg-secondary) 0%, #1A2E34 100%);
  display: flex; align-items: center; justify-content: center; margin-bottom: 40px;
  border: 1px solid var(--border);
}
.article-featured-img svg { width: 48px; height: 48px; stroke: var(--text-muted); fill: none; stroke-width: 1; }

/* TOC */
.toc-widget {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 24px; margin-bottom: 28px;
}
.toc-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-primary); font-family: var(--font-head); margin-bottom: 16px; }
.toc-links { display: flex; flex-direction: column; gap: 8px; }
.toc-links a { font-size: 0.845rem; color: var(--text-muted); transition: color var(--transition); padding: 4px 0; border-left: 2px solid transparent; padding-left: 12px; }
.toc-links a:hover { color: var(--accent); border-left-color: var(--accent); }

/* Article body */
.article-body { font-size: 0.975rem; line-height: 1.85; color: var(--text-secondary); }
.article-body h2 { font-size: 1.5rem; font-weight: 400; color: var(--text-primary); margin: 48px 0 16px; font-family: var(--font-head); }
.article-body h3 { font-size: 1.15rem; font-weight: 500; color: var(--text-primary); margin: 32px 0 12px; font-family: var(--font-head); }
.article-body p { margin-bottom: 20px; color: var(--text-secondary); }
.article-body ul { margin: 16px 0 20px 20px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--text-primary); font-weight: 500; }

.article-quote {
  border-left: 2px solid var(--accent); padding: 20px 28px;
  background: rgba(45,226,197,0.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 32px 0; font-style: italic; font-size: 1.05rem;
  color: var(--text-primary); font-family: var(--font-head); font-weight: 300;
}

.key-takeaways {
  background: var(--bg-card); border: 1px solid var(--border-accent);
  border-radius: var(--radius-md); padding: 32px; margin: 40px 0;
}
.key-takeaways-title { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); font-family: var(--font-head); margin-bottom: 16px; }
.key-list { display: flex; flex-direction: column; gap: 10px; }
.key-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-secondary); }
.key-item::before { content: '→'; color: var(--accent); font-weight: 600; flex-shrink: 0; margin-top: 1px; }

/* Author bio */
.author-bio {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 32px;
  display: flex; gap: 24px; align-items: flex-start; margin-top: 56px;
}
.author-bio-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-secondary); border: 2px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
}
.author-bio-avatar svg { width: 28px; height: 28px; stroke: var(--text-muted); fill: none; stroke-width: 1.5; }
.author-bio-name { font-size: 1rem; font-weight: 600; font-family: var(--font-head); margin-bottom: 4px; }
.author-bio-role { font-size: 0.78rem; color: var(--accent); margin-bottom: 10px; }
.author-bio-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* Sidebar widgets */
.sidebar-widget {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px; margin-bottom: 24px;
}
.sidebar-widget-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-primary); font-family: var(--font-head); margin-bottom: 16px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: var(--accent-dim); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.contact-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; font-family: var(--font-head); margin-bottom: 4px; }
.contact-value { font-size: 0.95rem; color: var(--text-primary); font-weight: 400; }
.contact-value a { color: var(--text-primary); transition: color var(--transition); }
.contact-value a:hover { color: var(--accent); }

.contact-socials { display: flex; gap: 10px; margin-top: 8px; }
.contact-social {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--transition);
}
.contact-social:hover { border-color: var(--border-accent); color: var(--accent); background: var(--accent-dim); }
.contact-social svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* Contact form */
.contact-form-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-secondary); margin-bottom: 8px; font-family: var(--font-head);
}
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 13px 18px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 0.9rem; outline: none;
  transition: border-color var(--transition); font-family: var(--font-body);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--border-accent); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-select { cursor: pointer; -webkit-appearance: none; appearance: none; }
.form-select option { background: var(--bg-secondary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================================
   POLICY / TERMS (light pages)
   ============================================================ */
.policy-content { max-width: 800px; }
.policy-content h2 { font-size: 1.3rem; font-weight: 500; margin: 48px 0 14px; color: var(--text-light); font-family: var(--font-head); }
.policy-content h3 { font-size: 1rem; font-weight: 600; margin: 28px 0 10px; color: var(--text-light); font-family: var(--font-head); }
.policy-content p { font-size: 0.95rem; color: var(--text-light-muted); line-height: 1.8; margin-bottom: 16px; }
.policy-content ul { margin: 12px 0 16px 20px; }
.policy-content li { font-size: 0.95rem; color: var(--text-light-muted); margin-bottom: 8px; }

.light-page .page-hero {
  background: linear-gradient(180deg, #EEE9E1 0%, var(--bg-light) 100%);
  border-bottom-color: rgba(0,0,0,0.08);
}
.light-page .page-hero h1 { color: var(--text-light); }
.light-page .page-hero p { color: var(--text-light-muted); }
.light-page .breadcrumb, .light-page .breadcrumb a { color: var(--text-light-muted); }
.light-page .section-label { color: #1A7A6E; }
.light-page .section-label::before { background: #1A7A6E; }
.light-page .nav { background: rgba(247,244,239,0.95); }
.light-page .nav.scrolled { background: rgba(247,244,239,0.98); box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 4px 20px rgba(0,0,0,0.06); }
.light-page .nav-logo, .light-page .nav-link { color: var(--text-light); }
.light-page .nav-link:hover, .light-page .nav-link.active { background: rgba(0,0,0,0.05); color: var(--text-light); }
.light-page .nav-hamburger span { background: var(--text-light); }
.light-page .nav-mobile { background: rgba(247,244,239,0.98); }
.light-page .nav-mobile .nav-link { color: var(--text-light); }
.light-page .footer { background: #EEE9E1; border-top-color: rgba(0,0,0,0.08); }
.light-page .footer-copy, .light-page .footer-links a, .light-page .footer-brand-desc { color: var(--text-light-muted); }
.light-page .footer-brand-name, .light-page .footer-col-title { color: var(--text-light); }
.light-page .footer-legal a { color: var(--text-light-muted); }
.light-page .footer-social-link { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.1); color: var(--text-light-muted); }

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 48px 24px;
  background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(45,226,197,0.05) 0%, transparent 70%);
}
.err-code {
  font-family: var(--font-head); font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 200; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(45,226,197,0.3);
  margin-bottom: 24px; letter-spacing: -0.05em;
}
.err-title { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 300; margin-bottom: 16px; }
.err-text { font-size: 1rem; color: var(--text-muted); max-width: 440px; margin: 0 auto 40px; }

/* ============================================================
   RESPONSIVE — COMPLETE SYSTEM
   All breakpoints: 1400, 1200, 1024, 900, 768, 600, 480, 360
   ============================================================ */

/* ── 1400px: Large desktop cap ───────────────────────────── */
@media (max-width: 1400px) {
  .container { max-width: 1160px; }
}

/* ── 1200px: Standard desktop ────────────────────────────── */
@media (max-width: 1200px) {
  h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
  .hero-inner { grid-template-columns: 1fr !important; gap: 48px !important; }
  .hero-photo-wrap { width: 100% !important; max-width: 420px; margin: 0 auto; }
  .hero-photo-wrap > div { max-height: 480px; overflow: hidden; }
  .hero-photo-wrap img { height: 480px !important; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
  .ai-photo-main { width: 280px; height: 380px; }
  .ai-photo-secondary { width: 180px; height: 230px; }
}

/* ── 1024px: Tablet landscape / small desktop ─────────────── */
@media (max-width: 1024px) {
  :root { --nav-h: 68px; }

  /* Layout */
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .section-sm { padding: 56px 0; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr !important; gap: 40px !important; padding: 64px 20px 56px; }
  .hero-photo-wrap { width: 100% !important; max-width: 400px; margin: 0 auto; }
  .hero-photo-wrap img { height: 440px !important; }

  /* Grids */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-preview-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .services-full-grid { grid-template-columns: 1fr; gap: 20px; }
  .works-full-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .beliefs-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .process-steps::before { display: none; }

  /* Article */
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; }
  .article-h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Blog */
  .featured-article { grid-template-columns: 1fr; }
  .featured-img { min-height: 240px; }
  .featured-body { padding: 36px; }

  /* Stats / CTA */
  .stats-section { padding: 48px 40px; margin: 0 20px; }
  .cta-section { padding: 64px 48px; margin: 0 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* AI section */
  .ai-grid { grid-template-columns: 1fr !important; }
  .ai-photo-stack { height: 340px; }
  .ai-photo-main { width: 240px; height: 310px; }
  .ai-photo-secondary { width: 160px; height: 200px; }
  .ai-stat-pill { right: 0; top: auto; bottom: -10px; transform: none; }
}

/* ── 900px: Large tablet ──────────────────────────────────── */
@media (max-width: 900px) {
  .about-preview-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap { aspect-ratio: 16/9; max-height: 420px; }
  .about-img-wrap img { object-position: center 20%; }
  .about-visual { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .works-full-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 768px: Mobile / tablet portrait ─────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* Navigation */
  .nav-links, .nav-cta { display: none !important; }
  .nav-hamburger { display: flex; }
  .nav-logo { font-size: 0.95rem; }

  /* Typography */
  h1 { font-size: clamp(1.75rem, 6vw, 2.6rem); letter-spacing: -0.025em; }
  h2 { font-size: clamp(1.4rem, 4.5vw, 2rem); }
  h3 { font-size: 1.1rem; }
  p { font-size: 0.925rem; }

  /* Layout */
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section-sm { padding: 48px 0; }
  .section-intro { font-size: 0.95rem; margin-bottom: 40px; }

  /* Hero */
  .hero-inner { padding: 40px 16px 48px !important; gap: 36px !important; }
  .hero-eyebrow { font-size: 0.68rem; padding: 5px 14px; }
  .hero-title { margin-bottom: 16px; }
  .hero-subtitle { font-size: 1rem; }
  .hero-para { font-size: 0.88rem; margin-bottom: 32px; }
  .hero-btns { gap: 10px; flex-wrap: wrap; }
  .hero-btns .btn { padding: 12px 24px; font-size: 0.84rem; }
  .hero-photo-wrap { max-width: 320px !important; }
  .hero-photo-wrap img { height: 380px !important; }
  .hero-photo-wrap > div > div { /* badge */
    bottom: 12px; left: 12px; padding: 10px 14px;
  }
  .hero-cards { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .hero-card { padding: 20px; }

  /* About preview */
  .about-preview-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-img-wrap { aspect-ratio: 3/2; max-height: 320px; }
  .about-img-wrap img { object-position: center 15%; }
  .about-badge { bottom: 16px; left: 16px; padding: 12px 16px; gap: 10px; }
  .about-badge-text { font-size: 0.78rem; }
  .about-badge-sub { font-size: 0.68rem; }
  .about-tags { gap: 6px; margin: 20px 0; }
  .about-tag { font-size: 0.72rem; padding: 5px 12px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px 20px; }
  .services-full-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-full-card { padding: 28px 24px; }

  /* Works */
  .works-grid { grid-template-columns: 1fr; gap: 14px; }
  .works-full-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Articles / Blog */
  .articles-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-search-bar { flex-direction: column; gap: 10px; }
  .blog-search-bar .btn { width: 100%; justify-content: center; }
  .blog-cats { gap: 6px; }
  .blog-cat-btn { padding: 6px 14px; font-size: 0.75rem; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-img { min-height: 200px; }
  .featured-body { padding: 24px 20px; }
  .featured-title { font-size: 1.2rem; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stats-section { padding: 40px 24px; margin: 0 12px; border-radius: var(--radius-lg); }
  .stat-num { font-size: clamp(2rem, 8vw, 2.8rem); }
  .stat-label { font-size: 0.8rem; }

  /* CTA */
  .cta-section { padding: 48px 24px; margin: 0 12px; border-radius: var(--radius-lg); }
  .cta-btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-btns .btn { width: 100%; justify-content: center; }

  /* Process */
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* FAQ */
  .faq-q { font-size: 0.875rem; padding: 18px 20px; }
  .faq-a { padding: 0 20px 18px; font-size: 0.845rem; }

  /* Beliefs */
  .beliefs-grid { grid-template-columns: 1fr; gap: 12px; }
  .belief-card { padding: 20px; }

  /* Timeline */
  .timeline { padding-left: 28px; }

  /* Article page */
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-sidebar { position: static; }
  .article-h1 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .article-featured-img { aspect-ratio: 16/8; }
  .author-bio { flex-direction: column; gap: 16px; padding: 24px; }
  .article-body h2 { font-size: 1.25rem; margin: 36px 0 12px; }
  .key-takeaways { padding: 24px 20px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-input, .form-textarea, .form-select { font-size: 0.875rem; padding: 11px 14px; }
  .form-textarea { min-height: 120px; }

  /* Quote */
  .quote-text { font-size: clamp(1.05rem, 3.5vw, 1.35rem); }
  .quote-section { padding: 56px 20px; }

  /* Grid utilities */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 20px; }

  /* Footer */
  .footer { padding: 56px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 48px; }
  .footer-brand-desc { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; padding: 20px 0; }
  .footer-legal { justify-content: center; }
  .newsletter-form { flex-direction: column; gap: 8px; }
  .newsletter-input { border-radius: var(--radius-sm); }
  .newsletter-btn { border-radius: var(--radius-sm); padding: 11px; }

  /* Page hero */
  .page-hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 48px; }

  /* AI section */
  .ai-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .ai-photo-stack { height: auto; min-height: 280px; display: flex; justify-content: center; }
  .ai-photo-main { position: relative; width: 100%; max-width: 340px; height: 280px; right: auto; }
  .ai-photo-secondary { display: none; }
  .ai-stat-pill { display: none; }
  .ai-features-grid { grid-template-columns: 1fr !important; }

  /* Case studies */
  .case-card { padding: 24px 20px; }
}

/* ── 600px: Small tablet / large phone ───────────────────── */
@media (max-width: 600px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-photo-wrap { max-width: 280px !important; }
  .hero-photo-wrap img { height: 340px !important; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .process-steps { grid-template-columns: 1fr; gap: 16px; }

  .works-full-grid { grid-template-columns: 1fr; }
  .featured-body { padding: 20px 16px; }

  .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); }

  .card { padding: 24px 20px; }
  .service-full-card { padding: 24px 20px; }
  .work-card-body { padding: 18px; }
  .article-card-body { padding: 18px; }

  .toc-widget { padding: 18px; }
  .sidebar-widget { padding: 18px; }

  .about-badge { display: none; } /* hidden on very small — avoid overlap */
  .about-img-wrap { aspect-ratio: 4/3; max-height: 280px; }

  .section-label { font-size: 0.68rem; }

  .quote-section { padding: 48px 16px; }
  .quote-mark { font-size: 3.5rem; }

  .err-code { font-size: clamp(5rem, 22vw, 10rem); }

  .contact-form-wrap { padding: 20px 16px; }
  .contact-socials { flex-wrap: wrap; }
}

/* ── 480px: Standard phone ───────────────────────────────── */
@media (max-width: 480px) {
  :root { --nav-h: 56px; }

  .container { padding: 0 14px; }
  .section { padding: 48px 0; }

  h1 { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  h2 { font-size: clamp(1.2rem, 5.5vw, 1.7rem); }

  .nav-logo { font-size: 0.88rem; }
  .nav-logo-dot { width: 5px; height: 5px; }

  .hero-inner { padding: 32px 14px 40px !important; }
  .hero-eyebrow { font-size: 0.62rem; letter-spacing: 0.12em; padding: 5px 12px; }
  .hero-cards { gap: 10px; }
  .hero-card { padding: 18px 16px; }
  .hero-card-title { font-size: 0.85rem; }
  .hero-card-text { font-size: 0.78rem; }
  .hero-photo-wrap { max-width: 260px !important; }
  .hero-photo-wrap img { height: 310px !important; }

  .trust-item { padding: 0 16px; font-size: 0.72rem; }

  .service-card { padding: 20px 18px; }
  .service-card-title { font-size: 0.9rem; }
  .service-card-text { font-size: 0.78rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats-section { padding: 32px 18px; margin: 0 10px; }
  .stat-num { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .stat-label { font-size: 0.75rem; }

  .cta-section { padding: 40px 18px; margin: 0 10px; }
  .cta-section .section-title { font-size: clamp(1.2rem, 5.5vw, 1.6rem); }
  .cta-btns .btn { padding: 14px 20px; font-size: 0.845rem; }

  .work-card-overlay { padding: 16px; }
  .work-card-title { font-size: 0.9rem; }

  .article-card-body { padding: 16px; }
  .article-title { font-size: 0.9rem; }
  .article-excerpt { font-size: 0.8rem; }

  .footer { padding: 44px 0 0; }
  .footer-grid { gap: 28px; padding-bottom: 36px; }
  .footer-brand-name { font-size: 0.95rem; }
  .footer-col-title { font-size: 0.75rem; margin-bottom: 14px; }
  .footer-links a { font-size: 0.8rem; }

  .btn { padding: 11px 24px; font-size: 0.83rem; }
  .btn-lg { padding: 13px 28px; font-size: 0.88rem; }
  .btn-sm { padding: 8px 18px; font-size: 0.78rem; }

  .badge { font-size: 0.68rem; padding: 4px 12px; }

  .faq-q { font-size: 0.845rem; padding: 16px 18px; }

  .page-hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 40px; }
  .breadcrumb { font-size: 0.72rem; }

  .author-bio { padding: 20px 16px; }
  .author-bio-name { font-size: 0.9rem; }

  .quote-section { padding: 40px 14px; }
  .quote-text { font-size: clamp(0.95rem, 3.5vw, 1.2rem); }
  .quote-avatar { width: 40px; height: 40px; }
  .quote-name { font-size: 0.845rem; }
  .quote-role { font-size: 0.72rem; }

  .contact-item { gap: 12px; }
  .contact-icon { width: 38px; height: 38px; }
  .contact-label { font-size: 0.7rem; }
  .contact-value { font-size: 0.875rem; }
}

/* ── 360px: Extra small phones ───────────────────────────── */
@media (max-width: 360px) {
  .container { padding: 0 12px; }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }

  .hero-inner { padding: 28px 12px 36px !important; }
  .hero-btns .btn { font-size: 0.8rem; padding: 11px 18px; }
  .hero-photo-wrap { max-width: 220px !important; }
  .hero-photo-wrap img { height: 270px !important; }

  .stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-section { padding: 28px 16px; }
  .stat-num { font-size: 2.2rem; }

  .trust-item { font-size: 0.68rem; padding: 0 12px; }

  .footer-social { gap: 8px; }
  .footer-social-link { width: 32px; height: 32px; }

  .nav-logo span { display: none; }
  .nav-logo::after { content: "GS"; color: var(--accent); font-size: 0.88rem; }

  .cta-section { padding: 32px 14px; }
  .cta-btns .btn { font-size: 0.8rem; padding: 12px 16px; }
}

/* ── Print ───────────────────────────────────────────────── */
@media print {
  .nav, .nav-mobile, .footer-newsletter, .cta-section, .trust-strip, .hero-orb, .hero-grid { display: none !important; }
  body { background: white; color: #111; }
  .container { max-width: 100%; padding: 0; }
  a { color: #000; }
  .card, .service-card, .work-full-card { border: 1px solid #ddd; break-inside: avoid; }
}

/* ── Global overflow prevention ──────────────────────────── */
html { overflow-x: hidden; scroll-behavior: smooth; }
body { overflow-x: hidden; }
.trust-strip { overflow: hidden; max-width: 100%; }
.trust-track { will-change: transform; }

/* ── Ensure all images are responsive ─────────────────────── */
img { max-width: 100%; height: auto; }

/* ── Fix inline grid styles on mobile ─────────────────────── */
@media (max-width: 768px) {
  /* Hero inner was set as display:grid inline */
  section .hero-inner[style] { display: flex !important; flex-direction: column !important; }

  /* Stats divider between items */
  .stat-divider { display: none !important; }

  /* About badge — reposition for single-col */
  .about-badge { position: static; margin-top: 12px; width: 100%; justify-content: flex-start; }

  /* Inline grid-2 in about beliefs section */
  .beliefs-grid[style*="1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* Footer newsletter */
  .footer-newsletter { margin-top: 16px; }

  /* Nav mobile full-screen */
  .nav-mobile { padding-top: calc(var(--nav-h) + 16px); }

  /* Page hero text on mobile */
  .page-hero-inner h1 em { display: inline; }

  /* Quote on mobile */
  .quote-mark { font-size: 4rem; margin-bottom: -12px; }

  /* CTA section title */
  .cta-section .section-title em { display: inline; }
}

@media (max-width: 480px) {
  /* Ensure nothing bleeds on 360–480 phones */
  .container { padding-left: 14px; padding-right: 14px; }
  .stats-section, .cta-section { margin-left: 10px; margin-right: 10px; }

  /* Hero orbs — smaller on mobile so no bleed */
  .hero-orb-1 { width: 240px; height: 240px; right: -60px; }
  .hero-orb-2 { width: 160px; height: 160px; left: -40px; }
  .hero-orb-3 { display: none; }

  /* Cards on small screens */
  .card { padding: 20px 18px; }
  .hero-card { padding: 18px 16px; }

  /* Work card overlay text */
  .work-card-title { font-size: 0.875rem; }
  .work-card-cat { font-size: 0.65rem; }

  /* Featured article */
  .featured-title { font-size: 1.1rem; }
  .featured-excerpt { font-size: 0.845rem; }
  .featured-body { padding: 20px 16px; }

  /* Blog cards */
  .article-card-img { aspect-ratio: 16/9; }

  /* Timeline */
  .timeline { padding-left: 24px; }
  .timeline-item { padding-bottom: 28px; }
  .timeline-title { font-size: 0.95rem; }
  .timeline-text { font-size: 0.82rem; }

  /* Process */
  .process-num { width: 44px; height: 44px; font-size: 0.82rem; }
  .process-title { font-size: 0.8rem; }
  .process-text { font-size: 0.75rem; }

  /* Work full cards */
  .work-img-ph { aspect-ratio: 16/9; }
}
