/*****************************************************
TURN2ENGINEERING HOMEPAGE — COMPLETE CSS
- Purpose-built for the Astra WordPress theme
- Mobile-first, accessible, responsive, and lightweight
- All new component styles are scoped beneath .t2e-home
- Hardened viewport breakout defeats residual Astra/Gutenberg fixed-width wrappers
- Header-search suppression remains homepage-scoped
- Clears Astra transparent/overlay headers without hard-coding one device height
******************************************************/

/* =========================================================
   0) REQUIRED ASTRA OVERRIDES — RETAIN THESE RULES
   ========================================================= */

/* Astra full-width safety: homepage only */
.home .ast-container,
.home .site-content .ast-container,
.home .ast-container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Additional Astra shell resets for the homepage */
.home .site-content,
.home .site-content > .ast-container,
.home #primary,
.home .content-area,
.home .site-main,
.home article.page,
.home .ast-article-single,
.home .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.home .entry-content > *,
.home .entry-content > .wp-block-html,
.home .entry-content > .wp-block-group,
.home .entry-content > .wp-block-cover,
.home .entry-content > .wp-block-columns,
.home .entry-content > .t2e-home {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/*
 * Definitive full-bleed escape hatch.
 *
 * Astra, Gutenberg, and page-layout plugins may add another constrained
 * wrapper around a Custom HTML block, or may apply their width rules after
 * this stylesheet is registered. Reset the common wrappers and make the
 * homepage root break out to the viewport even when an unknown ancestor
 * remains constrained. The content inside each .t2e-shell is still capped at
 * the intentional reading width; only the section backgrounds are full width.
 */
html body.home,
html body.home #page,
html body.home #content,
html body.home .site,
html body.home .site-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home.ast-page-builder-template .site-content > .ast-container,
body.home.ast-narrow-container .site-content > .ast-container,
body.home .site-content > .ast-container,
body.home .site-content .ast-container,
body.home #primary,
body.home #main,
body.home .site-main,
body.home article.page,
body.home .ast-article-single,
body.home .entry-content,
body.home .wp-block-post-content,
body.home .entry-content > .wp-block-html,
body.home .wp-block-post-content > .wp-block-html,
body.home .entry-content > .wp-block-group,
body.home .wp-block-post-content > .wp-block-group {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home .entry-content,
body.home .wp-block-post-content,
body.home .entry-content > .wp-block-html,
body.home .wp-block-post-content > .wp-block-html {
  overflow: visible !important;
}

/*
 * Higher-specificity fallbacks for Astra/LiteSpeed builds that print an
 * aggressive constrained rule late in the cascade. :has() is progressive
 * enhancement; the ID-based Astra chain below remains the fallback.
 */
@supports selector(body:has(#t2e-home)) {
  body.home:has(#t2e-home) .site-content > .ast-container,
  body.home:has(#t2e-home) #primary,
  body.home:has(#t2e-home) #main,
  body.home:has(#t2e-home) article.page,
  body.home:has(#t2e-home) .ast-article-single,
  body.home:has(#t2e-home) .entry-content,
  body.home:has(#t2e-home) .wp-block-post-content,
  body.home:has(#t2e-home) .wp-block-html {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

html body.home #page.site #content.site-content > .ast-container,
html body.home #page.site #content.site-content #primary.content-area,
html body.home #page.site #content.site-content #main.site-main,
html body.home #page.site #content.site-content article.page.ast-article-single,
html body.home #page.site #content.site-content article.page .entry-content,
html body.home #page.site #content.site-content article.page .wp-block-post-content,
html body.home #page.site #content.site-content article.page .wp-block-html {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/*
 * 100vw + centered negative margins is intentional. It lets #t2e-home escape
 * any residual fixed-width parent without changing Astra's global header or
 * footer. body.home clips the harmless scrollbar-width rounding difference.
 */
body.home #t2e-home.t2e-home {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
}

@supports (width: 100dvw) {
  body.home #t2e-home.t2e-home {
    width: 100dvw !important;
    max-width: 100dvw !important;
    margin-left: calc(50% - 50dvw) !important;
    margin-right: calc(50% - 50dvw) !important;
  }
}

body.home #t2e-home.t2e-home > section {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* The custom homepage supplies its own H1/hero. */
.home .entry-header,
.home .ast-single-post-featured-section,
.home .post-thumb-img-content {
  display: none !important;
}

/* Prevent Astra wrappers from adding unexpected page backgrounds. */
.home .site-content,
.home .site-main,
.home article.page,
.home .ast-article-single,
.home .entry-content {
  background: transparent !important;
}

/* Suppress Astra's duplicate header search on the homepage only.
 * The .home scope is critical: other pages keep their normal Astra search UI. */
body.home .ast-header-search,
body.home .ast-search-box,
body.home .ast-search-menu-icon,
body.home .ast-search-form,
body.home .ast-builder-layout-element .ast-header-search,
body.home .ast-mobile-header-wrap .ast-header-search,
body.home .ast-mobile-header-wrap [class*="ast-search"],
body.home .ast-mobile-popup-drawer .ast-header-search,
body.home .ast-mobile-popup-drawer [class*="ast-search"] {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body.home .ast-builder-menu .ast-search-menu-icon,
body.home .ast-builder-menu [class*="ast-search"] {
  display: none !important;
}

body.home .ast-header-search .ast-live-search-results {
  z-index: 999999;
}

body.home .ast-header-search .search-form {
  position: relative;
}

@media (max-width: 768px) {
  body.home .ast-mobile-header-wrap .ast-header-search,
  body.home .ast-mobile-header-wrap [class*="ast-search"],
  body.home .ast-mobile-popup-drawer .ast-header-search,
  body.home .ast-mobile-popup-drawer [class*="ast-search"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
}

/* Prevent an Astra wrapper or wide card from widening the viewport. */
html,
body,
body.home,
.home #page,
.home .site,
.home .site-content {
  max-width: 100% !important;
}

body.home {
  overflow-x: hidden;
  background: #f4f7fb;
}

@supports (overflow: clip) {
  body.home {
    overflow-x: clip;
  }
}

/* =========================================================
   1) LOCAL DESIGN TOKENS AND RESET
   ========================================================= */

.t2e-home {
  --t2e-brand: #0b63ce;
  --t2e-brand-dark: #084c9d;
  --t2e-brand-deep: #063a7a;
  --t2e-brand-soft: #eaf3ff;
  --t2e-blue-50: #f4f8ff;
  --t2e-blue-100: #e4efff;
  --t2e-blue-200: #cbdfff;
  --t2e-teal: #0c7c86;
  --t2e-violet: #6548c7;
  --t2e-navy: #071a33;
  --t2e-navy-2: #0b274a;
  --t2e-navy-3: #10345f;
  --t2e-ink: #102039;
  --t2e-ink-soft: #283b55;
  --t2e-muted: #52637a;
  --t2e-muted-2: #6b7b8f;
  --t2e-page: #f4f7fb;
  --t2e-surface: #ffffff;
  --t2e-surface-muted: #f8fafc;
  --t2e-border: #d8e1ec;
  --t2e-border-strong: #bccbdd;
  --t2e-success: #0d7a51;
  --t2e-focus: #f4bf50;
  --t2e-radius-sm: 10px;
  --t2e-radius: 16px;
  --t2e-radius-lg: 24px;
  --t2e-pill: 999px;
  --t2e-shadow-sm: 0 5px 18px rgba(6, 28, 57, 0.08);
  --t2e-shadow: 0 14px 40px rgba(6, 28, 57, 0.11);
  --t2e-shadow-lg: 0 28px 70px rgba(3, 20, 42, 0.2);
  --t2e-shell: 1240px;

  /*
   * Astra can place a transparent header over the first section instead of
   * reserving normal document flow. CSS supplies a safe first-paint fallback;
   * home.js replaces the overlap value with the measured live header height.
   */
  --t2e-astra-header-overlap: 0px;
  --t2e-hero-top-base: clamp(64px, 7.5vw, 112px);
  --t2e-hero-header-gap: 28px;

  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  color: var(--t2e-ink);
  background: var(--t2e-page);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/*
 * First-paint fallback for Astra's transparent-header mode. The JavaScript
 * measurement is authoritative once it runs. These values prevent the hero
 * eyebrow from being hidden behind the header before deferred JS executes or
 * when JavaScript is unavailable.
 */
body.home.ast-theme-transparent-header #t2e-home.t2e-home {
  --t2e-astra-header-overlap: 80px;
}

@media (max-width: 921px) {
  body.home.ast-theme-transparent-header #t2e-home.t2e-home {
    --t2e-astra-header-overlap: 56px;
  }
}

@media (max-width: 544px) {
  body.home.ast-theme-transparent-header #t2e-home.t2e-home {
    --t2e-astra-header-overlap: 52px;
  }
}

@supports (overflow: clip) {
  .t2e-home {
    overflow: clip;
  }
}

.t2e-home,
.t2e-home *,
.t2e-home *::before,
.t2e-home *::after {
  box-sizing: border-box;
}

.t2e-home h1,
.t2e-home h2,
.t2e-home h3,
.t2e-home p,
.t2e-home ul,
.t2e-home ol,
.t2e-home figure {
  margin-top: 0;
}

.t2e-home h1,
.t2e-home h2,
.t2e-home h3 {
  color: var(--t2e-ink) !important;
  font-family: inherit;
  font-style: normal;
  text-transform: none;
  letter-spacing: -0.025em;
}

.t2e-home h1 {
  font-size: clamp(2.35rem, 1.55rem + 3.35vw, 4.65rem);
  line-height: 1.04;
  font-weight: 850;
}

.t2e-home h2 {
  font-size: clamp(1.9rem, 1.43rem + 1.85vw, 3rem);
  line-height: 1.12;
  font-weight: 820;
}

.t2e-home h3 {
  font-size: clamp(1.17rem, 1.05rem + 0.35vw, 1.42rem);
  line-height: 1.28;
  font-weight: 800;
}

.t2e-home p {
  color: var(--t2e-muted);
  line-height: 1.68;
}

.t2e-home a {
  color: var(--t2e-brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.t2e-home a:hover {
  color: var(--t2e-brand-deep);
}

.t2e-home svg {
  display: block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.t2e-home button,
.t2e-home input {
  font: inherit;
}

.t2e-home [hidden] {
  display: none !important;
}

.t2e-home .sr-only,
.t2e-home .t2e-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.t2e-shell {
  width: min(100% - 32px, var(--t2e-shell));
  margin-inline: auto;
}

.t2e-kicker {
  margin: 0 0 9px !important;
  color: var(--t2e-brand-dark) !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
}

#featured-calculators,
#featured-charts,
#engineering-disciplines,
#engineering-equations,
#engineering-guides {
  scroll-margin-top: 32px;
}

/* =========================================================
   2) INTERACTION, BUTTONS, AND FOCUS
   ========================================================= */

.t2e-home :where(a, button, input):focus-visible {
  outline: 3px solid var(--t2e-focus) !important;
  outline-offset: 3px !important;
}

.t2e-button,
.t2e-home .cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-height: 48px !important;
  padding: 12px 19px !important;
  border: 1px solid transparent !important;
  border-radius: var(--t2e-pill) !important;
  font-size: 0.96rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.t2e-button svg,
.t2e-home .cta-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.t2e-button:hover,
.t2e-home .cta-btn:hover {
  transform: translateY(-2px);
}

.t2e-button:hover svg,
.t2e-home .cta-btn:hover svg {
  transform: translateX(3px);
}

.t2e-button--primary,
.t2e-home .cta-btn.primary {
  color: #ffffff !important;
  background: var(--t2e-brand) !important;
  border-color: var(--t2e-brand) !important;
  box-shadow: 0 11px 28px rgba(11, 99, 206, 0.28) !important;
}

.t2e-button--primary:hover,
.t2e-home .cta-btn.primary:hover {
  color: #ffffff !important;
  background: #1672dc !important;
  border-color: #1672dc !important;
  box-shadow: 0 15px 34px rgba(11, 99, 206, 0.35) !important;
}

.t2e-button--secondary,
.t2e-home .cta-btn.outline {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.t2e-button--secondary:hover,
.t2e-home .cta-btn.outline:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.66) !important;
}

.t2e-button--dark {
  color: #ffffff !important;
  background: var(--t2e-navy) !important;
  border-color: var(--t2e-navy) !important;
  box-shadow: 0 12px 28px rgba(7, 26, 51, 0.2) !important;
}

.t2e-button--dark:hover {
  color: #ffffff !important;
  background: var(--t2e-navy-2) !important;
  border-color: var(--t2e-navy-2) !important;
}

.t2e-button--white {
  color: var(--t2e-navy) !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 12px 30px rgba(3, 17, 37, 0.24) !important;
}

.t2e-button--white:hover {
  color: var(--t2e-brand-deep) !important;
  background: #f3f7ff !important;
  border-color: #f3f7ff !important;
}

.t2e-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--t2e-brand-dark) !important;
  font-weight: 800;
  text-decoration: none !important;
}

.t2e-text-link svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.t2e-text-link:hover svg {
  transform: translateX(4px);
}

.t2e-text-link--inverse {
  color: #ffffff !important;
}

.t2e-text-link--inverse:hover {
  color: #dcecff !important;
}

/* =========================================================
   3) HERO
   ========================================================= */

.t2e-hero {
  position: relative;
  overflow: hidden;
  /* Fallback first, then overlap-aware top spacing for modern browsers. */
  padding: var(--t2e-hero-top-base) 0 clamp(64px, 7vw, 102px);
  padding-top: max(
    var(--t2e-hero-top-base),
    calc(var(--t2e-astra-header-overlap, 0px) + var(--t2e-hero-header-gap))
  );
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 16%, rgba(45, 139, 247, 0.31) 0, rgba(45, 139, 247, 0) 35%),
    radial-gradient(circle at 13% 92%, rgba(15, 135, 151, 0.25) 0, rgba(15, 135, 151, 0) 34%),
    linear-gradient(135deg, #06172d 0%, #0a2547 48%, #0b315d 100%) !important;
  isolation: isolate;
}

.t2e-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255,255,255,0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent 90%);
}

.t2e-hero::after {
  content: "";
  position: absolute;
  top: -250px;
  right: -180px;
  z-index: -1;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(255,255,255,0.025),
    0 0 0 160px rgba(255,255,255,0.018);
}

.t2e-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}

.t2e-hero__copy {
  min-width: 0;
}

.t2e-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px !important;
  color: #cfe4ff !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.095em !important;
  text-transform: uppercase !important;
}

.t2e-eyebrow__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5fd2df;
  box-shadow: 0 0 0 5px rgba(95, 210, 223, 0.14);
}

.t2e-hero h1,
.t2e-hero h2,
.t2e-hero p {
  color: #ffffff !important;
}

.t2e-hero h1 {
  max-width: 800px;
  margin: 0 0 20px !important;
  text-wrap: balance;
  text-shadow: 0 5px 28px rgba(0, 0, 0, 0.28);
}

.t2e-hero__lede {
  max-width: 760px;
  margin: 0 0 28px !important;
  color: #d7e6f8 !important;
  font-size: clamp(1.04rem, 0.98rem + 0.28vw, 1.22rem) !important;
  line-height: 1.72 !important;
}

/* =========================================================
   4) CUSTOM HOMEPAGE SEARCH — HARD ASTRA OVERRIDES
   ========================================================= */

.t2e-search-wrap {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 760px;
}

/* Retains the user's Astra-resistant selector pattern. */
#t2e-home .astra-search-wrapper .search-form,
.t2e-home .astra-search-wrapper .search-form,
.t2e-home .t2e-search-form {
  position: relative !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 4px !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 62px !important;
  margin: 0 !important;
  padding: 5px !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  border-radius: var(--t2e-pill) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 18px 45px rgba(1, 14, 31, 0.32) !important;
  backdrop-filter: blur(14px);
}

.t2e-search-form:focus-within {
  border-color: #85b9fb !important;
  box-shadow: 0 0 0 4px rgba(89, 158, 242, 0.2), 0 20px 48px rgba(1, 14, 31, 0.35) !important;
}

.t2e-search-form__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #55708e;
}

.t2e-search-form__icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

/* Reset Astra's generic search-input rules. */
#t2e-home .astra-search-wrapper .search-form .search-field,
.t2e-home .astra-search-wrapper .search-form .search-field,
.t2e-home .search-form input[type="search"],
.t2e-home .t2e-search-field {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 10px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  color: var(--t2e-ink) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

.t2e-home .t2e-search-field::placeholder {
  color: #6b7c90 !important;
  opacity: 1 !important;
}

.t2e-home .t2e-search-field::-webkit-search-decoration,
.t2e-home .t2e-search-field::-webkit-search-cancel-button,
.t2e-home .t2e-search-field::-webkit-search-results-button,
.t2e-home .t2e-search-field::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

#t2e-home .astra-search-wrapper .search-form .search-submit,
.t2e-home .astra-search-wrapper .search-form .search-submit,
.t2e-home .t2e-search-submit {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 116px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 12px 18px !important;
  border: 1px solid var(--t2e-brand) !important;
  border-radius: var(--t2e-pill) !important;
  color: #ffffff !important;
  background: var(--t2e-brand) !important;
  box-shadow: none !important;
  font-size: 0.94rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

.t2e-home .t2e-search-submit:hover {
  color: #ffffff !important;
  background: var(--t2e-brand-dark) !important;
  border-color: var(--t2e-brand-dark) !important;
  box-shadow: 0 8px 18px rgba(11, 99, 206, 0.26) !important;
}

.t2e-home .t2e-search-submit svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.t2e-home .t2e-search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  width: 100%;
  max-height: min(420px, 66vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 8px;
  border: 1px solid var(--t2e-border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--t2e-shadow-lg);
}

.t2e-home .t2e-search-suggestions__label {
  margin: 0 !important;
  padding: 8px 10px 6px;
  color: var(--t2e-muted-2) !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.t2e-home .t2e-search-suggestions ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.t2e-home .t2e-search-suggestions li {
  margin: 0 !important;
  padding: 0 !important;
}

.t2e-home .t2e-search-suggestions a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 11px;
  color: var(--t2e-ink) !important;
  text-decoration: none !important;
}

.t2e-home .t2e-search-suggestions a:hover,
.t2e-home .t2e-search-suggestions a[role="option"][aria-selected="true"] {
  color: var(--t2e-ink) !important;
  background: var(--t2e-brand-soft);
}

.t2e-home .t2e-search-suggestions__title {
  display: block;
  overflow: hidden;
  font-size: 0.93rem;
  font-weight: 780;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t2e-home .t2e-search-suggestions__type {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 8px;
  border: 1px solid #d8e5f6;
  border-radius: var(--t2e-pill);
  color: #48617d;
  background: #f8fbff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.t2e-home .t2e-search-suggestions__empty {
  margin: 0 !important;
  padding: 13px 12px !important;
  color: var(--t2e-muted) !important;
  font-size: 0.9rem !important;
}

.t2e-home .t2e-search-suggestions[aria-busy="true"] {
  cursor: progress;
}

.t2e-home .t2e-search-suggestions[aria-busy="true"] .t2e-search-suggestions__label::after {
  content: " — searching";
  color: var(--t2e-brand-dark);
}

.t2e-home .t2e-search-suggestions a[role="option"] {
  min-width: 0;
}

.t2e-home .t2e-search-suggestions a[role="option"][aria-selected="true"] {
  position: relative;
}

.t2e-home .t2e-search-suggestions a[role="option"][aria-selected="true"]::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 3px;
  width: 3px;
  border-radius: 3px;
  background: var(--t2e-brand);
}

.t2e-quick-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  margin-top: 14px;
  color: #c6d8ee;
  font-size: 0.84rem;
}

.t2e-quick-search__label {
  color: #9fb8d5;
  font-weight: 800;
}

.t2e-quick-search a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding-block: 4px;
  color: #e6f2ff !important;
  font-weight: 700;
  text-decoration-color: rgba(230, 242, 255, 0.38) !important;
}

.t2e-quick-search a:hover {
  color: #ffffff !important;
  text-decoration-color: #ffffff !important;
}

.t2e-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.t2e-hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  color: #cbdcf0;
  list-style: none !important;
  font-size: 0.84rem;
  font-weight: 700;
}

.t2e-hero__benefits li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
}

.t2e-hero__benefits svg {
  width: 17px;
  height: 17px;
  padding: 2px;
  border-radius: 50%;
  color: #0a3851;
  background: #79d9ce;
  stroke-width: 2.7;
}

/* =========================================================
   5) HERO RESOURCE ROUTER
   ========================================================= */

.t2e-resource-router {
  position: relative;
  padding: clamp(23px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 28px 80px rgba(1, 14, 31, 0.36);
  backdrop-filter: blur(14px);
}

.t2e-resource-router::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid #e1e9f4;
  border-radius: 19px;
  pointer-events: none;
}

.t2e-resource-router__top {
  padding: 2px 4px 19px;
  border-bottom: 1px solid #e3eaf3;
}

.t2e-resource-router__top .t2e-kicker {
  margin-bottom: 6px !important;
}

.t2e-resource-router h2 {
  margin: 0 0 8px !important;
  color: var(--t2e-ink) !important;
  font-size: clamp(1.45rem, 1.25rem + 0.7vw, 1.9rem) !important;
  line-height: 1.18 !important;
}

.t2e-resource-router__top p:last-child {
  margin: 0 !important;
  color: var(--t2e-muted) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}

.t2e-resource-router__list {
  display: grid;
  gap: 9px;
  padding: 16px 0;
}

.t2e-route-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 78px;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: var(--t2e-ink) !important;
  text-decoration: none !important;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.t2e-route-card:hover {
  color: var(--t2e-ink) !important;
  border-color: #cbd9ea;
  background: #f7faff;
  box-shadow: var(--t2e-shadow-sm);
  transform: translateX(3px);
}

.t2e-route-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.t2e-route-card__icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}

