/* ═══════════════════════════════════════════════════════════════
   Extras — shared styles for About, Case Studies, Industries,
   Careers, Insights, Process pages
   ═══════════════════════════════════════════════════════════════ */

body { --mono: 'JetBrains Mono', ui-monospace, monospace; }

/* ───── Shared section heading variants ───── */
.section--lift { padding: 64px 0 48px; }
.section__head--left { text-align: left; max-width: 720px; margin-bottom: 50px; }
.section__head--left h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 12px 0 12px;
  font-weight: 800;
}
.section__head--left p {
  color: var(--gray-700);
  font-size: 18px;
  max-width: 640px;
}

/* ───── Logo wall (used on Home or About) ───── */
.logo-wall {
  padding: 60px 0;
  border-block: 1px solid var(--gray-100);
  background: var(--white);
}
.logo-wall__row {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 18px;
  color: var(--gray-500);
  letter-spacing: -0.01em;
}
.logo-wall__row span {
  opacity: .7;
  transition: opacity .2s, color .2s;
}
.logo-wall__row span:hover { opacity: 1; color: var(--text); }

/* ═══════════════════════════════════════════════════════════════
   ABOUT page
   ═══════════════════════════════════════════════════════════════ */

/* Founder block */
.founder-block {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 48px 0;
}
.founder-block__copy h2 {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 12px 0 22px;
  font-weight: 800;
}
.founder-block__copy p {
  font-size: 17px;
  color: var(--gray-700);
  margin-bottom: 14px;
  line-height: 1.7;
}
.founder-block__sig {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text);
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--gray-100);
}
.founder-block__sig strong { color: var(--text); font-weight: 800; }
.founder-block__sig small {
  display: block;
  color: var(--gray-500);
  font-size: 12px;
  margin-top: 4px;
}
.founder-block__visual {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--purple), var(--text));
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.founder-block__visual--photo { background: var(--text); }
.founder-block__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.founder-block__visual:hover img {
  transform: scale(1.03);
}
.founder-block__visual--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.4) 100%);
  pointer-events: none;
}
.founder-block__visual::before {
  content: "Ananya · Engineer & Founder";
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: var(--mono);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 18px;
  padding: 32px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple);
}
.value-card__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.1em;
}
.value-card h3 {
  margin: 12px 0 10px;
  font-size: 20px;
  font-weight: 800;
}
.value-card p {
  color: var(--gray-700);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.team-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.team-card__pic {
  aspect-ratio: 1 / 1;
  position: relative;
  display: grid;
  place-items: center;
  font-size: 64px;
  font-family: var(--mono);
  font-weight: 800;
  color: var(--white);
}
.team-card__pic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.2), transparent 60%);
}
.team-card__info {
  padding: 18px 20px 22px;
}
.team-card__name {
  font-weight: 800;
  font-size: 16px;
  margin: 0 0 2px;
}
.team-card__role {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--purple);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.team-card__fun {
  font-size: 13px;
  color: var(--gray-700);
  margin: 0;
}
.team-card__tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.team-card__tags span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  background: var(--cream);
  border-radius: 999px;
  color: var(--gray-700);
}

/* Milestones timeline */
.milestones {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 0;
}
.milestones::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: var(--gray-300);
  transform: translateX(-50%);
}
.milestone {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 16px;
  margin-bottom: 36px;
  align-items: center;
}
.milestone__year {
  text-align: center;
  position: relative;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
  z-index: 1;
}
.milestone__year::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--purple);
  z-index: -1;
}
.milestone__card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 18px 22px;
}
.milestone__card h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
}
.milestone__card p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.5;
}
.milestone:nth-child(odd) .milestone__card { text-align: right; }
.milestone:nth-child(even) .milestone__card { grid-column: 3; }
.milestone:nth-child(even) .milestone__year { grid-column: 2; }
.milestone:nth-child(odd) .milestone__card { grid-column: 1; }

/* ═══════════════════════════════════════════════════════════════
   GLOBE section (About page)
   ═══════════════════════════════════════════════════════════════ */
