:root {
  --bg: #000;
  --panel: #06080c;
  --text: #d8c996;
  --muted: rgba(216,201,150,0.8);
  --accent: #d48631;
  --accent-blue: #61a9e4;
  --line: rgba(255,255,255,0.09);
  --cream: #f2efea;
  --max: 1360px;
  --sans: "Chivo", Arial, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --mono: "Courier New", Courier, monospace;
  --ease: cubic-bezier(0.77,0,0.175,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: var(--bg); color: var(--text); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
body.page-3 { background: var(--bg); }

/* ── HEADER ── */
.site-header-3 {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
}
.site-header-3::before {
  content: "";
  position: absolute; inset: 0;
  background: url("assets/1bg.png") center / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}
.site-header-3::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.88));
  pointer-events: none;
}
.site-header-inner-3 {
  position: relative; z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.8rem 1.4rem 0.9rem;
}
.site-brand-3 {
  display: flex; justify-content: center; align-items: center;
  min-height: 84px;
}
.site-brand-3 img {
  width: min(44vw, 640px); height: auto;
  filter: drop-shadow(0 0 16px rgba(212,134,49,0.22));
  transition: filter 0.5s ease;
}
.site-brand-3 img:hover {
  filter: drop-shadow(0 0 32px rgba(212,134,49,0.48));
}
.main-nav-3 { margin-top: 0.25rem; }
.nav-list-3 {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 0.75rem;
  align-items: start;
}
.nav-item-3 { position: relative; }
.nav-link-3 {
  display: inline-block;
  padding: 0.3rem 0;
  font-size: clamp(0.92rem,1.6vw,1.35rem);
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  transition: color 0.18s;
  position: relative;
}
.nav-link-3::after {
  content: "";
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-link-3:hover::after, .is-active-3 .nav-link-3::after { width: 100%; }
.nav-link-3:hover, .is-active-3 .nav-link-3 { color: var(--accent); }

.subnav-3 {
  list-style: none; padding: 0.6rem 0.8rem 0.7rem; margin: 0;
  position: absolute; top: calc(100% + 0.3rem); left: -0.8rem;
  min-width: 210px;
  display: none;
  background: rgba(6,14,26,0.92);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.4);
}
.nav-item-3:hover .subnav-3,
.nav-item-3:focus-within .subnav-3 { display: block; }
.subnav-link-3 {
  display: inline-block; padding: 0.15rem 0;
  color: rgba(255,255,255,0.82);
  font-size: clamp(0.88rem,1.3vw,1.08rem);
  line-height: 1.65;
  transition: color 0.15s;
}
.subnav-link-3:hover { color: var(--accent); }

