@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #ffffff;
  color: #374151;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: #c0392b; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ── LAYOUT ── */
.wrap { max-width: 980px; margin: 0 auto; padding: 0 36px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

/* ── INLINE CODE CHIPS ── */
.chip {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  background: #f0ede8;
  color: #374151;
  border: 1px solid #e2ddd6;
  border-radius: 4px;
  padding: 1px 6px;
  margin: 0 1px;
  vertical-align: middle;
  line-height: 1.6;
}

/* ── LEAD PARAGRAPH ── */
.lead-para {
  font-size: 1.05rem;
  font-weight: 400;
  color: #1f2937;
  line-height: 1.8;
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 3px solid #c0392b;
}

/* ─────────────────────────────────────────
   NAV — white frosted overlay
───────────────────────────────────────── */
header {
  background: rgba(250,250,248,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.22);
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
header.scrolled {
  background: rgba(250,250,248,0.96);
  border-bottom-color: #e8e4dd;
  box-shadow: 0 1px 24px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 70px;
}
.logo img { height: 56px; display: block; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: #374151;
  padding: 7px 14px; border-radius: 6px;
  transition: color 0.2s, background 0.2s; white-space: nowrap;
}
header.scrolled .nav-links a { color: #6b7280; }
.nav-links a:hover { color: #111827; text-decoration: none; background: rgba(0,0,0,0.06); }
header.scrolled .nav-links a:hover { color: #111827; background: #f0ede8; }
.nav-links a.active { color: #c0392b; background: rgba(192,57,43,0.08); }
header.scrolled .nav-links a.active { color: #c0392b; background: #fef2f2; }
.nav-links .nav-cta {
  background: #c0392b; color: #fff !important;
  padding: 9px 20px; border-radius: 7px; font-weight: 600;
  margin-left: 6px; transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: #a93226; text-decoration: none; }

.ham-btn {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer; border: none; background: none;
}
.ham-btn span {
  display: block; width: 22px; height: 2px;
  background: #374151; border-radius: 2px; transition: all 0.3s;
}
header.scrolled .ham-btn span { background: #374151; }
.ham-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham-btn.open span:nth-child(2) { opacity: 0; }
.ham-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .ham-btn { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 4px;
    position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(250,250,248,0.98);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #e8e4dd;
    padding: 16px 20px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 14px; font-size: 0.95rem; color: #6b7280; }
  .nav-links a:hover { color: #111827; background: #f0ede8; }
  .nav-links a.active { color: #c0392b; background: #fef2f2; }
  .nav-links .nav-cta { text-align: center; margin-left: 0; margin-top: 6px; }
}

/* ─────────────────────────────────────────
   HERO — home full screen (white)
───────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; overflow: hidden;
  background: #ffffff;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/hero.png');
  background-size: cover; background-position: center 45%;
}
/* White scrim — centre stays clean white for text, PCB shows on the right as an accent */
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 46% 48%,
      rgba(255,255,255,0.65) 0%,
      rgba(255,255,255,0.35) 45%,
      rgba(255,255,255,0) 75%),
    linear-gradient(to right,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.98) 42%,
      rgba(255,255,255,0.78) 60%,
      rgba(255,255,255,0.30) 80%,
      rgba(255,255,255,0.05) 100%),
    linear-gradient(to bottom,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.10) 30%,
      rgba(255,255,255,0.10) 68%,
      rgba(255,255,255,0.85) 100%);
}
.hero-content {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  text-align: center; padding: 185px 0 64px;
}
.hero-content .wrap { width: 100%; max-width: 900px; }
.hero-content h1 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  font-weight: 800; color: #0f172a;
  line-height: 1.1; letter-spacing: -0.025em;
  max-width: 22ch; margin: 0 auto 28px; text-wrap: balance;
}
.hero-content .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: #334155; max-width: 660px;
  line-height: 1.7; margin: 0 auto 16px; font-weight: 400;
}
.hero-content .sub {
  font-size: clamp(0.92rem, 1.3vw, 1.02rem);
  color: #475569; max-width: 540px;
  line-height: 1.65; margin: 0 auto 40px; font-weight: 400;
  font-style: italic;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-stats {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-top: 1px solid #e8e4dd;
}
.hero-stats .wrap { display: grid; grid-template-columns: repeat(3,1fr); }
.hstat { padding: 24px 28px; border-right: 1px solid #e8e4dd; }
.hstat:last-child { border-right: none; }
.hstat strong {
  display: block; font-size: 2rem; font-weight: 800;
  color: #c0392b; letter-spacing: -0.04em; line-height: 1; margin-bottom: 5px;
}
.hstat span { font-size: 0.8rem; color: #6b7280; letter-spacing: 0.02em; }

@media (max-width: 700px) {
  .hero-bg::after {
    background:
      linear-gradient(to bottom,
        rgba(255,255,255,0.92) 0%,
        rgba(255,255,255,0.80) 50%,
        rgba(255,255,255,0.92) 100%);
  }
}
@media (max-width: 560px) {
  .hero { min-height: 90vh; }
  .hero-content { padding: 110px 0 44px; }
  .hero-stats .wrap { grid-template-columns: 1fr; }
  .hstat { border-right: none; border-bottom: 1px solid #e8e4dd; }
  .hstat:last-child { border-bottom: none; }
}

/* ─────────────────────────────────────────
   PAGE HERO — inner pages (white scrim, left-aligned)
───────────────────────────────────────── */
.page-hero {
  position: relative; min-height: 420px;
  display: flex; align-items: center; overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid #e8e4dd;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 40%;
}
/* White scrim — left side stays clean white for text, photo shows on the right as an accent */
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.98) 38%,
      rgba(255,255,255,0.74) 56%,
      rgba(255,255,255,0.25) 78%,
      rgba(255,255,255,0.05) 100%),
    linear-gradient(to bottom,
      rgba(255,255,255,0.35) 0%,
      rgba(255,255,255,0.05) 30%,
      rgba(255,255,255,0.05) 70%,
      rgba(255,255,255,0.55) 100%);
}
.page-hero-content { position: relative; z-index: 2; padding: 128px 0 56px; width: 100%; }
.page-hero-content .section-label { color: #c0392b; margin-bottom: 10px; }
.page-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #0f172a;
  letter-spacing: -0.03em; line-height: 1.1; max-width: 680px; margin-bottom: 14px;
}
.page-hero-content p {
  max-width: 580px; font-size: 1rem;
  color: #1f2937; line-height: 1.8; font-weight: 400;
}
.page-hero-content a { color: #c0392b; }
.page-hero-content a:hover { color: #a93226; }
@media (max-width: 700px) {
  .page-hero-bg::after {
    background:
      linear-gradient(to bottom,
        rgba(255,255,255,0.93) 0%,
        rgba(255,255,255,0.82) 50%,
        rgba(255,255,255,0.93) 100%);
  }
}
@media (max-width: 600px) {
  .page-hero { min-height: 340px; }
  .page-hero-content { padding: 104px 0 36px; }
}

/* ─────────────────────────────────────────
   TICKER
───────────────────────────────────────── */
.ticker-section {
  background: #111827; border-bottom: 3px solid #c0392b; overflow: hidden;
}
.ticker-inner { display: flex; align-items: stretch; height: 50px; }
.ticker-label {
  display: flex; align-items: center; gap: 10px;
  padding: 0 22px; background: #c0392b;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; white-space: nowrap; flex-shrink: 0;
}
.ticker-label::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; animation: blink 1.5s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }
.ticker-track-wrap {
  flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
}
.ticker-track {
  display: flex; align-items: center; white-space: nowrap;
  animation: tickerScroll 65s linear infinite; height: 100%;
}
.ticker-section:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 32px; height: 100%;
  font-size: 0.83rem; color: rgba(255,255,255,0.7);
  border-right: 1px solid rgba(255,255,255,0.07); white-space: nowrap;
}
.ticker-item strong { color: #fff; font-weight: 600; }
.ticker-item .ticker-tag {
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fca5a5; background: rgba(192,57,43,0.3); border: 1px solid rgba(192,57,43,0.45);
  padding: 2px 7px; border-radius: 3px; flex-shrink: 0;
}

/* ─────────────────────────────────────────
   SECTIONS
───────────────────────────────────────── */
.section { padding: 80px 0; border-bottom: 1px solid #e8e4dd; }
.section:last-of-type { border-bottom: none; }
.section-alt { background: #f5f3ef; }

.section-label {
  display: block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #c0392b; margin-bottom: 12px;
}

/* ─────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────── */
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #111827;
  letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 20px;
}
h3 {
  font-size: 1.05rem; font-weight: 700; color: #111827;
  margin: 28px 0 10px; letter-spacing: -0.01em;
}
h3:first-child { margin-top: 0; }
p { color: #475569; font-size: 1rem; margin-bottom: 12px; line-height: 1.78; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 0; margin-bottom: 14px; list-style: none; }
ul li {
  color: #475569; font-size: 0.95rem; padding: 5px 0 5px 18px;
  border-bottom: 1px solid #ede9e3; position: relative; line-height: 1.6;
}
ul li:last-child { border-bottom: none; }
ul li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #c0392b; opacity: 0.5;
}

/* Display statement */
.display-statement {
  font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 800; color: #111827;
  letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 28px;
}
.display-statement em { color: #c0392b; font-style: normal; }

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #c0392b; color: #fff; font-size: 0.9rem; font-weight: 600;
  padding: 13px 26px; border-radius: 7px; transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: #a93226; text-decoration: none; color: #fff; transform: translateY(-1px); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid #d1c0bc;
  color: #374151; font-size: 0.9rem; font-weight: 500;
  padding: 12px 24px; border-radius: 7px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.btn-white:hover { background: #faf6f5; border-color: #c0392b; color: #c0392b; text-decoration: none; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid #d1c9be; color: #374151; font-size: 0.9rem; font-weight: 500;
  padding: 12px 24px; border-radius: 7px; transition: border-color 0.2s, transform 0.15s;
}
.btn-outline:hover { border-color: #9ca3af; color: #111827; text-decoration: none; transform: translateY(-1px); }

/* ─────────────────────────────────────────
   TWO COLUMN
───────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }

/* ─────────────────────────────────────────
   HOME — SERVICE CARDS
───────────────────────────────────────── */
.service-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: #e2ddd6;
  border: 1px solid #e2ddd6; border-radius: 14px;
  overflow: hidden; margin-top: 40px;
}
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fafaf8; padding: 32px;
  transition: background 0.2s, transform 0.25s, box-shadow 0.25s; position: relative;
}
.service-card:hover { background: #fef9f6; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(192,57,43,0.07); }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: #c0392b; transition: height 0.35s ease;
}
.service-card:hover::before { height: 100%; }
.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em;
  color: #c4b8a8; text-transform: uppercase; margin-bottom: 14px;
}
.service-card h3 { color: #111827; font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; }
.service-card p { font-size: 0.95rem; color: #475569; margin: 0 0 16px; line-height: 1.7; }
ul.plain-list { padding: 0; list-style: none; margin: 0; }
ul.plain-list li { border: none; padding: 0; color: inherit; }
ul.plain-list li::before { display: none; }
.service-card a {
  font-size: 0.82rem; font-weight: 600; color: #c0392b;
  display: inline-flex; align-items: center; gap: 5px; transition: gap 0.2s;
}
.service-card a:hover { gap: 9px; text-decoration: none; }

/* ─────────────────────────────────────────
   HOME — BENTO GRID
───────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  margin-top: 40px;
}
@media (max-width: 700px) { .bento-grid { grid-template-columns: 1fr; } }

.bento-card {
  background: #fafaf8;
  border: 1px solid #e2ddd6;
  border-radius: 14px;
  padding: 32px;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  overflow: hidden;
}
.bento-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: #c0392b;
  transition: height 0.35s ease; border-radius: 0 0 3px 0;
}
.bento-card:hover { border-color: #fca5a5; box-shadow: 0 4px 24px rgba(192,57,43,0.07); transform: translateY(-2px); }
.bento-card:hover::before { height: 100%; }

.bento-large { grid-column: 1; grid-row: 1 / 3; }
.bento-small { grid-column: 2; }
.bento-wide { grid-column: 1 / 3; }
@media (max-width: 700px) {
  .bento-large,.bento-small,.bento-wide { grid-column: 1; grid-row: auto; }
}

.bento-card .service-num { margin-bottom: 12px; }
.bento-card h3 { color: #111827; font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; }
.bento-card p { font-size: 0.95rem; color: #475569; margin: 0 0 16px; line-height: 1.7; }
.bento-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 20px; }
.bento-link {
  font-size: 0.82rem; font-weight: 600; color: #c0392b;
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap 0.2s; text-decoration: none;
}
.bento-link:hover { gap: 9px; }
.bento-badge {
  position: absolute; bottom: 28px; right: 28px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #c0392b;
  background: #fef2f2; border: 1px solid #fecaca;
  padding: 4px 10px; border-radius: 20px;
}
.bento-large .bento-chips { margin-top: 4px; }

/* ─────────────────────────────────────────
   HOME — FEATURED CASE STUDY
───────────────────────────────────────── */
.featured-case {
  background: #fff;
  border: 1px solid #e2ddd6;
  border-radius: 16px;
  padding: 40px 44px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}
.featured-case::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: #c0392b;
}
.featured-case-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.featured-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.63rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #c0392b;
  background: #fef2f2; border: 1px solid #fecaca;
  padding: 3px 10px; border-radius: 4px;
}
.featured-case-title {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800;
  color: #111827; letter-spacing: -0.03em;
  line-height: 1.15; margin-bottom: 14px;
}
.featured-case-desc {
  font-size: 1rem; color: #475569;
  max-width: 680px; line-height: 1.8;
  margin-bottom: 20px; border: none; padding: 0;
}
.featured-case-desc::before { display: none; }
.featured-case-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.featured-case-outcome {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; background: #f5f3ef;
  border-left: 3px solid #c0392b;
  border-radius: 0 8px 8px 0;
}
.outcome-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #c0392b;
  white-space: nowrap; padding-top: 2px; flex-shrink: 0;
}
.outcome-text { font-size: 0.9rem; color: #374151; line-height: 1.65; font-weight: 500; }
@media (max-width: 600px) {
  .featured-case { padding: 28px 24px; }
  .featured-case-outcome { flex-direction: column; gap: 6px; }
}

/* ─────────────────────────────────────────
   HOME — NEWS GRID
───────────────────────────────────────── */
.news-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: #e2ddd6;
  border: 1px solid #e2ddd6; border-radius: 14px;
  overflow: hidden; margin-top: 32px;
}
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: #fafaf8; padding: 22px 26px;
  border-left: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}
.news-card:hover { background: #fef9f6; border-left-color: #c0392b; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(192,57,43,0.07); }
.news-tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace;
  font-size: 0.63rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: #c0392b; background: #fef2f2; border: 1px solid #fecaca;
  padding: 2px 8px; border-radius: 4px; margin-bottom: 8px;
}
.news-card strong { display: block; color: #111827; font-size: 0.9rem; margin-bottom: 5px; font-weight: 600; }
.news-card p { font-size: 0.9rem; color: #475569; margin: 0; line-height: 1.65; border: none; padding: 0; }
.news-card p::before { display: none; }

/* ─────────────────────────────────────────
   SERVICES PAGE — numbered blocks
───────────────────────────────────────── */
.service-block { padding: 64px 0; border-bottom: 1px solid #e8e4dd; }
.service-block:last-child { border-bottom: none; }
.service-block-inner { display: grid; grid-template-columns: 160px 1fr; gap: 56px; align-items: start; }
@media (max-width: 760px) { .service-block-inner { grid-template-columns: 1fr; gap: 20px; } }

.service-block-num {
  font-size: clamp(4rem, 8vw, 6.5rem); font-weight: 800;
  color: #ede9e3; letter-spacing: -0.06em; line-height: 1;
  position: sticky; top: 70px; user-select: none;
  font-family: 'Inter', sans-serif;
}
@media (max-width: 760px) { .service-block-num { position: static; font-size: 3rem; } }

.service-block-body h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 10px; }
.service-block-summary {
  font-size: 1.02rem; color: #374151; font-weight: 400;
  line-height: 1.75; margin-bottom: 28px;
  padding: 18px 20px; background: #f5f3ef;
  border-left: 3px solid #c0392b; border-radius: 0 8px 8px 0;
}

/* ─────────────────────────────────────────
   PROCESS STEPS
───────────────────────────────────────── */
.steps { margin-top: 28px; }
.step {
  display: grid; grid-template-columns: 44px 1fr;
  gap: 16px; padding: 18px 0; border-bottom: 1px solid #ede9e3; align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fef2f2; border: 1.5px solid #fca5a5;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; color: #c0392b; flex-shrink: 0;
}
.step strong { display: block; color: #111827; font-size: 0.93rem; margin-bottom: 4px; font-weight: 600; }
.step p { font-size: 0.95rem; color: #475569; margin: 0; line-height: 1.7; border: none; padding: 0; }
.step p::before { display: none; }

/* ─────────────────────────────────────────
   ENGAGEMENT CARDS
───────────────────────────────────────── */
.eng-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 680px) { .eng-grid { grid-template-columns: 1fr; } }
.eng-card {
  border: 1.5px solid #e2ddd6; border-radius: 12px;
  padding: 26px; background: #fafaf8;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s; position: relative; overflow: hidden;
}
.eng-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: #c0392b; transform: scaleX(0);
  transition: transform 0.3s ease; transform-origin: left;
}
.eng-card:hover { border-color: #fca5a5; box-shadow: 0 4px 20px rgba(192,57,43,0.07); transform: translateY(-2px); }
.eng-card:hover::after { transform: scaleX(1); }
.eng-card strong { display: block; color: #111827; font-size: 0.95rem; margin-bottom: 8px; font-weight: 700; }
.eng-card p { font-size: 0.95rem; color: #475569; margin: 0; line-height: 1.7; border: none; padding: 0; }
.eng-card p::before { display: none; }

/* ─────────────────────────────────────────
   CASE STUDIES — editorial list
───────────────────────────────────────── */
.case-item {
  display: grid; grid-template-columns: 1fr auto;
  align-items: start; gap: 20px;
  padding: 22px 0 22px 20px;
  border-bottom: 1px solid #ede9e3;
  border-left: 3px solid transparent;
  transition: border-left-color 0.2s, background 0.2s;
  margin-left: -20px; padding-right: 8px;
}
.case-item:last-child { border-bottom: none; }
.case-item:hover { border-left-color: #c0392b; background: #fef9f6; }

.case-tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace;
  font-size: 0.63rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: #c0392b; background: #fef2f2; border: 1px solid #fecaca;
  padding: 2px 8px; border-radius: 4px; margin-bottom: 6px;
}
.case-item strong { display: block; color: #111827; font-size: 0.95rem; margin-bottom: 5px; font-weight: 600; }
.case-item p { font-size: 0.92rem; color: #475569; margin: 0; line-height: 1.65; border: none; padding: 0; }
.case-item p::before { display: none; }
.case-arrow {
  color: #d1c9be; font-size: 1rem; padding-top: 22px;
  transition: color 0.2s, transform 0.2s; flex-shrink: 0;
}
.case-item:hover .case-arrow { color: #c0392b; transform: translateX(3px); }

/* Case study download link */
.case-pdf {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  font-weight: 500; letter-spacing: 0.02em; color: #c0392b;
  margin-top: 8px; padding: 4px 0;
}
.case-pdf:hover { color: #a93226; text-decoration: none; }
.case-pdf svg { width: 13px; height: 13px; flex-shrink: 0; }
.case-item-main { min-width: 0; }
.case-no-pdf {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  color: #b8b2a8; margin-top: 8px;
}

/* ─────────────────────────────────────────
   ABOUT — stats grid
───────────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: #e2ddd6;
  border: 1px solid #e2ddd6; border-radius: 14px; overflow: hidden;
}
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-block {
  background: #fafaf8; padding: 36px 32px; transition: background 0.2s, box-shadow 0.25s;
}
.stat-block:hover { background: #fef9f6; box-shadow: inset 0 0 0 1px #fca5a5; }
.stat-block .num {
  font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 800; color: #c0392b;
  letter-spacing: -0.05em; line-height: 1; margin-bottom: 10px; display: block;
}
.stat-block .label { font-size: 0.95rem; color: #475569; line-height: 1.6; }

/* ─────────────────────────────────────────
   EXPERTISE BLOCKS
───────────────────────────────────────── */
.expertise-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: #e2ddd6;
  border: 1px solid #e2ddd6; border-radius: 14px;
  overflow: hidden; margin-top: 36px;
}
@media (max-width: 580px) { .expertise-grid { grid-template-columns: 1fr; } }

.expertise-block { background: #fafaf8; padding: 32px; transition: background 0.2s, box-shadow 0.25s; position: relative; }
.expertise-block:hover { background: #fef9f6; box-shadow: inset 0 0 0 1px #fca5a5; }
.expertise-block h3 {
  font-size: 1rem; font-weight: 700; color: #111827;
  margin: 0 0 14px; display: flex; align-items: center; gap: 10px;
}
.expertise-block h3::before {
  content: ''; display: inline-block; width: 20px; height: 3px;
  background: #c0392b; border-radius: 2px; flex-shrink: 0;
}
.expertise-block ul { padding: 0; list-style: none; margin: 0; }
.expertise-block ul li {
  font-size: 0.92rem; color: #475569;
  padding: 5px 0; border-bottom: 1px solid #ede9e3; line-height: 1.6;
  display: flex; align-items: center; gap: 8px;
}
.expertise-block ul li:last-child { border-bottom: none; }
.expertise-block ul li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: #c0392b; opacity: 0.45; flex-shrink: 0;
  position: static; top: auto;
}

/* ─────────────────────────────────────────
   CAREERS — job cards
───────────────────────────────────────── */
.job-card {
  border: 1.5px solid #e2ddd6; border-radius: 12px;
  padding: 28px 32px; margin-bottom: 12px; background: #fafaf8;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px;
}
.job-card:hover { border-color: #fca5a5; box-shadow: 0 4px 20px rgba(192,57,43,0.07); transform: translateY(-2px); }
.job-card strong { display: block; color: #111827; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.job-card p { font-size: 0.95rem; color: #475569; margin-bottom: 8px; line-height: 1.7; border: none; padding: 0; }
.job-card p::before { display: none; }
.job-card .skills { font-size: 0.82rem; color: #9ca3af; }
.job-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid #e2ddd6; display: flex; align-items: center; justify-content: center;
  color: #9ca3af; font-size: 1rem; flex-shrink: 0; transition: all 0.2s;
}
.job-card:hover .job-arrow { border-color: #c0392b; color: #c0392b; transform: translateX(3px); }
@media (max-width: 560px) { .job-card { grid-template-columns: 1fr; } .job-arrow { display: none; } }

/* ─────────────────────────────────────────
   CONTACT — big display details
───────────────────────────────────────── */
.contact-display { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.contact-display-item {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 22px; border-bottom: 1px solid #ede9e3;
}
.contact-display-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-display-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: #9ca3af;
}
.contact-display-value {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 700; color: #111827;
  letter-spacing: -0.02em; line-height: 1.2;
}
.contact-display-value a { color: #111827; transition: color 0.2s; }
.contact-display-value a:hover { color: #c0392b; text-decoration: none; }

.contact-secondary { margin-top: 28px; }
.contact-row {
  display: flex; gap: 16px; padding: 10px 0;
  border-bottom: 1px solid #ede9e3; font-size: 0.9rem;
}
.contact-row:last-child { border-bottom: none; }
.contact-lbl { min-width: 90px; font-weight: 600; color: #374151; flex-shrink: 0; font-size: 0.82rem; }
.contact-val { color: #475569; font-size: 0.95rem; }

/* ─────────────────────────────────────────
   CTA BAND — DARK
───────────────────────────────────────── */
.cta-band {
  background: #0f172a; border-radius: 14px;
  padding: 48px 52px; margin-top: 56px;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute;
  top: 0; left: 0; bottom: 0; width: 4px;
  background: #c0392b;
}
.cta-band h3 { font-size: 1.25rem; color: #fff; margin: 0 0 10px; font-weight: 700; }
.cta-band p { color: rgba(255,255,255,0.6); font-size: 0.925rem; margin-bottom: 26px; max-width: 500px; border: none; padding: 0; }
.cta-band p::before { display: none; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-outline {
  border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.8);
}
.cta-band .btn-outline:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
@media (max-width: 520px) { .cta-band { padding: 32px 24px; } }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer-statement {
  text-align: center; padding: 44px 0;
  border-bottom: 1px solid #1f2937; margin-bottom: 48px;
}
.footer-statement p {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 300;
  color: #9ca3af; letter-spacing: 0.01em; line-height: 1.7;
}
.footer-statement strong { color: #fca5a5; font-weight: 600; }

footer {
  background: #0f172a; padding: 56px 0 28px;
  border-top: 3px solid #c0392b;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px; margin-bottom: 44px;
}
@media (max-width: 680px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-logo { height: 40px; margin-bottom: 14px; background: #ffffff; padding: 7px 16px; border-radius: 6px; display: inline-block; }
.footer-tagline { font-size: 0.85rem; color: #9ca3af; line-height: 1.7; }
footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: #4b5563; margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.875rem; color: #9ca3af; transition: color 0.2s; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-contact-item { font-size: 0.875rem; color: #9ca3af; margin-bottom: 9px; }
.footer-contact-item a { color: #9ca3af; }
.footer-contact-item a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid #1e293b;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: #374151;
}
.footer-bottom a { color: #4b5563; }
.footer-bottom a:hover { color: #9ca3af; text-decoration: none; }


/* ─────────────────────────────────────────
   MOBILE REFINEMENTS
───────────────────────────────────────── */
@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .service-card, .bento-card { padding: 24px 20px; }
  .expertise-block { padding: 24px 20px; }
  .stat-block { padding: 28px 22px; }
  .job-card { padding: 22px 20px; }
  .service-block { padding: 44px 0; }
  .service-block-summary { padding: 14px 16px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn, .hero-btns .btn-white { justify-content: center; }
  .cta-band { margin-top: 40px; }
  .footer-statement { padding: 32px 0; }
  .case-item { gap: 12px; }
  h2 { margin-bottom: 16px; }
}