.globe-section {
  padding: 60px 0;
  background: var(--text);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.globe-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.globe-head {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}
.globe-head .eyebrow {
  background: rgba(255,255,255,.1);
  color: var(--yellow);
}
.globe-head h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 14px 0 14px;
  color: var(--cream);
}
.globe-grad {
  background: linear-gradient(120deg, var(--yellow) 0%, #b1c5af 50%, var(--yellow) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradSweep 5s linear infinite;
}
.globe-head p {
  color: rgba(255,255,255,.65);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto;
}

.globe-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}

.globe-canvas-wrap {
  position: relative;
  width: 540px;
  height: 540px;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .globe-canvas-wrap { width: 100%; height: auto; }
}
.globe-canvas-wrap::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(139,168,136,.18) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
#globeCanvas {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
}
.globe-counter {
  position: absolute;
  bottom: 10px;
  left: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,.55);
  z-index: 2;
}
.globe-counter strong {
  color: var(--yellow);
  font-size: 16px;
  font-weight: 800;
}

.globe-stat-pill {
  position: absolute;
  top: 10px;
  right: 0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.globe-stat-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16c784;
  box-shadow: 0 0 8px #16c784;
  animation: pingPulse 2s ease-out infinite;
}

.globe-locations {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.globe-loc {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  font-family: var(--mono);
  transition: background .2s, border-color .2s, transform .2s;
}
.globe-loc:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(139,168,136,.4);
  transform: translateX(4px);
}
.globe-loc--hq {
  background: rgba(255,238,88,.08);
  border-color: rgba(255,238,88,.25);
}
.globe-loc__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px rgba(139,168,136,.6);
}
.globe-loc--hq .globe-loc__dot {
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(255,238,88,.7);
  animation: pingPulse 2s ease-out infinite;
}
.globe-loc__body strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--cream);
}
.globe-loc__body small {
  font-size: 11px;
  color: rgba(255,255,255,.5);
}
.globe-loc__count {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  color: rgba(255,255,255,.7);
}
.globe-loc--hq .globe-loc__count {
  background: var(--yellow);
  color: var(--text);
}

@media (max-width: 980px) {
  .globe-stage {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CASE STUDY pages
   ═══════════════════════════════════════════════════════════════ */
.case-hero {
  background: linear-gradient(180deg, var(--cream) 0%, #ECE9DF 100%);
  padding: 90px 0 50px;
  position: relative;
  overflow: hidden;
}
.case-hero__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 12px;
}
.case-hero__meta span {
  padding: 5px 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  font-weight: 700;
  color: var(--gray-700);
}
.case-hero__meta .case-hero__status {
  background: rgba(22,199,132,.14);
  color: #0f8e5f;
  border-color: transparent;
}
.case-hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}
.case-hero__client {
  font-size: 18px;
  color: var(--gray-700);
  max-width: 620px;
  margin-bottom: 28px;
}
.case-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.case-hero__stat {
  background: var(--white);
  border-radius: 14px;
  padding: 18px;
  border: 1px solid var(--gray-100);
}
.case-hero__stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
}
.case-hero__stat small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-section {
  padding: 48px 0;
  border-top: 1px dashed var(--gray-300);
}
.case-section__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 22px;
}
.case-section__id {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: 0.08em;
  padding: 6px 12px;
  background: rgba(139,168,136,.14);
  border-radius: 6px;
}
.case-section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}
.case-section__copy {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-700);
  max-width: 760px;
}
.case-section__copy p { margin: 0 0 14px; }

.case-callout {
  background: var(--text);
  color: var(--cream);
  border-radius: 18px;
  padding: 36px 40px;
  margin: 30px 0;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.6;
  position: relative;
}
.case-callout::before {
  content: "$ note";
  position: absolute;
  top: 14px; left: 16px;
  font-size: 11px;
  color: var(--yellow);
}
.case-callout strong { color: var(--yellow); }

.case-quote {
  background: var(--white);
  border-radius: 22px;
  padding: 44px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  margin: 30px 0;
}
.case-quote__text {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.case-quote__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.case-quote__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--text));
  color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 16px;
}
.case-quote__author strong { display: block; font-size: 14px; }
.case-quote__author small { color: var(--gray-500); font-size: 12px; }

