/* ========================================
   Shared sub-page styles (Technology / Blog)
   ======================================== */

.text-gradient {
  background: linear-gradient(95deg, var(--color-primary) 0%, #FF8F8F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5625rem;
  padding: 0.5rem 1rem 0.5rem 0.5625rem;
  border-radius: 9999px;
  background: linear-gradient(96deg, var(--color-primary) 0%, #FF8F8F 100%);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
  margin-bottom: var(--spacing-xl);
}

.page-badge-icon {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: block;
}

.split-lead {
  font-size: 0.97rem;
  color: var(--color-ink-muted);
  line-height: 1.95;
  max-width: 560px;
}

.split-lead-light {
  color: rgba(255, 255, 255, 0.58);
}

/* ========================================
   TECH — Hero (dark)
   ======================================== */
.tech-hero {
  position: relative;
  overflow: hidden;
  padding: calc(72px + 3.75rem) 0 3.75rem;
  background-color: #1a0509;
}

.tech-hero::after {
  content: '';
  position: absolute;
  inset: -5%;
  background: url('/images/tech-hero-bg.png') bottom right / 85% auto no-repeat;
  animation: heroBgZoom 12s ease-out forwards;
}

@keyframes heroBgZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.tech-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(26, 5, 9, 0.86) 0%, rgba(26, 5, 9, 0.55) 62%, rgba(26, 5, 9, 0.08) 100%);
  pointer-events: none;
}

.tech-hero-inner {
  position: relative;
  z-index: 2;
}

.tech-hero-text {
  max-width: 480px;
}

.tech-hero-title {
  position: relative;
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: -0.04em;
  line-height: 1.32;
  margin-bottom: var(--spacing-xl);
}

.tech-hero-title-accent {
  color: #ff8f8f;
}

.tech-hero-description {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  margin-bottom: var(--spacing-2xl);
}

.tech-hero-cta {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.tech-hero-cta.hero-reveal {
  display: flex;
}

.btn-pill-tech-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-pill-tech-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(241, 0, 43, 0.35);
}

.btn-pill-tech-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

.btn-pill-tech-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   TECH — Metrics row (light)
   ======================================== */
.tech-metrics {
  background: var(--color-gray-50, #f5f5f3);
  padding: 3.5rem 0;
}

.tech-metrics-row {
  display: flex;
  align-items: stretch;
}

.tech-metric {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 0 1.25rem;
  text-align: center;
  border-left: 1px solid var(--color-line);
}

.tech-metric:first-child {
  border-left: none;
}

.tech-metric-number {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-ink);
  letter-spacing: -0.04em;
}

.tech-metric-accent {
  color: var(--color-primary);
}

.tech-metric-label {
  font-size: 0.9rem;
  color: var(--color-ink-muted);
}

/* ========================================
   TECH — Architecture diagram (light)
   ======================================== */
.architecture-section {
  position: relative;
}

.arch-diagram-row {
  display: flex;
  align-items: center;
  gap: 3.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.arch-rings-frame {
  width: 440px;
  height: 440px;
  flex-shrink: 0;
}

.arch-rings {
  position: relative;
  width: 520px;
  height: 520px;
  transform: scale(0.8462);
  transform-origin: top left;
}

.arch-rings::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 0, 43, 0.07) 0%, rgba(241, 0, 43, 0) 70%);
}

.arch-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed;
}

.arch-ring-1 { width: 520px; height: 520px; border-color: rgba(241, 0, 43, 0.27); }
.arch-ring-2 { width: 394px; height: 394px; border-color: rgba(255, 90, 114, 0.27); }
.arch-ring-3 { width: 282px; height: 282px; border-color: rgba(255, 143, 143, 0.27); }
.arch-ring-4 { width: 174px; height: 174px; border-color: rgba(255, 194, 194, 0.27); }

