/*
Theme Name: Nine30Digital
Theme URI: https://nine30digital.com
Author: Nine30Digital / Corvay Technologies
Author URI: https://nine30digital.com
Description: Premium digital systems and automation agency theme. Built for Nine30Digital.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nine30digital
Tags: business, portfolio, agency, dark, modern
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy:        #060C1A;
  --navy-2:      #0B1525;
  --navy-3:      #111D30;
  --navy-4:      #162240;
  --blue:        #2B7FFF;
  --blue-light:  #4E9BFF;
  --blue-dim:    rgba(43,127,255,0.12);
  --blue-dim2:   rgba(43,127,255,0.06);
  --white:       #FFFFFF;
  --grey:        #A8B4CC;
  --grey-2:      #6B7A99;
  --border:      rgba(255,255,255,0.07);
  --border-blue: rgba(43,127,255,0.3);
  --font-head:   'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --max-w:       1200px;
  --section-pad: 100px 48px;
  --transition:  0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: color var(--transition); }
ul  { list-style: none; }
button, input, textarea, select { font-family: var(--font-body); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(40px,7vw,84px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px,4vw,52px); font-weight: 700; }
h3 { font-size: clamp(20px,2.5vw,28px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }

p { line-height: 1.7; }

.text-grey  { color: var(--grey); }
.text-blue  { color: var(--blue); }
.text-center { text-align: center; }
.text-light { font-weight: 300; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 38px;
  padding: 0 48px;
}

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

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ============================================================
   SECTION LABELS & HEADINGS
   ============================================================ */
.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--grey);
  font-size: 16px;
  max-width: 520px;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 56px;
}

.section-sub.wide { max-width: 680px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--border-blue);
  padding: 10px 20px;
  font-size: 13px;
}
.btn-ghost:hover {
  background: var(--blue-dim);
  color: var(--blue-light);
}

.btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  /* position: fixed;
  height: 68px;
*/
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(6,12,26,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

#site-header.scrolled {
  background: rgba(6,12,26,0.97);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 38px;
  height: 38px;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

.logo-text span { color: var(--blue); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  color: var(--grey);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.current-page { color: var(--white); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500 !important;
  font-size: 13px !important;
}

.nav-cta:hover {
  background: var(--blue-light) !important;
  color: var(--white) !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   PAGE HERO (shared)
   ============================================================ */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding: 140px 48px 80px;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43,127,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 50%, transparent 100%);
  pointer-events: none;
}

.page-hero .hero-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(43,127,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; width: 100%; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .hero-sub { font-size: 18px; color: var(--grey); font-weight: 300; max-width: 600px; line-height: 1.7; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--border-blue);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue-dim);
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
}

/* ============================================================
   TAG PILLS
   ============================================================ */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--blue-dim2);
  border: 1px solid rgba(43,127,255,0.15);
  border-radius: 100px;
  color: var(--grey-2);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 28px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--navy-2);
  display: flex;
  align-items: center;
  gap: 48px;
  overflow: hidden;
}

.trust-bar-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-2);
  white-space: nowrap;
  font-weight: 500;
}

.trust-logos {
  display: flex;
  gap: 48px;
  align-items: center;
  flex: 1;
}

.trust-logo {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: rgba(168,180,204,0.35);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition);
}

.trust-logo:hover { color: var(--grey); }

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: flex;
  gap: 56px;
  padding-top: 48px;
  margin-top: 64px;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 700;
}

.stat-label {
  font-size: 13px;
  color: var(--grey-2);
  margin-top: 4px;
}

/* ============================================================
   NUMBERED POINTS (WHY US etc.)
   ============================================================ */
.numbered-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}

.numbered-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.point-num {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  font-family: var(--font-head);
}

.point-title {
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 5px;
}

.point-desc {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.65;
}

/* ============================================================
   TERMINAL BLOCK
   ============================================================ */
