/* Shared refinement layer: readable type, clear focus and compact motion. */
:root { --polish-muted: #536473; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #bd8500; outline-offset: 5px; }
.site-header { background: rgba(8,28,47,.92); }
.global-nav__core a, .global-nav__more summary { min-height: 44px; display: flex; align-items: center; }
.global-nav__more > div a { font-size: 14px; }
.menu-button { min-width: 64px; min-height: 44px; }
.site-footer__groups nav a { font-size: 14px; padding-block: 7px; }
.site-footer__brand p { font-size: 14px; }
.mobile-recruit { display: none; }
/* Text that carries meaning must remain readable on every page. */
main :is(article p, li p, dd, .section-lead, .hs2-answer p, .hs2-growth p, .hs2-adults p, .hs2-action p, .career5-paths article p, .company6-history li p) { font-size: 15px; line-height: 1.95; }
main :is(.people4-story__layout > div > p:last-child, .people4-team__layout > div > p:not(.people4-eyebrow), .company6-about__body > p:not(.company6-about__lead), .career5-uturn__layout > div > p:not(.career5-eyebrow)) { font-size: 15px; }
.top-polished .section { padding-block: clamp(72px,8vw,112px); }
.top-polished .section-title { font-size: clamp(30px,3.5vw,46px); line-height: 1.5; letter-spacing: .02em; }
.top-polished .section-kicker { color: #7a5c17; font-size: 11px; letter-spacing: .17em; }
.top-polished .hero { min-height: 820px; height: auto; max-height: none; }
.top-polished .hero .hero__visual { inset: 78px 0 0 43%; padding: 0; border: 0; }
.top-polished .hero .hero__visual img { object-position: 54% center; }
.top-polished .hero__visual::after { background: linear-gradient(0deg,rgba(8,28,47,.22),transparent 40%); }
.top-polished .hero__shade { inset: 0; width: 100%; height: 100%; background: linear-gradient(90deg,#081c2f 0%,#081c2f 29%,rgba(8,28,47,.87) 43%,rgba(8,28,47,.1) 65%); }
.top-polished .hero__content { padding-top: clamp(130px,16vh,175px); padding-bottom: 58px; }
.top-polished .hero h1 { font-size: clamp(44px,5.4vw,76px); line-height: 1.35; letter-spacing: .02em; }
.top-polished .hero__lead { font-size: 15px; max-width: 43%; font-weight: 500; }
.top-polished .hero-choice { max-width: 44%; gap: 10px; }
.top-polished .hero-choice a { min-height: 58px; font-size: 15px; transition: background .2s; }
.top-polished .hero-choice a:hover { background: #ffe493; color: var(--navy); }
.top-polished .hero-work-index { max-width: 44%; border-bottom: 0; margin-top: 22px; }
.top-polished .hero-work-index a { display: flex; align-items: center; gap: 8px; min-height: 34px; font-size: 13px; }
.top-polished .hero__note { font-size: 10px; letter-spacing: .1em; }
.life-story { background: #f7f5ef; }
.life-story__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 7%; align-items: center; }
.life-story h2, .visit-invite h2 { margin: 0 0 28px; font-size: clamp(30px,3.3vw,46px); line-height: 1.55; }
.life-story h2 em { font-style: normal; background: linear-gradient(transparent 78%,#f5c542 78%); }
.life-story p:not(.section-kicker), .visit-invite p:not(.section-kicker) { font-size: 15px; line-height: 2; }
.life-story .text-link { margin-top: 20px; padding-block: 10px; }
.life-story figure { margin: 0; }
.life-story figure img { width: 100%; aspect-ratio: 1.16; object-fit: cover; border-radius: 48% 48% 2px 2px; }
.life-story figcaption { font-size: 11px; color: #63717b; margin-top: 12px; text-align: right; }
.top-polished .top-audience { background: #fff; }
.top-polished .top-audience-card { padding: 40px; min-height: 360px; }
.top-polished .top-audience-card small { font-size: 11px; }
.top-polished .top-audience-card p { font-size: 15px; }
.top-polished .top-audience-card--student > div { width: 70%; }
.top-polished .top-audience-card--student a, .top-polished .top-audience-card--career strong { font-size: 15px; margin-top: 28px; padding-block: 18px; }
.top-polished .top-audience-card--career { background: linear-gradient(135deg,#21465e,#081c2f); }
.work-preview { background: #f0f3f3; }
.work-preview__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.work-preview__grid > a { background: #fff; }
.work-preview__photo { position: relative; overflow: hidden; }
.work-preview__photo img { width: 100%; aspect-ratio: 4/5; height: auto; object-fit: cover; transition: transform .5s; }
.work-preview__photo > span { position: absolute; left: 18px; bottom: 8px; color: white; font: 700 54px/1 Arial,sans-serif; text-shadow: 0 2px 14px #102a43; }
.work-preview__body { padding: 22px 18px; }
.work-preview__body small { color: #6d7478; font: 700 10px/1 Arial,sans-serif; letter-spacing: .15em; }
.work-preview__body h3 { font-size: 26px; color: var(--navy); margin: 12px 0; display: flex; justify-content: space-between; align-items: center; }
.work-preview__body h3 span { font-size: 18px; }
.work-preview__body p { margin: 0; font-size: 14px; letter-spacing: 0; }
.work-preview__grid a:hover img { transform: scale(1.045); }
.top-polished .top-discovery-grid > a { min-height: 410px; border: 0; box-shadow: none; }
.top-polished .top-discovery-grid img { position: absolute; inset: 0; filter: none; }
.top-polished .top-discovery-grid a > div { padding: 65px 26px 28px; background: linear-gradient(transparent,rgba(8,28,47,.96)); }
.top-polished .top-discovery-grid p { font-size: 14px; }
.top-polished .top-discovery-grid small { font-size: 11px; }
.top-polished .top-media__heading { grid-template-columns: 1.15fr .85fr; gap: 20px 48px; }
.top-polished .top-media__heading > p { font-size: 15px; }
.top-polished .top-media__heading > a { grid-column: 2; width: fit-content; font-size: 14px; padding-block: 10px; }
.top-polished .top-media-list span { font-size: 13px; color: #735814; }
.top-polished .top-media-list strong { font-size: 18px; }
.top-polished .top-media-list a { transition: background .2s,padding .2s; }
.top-polished .top-media-list a:hover { background: #fff; padding-left: 24px; }
.visit-invite { background: #f6cc56; }
.visit-invite__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: center; max-width: 960px; }
.visit-invite__character { position: relative; }
.visit-invite__character img { width: 100%; filter: drop-shadow(0 18px 15px #8d650226); }
.visit-invite__character > span { display: block; width: fit-content; margin: 0 auto; padding: 9px 18px; border: 1px solid #102a43; border-radius: 25px; background: #fff7df; font-size: 14px; font-weight: 700; }
.visit-invite .visit-invite__note { font-size: 13px; }
.visit-invite__career { display: inline-block; padding-block: 12px; border-bottom: 1px solid currentColor; font-size: 14px; }
[data-mascot].mascot-greeting { animation: mascot-greeting 1.6s ease-in-out 1; transform-origin: 50% 90%; }
@keyframes mascot-greeting { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-5deg) translateY(-7px); } 55% { transform: rotate(4deg); } 80% { transform: rotate(-2deg); } }
@media (max-width: 980px) and (min-width: 761px) {
 .top-polished .hero { min-height: 730px; }
 .top-polished .hero h1 { max-width: 57%; font-size: 53px; }
 .top-polished .hero__lead, .top-polished .hero-choice, .top-polished .hero-work-index { max-width: 54%; }
 .top-polished .hero__shade { background: linear-gradient(90deg,#081c2f 15%,#081c2fe8 43%,#081c2f22 90%); }
 .life-story__grid { gap: 4%; grid-template-columns: 1fr 1fr; }
 .work-preview__grid { grid-template-columns: repeat(2,1fr); }
 .work-preview__photo img { aspect-ratio: 4/3; }
}
@media (max-width: 760px) {
 body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
 .mobile-recruit { position: fixed; z-index: 90; bottom: 0; inset-inline: 0; display: grid; grid-template-columns: 1.25fr 1fr; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; background: #fff; box-shadow: 0 -3px 20px #081c2f18; }
 .mobile-recruit a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--yellow); font-size: 14px; font-weight: 700; }
 .mobile-recruit a + a { background: var(--navy); color: white; }
 .menu-open .mobile-recruit { visibility: hidden; }
 .top-polished .hero { height: auto; min-height: 0; max-height: none; padding-bottom: 25px; }
 .top-polished .hero .hero__visual { inset: 64px 0 auto; height: 325px; padding: 0; }
 .top-polished .hero .hero__visual img { object-position: center 38%; }
 .top-polished .hero__shade { inset: 64px 0 auto; height: 360px; background: linear-gradient(0deg,#081c2f 0%,#081c2f77 23%,transparent 65%); }
 .top-polished .hero__content { padding-top: 315px; }
 .top-polished .hero .eyebrow { font-size: 10px; margin-bottom: 20px; }
 .top-polished .hero h1 { max-width: none; font-size: clamp(35px,10.1vw,60px); }
 .top-polished .hero__lead { max-width: none; font-size: 14px; margin: 23px 0; }
 .top-polished .hero-choice { max-width: none; }
 .top-polished .hero-choice a { min-height: 54px; padding: 13px 15px; font-size: 14px; }
 .top-polished .hero-work-index { max-width: none; grid-template-columns: repeat(4,1fr); padding: 8px 0 0; margin-top: 18px; }
 .top-polished .hero-work-index li { padding: 0; border-bottom: 0; }
 .top-polished .hero-work-index a { font-size: 11px; gap: 4px; }
 .life-story__grid, .visit-invite__grid { grid-template-columns: 1fr; gap: 38px; }
 .life-story h2 br:nth-of-type(2) { display: none; }
 .life-story h2 { font-size: clamp(28px,8vw,40px); }
 .life-story figure img { aspect-ratio: 1.25; }
 .top-polished .top-audience-card { padding: 28px 24px; min-height: 320px; }
 .top-polished .top-audience-card--student > div { width: 76%; }
 .top-polished .top-audience-card--student > img { width: 38%; right: -9%; bottom: 10%; }
 .top-polished .top-audience-card h3 { font-size: 30px; }
 .top-polished .top-audience-card p { font-size: 14px; }
 .top-polished .top-audience-card--career { min-height: 280px; }
 .work-preview__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 12px; }
 .work-preview__body { padding: 17px 12px; }
 .work-preview__body h3 { font-size: 23px; }
 .work-preview__body p { font-size: 13px; }
 .work-preview__photo > span { font-size: 40px; left: 12px; }
 .top-polished .top-discovery-grid > a { min-height: 330px; }
 .top-polished .top-media__heading { display: block; }
 .top-polished .top-media__heading > p { margin: 24px 0 14px; }
 .top-polished .top-media__heading > a { display: inline-block; }
 .top-polished .top-media-list a { grid-template-columns: 1fr auto; gap: 8px; padding: 23px 0; }
 .top-polished .top-media-list span { grid-column: 1; }
 .top-polished .top-media-list strong { grid-column: 1; font-size: 16px; }
 .top-polished .top-media-list b { grid-column: 2; grid-row: 1/3; }
 .visit-invite__character { max-width: 230px; margin: auto; }
 .visit-invite__grid { gap: 25px; }
 .visit-invite h2 { font-size: 34px; }
 .visit-invite .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation: none !important; transition: none !important; }
}
.life-story figure img, .visit-invite__character img { height: auto; }
/* Light hero pages keep a matching white header and dark navigation. */
:is(.people4-page, .company6-page) .site-header:not(.is-menu-open) { background: rgba(247,245,239,.97); color: var(--navy); }
:is(.people4-page, .company6-page) .site-header .button--career { color: var(--navy); border-color: var(--navy); background: transparent; }
@media (max-width: 760px) {
 .top-polished .hero__shade { background: linear-gradient(0deg,#081c2f 0%,#081c2f 12%,#081c2f77 35%,transparent 75%); }
}
/* Use the compact menu throughout tablet widths, too. */
@media (min-width: 761px) and (max-width: 980px) {
 .menu-button { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; cursor: pointer; }
 .menu-button__label { font: 800 11px/1 Arial,sans-serif; }
 .menu-button__lines { position: relative; width: 25px; height: 18px; }
 .menu-button__lines i { position: absolute; left: 0; width: 25px; height: 2px; background: currentColor; }
 .menu-button__lines i:first-child { top: 4px; }
 .menu-button__lines i:last-child { top: 12px; }
 .global-nav { position: fixed; inset: 78px 0 0; padding: 35px; color: var(--navy); background: var(--off-white); overflow-y: auto; visibility: hidden; opacity: 0; }
 .site-header.is-menu-open .global-nav { visibility: visible; opacity: 1; }
 .global-nav--renewal .global-nav__core { display: block; width: 100%; }
 .global-nav__core a { padding: 15px 0; border-bottom: 1px solid var(--line); }
 .global-nav--renewal .global-nav__more { width: 100%; }
 .global-nav__actions { display: grid; width: 100%; }
}
@media (max-width: 760px) { body.top-polished { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } }
/* Five fields: electrical work and civil engineering. */
.top-polished .hero-work-index { grid-template-columns: repeat(5,minmax(0,1fr)); }
.top-polished .hero-work-index a { gap: 5px; font-size: 12px; white-space: nowrap; }
.work-preview__grid, .work2-selector, .work2-compare-grid, .hs2-work-strip { grid-template-columns: repeat(5,minmax(0,1fr)); }
.work-preview__body { padding-inline: 15px; }
.work-preview__body small { font-size: 9px; letter-spacing: .08em; }
.work2-selector a { min-height: 420px; }
.work2-selector img { position: absolute; inset: 0; }
.work2-selector a > div { padding-inline: 15px; }
.work2-selector small { font-size: 12px; }
.work2-compare-grid article { padding-inline: 18px; }
.work2-compare-grid dt { font-size: 12px; }
.work2-compare-grid dd { font-size: 14px; }
.hs2-work-strip img { height: auto; aspect-ratio: 3/4; }
.hs2-work-strip figcaption small { font-size: 12px; }
.work2-entry--doboku { background: #f2f1e9; }
.work2-entry--doboku .work2-entry__sub { border-color: #f2f1e9; }
.work2-department { display: inline-block; margin-left: 18px; font-size: 16px; color: #65717c; }
.work2-civil-note { font-size: 15px; line-height: 1.95; }
@media (min-width: 761px) and (max-width: 1100px) {
 .work-preview__grid, .work2-selector, .hs2-work-strip { grid-template-columns: repeat(6,minmax(0,1fr)); }
 .work-preview__grid > a, .work2-selector > a, .hs2-work-strip > figure { grid-column: span 2; }
 .work-preview__grid > a:nth-child(4), .work2-selector > a:nth-child(4), .hs2-work-strip > figure:nth-child(4) { grid-column: 2 / span 2; }
 .work2-selector a { min-height: 310px; }
 .work2-compare-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .hs2-work-strip img { aspect-ratio: 4/3; }
}
@media (max-width: 760px) {
 .top-polished .hero-work-index a { font-size: 11px; gap: 3px; }
 .top-polished .hero-work-index li { border-right: 1px solid rgba(255,255,255,.22); }
 .top-polished .hero-work-index li:last-child { border: 0; }
 .work-preview__grid, .work2-selector, .hs2-work-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .work-preview__grid > a:last-child, .work2-selector > a:last-child, .hs2-work-strip > figure:last-child { grid-column: 1 / -1; }
 .work-preview__grid > a:last-child { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
 .work2-selector a { min-height: 250px; }
 .work2-selector a:last-child { min-height: 245px; }
 .work2-selector a:last-child img { object-position: center 55%; }
 .hs2-work-strip img { aspect-ratio: 4/3; }
 .hs2-work-strip > figure:last-child img { aspect-ratio: 2/1; }
 .work2-compare-grid { grid-template-columns: 1fr; }
 .work2-compare-grid article { grid-template-columns: 38px 58px 1fr; gap: 5px; padding: 20px 12px; }
 .work2-compare-grid dl div { grid-template-columns: 1fr; gap: 3px; }
}
@media (max-width:640px) {
 .people4-hero__copy h1 { font-size:clamp(27px,8.3vw,38px); }
 .people4-hero__copy h1 em { white-space:nowrap; }
}

/* Launch readability: readable body copy and deliberate phrase breaks. */
body { font-size: 18px; }
main p, main dd, main li, main label { font-size: 17px !important; line-height: 1.9; }
main small, main figcaption, .site-footer p, .site-footer small { font-size: 14px !important; line-height: 1.8; }
main a:not([class]), .global-nav a, .site-footer nav a { font-size: 16px; }
main h1, main h2, main h3 { word-break: normal; overflow-wrap: normal; text-wrap: pretty; }
.phrase { display: block; }
.global-nav__requirements { font-weight: 700; padding: 12px 0; white-space: nowrap; }
.work2-heading { grid-template-columns: 1fr; gap: 16px; }
#compare-title { white-space: nowrap; font-size: clamp(26px, 5.5vw, 52px); }
#hs2-hero-title { font-size: clamp(28px, 3.5vw, 49px); }
#hs2-hero-title .phrase { white-space: nowrap; }
.people4-hero h1 { font-size: clamp(28px, 4.2vw, 60px); }
.people4-hero h1 .phrase { white-space: nowrap; }
.company6-trust__grid { grid-template-columns: 1fr; }
.graduate-entry .button { margin: 16px 12px 0 0; }
@media (max-width: 767px) {
 main p, main dd, main li, main label { font-size: 16px !important; }
 .button { min-height: 48px; }
 #hs2-hero-title { font-size: clamp(24px, 6.3vw, 39px); }
 .people4-hero h1 { font-size: clamp(25px, 6.6vw, 42px); }
 main h2 .phrase { line-height: 1.5; }
}
main dt { font-size: 15px !important; line-height: 1.7; }
main .button { font-size: 16px; }

/* Shared logo, navigation rhythm, and phrase-aware heading layout. */
.brand__logo { flex: 0 0 52px; width: 52px; height: 52px; object-fit: cover; border-radius: 50%; background: #fff; }
.site-header .global-nav a { font-size: 16px !important; line-height: 1.5; font-weight: 700; letter-spacing: .02em; }
.site-header .global-nav__core a, .site-header .global-nav__requirements { display: flex; align-items: center; min-height: 48px; }
.site-header .global-nav__actions .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding-block: 12px; }
.heading-unit { display: inline-block; max-width: 100%; vertical-align: top; }
main h2 { line-height: 1.45; }
main h3 { line-height: 1.5; }
main h1, main h2, main h3 { overflow-wrap: normal; line-break: strict; }
.work2-entry__content, .people4-hero__copy, .company6-profile__layout > div, .hs2-growth__layout > div, .career5-hero__copy { min-width: 0; }
.work-preview__body { display: flex; flex-direction: column; height: auto; min-height: 176px; }
.work-preview__body h3 { margin-block: 10px; }
.work-preview__body p { margin-top: auto; }
.work2-selector a > div { height: auto; min-height: 160px; }
.work2-selector small { display: block; line-height: 1.7; }
.hs2-work-strip figcaption { min-height: 130px; height: auto; }
.hs2-work-strip figcaption small { display: block; line-height: 1.7; }
.hs2-question-nav a { height: auto; min-height: 132px; align-items: center; }
.hs2-question-nav strong { line-height: 1.6; }
.people4-hero__copy h1 { font-size: clamp(28px, 3.3vw, 48px); line-height: 1.5; }
.people4-hero__copy { padding-bottom: 0; }
.people4-story h2 .phrase { white-space: nowrap; }
.company6-work-list a { min-height: 100px; height: auto; }
.job-hero h1 { line-height: 1.45; }
.job-facts dt, .job-facts dd { line-height: 1.8; }
@media (min-width: 761px) and (max-width: 1100px) {
 .people4-hero { grid-template-columns: 1fr; }
 .people4-hero__portraits { min-height: 560px; }
 .hs2-work-strip figcaption { min-height: 120px; }
}
@media (max-width: 760px) {
 .brand__logo { flex-basis: 42px; width: 42px; height: 42px; }
 .site-header .global-nav a { font-size: 18px !important; }
 .site-header .global-nav__requirements { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); }
 main h2 { font-size: clamp(25px, 7vw, 34px); }
 .hs2-section-title, .people4-story h2, .people4-next h2, .company6-heading h2 { font-size: clamp(25px, 7vw, 34px); line-height: 1.5; }
 .people4-hero__copy h1 { font-size: clamp(24px, 6.5vw, 36px); }
 .work2-team h2 { font-size: clamp(25px, 6.4vw, 32px); }
 .work-preview__body { min-height: 188px; }
 .hs2-work-strip figcaption { min-height: 140px; }
 .hs2-question-nav a { min-height: 164px; padding: 18px 14px; }
 .hs2-answer h3 { font-size: 23px; line-height: 1.55; }
 .company6-work-list a { gap: 12px; }
 .company6-work-list p { grid-column: 2 / -1; }
}
/* Page-wide photograph rules must not stretch the brand logo. */
.site-header .brand > .brand__logo, .site-footer .brand > .brand__logo { display: block; width: 52px; height: 52px; max-width: 52px; flex: 0 0 52px; object-fit: cover; }
.career5-hero h1 { max-width: 100%; font-size: clamp(38px, 4vw, 58px); }
@media (max-width:760px) {
 .site-header .brand > .brand__logo, .site-footer .brand > .brand__logo { width: 42px; height: 42px; max-width: 42px; flex-basis: 42px; }
 .career5-hero h1 { font-size: clamp(24px, 6.5vw, 34px); }
}
@media (max-width: 1100px) {
 .site-header .global-nav--renewal { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; }
 .site-header .global-nav--renewal .global-nav__core { order: 0; display: block; width: 100%; }
 .site-header .global-nav__core li { display: block; width: 100%; border: 0; }
 .site-header .global-nav__core a { width: 100%; justify-content: flex-start; padding: 17px 0; border-bottom: 1px solid var(--line); }
 .site-header .global-nav__requirements { order: 1; padding: 17px 0; border-bottom: 1px solid var(--line); }
 .site-header .global-nav--renewal .global-nav__actions { order: 2; display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0 0; width: 100%; }
}
.work2-heading > span { font-size: 16px; line-height: 1.9; }
.career5-hero__copy > p:not(.career5-eyebrow) { max-width: 44em; }
@media (max-width:760px) { .career5-hero__copy > p .heading-unit { display: inline; } }

/* Footer contact: one clear contact method per line. */
.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin: 20px 0;
}
.site-footer__contact strong {
  display: block;
  color: #f5c542;
  font-size: 13px;
  letter-spacing: .08em;
}
.site-footer__contact a {
  display: block;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 760px) {
  .site-footer__contact { margin: 18px 0; }
}

/* People page: a calm, consistent illustrated roster. */
.people4-hero--illustrated { grid-template-columns: minmax(0,.85fr) minmax(420px,1.15fr); min-height: 700px; }
.people4-hero--illustrated .people4-hero__copy { padding-bottom: 0; }
.people4-hero__portrait--illustration { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; overflow: hidden; background: #e9e4d7; box-shadow: 20px 22px 0 #efbe30; }
.people4-hero__portrait--illustration img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.people4-hero__portrait--illustration figcaption { right: 18px; bottom: 18px; padding: 14px 17px; }
.people4-hero__portrait--illustration figcaption small { display: block; margin-bottom: 5px; font-size: 8px; letter-spacing: .14em; }
.people4-hero__portrait--illustration figcaption strong { display: block; font-size: 16px; }
.people4-others--illustrated { background: #fff; }
.people4-member-grid--illustrated { grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(18px,2.4vw,30px) clamp(14px,1.8vw,24px); }
.people4-member-grid--illustrated figure { overflow: hidden; border: 1px solid #e4e7e7; background: #f4f1e8; }
.people4-member-grid--illustrated img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; filter: none; transition: transform .35s ease; }
.people4-member-grid--illustrated figure:hover img { transform: scale(1.025); }
.people4-member-grid--illustrated figcaption { min-height: 0; padding: 12px 14px 14px; background: #fff; font-size: 15px; }
.people4-member-grid--illustrated figcaption small { margin-right: 9px; color: #98710b; font: 800 9px/1 Arial,sans-serif; letter-spacing: .12em; }
.people4-team--illustrated { padding: clamp(68px,8vw,110px) 0; }
.people4-team--illustrated .people4-team__layout { grid-template-columns: 1fr 1fr; }
.people4-team--illustrated .people4-team__layout > p { max-width: 31em; margin: 0; color: rgba(255,255,255,.75); font-size: 16px; line-height: 2; }
@media (max-width: 900px) { .people4-hero--illustrated { grid-template-columns: 1fr; min-height: auto; } .people4-member-grid--illustrated { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px) { .people4-hero--illustrated { display: grid; padding: 96px 20px 60px; } .people4-hero__portrait--illustration { box-shadow: 12px 14px 0 #efbe30; } .people4-member-grid--illustrated { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; } .people4-member-grid--illustrated figcaption { padding: 10px; font-size: 14px; } .people4-team--illustrated .people4-team__layout { grid-template-columns: 1fr; gap: 22px; } }

/* People page B: varied portrait sizes with a deliberate editorial rhythm. */
.people4-member-grid--editorial { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; }
.people4-member-grid--editorial .member-card--wide { grid-column: span 6; }
.people4-member-grid--editorial .member-card--medium { grid-column: span 4; }
.people4-member-grid--editorial .member-card--tall { grid-column: span 3; }
.people4-member-grid--editorial .member-card--wide img { aspect-ratio: 16 / 9; }
.people4-member-grid--editorial .member-card--medium img { aspect-ratio: 4 / 3; }
.people4-member-grid--editorial .member-card--tall img { aspect-ratio: 4 / 5; }
.people4-member-grid--editorial .member-card--tall:nth-child(2n) { margin-top: clamp(22px, 3vw, 48px); }
@media (max-width: 900px) {
  .people4-member-grid--editorial { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .people4-member-grid--editorial .member-card--wide { grid-column: span 6; }
  .people4-member-grid--editorial .member-card--medium { grid-column: span 3; }
  .people4-member-grid--editorial .member-card--tall { grid-column: span 2; }
}
@media (max-width: 640px) {
  .people4-member-grid--editorial { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
  .people4-member-grid--editorial .member-card--wide,
  .people4-member-grid--editorial .member-card--medium,
  .people4-member-grid--editorial .member-card--tall { grid-column: span 1; margin-top: 0; }
  .people4-member-grid--editorial .member-card--wide img,
  .people4-member-grid--editorial .member-card--medium img,
  .people4-member-grid--editorial .member-card--tall img { aspect-ratio: 4 / 3; }
}


/* People page refinement: keep the original quiet composition, remove the pasted-card feel. */
.people4-hero--refined .people4-hero__copy { position: relative; }
.people4-hero--refined .people4-hero__copy::before {
  position: absolute;
  top: clamp(74px, 9vw, 132px);
  left: -18px;
  width: 3px;
  height: 38px;
  content: "";
  background: #efbe30;
}
.people4-hero__portrait--refined {
  overflow: visible;
  box-shadow: none;
  background: #eeebe3;
}
.people4-hero__portrait--refined::after {
  position: absolute;
  top: 12%;
  right: 0;
  bottom: 12%;
  width: 5px;
  content: "";
  background: #efbe30;
}
.people4-hero__portrait--refined figcaption {
  position: static;
  padding: 12px 0 0;
  color: #1c3345;
  background: transparent;
}
.people4-hero__portrait--refined figcaption strong { font-size: 15px; }
.people4-others--refined { background: #fff; }
.people4-member-grid--refined { row-gap: clamp(32px, 5vw, 70px); }
.people4-member-grid--refined figure {
  overflow: visible;
  border: 0;
  background: transparent;
}
.people4-member-grid--refined img {
  display: block;
  background: #eeebe3;
  transition: transform .35s ease;
}
.people4-member-grid--refined figure:hover img { transform: translateY(-4px); }
.people4-member-grid--refined figcaption {
  min-height: auto;
  padding: 11px 0 0;
  background: transparent;
  color: #1c3345;
  font-size: 14px;
  letter-spacing: .03em;
}
.people4-member-grid--refined figcaption small {
  display: none;
  margin-right: 8px;
  color: #bd8d00;
  font-size: 10px;
}
.people4-member-grid--refined figure:nth-child(1) figcaption small,
.people4-member-grid--refined figure:nth-child(6) figcaption small,
.people4-member-grid--refined figure:nth-child(12) figcaption small,
.people4-member-grid--refined figure:nth-child(17) figcaption small { display: inline; }
.people4-member-grid--refined .member-card--tall:nth-child(2n) { margin-top: clamp(18px, 2.5vw, 42px); }
@media (max-width: 640px) {
  .people4-hero--refined .people4-hero__copy::before { left: 0; top: 70px; height: 28px; }
  .people4-hero__portrait--refined::after { top: 18%; bottom: 18%; width: 4px; }
  .people4-hero__portrait--refined figcaption { padding-top: 9px; }
  .people4-hero__portrait--refined figcaption strong { font-size: 14px; }
  .people4-member-grid--refined { gap: 27px 13px; }
  .people4-member-grid--refined .member-card--tall:nth-child(2n) { margin-top: 0; }
  .people4-member-grid--refined figcaption { padding-top: 8px; font-size: 13px; }
}

/* Lightweight staff illustrations used on recruitment pages. */
.hs2-senpai-grid img[src*="illustrations-optimized"],
.career5-people__visual img[src*="illustrations-optimized"] {
  object-position: center;
  background: #eeebe3;
}