.arch-ring-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.arch-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--color-primary) 0%, #FF8F8F 100%);
  box-shadow: 0 20px 25px rgba(241, 0, 43, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.arch-center-icon {
  width: 24px;
  height: 24px;
}

.arch-center-label {
  font-size: 0.831rem;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.arch-chip {
  position: absolute;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  box-shadow: 0 10px 15px rgba(17, 17, 17, 0.08);
  padding: 0.75rem 1rem;
}

@keyframes archChipOrbitCW {
  0%      { transform: translate(0px, -7px); }
  12.5%   { transform: translate(5px, -5px); }
  25%     { transform: translate(7px, 0px); }
  37.5%   { transform: translate(5px, 5px); }
  50%     { transform: translate(0px, 7px); }
  62.5%   { transform: translate(-5px, 5px); }
  75%     { transform: translate(-7px, 0px); }
  87.5%   { transform: translate(-5px, -5px); }
  100%    { transform: translate(0px, -7px); }
}

@keyframes archChipOrbitCCW {
  0%      { transform: translate(0px, -7px); }
  12.5%   { transform: translate(-5px, -5px); }
  25%     { transform: translate(-7px, 0px); }
  37.5%   { transform: translate(-5px, 5px); }
  50%     { transform: translate(0px, 7px); }
  62.5%   { transform: translate(5px, 5px); }
  75%     { transform: translate(7px, 0px); }
  87.5%   { transform: translate(5px, -5px); }
  100%    { transform: translate(0px, -7px); }
}

.arch-chip-l1 { left: -37px; top: 96px; width: 165px; animation: archChipOrbitCW 9s linear infinite; animation-delay: -1s; }
.arch-chip-l2 { left: 357px; top: 115px; width: 150px; animation: archChipOrbitCCW 10s linear infinite; animation-delay: -4s; }
.arch-chip-l3 { left: 73px; top: 308px; width: 143px; animation: archChipOrbitCCW 8s linear infinite; animation-delay: -2.5s; }
.arch-chip-l4 { left: 338px; top: 326px; width: 150px; animation: archChipOrbitCW 11s linear infinite; animation-delay: -6s; }

.arch-chip-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--color-ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.arch-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.arch-chip-sub {
  margin-top: 0.5rem;
  margin-left: 0.9375rem;
  font-size: 0.694rem;
  color: var(--color-ink-faint);
  white-space: nowrap;
}

.arch-detail {
  flex: 1;
  min-width: 280px;
}

.arch-detail-eyebrow {
  font-size: 0.769rem;
  letter-spacing: 0.05em;
  color: var(--color-ink-lightest);
  margin-bottom: 0.375rem;
}

.arch-detail-title {
  font-size: 1.506rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--color-ink);
  margin-bottom: 0.75rem;
}

.arch-detail-desc {
  font-size: 0.869rem;
  color: var(--color-ink-muted);
  line-height: 1.7;
  max-width: 620px;
}

.arch-node-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.25rem;
  max-width: 600px;
}

.arch-node-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.arch-node-pill {
  flex-shrink: 0;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 0.6875rem 1.0625rem;
  font-size: 0.775rem;
  color: var(--color-ink-soft);
  white-space: nowrap;
}

.arch-node-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--color-line-soft), rgba(241, 0, 43, 0.5));
}

.arch-node-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* Runtime steps */
.runtime-row {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-line);
}

.runtime-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.runtime-label {
  font-size: 0.744rem;
  letter-spacing: 0.05em;
  color: var(--color-ink-lightest);
}

.runtime-note {
  font-size: 0.781rem;
  color: var(--color-ink-soft);
}

.runtime-steps {
  display: flex;
  align-items: stretch;
  gap: 0.875rem;
}

.runtime-step {
  position: relative;
  flex: 1;
  min-width: 0;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 1.5625rem 1.6875rem;
  overflow: hidden;
  animation: runtimeBorderFade 10s ease-in-out infinite;
}

.runtime-step::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(100deg, #1a0509 0%, var(--color-primary) 100%);
  animation: runtimeBatteryFill 10s ease-in-out infinite;
}

