/* ==========================================================================
   Digital Foresight Agency, style.css
   Hand-written, mobile-first, no framework. Tokens per BRAND.md.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --accent:        #E8431A;  /* primary CTA / brand orange-red */
  --accent-light:  #fff1ed;
  --accent2:       #F5A623;  /* amber, secondary accent */
  --accent3:       #00B87A;  /* teal/green, secondary accent */
  --black:         #0c0c0c;  /* near-black, dark sections */
  --ink:           #141414;  /* body text on white */
  --gray-bg:       #f7f7f5;  /* light section background */
  --gray-border:   #e5e5e1;
  --muted:         #6a6a6a;  /* secondary text */

  --footer-black:  #080808;
  --nav-h:         74px;
  --pad-x:         6%;
  --section-y:     64px;   /* mobile default, enhanced below */
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
.section {
  padding: var(--section-y) var(--pad-x);
}
.section-dark { background: var(--black); }
.section-gray { background: var(--gray-bg); }
.container { max-width: 1240px; margin: 0 auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary,
.btn-dark,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 22px rgba(232,67,26,0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(232,67,26,0.42);
}
.btn-dark {
  background: var(--black);
  color: #fff;
  font-weight: 700;
}
.btn-dark:hover { background: var(--accent); color: #fff; }
.btn-outline {
  color: #fff;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }

/* Secondary "explore" text link with circle icon */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.93rem;
  color: var(--black);
}
.btn-ghost .circle {
  width: 38px; height: 38px; background: var(--black); border-radius: 9999px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.2s ease;
}
.btn-ghost:hover .circle { background: var(--accent); }

/* ==========================================================================
   Section eyebrow / titles
   ========================================================================== */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-family: var(--font-display); font-weight: 700;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.section-tag::before {
  content: ''; display: block; width: 16px; height: 2px;
  background: var(--accent); flex-shrink: 0;
}
.section-tag.center { justify-content: center; }

.section-title {
  font-family: var(--font-display); font-weight: 800; line-height: 1.12;
  color: var(--ink); font-size: clamp(1.9rem, 3vw, 2.65rem); letter-spacing: -1px;
}
.section-title.on-dark { color: #fff; }

.section-desc {
  color: var(--muted); line-height: 1.7; font-size: 0.95rem;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h); padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--gray-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.brand { display: flex; align-items: center; }
.brand img { height: 38px; width: auto; }

.nav-primary { display: none; }
.nav-list { display: flex; gap: 2.25rem; align-items: center; }
.nav-link {
  position: relative; font-family: var(--font-display); font-weight: 500;
  font-size: 0.88rem; color: var(--ink); transition: color 0.2s ease;
  background: none; display: inline-flex; align-items: center; gap: 4px;
}
.nav-link:hover { color: var(--accent); }
.nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--accent); transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* Services dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  margin-top: 12px; background: #fff; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12); border: 1px solid var(--gray-border);
  padding: 8px; width: 270px; z-index: 50;
  opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.dropdown.open {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  border-radius: 12px; transition: background 0.2s ease;
  font-family: var(--font-display); font-weight: 500; font-size: 0.875rem; color: var(--ink);
}
.dropdown a:hover { background: var(--gray-bg); }
.dropdown a .dot {
  width: 8px; height: 8px; border-radius: 9999px; background: var(--accent);
  opacity: 0.6; flex-shrink: 0; transition: opacity 0.2s ease;
}
.dropdown a:hover .dot { opacity: 1; }

/* Burger */
.burger {
  display: flex; flex-direction: column; gap: 5px; padding: 8px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: all 0.25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--gray-border);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  padding: 1.5rem var(--pad-x); display: flex; flex-direction: column; gap: 1rem;
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu .menu-label {
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted);
}
.mobile-menu a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
  color: var(--ink); min-height: 44px; display: flex; align-items: center;
}
.mobile-menu hr { border: none; border-top: 1px solid var(--gray-border); }
.mobile-menu .btn-dark { justify-content: center; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; background: var(--gray-bg);
  padding: calc(var(--nav-h) + 46px) var(--pad-x) 70px;
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
.hero-glow { position: absolute; border-radius: 9999px; pointer-events: none; }
.hero-glow-1 { top: -300px; right: -300px; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(232,67,26,0.07) 0%, transparent 65%); }
.hero-glow-2 { bottom: -200px; left: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,184,122,0.05) 0%, transparent 65%); }
.hero-content { position: relative; z-index: 2; min-width: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-light); color: var(--accent);
  font-family: var(--font-display); font-weight: 700; font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 6px 16px; border-radius: 9999px; margin-bottom: 1.5rem;
  border: 1px solid rgba(232,67,26,0.2);
}
.badge .pulse {
  width: 6px; height: 6px; background: var(--accent); border-radius: 9999px;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-family: var(--font-display); font-weight: 800; line-height: 1.08;
  letter-spacing: -1.8px; color: var(--black);
  font-size: clamp(2.6rem, 4.5vw, 3.9rem); margin-bottom: 1.5rem;
}
.hero h1 .mark { color: var(--accent); position: relative; display: inline-block; }
.hero h1 .mark::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 5px;
  background: var(--accent); opacity: 0.2; border-radius: 4px;
}
.hero-lead {
  font-size: 1.04rem; color: var(--muted); line-height: 1.78;
  max-width: 520px; margin-bottom: 2.5rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 3rem; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--gray-border);
}
.hero-stats .num {
  font-family: var(--font-display); font-weight: 800; font-size: 1.9rem;
  line-height: 1; letter-spacing: -1.2px; color: var(--black);
}
.hero-stats .lbl { font-size: 0.77rem; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* Hero dark capability card */
.hero-card-wrap { display: none; }
.hero-card {
  width: 100%; background: var(--black); border-radius: 28px; padding: 2.25rem;
  position: relative; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.2);
}
.hero-card .card-glow {
  position: absolute; top: -60px; right: -60px; width: 200px; height: 200px;
  border-radius: 9999px; pointer-events: none;
  background: radial-gradient(circle, rgba(232,67,26,0.25) 0%, transparent 70%);
}
.hero-card .eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 1.25rem;
}
.hero-card h2 {
  font-family: var(--font-display); font-weight: 800; font-size: 1.45rem;
  color: #fff; line-height: 1.2; margin-bottom: 1.75rem;
}
.cap-list { display: flex; flex-direction: column; gap: 0.5rem; }
.cap-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 10px 16px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.84rem; color: rgba(255,255,255,0.8);
  transition: background 0.2s ease;
}
.cap-item:hover { background: rgba(255,255,255,0.1); }
.cap-item .dot { width: 6px; height: 6px; border-radius: 9999px; flex-shrink: 0; }
.dot-accent { background: var(--accent); }
.dot-accent2 { background: var(--accent2); }
.dot-accent3 { background: var(--accent3); }