.t2e-route-card__icon--blue {
  color: #0756b6;
  background: #e5f0ff;
}

.t2e-route-card__icon--teal {
  color: #08737d;
  background: #e2f7f6;
}

.t2e-route-card__icon--violet {
  color: #5e42bb;
  background: #eeeaff;
}

.t2e-route-card__body {
  display: grid;
  min-width: 0;
}

.t2e-route-card__body strong {
  color: var(--t2e-ink);
  font-size: 1rem;
  line-height: 1.3;
}

.t2e-route-card__body span {
  margin-top: 2px;
  color: var(--t2e-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.t2e-route-card__arrow {
  width: 19px;
  height: 19px;
  color: #66809d;
}

.t2e-resource-router__disciplines {
  padding-top: 16px;
  border-top: 1px solid #e3eaf3;
}

.t2e-resource-router__disciplines > span {
  display: block;
  margin-bottom: 9px;
  color: #687a8f;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.t2e-resource-router__disciplines > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.t2e-resource-router__disciplines a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #d6e0ec;
  border-radius: var(--t2e-pill);
  color: #30445e !important;
  background: #f8fafc;
  font-size: 0.77rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
}

.t2e-resource-router__disciplines a:hover {
  color: var(--t2e-brand-dark) !important;
  border-color: #a9c8ef;
  background: #eef6ff;
}

/* =========================================================
   6) JUMP NAVIGATION
   ========================================================= */

.t2e-jump-nav {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid #dce5ef;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 7px 22px rgba(7, 26, 51, 0.05);
}

.t2e-jump-nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 62px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.t2e-jump-nav__inner::-webkit-scrollbar {
  display: none;
}

.t2e-jump-nav__label {
  margin-right: 3px;
  color: #687a90;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.t2e-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--t2e-pill);
  color: #29405d !important;
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1;
  text-decoration: none !important;
}

.t2e-jump-nav a:hover {
  color: var(--t2e-brand-dark) !important;
  background: var(--t2e-brand-soft);
}

/* =========================================================
   7) SHARED SECTIONS AND HEADINGS
   ========================================================= */

.t2e-section {
  position: relative;
  padding: clamp(64px, 7vw, 100px) 0;
}

.t2e-section--light {
  background: var(--t2e-page);
}

.t2e-section--white {
  background: #ffffff;
}

.t2e-section-heading {
  margin-bottom: clamp(28px, 4vw, 46px);
}

.t2e-section-heading h2 {
  margin: 0 0 12px !important;
  text-wrap: balance;
}

.t2e-section-heading p:not(.t2e-kicker) {
  max-width: 730px;
  margin: 0 !important;
  color: var(--t2e-muted) !important;
  font-size: clamp(0.98rem, 0.94rem + 0.16vw, 1.08rem) !important;
}

.t2e-section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.t2e-section-heading--center {
  max-width: 790px;
  margin-inline: auto;
  text-align: center;
}

.t2e-section-heading--center p:not(.t2e-kicker) {
  margin-inline: auto !important;
}

.t2e-section-heading--inverse h2,
.t2e-section-heading--inverse p,
.t2e-section-heading--inverse .t2e-kicker {
  color: #ffffff !important;
}

.t2e-section-heading--inverse p:not(.t2e-kicker) {
  color: #ccdef3 !important;
}

/* =========================================================
   8) FEATURED CALCULATOR CARDS
   ========================================================= */

.t2e-tool-grid {
  display: grid;
  gap: 18px;
}

.t2e-tool-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.t2e-tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 300px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--t2e-border);
  border-radius: var(--t2e-radius);
  color: var(--t2e-ink) !important;
  background: #ffffff;
  box-shadow: var(--t2e-shadow-sm);
  text-decoration: none !important;
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.t2e-tool-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 99, 206, 0.08), transparent 70%);
  pointer-events: none;
}