.runtime-steps .runtime-step:nth-child(1),
.runtime-steps .runtime-step:nth-child(1)::before,
.runtime-steps .runtime-step:nth-child(1) .runtime-step-tag,
.runtime-steps .runtime-step:nth-child(1) .runtime-step-title,
.runtime-steps .runtime-step:nth-child(1) .runtime-step-desc {
  animation-delay: 0s;
}
.runtime-steps .runtime-step:nth-child(3),
.runtime-steps .runtime-step:nth-child(3)::before,
.runtime-steps .runtime-step:nth-child(3) .runtime-step-tag,
.runtime-steps .runtime-step:nth-child(3) .runtime-step-title,
.runtime-steps .runtime-step:nth-child(3) .runtime-step-desc {
  animation-delay: 2s;
}
.runtime-steps .runtime-step:nth-child(5),
.runtime-steps .runtime-step:nth-child(5)::before,
.runtime-steps .runtime-step:nth-child(5) .runtime-step-tag,
.runtime-steps .runtime-step:nth-child(5) .runtime-step-title,
.runtime-steps .runtime-step:nth-child(5) .runtime-step-desc {
  animation-delay: 4s;
}
.runtime-steps .runtime-step:nth-child(7),
.runtime-steps .runtime-step:nth-child(7)::before,
.runtime-steps .runtime-step:nth-child(7) .runtime-step-tag,
.runtime-steps .runtime-step:nth-child(7) .runtime-step-title,
.runtime-steps .runtime-step:nth-child(7) .runtime-step-desc {
  animation-delay: 6s;
}
.runtime-steps .runtime-step:nth-child(9),
.runtime-steps .runtime-step:nth-child(9)::before,
.runtime-steps .runtime-step:nth-child(9) .runtime-step-tag,
.runtime-steps .runtime-step:nth-child(9) .runtime-step-title,
.runtime-steps .runtime-step:nth-child(9) .runtime-step-desc {
  animation-delay: 8s;
}

/* Each card gets a 20%-wide slot in the shared 10s loop: fill left-to-right like
   a battery charging, hold, then dissolve away smoothly before the next
   card's turn begins. */
@keyframes runtimeBorderFade {
  0%, 0.1%, 20%, 100% { border-color: var(--color-line); }
  4%, 16% { border-color: transparent; }
}

@keyframes runtimeBatteryFill {
  0% { transform: scaleX(0); opacity: 1; }
  4% { transform: scaleX(1); opacity: 1; }
  16% { transform: scaleX(1); opacity: 1; }
  19% { transform: scaleX(1); opacity: 0; }
  19.1%, 100% { transform: scaleX(0); opacity: 0; }
}

.runtime-step-tag {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 0.719rem;
  letter-spacing: 0.05em;
  color: var(--color-ink-lightest);
  margin-bottom: 0.4375rem;
  animation: runtimeTagFade 10s ease-in-out infinite;
}

@keyframes runtimeTagFade {
  0%, 0.1%, 20%, 100% { color: var(--color-ink-lightest); }
  4%, 16% { color: rgba(255, 255, 255, 0.85); }
}

.runtime-step-title {
  position: relative;
  z-index: 1;
  font-size: 0.925rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin-bottom: 0.375rem;
  animation: runtimeTitleFade 10s ease-in-out infinite;
}

@keyframes runtimeTitleFade {
  0%, 0.1%, 20%, 100% { color: var(--color-ink); }
  4%, 16% { color: var(--color-white); }
}

.runtime-step-desc {
  position: relative;
  z-index: 1;
  font-size: 0.756rem;
  color: var(--color-ink-faint);
  line-height: 1.55;
  animation: runtimeDescFade 10s ease-in-out infinite;
}

@keyframes runtimeDescFade {
  0%, 0.1%, 20%, 100% { color: var(--color-ink-faint); }
  4%, 16% { color: rgba(255, 255, 255, 0.9); }
}

.runtime-arrow {
  display: flex;
  align-items: center;
  color: var(--color-line-soft);
  font-size: 0.9375rem;
}

/* ========================================
   TECH — Core Tech feature list
   ======================================== */
.tech-feature-list {
  margin-top: var(--spacing-2xl);
}

.tech-feature-row {
  display: grid;
  grid-template-columns: 60px 320px 1fr;
  gap: 3.5rem;
  border-top: 1px solid var(--color-line);
  padding: 2.4375rem 0;
}

.tech-feature-list .tech-feature-row:last-child {
  border-bottom: 1px solid var(--color-line);
}