/* ==========================================================================
   Trust logos strip (platforms/tech) + client logo wall
   ========================================================================== */
.trust-strip { background: #111; padding: 3rem var(--pad-x); border-top: 1px solid rgba(255,255,255,0.05); }
.trust-strip .eyebrow {
  text-align: center; font-family: var(--font-display); font-weight: 700;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.25em;
  color: rgba(255,255,255,0.2); margin-bottom: 2.5rem;
}
.tech-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  align-items: center; max-width: 64rem; margin: 0 auto;
}
.tech-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tech-item span {
  font-family: var(--font-display); font-weight: 600; font-size: 0.76rem;
  letter-spacing: 0.02em; color: rgba(255,255,255,0.5); text-align: center;
}

/* Client logo wall (placeholder brand marks, Phase 2 swap) */
.client-wall { background: #111; padding: 0 var(--pad-x) 3.25rem; }
.client-inner {
  max-width: 64rem; margin: 0 auto; padding-top: 2.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.client-eyebrow {
  text-align: center; font-family: var(--font-display); font-weight: 700;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.22em;
  color: rgba(255,255,255,0.22); margin-bottom: 2rem;
}
.client-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem;
  align-items: center; justify-items: center;
}
.client-logo { opacity: 0.4; transition: opacity 0.3s ease; }
.client-logo:hover { opacity: 0.75; }

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker { background: var(--black); padding: 1.1rem 0; overflow: hidden; }
.ticker-track {
  display: flex; gap: 2.5rem; width: max-content;
  animation: ticker 26s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.55);
}
.ticker-item .diamond { color: var(--accent); font-size: 0.55rem; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ==========================================================================
   Services grid
   ========================================================================== */
.services-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3.5rem; gap: 2rem; flex-wrap: wrap;
}
.services-head .section-desc { max-width: 380px; }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