/* ── MAIN CONTENT ── */
.page-shell { min-height: 100vh; background: #000; }
.page-main-3 {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.4rem 5rem;
  min-height: 78vh;
}

/* ── HERO SECTION ── */
.page-hero-3 {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  min-height: 320px;
  padding: 2.5rem 2rem 2.5rem;
  background: linear-gradient(145deg, rgba(0,0,0,0.9), rgba(5,10,20,0.95));
}
.page-hero-3::before {
  content: "";
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.page-hero-3:hover::before { opacity: 0.22; }

/* Per-page hero backgrounds */
.coding-hero::before    { background-image: url("assets/sinstrumentation.png"); }
.automation-hero::before { background-image: url("assets/1rbg.png"); }
.systems-hero::before   { background-image: url("assets/system6.png"); }
.support-hero::before   { background-image: url("assets/system5.png"); }

/* Ambient glow on hero */
.page-hero-3::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 80% 50%, rgba(212,134,49,0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 7s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { opacity: 0.5; }
  to   { opacity: 1; }
}

.page-hero-content-3 { position: relative; z-index: 2; max-width: 740px; }

.page-kicker-3 {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.page-title-3 {
  margin: 0;
  font-size: clamp(2.2rem,4.8vw,4.2rem);
  line-height: 0.98;
  color: #fff;
}
.page-title-3.serif-3  { font-family: var(--serif); letter-spacing: 0.1em; font-weight: 400; }
.page-title-3.mono-3   { font-family: var(--mono);  letter-spacing: 0.16em; font-weight: 400; }

.page-summary-3 {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem,1.4vw,1.15rem);
  line-height: 1.7;
  max-width: 62ch;
}

/* ── CONTENT CARDS ── */
.section-grid-3 {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.content-card-3 {
  border: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(170deg, rgba(255,255,255,0.028), rgba(255,255,255,0.01));
  padding: 1.4rem 1.3rem 1.45rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.content-card-3::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,134,49,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.content-card-3:hover {
  border-color: rgba(212,134,49,0.22);
  background: linear-gradient(170deg, rgba(255,255,255,0.042), rgba(255,255,255,0.016));
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(212,134,49,0.08);
}
.content-card-3:hover::before { opacity: 1; }

.content-card-3 h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.1rem,1.75vw,1.45rem);
  color: #fff; font-weight: 700;
}
.content-card-3 p {
  color: var(--muted);
  line-height: 1.72; font-size: 1rem;
  margin-bottom: 0.6rem;
}
.content-card-3 p:last-child { margin-bottom: 0; }
.content-card-3 ul {
  margin: 0.5rem 0 0.8rem 0;
  padding-left: 1.2rem;
  list-style: none;
}
.content-card-3 li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  padding-left: 0.8rem;
}
.content-card-3 li::before {
  content: "–";
  position: absolute; left: -0.4rem;
  color: var(--accent); font-size: 0.8rem;
}
.content-card-3 strong { color: rgba(255,255,255,0.9); font-weight: 700; }

.anchor-section-3 { scroll-margin-top: 160px; }

/* ── SCROLL-IN ANIMATION ── */
.content-card-3 {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.content-card-3.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── PRICING TABLE ── */
.pricing-table-3 { display: grid; gap: 0.8rem; margin-top: 1.1rem; }
.pricing-row-3 {
  display: grid;
  grid-template-columns: minmax(170px,1fr) minmax(130px,0.75fr) minmax(0,1.75fr);
  gap: 1rem; align-items: start;
  padding: 0.95rem 1.1rem;
  background: rgba(255,255,255,0.022);
  transition: background 0.2s;
}
.pricing-row-3:hover { background: rgba(255,255,255,0.038); }
.pricing-head-3 { background: transparent; color: var(--accent); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 0; padding-bottom: 0.25rem; }
.pricing-tier-3  { color: var(--text); font-weight: 700; font-size: 1.05rem; }
.pricing-price-3 { color: #f4e2b0; font-weight: 700; white-space: nowrap; }
.pricing-details-3 ul { margin: 0; padding-left: 1.1rem; }
.pricing-details-3 li { margin: 0 0 0.25rem; color: var(--muted); font-size: 0.95rem; }
.pricing-featured-3 { background: linear-gradient(180deg, rgba(212,134,49,0.1), rgba(255,255,255,0.022)); }

/* ── FOOTER ── */
.site-footer-3 {
  background: #020305;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.site-footer-inner-3 {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.4rem 3rem;
}
.footer-brand-3 {
  display: flex; justify-content: center;
  margin-bottom: 1.4rem;
}
.footer-brand-3 img {
  width: min(30vw, 340px); height: auto;
  filter: drop-shadow(0 0 12px rgba(212,134,49,0.15));
  transition: filter 0.4s;
}
.footer-brand-3 img:hover {
  filter: drop-shadow(0 0 26px rgba(212,134,49,0.38));
}
.footer-grid-3 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.4rem;
}
.footer-group-3 h3 { margin: 0 0 0.55rem; font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.footer-link-3 {
  display: block; color: rgba(255,255,255,0.72);
  line-height: 1.75; font-size: 0.95rem;
  transition: color 0.18s;
}
.footer-link-3:hover { color: var(--accent); }
.footer-copy-3 {
  margin-top: 1.4rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.45); font-size: 0.88rem; text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-list-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-grid-3 { grid-template-columns: repeat(2,1fr); }
  .site-brand-3 img { width: min(65vw, 580px); }
  .pricing-row-3 { grid-template-columns: 1fr 1fr; }
  .pricing-head-3 { display: none; }
}
@media (max-width: 640px) {
  .nav-list-3, .footer-grid-3 { grid-template-columns: 1fr; }
  .page-hero-3 { padding: 1.5rem 1rem; min-height: 260px; }
  .site-brand-3 { min-height: 68px; }
  .pricing-row-3 { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ════════════════════════════════════════════════════════════════════
   EDITORIAL IMAGE-FORWARD LAYOUT
   Wide breathing room, dark ground, images as atmosphere
   ════════════════════════════════════════════════════════════════════ */

/* ── FEATURE IMAGE BLOCKS ── */
/* Full-bleed image break between content sections */
.img-break {
  width: 100%;
  margin: 0;
  overflow: hidden;
  line-height: 0;
  position: relative;
}
.img-break img {
  width: 100%; height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.9);
  transition: filter 1.2s ease;
}
.img-break:hover img { filter: brightness(0.92) saturate(1.05); }

/* Tall cinematic image break */
.img-break-tall { max-height: 520px; }
.img-break-tall img { height: 520px; object-fit: cover; }

/* Half-width image paired with text */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 380px;
  align-items: stretch;
  margin: 0;
}
.split-feature-reverse { direction: rtl; }
.split-feature-reverse > * { direction: ltr; }

.split-feature-img {
  overflow: hidden;
  position: relative;
}
.split-feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.88);
  transition: filter 1s ease, transform 1.4s ease;
}
.split-feature-img:hover img {
  filter: brightness(0.88) saturate(1.05);
  transform: scale(1.03);
}

