/* ------------------------------------------------------------------
   INTEGRATE recruiting site — stylesheet
   Layout system reproduced 1:1 from the internal reference page set (verified at 1440 / 1280 / 390):
   header 60px, content 1200px, column gaps, buttons, accordion, marquee, footer and every mobile rule are
   identical. Brand (purple #714D9C), font (Pretendard Variable, local) and the typography / colour tokens below
   are the substitutions. The card / title rules reproduce the source-site images (stat card, DNA card, section
   titles) as boxes / text whose inner sizes are the measured source-image sizes.
   ------------------------------------------------------------------ */
@font-face {
  font-family: 'Pretendard Variable';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: local('Pretendard Variable'), url('fonts/PretendardVariable.woff2') format('woff2-variations'), url('fonts/PretendardVariable.woff2') format('woff2');
}

/* Ninehire header parity: use the same static Pretendard outlines for menu text only. */
@font-face {
  font-family: 'Pretendard Nav';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('fonts/Pretendard-Regular.subset.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard Nav';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('fonts/Pretendard-Bold.subset.woff2') format('woff2');
}

:root {
  --brand: #714D9C;            /* purple on white / light grey / CTA backgrounds */
  --brand-on-dark: #A77BE0;    /* purple accents on black backgrounds */
  --brand-light: #C9B7E6;
  --text-primary: #2E302F;     /* titles */
  --text-body: #505766;        /* body copy */
  --text-secondary: #666F7D;   /* role labels, notes, sources — ≥ 4.5:1 on white and the light-grey card/section backgrounds */
  --text-decorative: #AFB5C2;  /* decorative lines, disabled elements only */
  --gray-1: #F9F9FB;
  --gray-3: #E4E7EC;
  --gray-6: #AFB5C2;
  --gray-7: #666F7D;
  --gray-8: #505766;
  --gray-9: #343B46;
  --gray-10: #1B212C;
  --text: var(--text-primary);
  --header-h: 60px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-nav: 'Pretendard Nav', Pretendard, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; overflow-x: clip; }
@supports not (overflow: clip) { html { overflow-x: hidden; } }
body { margin: 0; width: 100vw; max-width: 100vw; font-family: var(--font); font-size: 16px; line-height: 1.65; letter-spacing: -.01em; font-weight: 400; color: var(--text-body); background: #fff;
  word-break: keep-all; overflow-wrap: break-word; }   /* 기준 페이지처럼 세로 스크롤바를 포함한 100vw 를 레이아웃 기준으로 사용(넘침은 html overflow-x: clip 이 처리) */
body.drawer-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; letter-spacing: inherit; }
.page { display: flex; flex-direction: column; min-height: 100vh; width: 100vw; max-width: 100vw; }
.page-content { flex: 1; display: flex; flex-direction: column; }
.page-content:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 1000; padding: 10px 16px; background: var(--gray-10); color: #fff; border-radius: 6px; font-size: 14px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.ext { margin-left: .2em; font-size: .9em; }

/* disabled (unconfigured) links: dimmed, non-interactive, tooltip on hover */
.is-disabled { cursor: default; }
.is-disabled[data-tip] { position: relative; }
.is-disabled[data-tip]:hover::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  padding: 6px 10px; border-radius: 6px; background: #393838; color: #fff; font-size: 12px; line-height: 16px; font-weight: 400; white-space: nowrap; pointer-events: none; z-index: 120; }

/* ---------------------------------------------------------------- header (flat first-level menu) */
.site-header { position: sticky; top: 0; z-index: 100; width: 100%; min-height: var(--header-h); padding: 9px 0;
  display: flex; align-items: center; justify-content: center; background: #fff;
  transition: background .18s ease, box-shadow .18s ease; }
.header-inner { display: flex; align-items: center; width: 100%; max-width: 1296px; padding: 0 48px; }
.logo { display: flex; align-items: center; justify-content: flex-start; flex-shrink: 0; width: 140px; max-width: 140px; height: 36px; }
.logo img { display: block; width: auto; max-width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; margin-left: auto; gap: 16px; }
.nav-item { display: flex; align-items: center; padding: 7px 10px; border: 1px solid transparent; font-family: var(--font-nav); font-feature-settings: 'tnum'; font-size: 14px; line-height: 22px; font-weight: 400; letter-spacing: normal; color: var(--gray-8);   /* 기준 실측: 14px/400/22px, 7px 10px + 투명 1px 테두리(높이 38·y11), 자간 normal, radius 8, 활성만 700 */
  border-radius: 8px; white-space: nowrap; transition: .2s; cursor: pointer; }