.svc-card {
  background: var(--gray-bg); border-radius: 22px; padding: 2.25rem;
  border: 1px solid var(--gray-border); transition: all 0.3s ease; display: block;
}
.svc-card:hover {
  transform: translateY(-8px); background: #fff; border-color: transparent;
  box-shadow: 0 24px 60px rgba(0,0,0,0.09);
}
.svc-card.dark { background: var(--black); border-color: var(--black); }
.svc-card.dark:hover { background: #181818; }
.svc-icon {
  width: 54px; height: 54px; border-radius: 15px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.svc-card h3 { font-weight: 700; font-size: 1.04rem; margin-bottom: 0.5rem; color: var(--ink); }
.svc-card.dark h3 { color: #fff; }
.svc-card p { font-size: 0.84rem; line-height: 1.68; margin-bottom: 1.5rem; color: var(--muted); }
.svc-card.dark p { color: rgba(255,255,255,0.5); }
.svc-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  color: var(--accent); transition: gap 0.2s ease;
}
.svc-more:hover { gap: 12px; }
.bg-accent-light { background: var(--accent-light); }
.bg-teal-light { background: #e8faf4; }
.bg-amber-light { background: #fff8e0; }
.bg-blue-light { background: #eff4ff; }
.bg-pink-light { background: #fdf0fb; }
.bg-white-08 { background: rgba(255,255,255,0.08); }

/* ==========================================================================
   Metrics band
   ========================================================================== */
.metrics {
  background: var(--black); padding: 4rem var(--pad-x);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.metric { text-align: center; }
.metric .num {
  font-family: var(--font-display); font-weight: 800; font-size: 3rem;
  line-height: 1; letter-spacing: -2px; color: #fff;
}
.metric .num .suf { color: var(--accent); }
.metric .lbl { font-size: 0.82rem; color: rgba(255,255,255,0.4); font-weight: 500; margin-top: 6px; }

/* ==========================================================================
   Why section + SEO tracker
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
.tracker-wrap { position: relative; padding-bottom: 1.75rem; }

.tracker {
  background: var(--black); border-radius: 24px; overflow: hidden;
  font-family: var(--font-display); box-shadow: 0 40px 80px rgba(0,0,0,0.18);
}
.tracker-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 1.25rem; background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.tracker-bar .title {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.35);
}
.tracker-bar .live {
  display: flex; align-items: center; gap: 6px; font-size: 0.68rem;
  font-weight: 700; color: var(--accent3);
}
.tracker-bar .live .pulse { width: 6px; height: 6px; background: var(--accent3); border-radius: 9999px; animation: pulse 1.8s infinite; }
.tracker-summary { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(255,255,255,0.06); }
.tracker-summary .cell { padding: 0.875rem 1rem; text-align: center; }
.tracker-summary .cell:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.06); }
.tracker-summary .cell .n { font-weight: 800; font-size: 1.25rem; line-height: 1; letter-spacing: -0.5px; }
.tracker-summary .cell .l { font-size: 0.6rem; color: rgba(255,255,255,0.3); margin-top: 4px; font-weight: 500; }
.tc-teal { color: var(--accent3); } .tc-accent { color: var(--accent); } .tc-white { color: #fff; }

.tracker-cols, .tracker-row {
  display: grid; grid-template-columns: 1fr 56px 56px 74px; align-items: center;
  padding: 0.5rem 1.25rem;
}
.tracker-cols { border-bottom: 1px solid rgba(255,255,255,0.05); }
.tracker-cols span {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.22);
}
.tracker-cols span + span { text-align: center; }
.tracker-row { padding: 0.7rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.tracker-row:last-child { border-bottom: none; }
.tracker-row .kw { font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
.tracker-row .pos { text-align: center; font-weight: 800; font-size: 0.86rem; }
.pos-1 { color: var(--accent3); } .pos-top { color: var(--accent2); } .pos-rest { color: rgba(255,255,255,0.6); }
.tracker-row .chg { display: flex; align-items: center; justify-content: center; gap: 2px; font-size: 0.72rem; font-weight: 700; color: var(--accent3); }
.spark { display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 22px; }
.spark i { width: 5px; border-radius: 2px; display: block; }
.tracker-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem; background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.tracker-foot .u { font-size: 0.65rem; color: rgba(255,255,255,0.25); font-weight: 500; }
.tracker-foot .r { display: flex; align-items: center; gap: 4px; font-size: 0.65rem; font-weight: 700; color: var(--accent3); }

.review-badge {
  position: absolute; bottom: 0; right: -8px; background: #fff;
  border-radius: 18px; padding: 1.1rem 1.4rem; min-width: 160px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.12);
}
.review-badge .score { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; letter-spacing: -2px; color: var(--accent); }
.review-badge .cap { font-size: 0.75rem; color: var(--muted); line-height: 1.4; margin-top: 4px; font-weight: 500; }

.why-points { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; }
.why-point { display: flex; gap: 1rem; align-items: flex-start; }
.why-point .ic {
  width: 46px; height: 46px; border-radius: 13px; background: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
}
.why-point h3 { font-weight: 700; font-size: 0.94rem; color: var(--ink); margin-bottom: 4px; }
.why-point p { font-size: 0.83rem; color: var(--muted); line-height: 1.65; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { text-align: center; }
.process-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 4rem; position: relative; }
.process-line { display: none; }
.process-step { position: relative; z-index: 2; }
.process-num {
  width: 72px; height: 72px; border-radius: 9999px; background: var(--gray-bg);
  border: 3px solid #fff; box-shadow: 0 0 0 1px var(--gray-border);
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}
.process-step:hover .process-num {
  background: var(--accent); color: #fff; box-shadow: 0 0 0 1px var(--accent), 0 8px 24px rgba(232,67,26,0.3);
}
.process-step h3 { font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.82rem; color: var(--muted); line-height: 1.65; padding: 0 0.5rem; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-head { text-align: center; margin-bottom: 3.5rem; }
.pricing-head .section-desc { max-width: 520px; margin: 0.75rem auto 0; }
.pricing-divider {
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted);
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem;
}
.pricing-divider::before, .pricing-divider::after { content: ''; height: 1px; flex: 1; background: var(--gray-border); }

.price-card {
  position: relative; background: #fff; border-radius: 22px; padding: 1.75rem;
  border: 1px solid var(--gray-border); transition: all 0.3s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.09); }
.price-card.popular { border-color: var(--accent); box-shadow: 0 4px 24px rgba(232,67,26,0.12); }
.price-card.dark { background: var(--black); border-color: var(--black); box-shadow: 0 20px 60px rgba(0,0,0,0.18); }
.ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-family: var(--font-display);
  font-weight: 700; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 12px; border-radius: 9999px; white-space: nowrap;
}
.price-bar { width: 32px; height: 4px; border-radius: 9999px; margin-bottom: 1.25rem; }
.price-card h3 { font-weight: 700; font-size: 0.97rem; color: var(--ink); margin-bottom: 4px; }
.price-card.dark h3 { color: #fff; }
.price-amt { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: -0.5px; margin-bottom: 0.75rem; }
.price-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.25rem; }
.price-card.dark p { color: rgba(255,255,255,0.6); }
.price-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.price-list li { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--ink); }
.price-card.dark .price-list li { color: rgba(255,255,255,0.8); }
.price-list svg { flex-shrink: 0; }
.price-btn {
  display: block; text-align: center; font-family: var(--font-display);
  font-weight: 700; font-size: 0.84rem; padding: 0.625rem; border-radius: 9999px;
  border: 1px solid; transition: all 0.2s ease;
}
.price-btn.solid { background: var(--accent); color: #fff; border-color: var(--accent); }
.price-btn.solid:hover { background: #d03a14; }
.price-btn.dark-outline { border-color: var(--gray-border); color: var(--ink); }
.price-btn.dark-outline:hover { border-color: var(--accent); color: var(--accent); }
.pricing-note { text-align: center; font-size: 0.78rem; color: #aaa; max-width: 560px; margin: 0 auto; }
.pricing-note a { color: var(--accent); }
.pricing-note a:hover { text-decoration: underline; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-head { text-align: center; }
.testi-head .section-desc { max-width: 480px; margin: 0.75rem auto 0; color: rgba(255,255,255,0.45); }
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3.5rem; }
.testi-card {
  border: 1px solid rgba(255,255,255,0.07); border-radius: 22px; padding: 2rem;
  background: rgba(255,255,255,0.04); transition: all 0.3s ease;
}
.testi-card:hover { transform: translateY(-4px); border-color: rgba(232,67,26,0.25); }
.stars { display: flex; gap: 4px; margin-bottom: 1.25rem; }
.testi-card blockquote { font-size: 0.88rem; line-height: 1.75; color: rgba(255,255,255,0.75); font-style: italic; margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 9999px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: #fff;
}
.testi-author .nm { font-family: var(--font-display); font-weight: 700; font-size: 0.87rem; color: #fff; }
.testi-author .rl { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* ==========================================================================
   Featured Work (NEW)
   ========================================================================== */
.work-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3.5rem; gap: 2rem; flex-wrap: wrap;
}
.work-head .section-desc { max-width: 400px; }
.work-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.work-card {
  background: #fff; border: 1px solid var(--gray-border); border-radius: 22px;
  overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column;
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.1); }
.work-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-bg); }
.work-thumb svg { width: 100%; height: 100%; display: block; }
.work-tag {
  position: absolute; top: 14px; left: 14px; background: rgba(12,12,12,0.85);
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.66rem;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 12px; border-radius: 9999px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.work-body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.work-body h3 { font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 0.5rem; }
.work-stat {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display);
  font-weight: 800; font-size: 0.95rem; color: var(--accent3); margin-bottom: 0.75rem;
}
.work-body p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.25rem; flex: 1; }
.work-link {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display);
  font-weight: 700; font-size: 0.82rem; color: var(--accent); transition: gap 0.2s ease;
}
.work-link:hover { gap: 12px; }

/* ==========================================================================
   FAQ (NEW)
   ========================================================================== */
.faq-head { text-align: center; margin-bottom: 3rem; }
.faq-head .section-desc { max-width: 520px; margin: 0.75rem auto 0; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: #fff; border: 1px solid var(--gray-border); border-radius: 16px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 1.5rem; min-height: 44px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.97rem; color: var(--ink);
}
.faq-q .chev { flex-shrink: 0; transition: transform 0.3s ease; color: var(--accent); }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 1.5rem 1.35rem; font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-section { background: #fff; }
.cta-panel {
  background: var(--black); border-radius: 32px; padding: 4rem var(--pad-x);
  text-align: center; position: relative; overflow: hidden; max-width: 1100px; margin: 0 auto;
}
.cta-panel .glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px; border-radius: 9999px; pointer-events: none;
  background: radial-gradient(circle, rgba(232,67,26,0.18) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 2; }
.cta-inner h2 { max-width: 620px; margin: 0 auto 1rem; }
.cta-inner .section-desc { max-width: 500px; margin: 0 auto 2.75rem; color: rgba(255,255,255,0.45); }
.cta-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--footer-black); color: rgba(255,255,255,0.5); padding: 75px var(--pad-x) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; max-width: 280px; margin-bottom: 1.5rem; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.footer-col h3 { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.84rem; color: rgba(255,255,255,0.45); transition: color 0.2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.75rem;
  display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.79rem;
}
.footer-bottom a { color: var(--accent); }

/* ==========================================================================
   Responsive, tablet 768px+
   ========================================================================== */
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(6, 1fr); }
  .client-grid { grid-template-columns: repeat(4, 1fr); }
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid-5, .price-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Responsive, desktop 1024px+
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --section-y: 110px; }
  .nav-primary { display: block; }
  .burger { display: none; }

  .hero { grid-template-columns: 55% 45%; padding-top: calc(var(--nav-h) + 56px); padding-bottom: 90px; }
  .hero-card-wrap { display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; min-width: 0; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 5rem; }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .process-line { display: block; position: absolute; top: 36px; left: 12%; right: 12%; height: 1px; background: var(--gray-border); z-index: 1; }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .price-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1fr; }
}