.case-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 40px 0 20px;
  padding-top: 30px;
  border-top: 1px dashed var(--gray-300);
}
.case-nav a {
  display: block;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.case-nav a:hover { transform: translateY(-2px); border-color: var(--purple); box-shadow: var(--shadow); }
.case-nav__label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}
.case-nav__title {
  font-weight: 800;
  font-size: 18px;
  margin-top: 4px;
}
.case-nav__right { text-align: right; }

/* ═══════════════════════════════════════════════════════════════
   INDUSTRIES page
   ═══════════════════════════════════════════════════════════════ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.industry-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  padding: 36px 32px;
  position: relative;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.industry-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 28px;
}
.industry-card h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.industry-card__desc {
  color: var(--gray-700);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}
.industry-card__stats {
  display: flex;
  gap: 22px;
  padding: 16px 0;
  border-block: 1px dashed var(--gray-300);
}
.industry-card__stat {
  flex: 1;
}
.industry-card__stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
}
.industry-card__stat small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.industry-card__feat {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.industry-card__feat span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--cream);
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  color: var(--gray-700);
}
.industry-card__cta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
}

/* ═══════════════════════════════════════════════════════════════
   CAREERS page
   ═══════════════════════════════════════════════════════════════ */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.perk {
  text-align: center;
  background: var(--white);
  border-radius: 16px;
  padding: 24px 18px;
  border: 1px solid var(--gray-100);
  transition: transform .25s, box-shadow .25s;
}
.perk:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.perk__icon {
  font-size: 30px;
  margin-bottom: 8px;
}
.perk h4 { margin: 0 0 4px; font-size: 15px; }
.perk small { font-size: 12px; color: var(--gray-500); }

.roles {
  margin-top: 30px;
}
.role {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.role:hover {
  transform: translateX(4px);
  border-color: var(--purple);
  box-shadow: var(--shadow);
}
.role__meta {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.role__pill {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--gray-700);
}
.role__pill--hot {
  background: var(--yellow);
  color: var(--text);
}
.role h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.role p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-700);
}
.role__apply {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  background: var(--text);
  color: var(--yellow);
  border-radius: 10px;
  white-space: nowrap;
  transition: background .2s;
}
.role:hover .role__apply { background: var(--purple); color: var(--white); }
.role__none {
  text-align: center;
  padding: 40px 20px;
  background: var(--cream);
  border-radius: 14px;
  border: 1px dashed var(--gray-300);
}

/* ═══════════════════════════════════════════════════════════════
   INSIGHTS / Blog
   ═══════════════════════════════════════════════════════════════ */
.insight-featured {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 50px;
  transition: transform .3s, box-shadow .3s;
}
.insight-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.insight-featured__visual {
  background: linear-gradient(135deg, var(--purple), var(--text));
  min-height: 360px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 60px;
  font-weight: 800;
}
.insight-featured__body {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.insight-featured__meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.insight-featured__meta span:first-child {
  background: var(--yellow);
  color: var(--text);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 800;
}
.insight-featured h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.insight-featured p {
  font-size: 16px;
  color: var(--gray-700);
  margin: 0 0 22px;
  line-height: 1.6;
}
.insight-featured__more {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.insight-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.insight-card__visual {
  height: 160px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--mono);
  font-weight: 800;
  font-size: 40px;
}
.insight-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.insight-card__cat {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.insight-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.insight-card p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.55;
}
.insight-card__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-500);
  padding-top: 12px;
  border-top: 1px dashed var(--gray-300);
}

