/* Shared subpage visual guide. Edit here for every subpage. */
/* Fixed GNB: same navy, spacing and blur on every subpage. */
body > header#header,body > header.sub-header{position:absolute;left:0;top:0;width:100%;z-index:1000;padding:22px 0;transition:.3s}
body > header#header.scrolled,body > header.sub-header.scrolled{position:fixed;background:rgba(14,24,51,.94);backdrop-filter:blur(12px);padding:14px 0;box-shadow:0 8px 28px rgba(0,0,0,.12)}
.sub-hero{height:430px;position:relative;display:flex;align-items:flex-end;overflow:hidden;color:#fff;background:#172242}.sub-hero-bg{position:absolute;inset:-3%;background-size:cover;background-position:center;transform:scale(1.05)}.sub-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,24,51,.90),rgba(23,34,66,.42) 60%,rgba(23,34,66,.20))}.sub-hero .inner{position:relative;z-index:2;box-sizing:border-box;width:min(1350px,100%);margin:0 auto;padding:0 24px 64px}.sub-kicker{font-family:Inter,sans-serif;font-size:12px;font-weight:750;letter-spacing:.19em;text-transform:uppercase;color:#A9D8FF;margin-bottom:12px}.sub-hero h1,.sub-hero .article-hero-category{font-family:Inter,Pretendard,sans-serif;font-size:clamp(44px,5vw,68px);line-height:1.02;letter-spacing:-.045em;margin:0 0 14px}.sub-hero p{margin:0;color:rgba(255,255,255,.75);font-size:16px}.sub-hero .location{position:absolute;right:0;bottom:20px;display:flex;align-items:center;gap:9px;font-size:11px;color:rgba(255,255,255,.58);font-family:Inter,sans-serif}.sub-hero .location strong{color:#fff}
.sub-hero h1,.sub-hero .article-hero-category{font-weight:700}.sub-hero .sub-kicker{line-height:normal}.sub-hero p{line-height:normal}.sub-hero .location i{font-style:italic}
@media(max-width:900px){.sub-hero .location{display:none}}
/* The layout guide is unchanged; only the oversized background moves. */
.sub-hero-bg{inset:-38% -4%;transform:translate3d(0,var(--sub-parallax,0px),0);scale:1;will-change:transform;transition:scale 1.25s cubic-bezier(.2,.65,.3,1)}
@media(hover:hover){.sub-hero:hover .sub-hero-bg{scale:1.025}}
img{transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .65s}
@media(hover:hover){img:hover{transform:scale(1.035)}.brand-logo:hover img,.footer-logo-img:hover{transform:scale(1.02)}a:focus-visible img{transform:scale(1.025)}}
@media(prefers-reduced-motion:reduce){.sub-hero-bg{transform:none!important;will-change:auto}img{transition:none!important}img:hover{transform:none!important}}

.sub-content-layer{position:relative;z-index:1;display:flow-root;background:#f6f5f1;border-radius:32px 32px 0 0;overflow:clip}
@media(prefers-reduced-motion:no-preference){.sub-hero.sub-hero-cover{position:sticky;top:0;z-index:0}.sub-content-layer{box-shadow:0 -16px 38px #0e18331a}}
@media(max-width:700px){.sub-content-layer{border-radius:22px 22px 0 0}}
@media(prefers-reduced-motion:reduce){.sub-hero .sub-hero-bg{scale:1!important;transition:none!important}}
/* Shared content opening rule: title → 65px → 1px rule → 55px → body */
.sub-content-layer{--content-rule:#10223e35;--content-rule-before:65px;--content-rule-after:55px}
.sub-content-layer .page-intro,
.sub-content-layer .design-intro,
.sub-content-layer .sub-content > .intro,
.sub-content-layer .greeting-main > .greeting-heading,
.sub-content-layer .article-content > h1{
  border-bottom:1px solid var(--content-rule);
  padding-bottom:var(--content-rule-before);
  margin-bottom:var(--content-rule-after);
}
/* The heading owns the divider, so adjacent content must not duplicate it. */
.p02-content .form-layout,.p02-content .office-layout,.p02-content .insight-toolbar{border-top:0;padding-top:0}
.p02-content .notice-list{border-top:0}
@media(max-width:800px){
  .sub-content-layer{--content-rule-before:40px;--content-rule-after:32px}
}
/* Notice / Insight: align the toolbar and the first content row. */
.p02-content:has(> .news-page-tabs) > :is(.list-tools,.insight-toolbar){
  box-sizing:border-box;min-height:50px;padding:0;margin:0 0 32px;
  display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;
  border-top:0;
}
.p02-content:has(> .news-page-tabs) > .insight-toolbar > p{margin:0}
@media(max-width:800px){
  .p02-content:has(> .news-page-tabs) > :is(.list-tools,.insight-toolbar){
    min-height:98px;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:16px;
  }
  .p02-content:has(> .news-page-tabs) > .insight-toolbar > a{min-height:50px}
}
/* Align the visible top of the larger News tab labels with subpage kickers. */
.p02-content > .news-page-tabs{margin-top:-3px}

/* Title and breadcrumb share the left start; the supporting hero copy is removed. */
.sub-hero h1,.sub-hero .article-hero-category{margin-bottom:0}
.sub-hero .location{position:static;right:auto;bottom:auto;display:flex;flex-wrap:wrap;gap:9px;margin-top:28px;font-size:11px;line-height:1.6}
.sub-hero .location a{color:inherit;text-decoration:none}
.sub-hero .location a:is(:hover,:focus-visible){color:#fff}
.sub-hero .location a:focus-visible{outline:1px solid currentColor;outline-offset:4px}
.sub-hero .location i{font-style:normal}
.sub-hero .location strong,.sub-hero .location>span:last-child{color:#fff}
.sub-content-layer .page-intro.contact-transport-heading{border-bottom:0;padding-bottom:0;margin-bottom:56px}
@media(max-width:700px){.sub-hero .location{display:flex;margin-top:22px;font-size:10px}}

@media(max-width:800px){.sub-content-layer .page-intro.contact-transport-heading{margin-bottom:36px}}

/* The hero uses the same border-box container + inner gutter as its body. */
.sub-hero:has(+ .sub-content-layer > .article-content) .inner{max-width:940px}


/* Align the final text baselines, rather than differently sized line boxes. */
@media(min-width:801px){
  .sub-content-layer :is(.page-intro,.design-intro){align-items:last baseline}
  .sub-content-layer .page-intro>.insight-intro-copy{position:relative}
  .sub-content-layer .insight-intro-copy>.insight-blog-link{position:absolute;top:100%;left:0;white-space:nowrap}
}

/* Route-specific framing for the portfolio, project consultation and careers photos. */
.portfolio-hero { height: 462px; margin-bottom: -32px; }
.portfolio-hero .inner { padding-bottom: 96px; }
.portfolio-hero .sub-hero-bg { inset: -30% -4%; background-position: 64% calc(50% - 60px); }
.portfolio-hero::after { background: linear-gradient(90deg,rgba(14,24,51,.88),rgba(23,34,66,.28) 60%,rgba(23,34,66,.10)); }
.inquire-hero .sub-hero-bg { background-position: 65% 60%; }
.recruit-hero .sub-hero-bg { background-position: 70% center; }
@media (max-width: 700px) {
  .portfolio-hero .sub-hero-bg { background-size: auto 70%; background-position: 74% center; background-repeat: no-repeat; }
  .inquire-hero .sub-hero-bg { background-position: 64% 60%; }
  .recruit-hero .sub-hero-bg { background-position: 52% center; }
}

@media(max-width:700px){
  .portfolio-hero{height:452px;margin-bottom:-22px}
  .portfolio-hero .inner{padding-bottom:86px}
}
