/* ============================================
   ORVENAL — Main Stylesheet
   Theme: Premium Navy Blue
   Fonts: Cormorant Garamond + DM Sans + Syne
   ============================================ */

:root {
  --navy-deep:   #07101f;
  --navy-dark:   #0c1929;
  --navy-mid:    #112240;
  --navy-accent: #1a3a6b;
  --navy-border: #1e3a5f;
  --sky:         #3b82f6;
  --sky-light:   #60a5fa;
  --sky-pale:    #bfdbfe;
  --gold:        #c9a84c;
  --gold-light:  #e2c97e;
  --white:       #ffffff;
  --off-white:   #f8f9fc;
  --text-light:  #e8edf5;
  --text-muted:  #8fa3bc;
  --text-faint:  #4a6580;
  --subtle-bg:   #f0f4f9;
  --border:      #d4dde8;
  --radius:      6px;
  --radius-lg:   12px;
  --shadow:      0 4px 24px rgba(7,16,31,0.12);
  --shadow-lg:   0 12px 48px rgba(7,16,31,0.18);
  --transition:  0.28s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--navy-deep);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

em { font-style: italic; color: var(--sky); }

p { color: #2c3e50; max-width: 64ch; }

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

code {
  font-family: 'Courier New', monospace;
  background: var(--subtle-bg);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85em;
  color: var(--navy-mid);
}

pre {
  background: var(--navy-mid);
  color: var(--sky-pale);
  padding: 1.5rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.7;
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section-pad { padding: clamp(4rem, 8vw, 7rem) 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.align-start { align-items: start; }
.align-center { align-items: center; }

.bg-dark    { background: var(--navy-dark); }
.bg-subtle  { background: var(--subtle-bg); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.2rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: rgba(7,16,31,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  padding: 0.8rem 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

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

.nav-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-text-fallback {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.12em;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a.nav-cta {
  background: var(--sky);
  color: var(--white);
  margin-left: 0.5rem;
  padding: 0.5rem 1.2rem;
}

.nav-links a.nav-cta:hover {
  background: var(--sky-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.4rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sky);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--sky-light);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-primary.large { padding: 1rem 2.2rem; font-size: 1rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--sky);
  color: var(--sky);
  background: rgba(59,130,246,0.06);
}

.btn-ghost.small {
  padding: 0.55rem 1.2rem;
  font-size: 0.84rem;
}

.btn-ghost.dark {
  color: var(--navy-dark);
  border-color: var(--border);
}

.btn-ghost.dark:hover {
  color: var(--sky);
  border-color: var(--sky);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sky);
  font-weight: 500;
  font-size: 0.92rem;
  margin-top: 1.5rem;
  transition: gap var(--transition);
}

.link-arrow:hover { gap: 0.8rem; color: var(--sky); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy-deep);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem clamp(1rem, 4vw, 2.5rem) 5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

body:has(.hero) { background: var(--navy-deep); }
body:has(.page-hero) { background: var(--navy-deep); }

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: none;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--sky);
  flex-shrink: 0;
}

.hero-headline {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 45ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual { position: relative; z-index: 1; }

.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}

.hero-card-line {
  width: 40px;
  height: 2px;
  background: var(--sky);
  margin-bottom: 1.2rem;
}

.hero-card-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 0.6rem;
}

.hero-card-text {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 100%;
}

.hero-card-stat {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  width: 100%;
  margin-top: 0.2rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-faint);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}

@keyframes scrollDot {
  0%   { cy: 8; opacity: 1; }
  100% { cy: 15; opacity: 0; }
}
.scroll-dot { animation: scrollDot 1.8s ease-in-out infinite; }

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  overflow: hidden;
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee-track .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
  letter-spacing: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION LABELS & TITLES ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.8rem;
  display: block;
  max-width: none;
}

.section-label.light { color: var(--sky-light); }

.section-title {
  color: var(--off-white);
  margin-bottom: 1rem;
}

.section-title.light { color: var(--white); }

.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  flex-wrap: wrap;
}

/* ── ABOUT STRIP ── */
.about-left p.section-title { margin-bottom: 0; }

.about-right p {
  margin-bottom: 1rem;
  color: #3a4a5c;
  font-size: 1.02rem;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  background: var(--navy-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--navy-dark);
  padding: 2.2rem 2rem;
  position: relative;
  transition: background var(--transition);
}

.service-card:hover { background: var(--navy-mid); }

.service-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  margin-bottom: 1.2rem;
}

.service-icon {
  width: 36px;
  height: 36px;
  color: var(--sky);
  margin-bottom: 1.2rem;
  display: block;
}

.service-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.card-link {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--sky);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}

.card-link:hover { gap: 0.7rem; color: var(--sky-light); }