/* Article page */
.article-hero {
  padding: 48px 0 28px;
  background: var(--cream);
}
.article-hero__meta {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gray-500);
}
.article-hero__meta span:first-child {
  background: var(--yellow);
  color: var(--text);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.article-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 820px;
  margin: 0 0 18px;
}
.article-hero__sub {
  font-size: 19px;
  color: var(--gray-700);
  max-width: 720px;
  line-height: 1.6;
}
.article-hero__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--gray-100);
}
.article-hero__author-pic {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--text));
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 800;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 0 80px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--gray-700);
}
.article-body h2 {
  font-size: 32px;
  margin: 40px 0 14px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.article-body p { margin: 0 0 18px; }
.article-body code {
  font-family: var(--mono);
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
}
.article-body pre {
  background: var(--text);
  color: var(--cream);
  padding: 24px;
  border-radius: 14px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  margin: 24px 0;
}
.article-body ul, .article-body ol { padding-left: 20px; margin: 0 0 18px; }
.article-body li { margin: 8px 0; }
.article-body blockquote {
  border-left: 4px solid var(--purple);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--cream);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS page
   ═══════════════════════════════════════════════════════════════ */
.method-stage {
  background: var(--white);
  border-radius: 22px;
  padding: 50px;
  border: 1px solid var(--gray-100);
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.method-stage::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--purple), var(--text));
}
.method-stage__num {
  font-family: var(--mono);
  font-size: 56px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.03em;
  line-height: 1;
}
.method-stage__copy h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.method-stage__when {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.method-stage__copy p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.65;
}
.method-stage__deliv {
  background: var(--cream);
  border-radius: 14px;
  padding: 22px;
}
.method-stage__deliv-head {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.method-stage__deliv ul {
  list-style: none;
  padding: 0; margin: 0;
}
.method-stage__deliv li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14px;
  font-weight: 600;
}
.method-stage__deliv li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-family: var(--mono);
  font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .founder-block { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .insight-featured { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
  .method-stage { grid-template-columns: 70px 1fr; }
  .method-stage__deliv { grid-column: 2; }
  .case-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .milestones::before { left: 20px; }
  .milestone { grid-template-columns: 50px 1fr; gap: 14px; }
  .milestone__year { grid-column: 1; }
  .milestone__card,
  .milestone:nth-child(odd) .milestone__card,
  .milestone:nth-child(even) .milestone__card { grid-column: 2; text-align: left; }
}
@media (max-width: 640px) {
  .values-grid, .team-grid, .perks-grid, .insight-grid { grid-template-columns: 1fr; }
  .role { grid-template-columns: 1fr; gap: 14px; }
  .role__apply { text-align: center; }
  .method-stage { padding: 32px 24px; grid-template-columns: 1fr; }
  .method-stage__deliv { grid-column: 1; }
  .case-nav { grid-template-columns: 1fr; }
  .case-quote { padding: 28px; }
  .case-quote__text { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   DX METHOD TIMELINE — scroll-driven 5-stage journey
   ═══════════════════════════════════════════════════════════════ */
.method-section { padding: 44px 0 56px; }

.dx-timeline {
  position: relative;
  padding-left: 84px;
  padding-top: 8px;
  padding-bottom: 8px;
  max-width: 1000px;
  margin: 0 auto;
}

.dx-timeline__track {
  position: absolute;
  left: 33px;
  top: 28px;
  bottom: 28px;
  width: 3px;
  background: rgba(44,62,45,.1);
  border-radius: 999px;
  overflow: visible;
}
.dx-timeline__fill {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--yellow), #8BA888 80%, var(--text));
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(255,238,88,.5);
  transition: height .12s linear;
}
.dx-timeline__head {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, calc(var(--head-y, 0%) - 50%));
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255,238,88,.18), 0 0 14px rgba(255,238,88,.7);
  opacity: 0;
  transition: opacity .25s ease, top .12s linear;
}
.dx-timeline__fill::after {
  /* leading edge dot anchored to bottom of the fill */
  content: "";
  position: absolute;
  left: 50%; bottom: -7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  transform: translateX(-50%);
  box-shadow: 0 0 0 5px rgba(255,238,88,.22), 0 0 18px rgba(255,238,88,.7);
  opacity: 0;
  transition: opacity .25s ease;
}
.dx-timeline:not(:has(.dx-timeline__fill[style*="height: 0"])) .dx-timeline__fill::after { opacity: 1; }