.t2e-tool-card:hover {
  color: var(--t2e-ink) !important;
  border-color: #a9c3e1;
  box-shadow: 0 18px 42px rgba(6, 28, 57, 0.14);
  transform: translateY(-5px);
}

.t2e-tool-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 19px;
  border-radius: 15px;
}

.t2e-tool-card__icon svg {
  width: 27px;
  height: 27px;
}

.t2e-icon--electrical {
  color: #765a00;
  background: #fff3c7;
}

.t2e-icon--civil {
  color: #0b6570;
  background: #dcf5f4;
}

.t2e-icon--mechanical {
  color: #405b79;
  background: #e7eef7;
}

.t2e-icon--fluid {
  color: #0758a9;
  background: #e2f1ff;
}

.t2e-icon--construction {
  color: #9b4b0b;
  background: #fff0df;
}

.t2e-tool-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.t2e-tool-card__tag {
  align-self: flex-start;
  margin-bottom: 8px;
  color: #65778b;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.t2e-tool-card__content strong {
  color: var(--t2e-ink);
  font-size: 1.06rem;
  font-weight: 820;
  line-height: 1.35;
}

.t2e-tool-card__content > span:last-child {
  margin-top: 8px;
  color: var(--t2e-muted);
  font-size: 0.86rem;
  line-height: 1.58;
}