.nav-item:hover { background: rgba(27, 33, 44, .06); }
.nav-item.is-active { color: var(--gray-9); font-weight: 700; }   /* 기준 활성 메뉴색 #343B46 */
.nav-item.is-disabled { color: var(--text-decorative); }
.nav-item.is-disabled:hover { background: transparent; }
.soon { margin-left: 6px; padding: 0 6px; font-size: 11px; line-height: 18px; font-weight: 600; color: var(--gray-7); background: var(--gray-1); border: 1px solid var(--gray-3); border-radius: 4px; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--gray-9); border-radius: 2px; transition: .2s; }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { display: none; }

/* ---------------------------------------------------------------- sections / grid */
.section { position: relative; width: 100%; background-size: cover; background-position: center center; background-repeat: no-repeat; }
.section-overlay { position: absolute; inset: 0; pointer-events: none; }
.section-align { position: relative; display: flex; flex-direction: column; min-height: inherit; }
.section-align > * + * { margin-top: var(--layout-gap, 24px); }
.section-full { min-height: calc(100vh - var(--header-h)); }
.section-full .align-center { justify-content: center; }
.section-full .align-bottom { justify-content: flex-end; }
.section-full .align-top { justify-content: flex-start; }

.layout { position: relative; display: flex; justify-content: center; width: 100%; padding: 0 48px; }
.layout-full { padding: 0; }
.cols { display: flex; justify-content: center; width: 100%; max-width: 1200px; gap: var(--col-gap, 50px); }
.layout-full .cols { max-width: none; }
.col { position: relative; display: flex; flex-direction: column; min-width: 0; }
.col-inner { width: 100%; height: 100%; }
.col-inner > * + * { margin-top: var(--block-gap, 24px); }

/* reveal animations (durations match the source theme); only active with JS so nothing is hidden without it */
.js .anim-fade_in { opacity: 0; transition: opacity 1.2s ease-out; }
.js .anim-fade_in.in { opacity: 1; }
.js .anim-slide_up { opacity: 0; transform: translateY(48px); transition: opacity 1s ease-out, transform 1s ease-out; }
.js .anim-slide_up.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- text block
   weights: body 400 · secondary sentences / menu / links 500 · card titles / buttons 600 · page titles, stat values, key headings 700 */
.blk-text { width: 100%; }
.blk-text p, .blk-text ol, .blk-text ul, .blk-text h1, .blk-text h2, .blk-text h3, .blk-text h4, .blk-text h5, .blk-text h6 { color: inherit; margin: 0; }
.blk-text ol, .blk-text ul { list-style-position: inside; padding-inline-start: 24px; margin: 4px 0; }
.blk-text h1 { font-weight: 700; font-size: 56px; line-height: 1.3; letter-spacing: -.025em; }
.blk-text h2 { font-weight: 700; font-size: 48px; line-height: 1.3; letter-spacing: -.025em; }
.blk-text h3 { font-weight: 700; font-size: 38px; line-height: 1.35; letter-spacing: -.02em; }
.blk-text h1[style*="font-size: 48px"], .blk-text h2[style*="font-size: 48px"], .blk-text h3[style*="font-size: 48px"] { line-height: 1.3; letter-spacing: -.025em; }   /* large page titles */
.blk-text h4 { font-weight: 600; font-size: 28px; line-height: 1.5; }
.blk-text h5 { font-weight: 600; font-size: 24px; line-height: 1.35; letter-spacing: -.02em; }
.blk-text.ub h5 { font-weight: 700; }                                                  /* source component headline weight kept */
.blk-text.ub h6, .blk-text.ub p { line-height: 1.6; }                                     /* measured source line pitch (18/28.8, 20/32) */
.blk-text h6 { font-weight: 400; font-size: 20px; line-height: 1.65; }
.blk-text p, .blk-text li, .blk-text td { font-size: 15px; line-height: 1.65; }
.blk-text li > *:not(ol, ul) { display: inline; }
.blk-text strong, .blk-text strong * { font-weight: 600; }
.blk-text a, .blk-text a:hover { color: inherit; }
.blk-text a:hover { opacity: .8; }

/* ---------------------------------------------------------------- other blocks */
.blk-blank { width: 100%; }
.blk-divider { display: flex; align-items: center; width: 100%; }
.blk-divider > div { width: 100%; }