.dx-stage {
  position: relative;
  margin-bottom: 32px;
  opacity: .42;
  transform: translateY(14px);
  transition: opacity .45s cubic-bezier(.2,.7,.3,1), transform .45s cubic-bezier(.2,.7,.3,1);
}
.dx-stage:last-child { margin-bottom: 0; }
.dx-stage.is-passed,
.dx-stage.is-active {
  opacity: 1;
  transform: translateY(0);
}

.dx-stage__dot {
  position: absolute;
  left: -84px;
  top: 14px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid rgba(44,62,45,.12);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  box-shadow: 0 6px 16px rgba(44,62,45,.08);
  transition: background .35s ease, color .35s ease, border-color .35s ease, scale .35s cubic-bezier(.34,1.5,.64,1), box-shadow .35s ease;
  z-index: 2;
}
.dx-stage.is-passed .dx-stage__dot {
  background: var(--text);
  color: var(--yellow);
  border-color: rgba(255,238,88,.45);
}
.dx-stage.is-active .dx-stage__dot {
  background: var(--text);
  color: var(--yellow);
  border-color: var(--yellow);
  scale: 1.12;
  box-shadow:
    0 0 0 7px rgba(255,238,88,.18),
    0 14px 30px rgba(44,62,45,.28);
}

.dx-stage__card {
  background: #fff;
  border: 1.5px solid rgba(44,62,45,.1);
  border-radius: 18px;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 28px;
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.dx-stage.is-active .dx-stage__card {
  border-color: rgba(255,238,88,.45);
  box-shadow: 0 18px 40px rgba(44,62,45,.12);
  transform: translateY(-2px);
}
.dx-stage.is-passed .dx-stage__card {
  border-color: rgba(44,62,45,.15);
  box-shadow: 0 8px 22px rgba(44,62,45,.05);
}

.dx-stage__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--text);
}
.dx-stage__when {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.dx-stage__copy p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray-700);
  margin: 0;
}

.dx-stage__deliv {
  background: #1a2218;
  color: #d9e5d6;
  border-radius: 12px;
  padding: 14px 16px 16px;
  font-family: var(--mono);
  align-self: start;
  box-shadow: inset 0 0 0 1px rgba(255,238,88,.12);
}
.dx-stage__deliv-head {
  color: var(--yellow);
  font-weight: 800;
  font-size: 11px;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.dx-stage__deliv ul {
  list-style: none;
  margin: 0; padding: 0;
}
.dx-stage__deliv li {
  padding: 3px 0 3px 14px;
  position: relative;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(217,229,214,.85);
}
.dx-stage__deliv li::before {
  content: "›";
  position: absolute;
  left: 0; top: 3px;
  color: var(--yellow);
}

@media (max-width: 760px) {
  .dx-timeline { padding-left: 64px; }
  .dx-timeline__track { left: 22px; }
  .dx-stage__dot {
    left: -64px;
    width: 44px; height: 44px;
    font-size: 11px;
    top: 10px;
  }
  .dx-stage__card {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 16px;
  }
  .dx-stage__title { font-size: 22px; }
}

/* ------------------------------------------------------------------
   Case hero screenshot frame (mock browser chrome + site shot)
   ------------------------------------------------------------------ */
.case-hero__shot {
  margin: 44px 0 0;
  display: flex;
  justify-content: center;
}
.case-hero__shot-frame {
  width: 100%;
  max-width: 980px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--gray-300, #cdd2c8);
  box-shadow: 0 30px 60px -20px rgba(44, 62, 45, .25), 0 12px 24px -10px rgba(44, 62, 45, .15);
}
.case-hero__shot-frame .rpv-bar {
  padding: 10px 14px;
  background: #f2efe9;
  border-bottom: 1px solid var(--gray-300, #cdd2c8);
}
.case-hero__shot-frame img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 720px) {
  .case-hero__shot { margin-top: 28px; }
  .case-hero__shot-frame { border-radius: 10px; }
}

/* ==================================================================
   Insights page — real photos + interactive toolbar
   ================================================================== */

/* Photos overlaid on gradient (gradient shows if photo 404s) */
.insight-featured__visual,
.insight-card__visual {
  position: relative;
  overflow: hidden;
  font-size: 0;      /* kill leftover emoji baseline */
}
.insight-featured__visual > img,
.insight-card__visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .8s cubic-bezier(.2,.7,.3,1), filter .4s ease;
  z-index: 1;
}
.insight-featured__visual::after,
.insight-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.45) 100%);
  z-index: 2;
  pointer-events: none;
}
.insight-featured:hover .insight-featured__visual > img,
.insight-card:hover .insight-card__visual > img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