.split-feature-text {
  background: #000;
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.05);
}
.split-feature-text h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: #fff; font-weight: 700;
  margin: 0 0 1.4rem;
  letter-spacing: 0.02em;
}
.split-feature-text h3 {
  font-size: clamp(0.75rem, 1vw, 0.88rem);
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
  font-weight: 700;
}
.split-feature-text p {
  color: rgba(216,201,150,0.8);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.78;
  margin: 0 0 1rem;
}
.split-feature-text p:last-child { margin: 0; }
.split-feature-text ul {
  list-style: none; padding: 0; margin: 1rem 0 0;
}
.split-feature-text li {
  color: rgba(216,201,150,0.78);
  font-size: clamp(0.95rem,1.2vw,1.05rem);
  line-height: 1.7;
  padding-left: 1.1rem;
  position: relative;
}
.split-feature-text li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--accent); font-size: 0.7rem; top: 0.3em;
}

/* ── SCREENSHOT SHOWCASE ── */
/* App screenshot with caption, dark framed */
.screenshot-block {
  margin: 0;
  background: #000;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.screenshot-block .screen-caption {
  text-align: center;
  max-width: 520px;
}
.screenshot-block .screen-caption h3 {
  font-size: clamp(0.75rem,1vw,0.88rem);
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.5rem; font-weight: 700;
}
.screenshot-block .screen-caption p {
  color: rgba(216,201,150,0.72);
  font-size: 1rem; line-height: 1.65; margin: 0;
}
.screenshot-frame {
  width: min(88vw, 1100px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,134,49,0.06);
  overflow: hidden;
  transition: box-shadow 0.6s ease, transform 0.6s ease;
}
.screenshot-frame:hover {
  box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 0 1px rgba(212,134,49,0.16);
  transform: translateY(-4px);
}
.screenshot-frame img {
  width: 100%; height: auto; display: block;
  filter: brightness(0.92);
  transition: filter 0.6s ease;
}
.screenshot-frame:hover img { filter: brightness(1); }

/* ── TARGETED SCREENSHOT SIZING ── */
.screenshot-block-monitor {
  display: grid;
  grid-template-columns: minmax(420px, 640px) minmax(320px, 520px);
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  padding: 4.5rem 2.5rem;
}

.screenshot-block-monitor .screen-caption {
  order: 1;
  text-align: left;
  max-width: 640px;
}

.screenshot-block-monitor .screen-caption h3 {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  letter-spacing: 0.24em;
  margin: 0 0 0.9rem;
}

.screenshot-block-monitor .screen-caption p {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.72;
  color: rgba(216,201,150,0.88);
  margin: 0 0 1rem;
}

.screenshot-block-monitor .screen-caption p:last-child {
  margin-bottom: 0;
}

.monitor-video-frame {
  order: 2;
  width: min(34vw, 480px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,134,49,0.08);
  overflow: hidden;
  background: #030407;
}

.monitor-video {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0.96);
}

@media (max-width: 900px) {
  .screenshot-block-monitor {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
    padding: 3rem 1.25rem;
  }

  .screenshot-block-monitor .screen-caption {
    text-align: center;
    max-width: 700px;
  }

  .screenshot-block-monitor .screen-caption p {
    font-size: clamp(1rem, 3.4vw, 1.2rem);
  }

  .monitor-video-frame {
    width: min(82vw, 420px);
  }
}
.screenshot-frame-editor,
.screenshot-frame-diagnostics,
.screenshot-frame-history {
  width: min(58vw, 640px);
}
.screenshot-frame-patterns {
  width: min(66vw, 760px);
}

/* ── SUBTLE DRIFT / MOTION ── */
/* ── SUBTLE DRIFT / MOTION ── */
@keyframes screenshotFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

@keyframes mediaDrift {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.035) translate3d(0, -10px, 0); }
}

@keyframes ambientDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-12px, -8px, 0); }
}

.screenshot-frame {
  animation: screenshotFloat 8.5s ease-in-out infinite alternate;
}

.img-break img,
.split-feature-img img {
  animation: mediaDrift 16s ease-in-out infinite alternate;
  will-change: transform;
}

.ambient-section .ambient-bg {
  animation: ambientDrift 22s ease-in-out infinite alternate;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .screenshot-frame,
  .img-break img,
  .split-feature-img img,
  .ambient-section .ambient-bg {
    animation: none;
  }
}

