:root {
  color-scheme: light;
  --ink: #18181b;
  --ink-soft: #52525b;
  --line: #e4e4e7;
  --accent: #0d9488;
  --accent-bright: #5eead4;
  --deep: #042f2e;
  --night: #09090b;
  --surface: #fafafa;
  --content: min(1280px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: 104px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: -.01em;
}
a { color: inherit; text-underline-offset: 3px; }
.shell { width: var(--content); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  background: rgba(9, 9, 11, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .16);
  backdrop-filter: blur(12px);
}
.site-header__inner {
  position: relative;
  z-index: 2;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-lockup { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand-desktop { width: 220px; height: 84px; object-fit: contain; filter: brightness(0) invert(1); }
.brand-mobile { display: none; width: 52px; height: 52px; object-fit: contain; filter: brightness(0) invert(1); }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; font-size: .875rem; font-weight: 500; white-space: nowrap; }
.site-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #f4f4f5;
  text-decoration: none;
  transition: color .2s ease;
}
.site-nav a:not(.site-nav__cta)::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-bright); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .site-nav__cta {
  justify-content: center;
  min-width: 166px;
  padding: 0 18px;
  color: #fff;
  background: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.site-nav .site-nav__cta:hover { color: var(--night); background: var(--accent-bright); transform: translateY(-2px); }
.mobile-toggle { display: none; }
.mobile-drawer { display: none; position: relative; z-index: 1; }

.hero {
  position: relative;
  display: flex;
  min-height: 472px;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--night);
  padding: 98px 0 72px;
}
.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: url("/assets/blog-media/railway-node-1280.webp") center / cover no-repeat;
  filter: grayscale(.38) contrast(1.1) brightness(.63);
  transform: scale(1.035);
}
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(9, 9, 11, .96) 0%, rgba(9, 9, 11, .76) 52%, rgba(9, 9, 11, .46) 100%), linear-gradient(0deg, rgba(9, 9, 11, .84) 0%, transparent 54%);
}
.hero .shell { max-width: 1280px; }
.eyebrow { display: inline-block; margin-bottom: 15px; color: var(--accent-bright); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 950px; margin: 0; font-size: clamp(2.3rem, 4.55vw, 4.25rem); font-weight: 400; }
.hero p { max-width: 770px; margin: 22px 0 0; color: #d4d4d8; font-size: clamp(1rem, 1.7vw, 1.2rem); font-weight: 300; line-height: 1.55; }
.article-page .hero { min-height: 356px; padding: 72px 0 54px; }
.article-page .hero p { max-width: 720px; margin-top: 16px; }

.crumbs { padding: 22px 0; color: var(--ink-soft); font-size: .875rem; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 12px 0 88px; }
.card { display: flex; min-height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-top: 2px solid transparent; background: #fff; box-shadow: 0 14px 32px rgba(9, 9, 11, .05); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.card:hover { border-top-color: var(--accent); box-shadow: 0 20px 42px rgba(9, 9, 11, .12); transform: translateY(-4px); }
.card:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 4px; }
.card-media { display: block; width: 100%; height: clamp(220px, 18vw, 254px); object-fit: cover; background: #d4d4d8; filter: saturate(.84) contrast(1.04); transition: filter .25s ease, transform .35s ease; }
.card:hover .card-media { filter: saturate(1) contrast(1.06); transform: scale(1.025); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 25px 26px 27px; }
.card time, .article-meta { color: #71717a; font-size: .82rem; }
.card h2 { margin: 13px 0 12px; font-size: clamp(1.28rem, 1.75vw, 1.58rem); font-weight: 600; }
.card p { margin: 0; color: var(--ink-soft); }
.read { margin-top: auto; padding-top: 22px; color: var(--accent); font-size: .86rem; font-weight: 700; letter-spacing: .015em; }

.article { width: min(790px, calc(100% - 40px)); margin: 0 auto; padding: 18px 0 88px; font-size: 1.045rem; }
.article h2 { margin: 48px 0 16px; font-size: clamp(1.55rem, 3vw, 2.08rem); font-weight: 500; }
.article h3 { margin: 28px 0 10px; font-size: 1.28rem; font-weight: 600; }
.article p, .article li { color: #3f3f46; }
.article ul { padding-left: 22px; }
.article li + li { margin-top: 9px; }
.article a:not(.cta) { color: #0f766e; }
.article-figure { margin: 22px 0 32px; }
.article-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); object-fit: cover; }
.article-figure figcaption { margin-top: 9px; color: #71717a; font-size: .84rem; }
.note { margin: 34px 0; padding: 24px 26px; border-left: 4px solid var(--accent); background: #f0fdfa; color: #134e4a; }
.cta { display: block; margin-top: 48px; padding: 31px 32px; border: 1px solid rgba(94, 234, 212, .3); background: var(--night); color: #fff; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.cta:hover { background: var(--deep); transform: translateY(-2px); }
.cta:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 4px; }
.cta strong { display: block; font-size: 1.25rem; font-weight: 500; }
.cta span { display: block; margin-top: 8px; color: #ccfbf1; }

.site-footer { padding: 64px 0; border-top: 1px solid #18181b; color: #71717a; background: #09090b; font-size: .75rem; }
.site-footer__inner { width: var(--content); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0 auto; }
.site-footer__brand { display: flex; align-items: center; gap: 24px; }
.site-footer__brand img { width: auto; height: 64px; object-fit: contain; filter: brightness(0) invert(1); }
.site-footer__title { color: #d4d4d8; font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.site-footer__copyright { margin: 4px 0 0; color: #52525b; font-weight: 300; }
.site-footer__links { display: grid; gap: 8px; margin-top: 12px; }
.site-footer a { color: #a1a1aa; transition: color .2s ease; }
.site-footer a:hover { color: var(--accent-bright); }
.site-footer a:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
.site-footer__legal { color: #a1a1aa; font-weight: 300; line-height: 1.55; }
.site-footer__legal strong { display: block; margin-bottom: 8px; color: #d4d4d8; font-size: .875rem; font-weight: 600; }
.site-footer__legal div + div { margin-top: 4px; }
.site-footer__about { display: flex; min-height: 100%; flex-direction: column; justify-content: space-between; color: #52525b; font-weight: 300; line-height: 1.55; }
.site-footer__about small { display: block; margin-top: 4px; color: #3f3f46; font-size: .625rem; }
.site-footer__unio { margin-top: 24px; color: #71717a; }

@media (max-width: 1180px) {
  .site-nav { display: none; }
  .brand-desktop { width: 190px; }
  .mobile-toggle { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: #fff; background: transparent; border: 0; }
  .mobile-toggle:focus-visible, .mobile-drawer a:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
  .mobile-toggle svg { width: 29px; height: 29px; }
  .mobile-drawer { padding: 12px max(24px, calc((100% - 1280px) / 2)); border-top: 1px solid rgba(255, 255, 255, .12); background: #18181b; }
  .mobile-drawer:not([hidden]) { display: grid; gap: 2px; }
  .mobile-drawer a { min-height: 46px; display: flex; align-items: center; color: #e4e4e7; text-decoration: none; font-weight: 500; }
  .mobile-drawer a[aria-current="page"] { color: var(--accent-bright); }
  .mobile-drawer .mobile-drawer__cta { justify-content: center; margin-top: 7px; color: var(--night); background: var(--accent-bright); font-size: .86rem; font-weight: 700; }
}
@media (max-width: 1000px) and (min-width: 761px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  :root { --content: min(100% - 40px, 1280px); }
  body { padding-top: 80px; }
  .site-header__inner { min-height: 80px; }
  .brand-desktop { display: none; }
  .brand-mobile { display: block; }
  .hero { min-height: 368px; padding: 54px 0 42px; }
  .hero::before { background-position: 58% center; }
  .hero::after { background: linear-gradient(90deg, rgba(9, 9, 11, .93) 0%, rgba(9, 9, 11, .67) 100%), linear-gradient(0deg, rgba(9, 9, 11, .82) 0%, transparent 52%); }
  .article-page .hero { min-height: 302px; padding: 40px 0 34px; }
  h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .hero p { margin-top: 16px; font-size: 1rem; }
  .eyebrow { margin-bottom: 12px; font-size: .68rem; }
  .grid { grid-template-columns: 1fr; gap: 18px; padding: 8px 0 56px; }
  .card-media { height: 218px; }
  .card-body { padding: 22px; }
  .article { padding-top: 12px; padding-bottom: 62px; font-size: 1rem; }
  .article h2 { margin-top: 38px; }
  .article-figure { margin: 16px 0 25px; }
  .article-figure img { max-height: 235px; object-fit: cover; }
  .note { padding: 20px; }
  .cta { padding: 25px 22px; }
  .site-footer { padding: 48px 0; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__brand { gap: 18px; }
  .site-footer__brand img { height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
