/* LIGHTMGROUP public design system.
   Burgundy leads. Forest supports technical bands and the footer.
   Orange is a small accent, never small text on white.
   Scoped to body.ent so account and admin keep their own rules. */

body.ent {
  --brand-primary: #86021B;
  --brand-primary-dark: #6D0115;
  --brand-secondary: #0E522B;
  --brand-secondary-dark: #07391D;
  --brand-accent: #FB9A0B;
  --surface-primary: #FEFEFE;
  --surface-secondary: #F5F7F5;
  --surface-green-soft: #EDF4EF;
  --text-primary: #17251D;
  --text-secondary: #455249;
  --border-subtle: #E2E8E3;
  --on-primary: #FFFFFF;
  --on-secondary: #FFFFFF;
  --on-accent: #17251D;
  --status-error: #B42318;
  --status-error-bg: #FEF3F2;
  --status-success: #067647;
  --status-success-bg: #ECFDF3;
  --status-warning: #92400E;
  --status-warning-bg: #FFFBEB;
  --ink: var(--text-primary);
  --muted: var(--text-secondary);
  --paper: var(--surface-primary);
  --canvas: var(--surface-secondary);
  --soft: var(--surface-green-soft);
  --line: var(--border-subtle);
  --forest: var(--brand-secondary);
  --forest-deep: var(--brand-secondary-dark);
  --burgundy: var(--brand-primary);
  --burgundy-deep: var(--brand-primary-dark);
  --gold: var(--brand-accent);
  --footer: var(--brand-secondary);
  --radius: 16px;
  --shadow: 0 18px 40px rgba(16, 24, 20, .08);
  --space: clamp(56px, 8vw, 104px);
  --content: 72ch;
  --font: Inter, "SF Pro Display", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --display: "Iowan Old Style", Palatino, Georgia, serif;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}

body.ent * { box-sizing: border-box; }
body.ent img { max-width: 100%; height: auto; }
body.ent a { color: inherit; }
body.ent h1, body.ent h2, body.ent h3, body.ent .display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.08;
}
body.ent h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
body.ent h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
body.ent h3 { font-size: 1.35rem; letter-spacing: -.02em; }
body.ent p { max-width: var(--content); }
body.ent .wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
body.ent .kicker, body.ent .eyebrow {
  margin: 0 0 12px;
  color: var(--brand-primary);
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
body.ent .lede { color: var(--muted); font-size: 1.125rem; }

.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: #fff;
  color: #14201a;
}
.skip-link:focus { transform: none; }

/* Navigation */
body.ent .global-nav {
  position: sticky;
  top: 0;
  left: auto;
  width: 100%;
  transform: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: none;
  backdrop-filter: blur(16px);
}
body.ent .global-nav.is-scrolled { background: #fff; box-shadow: 0 8px 24px rgba(16, 24, 20, .06); }
body.ent .global-nav .wrap { width: min(1180px, calc(100% - 40px)); }
body.ent .nav-inner { height: 72px; gap: 18px; }
body.ent .brand img { filter: none !important; height: 48px !important; width: auto; max-width: 220px; }
body.ent .desktop-nav { gap: 16px; color: var(--ink); font-size: 14px; font-weight: 600; }
body.ent .nav-drop { height: 72px; }
body.ent .nav-drop > button { color: inherit; font-size: 14px; font-weight: 600; }
body.ent .nav-drop > button:after { color: var(--muted); }
body.ent .desktop-nav a:hover, body.ent .nav-drop > button:hover { color: var(--brand-primary); }
body.ent .nav-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--on-primary);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  vertical-align: 1px;
}
body.ent .dropdown {
  top: 72px;
  padding: 28px 0 32px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}
body.ent .drop-inner { grid-template-columns: repeat(3, 1fr); gap: 32px; }
body.ent .drop-list a { font-size: 15px; font-weight: 550; }
body.ent .drop-list a:hover { color: var(--brand-primary); }
body.ent .nav-build {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--brand-primary) !important;
  color: var(--on-primary) !important;
}
body.ent .nav-build:hover { background: var(--brand-primary-dark) !important; }
body.ent .menu-button {
  display: none;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
}

@media (max-width: 1180px) {
  body.ent .desktop-nav { display: none !important; }
  body.ent .menu-button { display: inline-grid; }
  body.ent .mobile-nav { display: none !important; position: absolute; left: 0; right: 0; }
  body.ent .mobile-nav.open {
    display: block !important;
    max-height: calc(100vh - 72px);
    overflow: auto;
    padding: 8px 20px 28px;
    background: #fff;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  body.ent .mobile-nav a, body.ent .mobile-nav summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    font-weight: 650;
  }
  body.ent .mobile-nav a:after, body.ent .mobile-nav summary:after { content: none; }
  body.ent .mobile-drop-links { display: grid; padding: 4px 0 12px 12px; }
  body.ent .mobile-drop-links a { font-weight: 500; color: var(--muted); }
  body.ent .mobile-estimate-cta {
    margin-top: 16px;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--brand-primary);
    color: var(--on-primary);
  }
}

/* Hero and sections */
body.ent .hero { padding: clamp(54px, 7vw, 88px) 0 clamp(72px, 8vw, 108px); }
body.ent.home-page .hero h1 {
  max-width: 10.8ch;
  color: #fff !important;
  font-family: var(--font);
  font-size: clamp(3.5rem, 6.7vw, 6.9rem);
  font-weight: 760;
  letter-spacing: -.055em;
  line-height: .91;
}
body.ent.home-page .hero .lede {
  max-width: 660px;
  color: rgba(254, 254, 254, .78) !important;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.72;
}
body.ent.home-page .hero .kicker {
  color: var(--brand-accent) !important;
}
body.ent .hero-grid, body.ent .split, body.ent .evidence-grid, body.ent .final-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
body.ent .actions, body.ent .hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
body.ent .button, body.ent .pill {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
}
body.ent.home-page .hero .button {
  min-height: 54px;
  padding-inline: 24px;
}
body.ent .button-primary, body.ent a.pill { background: var(--brand-primary); color: var(--on-primary); }
body.ent .button-primary:hover, body.ent a.pill:hover { background: var(--brand-primary-dark); }
body.ent .button-secondary, body.ent a.pill.secondary {
  background: transparent;
  border-color: var(--brand-secondary);
  color: var(--brand-secondary);
}
body.ent .button-secondary:hover, body.ent a.pill.secondary:hover {
  background: var(--surface-green-soft);
  color: var(--brand-secondary-dark);
}
body.ent .text-link { color: var(--brand-primary); font-weight: 700; }
body.ent :focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}
body.ent .hero-visual {
  min-height: 320px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.72)),
    #dfe8e1;
  box-shadow: var(--shadow);
}
body.ent .hero-visual img { display: block; width: 100%; border-radius: 16px; background: #fff; }
body.ent .hero-caption { margin: 12px 0 0; color: var(--muted); font-size: .92rem; }

body.ent .section { padding: var(--space) 0; }
body.ent .section.soft { background: var(--soft); }
body.ent .section.paper { background: var(--paper); }
body.ent .section-head { margin-bottom: 32px; }
body.ent .section-head p { color: var(--muted); }

@keyframes lmgLogoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 28px)); }
}