.t2e-tool-card__action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--t2e-brand-dark);
  font-size: 0.8rem;
  font-weight: 850;
}

.t2e-tool-card__action svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.t2e-tool-card:hover .t2e-tool-card__action svg {
  transform: translateX(4px);
}

/* =========================================================
   9) CHARTS AND TABLES BAND
   ========================================================= */

.t2e-section--blue {
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0%, rgba(49, 143, 245, 0.26), transparent 31%),
    radial-gradient(circle at 0% 100%, rgba(34, 177, 182, 0.17), transparent 30%),
    linear-gradient(135deg, #071c37 0%, #0b2e58 55%, #0a3965 100%) !important;
}

.t2e-section--blue::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.11;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.13) 1px, transparent 1px);
  background-size: 48px 48px;
}

.t2e-section--blue > .t2e-shell {
  position: relative;
  z-index: 1;
}

.t2e-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.t2e-reference-card {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 17px;
  align-items: center;
  min-width: 0;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--t2e-radius);
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 35px rgba(1, 14, 31, 0.18);
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  transition: transform 190ms ease, background-color 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.t2e-reference-card:hover {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 44px rgba(1, 14, 31, 0.27);
  transform: translateY(-4px);
}

.t2e-reference-card__visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 17px;
  color: #bfe1ff;
  background: rgba(1, 16, 37, 0.28);
}