.tech-feature-index {
  font-size: 0.8125rem;
  color: var(--color-ink-lightest);
  padding-top: 0.375rem;
}

.tech-feature-heading {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.tech-feature-title {
  font-size: 1.3rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-ink);
  letter-spacing: -0.02em;
}

.tech-feature-status {
  font-size: 0.769rem;
  color: var(--color-primary);
}

.tech-feature-desc {
  font-size: 0.9rem;
  color: var(--color-ink-muted);
  line-height: 1.95;
}

/* ========================================
   TECH — In Product cards
   ======================================== */
.in-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: var(--spacing-2xl);
}

.in-product-card {
  transition: transform var(--transition-base);
}

.in-product-card:hover {
  transform: translateY(-4px);
}

.in-product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 264px;
  padding: 1rem;
  border-radius: 20px;
  background:
    radial-gradient(60% 55% at 40% 30%, rgba(241, 0, 43, 0.32) 0%, rgba(241, 0, 43, 0) 65%),
    #0b0b0b;
  border: 1px solid var(--color-line);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.in-product-card:hover .in-product-media {
  border-color: var(--color-primary);
}

.in-product-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.in-product-layer {
  display: block;
  font-size: 0.725rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.75rem;
}

.in-product-title {
  font-size: 1.1rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
}

.in-product-desc {
  font-size: 0.844rem;
  color: var(--color-ink-faint);
  line-height: 1.7;
}

/* ========================================
   TECH — Trust grid
   ======================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: var(--spacing-2xl);
}

.trust-item {
  position: relative;
  padding-top: 0.875rem;
}

.trust-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-line-soft);
}

.trust-title {
  font-size: 1.1625rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-ink);
  letter-spacing: -0.025em;
  margin-bottom: 0.625rem;
}

.trust-desc {
  font-size: 0.844rem;
  color: var(--color-ink-muted);
  line-height: 1.7;
}

/* ========================================
   TECH — Vision (What We Aim For)
   ======================================== */
.vision-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: var(--spacing-3xl);
  text-align: center;
}

.vision-eyebrow {
  font-size: 0.781rem;
  letter-spacing: 0.11em;
  color: #b08a72;
}

.vision-title {
  font-size: 2.125rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.04em;
  color: var(--color-ink);
}

.vision-title-accent {
  color: var(--color-primary);
}

.vision-grid {
  display: flex;
  gap: 1.75rem;
  align-items: stretch;
  justify-content: center;
}

.vision-card {
  flex: 1;
  min-width: 0;
  min-height: 376px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-gray-50, #f5f5f3);
  border-radius: 20px;
  padding: 3rem 2.75rem;
}

.vision-card-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vision-card-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-ink);
  letter-spacing: -0.02em;
}

.vision-card-desc {
  font-size: 0.93rem;
  color: var(--color-ink-muted);
  line-height: 1.95;
  max-width: 340px;
}

.vision-card-media {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  background: #0b0b0b;
  height: 210px;
}

.vision-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   TECH — Technical Inquiry CTA links row
   ======================================== */
.cta-links {
  display: flex;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

/* ========================================
   BLOG — Hero (dark, press-collage)
   ======================================== */
.blog-hero {
  position: relative;
  overflow: hidden;
  padding: calc(72px + var(--spacing-3xl)) 0 var(--spacing-2xl);
  background-color: #1a0509;
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 82% 30%, rgba(241, 0, 43, 0.28), transparent 60%);
  pointer-events: none;
}

.blog-hero .container {
  position: relative;
  z-index: 2;
}

.blog-hero-collage {
  position: absolute;
  top: 50%;
  right: 5%;
  width: 500px;
  height: 360px;
  transform: translateY(-50%);
  pointer-events: none;
}

.blog-hero-collage-item {
  position: absolute;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.08);
}

.blog-hero-collage-item-1 {
  top: 0;
  left: 0;
  width: 300px;
  height: 190px;
  transform: rotate(-6deg);
  z-index: 1;
}

.blog-hero-collage-item-2 {
  top: 90px;
  left: 180px;
  width: 260px;
  height: 165px;
  transform: rotate(5deg);
  z-index: 2;
}

