/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: #EDEDED;
  color: #111111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========== DESIGN TOKENS ========== */

/* ========== UTILITIES ========== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.25s;
}
.btn-pill { border-radius: var(--radius-pill); padding: 12px 28px; }
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-dark { background: #111; color: #fff; border: none; }
.btn-dark:hover { background: #333; }
.btn-outline { background: #fff; color: #111; border: 1px solid var(--divider); }
.btn-outline:hover { border-color: #111; }
.btn-purple, .btn-brand { background: var(--brand); color: var(--text-on-dark); border: none; }
.btn-purple:hover, .btn-brand:hover { background: var(--brand-hover); box-shadow: var(--shadow-brand); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--divider-soft); }
.btn-ghost:hover { border-color: var(--text); background: rgba(17,17,17,0.03); }
.btn-lg { padding: 15px 32px; font-size: 15px; }
.arrow { font-size: 14px; transition: transform 0.2s; }
.btn:hover .arrow { transform: translate(2px, -2px); }
.eyebrow {
  display: inline-block; font-size: 13px; color: var(--text-secondary);
  margin-bottom: 16px; letter-spacing: 0.02em;
}
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px); font-weight: 700;
  line-height: 1.15; margin-bottom: 14px; letter-spacing: -0.02em;
}
.section-header p {
  font-size: 15px; color: var(--text-secondary);
  max-width: 520px; margin: 0 auto; line-height: 1.6;
}

/* ========== NAVBAR ========== */
.hero-sub {
  font-size: 16px; color: var(--text-secondary);
  max-width: 600px; margin: 0 auto 32px;
  line-height: 1.65;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; }

/* ========== CASE STUDY CARD ========== */
.case-study {
  padding: 0 24px 80px;
  max-width: var(--container); margin: 0 auto;
  margin-top: -20px;
}
.case-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  padding: 80px 48px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.case-glow {
  position: absolute; bottom: -60px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(circle, rgba(30,99,255,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.case-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  font-size: 13px; padding: 8px 18px; border-radius: var(--radius-pill);
  margin-bottom: 32px; transition: background 0.2s;
  position: relative; z-index: 1;
}
.case-tag:hover { background: rgba(255,255,255,0.12); }
.case-tag .arrow { color: var(--purple-light); }
.case-card h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; color: #fff;
  line-height: 1.12; max-width: 700px;
  margin: 0 auto 20px; letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.case-sub {
  font-size: 15px; color: rgba(255,255,255,0.55);
  max-width: 600px; margin: 0 auto 36px;
  line-height: 1.65; position: relative; z-index: 1;
}
.case-avatars {
  display: flex; justify-content: center; margin: 32px auto 0;
  position: relative; z-index: 1;
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 600;
  border: 2px solid var(--dark-card);
  margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.case-rating {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-top: 16px; position: relative; z-index: 1;
}
.stars { color: var(--purple); font-size: 14px; letter-spacing: 2px; }
.case-rating span { font-size: 13px; color: rgba(255,255,255,0.45); }
.case-names {
  display: flex; justify-content: center; gap: 32px;
  margin-top: 24px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.case-names div {
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.case-names strong { color: rgba(255,255,255,0.7); font-weight: 500; }

/* ========== SERVICES ========== */
.services { padding: 40px 24px 80px; max-width: var(--container); margin: 0 auto; }
.services-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 64px 48px 48px;
}

/* Service rows */
.service-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0;
  border-bottom: 1px solid var(--divider);
  cursor: pointer; transition: background 0.2s;
}
.service-row:last-child { border-bottom: none; }
.service-row:hover { background: rgba(0,0,0,0.02); border-radius: 8px; padding-left: 12px; padding-right: 12px; }
.service-left { flex: 1; }
.service-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600; margin-bottom: 4px;
  display: flex; align-items: center; gap: 8px;
}
.badge {
  font-size: 11px; font-weight: 500; color: var(--text-muted);
  background: rgba(0,0,0,0.05); border-radius: 50%;
  width: 24px; height: 24px; display: inline-flex;
  align-items: center; justify-content: center;
}
.service-desc { font-size: 14px; color: var(--text-secondary); max-width: 450px; }
.service-arrow {
  font-size: 18px; color: var(--text); width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(0,0,0,0.03);
  transition: all 0.2s; flex-shrink: 0;
}
.service-row:hover .service-arrow { background: #111; color: #fff; }

/* ========== VALUE + STATS ========== */
.value-section { padding: 40px 24px 80px; max-width: var(--container); margin: 0 auto; }
.value-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 56px 48px; position: relative; overflow: hidden;
}
.value-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.value-right { border-left: 1px solid var(--divider); padding-left: 48px; }
.value-left h2, .value-right h2 {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 24px); font-weight: 700;
  line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 16px;
}
.value-left p, .value-right p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 20px; }
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700; color: var(--purple);
}
.stat-label { font-size: 13px; color: var(--text-secondary); }