.terminal {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.terminal-bar {
  background: var(--navy-4);
  padding: 12px 16px;
  display: flex;
  gap: 7px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.t-dot { width: 11px; height: 11px; border-radius: 50%; }
.t-dot.r { background: #FF5F57; }
.t-dot.y { background: #FFBD2E; }
.t-dot.g { background: #28CA41; }

.terminal-title {
  font-size: 11px;
  color: var(--grey-2);
  margin-left: 8px;
  font-family: 'Courier New', monospace;
}

.terminal-body {
  padding: 20px 24px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 2;
}

.tc  { color: var(--grey-2); }
.tb  { color: var(--blue-light); }
.tg  { color: #4ADE80; }
.tw  { color: var(--white); }
.ts2 { color: var(--grey-2); font-size: 11px; }

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

.service-tile {
  background: var(--navy-2);
  padding: 36px 32px;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.service-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-tile:hover { background: var(--navy-3); }
.service-tile:hover::before { opacity: 1; }

/* ============================================================
   CASE STUDY CARDS
   ============================================================ */
.case-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
  color: var(--white);
}

.case-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
  color: var(--white);
}

.case-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.case-thumb-label {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,255,255,0.08);
  letter-spacing: -0.04em;
}

.case-body { padding: 24px; }
.case-title { font-family: var(--font-head); font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.case-desc  { font-size: 13px; color: var(--grey); line-height: 1.65; margin-bottom: 16px; }

.case-metrics {
  display: flex;
  gap: 20px;
}

.metric-num   { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--blue-light); }
.metric-label { font-size: 11px; color: var(--grey-2); margin-top: 2px; }

/* Case thumb colours */
.case-thumb-1 { background: linear-gradient(135deg,#0B1525,#0D1F3C); }
.case-thumb-2 { background: linear-gradient(135deg,#0B1525,#1A1030); }
.case-thumb-3 { background: linear-gradient(135deg,#0B1525,#0F1E2E); }
.case-thumb-4 { background: linear-gradient(135deg,#0B1525,#141A0F); }

/* ============================================================
   PROCESS / AUTOMATION FLOW
   ============================================================ */
.process-flow {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  margin: 56px 0 40px;
}

.process-node {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  text-align: center;
  min-width: 130px;
  transition: all var(--transition);
}

.process-node:hover {
  border-color: var(--border-blue);
  background: var(--navy-4);
}

.process-icon  { font-size: 28px; margin-bottom: 8px; }
.process-label { font-size: 13px; font-weight: 500; }
.process-sub   { font-size: 11px; color: var(--grey-2); margin-top: 3px; }

.process-arrow {
  padding: 0 10px;
  color: var(--blue);
  font-size: 22px;
  flex-shrink: 0;
}

.results-bar {
  background: var(--blue-dim);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.result-item { text-align: center; }
.result-num   { font-family: var(--font-head); font-size: 30px; font-weight: 700; }
.result-label { font-size: 12px; color: var(--grey); margin-top: 4px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  transition: border-color var(--transition);
}

.testi-card:hover { border-color: rgba(43,127,255,0.25); }

.testi-stars {
  color: var(--blue);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testi-quote {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
  font-weight: 300;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-light);
  font-family: var(--font-head);
  flex-shrink: 0;
}

.testi-name { font-size: 13px; font-weight: 500; }
.testi-role { font-size: 11px; color: var(--grey-2); }

/* ============================================================
   INDUSTRIES PILLS
   ============================================================ */
.ind-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.ind-pill {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.ind-pill:hover {
  border-color: var(--border-blue);
  color: var(--blue-light);
  background: var(--blue-dim2);
}

.ind-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ============================================================
   CTA BANNER SECTION
   ============================================================ */
.cta-section {
  padding: var(--section-pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section .cta-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(43,127,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box {
  background: var(--navy-2);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-xl);
  padding: 60px 80px;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.cta-box h2 { margin-bottom: 16px; }

.cta-box .section-sub {
  margin: 0 auto 40px;
  max-width: 520px;
}

.cta-note {
  font-size: 12px;
  color: var(--grey-2);
  margin-top: 20px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-size: 14px;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-blue);
}

.form-group select option { background: var(--navy-3); }

/* ============================================================
   BLOG / INSIGHTS
   ============================================================ */
.post-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-3px);
}

.post-thumb {
  height: 180px;
  background: var(--navy-3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.post-cat {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px;
  padding: 4px 10px;
  background: var(--blue-dim);
  border: 1px solid var(--border-blue);
  border-radius: 100px;
  color: var(--blue-light);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}

.post-excerpt { font-size: 13px; color: var(--grey); line-height: 1.65; flex: 1; }

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--grey-2);
}

.post-read-more {
  color: var(--blue);
  font-weight: 500;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
}
.post-read-more:hover { color: var(--blue-light); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  padding: 64px 48px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--grey-2);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 240px;
}

.footer-tagline {
  font-size: 11px;
  color: rgba(107,122,153,0.5);
  margin-top: 8px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--grey);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 12px; color: var(--grey-2); }
.footer-bottom a { color: var(--blue); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--blue-light); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   BADGE / PULSE
   ============================================================ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-dim);
  border: 1px solid var(--border-blue);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--blue-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 32px;
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

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

/* ============================================================
   ABOUT PAGE SPECIFICS
   ============================================================ */
.about-founder {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.founder-photo-block {
  position: sticky;
  top: 100px;
}

.founder-photo {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.founder-photo-placeholder {
  font-family: var(--font-head);
  font-size: 80px;
  font-weight: 800;
  color: rgba(43,127,255,0.15);
}

.founder-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.tool-pill {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
  color: var(--grey);
  text-align: center;
  transition: all var(--transition);
}

.tool-pill:hover {
  border-color: var(--border-blue);
  color: var(--blue-light);
}

/* ============================================================
   SERVICE DETAIL PAGE
   ============================================================ */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.service-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--grey);
  transition: all var(--transition);
}

.sidebar-link:hover,
.sidebar-link.active {
  border-color: var(--border-blue);
  background: var(--blue-dim2);
  color: var(--white);
}

.service-content h3 { margin: 40px 0 16px; }
.service-content p  { color: var(--grey); margin-bottom: 16px; font-weight: 300; }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.process-step {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  min-width: 28px;
}

.step-title { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.step-desc  { font-size: 13px; color: var(--grey); line-height: 1.6; }

/* ============================================================
   CASE STUDY DETAIL
   ============================================================ */
.case-detail-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 48px 0;
}

.meta-block {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.meta-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-2); margin-bottom: 6px; }
.meta-value { font-size: 14px; font-weight: 500; }

.case-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.result-card {
  background: var(--blue-dim);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 80px 32px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .case-detail-meta { grid-template-columns: repeat(2,1fr); }
  .about-founder { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .cta-box { padding: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px 20px; }
  #site-header { padding: 0 20px; }
  .main-nav { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: var(--navy-2); border-bottom: 1px solid var(--border); padding: 24px 20px; gap: 20px; }
  .main-nav.open { display: flex; }
  .menu-toggle { display: flex; }
  h1 { font-size: clamp(36px,8vw,52px); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 120px 20px 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .stats-row { flex-direction: column; gap: 24px; }
  .trust-bar { flex-direction: column; gap: 16px; }
  .process-flow { gap: 8px; }
  .process-arrow { transform: rotate(0deg); }
  .results-bar { gap: 24px; }
  .case-detail-meta { grid-template-columns: 1fr 1fr; }
  .case-result-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 32px 20px; }
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .btn-group { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
}