/* ── STATS ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item { position: relative; }

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-big {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  color: white;
  line-height: 1;
  display: inline-block;
}

.stat-plus {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--sky);
}

.stat-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  max-width: none;
}

/* ── BLOG PREVIEW ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}

.blog-card:hover {
  border-color: var(--sky);
  box-shadow: 0 8px 32px rgba(59,130,246,0.1);
  transform: translateY(-3px);
}

.blog-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(59,130,246,0.08);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.blog-card-tag.recruitment { color: var(--gold); background: rgba(201,168,76,0.1); }
.blog-card-tag.engineering { color: #10b981; background: rgba(16,185,129,0.1); }
.blog-card-tag.design      { color: #f59e0b; background: rgba(245,158,11,0.1); }
.blog-card-tag.culture     { color: #8b5cf6; background: rgba(139,92,246,0.1); }

.blog-card h3 {
  font-size: 1.3rem;
  color: var(--navy-deep);
  margin-bottom: 0.7rem;
  line-height: 1.3;
}

.blog-card p {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.65;
  margin-bottom: 1.2rem;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.blog-card-meta .sep { color: var(--border); }

.skeleton-card {
  min-height: 200px;
  background: linear-gradient(90deg, #f0f4f9 25%, #e2e8f0 50%, #f0f4f9 75%);
  background-size: 200% 100%;
  animation: skeleton 1.4s ease-in-out infinite;
}

@keyframes skeleton {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── NEWSLETTER ── */
.newsletter-section { background: var(--navy-deep); }

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.newsletter-text h2 { color: var(--white); }

.newsletter-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.8rem;
  max-width: 100%;
}

.newsletter-form { display: flex; flex-direction: column; gap: 0.8rem; }

.form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.form-row input {
  flex: 1;
  min-width: 160px;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.form-row input::placeholder { color: var(--text-faint); }

.form-row input:focus {
  outline: none;
  border-color: var(--sky);
  background: rgba(59,130,246,0.06);
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  max-width: none;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--sky-light);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  background: rgba(59,130,246,0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(59,130,246,0.2);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy-deep);
  padding: clamp(8rem, 12vw, 11rem) clamp(1rem, 4vw, 2.5rem) clamp(4rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-title {
  color: var(--white);
  max-width: 18ch;
  margin-bottom: 0;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 1.2rem;
  max-width: 55ch;
}

/* ── PROSE ── */
.prose p {
  margin-bottom: 1.2rem;
  color: #3a4a5c;
  font-size: 1.02rem;
  line-height: 1.8;
}

/* ── VALUES GRID ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), background var(--transition);
}

.value-card:hover {
  border-color: var(--sky);
  background: rgba(59,130,246,0.04);
}

.value-card svg {
  color: var(--sky);
  margin-bottom: 1.2rem;
}

.value-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 100%;
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--sky), var(--border));
}

.timeline-item {
  position: relative;
  padding: 0 0 3rem 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px rgba(59,130,246,0.3);
}

.timeline-year {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--sky);
  margin-bottom: 0.4rem;
}

.timeline-content h3 {
  font-size: 1.3rem;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.95rem;
  color: #4a5568;
  max-width: 55ch;
}

/* ── CTA SECTION ── */
.cta-section { position: relative; }
.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-inner p  { color: var(--text-muted); margin-bottom: 2rem; max-width: none; }

/* ── SERVICE DETAIL ── */
.service-detail {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child { border-bottom: none; }

.service-detail-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--border);
  padding-top: 0.5rem;
}

.service-detail-head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.service-detail-head svg { color: var(--sky); flex-shrink: 0; }

.service-detail-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--navy-deep);
}

.service-detail-desc {
  color: #3a4a5c;
  font-size: 1.02rem;
  line-height: 1.78;
  margin-bottom: 1.8rem;
  max-width: 70ch;
}

.service-detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.6rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #4a5568;
  padding: 0.5rem 0;
}

.service-item svg { color: var(--sky); flex-shrink: 0; }

/* ── PROCESS STEPS ── */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 160px;
  text-align: center;
}

.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(59,130,246,0.15);
  border: 1px solid var(--sky);
  color: var(--sky-light);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.process-step h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.6;
  max-width: 100%;
}

.process-arrow {
  flex-shrink: 0;
  color: var(--text-faint);
  padding-top: 1rem;
  align-self: flex-start;
}