/* Larger client wall on wide screens */
@media (min-width: 1024px) {
  .client-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ==========================================================================
   Generated illustrations + UI polish (added in illustration pass)
   ========================================================================== */

/* Hero illustration, the hero visual on all breakpoints (its off-white
   background blends into the #f7f7f5 hero, so no visible frame). */
.hero-visual { position: relative; z-index: 2; min-width: 0; }
.hero-visual img {
  display: block; width: 100%; max-width: 400px; height: auto; margin: 1rem auto 0;
}
@media (min-width: 1024px) {
  .hero-visual img { max-width: 560px; margin: 0 auto; }
}

/* Featured Work card images replace the inline-SVG placeholders */
.work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* CTA rocket illustration, bottom-right of the dark panel, edges faded into it */
.cta-illustration {
  position: absolute; right: 0; bottom: 0; width: 44%; max-width: 420px; height: auto;
  opacity: 0.85; pointer-events: none; z-index: 1;
  -webkit-mask-image: radial-gradient(120% 120% at 78% 72%, #000 46%, transparent 74%);
  mask-image: radial-gradient(120% 120% at 78% 72%, #000 46%, transparent 74%);
}
@media (max-width: 767px) { .cta-illustration { display: none; } }

/* Metric numbers get a subtle tabular feel while counting up */
.metric .num { font-variant-numeric: tabular-nums; }

/* Slightly richer work-card hover: lift the image a touch */
.work-thumb { transition: none; }
.work-card:hover .work-thumb img { transform: scale(1.04); }
.work-thumb img { transition: transform 0.5s ease; }

/* ==========================================================================
   Technologies section (premium dark) + testimonial avatars
   ========================================================================== */
.tech-section { background: #0e0e0e; }
.tech-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.tech-head .section-desc { color: rgba(255,255,255,0.55); margin: 0.9rem auto 0; }

/* Override the old strip grid: premium card grid */
.tech-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem;
  max-width: 1120px; margin: 0 auto; align-items: stretch;
}
.tech-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.8rem; padding: 1.6rem 1rem; border-radius: 16px; text-align: center;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.tech-card:hover {
  transform: translateY(-4px); background: rgba(255,255,255,0.07);
  border-color: rgba(232,67,26,0.55);
}
.tech-card svg { display: block; }
.tech-card span {
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}
@media (min-width: 640px)  { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .tech-grid { grid-template-columns: repeat(6, 1fr); } }

/* Testimonial avatar photos (replace initials) */
.avatar-photo {
  width: 48px; height: 48px; border-radius: 9999px; object-fit: cover;
  flex-shrink: 0; border: 2px solid rgba(255,255,255,0.12);
}

/* ==========================================================================
   Phase 2: service popups (modals), quote form, contact section, inner pages
   ========================================================================== */
.svc-card { cursor: pointer; }

/* ---- Modal / popup ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; padding: 1.25rem;
  background: rgba(10,10,10,0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.modal-overlay[hidden] { display: none; }
.modal-dialog {
  position: relative; background: #fff; border-radius: 22px; width: 100%; max-width: 560px;
  max-height: 88vh; overflow-y: auto; padding: 2.25rem; box-shadow: 0 40px 100px rgba(0,0,0,0.3);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal-dialog { animation: none; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 9999px;
  background: var(--gray-bg); color: var(--ink); display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.modal-close:hover { background: var(--gray-border); }
.modal-content h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 1rem; padding-right: 2.25rem; }
.modal-content p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; margin-bottom: 0.9rem; }
.modal-content h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); margin: 1.4rem 0 0.85rem; }
.svc-detail-list { display: grid; gap: 0.6rem; }
.svc-detail-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--ink); }
.svc-detail-list svg { margin-top: 3px; flex-shrink: 0; }
.modal-foot { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.75rem; flex-wrap: wrap; }
.modal-dismiss { color: var(--muted); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.modal-dismiss:hover { color: var(--ink); }

/* ---- Contact / quote section ---- */
.contact-section { background: #fff; }
.contact-panel {
  background: var(--black); border-radius: 32px; padding: 3.25rem var(--pad-x);
  position: relative; overflow: hidden; max-width: 1160px; margin: 0 auto;
}
.contact-panel .glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px; border-radius: 9999px; pointer-events: none;
  background: radial-gradient(circle, rgba(232,67,26,0.18) 0%, transparent 70%);
}
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.contact-copy .section-desc { color: rgba(255,255,255,0.5); margin-top: 0.9rem; }
.contact-points { display: flex; flex-direction: column; gap: 0.7rem; margin: 1.5rem 0; }
.contact-points li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.82); font-size: 0.9rem; }
.contact-email { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.contact-email:hover { color: var(--accent); }

/* ---- Form ---- */
.quote-form { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 1.75rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; color: rgba(255,255,255,0.72); }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.9rem; color: #fff;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
  padding: 0.7rem 0.85rem; transition: border-color 0.2s ease, background 0.2s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.08); }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.2rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 0.85rem center;
}
.field select option { color: #141414; background: #fff; }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #ff6b4a; background: rgba(255,107,74,0.08); }
.form-submit { width: 100%; justify-content: center; margin-top: 0.35rem; }
.form-note { margin-top: 0.9rem; font-size: 0.82rem; min-height: 1.1em; }
.form-note.error { color: #ff8a6a; }
.form-note.sending { color: rgba(255,255,255,0.6); }
.form-note.success { color: var(--accent3); }
@media (min-width: 560px)  { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; } }

/* ---- Inner-page hero + breadcrumb (About, Case Studies) ---- */
.page-hero { background: var(--gray-bg); padding: calc(var(--nav-h) + 40px) var(--pad-x) 56px; text-align: center; }
.page-hero h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -1.2px; color: var(--black); font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.1; }
.page-hero p { color: var(--muted); font-size: 1.02rem; line-height: 1.7; max-width: 620px; margin: 1rem auto 0; }
.breadcrumb { max-width: 620px; margin: 0 auto 1rem; font-size: 0.8rem; color: var(--muted); display: flex; gap: 0.5rem; justify-content: center; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--gray-border); }