.t2e-reference-card__visual svg {
  width: 57px;
  height: 57px;
  stroke-width: 1.5;
}

.t2e-reference-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.t2e-reference-card__type {
  margin-bottom: 5px;
  color: #9fc4eb;
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.t2e-reference-card__body strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 820;
  line-height: 1.35;
}

.t2e-reference-card__body > span:last-child {
  margin-top: 6px;
  color: #c9daed;
  font-size: 0.79rem;
  line-height: 1.48;
}

.t2e-reference-card__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.t2e-reference-card__go svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.t2e-reference-card:hover .t2e-reference-card__go svg {
  transform: translateX(3px);
}

/* =========================================================
   10) DISCIPLINE CARDS
   ========================================================= */

.t2e-discipline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.t2e-discipline-card {
  --discipline: var(--t2e-brand);
  --discipline-soft: var(--t2e-brand-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 520px;
  padding: clamp(23px, 2.4vw, 31px);
  overflow: hidden;
  border: 1px solid var(--t2e-border);
  border-top: 5px solid var(--discipline);
  border-radius: var(--t2e-radius-lg);
  background: #ffffff;
  box-shadow: var(--t2e-shadow-sm);
}

.t2e-discipline-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -95px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: var(--discipline-soft);
  opacity: 0.55;
  pointer-events: none;
}