.blk-image { display: flex; align-items: center; width: 100%; }
.img-wrap { position: relative; overflow: hidden; max-width: 100%; transition: box-shadow .3s ease; }
.img-wrap img { width: 100%; height: auto; object-fit: cover; object-position: center; transition: transform .35s ease; }
.img-hover-zoom:hover img { transform: scale(1.05); }
.img-hover-shadow:hover { box-shadow: 0 10px 20px rgba(0, 0, 0, .2); }

/* stat card — same box as the reference card image (1150px source); positions measured on the source image
   (title glyph top 78 / value glyph top 178 / left 62 of 1150; title ≈ 57px, value ≈ 113px at 1150 → cqw) */
.stat-card { container-type: inline-size; background: #F2F3F6; }
.stat-title { position: absolute; left: 5.4cqw; top: 5.2cqw; font-size: 4.96cqw; line-height: 1.5; font-weight: 700; color: var(--text-primary); white-space: nowrap; }
.stat-value { position: absolute; left: 5.4cqw; top: 13.7cqw; font-size: 9.8cqw; line-height: 1.2; font-weight: 700; color: var(--brand); letter-spacing: -.01em; white-space: nowrap; }
.stat-deco { position: absolute; object-fit: contain; object-position: center; }

/* DNA card — same box as the source card image (1344×1119): icon box 287px at 160/160 (radius 50),
   title glyph top 572, description glyph top 716 (line pitch 128), left 162 → cqw of the card width */
.dna-card { container-type: inline-size; background: #F5F7F9; }
.dna-icon { position: absolute; left: 11.9cqw; top: 11.9cqw; width: 21.4cqw; height: 21.4cqw; border-radius: 3.7cqw; background: #E6DEF2; display: flex; align-items: center; justify-content: center; }
.dna-icon img { width: 11cqw; height: 11cqw; }
.dna-title { position: absolute; left: 12.2cqw; top: 40.6cqw; font-size: 6.25cqw; line-height: 1.4; font-weight: 600; color: var(--text-primary); white-space: nowrap; }
.dna-desc { position: absolute; left: 12.2cqw; right: 10cqw; top: 51cqw; font-size: 5.7cqw; line-height: 1.65; color: var(--text-secondary); }

/* Six source cards retain the measured 3×2 desktop grid; mobile uses readable horizontal rows. */
.dna-cards { flex-wrap: wrap; row-gap: 92px; }
.dna-cards > .col { flex: 0 1 calc(33.3333% - 53.3333px) !important; }

/* Initial scroll cue: visible on arrival, then dismissed by time or the first scroll. */
.hero-scroll-hint { opacity: 1; transform: translateY(0); pointer-events: none; transition: opacity .6s ease, transform .6s ease; }
.hero-scroll-hint.is-hidden { opacity: 0; transform: translateY(8px); }

/* HOME hero: approved entrance photo; keep the copy on its extended blank wall. */
.home-hero { overflow: hidden; }
.home-hero .hero-responsive-photo { display: none; }
/* Keep the shared 1200px text grid. Frame the 3:1 photo independently:
   its plaque starts at 61.7% of the source and aligns with the next section's
   right column (viewport midpoint + half of its 80px column gap). */
@media (min-width: 1024px) and (min-aspect-ratio: 1/1) {
  .home-hero { background-size: 0 0; }
  .home-hero::before {
    content: ''; position: absolute; top: 50%; left: calc(50% + 40px);
    height: max(100%, calc((50vw - 40px) * .88)); aspect-ratio: 2172 / 724;
    transform: translate(-61.7%, -50%); background-image: inherit;
    background-size: 100% 100%; background-repeat: no-repeat; pointer-events: none;
  }
}
.home-hero .section-overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, .16) 36%, rgba(255, 255, 255, 0) 62%) !important;
  opacity: 1 !important;
}
.home-hero .blk-text { max-width: min(470px, 33vw); }
.home-hero .blk-text h1,
.home-hero .blk-text h1 span { font-size: clamp(40px, 4.167vw, 60px) !important; line-height: 1.18; letter-spacing: -.035em; color: var(--text-primary) !important; }
.home-hero .blk-text h6,
.home-hero .blk-text h6 span { color: #343B46 !important; }
.home-hero .blk-text h1,
.home-hero .blk-text h6 { text-wrap: balance; }
.home-hero .btn { min-width: 220px; background: #302E2B !important; color: #FFFFFF !important; box-shadow: 0 6px 20px rgba(48, 46, 43, .12); }
.home-hero .btn:hover { background: #47433E !important; filter: none; }
.home-hero .hero-scroll-hint img { filter: brightness(.25); }

@media (max-width: 1023px), (max-aspect-ratio: 1/1) {
  /* One continuous portrait photograph: copy on its upper wall, plaque below.
     Keep enough image height on short/wide screens to retain the whole plaque. */
  .home-hero {
    min-height: max(640px, min(calc(100svh - var(--header-h)), 240vw), 120vw);
    background-image: none !important;
  }
  .home-hero .hero-responsive-photo { display: block; position: absolute; inset: 0; }
  .home-hero .hero-responsive-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .home-hero::before { content: none; }
  .home-hero .section-overlay { background: none !important; }
  .home-hero .section-align { justify-content: flex-start; padding-top: clamp(48px, 8svh, 80px); }
  .home-hero .section-align > .layout:first-child,
  .home-hero .section-align > .layout:nth-child(4),
  .home-hero .blk-blank { display: none; }
  .home-hero .section-align > .layout:nth-child(2) { margin-top: 0; }
  .home-hero .section-align > .layout:nth-child(3) { margin-top: 24px; }
  .home-hero .blk-button { margin-top: 28px; }
  .home-hero .section-align > .layout:last-child { position: absolute; bottom: 24px; margin-top: 0; }
  .home-hero .blk-text { max-width: min(100%, 470px); }
  .home-hero .hero-scroll-hint img { display: block; width: 32px; height: 32px; margin: 0 auto; }
  .home-hero .blk-text h1,
  .home-hero .blk-text h1 span { font-size: 40px !important; line-height: 1.22; }
  .home-hero .btn { min-width: 208px; }
}

@media (min-width: 600px) and (max-width: 1023px), (min-width: 600px) and (max-aspect-ratio: 1/1) {
  .home-hero .section-align { padding-top: clamp(64px, calc(25svh - 70px), 240px); }
}

.home-workspace .workspace-heading .btn { min-width: 210px; }

/* IN: PURPOSE — Unit Black intro rows with the section heading merged into the first text column.
   Spacing per spec: section padding 116px, row gap 116px (via --layout-gap), label→title 16px, title→intro 24px. */
.home-intro { padding: 116px 0; }
.home-intro .ub-row .col { justify-content: center; }
.home-intro .ub-row .col-inner { height: auto; }
.home-intro .blk-text h2 { line-height: 1.25; }
.home-intro .blk-text h3 { line-height: 1.4; }

/* section titles that are SVG images on the source site (2 lines, second line in the accent colour):
   measured glyph 44px / line pitch 74px / block 118px → 52px text, line-height 74px, box trimmed to the glyph bounds */
.blk-text h2.ub-title-text { font-size: 52px; line-height: 74px; font-weight: 700; letter-spacing: -.01em; margin: -15px 0; word-break: keep-all; }
.blk-text h2.ub-title-text.ub-title-dna { line-height: 68px; margin: 4px 0 -25px; }   /* DNA title image: Hangul line + Latin caps line, pitch 68, glyph starts 19px below the block top (block 115px) */

/* text link used under the interview title (15px / 24px) */
.ub-link-wrap { line-height: 0; }
.ub-link { display: inline-flex; align-items: center; gap: 2px; padding: 3px 0; font-size: 15px; line-height: 24px; font-weight: 500; color: var(--text-primary); }
.ub-link:hover { opacity: .8; }
.ub-link.is-disabled { color: var(--text-decorative); }
.ub-link.is-disabled:hover { opacity: 1; }

/* interview card: photo 347:376 (20px corners) → role + name → body, 24px between the three blocks; the card links out */
.iv-card { display: block; width: 100%; color: inherit; }
.iv-card .img-wrap img { width: 100%; height: auto; }
.iv-meta { margin-top: 24px; }
.iv-body { margin-top: 24px; }
.iv-card h6, .iv-card p { line-height: 1.6; }   /* measured 15px / 24px */
.iv-card.is-disabled { cursor: default; }
a.iv-card:hover .img-wrap { box-shadow: 0 10px 20px rgba(0, 0, 0, .12); }
.interview-cards.is-single .iv-card-feature .img-wrap img { display: block; width: 100%; object-fit: cover; }
.interview-cards.is-single .iv-card-feature .iv-meta { max-width: 760px; }
.interview-cards.is-single .iv-card-feature .iv-body { max-width: 760px; }
.iv-interview-placeholder { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 28px; background: #000; color: #fff; }
.iv-interview-placeholder span { display: inline-flex; padding: 7px 12px; border-radius: 1000px; background: #FFD91A; color: #111; font-size: 12px; line-height: 1; font-weight: 700; letter-spacing: .04em; }
.iv-interview-placeholder strong { font-size: 23px; line-height: 1.4; font-weight: 700; }
.iv-card.is-placeholder { cursor: default; }
.iv-card.is-placeholder .iv-meta h4 { color: var(--text-secondary); }

.blk-button { display: flex; width: 100%; transition: .2s; }
.btn-layout-left { justify-content: flex-start; }
.btn-layout-center { justify-content: center; }
.btn-layout-right { justify-content: flex-end; }
.btn-layout-full .btn { width: 100%; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; max-width: 100%;
  border: 1px solid transparent; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; cursor: pointer; transition: .2s; }
.btn span { min-width: 10px; font-weight: 600; }
.btn-square { border-radius: 6px; }
.btn-round { border-radius: 1000px; }
.btn-large { height: 56px; padding: 0 24px; font-size: 20px; }
.btn-medium { height: 48px; padding: 0 20px; font-size: 16px; }
.btn-small { height: 40px; padding: 0 16px; font-size: 14px; }
.btn:hover { filter: brightness(.9); }
.btn.is-disabled { opacity: .55; cursor: default; }
.btn.is-disabled:hover { filter: none; }

.blk-accordion { width: 100%; }
.acc-item { width: 100%; padding: 24px 16px; display: flex; flex-direction: column; }
.acc-item + .acc-item { border-top: 1px solid var(--gray-3); }
.acc-head { display: flex; align-items: center; width: 100%; min-height: 36px; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: left; color: inherit; }
.acc-title { display: block; width: calc(100% - 36px); font-size: 20px; font-weight: 600; line-height: 150%; color: var(--text-primary); }
.acc-icon { width: 36px; display: flex; justify-content: flex-end; color: var(--gray-8); transition: transform .3s ease-out; }
.acc-item.open .acc-icon { transform: rotate(180deg); }
.acc-body { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .3s ease-out, opacity .3s ease-out; }
.acc-item.open .acc-body { opacity: 1; }
.acc-desc { font-size: 17px; line-height: 185%; padding-top: 12px; margin-top: 12px; white-space: pre-line; color: var(--text-body); }
.acc-desc a { text-decoration: underline; }

/* The accordion row has 24px top padding; mirror it on the desktop category label so their first baselines align. */
@media (min-width: 864px) {
  .faq-category > .col:first-child { padding-top: 24px; }
}

/* photo marquee (Ninehire marquee block): tile height / width / corner / seconds per group come from the block */
.blk-marquee { position: relative; width: 100%; overflow: hidden; display: flex; align-items: center; }
.mq-track { display: flex; flex: 0 0 auto; gap: 56px; width: max-content; animation: marquee var(--mq-dur, 45s) linear .1s infinite; will-change: transform; }
@media (hover: hover) and (pointer: fine) { .blk-marquee:hover .mq-track { animation-play-state: paused; } }
.mq-group { display: flex; gap: 56px; flex: 0 0 auto; }
.mq-item { height: var(--mq-h, 240px); border-radius: var(--mq-r, 8px); overflow: hidden; flex: 0 0 auto; }
.mq-item img { height: 100%; width: var(--mq-w, auto); object-fit: cover; object-position: center; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-50% - 28px), 0, 0); } }

.home-cta .blk-text h3 { text-wrap: balance; }   /* long single-sentence CTA title: balanced line breaks on narrow screens (no orphan word) */

/* ---------------------------------------------------------------- footer */
.site-footer { display: flex; align-items: center; justify-content: center; position: relative; margin-top: auto; width: 100%; padding: 56px 48px; }
.footer-inner { width: 100%; max-width: 1200px; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.footer-info { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-logo { width: 140px; height: 36px; object-fit: contain; object-position: left center; }
.footer-title { font-size: 14px; font-weight: 600; color: var(--gray-8); line-height: 160%; }
.footer-desc { white-space: pre-wrap; font-size: 14px; line-height: 160%; color: var(--gray-8); margin-top: -8px; }
.footer-desc a:hover { text-decoration: underline; }
.footer-divider { width: 100%; height: 1px; background: rgba(27, 33, 44, .1); }
.footer-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; width: 100%; }
.footer-left { flex: 1 0 0; min-width: 264px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-menus { display: flex; flex-wrap: wrap; column-gap: 24px; row-gap: 8px; }
.footer-menu { display: flex; align-items: center; gap: 2px; font-weight: 500; line-height: 150%; transition: .2s; }
.footer-menu:hover { opacity: .8; }
.footer-menu.is-disabled { color: var(--text-decorative); }
.footer-menu.is-disabled:hover { opacity: 1; }
.footer-sns { display: flex; flex-wrap: wrap; row-gap: 8px; column-gap: 16px; }
.sns { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 9.5px; transition: filter .15s ease; }
.sns:hover { filter: brightness(.9); }

/* ---------------------------------------------------------------- utilities */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .2); box-shadow: 0 4px 8px rgba(0, 0, 0, .1); cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(200%); transition: .2s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: rgba(0, 0, 0, .3); }
.toast { position: fixed; left: 50%; bottom: 40px; z-index: 200; transform: translate(-50%, 20px); padding: 12px 24px; border-radius: 6px;
  background: #393838; color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- kept INTEGRATE section (same width system) */

/* People & Culture · benefits — white section, neutral cards and category-colour pictograms */
.work { position: relative; overflow: hidden; margin-top: 72px; padding: 80px 0 120px; color: var(--text-primary); }   /* white breathing room after the photo marquee (72 / 56 / 48px) */
.work-bg { position: absolute; right: -40px; bottom: -60px; width: auto; height: 260px; opacity: .11; pointer-events: none; }
.work-inner { position: relative; z-index: 1; width: 100%; max-width: 1296px; margin: 0 auto; padding: 0 48px; }
.work-title { margin: 0; font-size: 48px; line-height: 1.3; letter-spacing: -.025em; font-weight: 700; color: var(--text-primary); word-break: keep-all; }
.work-intro { margin: 16px 0 0; max-width: 720px; font-size: 18px; line-height: 1.6; color: var(--text-body); word-break: keep-all; }
.work-intro .hl { color: var(--brand); font-weight: 600; }

/* benefit cards — reference Benefits card component (light-grey rounded card, top-left pictogram, bold title, bullet list) */
.bft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 56px 0 0; padding: 0; list-style: none; }
.bft-card { min-width: 0; background: #F2F3F6; border-radius: 20px; padding: 32px 32px 36px; box-shadow: none; }
.bft-icon { display: block; width: 64px; height: 64px; }
.bft-title { margin: 24px 0 0; font-size: 24px; line-height: 1.4; font-weight: 700; color: var(--text-primary); word-break: keep-all; }
.bft-list { margin: 20px 0 0; padding: 0; list-style: none; }
.bft-list li { position: relative; padding-left: 16px; font-size: 17px; line-height: 1.6; color: var(--text-body); word-break: keep-all; overflow-wrap: anywhere; }
.bft-list li + li { margin-top: 6px; }
.bft-list li::before { content: '·'; position: absolute; left: 2px; font-weight: 700; }

/* ---------------------------------------------------------------- responsive (identical breakpoints and values to the sources) */
@media (max-width: 1023px) {
  .work { margin-top: 56px; padding: 64px 0 96px; }
  .bft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 863px) {
  .header-inner { padding: 0 16px; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .drawer { display: block; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; z-index: 99; overflow-y: auto; }
  .drawer-nav { display: flex; flex-direction: column; padding: 16px; }
  .drawer-nav .nav-item { padding: 14px 16px; font-size: 16px; line-height: 24px; }
  .is-disabled[data-tip]:hover::after { display: none; }

  .layout { padding: 0 24px; }
  .layout-full { padding: 0; }
  .cols { flex-direction: column; gap: var(--col-gap, 24px); }
  .cols.rev { flex-direction: column-reverse; }      /* source mobile order: text first, then the photo */
  .col { width: 100% !important; flex: none !important; }
  .col-empty { display: none; }
  .section-align > * + * { margin-top: max(var(--layout-gap, 24px), 10px); }

  /* Mobile principles: icon beside the copy, full-width cards, no fixed text boxes. */
  .home-dna .blk-text h2,
  .home-dna .blk-text h2 span { font-size: 30px !important; line-height: 1.3; }
  .home-dna .blk-text h2 { max-width: 290px; text-wrap: balance; }
  .home-dna .blk-text p,
  .home-dna .blk-text p span { font-size: 16px !important; line-height: 1.65; }
  .home-dna .section-align > .layout:first-child .col-inner > * + * { margin-top: 20px; }
  .home-dna .section-align > .layout:first-child .blk-blank { display: none; }
  .home-dna .section-align > .layout:nth-child(2) { margin-top: 36px; }
  .home-dna .dna-cards {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px !important;
  }
  .home-dna .dna-cards > .col { width: auto !important; min-width: 0; flex: none !important; }
  .home-dna .dna-card {
    display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 8px;
    align-content: start; padding: 20px; min-height: 124px; height: auto;
    aspect-ratio: auto !important; border-radius: 20px !important;
  }
  .home-dna .dna-icon,
  .home-dna .dna-title,
  .home-dna .dna-desc { position: static; }
  .home-dna .dna-icon {
    grid-column: 1; grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px;
  }
  .home-dna .dna-icon img { width: 24px; height: 24px; }
  .home-dna .dna-title {
    grid-column: 2; grid-row: 1; font-size: 18px; line-height: 1.4;
    white-space: normal; word-break: keep-all; overflow-wrap: anywhere;
  }
  .home-dna .dna-desc {
    grid-column: 2; grid-row: 2; font-size: 16px; line-height: 1.6;
    color: var(--text-body); word-break: keep-all; overflow-wrap: anywhere;
  }
  .home-dna .section-align > .layout:last-child .blk-blank { height: 48px !important; }
  .home-dna .section-align > .layout:last-child .blk-blank + .blk-blank { display: none; }

  .blk-text h1 { font-size: 40px; }
  .blk-text h2 { font-size: 34px; }
  .blk-text h3 { font-size: 30px; }
  .blk-text h4 { font-size: 20px; }
  .blk-text h5 { font-size: 20px; line-height: 1.35; }
  .blk-text [style*="font-size: 48px"] { font-size: 34px !important; }
  .blk-text h1[style*="font-size: 48px"], .blk-text h2[style*="font-size: 48px"], .blk-text h3[style*="font-size: 48px"] { line-height: 1.32; letter-spacing: -.025em; }   /* large page titles: 34px / ≈45px */
  .blk-text [style*="font-size: 42px"] { font-size: 32px !important; }
  .blk-text [style*="font-size: 38px"] { font-size: 30px !important; }
  .blk-text p[style*="font-size: 20px"], .blk-text p [style*="font-size: 20px"] { font-size: 18px !important; }
  .blk-text [style*="font-size: 18px"] { font-size: 16px !important; }

  /* Unit Black text scale on mobile (measured): 38 → 28, 34 → 26, 18 and 20 unchanged */
  .blk-text.ub h5 { line-height: 1.35; }
  .blk-text.ub [style*="font-size: 38px"] { font-size: 28px !important; }
  .blk-text.ub [style*="font-size: 34px"] { font-size: 26px !important; }
  .blk-text.ub [style*="font-size: 18px"] { font-size: 18px !important; }
  .blk-text.ub p[style*="font-size: 20px"], .blk-text.ub p [style*="font-size: 20px"] { font-size: 20px !important; }
  .blk-text h2.ub-title-text { font-size: 32.5px; line-height: 46px; margin: -9px 0; }
  .blk-text h2.ub-title-text.ub-title-dna { line-height: 42px; margin: 18px 0 -30px; }
  .iv-card .iv-meta h4 { font-size: 24px; }

  .home-intro { padding: 88px 0; }
  .home-intro .section-align > * + * { margin-top: 92px; }
  .home-intro .cols.ub-row { gap: 44px; }
  .home-intro .blk-text h2 { line-height: 1.28; }
  .home-intro .blk-text h3 { line-height: 1.35; }

  .acc-desc { font-size: 15px; }
  .mq-item { height: var(--mq-h-m, 170px); }

  .site-footer { padding: 56px 24px; }
  .footer-sns { align-self: flex-start; }
  .to-top { right: 16px; bottom: 16px; }

  .work-inner { padding: 0 24px; }
  .work { margin-top: 48px; padding: 56px 0 80px; }
  .work-bg { right: -120px; bottom: -115px; width: auto; height: 190px; opacity: .09; }   /* visible part stays inside the 80px bottom padding */
  .work-title { font-size: 34px; line-height: 1.28; }
  .work-intro { font-size: 16px; }
  .bft-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 40px; }
  .bft-card { padding: 28px; }
  .bft-title { font-size: 22px; }
  .bft-list li { font-size: 16px; line-height: 1.6; }
  .bft-icon { width: 56px; height: 56px; }
}
@media (min-width: 600px) and (max-width: 863px) {
  .home-dna .blk-text h2 { max-width: none; }
}
/* iPhone 12 Pro (390px) and comparable phones: denser information, consistent cards and 44px+ tap targets. */
@media (max-width: 430px) {
  .home-hero .blk-text h1,
  .home-hero .blk-text h1 span { font-size: 38px !important; line-height: 1.22; }
  /* HOME / company results: one visual system instead of five source-image aspect ratios. */
  .home-stats .section-align > .layout:first-child .blk-blank,
  .home-stats .section-align > .layout:last-child .blk-blank { height: 64px !important; }
  .home-stats .stats-cards { gap: 16px !important; }
  .home-stats .stats-cards .col-inner > * + * { margin-top: 16px; }
  .home-stats .stats-cards .blk-blank { display: none; }
  .home-stats .stat-card {
    height: 148px;
    aspect-ratio: auto !important;
    border-radius: 18px !important;
  }
  .home-stats .stat-title {
    left: 20px;
    top: 20px;
    font-size: 16px;
    line-height: 1.45;
  }
  .home-stats .stat-value {
    left: 20px;
    top: 55px;
    font-size: 34px;
    line-height: 1.15;
  }
  .home-stats .stat-deco {
    left: auto !important;
    right: 16px;
    top: 50% !important;
    width: 80px !important;
    height: 80px !important;
    transform: translateY(-38%);
  }

  /* The two black introduction rows read as a single story on mobile. */
  .home-intro .ub-row { gap: 44px !important; }

  /* Interviews are a swipeable row: one full card plus a visible hint of the next. */
  .home-interview .section-align > .layout:first-child .blk-blank:first-child { height: 72px !important; }
  .home-interview .interview-cards {
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px !important;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .home-interview .interview-cards::-webkit-scrollbar { display: none; }
  .home-interview .interview-cards > .col {
    width: 82% !important;
    flex: 0 0 82% !important;
    scroll-snap-align: start;
  }
  .home-interview .interview-cards.is-single {
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }
  .home-interview .interview-cards.is-single > .col {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
  .home-interview .iv-meta { margin-top: 18px; }
  .home-interview .iv-body { margin-top: 14px; }
  .home-interview .iv-card .iv-meta h4 { font-size: 21px; line-height: 1.45; }
  .home-interview .iv-card p { font-size: 14px; line-height: 1.6; }
  .home-interview .iv-interview-placeholder { gap: 10px; padding: 18px; }
  .home-interview .iv-interview-placeholder span { padding: 6px 10px; font-size: 10px; }
  .home-interview .iv-interview-placeholder strong { font-size: 18px; line-height: 1.35; }

  .home-workspace .section-align > .layout:first-child .blk-blank:first-child { height: 72px !important; }
  .home-workspace .section-align > .layout:last-child .blk-blank { height: 56px !important; }
  .home-workspace .workspace-heading .btn { min-width: 0; width: 100%; max-width: 240px; }

  .home-cta .section-align > .layout:first-child .blk-blank,
  .home-cta .section-align > .layout:last-child .blk-blank { height: 64px !important; }
  .home-cta .cta-actions { gap: 12px !important; }

  /* People & Culture: benefit cards stay one column; keep the compact vertical rhythm. */
  .work { padding: 56px 0 80px; }
  .bft-grid { margin-top: 40px; }

  /* P&C closing CTA: an intentional compact block, not two source columns squeezed together. */
  .people-band .section-align { padding: 44px 0 48px; }
  .people-band .cols { gap: 24px !important; }
  .people-band .blk-text { max-width: 270px; margin: 0 auto; padding: 0 !important; }
  .people-band .blk-text p,
  .people-band .blk-text p span { font-size: 18px !important; line-height: 1.55; text-align: center; word-break: keep-all; }
  .people-band .col:nth-child(2) .blk-blank { display: none; }
  .people-band .col:nth-child(2) .col-inner > * + * { margin-top: 0; }
  .people-band .blk-button { justify-content: center; }
  .people-band .btn { width: auto; min-width: 218px; padding: 0 28px; }

  /* FAQ: compact but still comfortably above the minimum mobile tap target. */
  .faq-list .section-align > * + * { margin-top: 32px; }
  .faq-list .cols { gap: 20px !important; }
  .faq-list .section-align > .layout:last-child .blk-blank { height: 64px !important; }
  .faq-list .acc-item { padding: 18px 4px; }
  .faq-list .acc-head { min-height: 28px; }
  .faq-list .acc-title {
    width: calc(100% - 28px);
    font-size: 17px;
    line-height: 1.45;
  }
  .faq-list .acc-icon { width: 28px; }
  .faq-list .acc-desc { padding-top: 10px; margin-top: 10px; font-size: 15px; line-height: 1.7; }
  .faq-cta .section-align > .layout:first-child .blk-blank,
  .faq-cta .section-align > .layout:last-child .blk-blank { height: 64px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .js .anim-fade_in, .js .anim-slide_up { opacity: 1; transform: none; transition: none; }
  .mq-track { animation: none; }
  .img-wrap img, .acc-icon, .acc-body, .to-top, .hero-scroll-hint { transition: none; }
  html { scroll-behavior: auto; }
}