.blog-hero-collage-item-3 {
  top: 205px;
  left: 30px;
  width: 240px;
  height: 155px;
  transform: rotate(-3deg);
  z-index: 3;
}

.blog-eyebrow-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  background: linear-gradient(96deg, var(--color-primary) 0%, #ff8f8f 100%);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
  margin-bottom: var(--spacing-lg);
}

.blog-hero-text {
  max-width: 700px;
}

.blog-hero-title {
  font-size: clamp(1.875rem, 1.2rem + 3vw, 3.625rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: -0.045em;
  line-height: 1.28;
  margin-bottom: var(--spacing-lg);
}

.blog-hero-title-line {
  display: block;
  white-space: nowrap;
}

.blog-hero-description {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  max-width: 400px;
}

/* ========================================
   BLOG — Filter bar
   ======================================== */
.blog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--color-ink);
  padding-bottom: 1.4375rem;
  margin-bottom: var(--spacing-2xl);
}

.filter-tabs {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.filter-tab {
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  background: var(--color-white);
  border: 1px solid var(--color-line-soft);
  border-radius: 9999px;
  padding: 0.6875rem 1.375rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.filter-tab:hover {
  border-color: var(--color-ink);
}

.filter-tab.is-active {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-white);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1.625rem;
  font-size: 0.85rem;
  color: var(--color-ink-lighter);
}

.blog-sort {
  color: var(--color-ink-soft);
}

/* ========================================
   BLOG — Featured post
   ======================================== */
.featured-post {
  display: grid;
  grid-template-columns: 580px 1fr;
  gap: 3.5rem;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 3.5625rem;
  margin-bottom: var(--spacing-3xl);
}

.featured-media,
.blog-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #0b0b0b;
  overflow: hidden;
  transition: transform var(--transition-slow);
}

.featured-post:hover .featured-media,
.blog-card:hover .blog-card-media {
  transform: scale(1.03);
}

.blog-card-title {
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
  color: var(--color-primary);
}

.featured-media {
  aspect-ratio: 700 / 420;
}

.featured-media img.featured-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.featured-media span,
.blog-card-media span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.featured-media img,
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-media.is-placeholder {
  background: var(--color-line-faint);
}

.blog-card-media.is-placeholder span {
  color: var(--color-ink-lightest);
}

.featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.375rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.blog-tag {
  font-size: 0.725rem;
  color: var(--color-primary);
}

.featured-body .blog-tag {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.375rem 0.8125rem;
  border-radius: 3px;
}

.blog-tag-article {
  background: var(--color-ink);
  color: var(--color-white);
  padding: 0.25rem 0.625rem;
  border-radius: 3px;
}

.blog-date {
  font-size: 0.8125rem;
  color: var(--color-ink-lighter);
}

.featured-title {
  font-size: 1.875rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-ink);
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.featured-desc {
  font-size: 0.9rem;
  color: var(--color-ink-muted);
  line-height: 1.85;
  max-width: 32rem;
}

/* ========================================
   BLOG — Card grid
   ======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2.5rem;
  margin-bottom: var(--spacing-3xl);
}

.blog-card {
  display: block;
}

.blog-card-media {
  aspect-ratio: 8 / 5;
  margin-bottom: 0.6875rem;
}

.blog-card .blog-card-meta {
  margin-bottom: 0.6875rem;
}

.blog-card-title {
  font-size: 1.09rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-ink);
  letter-spacing: -0.02em;
  line-height: 1.5;
  margin-bottom: 0.625rem;
}

.blog-card-desc {
  font-size: 0.844rem;
  color: var(--color-ink-faint);
  line-height: 1.7;
}

.blog-card[hidden],
.featured-post[hidden] {
  display: none;
}

.blog-load-more {
  display: flex;
  justify-content: center;
}

.blog-load-more .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-ink);
  color: var(--color-ink);
  font-family: inherit;
  font-size: 0.906rem;
  padding: 1.125rem 3.3125rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.blog-load-more .btn-outline:hover {
  background: var(--color-ink);
  color: var(--color-white);
}

/* ========================================
   BLOG — Partnership band (dark)
   ======================================== */