.t2e-discipline-card--civil {
  --discipline: #087985;
  --discipline-soft: #daf4f2;
}

.t2e-discipline-card--mechanical {
  --discipline: #526f91;
  --discipline-soft: #e6eef7;
}

.t2e-discipline-card--electrical {
  --discipline: #5b4bc1;
  --discipline-soft: #ebe8ff;
}

.t2e-discipline-card__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 19px;
}

.t2e-discipline-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  color: var(--discipline);
  background: var(--discipline-soft);
}

.t2e-discipline-card__icon svg {
  width: 39px;
  height: 39px;
  stroke-width: 1.7;
}

.t2e-discipline-card__number {
  display: block;
  margin-bottom: 2px;
  color: var(--discipline);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.t2e-discipline-card h3 {
  margin: 0 !important;
  color: var(--t2e-ink) !important;
}

.t2e-discipline-card > p {
  position: relative;
  z-index: 1;
  margin: 0 0 20px !important;
  color: var(--t2e-muted) !important;
  font-size: 0.9rem !important;
}

.t2e-discipline-links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  margin: 0 0 23px !important;
  padding: 0 !important;
  list-style: none !important;
}

.t2e-discipline-links li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #e6ebf1;
}

.t2e-discipline-links li:last-child {
  border-bottom: 0;
}

.t2e-discipline-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 24px 8px 0;
  color: #314660 !important;
  font-size: 0.83rem;
  font-weight: 760;
  line-height: 1.35;
  text-decoration: none !important;
}

.t2e-discipline-links a::after {
  content: "›";
  position: absolute;
  right: 3px;
  color: var(--discipline);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 180ms ease;
}

.t2e-discipline-links a:hover {
  color: var(--discipline) !important;
}

.t2e-discipline-links a:hover::after {
  transform: translateX(3px);
}

.t2e-discipline-card__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin-top: auto;
  padding: 11px 15px;
  border: 1px solid color-mix(in srgb, var(--discipline) 35%, white);
  border-radius: var(--t2e-pill);
  color: var(--discipline) !important;
  background: var(--discipline-soft);
  font-size: 0.83rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
}

@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .t2e-discipline-card__cta {
    border-color: var(--t2e-border-strong);
  }
}

.t2e-discipline-card__cta:hover {
  color: #ffffff !important;
  border-color: var(--discipline);
  background: var(--discipline);
}

.t2e-discipline-card__cta svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.t2e-discipline-card__cta:hover svg {
  transform: translateX(3px);
}

/* =========================================================
   11) EQUATIONS
   ========================================================= */

.t2e-section--equations {
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 10%, rgba(73, 142, 231, 0.23), transparent 35%),
    linear-gradient(135deg, #091a32 0%, #112d50 100%) !important;
}

.t2e-equations-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
}

.t2e-equations-intro h2,
.t2e-equations-intro p,
.t2e-equations-intro .t2e-kicker {
  color: #ffffff !important;
}

.t2e-equations-intro h2 {
  margin: 0 0 15px !important;
}

.t2e-equations-intro > p:not(.t2e-kicker) {
  max-width: 500px;
  margin: 0 0 25px !important;
  color: #c9d9eb !important;
}

.t2e-equation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.t2e-equation-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--t2e-radius);
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.075);
  text-decoration: none !important;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.t2e-equation-card:hover {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-4px);
}

.t2e-equation-card__formula {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-height: 70px;
  overflow-wrap: anywhere;
  color: #bfe1ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.03rem + 0.72vw, 1.72rem);
  font-weight: 700;
  line-height: 1.3;
}

.t2e-equation-card__name {
  margin-top: 14px;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 820;
  line-height: 1.35;
}

.t2e-equation-card__meta {
  margin-top: 4px;
  color: #aebfd3;
  font-size: 0.72rem;
  line-height: 1.4;
}

/* =========================================================
   12) GUIDES
   ========================================================= */

.t2e-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.t2e-guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 272px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--t2e-border);
  border-radius: var(--t2e-radius);
  color: var(--t2e-ink) !important;
  background: #ffffff;
  box-shadow: var(--t2e-shadow-sm);
  text-decoration: none !important;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.t2e-guide-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--t2e-brand), #5f95d7);
}

.t2e-guide-card--featured::before {
  background: linear-gradient(90deg, #0e7b82, #39a8ae);
}

.t2e-guide-card:hover {
  color: var(--t2e-ink) !important;
  border-color: #adc3dd;
  box-shadow: 0 18px 42px rgba(6, 28, 57, 0.13);
  transform: translateY(-4px);
}

.t2e-guide-card__label {
  margin-bottom: 25px;
  color: var(--t2e-brand-dark);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.t2e-guide-card strong {
  color: var(--t2e-ink);
  font-size: 1.05rem;
  font-weight: 830;
  line-height: 1.38;
}

.t2e-guide-card > span:nth-of-type(2) {
  margin-top: 9px;
  color: var(--t2e-muted);
  font-size: 0.84rem;
  line-height: 1.58;
}

.t2e-guide-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 21px;
  color: var(--t2e-brand-dark);
  font-size: 0.8rem;
  font-weight: 850;
}

.t2e-guide-card__link svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.t2e-guide-card:hover .t2e-guide-card__link svg {
  transform: translateX(4px);
}

/* =========================================================
   13) METHOD / TRUST
   ========================================================= */

.t2e-section--method {
  background: #ffffff;
  border-top: 1px solid #e3e9f1;
}

.t2e-method-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(38px, 7vw, 95px);
  align-items: center;
}

