/* Shared subpage hero: Technology is the visual reference. */
.subpage-hero {
  position: relative;
  box-sizing: border-box;
  height: 400px;
  padding-top: var(--header-height, 76px);
  background: var(--bg-hero, #03060c);
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.subpage-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.subpage-hero-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.72;
  filter: saturate(1.08) contrast(1.05);
}

.subpage-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #03060c 0%, rgba(3, 6, 12, 0.94) 38%, rgba(3, 6, 12, 0.56) 68%, rgba(3, 6, 12, 0.25) 100%),
    linear-gradient(180deg, rgba(3, 6, 12, 0.65) 0%, rgba(3, 6, 12, 0.15) 45%, #03060c 100%);
}

.subpage-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.subpage-hero-copy {
  max-width: 680px;
}

.subpage-hero-title {
  font-size: clamp(2.125rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  margin: 14px 0 16px;
}

.subpage-hero-sub {
  font-size: var(--text-body-lg);
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 0;
}

.subpage-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1023px) {
  .subpage-hero {
    height: 360px;
    min-height: 360px;
    padding: var(--header-height, 76px) 0 0;
  }

  .subpage-hero-img {
    width: 100%;
    opacity: 0.35;
  }

  .subpage-hero-scrim {
    background: linear-gradient(180deg, rgba(3, 6, 12, 0.78) 0%, rgba(3, 6, 12, 0.88) 65%, #03060c 100%);
  }
}


html[lang="ko"] .subpage-hero-title,
html[lang="ko"] .subpage-hero-sub { word-break:keep-all; }

@media (max-width: 767px) {
  .subpage-hero {
    height: auto;
    min-height: 320px;
    padding: calc(var(--header-height, 76px) + 24px) 0 32px;
  }
}

/* Shared secondary menu and location trail, independent of hero height. */
.subpage-navigation{background:#131c2c;border-bottom:1px solid var(--border-strong);color:var(--ink-secondary)}
.subpage-navigation-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:56px}
.subpage-tabs{display:flex;align-items:stretch;gap:28px;min-width:0;overflow-x:auto;scrollbar-width:none}
.subpage-tabs::-webkit-scrollbar{display:none}
.subpage-tab{display:flex;align-items:center;min-height:56px;position:relative;white-space:nowrap;font-size:16px;font-weight:500;color:var(--ink-secondary);text-decoration:none}
.subpage-tab:hover,.subpage-tab[aria-current="page"]{color:var(--ink-primary)}
.subpage-tab[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--accent-blue)}
.subpage-breadcrumb{display:flex;align-items:center;justify-content:flex-end;gap:9px;font-size:13px;line-height:1.5;flex-shrink:0}
.subpage-breadcrumb a{color:inherit;text-decoration:none}
.subpage-breadcrumb a:hover{color:var(--ink-primary)}
.subpage-home{display:inline-flex;align-items:center}
.subpage-home svg{width:16px;height:16px}
.subpage-crumb-separator{color:var(--ink-muted);font-size:17px}
.subpage-current{color:var(--ink-primary)}
@media(max-width:767px){.subpage-navigation-inner{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0}.subpage-tabs{gap:24px}.subpage-tab{min-height:48px;font-size:15px}.subpage-breadcrumb{justify-content:flex-start;flex-wrap:wrap;border-top:1px solid var(--border-hairline);min-height:40px;padding:8px 0;font-size:12px}}

/* Coordinated wide hero photographs already include a dark text-safe area. */
.subpage-hero-img[src*="swirlx-hero-"]{width:100%;height:100%;object-fit:cover;object-position:center right;opacity:1;filter:none}
.subpage-hero-bg:has(.subpage-hero-img[src*="swirlx-hero-"]) .subpage-hero-scrim{background:linear-gradient(90deg,rgba(3,6,12,.36),rgba(3,6,12,.18) 45%,transparent 75%),linear-gradient(180deg,rgba(3,6,12,.2),transparent 45%,rgba(3,6,12,.12))}
@media(max-width:1023px){.subpage-hero-bg:has(.subpage-hero-img[src*="swirlx-hero-"]) .subpage-hero-scrim{background:linear-gradient(90deg,rgba(3,6,12,.88),rgba(3,6,12,.52) 65%,rgba(3,6,12,.25))}}
@media(max-width:767px){.subpage-hero-bg:has(.subpage-hero-img[src*="swirlx-hero-"]) .subpage-hero-scrim{background:linear-gradient(90deg,rgba(3,6,12,.88),rgba(3,6,12,.65)),linear-gradient(0deg,rgba(3,6,12,.45),transparent)}}

/* Careers v5: shift the crop down by 40px without changing image scale or hero geometry. */
.subpage-hero-img[src*="swirlx-hero-careers-v5.webp"]{object-position:right calc(50% + 40px)}

/* Remove eyebrow labels from all subpage heroes. */
.subpage-hero .subpage-hero-copy > .eyebrow{display:none}

/* Balance the brighter architectural photograph with a text-safe navy gradient. */
.subpage-hero-bg:has(.subpage-hero-img[src*="swirlx-hero-company-v3"]) .subpage-hero-scrim{background:linear-gradient(90deg,rgba(3,6,12,.96) 0%,rgba(3,6,12,.86) 30%,rgba(3,6,12,.70) 46%,rgba(3,6,12,.22) 65%,transparent 85%),linear-gradient(180deg,rgba(3,6,12,.2),transparent 45%,rgba(3,6,12,.12))}
@media(max-width:767px){.subpage-hero-bg:has(.subpage-hero-img[src*="swirlx-hero-company-v3"]) .subpage-hero-scrim{background:linear-gradient(90deg,rgba(3,6,12,.94),rgba(3,6,12,.66)),linear-gradient(0deg,rgba(3,6,12,.45),transparent)}}