/* ========== FEATURE ========== */
.feature-section { padding: 40px 24px 80px; max-width: var(--container); margin: 0 auto; }
.feature-grid {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 64px 48px;
}
.feature-left h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 32px); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px;
}
.feature-left p {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 24px;
}

/* ========== TEAM ========== */
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.quote-icon {
  font-family: Georgia, serif;
  font-size: 48px; line-height: 1; color: var(--purple);
  margin-bottom: 12px;
}
.testimonial-card p {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.65; margin-bottom: 20px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.t-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 600;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; font-weight: 600; }
.testimonial-author span { font-size: 12px; color: var(--text-muted); }
/* ========== WORK / PORTFOLIO ========== */
.work-section { padding: 40px 0 80px; }
.projects-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.project-card {
  background: #fff; border-radius: var(--radius-md);
  overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.project-thumb { height: 180px; }
.project-info { padding: 20px; }
.project-tag {
  font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.project-info h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; margin: 6px 0 6px;
}
.project-info p { font-size: 13px; color: var(--text-secondary); }

/* ========== PROCESS ========== */
.process-section { padding: 40px 24px 80px; max-width: var(--container); margin: 0 auto; }
.process-flow {
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; padding: 20px 0;
  scrollbar-width: none;
}
.process-flow::-webkit-scrollbar { display: none; }
.process-card {
  flex: 1; min-width: 200px; max-width: 260px;
  background: #fff; border-radius: var(--radius-md);
  padding: 32px 24px; position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--step-color, var(--purple));
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30,99,255,0.15);
}
.process-card-bg {
  position: absolute; top: -20px; right: -20px;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--step-color, var(--purple)); opacity: 0.08;
}
.process-card:nth-child(1) { --step-color: #0A1633; }
.process-card:nth-child(3) { --step-color: #14318F; }
.process-card:nth-child(5) { --step-color: #1E63FF; }
.process-card:nth-child(7) { --step-color: #5AA9FF; }
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; color: #fff;
  background: var(--step-color, var(--purple));
  margin-bottom: 16px; letter-spacing: 0.02em;
}
.process-card h4 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600; margin-bottom: 8px;
  color: var(--text);
}
.process-card p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
}
.process-dots {
  display: flex; gap: 4px; margin-top: 16px;
}
.process-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--step-color, var(--purple)); opacity: 0.35;
}
.process-arrow-block {
  flex-shrink: 0; padding: 0 4px;
}
.process-card,
.process-arrow-block {
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.process-flow.visible .process-card,
.process-flow.visible .process-arrow-block {
  opacity: 1; transform: translateX(0);
}
.process-flow.visible .process-card:nth-child(1),
.process-flow.visible .process-arrow-block:nth-child(2) { transition-delay: 0s; }
.process-flow.visible .process-card:nth-child(3),
.process-flow.visible .process-arrow-block:nth-child(4) { transition-delay: 0.12s; }
.process-flow.visible .process-card:nth-child(5),
.process-flow.visible .process-arrow-block:nth-child(6) { transition-delay: 0.24s; }
.process-flow.visible .process-card:nth-child(7) { transition-delay: 0.36s; }

/* ========== CLIENTS ========== */
.clients-section { padding: 40px 24px 80px; max-width: var(--container); margin: 0 auto; }
.clients-track { overflow: hidden; }
.clients-logos {
  display: flex; gap: 48px; align-items: center;
  animation: scroll-logos 20s linear infinite;
  width: max-content;
}
.client-logo {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; color: var(--text-muted);
  white-space: nowrap; opacity: 0.5;
  transition: opacity 0.3s;
}
.client-logo:hover { opacity: 1; }
@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== FAQ ========== */
.faq-section { padding: 40px 24px 80px; max-width: 800px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: #fff; border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: none; border: none;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600; color: var(--text);
  cursor: pointer; text-align: left;
}
.faq-chevron {
  flex-shrink: 0; transition: transform 0.3s;
  color: var(--text-muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 24px 20px; }
.faq-a p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ========== CONTACT ========== */
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; color: #fff;
  line-height: 1.12; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.cta-card p {
  font-size: 15px; color: rgba(255,255,255,0.55);
  max-width: 500px; margin: 0 auto 32px;
  line-height: 1.65; position: relative; z-index: 1;
}
.cta-card .btn { position: relative; z-index: 1; }

/* ========== FOOTER ========== */
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 4px; }

.trust-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 28px;
}
.trust-strip span {
  font-size: 13px; color: var(--text-secondary);
  background: rgba(0,0,0,0.04); border: 1px solid var(--divider);
  padding: 7px 16px; border-radius: var(--radius-pill);
}
.stats-section { padding-bottom: 40px; }
.stats-section .value-card { padding: 40px 32px; }