.t2e-method-copy h2 {
  margin: 0 0 15px !important;
}

.t2e-method-copy > p:not(.t2e-kicker) {
  max-width: 510px;
  margin: 0 0 18px !important;
  color: var(--t2e-muted) !important;
}

.t2e-home .t2e-method-copy .t2e-method__notice {
  max-width: 540px;
  margin: 2px 0 20px !important;
  padding: 13px 14px;
  border: 1px solid #d8e4f1;
  border-left: 4px solid var(--t2e-brand);
  border-radius: 10px;
  color: #31465f !important;
  background: #f7faff;
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
}

.t2e-home .t2e-method-copy .t2e-method__notice strong {
  color: var(--t2e-ink);
}

.t2e-method-points {
  display: grid;
  gap: 13px;
}

.t2e-method-points article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 17px;
  align-items: start;
  padding: 19px 20px;
  border: 1px solid var(--t2e-border);
  border-radius: var(--t2e-radius);
  background: var(--t2e-surface-muted);
}

.t2e-method-points__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--t2e-brand);
  font-size: 0.82rem;
  font-weight: 900;
}

.t2e-method-points h3 {
  margin: 1px 0 4px !important;
  color: var(--t2e-ink) !important;
  font-size: 1rem !important;
}

.t2e-method-points p {
  margin: 0 !important;
  color: var(--t2e-muted) !important;
  font-size: 0.84rem !important;
  line-height: 1.55 !important;
}

/* =========================================================
   14) FINAL CTA
   ========================================================= */

.t2e-final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(50px, 6vw, 76px) 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 0%, rgba(88, 183, 255, 0.25), transparent 34%),
    linear-gradient(120deg, #0753aa 0%, #0a68ca 58%, #087b93 100%) !important;
}

.t2e-final-cta::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -190px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,0.035);
}

.t2e-final-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.t2e-final-cta h2,
.t2e-final-cta p,
.t2e-final-cta .t2e-kicker {
  color: #ffffff !important;
}

.t2e-final-cta h2 {
  margin: 0 0 8px !important;
  font-size: clamp(1.7rem, 1.35rem + 1.25vw, 2.45rem) !important;
}

.t2e-final-cta p:not(.t2e-kicker) {
  margin: 0 !important;
  color: #dcecff !important;
}

/* =========================================================
   15) RESPONSIVE LAYOUT
   ========================================================= */