/* ── GITHUB TEAM ── */
.github-config-section {
  background: var(--white);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.github-config-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.github-config-box svg { color: var(--sky); flex-shrink: 0; margin-top: 2px; }

.github-config-box > div {
  flex: 1;
  min-width: 200px;
}

.github-config-box strong {
  display: block;
  color: var(--navy-deep);
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
}

.github-config-box span {
  color: #4a5568;
  font-size: 0.87rem;
  line-height: 1.6;
  max-width: none;
}

.github-org-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.github-org-row label {
  font-size: 0.88rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.github-org-row input {
  flex: 1;
  min-width: 200px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--navy-deep);
  transition: border-color var(--transition);
  background: var(--white);
}

.github-org-row input:focus {
  outline: none;
  border-color: var(--sky);
}

.team-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.team-status-bar span { font-size: 0.9rem; color: var(--text-muted); }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #10b981;
  background: rgba(16,185,129,0.08);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  border: 1px solid rgba(16,185,129,0.2);
}

.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}

.member-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.member-card:hover {
  border-color: var(--sky);
  box-shadow: 0 8px 32px rgba(59,130,246,0.1);
  transform: translateY(-3px);
}

.member-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 2px solid var(--border);
  background: var(--subtle-bg);
}

.member-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0.25rem;
}

.member-bio {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 100%;
  margin: 0.5rem 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.member-links {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

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

.member-link:hover { color: var(--sky); }

.member-skeleton {
  height: 220px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, #f0f4f9 25%, #e2e8f0 50%, #f0f4f9 75%);
  background-size: 200% 100%;
  animation: skeleton 1.4s ease-in-out infinite;
}

.team-error {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.team-error svg { color: var(--border); margin: 0 auto 1.2rem; }
.team-error p { max-width: 40ch; margin: 0 auto 1.5rem; }

/* ── BLOG FULL GRID ── */
.blog-filter-section {
  background: var(--white);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 68px;
  z-index: 100;
}

.blog-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

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

.blog-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.blog-empty {
  text-align: center;
  padding: 4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.code-preview {
  background: var(--navy-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--navy-border);
}

/* ── POST MODAL ── */
.post-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.post-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,16,31,0.85);
  backdrop-filter: blur(4px);
}

.post-modal-inner {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 3rem;
  z-index: 1;
}

.post-modal-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  transition: color var(--transition), border-color var(--transition);
}

.post-modal-close:hover { color: var(--navy-deep); border-color: var(--navy-deep); }

.post-modal-content .post-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(59,130,246,0.08);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.post-modal-content h2 {
  font-size: 2rem;
  color: var(--navy-deep);
  margin-bottom: 0.8rem;
}

.post-meta {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: flex;
  gap: 0.6rem;
}

.post-body {
  font-size: 1rem;
  line-height: 1.85;
  color: #2c3e50;
}

.post-body p  { margin-bottom: 1.2rem; max-width: none; }
.post-body h3 { color: var(--navy-deep); margin: 1.8rem 0 0.8rem; }

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-form-wrap h2 {
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}

.form-intro {
  color: #4a5568;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: none;
}

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--navy-deep);
  background: var(--white);
  transition: border-color var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.contact-success {
  background: rgba(16,185,129,0.08);
  border-color: rgba(16,185,129,0.25);
  color: #065f46;
}

.contact-info { padding-top: 0.5rem; }

.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-block svg { color: var(--sky); flex-shrink: 0; margin-top: 2px; }

.contact-info-block h4 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-info-block a,
.contact-info-block span {
  font-size: 0.95rem;
  color: var(--off-white);
}

.contact-info-block a:hover { color: var(--sky); }

.contact-social-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-social-block h4 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.contact-socials {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #4a5568;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

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

/* ── FAQ ── */
.contact-faq { padding-top: 1.5rem; }

.contact-faq h4 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1rem 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq-q:hover { color: var(--sky); }

.faq-q svg { flex-shrink: 0; transition: transform var(--transition); }
.faq-q.open svg { transform: rotate(180deg); }

.faq-a {
  font-size: 0.88rem;
  color: #4a5568;
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding-bottom: 0;
}

.faq-a.open {
  max-height: 200px;
  padding-bottom: 1rem;
}

/* ── FOOTER ── */
.footer {
  background: var(--navy-deep);
  padding-top: 4rem;
  border-top: 1px solid var(--navy-border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-faint);
  font-size: 0.88rem;
  margin-top: 0.8rem;
  margin-bottom: 1.5rem;
  max-width: none;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-socials a {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--navy-border);
  color: var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), color var(--transition);
}

.footer-socials a:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.3rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--navy-border);
  padding: 1.2rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom span {
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 7rem;
  }
  .hero-visual { display: none; }
  .hero-scroll-hint { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item + .stat-item::before { display: none; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 1rem; }
  .service-detail-num { display: none; }
  .process-steps { flex-direction: column; }
  .process-arrow { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7,16,31,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 800;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: block; z-index: 900; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .blog-grid-full { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .form-row { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr; }
}