/* Category badges pinned bottom-left */
.insight-featured__badge,
.insight-card__badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  padding: 6px 12px;
  background: rgba(255, 255, 255, .95);
  color: var(--text, #2C3E2D);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* Reading-time chip appears on hover, top-right */
.insight-card__visual::before {
  content: attr(data-mins-label);
}
.insight-card { position: relative; }
.insight-card::after {
  content: attr(data-mins) ' min';
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  padding: 5px 10px;
  background: rgba(44, 62, 45, .9);
  color: #FFEE58;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.insight-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle 3D hover tilt for cards */
.insight-card {
  will-change: transform;
  transform-style: preserve-3d;
}
.insight-card:hover {
  transform: translateY(-6px) rotate(-.4deg);
}

/* ─── Interactive toolbar (search + filters + sort) ─── */
.insight-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 20px;
  align-items: center;
  margin: 44px 0 26px;
  padding: 14px;
  border-radius: 16px;
  background: var(--white, #fff);
  border: 1px solid var(--gray-100, #e6e6dc);
  box-shadow: var(--shadow);
}
.insight-toolbar__search {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--cream, #F5F3EE);
}
.insight-toolbar__search svg {
  width: 18px;
  height: 18px;
  color: var(--gray-500, #6b7a6c);
  flex-shrink: 0;
}
.insight-toolbar__search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 10px;
  font-size: 14px;
  font-family: var(--font-display);
  color: var(--text);
  outline: none;
  min-width: 0;
}
.insight-toolbar__search input::placeholder { color: var(--gray-500); }
.insight-toolbar__clear {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px 6px;
  color: var(--gray-500);
  font-size: 12px;
  opacity: 0;
  transition: opacity .2s;
}
.insight-toolbar__search.has-value .insight-toolbar__clear { opacity: 1; }

.insight-toolbar__chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--gray-100);
}
.ins-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-700);
  cursor: pointer;
  transition: all .2s;
}
.ins-chip:hover { background: var(--cream); border-color: var(--gray-300); }
.ins-chip.is-active {
  background: var(--text);
  color: var(--yellow);
  border-color: var(--text);
}
.ins-chip__count {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-500);
}
.ins-chip.is-active .ins-chip__count { background: var(--yellow); color: var(--text); }

.insight-toolbar__sort {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--cream);
  border-radius: 12px;
}
.ins-sort {
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.ins-sort:hover { color: var(--text); }
.ins-sort.is-active { background: var(--white); color: var(--text); box-shadow: 0 2px 6px rgba(0,0,0,.06); }

/* Filter-hidden cards */
.insight-card.is-hidden { display: none; }

/* Empty state */
.insight-empty {
  text-align: center;
  padding: 60px 20px;
  border-radius: 18px;
  background: var(--cream);
  border: 1px dashed var(--gray-300);
}
.insight-empty__icon { font-size: 40px; margin-bottom: 10px; }
.insight-empty h3 { margin: 0 0 6px; }
.insight-empty p { margin: 0 0 16px; color: var(--gray-700); }

/* Responsive toolbar */
@media (max-width: 780px) {
  .insight-toolbar {
    grid-template-columns: 1fr;
  }
  .insight-toolbar__sort {
    justify-self: start;
    flex-wrap: wrap;
  }
  .ins-sort { padding: 8px 10px; font-size: 11px; }
}
@media (max-width: 640px) {
  .insight-featured__badge, .insight-card__badge { font-size: 10px; padding: 5px 10px; }
}