/* Generic content prose (About) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.5px; color: var(--ink); margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 1.5rem 0 0.6rem; }
.prose p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; font-size: 0.98rem; }
.prose ul { display: grid; gap: 0.6rem; margin: 0.5rem 0 1.25rem; }
.prose ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 0.95rem; }
.prose ul li svg { margin-top: 3px; flex-shrink: 0; }

/* Values cards (About) */
.value-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: 980px; margin: 0 auto; }
.value-card { background: var(--gray-bg); border: 1px solid var(--gray-border); border-radius: 18px; padding: 1.75rem; }
.value-card .vc-icon { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.value-card h3 { font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 0.4rem; }
.value-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.65; }
@media (min-width: 768px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }

/* Team placeholder (About) */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.team-card { text-align: center; background: var(--gray-bg); border: 1px solid var(--gray-border); border-radius: 18px; padding: 2rem 1.5rem; }
.team-photo { width: 96px; height: 96px; border-radius: 9999px; margin: 0 auto 1rem; background: linear-gradient(135deg, #ececec, #f7f7f5); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.team-card h3 { font-weight: 700; font-size: 1rem; color: var(--ink); }
.team-card .role { font-size: 0.82rem; color: var(--accent); font-weight: 600; margin-top: 2px; }
.team-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.6; margin-top: 0.75rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

/* Case study cards (Work page) */
.cs-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 1120px; margin: 0 auto; }
.cs-card { background: #fff; border: 1px solid var(--gray-border); border-radius: 22px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cs-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.1); }
.cs-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--gray-bg); position: relative; }
.cs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cs-tag { position: absolute; top: 14px; left: 14px; background: rgba(12,12,12,0.85); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 12px; border-radius: 9999px; }
.cs-body { padding: 1.5rem 1.75rem 1.75rem; }
.cs-body h3 { font-weight: 700; font-size: 1.08rem; color: var(--ink); margin-bottom: 0.5rem; }
.cs-stat { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--accent3); margin-bottom: 0.75rem; }
.cs-body p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }
@media (min-width: 640px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cs-grid { grid-template-columns: repeat(3, 1fr); } }