body.ent .logo-marquee {
  position: relative;
  display: flex;
  gap: 28px;
  overflow: hidden;
  padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

body.ent .logo-row {
  display: flex;
  flex: 0 0 max-content;
  align-items: center;
  gap: 22px 28px;
  animation: lmgLogoMarquee 24s linear infinite;
}

body.ent .logo-marquee:hover .logo-row,
body.ent .logo-marquee:focus-within .logo-row {
  animation-play-state: paused;
}

body.ent .logo-row a, body.ent .logo-row span {
  display: grid;
  min-height: 64px;
  place-items: center;
  padding: 8px 10px;
}
body.ent .logo-row img { height: 42px; width: auto; max-width: 148px; object-fit: contain; }
body.ent .note { color: var(--muted); font-size: .95rem; }

body.ent .card-grid, body.ent .work-grid, body.ent .product-grid, body.ent .process, body.ent .insight-grid {
  display: grid;
  gap: 18px;
}
body.ent .card-grid { grid-template-columns: repeat(3, 1fr); }
body.ent .card, body.ent .work-card, body.ent .product-card, body.ent .process article, body.ent .insight-card, body.ent .faq {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
body.ent .card span, body.ent .work-card span, body.ent .product-card span, body.ent .process span {
  display: block;
  margin-bottom: 8px;
  color: var(--forest);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.ent .card p, body.ent .work-card p, body.ent .product-card p, body.ent .process p { color: var(--muted); }

body.ent .showcases { display: grid; gap: 28px; }
body.ent .showcase {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}
body.ent .showcase:nth-child(even) { grid-template-columns: .85fr 1.15fr; }
body.ent .showcase:nth-child(even) .shot { order: 2; }
body.ent .shot {
  overflow: hidden;
  border-radius: 16px;
  background: #e7eee8;
  aspect-ratio: 16 / 10;
}
body.ent .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
body.ent .branded-project-cover {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  height: 100%;
  min-height: 180px;
  padding: 22px;
  background: var(--brand-primary);
  border-top: 3px solid var(--brand-accent);
  color: var(--on-primary);
}
body.ent .shot .branded-project-cover { min-height: 100%; border-radius: inherit; }
body.ent .branded-project-cover span,
body.ent .work-card .branded-project-cover span {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body.ent .branded-project-cover strong {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 650;
}
body.ent .branded-project-cover small { color: rgba(246, 244, 238, .78); }
body.ent .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; padding: 0; }
body.ent .meta li {
  list-style: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: .85rem;
}

body.ent .stack { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 20px 0 0; }
body.ent .stack li {
  list-style: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .92rem;
}
body.ent .principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
body.ent .process { grid-template-columns: repeat(4, 1fr); }
body.ent .product-grid, body.ent .insight-grid, body.ent .work-grid { grid-template-columns: repeat(3, 1fr); }
body.ent .filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 28px; }
body.ent .filters a, body.ent .filters span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .92rem;
  text-decoration: none;
}
body.ent .filters a[aria-current="true"] { background: var(--brand-primary); color: var(--on-primary); border-color: var(--brand-primary); }

body.ent .page-hero { padding: clamp(42px, 7vw, 88px) 0 28px; }
body.ent .breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: .92rem; }
body.ent .breadcrumbs a { color: var(--brand-primary); }
body.ent .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 22px 0 0; }
body.ent .facts div { padding-top: 10px; border-top: 1px solid var(--line); }
body.ent .facts dt { color: var(--muted); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
body.ent .facts dd { margin: 4px 0 0; }

body.ent .final-cta { padding: var(--space) 0; background: var(--footer); color: #f4f7f5; }
body.ent .final-cta .kicker { color: #f4f7f5; }
body.ent .final-cta p { color: #d7e3dc; }
body.ent .final-cta .button-primary { background: #fff; color: var(--brand-primary); }
body.ent .final-cta .button-secondary { border-color: rgba(255,255,255,.4); color: #fff; }

body.ent .global-footer { margin-top: 0; padding: 56px 0 28px; background: var(--footer); color: #e7eeea; }
body.ent .footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; }
body.ent .global-footer a { color: #e7eeea; text-decoration: none; }
body.ent .global-footer a:hover { text-decoration: underline; }
body.ent .global-footer h2 { font-family: var(--font); font-size: 1rem; letter-spacing: 0; }
body.ent .global-footer ul { padding: 0; margin: 12px 0 0; }
body.ent .global-footer li { list-style: none; margin: 8px 0; }
body.ent .footer-base { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); color: #b7c2bb; font-size: .9rem; }

body.ent .form-grid { display: grid; gap: 16px; }
body.ent label { display: grid; gap: 6px; font-weight: 650; }
body.ent input, body.ent select, body.ent textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
body.ent textarea { min-height: 140px; resize: vertical; }
body.ent .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body.ent .error, body.ent .form-errors { color: var(--status-error); }
body.ent .form-errors { padding: 12px 14px; border-radius: 12px; background: var(--status-error-bg); }
body.ent .success { padding: 22px; border-radius: 16px; background: var(--status-success-bg); color: var(--status-success); }
body.ent input:focus-visible,
body.ent select:focus-visible,
body.ent textarea:focus-visible {
  border-color: var(--brand-primary);
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}
body.ent button:disabled,
body.ent input:disabled,
body.ent select:disabled,
body.ent textarea:disabled {
  background: #E6E9E6;
  color: #5C665F;
  border-color: #D5DBD6;
  cursor: not-allowed;
}
body.ent .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
body.ent .draft-banner { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: #fff6df; color: #5c3b00; }
body.ent .status-quiet { color: var(--muted); }

body.ent .article-body { width: min(72ch, 100%); }
body.ent .article-body p { margin: 0 0 1rem; }
body.ent .article-cover {
  margin-top: 36px;
}
body.ent .article-cover img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}
body.ent .article-cta {
  text-align: center;
}
body.ent .article-cta p {
  margin-inline: auto;
  color: rgba(254, 254, 254, .72) !important;
}

@media (max-width: 1024px) {
  body.ent .card-grid, body.ent .process, body.ent .work-grid, body.ent .product-grid { grid-template-columns: 1fr 1fr; }
  body.ent .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  body.ent .hero-grid, body.ent .split, body.ent .evidence-grid, body.ent .showcase, body.ent .showcase:nth-child(even) { grid-template-columns: 1fr; }
  body.ent .showcase:nth-child(even) .shot { order: 0; }
  body.ent .card-grid, body.ent .process, body.ent .work-grid, body.ent .product-grid, body.ent .insight-grid, body.ent .principles, body.ent .form-row, body.ent .facts { grid-template-columns: 1fr; }
  body.ent .footer-grid, body.ent .footer-base { grid-template-columns: 1fr; display: grid; }
  body.ent h1 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  body.ent .logo-row { animation-duration: 18s; }
}
@media (max-width: 390px) {
  body.ent .wrap { width: min(1180px, calc(100% - 28px)); }
  body.ent .actions, body.ent .hero-links { align-items: stretch; }
  body.ent .actions .button, body.ent .hero-links .button, body.ent .hero-links .pill { width: 100%; }
}

/* Contrast lock. Later shell rules use !important, so these do too.
   Light surfaces keep ink text. Dark surfaces keep light text. */
body.ent {
  background: var(--canvas) !important;
  color: var(--ink) !important;
}
body.ent main { background: var(--canvas) !important; }
body.ent main > .section { background: var(--canvas) !important; color: var(--ink) !important; }
body.ent .breadcrumbs {
  padding-top: 22px !important;
  background: transparent !important;
  color: var(--muted) !important;
}
body.ent .breadcrumbs a { color: var(--forest) !important; }
body.ent main > .section.soft { background: var(--soft) !important; }
body.ent main > .section.paper { background: #fff !important; }
body.ent .card,
body.ent .work-card,
body.ent .product-card,
body.ent .process article,
body.ent .insight-card,
body.ent .faq,
body.ent .config-panel {
  background: #fff !important;
  color: var(--ink) !important;
}
body.ent .facts dd { color: var(--ink) !important; }
body.ent .global-nav .mobile-nav,
body.ent .global-nav .mobile-nav.open,
body.ent .menu-button {
  background: #fff !important;
  color: var(--ink) !important;
}
body.ent .global-nav .mobile-nav a,
body.ent .global-nav .mobile-nav summary,
body.ent .global-nav .menu-button { color: var(--ink) !important; }
body.ent .global-nav .mobile-nav .mobile-drop-links a { color: var(--muted) !important; }
body.ent .global-nav .mobile-nav a.mobile-estimate-cta {
  background: var(--forest) !important;
  color: #fff !important;
}
body.ent .progress,
body.ent .calculator > .progress { background: #fff !important; color: var(--ink) !important; }
body.ent .progress button { color: var(--muted) !important; }
body.ent .progress button.active { color: var(--brand-primary) !important; border-color: var(--brand-primary) !important; }
body.ent .progress button.done { color: var(--brand-secondary) !important; }
body.ent .config-panel h2,
body.ent .config-panel h3,
body.ent .config-panel p,
body.ent .config-panel label,
body.ent .config-panel .step-label { color: var(--ink) !important; }
body.ent .dropdown {
  background: #fff !important;
  color: var(--ink) !important;
}
body.ent .desktop-nav,
body.ent .desktop-nav a,
body.ent .nav-drop > button,
body.ent .drop-list a,
body.ent .mobile-nav,
body.ent .mobile-nav a,
body.ent .mobile-nav summary {
  color: var(--ink) !important;
}
body.ent .drop-inner small,
body.ent .mobile-drop-links a { color: var(--muted) !important; }
body.ent .desktop-nav a:hover,
body.ent .nav-drop > button:hover,
body.ent .drop-list a:hover,
body.ent .text-link,
body.ent .breadcrumbs a { color: var(--brand-primary) !important; }
body.ent .desktop-nav a.nav-build,
body.ent .mobile-nav a.mobile-estimate-cta,
body.ent .nav-badge {
  background: var(--brand-primary) !important;
  color: var(--on-primary) !important;
}
body.ent .nav-badge { background: var(--brand-primary) !important; }

body.ent .section h2,
body.ent .section h3,
body.ent .card h3,
body.ent .work-card h3,
body.ent .work-card h3 a,
body.ent .product-card h3,
body.ent .insight-card h3,
body.ent .insight-card h3 a,
body.ent .process h3,
body.ent .faq summary,
body.ent .article-body,
body.ent .article-body p {
  color: var(--ink) !important;
}
body.ent .kicker,
body.ent .eyebrow { color: var(--brand-primary) !important; }
body.ent .step-label { color: var(--brand-secondary) !important; }
body.ent .section-head p,
body.ent .card p,
body.ent .work-card p,
body.ent .product-card p,
body.ent .process p,
body.ent .insight-card p,
body.ent .principles p,
body.ent .note,
body.ent .hero-caption,
body.ent .facts dt { color: var(--muted) !important; }
body.ent .filters a { color: var(--ink) !important; background: #fff !important; }
body.ent .filters a[aria-current="true"] {
  background: var(--brand-primary) !important;
  color: var(--on-primary) !important;
}
body.ent input,
body.ent select,
body.ent textarea { color: var(--ink) !important; background: #fff !important; }
body.ent .project-links a {
  border-color: rgba(20, 32, 26, .18) !important;
  color: var(--ink) !important;
  background: #fff !important;
}
body.ent .project-links a:hover { color: var(--brand-primary) !important; border-color: var(--brand-primary) !important; }

body.ent .hero-visual,
body.ent .hero-visual .hero-caption { color: var(--muted) !important; }

/* Scroll motion. Heroes stay visible. Other sections rise in as they enter.
   Without JavaScript, and when motion is reduced, nothing starts hidden. */
html { scroll-padding-top: 88px; }
body.ent .scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 600;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--brand-primary);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  html.js body.ent main > section:not(.is-inview):not(.hero):not(.page-hero):not(.price-hero),
  html.js body.ent .global-footer:not(.is-inview) {
    opacity: 0;
    transform: translateY(36px);
  }
  html.js body.ent main > section,
  html.js body.ent .global-footer {
    transition: opacity .85s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1);
  }
  html.js body.ent main > section.is-inview,
  html.js body.ent .global-footer.is-inview {
    opacity: 1;
    transform: none;
  }
  html.js body.ent .is-inview .card-grid > *,
  html.js body.ent .is-inview .work-grid > *,
  html.js body.ent .is-inview .product-grid > *,
  html.js body.ent .is-inview .process > *,
  html.js body.ent .is-inview .insight-grid > *,
  html.js body.ent .is-inview .principles > *,
  html.js body.ent .is-inview .showcases > *,
  html.js body.ent .is-inview .tile-grid > * {
    animation: ent-rise .8s cubic-bezier(.16, 1, .3, 1) both;
  }
  html.js body.ent .is-inview .card-grid > *:nth-child(2),
  html.js body.ent .is-inview .work-grid > *:nth-child(2),
  html.js body.ent .is-inview .product-grid > *:nth-child(2),
  html.js body.ent .is-inview .process > *:nth-child(2),
  html.js body.ent .is-inview .principles > *:nth-child(2),
  html.js body.ent .is-inview .showcases > *:nth-child(2),
  html.js body.ent .is-inview .tile-grid > *:nth-child(2) { animation-delay: .08s; }
  html.js body.ent .is-inview .card-grid > *:nth-child(3),
  html.js body.ent .is-inview .work-grid > *:nth-child(3),
  html.js body.ent .is-inview .product-grid > *:nth-child(3),
  html.js body.ent .is-inview .process > *:nth-child(3),
  html.js body.ent .is-inview .principles > *:nth-child(3),
  html.js body.ent .is-inview .showcases > *:nth-child(3),
  html.js body.ent .is-inview .tile-grid > *:nth-child(3) { animation-delay: .16s; }
  html.js body.ent .is-inview .card-grid > *:nth-child(4),
  html.js body.ent .is-inview .process > *:nth-child(4),
  html.js body.ent .is-inview .principles > *:nth-child(4),
  html.js body.ent .is-inview .tile-grid > *:nth-child(4) { animation-delay: .24s; }
  html.js body.ent .is-inview .process > *:nth-child(n + 5),
  html.js body.ent .is-inview .card-grid > *:nth-child(n + 5),
  html.js body.ent .is-inview .tile-grid > *:nth-child(n + 5) { animation-delay: .32s; }
  html.js body.ent .hero-visual {
    transition: transform .45s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
  }
}
@keyframes ent-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* Surface contract. Beats the older liquid sheets on equal !important. */
body.ent:not(.home-page) .section-intro,
body.ent .section .tile,
body.ent .section .tile h3,
body.ent .section .tile li,
body.ent .related-work a,
body.ent .case-copy,
body.ent .case-result,
body.ent .case-screen figcaption,
body.ent .article-body,
body.ent .article-body p,
body.ent .article-body li,
body.ent .article-body h2,
body.ent .article-body h3,
body.ent .case-stack li {
  color: var(--ink) !important;
}
body.ent .case-story-card,
body.ent .case-story-card h2,
body.ent .case-story-card p {
  color: var(--ink) !important;
}
body.ent .case-story-card {
  background: #fff !important;
  border: 1px solid var(--line) !important;
}
body.ent .case-story-card p {
  color: var(--muted) !important;
}
body.ent .case-story-card span {
  color: var(--brand-primary) !important;
}
body.ent:not(.home-page) .section-intro,
body.ent .section .tile p,
body.ent .section .tile ul,
body.ent .case-copy p,
body.ent .case-result p,
body.ent .case-screen figcaption {
  color: var(--muted) !important;
}
body.ent .section .tile {
  background: #fff !important;
  border-color: var(--line) !important;
}
body.ent .section .tile .number { color: var(--brand-secondary) !important; }
body.ent .section .eyebrow,
body.ent .section .kicker { color: var(--brand-primary) !important; }
body.ent .related-work a {
  background: var(--surface-primary) !important;
  border-color: var(--border-subtle) !important;
  color: var(--text-primary) !important;
}
body.ent .related-work a:hover { color: var(--brand-primary) !important; border-color: var(--brand-primary) !important; }

body.ent .button-primary,
body.ent a.pill:not(.secondary),
body.ent .nav-build,
body.ent .mobile-estimate-cta,
body.ent .filters a[aria-current="true"] {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: var(--on-primary) !important;
}
body.ent .button-primary:hover,
body.ent a.pill:not(.secondary):hover,
body.ent .nav-build:hover,
body.ent .mobile-estimate-cta:hover {
  background: var(--brand-primary-dark) !important;
  border-color: var(--brand-primary-dark) !important;
  color: var(--on-primary) !important;
}
body.ent .button-secondary,
body.ent a.pill.secondary {
  background: transparent !important;
  border-color: var(--brand-secondary) !important;
  color: var(--brand-secondary) !important;
}
body.ent .button-secondary:hover,
body.ent a.pill.secondary:hover {
  background: var(--surface-green-soft) !important;
  color: var(--brand-secondary-dark) !important;
}
body.ent button:disabled,
body.ent input:disabled,
body.ent select:disabled,
body.ent textarea:disabled {
  background: #E6E9E6 !important;
  color: #5C665F !important;
  border-color: #D5DBD6 !important;
}
body.ent .error,
body.ent .form-errors { color: var(--status-error) !important; }
body.ent .form-errors { background: var(--status-error-bg) !important; }
body.ent .success,
body.ent .success h2,
body.ent .success p { color: var(--status-success) !important; background: transparent; }
body.ent .success { background: var(--status-success-bg) !important; }
body.ent .draft-banner { background: var(--status-warning-bg) !important; }
body.ent .draft-banner,
body.ent .draft-banner p { color: var(--status-warning) !important; }

body.ent:has(.calculator) .progress,
body.ent:has(.calculator) .progress button {
  background: var(--surface-primary) !important;
  color: var(--text-secondary) !important;
}
body.ent:has(.calculator) .progress button.active {
  background: transparent !important;
  color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}
body.ent:has(.calculator) .progress button.done {
  background: transparent !important;
  color: var(--brand-secondary) !important;
}
body.ent .segmented button.selected,
body.ent .config-panel .step-label {
  color: var(--brand-secondary) !important;
}
body.ent .segmented button.selected {
  background: var(--brand-primary) !important;
  color: var(--on-primary) !important;
}

body.ent.home-page .hero,
body.ent:not(.home-page) .page-hero,
body.ent:has(.calculator) .price-hero {
  min-height: 0 !important;
  background-color: var(--surface-primary) !important;
  background-image: none !important;
  color: var(--text-primary) !important;
}
body.ent .page-hero:before,
body.ent .page-hero:after,
body.ent .price-hero:before,
body.ent .price-hero:after,
body.ent.home-page .hero:before,
body.ent.home-page .hero:after {
  display: none !important;
  background: none !important;
  content: none !important;
}
body.ent:not(.home-page) .page-hero {
  display: block !important;
  padding: clamp(48px, 7vw, 92px) 0 40px !important;
}
body.ent:has(.calculator) .price-hero {
  padding: clamp(36px, 5vw, 72px) 0 48px !important;
}
body.ent.home-page .hero h1,
body.ent.home-page .hero h1 span,
body.ent:not(.home-page) .page-hero h1,
body.ent:has(.calculator) .price-hero h1 {
  color: var(--text-primary) !important;
  font-size: clamp(2.5rem, 5.2vw, 4.4rem) !important;
  line-height: 1.05 !important;
}
body.ent.home-page .hero p,
body.ent.home-page .hero .lede,
body.ent:not(.home-page) .page-hero p,
body.ent:not(.home-page) .page-hero .lede,
body.ent:not(.home-page) .page-hero .note,
body.ent:not(.home-page) .page-hero small,
body.ent:has(.calculator) .price-hero p,
body.ent:has(.calculator) .price-hero-proof {
  color: var(--text-secondary) !important;
}
body.ent.home-page .hero .kicker,
body.ent:not(.home-page) .page-hero .kicker,
body.ent:not(.home-page) .page-hero .eyebrow,
body.ent:has(.calculator) .price-hero .kicker {
  color: var(--brand-primary) !important;
}
body.ent.home-page .hero .kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  margin-right: 10px;
  border-radius: 99px;
  background: var(--brand-accent);
  vertical-align: middle;
}
body.ent .page-hero .facts dt { color: var(--text-secondary) !important; }
body.ent .page-hero .facts dd,
body.ent .page-hero .facts a { color: var(--text-primary) !important; }
body.ent.home-page .hero .text-link,
body.ent .page-hero .text-link { color: var(--brand-primary) !important; }
body.ent .hero-visual,
body.ent .hero-visual .hero-caption { color: var(--text-secondary) !important; }

body.ent:has(.calculator) .price-hero .hero-cta {
  background: var(--brand-primary) !important;
  color: var(--on-primary) !important;
}
body.ent:has(.calculator) .price-hero .hero-secondary {
  background: transparent !important;
  border-color: var(--brand-secondary) !important;
  color: var(--brand-secondary) !important;
}
body.ent:has(.calculator) .price-hero aside {
  background: var(--brand-secondary) !important;
  border-color: transparent !important;
  color: var(--on-secondary) !important;
}
body.ent:has(.calculator) .price-hero aside,
body.ent:has(.calculator) .price-hero aside strong,
body.ent:has(.calculator) .price-hero aside li,
body.ent:has(.calculator) .price-hero aside span {
  color: var(--on-secondary) !important;
}
body.ent .price-hero-proof { border-color: var(--border-subtle) !important; }
body.ent .price-hero-proof span:before { background: var(--brand-accent) !important; }

body.ent .final-cta,
body.ent .global-footer,
body.ent main > .section.dark,
body.ent .estimate-panel,
body.ent .mobile-estimate {
  background: var(--brand-secondary) !important;
  background-image: none !important;
  color: #F4F7F5 !important;
}
body.ent .final-cta h2,
body.ent .final-cta p,
body.ent .global-footer h2,
body.ent .global-footer p,
body.ent .global-footer a,
body.ent .global-footer li,
body.ent .global-footer strong,
body.ent main > .section.dark h2,
body.ent main > .section.dark p,
body.ent main > .section.dark .section-intro,
body.ent .estimate-panel,
body.ent .estimate-panel .estimate-label,
body.ent .estimate-panel p,
body.ent .estimate-panel span,
body.ent .estimate-panel strong,
body.ent .estimate-panel dt,
body.ent .estimate-panel dd,
body.ent .estimate-panel label,
body.ent .estimate-panel b,
body.ent .mobile-estimate,
body.ent .mobile-estimate span,
body.ent .mobile-estimate strong {
  color: #F4F7F5 !important;
}
body.ent .final-cta .kicker,
body.ent main > .section.dark .kicker { color: #F4F7F5 !important; }
body.ent .final-cta .kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  margin-right: 10px;
  border-radius: 99px;
  background: var(--brand-accent);
  vertical-align: middle;
}
body.ent .final-cta .button-primary,
body.ent main > .section.dark a.pill {
  background: var(--surface-primary) !important;
  color: var(--brand-primary) !important;
}
body.ent .final-cta .button-secondary {
  background: transparent !important;
  border-color: rgba(255, 255, 255, .7) !important;
  color: #fff !important;
}
body.ent .global-footer a:hover { color: #fff !important; }
body.ent .footer-base,
body.ent .footer-base span { color: rgba(244, 247, 245, .78) !important; }
body.ent .estimate-panel select,
body.ent .estimate-panel option {
  color: var(--text-primary) !important;
  background: var(--surface-primary) !important;
}
body.ent .branded-project-cover {
  background: var(--brand-primary) !important;
  background-image: none !important;
}
body.ent .branded-project-cover,
body.ent .branded-project-cover strong { color: var(--on-primary) !important; }
body.ent .branded-project-cover span,
body.ent .work-card .branded-project-cover span,
body.ent .shot .branded-project-cover span { color: rgba(255, 255, 255, .82) !important; }
body.ent .branded-project-cover small { color: rgba(255, 255, 255, .78) !important; }
body.ent .global-footer img,
body.ent .brand img { filter: none !important; }

/* Keep the public navigation inside narrow and touch-device viewports. */
@media (max-width: 1180px) {
  html, body.ent { max-width: 100%; overflow-x: clip; }
  body.ent .global-nav { left: 0; right: 0; width: 100%; max-width: 100vw; }
  body.ent .global-nav .nav-inner {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    min-width: 0;
  }
  body.ent .global-nav .brand { min-width: 0; max-width: calc(100% - 60px); }
  body.ent .global-nav .brand img { max-width: min(150px, 100%) !important; }
  body.ent .global-nav .menu-button {
    display: inline-grid !important;
    flex: 0 0 44px;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1002;
  }
  body.ent .global-nav .mobile-nav.open {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: calc(100dvh - 72px) !important;
    max-height: calc(100dvh - 72px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
}

@media (max-width: 600px) {
  body.ent .global-nav .nav-inner {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
  }
  body.ent .global-nav .brand img { height: 32px !important; }
}

/* Final brand color layer: keep the site from flattening into white. */
body.ent .global-nav a,
body.ent .global-nav button,
body.ent .desktop-nav a,
body.ent .desktop-nav button,
body.ent .nav-drop > button,
body.ent .drop-list a,
body.ent .mobile-nav a,
body.ent .mobile-nav summary {
  text-decoration: none !important;
}

body.ent .global-nav a:hover,
body.ent .global-nav button:hover,
body.ent .drop-list a:hover,
body.ent .mobile-nav a:hover,
body.ent .mobile-nav summary:hover {
  text-decoration: none !important;
}

body.ent.home-page .hero,
body.ent:not(.home-page) .page-hero,
body.ent:has(.calculator) .price-hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(251, 154, 11, .20), transparent 30%),
    radial-gradient(circle at 4% 86%, rgba(109, 1, 21, .34), transparent 38%),
    linear-gradient(145deg, #071B10 0%, var(--brand-secondary-dark) 42%, var(--brand-secondary) 100%) !important;
  color: #fff !important;
}

body.ent.home-page .hero h1,
body.ent.home-page .hero h1 span,
body.ent:not(.home-page) .page-hero h1,
body.ent:has(.calculator) .price-hero h1 {
  color: #fff !important;
}

body.ent.home-page .hero p,
body.ent.home-page .hero .lede,
body.ent:not(.home-page) .page-hero p,
body.ent:not(.home-page) .page-hero .lede,
body.ent:not(.home-page) .page-hero .note,
body.ent:not(.home-page) .page-hero small,
body.ent:has(.calculator) .price-hero p,
body.ent:has(.calculator) .price-hero-proof {
  color: rgba(254, 254, 254, .78) !important;
}

body.ent.home-page .hero .kicker,
body.ent:not(.home-page) .page-hero .kicker,
body.ent:not(.home-page) .page-hero .eyebrow,
body.ent:has(.calculator) .price-hero .kicker {
  color: var(--brand-accent) !important;
}

body.ent.home-page .hero .text-link,
body.ent .page-hero .text-link,
body.ent:has(.calculator) .price-hero .hero-secondary {
  color: #fff !important;
}

body.ent:not(.home-page) .page-hero a.pill:not(.secondary),
body.ent.home-page .hero a.pill:not(.ghost),
body.ent:has(.calculator) .price-hero .hero-cta {
  background: var(--brand-primary) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

body.ent:not(.home-page) .page-hero a.pill.secondary,
body.ent.home-page .hero a.pill.ghost,
body.ent.home-page .hero .button-secondary {
  border-color: rgba(254, 254, 254, .62) !important;
  background: rgba(254, 254, 254, .08) !important;
  color: #fff !important;
}

body.ent main > .section:not(.dark):nth-of-type(odd) {
  background:
    radial-gradient(circle at 92% 12%, rgba(251, 154, 11, .10), transparent 26%),
    var(--surface-green-soft) !important;
  color: var(--text-primary) !important;
}

body.ent main > .section:not(.dark):nth-of-type(even) {
  background:
    linear-gradient(180deg, rgba(134, 2, 27, .035), rgba(14, 82, 43, .045)),
    var(--surface-primary) !important;
  color: var(--text-primary) !important;
}

body.ent main > .section.dark,
body.ent .final-cta,
body.ent .cta-card {
  background:
    radial-gradient(circle at 86% 20%, rgba(251, 154, 11, .16), transparent 32%),
    linear-gradient(145deg, var(--brand-primary-dark) 0%, var(--brand-primary) 58%, #4E0210 100%) !important;
  color: #fff !important;
}

body.ent main > .section.dark h2,
body.ent main > .section.dark h3,
body.ent main > .section.dark p,
body.ent main > .section.dark li,
body.ent .final-cta h2,
body.ent .final-cta p,
body.ent .cta-card h2,
body.ent .cta-card p {
  color: #fff !important;
}

body.ent .global-footer {
  background:
    radial-gradient(circle at 82% 8%, rgba(251, 154, 11, .18), transparent 28%),
    linear-gradient(145deg, var(--brand-secondary-dark) 0%, var(--brand-secondary) 72%) !important;
}

body.ent .footer-brand img {
  display: block;
  width: auto;
  height: 44px !important;
  max-width: 180px !important;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(254, 254, 254, .96);
  filter: none !important;
  object-fit: contain;
}

body.ent .footer-brand strong {
  display: block;
  margin-top: 18px;
  color: #fff !important;
}

body.ent .global-footer h2 { color: var(--brand-accent) !important; }

body.ent .global-footer p,
body.ent .global-footer li,
body.ent .global-footer a,
body.ent .footer-base,
body.ent .footer-base span {
  color: rgba(254, 254, 254, .76) !important;
}

@keyframes lmgGradientDrift {
  0% { background-position: 0% 50%, 100% 50%, 0% 50%; }
  50% { background-position: 100% 35%, 0% 65%, 100% 50%; }
  100% { background-position: 0% 50%, 100% 50%, 0% 50%; }
}

@keyframes lmgMapBreathe {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -5px, 0); }
}

body.ent.home-page .hero,
body.ent:not(.home-page) .page-hero,
body.ent:has(.calculator) .price-hero,
body.ent main > .section.dark,
body.ent .final-cta,
body.ent .cta-card,
body.ent .global-footer {
  background-size: 180% 180%, 160% 160%, 220% 220% !important;
  animation: lmgGradientDrift 18s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  body.ent.home-page .hero,
  body.ent:not(.home-page) .page-hero,
  body.ent:has(.calculator) .price-hero,
  body.ent main > .section.dark,
  body.ent .final-cta,
  body.ent .cta-card,
  body.ent .global-footer {
    animation: none !important;
  }
}

body.ent .hero-map-visual {
  width: 100%;
  overflow: visible;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ent.home-page .hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(520px, .98fr);
  gap: clamp(34px, 4vw, 66px);
}

body.ent .hero-map-shell {
  position: relative;
  min-height: clamp(520px, 47vw, 640px);
  display: grid;
  place-items: center;
  padding: 18px 0;
  isolation: isolate;
}

body.ent .hero-map-shell::before {
  content: "";
  position: absolute;
  inset: 4% 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(251, 154, 11, .16), transparent 12%),
    radial-gradient(circle at 50% 50%, rgba(14, 82, 43, .22), transparent 50%);
  border: 1px solid rgba(251, 154, 11, .13);
  opacity: .95;
  z-index: 0;
}

body.ent .hero-map-orbit {
  position: absolute;
  inset: 24% 14%;
  border: 1px dashed rgba(254, 254, 254, .16);
  border-radius: 50%;
  z-index: 1;
}

body.ent .hero-map-orbit-two {
  inset: 8% 2%;
  border-style: solid;
  border-color: rgba(251, 154, 11, .12);
}

body.ent .hero-map-image {
  position: relative;
  z-index: 2;
  width: min(690px, 100%);
  height: auto;
  border-radius: 0 !important;
  background: transparent !important;
  opacity: .58;
  mix-blend-mode: screen;
  filter: sepia(.38) saturate(.92) hue-rotate(48deg) brightness(.88) contrast(1.18) drop-shadow(0 28px 70px rgba(0,0,0,.16));
  transition: opacity .45s ease, transform .45s ease, filter .45s ease;
}

body.ent .hero-map-shell:hover .hero-map-image {
  opacity: .68;
  transform: translateY(-3px) scale(1.01);
}

body.ent .hero-network {
  position: absolute;
  inset: 4% 0;
  z-index: 3;
  width: 100%;
  height: 92%;
  overflow: visible;
  pointer-events: none;
}

body.ent .hero-network path {
  fill: none;
  stroke: rgba(251, 154, 11, .56);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 5 10;
  filter: drop-shadow(0 0 10px rgba(251, 154, 11, .26));
  animation: lmgNetworkFlow 14s linear infinite;
}

body.ent .hero-network path:nth-child(2) { animation-duration: 18s; stroke: rgba(254, 254, 254, .32); }
body.ent .hero-network path:nth-child(3) { animation-duration: 20s; stroke: rgba(251, 154, 11, .44); }
body.ent .hero-network path:nth-child(4) { animation-duration: 16s; stroke: rgba(254, 254, 254, .24); }

body.ent .hero-network circle {
  fill: #FB9A0B;
  stroke: rgba(254, 254, 254, .78);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 12px rgba(251, 154, 11, .42));
}

body.ent .hero-network .node-core {
  fill: #86021B;
  stroke: #FEFEFE;
  stroke-width: 2;
}

@keyframes lmgNetworkFlow {
  to { stroke-dashoffset: -120; }
}

body.ent .hero-map-card,
body.ent .hero-map-status {
  position: absolute;
  display: grid;
  z-index: 4;
  gap: 3px;
  border: 1px solid rgba(254, 254, 254, .18);
  background: linear-gradient(145deg, rgba(8, 46, 24, .82), rgba(14, 82, 43, .46));
  color: #fff;
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 18px 44px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

body.ent .hero-map-card {
  min-width: 184px;
  padding: 16px 18px;
  border-radius: 18px;
  animation: lmgMapBreathe 7s ease-in-out infinite;
}

body.ent .hero-map-card:hover,
body.ent .hero-map-status:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 154, 11, .48);
  background: linear-gradient(145deg, rgba(8, 46, 24, .94), rgba(14, 82, 43, .62));
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 24px 52px rgba(0,0,0,.18);
  animation-play-state: paused;
}

body.ent .hero-map-card strong,
body.ent .hero-map-status strong {
  color: #fff !important;
  font-family: var(--font);
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -.01em;
}

body.ent .hero-map-card span,
body.ent .hero-map-status span {
  color: var(--brand-accent) !important;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
}

body.ent .hero-map-card small {
  color: rgba(254, 254, 254, .7) !important;
  font-size: .78rem;
  line-height: 1.35;
}

body.ent .map-card-software { left: -3%; top: 9%; }
body.ent .map-card-mobile { right: -5%; top: 26%; }
body.ent .map-card-ai { left: -1%; bottom: 18%; }
body.ent .map-card-cloud { right: -3%; bottom: 13%; }
body.ent .map-card-mobile { animation-delay: -1.4s; }
body.ent .map-card-ai { animation-delay: -2.6s; }
body.ent .map-card-cloud { animation-delay: -3.8s; }

body.ent .project-proof {
  display: grid;
  gap: 6px;
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--brand-accent);
  border-radius: 0 14px 14px 0;
  background: rgba(14, 82, 43, .08);
}

body.ent .project-proof.compact {
  margin: 14px 0 0;
}

body.ent .project-proof span {
  color: var(--brand-secondary) !important;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.ent .project-proof strong {
  color: var(--text-primary) !important;
  font-size: .95rem;
  line-height: 1.45;
}

body.ent .global-footer .footer-brand img {
  padding: 0 !important;
  background: transparent !important;
  filter: brightness(0) invert(1) grayscale(1) contrast(1.25) !important;
}

body.ent .global-footer .footer-brand strong {
  display: none;
}

body.ent:has(.calculator) .price-hero,
body.ent:has(.calculator) .price-hero h1,
body.ent:has(.calculator) .price-hero p,
body.ent:has(.calculator) .price-hero span,
body.ent:has(.calculator) .price-hero li,
body.ent:has(.calculator) .price-hero a {
  color: #fff !important;
}

body.ent:has(.calculator) .price-hero .kicker,
body.ent:has(.calculator) .price-hero-proof span:before {
  color: var(--brand-accent) !important;
}

body.ent:has(.calculator) .price-hero .hero-secondary {
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none !important;
}

body.ent:has(.calculator) .calculator {
  scroll-margin-top: 110px;
}

body.ent:has(.calculator) .price-hero {
  min-height: auto !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .64fr) !important;
  gap: clamp(36px, 5vw, 68px) !important;
  padding: clamp(58px, 7vw, 86px) max(24px, calc((100% - 1240px) / 2)) clamp(54px, 6vw, 78px) !important;
}

body.ent:has(.calculator) .price-hero h1 {
  max-width: 680px !important;
  margin: 14px 0 18px !important;
  font-size: clamp(3.4rem, 5.8vw, 5.8rem) !important;
  line-height: .95 !important;
  letter-spacing: 0 !important;
}

body.ent:has(.calculator) .price-hero p {
  max-width: 760px !important;
  font-size: clamp(1rem, 1.45vw, 1.18rem) !important;
  line-height: 1.6 !important;
}

body.ent:has(.calculator) .price-hero aside {
  align-self: center;
  padding: clamp(28px, 3.2vw, 44px) !important;
  border-radius: 28px !important;
}

body.ent:has(.calculator) .price-hero aside strong {
  font-size: clamp(2.2rem, 3.4vw, 3.4rem) !important;
  line-height: 1.04 !important;
}

body.ent:has(.calculator) .price-hero-proof {
  max-width: 760px;
}

@media (max-width: 980px) {
  body.ent.home-page .hero-grid { grid-template-columns: 1fr; }
  body.ent.home-page .hero {
    padding-top: 46px;
    text-align: center;
  }
  body.ent.home-page .hero h1,
  body.ent.home-page .hero .lede {
    margin-inline: auto;
  }
  body.ent.home-page .hero .actions {
    justify-content: center;
  }
  body.ent .hero-map-shell { min-height: 500px; padding-bottom: 42px; }
  body.ent .hero-map-card {
    min-width: 150px;
    padding: 12px 14px;
    border-radius: 16px;
  }
  body.ent .map-card-software { left: 3%; top: 7%; }
  body.ent .map-card-mobile { right: 3%; top: 21%; }
  body.ent .map-card-ai { left: 4%; bottom: 18%; }
  body.ent .map-card-cloud { right: 4%; bottom: 12%; }
}

@media (max-width: 700px) {
  body.ent .hero-map-visual {
    max-width: 100%;
    padding-inline: 0;
  }
  body.ent .hero-map-shell {
    width: 100%;
    min-height: 430px;
    margin: 22px auto 0;
    padding-bottom: 18px;
  }
  body.ent .hero-map-orbit-two { inset: 6% 2%; }
  body.ent .hero-map-image { width: min(338px, 88vw); }
  body.ent .hero-network {
    width: 112%;
    left: -6%;
  }
  body.ent .hero-map-card {
    min-width: 0;
    width: min(138px, 41vw);
    max-width: 138px;
    padding: 10px 12px;
    border-radius: 14px;
  }
  body.ent .hero-map-card strong { font-size: .84rem; }
  body.ent .hero-map-card span { font-size: .6rem; }
  body.ent .hero-map-card small { font-size: .68rem; }
  body.ent .map-card-software { left: 0; top: 4%; }
  body.ent .map-card-mobile { right: 0; top: 22%; }
  body.ent .map-card-ai { left: 0; bottom: 20%; }
  body.ent .map-card-cloud { right: 0; bottom: 14%; }
}

/* Navigation information architecture and touch controls. */
body.ent .nav-account {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-primary) !important;
}
body.ent .nav-account:hover { border-color: var(--brand-primary); background: var(--soft); }
body.ent .menu-button .menu-icon {
  display: grid;
  width: 20px;
  gap: 4px;
}
body.ent .menu-button .menu-icon i {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
body.ent .menu-button[aria-expanded="true"] .menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.ent .menu-button[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
body.ent .menu-button[aria-expanded="true"] .menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  body.ent .global-nav .menu-button {
    width: 46px !important;
    height: 46px !important;
    border: 1px solid rgba(14,82,43,.18) !important;
    border-radius: 14px !important;
    background: #f5f8f4 !important;
    color: var(--forest) !important;
    box-shadow: 0 4px 14px rgba(16,32,20,.05);
  }
  body.ent .global-nav .menu-button:hover { background: #edf4ed !important; }
  body.ent .global-nav .mobile-nav.open {
    display: grid !important;
    align-content: start;
    gap: 10px;
    padding: 18px max(20px, calc((100% - 720px)/2)) 34px !important;
    background: #f5f7f4 !important;
  }
  body.ent .mobile-nav-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 2px 2px 8px;
    color: var(--ink);
  }
  body.ent .mobile-nav-heading span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  body.ent .mobile-nav-heading small { color: var(--muted); font-size: 11px; }
  body.ent .mobile-nav .mobile-account {
    min-height: 68px;
    margin-bottom: 2px;
    padding: 13px 16px;
    border: 1px solid rgba(14,82,43,.16) !important;
    border-radius: 14px;
    background: #eaf2ea;
    color: var(--forest) !important;
  }
  body.ent .mobile-nav .mobile-account:after {
    content: "→" !important;
    color: var(--forest);
    font-size: 20px;
  }
  body.ent .mobile-nav .mobile-account span,
  body.ent .mobile-nav .mobile-account strong,
  body.ent .mobile-nav .mobile-account small { display: block; }
  body.ent .mobile-nav .mobile-account strong { font-size: 16px; }
  body.ent .mobile-nav .mobile-account small { margin-top: 3px; color: #587064; font-size: 12px; font-weight: 500; }
  body.ent .mobile-nav .mobile-drop {
    overflow: hidden;
    border: 1px solid #dfe6df !important;
    border-radius: 14px;
    background: #fff;
  }
  body.ent .mobile-nav .mobile-drop[open] {
    display: grid;
    grid-template-rows: auto auto;
  }
  body.ent .mobile-nav .mobile-drop summary {
    min-height: 66px;
    padding: 11px 15px !important;
    border: 0 !important;
    color: var(--ink) !important;
  }
  body.ent .mobile-nav .mobile-drop summary > span,
  body.ent .mobile-nav .mobile-drop summary strong,
  body.ent .mobile-nav .mobile-drop summary small { display: block; }
  body.ent .mobile-nav .mobile-drop summary strong { font-size: 16px; }
  body.ent .mobile-nav .mobile-drop summary small { margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 500; }
  body.ent .mobile-nav .mobile-drop summary > i {
    position: relative;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: var(--soft);
  }
  body.ent .mobile-nav .mobile-drop summary > i:before,
  body.ent .mobile-nav .mobile-drop summary > i:after {
    content: "";
    position: absolute;
    left: 8px;
    top: 13px;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--forest);
    transition: transform .2s ease;
  }
  body.ent .mobile-nav .mobile-drop summary > i:after { transform: rotate(90deg); }
  body.ent .mobile-nav .mobile-drop[open] summary > i:after { transform: rotate(0); }
  body.ent .mobile-nav .mobile-drop-links {
    padding: 3px 15px 12px !important;
    border-top: 1px solid #edf1ed;
    background: #fbfcfb;
  }
  body.ent .mobile-nav .mobile-drop-links a {
    min-height: 42px !important;
    padding: 9px 2px !important;
    border: 0 !important;
    color: #52635a !important;
    font-size: 14px !important;
  }
  body.ent .mobile-direct-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  body.ent .mobile-direct-links > a {
    min-height: 66px;
    padding: 12px 14px !important;
    border: 1px solid #dfe6df !important;
    border-radius: 14px;
    background: #fff;
  }
  body.ent .mobile-direct-links > a:after { content: "→" !important; color: var(--forest); font-size: 18px; }
  body.ent .mobile-direct-links span,
  body.ent .mobile-direct-links strong,
  body.ent .mobile-direct-links small { display: block; }
  body.ent .mobile-direct-links strong { font-size: 14px; }
  body.ent .mobile-direct-links small { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 500; }
  body.ent .mobile-nav .mobile-estimate-cta { min-height: 54px !important; margin-top: 2px; }
}

@media (max-width: 520px) {
  body.ent .mobile-direct-links { grid-template-columns: 1fr; }
  body.ent .mobile-nav-heading small { display: none; }
}

@media (max-width: 900px) {
  body.ent:has(.calculator) .price-hero {
    display: block !important;
    min-height: auto !important;
    padding: 58px 18px 52px !important;
  }
  body.ent:has(.calculator) .price-hero h1 {
    margin: 14px 0 18px !important;
    font-size: clamp(3.1rem, 13vw, 4.8rem) !important;
    line-height: .92 !important;
    letter-spacing: 0 !important;
    max-width: 10ch;
  }
  body.ent:has(.calculator) .price-hero p {
    max-width: 36rem;
    font-size: 16px !important;
  }
  body.ent:has(.calculator) .price-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
  }
  body.ent:has(.calculator) .price-hero-actions a {
    justify-content: center;
    text-align: center;
    min-height: 46px;
    align-items: center;
  }
  body.ent:has(.calculator) .price-hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  body.ent:has(.calculator) .calculator {
    width: calc(100% - 24px) !important;
    margin-top: 28px !important;
    padding-bottom: 86px;
  }
  body.ent:has(.calculator) .progress {
    display: flex !important;
    overflow-x: auto;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    position: sticky;
    top: 76px;
    z-index: 30;
  }
  body.ent:has(.calculator) .progress button {
    flex: 0 0 76px;
    min-height: 48px;
    border-radius: 14px;
    text-align: center;
  }
  body.ent:has(.calculator) .config-panel {
    padding: 24px 18px !important;
    border-radius: 22px !important;
  }
  body.ent:has(.calculator) .step {
    min-height: 0 !important;
  }
  body.ent:has(.calculator) .step h2 {
    font-size: clamp(2rem, 10vw, 2.8rem) !important;
  }
  body.ent:has(.calculator) .choice-grid,
  body.ent:has(.calculator) .feature-grid {
    grid-template-columns: 1fr !important;
  }
  body.ent:has(.calculator) .segmented {
    grid-template-columns: 1fr 1fr !important;
  }
  body.ent:has(.calculator) .check-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  body.ent:has(.calculator) .step-controls {
    position: sticky;
    bottom: 66px;
    z-index: 32;
    padding: 10px 0;
    background: linear-gradient(180deg, rgba(245,247,245,0), var(--surface-secondary) 28%);
  }
  body.ent:has(.calculator) .step-controls button {
    min-height: 46px;
  }
  body.ent:has(.calculator) .mobile-estimate {
    min-height: 70px;
    padding: 0 18px;
    background: var(--brand-secondary) !important;
    color: #fff !important;
  }
  body.ent:has(.calculator) .whatsapp-widget {
    bottom: 84px;
  }
}

@media (max-width: 620px) {
  body.ent:has(.calculator) .price-hero {
    padding: 44px 16px 46px !important;
  }
  body.ent:has(.calculator) .price-hero h1 {
    font-size: clamp(2.85rem, 17vw, 4rem) !important;
    max-width: 9ch;
  }
  body.ent:has(.calculator) .price-hero p {
    font-size: 15.5px !important;
    line-height: 1.58 !important;
  }
  body.ent:has(.calculator) .price-hero .hero-secondary {
    background: rgba(255,255,255,.12);
  }
}

@media (max-width: 430px) {
  body.ent:has(.calculator) .price-hero {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.ent:has(.calculator) .calculator {
    width: calc(100% - 16px) !important;
  }
  body.ent:has(.calculator) .segmented {
    grid-template-columns: 1fr !important;
  }
}

body.ent .whatsapp-widget {
  right: 20px;
  bottom: 20px;
  min-height: 48px;
  padding: 0 8px 0 14px;
  border-color: rgba(254,254,254,.28);
  background: rgba(14, 82, 43, .88);
  box-shadow: 0 14px 34px rgba(7, 57, 29, .18);
  backdrop-filter: blur(12px);
}

body.ent .whatsapp-widget:hover {
  background: #128C4A;
  box-shadow: 0 18px 38px rgba(7, 57, 29, .24);
}

body.ent .whatsapp-widget svg {
  width: 30px;
  height: 30px;
}

body.ent .code-block {
  overflow-x: auto;
  margin: 28px 0 0;
  padding: 22px;
  border: 1px solid rgba(226, 232, 227, .28);
  border-radius: 18px;
  background: #0d1d16;
  color: #dff8e8;
  font: 13px/1.7 "SFMono-Regular", Consolas, monospace;
  white-space: pre-wrap;
}

body.ent .pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

@media (max-width: 700px) {
  body.ent .whatsapp-widget {
    right: 14px;
    bottom: 14px;
    width: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
  }
  body.ent .pricing-plan-grid {
    grid-template-columns: 1fr;
  }
}