.partnership-band {
  background: #0b0b0b;
  padding: var(--spacing-4xl) 0;
}

.partnership-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--spacing-2xl);
  flex-wrap: wrap;
}

.partnership-copy {
  max-width: 460px;
}

.partnership-eyebrow {
  font-size: 0.8125rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-lg);
}

.partnership-title {
  font-size: 2.125rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1.4;
  margin-bottom: 1.125rem;
}

.partnership-desc {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.9;
}

.partnership-links {
  display: flex;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

/* ========================================
   TECH — Technical Inquiry CTA (red gradient)
   ======================================== */
.tech-inquiry-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(96deg, var(--color-primary) 0%, #ff8f8f 100%);
  padding: 7.5rem 0 7.1875rem;
}

.tech-inquiry-cta .container {
  position: relative;
  z-index: 1;
}

.tech-inquiry-watermark {
  position: absolute;
  top: 50%;
  right: 4rem;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  opacity: 0.14;
  pointer-events: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
/* ========================================
   STAGGERED REVEAL
   ======================================== */
.tech-feature-list .tech-feature-row:nth-child(1) { transition-delay: 0ms; }
.tech-feature-list .tech-feature-row:nth-child(2) { transition-delay: 60ms; }
.tech-feature-list .tech-feature-row:nth-child(3) { transition-delay: 120ms; }

.in-product-grid .in-product-card:nth-child(1) { transition-delay: 0ms; }
.in-product-grid .in-product-card:nth-child(2) { transition-delay: 90ms; }
.in-product-grid .in-product-card:nth-child(3) { transition-delay: 180ms; }

.trust-grid .trust-item:nth-child(1) { transition-delay: 0ms; }
.trust-grid .trust-item:nth-child(2) { transition-delay: 80ms; }
.trust-grid .trust-item:nth-child(3) { transition-delay: 160ms; }
.trust-grid .trust-item:nth-child(4) { transition-delay: 240ms; }

.blog-grid .blog-card:nth-child(3n+1) { transition-delay: 0ms; }
.blog-grid .blog-card:nth-child(3n+2) { transition-delay: 80ms; }
.blog-grid .blog-card:nth-child(3n+3) { transition-delay: 160ms; }

@media (max-width: 1023px) {
  .tech-metrics-row {
    flex-wrap: wrap;
    gap: var(--spacing-xl) 0;
  }

  .tech-metric {
    flex: 1 1 50%;
    border-left: none;
    padding-bottom: var(--spacing-lg);
  }

  .vision-grid {
    flex-direction: column;
  }

  .arch-diagram-row {
    flex-direction: column;
    gap: 2.5rem;
  }

  .arch-rings-frame {
    width: 340px;
    height: 340px;
    overflow: visible;
    margin: 0 auto;
  }

  .arch-rings {
    transform: scale(0.654);
    transform-origin: top left;
  }

  .runtime-steps {
    flex-wrap: wrap;
  }

  .runtime-step {
    flex-basis: calc(50% - 0.4375rem);
  }

  .runtime-arrow {
    display: none;
  }

  .tech-feature-row {
    grid-template-columns: 32px 1fr;
    gap: 1rem;
    grid-template-areas: "index heading" "desc desc";
  }

  .tech-feature-index { grid-area: index; }
  .tech-feature-heading { grid-area: heading; }
  .tech-feature-desc { grid-area: desc; margin-top: var(--spacing-sm); }

  .in-product-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .tech-hero::after {
    background-position: bottom right;
    background-size: 120% auto;
  }

  .tech-hero::before {
    background: linear-gradient(180deg, rgba(26, 5, 9, 0.55) 0%, rgba(26, 5, 9, 0.88) 55%, #1a0509 100%);
  }

  .tech-metric {
    flex: 1 1 100%;
    border-left: none;
  }

  .arch-rings-frame {
    width: 280px;
    height: 280px;
  }

  .arch-rings {
    transform: scale(0.538);
  }

  .runtime-step {
    flex-basis: 100%;
  }

  .in-product-grid,
  .trust-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero-collage {
    display: none;
  }

  .blog-hero-title-line {
    white-space: normal;
  }

  .blog-filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .partnership-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