/* Centered section header (About and other inner pages) */
.section-head-c { text-align: center; max-width: 640px; margin: 0 auto 2.75rem; }
.section-head-c .section-title { margin: 0 auto; }
.section-head-c .section-desc { margin-top: 0.75rem; }

/* ==========================================================================
   Wider contact panel, contact details, WhatsApp float, founder card
   ========================================================================== */
.contact-panel { max-width: 1280px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-details { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.5rem; }
.contact-addr { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.78); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.contact-addr svg, .contact-email svg { color: var(--accent); }

/* Floating WhatsApp button (all pages) */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 9999px; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 30px rgba(37,211,102,0.55); }
@media (max-width: 600px) { .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } }

/* Founder card (About) */
.founder-card {
  max-width: 780px; margin: 0 auto; background: #fff; border: 1px solid var(--gray-border);
  border-radius: 24px; padding: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}
.founder-avatar {
  width: 120px; height: 120px; border-radius: 9999px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: #fff;
  background: linear-gradient(135deg, #E8431A, #F5A623); box-shadow: 0 10px 30px rgba(232,67,26,0.3);
  object-fit: cover;
}
img.founder-avatar { display: block; }
.founder-body h3 { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.founder-body .role { color: var(--accent); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.founder-body p { color: var(--muted); line-height: 1.75; font-size: 0.95rem; margin-top: 1rem; }
.founder-linkedin { margin-top: 1.5rem; }
@media (min-width: 720px) {
  .founder-card { grid-template-columns: auto 1fr; text-align: left; align-items: center; padding: 3rem; gap: 2.25rem; }
  .founder-avatar { margin: 0; }
}

/* ==========================================================================
   Footer redesign (icon contact, accent bar, glow) + breadcrumb color fix
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 50%, var(--accent3) 100%);
}
.footer-glow {
  position: absolute; top: -140px; right: -120px; width: 460px; height: 460px; border-radius: 9999px;
  background: radial-gradient(circle, rgba(232,67,26,0.14) 0%, transparent 68%); pointer-events: none;
}
.footer-grid, .footer-bottom { position: relative; z-index: 1; }

/* Socials, unified chip style driven by currentColor */
.socials a { color: rgba(255,255,255,0.55); border-radius: 11px; }
.socials a:hover { color: #fff; }

/* Contact column, icon rows */
.footer-contact { display: flex; flex-direction: column; }
.footer-contact h3 { margin-bottom: 1rem; }
.fc-item { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: rgba(255,255,255,0.72); }
a.fc-item:hover { color: #fff; }
.fc-ic {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,67,26,0.12); border: 1px solid rgba(232,67,26,0.28);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
a.fc-item:hover .fc-ic { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.fc-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.fc-label { font-family: var(--font-display); font-weight: 700; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.fc-val { font-size: 0.86rem; color: inherit; word-break: break-word; }
.footer-quote { margin-top: 1.1rem; align-self: flex-start; font-size: 0.82rem; padding: 0.7rem 1.4rem; }

/* Breadcrumb colors (readable, on-brand) */
.breadcrumb { color: var(--muted); }
.breadcrumb a { color: var(--accent); font-weight: 600; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb span { color: var(--muted); }
.breadcrumb span:last-child { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Footer quote button, wider contact column, 2-per-row Work grid, mobile
   ========================================================================== */
/* Get a Free Quote button in footer: keep white text (was dimmed by .footer-col a) */
.footer-contact .footer-quote,
.footer-contact .footer-quote:hover,
.footer-contact .footer-quote:focus { color: #fff; }

/* Long contact values always wrap cleanly */
.fc-val { overflow-wrap: anywhere; }

/* Wider "Get in Touch" column on desktop */
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.6fr; }
}

/* Featured Work: 2 per row (4 cards), larger so images read clearly */
.work-grid { max-width: 1120px; margin-left: auto; margin-right: auto; }
@media (min-width: 768px)  { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
/* Real screenshots are already 16:10; keep top-aligned so nothing important is lost */
.work-thumb img { object-position: top; }

/* ---- Mobile safety net ---- */
@media (max-width: 600px) {
  .site-footer { padding-left: 6%; padding-right: 6%; }
  .footer-quote { align-self: stretch; justify-content: center; }
  .cta-panel, .contact-panel { padding-left: 7%; padding-right: 7%; }
}

/* ==========================================================================
   Work cards: divider under image, eye zoom button, image lightbox
   ========================================================================== */
.work-thumb { border-bottom: 1px solid var(--gray-border); }

.work-zoom {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 11px;
  background: rgba(12,12,12,0.55); color: #fff; z-index: 2;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.work-card:hover .work-zoom, .work-zoom:focus-visible { opacity: 1; transform: translateY(0); }
.work-zoom:hover { background: var(--accent); }
@media (hover: none) { .work-zoom { opacity: 1; transform: none; } }

/* Lightbox, scrollable full-page preview */
.lightbox {
  position: fixed; inset: 0; z-index: 120; overflow-y: auto;
  background: rgba(8,8,8,0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center; padding: 5vh 4vw;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: 1100px; width: 100%; height: auto; display: block; margin: 0 auto;
  border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); background: #fff;
}
.lightbox-close {
  position: fixed; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 9999px;
  background: rgba(255,255,255,0.14); color: #fff; z-index: 121;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s ease;
}
.lightbox-close:hover { background: var(--accent); }

/* Work grid: fill section width like other sections (height scales with 16:10) */
.work-grid { max-width: none; gap: 1.75rem; }

/* ==========================================================================
   Interactive polish: floating hero mascot + hand-drawn accents
   ========================================================================== */
.hero-mascot { animation: floaty 5.5s ease-in-out infinite; will-change: transform; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-16px) rotate(1.5deg); }
}
@media (prefers-reduced-motion: reduce) { .hero-mascot { animation: none; } }

/* Hand-drawn squiggle accent under headings */
.squiggle { display: block; width: 130px; height: 13px; margin-top: 12px; color: var(--accent2); }
.squiggle.center { margin-left: auto; margin-right: auto; }
.squiggle path { stroke-dasharray: 300; stroke-dashoffset: 300; }
.reveal.in .squiggle path, .in > .squiggle path { animation: draw 0.9s ease forwards 0.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .squiggle path { stroke-dashoffset: 0; animation: none; } }

/* Floating accent dots in the hero */
.hero-dot { position: absolute; border-radius: 9999px; pointer-events: none; z-index: 1; opacity: 0.9; }
.hero-dot.d-a { width: 14px; height: 14px; background: var(--accent); top: 22%; right: 8%; animation: bob 4s ease-in-out infinite; }
.hero-dot.d-b { width: 10px; height: 10px; background: var(--accent3); bottom: 26%; right: 40%; animation: bob 5.5s ease-in-out infinite 0.6s; }
.hero-dot.d-c { width: 8px; height: 8px; background: var(--accent2); top: 30%; right: 46%; animation: bob 4.8s ease-in-out infinite 0.3s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-dot { animation: none; } }

/* ==========================================================================
   Blog: listing cards + article layout
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; max-width: 1120px; margin: 0 auto; }
.blog-card { background: #fff; border: 1px solid var(--gray-border); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.1); }
.blog-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--gray-bg); border-bottom: 1px solid var(--gray-border); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.blog-cat { font-family: var(--font-display); font-weight: 700; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.6rem; }
.blog-body h2 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; color: var(--ink); margin-bottom: 0.6rem; }
.blog-body h2 a:hover { color: var(--accent); }
.blog-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; flex: 1; }
.blog-meta { font-size: 0.76rem; color: var(--muted); margin-top: 1rem; font-weight: 500; }
@media (min-width: 700px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

/* Article */
.post-hero { max-width: 820px; margin: 0 auto; padding: calc(var(--nav-h) + 36px) var(--pad-x) 20px; }
.post-cat { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.75rem; }
.post-hero h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -1px; color: var(--black); font-size: clamp(1.9rem, 3.6vw, 2.85rem); line-height: 1.12; }
.post-meta { color: var(--muted); font-size: 0.85rem; margin-top: 0.9rem; }
.post-featured { max-width: 980px; margin: 1.25rem auto 2.5rem; padding: 0 var(--pad-x); }
.post-featured img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--gray-border); }
.post .prose { max-width: 760px; margin: 0 auto; padding: 0 var(--pad-x) 1rem; }
.prose blockquote { border-left: 4px solid var(--accent); background: var(--gray-bg); padding: 1.1rem 1.4rem; border-radius: 0 12px 12px 0; font-size: 1.05rem; line-height: 1.6; color: var(--ink); font-style: italic; margin: 1.9rem 0; }
.prose ul li strong { color: var(--ink); }
.post-figure { margin: 2rem 0; }
.post-figure img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--gray-border); background: var(--gray-bg); }
.post-figure figcaption { text-align: center; font-size: 0.82rem; color: var(--muted); margin-top: 0.75rem; font-style: italic; }