@media (max-width: 1180px) {
  .t2e-tool-grid--four,
  .t2e-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t2e-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .t2e-hero {
    --t2e-hero-header-gap: 26px;
  }

  .t2e-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .t2e-hero__copy {
    max-width: 820px;
  }

  .t2e-resource-router {
    width: 100%;
    max-width: 760px;
  }

  .t2e-discipline-grid {
    grid-template-columns: 1fr;
  }

  .t2e-discipline-card {
    min-height: 0;
  }

  .t2e-equations-layout,
  .t2e-method-layout {
    grid-template-columns: 1fr;
  }

  .t2e-equations-intro {
    max-width: 720px;
  }

  .t2e-method-copy {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .t2e-shell {
    width: min(100% - 28px, var(--t2e-shell));
  }

  .t2e-hero {
    --t2e-hero-top-base: 56px;
    --t2e-hero-header-gap: 24px;
  }

  .t2e-hero__grid {
    gap: 38px;
  }

  .t2e-section-heading--split {
    display: block;
  }

  .t2e-section-heading--split .t2e-text-link {
    margin-top: 15px;
  }

  .t2e-jump-nav__inner {
    justify-content: flex-start;
  }

  .t2e-tool-grid--four,
  .t2e-reference-grid,
  .t2e-guide-grid {
    grid-template-columns: 1fr;
  }

  .t2e-tool-card {
    min-height: 0;
  }

  .t2e-reference-card {
    min-height: 142px;
  }

  .t2e-equation-grid {
    grid-template-columns: 1fr;
  }

  .t2e-equation-card {
    min-height: 165px;
  }

  .t2e-final-cta__inner {
    display: grid;
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .t2e-shell {
    width: min(100% - 24px, var(--t2e-shell));
  }

  .t2e-hero {
    --t2e-hero-top-base: 45px;
    --t2e-hero-header-gap: 22px;
    padding-bottom: 58px;
  }

  .t2e-home h1 {
    font-size: clamp(2.06rem, 1.45rem + 3.5vw, 2.65rem);
  }

  .t2e-home h2 {
    font-size: clamp(1.72rem, 1.42rem + 1.4vw, 2.05rem);
  }

  .t2e-eyebrow {
    font-size: 0.72rem !important;
    letter-spacing: 0.075em !important;
  }

  .t2e-hero__lede {
    font-size: 1rem !important;
  }

  #t2e-home .astra-search-wrapper .search-form,
  .t2e-home .astra-search-wrapper .search-form,
  .t2e-home .t2e-search-form {
    min-height: 58px !important;
    padding: 4px !important;
  }

  .t2e-search-form__icon {
    width: 36px;
    height: 42px;
  }

  .t2e-search-form__icon svg {
    width: 19px;
    height: 19px;
  }

  #t2e-home .astra-search-wrapper .search-form .search-field,
  .t2e-home .astra-search-wrapper .search-form .search-field,
  .t2e-home .search-form input[type="search"],
  .t2e-home .t2e-search-field {
    height: 48px !important;
    min-height: 48px !important;
    padding-inline: 4px !important;
    font-size: 0.92rem !important;
  }

  #t2e-home .astra-search-wrapper .search-form .search-submit,
  .t2e-home .astra-search-wrapper .search-form .search-submit,
  .t2e-home .t2e-search-submit {
    min-width: 50px !important;
    min-height: 48px !important;
    width: 50px !important;
    padding: 10px !important;
  }

  .t2e-search-submit span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .t2e-search-suggestions a {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .t2e-search-suggestions__type {
    justify-self: start;
  }

  .t2e-quick-search {
    align-items: flex-start;
  }

  .t2e-quick-search__label {
    flex-basis: 100%;
  }

  .t2e-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .t2e-home .t2e-hero__actions .t2e-button,
  .t2e-home .t2e-hero__actions .cta-btn {
    width: 100%;
  }

  .t2e-hero__benefits {
    display: grid;
    gap: 9px;
  }

  .t2e-resource-router {
    padding: 19px 17px;
    border-radius: 21px;
  }

  .t2e-route-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .t2e-route-card__arrow {
    display: none;
  }

  .t2e-jump-nav__inner {
    min-height: 56px;
  }

  .t2e-jump-nav__label {
    display: none;
  }

  .t2e-tool-card,
  .t2e-guide-card {
    padding: 20px;
  }

  /* Guide cards do not need desktop-height whitespace on narrow screens. */
  .t2e-guide-card {
    min-height: 225px;
  }

  .t2e-reference-card {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
    min-height: 130px;
    padding: 15px;
  }

  .t2e-reference-card__visual {
    width: 62px;
    height: 62px;
    border-radius: 14px;
  }

  .t2e-reference-card__visual svg {
    width: 46px;
    height: 46px;
  }

  .t2e-reference-card__go {
    display: none;
  }

  .t2e-discipline-card {
    padding: 22px 19px;
    border-radius: 19px;
  }

  .t2e-discipline-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }

  .t2e-discipline-card__icon svg {
    width: 32px;
    height: 32px;
  }

  .t2e-equation-card {
    padding: 20px;
  }

  .t2e-method-points article {
    gap: 13px;
    padding: 17px;
  }

  .t2e-final-cta .t2e-button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .t2e-shell {
    width: min(100% - 20px, var(--t2e-shell));
  }

  .t2e-search-form__icon {
    display: none;
  }

  #t2e-home .astra-search-wrapper .search-form,
  .t2e-home .astra-search-wrapper .search-form,
  .t2e-home .t2e-search-form {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  #t2e-home .astra-search-wrapper .search-form .search-field,
  .t2e-home .astra-search-wrapper .search-form .search-field,
  .t2e-home .search-form input[type="search"],
  .t2e-home .t2e-search-field {
    padding-left: 11px !important;
  }

  .t2e-route-card__icon {
    width: 43px;
    height: 43px;
  }

  .t2e-reference-card__body > span:last-child {
    display: none;
  }
}

/* =========================================================
   16) ACCESSIBILITY, MOTION, FORCED COLORS, AND PRINT
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .t2e-home *,
  .t2e-home *::before,
  .t2e-home *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  .t2e-home {
    --t2e-border: #9baabd;
    --t2e-border-strong: #72849a;
    --t2e-muted: #36485f;
  }

  .t2e-search-form,
  .t2e-tool-card,
  .t2e-reference-card,
  .t2e-discipline-card,
  .t2e-guide-card {
    border-width: 2px !important;
  }
}

@media (forced-colors: active) {
  .t2e-home :where(a, button, input, .t2e-tool-card, .t2e-reference-card, .t2e-discipline-card, .t2e-equation-card, .t2e-guide-card) {
    forced-color-adjust: auto;
  }

  .t2e-eyebrow__dot {
    border: 1px solid CanvasText;
  }
}

@media print {
  .t2e-home {
    overflow: visible;
    color: #000000;
    background: #ffffff;
  }

  .t2e-hero,
  .t2e-section--blue,
  .t2e-section--equations,
  .t2e-final-cta {
    color: #000000 !important;
    background: #ffffff !important;
  }

  .t2e-hero::before,
  .t2e-hero::after,
  .t2e-section--blue::before,
  .t2e-final-cta::before,
  .t2e-jump-nav,
  .t2e-search-wrap,
  .t2e-quick-search,
  .t2e-hero__actions,
  .t2e-final-cta {
    display: none !important;
  }

  .t2e-hero,
  .t2e-section {
    padding: 28px 0 !important;
  }

  .t2e-home h1,
  .t2e-home h2,
  .t2e-home h3,
  .t2e-home p,
  .t2e-hero h1,
  .t2e-hero h2,
  .t2e-hero p,
  .t2e-section-heading--inverse h2,
  .t2e-section-heading--inverse p,
  .t2e-equations-intro h2,
  .t2e-equations-intro p {
    color: #000000 !important;
    text-shadow: none !important;
  }

  .t2e-tool-grid--four,
  .t2e-reference-grid,
  .t2e-discipline-grid,
  .t2e-equation-grid,
  .t2e-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .t2e-tool-card,
  .t2e-reference-card,
  .t2e-discipline-card,
  .t2e-equation-card,
  .t2e-guide-card,
  .t2e-resource-router {
    break-inside: avoid;
    color: #000000 !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }
}


/* =========================================================
   17) FINAL QA OVERRIDES
   ========================================================= */

/* The hero's general white paragraph rule must not wash out the router kicker. */
.t2e-home .t2e-resource-router .t2e-kicker {
  color: var(--t2e-brand-dark) !important;
}

@media (max-width: 560px) {
  .t2e-resource-router__list {
    gap: 4px;
    padding-block: 12px;
  }

  .t2e-route-card {
    min-height: 60px;
    padding: 7px 9px;
    gap: 11px;
  }

  .t2e-route-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .t2e-route-card__icon svg {
    width: 23px;
    height: 23px;
  }

  .t2e-home .t2e-route-card__body > span {
    display: none;
  }

  /* Extra .t2e-home specificity beats the local SVG display reset. */
  .t2e-home .t2e-route-card__arrow,
  .t2e-home .t2e-reference-card__go {
    display: none;
  }
}