/* projects grid was locked to 4 columns and stretched with fewer cards */
.projects-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status {
  margin-top: 14px; font-size: 14px; line-height: 1.5;
  padding: 0; min-height: 0;
}
.form-status.ok { color: #0a7a52; background: rgba(6,214,160,0.12); padding: 12px 16px; border-radius: var(--radius-sm); }
.form-status.err { color: #b3243f; background: rgba(239,71,111,0.12); padding: 12px 16px; border-radius: var(--radius-sm); }
.form-privacy { margin-top: 12px; font-size: 12px; color: var(--text-muted); }
.form-privacy a { text-decoration: underline; }

/* ========== ADDED: service detail blocks, article layout ========== */
.svc-detail { padding: 32px 0; border-top: 1px solid var(--divider); scroll-margin-top: 100px; }
.svc-detail:first-of-type { border-top: none; padding-top: 8px; }
.svc-detail h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 10px;
}
.svc-detail > p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; max-width: 720px; }
.svc-list { margin: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.svc-list li {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
  padding-left: 22px; position: relative; list-style: none;
}
.svc-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--purple); font-weight: 700; font-size: 13px;
}
.svc-fit {
  font-size: 14px; color: var(--text); background: rgba(30,99,255,0.06);
  border-left: 3px solid var(--purple); padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-top: 8px;
}
@media (max-width: 768px) { .svc-list { grid-template-columns: 1fr; } }

/* article pages */
.article { max-width: 760px; margin: 0 auto; padding: 0 24px 80px; }
.article-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; }
.article h2 {
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  margin: 40px 0 12px; line-height: 1.3;
}
.article h3 {
  font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 28px 0 10px;
}
.article p { font-size: 16px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 20px 20px; }
.article li { font-size: 16px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 8px; }
.article a { color: var(--purple); text-decoration: underline; }
.article strong { color: var(--text); }
.article blockquote {
  border-left: 3px solid var(--purple); padding: 4px 0 4px 20px;
  margin: 24px 0; font-size: 17px; color: var(--text); line-height: 1.7;
}
.article-cta {
  background: var(--bg-card); border-radius: var(--radius-md);
  padding: 28px; margin-top: 48px; text-align: center;
}
.article-cta h3 { margin-top: 0; }
.article-cta p { margin-bottom: 20px; }

/* ========== ADDED: address blocks ========== */

/* ========== ADDED: founder feature block ========== */
.founder-section { padding: 40px 24px 40px; max-width: var(--container); margin: 0 auto; }
.founder-card {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center;
  background: var(--dark-card); border-radius: var(--radius-lg);
  padding: 48px; position: relative; overflow: hidden;
}
.founder-card::before {
  content: ''; position: absolute; top: -140px; right: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,99,255,0.35), transparent 65%);
  pointer-events: none;
}
.founder-photo { position: relative; z-index: 1; }
.founder-photo img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center;
  border-radius: 28px 8px; display: block;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.founder-body { position: relative; z-index: 1; }
.founder-body .eyebrow { color: var(--purple-light); }
.founder-quote {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 600; line-height: 1.4; color: #fff;
  margin: 14px 0 20px; padding-left: 20px;
  border-left: 3px solid var(--purple);
}
.founder-note {
  font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.72);
  margin-bottom: 24px; max-width: 620px;
}
.founder-sign strong {
  display: block; font-family: var(--font-display);
  font-size: 16px; font-weight: 600; color: #fff;
}
.founder-sign span { font-size: 13px; color: var(--purple-light); }

/* contact heading became an <h1> for SEO — keep it identical to the old <h2> */

@media (max-width: 860px) {
  .founder-card { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px; border-radius: 24px; }
  .founder-photo { max-width: 240px; }
  .founder-quote { font-size: 21px; padding-left: 16px; }
}