/* ── STAT / PULL QUOTE BAND ── */
.pull-band {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 5rem 3.5rem;
  text-align: center;
}
.pull-band p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  line-height: 1.35;
  max-width: 820px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}
.pull-band p span { color: var(--accent); font-style: italic; }
.pull-band p em { color: var(--accent-blue); font-style: normal; }

/* ── AMBIENT IMAGE WITH OVERLAY TEXT ── */
.ambient-section {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.ambient-section .ambient-bg {
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: brightness(0.28) saturate(0.7);
  transition: filter 1.2s ease;
}
.ambient-section:hover .ambient-bg { filter: brightness(0.38) saturate(0.85); }
.ambient-section .ambient-content {
  position: relative; z-index: 2;
  padding: 4rem 3.5rem;
  max-width: 680px;
}
.ambient-section .ambient-content h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: #fff; font-weight: 400;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.06em;
  margin: 0 0 1.2rem;
}
.ambient-section .ambient-content p {
  font-size: clamp(1rem,1.35vw,1.15rem);
  color: rgba(216,201,150,0.85);
  line-height: 1.75; margin: 0 0 1rem;
}

/* ── DARK SPACER ── */
.dark-spacer {
  background: #000;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── FEATURE GRID (3-up or 2-up) ── */
.feature-grid {
  background: #000;
  padding: 5rem 3.5rem;
  display: grid;
  gap: 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.feature-grid-2 { grid-template-columns: 1fr 1fr; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }

.feature-item { }
.feature-item h3 {
  font-size: clamp(0.72rem,0.95vw,0.85rem);
  color: var(--accent);
  letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; margin: 0 0 0.7rem;
}
.feature-item h2 {
  font-size: clamp(1.2rem,1.8vw,1.55rem);
  color: #fff; font-weight: 700; margin: 0 0 1rem;
}
.feature-item p {
  font-size: clamp(0.95rem,1.2vw,1.05rem);
  color: rgba(216,201,150,0.78);
  line-height: 1.75; margin: 0;
}

/* ── OVERRIDE: wider breathing room on content cards ── */
.content-card-3 {
  padding: 2.5rem 2rem 2.8rem;
}
.content-card-3 p { margin-bottom: 1rem; }
.content-card-3 p:last-child { margin-bottom: 0; }

/* ── PAGE HERO override for editorial pages ── */
.page-hero-editorial {
  min-height: 420px;
  padding: 4rem 3rem;
}
.page-hero-editorial .page-hero-content-3 { max-width: 820px; }
.page-hero-editorial .page-title-3 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 1.2rem;
}
.page-hero-editorial .page-summary-3 {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.8;
  max-width: 70ch;
  margin-top: 1.2rem;
}

/* ── FULL-BLEED SECTION (bypasses page-main padding) ── */
.full-bleed {
  margin-left: calc(-1.4rem - ((100vw - var(--max)) / 2));
  margin-right: calc(-1.4rem - ((100vw - var(--max)) / 2));
}
@media (max-width: 1400px) {
  .full-bleed { margin-left: -1.4rem; margin-right: -1.4rem; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .split-feature { grid-template-columns: 1fr; }
  .split-feature-reverse { direction: ltr; }
  .split-feature-img { min-height: 280px; }
  .feature-grid-2, .feature-grid-3 { grid-template-columns: 1fr; gap: 2rem; }
  .pull-band { padding: 3.5rem 1.5rem; }
  .screenshot-block { padding: 3rem 1rem; }
  .ambient-section { min-height: 340px; }
  .ambient-section .ambient-content { padding: 2.5rem 1.5rem; }
}
@media (max-width: 640px) {
  .screenshot-frame { width: 100vw; border-left: none; border-right: none; }
  .split-feature-text { padding: 2.5rem 1.2rem; }
  .feature-grid { padding: 3rem 1.2rem; }
}

/* ── EDITORIAL HERO BACKGROUNDS ── */
.page-hero-editorial {
  min-height: 420px;
  padding: 4rem 3rem;
}
.page-hero-editorial .page-hero-content-3 { max-width: 820px; }
.page-hero-editorial .page-title-3 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 1.2rem;
}
.page-hero-editorial .page-summary-3 {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.8; max-width: 70ch; margin-top: 1.2rem;
}
.coding-hero::before     { background-image: url("assets/sinstrumentation.png"); opacity: 0.12; }
.automation-hero::before { background-image: url("assets/sewing-machine.png");  opacity: 0.14; }
.systems-hero::before    { background-image: url("assets/cables.png");          opacity: 0.1;  }

/* page-main only used for pricing/faq/closing cards, not full-bleed sections */
.page-main-3 { padding-top: 0; padding-bottom: 4rem; }