:root {
  --gl-bg: #EDE6D8;
  --gl-bg-alt: #E2D9C8;
  --gl-surface: rgba(255, 255, 255, 0.58);
  --gl-surface-raised: rgba(255, 255, 255, 0.72);
  --gl-ink: #1B2A4A;
  --gl-ink-muted: #5A6478;
  --gl-ink-subtle: #7A8496;
  --gl-accent: #2E5090;
  --gl-accent-light: #4A7FD4;
  --gl-accent-ink: #F4F0E8;
  --gl-line: rgba(27, 42, 74, 0.14);
  --gl-glow: rgba(74, 127, 212, 0.35);
  --gl-sand-deep: #D4C4A8;
  --gl-cobalt-deep: #152644;
  --gl-font-display: ui-serif, Georgia, "Times New Roman", serif;
  --gl-font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gl-radius: 12px;
  --gl-radius-lg: 18px;
  --gl-duration: 0.28s;
  --gl-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell-max: 1440px;
  --rail-width: 280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.era-page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--gl-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gl-ink);
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(74, 127, 212, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(212, 196, 168, 0.45), transparent 50%),
    linear-gradient(165deg, var(--gl-bg) 0%, var(--gl-bg-alt) 100%);
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 2160px;
  margin: 0 auto;
}

.side-rail {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(237, 230, 216, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gl-line);
}

.site-header {
  padding: 0.75rem 1rem;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  max-width: var(--shell-max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--gl-ink);
  font-weight: 600;
  font-size: 14px;
  min-width: 0;
}

.brand-logo {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  max-width: 64px;
  max-height: 64px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, var(--gl-accent) 0%, var(--gl-accent-light) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.brand span small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--gl-ink-muted);
  margin-top: 0.15rem;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  flex: 1 1 auto;
}

.site-header nav a,
.header-cta,
.footer-grid a {
  font-size: 14px;
  text-decoration: none;
  color: var(--gl-ink);
}

.site-header nav a:hover,
.header-cta:hover,
.footer-grid a:hover {
  color: var(--gl-accent);
}

.header-cta {
  margin-left: auto;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--gl-accent);
  color: var(--gl-accent-ink);
  font-weight: 600;
  white-space: nowrap;
}

.page-main {
  min-width: 0;
}

main {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.section-inner {
  width: 100%;
}

.glass-panel,
.glass-card {
  background: var(--gl-surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 12px 32px rgba(21, 38, 68, 0.08);
}

.hero {
  padding: 1.25rem 0 2rem;
}

.era-hero-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.hero-copy {
  padding: 1.35rem 1.25rem;
  border-radius: var(--gl-radius-lg);
}

.eyebrow,
.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gl-accent);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3,
.footer-grid h3 {
  font-family: var(--gl-font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--gl-cobalt-deep);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.lead,
.section-heading p,
.card p,
.chapter p,
.process-list p,
.geo-chip span,
.contact-grid p,
.footer-grid p {
  font-size: clamp(14px, 1.05vw, 17px);
  color: var(--gl-ink-muted);
  margin: 0 0 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--gl-duration) var(--gl-ease), color var(--gl-duration) var(--gl-ease), box-shadow var(--gl-duration) var(--gl-ease);
}

.button-primary {
  background: linear-gradient(135deg, var(--gl-accent) 0%, var(--gl-accent-light) 100%);
  color: var(--gl-accent-ink);
  box-shadow: 0 8px 24px var(--gl-glow);
}

.button-secondary {
  background: var(--gl-surface-raised);
  color: var(--gl-ink);
  border: 1px solid var(--gl-line);
}

.button:hover {
  filter: brightness(1.05);
}

.geo-line {
  font-size: 14px;
  color: var(--gl-ink-subtle);
}

.hero-visual {
  width: 100%;
  height: clamp(220px, 24vw, 400px);
  max-height: 52vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--gl-radius-lg);
  background:
    linear-gradient(145deg, rgba(21, 38, 68, 0.06), rgba(74, 127, 212, 0.08)),
    var(--gl-sand-deep);
  border: 1px solid var(--gl-line);
}

.era-section {
  padding: 2.5rem 0;
}

.era-section-alt {
  position: relative;
}

.era-section-alt::before {
  content: "";
  position: absolute;
  inset: 0 -999px;
  background: rgba(255, 255, 255, 0.22);
  z-index: -1;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

.cards-grid {
  display: grid;
  gap: 1rem;
}

.era-cards {
  grid-template-columns: 1fr;
}

.card {
  padding: 1.15rem 1.1rem;
  border-radius: var(--gl-radius);
}

.card-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gl-accent);
  margin-bottom: 0.35rem;
}

.card small {
  display: block;
  margin-top: 0.65rem;
  font-size: 12px;
  color: var(--gl-ink-subtle);
}

.card-icon,
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.65rem;
  border-radius: 8px;
  background: rgba(46, 80, 144, 0.12);
  position: relative;
}

.card-icon::after,
.step-icon::after {
  content: "";
  width: 1rem;
  height: 1rem;
  background: var(--gl-accent);
  opacity: 0.85;
  border-radius: 2px;
}

.card-icon[data-icon="monitor"]::after,
.step-icon[data-icon="monitor"]::after {
  clip-path: polygon(0 20%, 100% 20%, 100% 100%, 0 100%);
  border-radius: 0 0 2px 2px;
}

.card-icon[data-icon="flame"]::after,
.step-icon[data-icon="flame"]::after {
  clip-path: polygon(50% 0, 100% 55%, 65% 100%, 35% 100%, 0 55%);
}

.card-icon[data-icon="document"]::after,
.step-icon[data-icon="document"]::after {
  clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%);
}

.card-icon[data-icon="tools"]::after,
.step-icon[data-icon="tools"]::after {
  clip-path: polygon(20% 0, 45% 25%, 100% 25%, 100% 45%, 45% 45%, 45% 100%, 20% 100%);
}

.card-icon[data-icon="delivery"]::after,
.step-icon[data-icon="delivery"]::after {
  clip-path: polygon(0 35%, 55% 35%, 70% 15%, 100% 15%, 100% 65%, 0 65%);
}

.card-icon[data-icon="crane"]::after {
  clip-path: polygon(0 100%, 0 30%, 70% 30%, 70% 0, 100% 0, 100% 45%, 70% 45%, 70% 100%);
}

.card-icon[data-icon="airflow"]::after {
  border-radius: 50%;
  width: 0.75rem;
  height: 0.75rem;
}

.card-icon[data-icon="ticket"]::after {
  clip-path: polygon(0 15%, 15% 15%, 15% 0, 85% 0, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0 85%);
}

.card-icon[data-icon="bolt"]::after {
  clip-path: polygon(45% 0, 100% 55%, 60% 55%, 75% 100%, 0 40%, 40% 40%);
}

.guide-body {
  padding: 1.25rem;
  border-radius: var(--gl-radius-lg);
}

.chapter + .chapter {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gl-line);
}

.chapter ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.chapter li {
  font-size: clamp(14px, 1.05vw, 16px);
  color: var(--gl-ink-muted);
  margin-bottom: 0.45rem;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.process-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
  border-radius: var(--gl-radius);
}

.geo-chips {
  display: grid;
  gap: 0.85rem;
}

.geo-chip {
  padding: 1rem;
  border-radius: var(--gl-radius);
}

.geo-chip strong {
  display: block;
  font-size: 14px;
  margin-bottom: 0.35rem;
  color: var(--gl-cobalt-deep);
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
}

.era-footer {
  margin-top: 2rem;
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--gl-line);
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  font-size: 16px;
  color: var(--gl-cobalt-deep);
}

.footer-grid h3 {
  font-size: 14px;
  margin-bottom: 0.5rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.35rem;
}

.footer-coverage {
  font-size: 14px;
  color: var(--gl-ink-muted);
}

@media (min-width: 820px) {
  .page-shell {
    grid-template-columns: var(--rail-width) minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }

  .side-rail {
    height: 100vh;
    border-bottom: none;
    border-right: 1px solid var(--gl-line);
    padding: 1.25rem 1rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    max-width: none;
    height: 100%;
    gap: 1.5rem;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .site-header nav {
    flex-direction: column;
    gap: 0.65rem;
  }

  .header-cta {
    margin-left: 0;
    margin-top: auto;
    width: 100%;
    text-align: center;
  }

  .page-main {
    padding: 1rem 1.25rem 0 0;
  }

  main {
    padding: 0 1.5rem 3rem 0.5rem;
  }

  .era-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.5rem;
  }

  .era-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .era-cards-dense,
  .era-editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .geo-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (min-width: 1440px) {
  :root {
    --rail-width: 300px;
  }

  .era-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 2rem;
  }

  .era-editorial-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-copy {
    padding: 1.75rem 1.5rem;
  }
}

@media (min-width: 2160px) {
  .page-shell {
    max-width: 2040px;
    padding: 0 2rem;
  }

  main {
    max-width: none;
  }

  .era-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, 560px);
  }
}

@media (max-width: 819px) {
  .side-rail {
    position: relative;
  }

  .header-cta {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }

  .hero-visual {
    max-height: 38vh;
  }
}

@media (max-width: 389px) {
  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body .fact-disclaimer,footer .footer-coverage{font-size:max(14px,.875rem)!important;line-height:1.5!important;color:inherit!important;opacity:1!important}.contact-form,.contact-form fieldset,.contact-form input,.contact-form textarea,.contact-form select{min-width:0;max-width:100%;box-sizing:border-box}.contact-form button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.era-section-alt::before{inset:0}
