/* NEXORA website — shared styles
   Brand: navy #1E2A52 · teal #0E8E8E · dark teal #0B6E6E (small text) · pale #F4F6FB */
:root {
  --navy: #1E2A52;
  --navy-2: #27336B;
  --navy-3: #142052;
  --teal: #0E8E8E;
  --teal-d: #0B6E6E;
  --teal-l: #5FBFBF;
  --teal-bg: #E6F4F4;
  --ink: #2B3245;
  --muted: #5B6478;
  --line: #D8DEEA;
  --pale: #F4F6FB;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(30, 42, 82, .08);
  --max: 1160px;
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--teal-d); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.3; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal-l); outline-offset: 2px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 48px; width: auto; }
.site-footer .logo img { height: 64px; margin-left: -8px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; white-space: nowrap; padding: 10px 10px; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; border-radius: 6px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal-d); background: var(--pale); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 13px; }
.lang-switch a { white-space: nowrap; padding: 6px 12px; text-decoration: none; color: var(--muted); min-height: 32px; display: inline-flex; align-items: center; }
.lang-switch a[aria-current="true"] { background: var(--navy); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; min-height: 46px; border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-d); color: #fff; }
.btn-primary:hover { background: #095c5c; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--pale); color: var(--navy); }
.btn-sm { padding: 8px 16px; min-height: 40px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: #0F1F5C url("../img/hero-bg.jpg") center top / cover no-repeat; min-height: 640px; display: flex; align-items: flex-end; padding: 260px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 26, 80, .82) 0%, rgba(14, 26, 80, .55) 42%, rgba(14, 26, 80, 0) 72%), linear-gradient(180deg, rgba(10, 20, 60, 0) 35%, rgba(14, 26, 80, .85) 85%); }
.hero .container { position: relative; }
.eyebrow { font-size: 13px; letter-spacing: 2.5px; font-weight: 700; text-transform: uppercase; color: var(--teal-d); }
.hero .eyebrow { color: var(--teal-l); }
.hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 64px); margin-top: 14px; }
.hero .sub { font-family: var(--serif); font-size: clamp(18px, 2.2vw, 26px); color: var(--teal-l); margin-top: 14px; font-weight: 600; }
.hero .lead { max-width: 640px; margin-top: 18px; color: #DDE3F0; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* inner page header */
.page-hero { background: #F7F9FC url("../img/page-bg.jpg") right top / 900px auto no-repeat; padding: 76px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); margin-top: 10px; max-width: 760px; }
.page-hero .sub { font-family: var(--serif); font-size: 20px; color: var(--teal-d); margin-top: 8px; font-weight: 600; }
.page-hero .lead { max-width: 720px; margin-top: 16px; font-size: 17px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--pale); }
.section-dark { background: var(--navy); color: #DDE3F0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 8px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section-dark .section-head p { color: #C4CBDD; }
.center { text-align: center; margin-inline: auto; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card-shadow { box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 21px; }
.card .tag { font-size: 12px; letter-spacing: 2px; font-weight: 700; color: var(--teal-d); text-transform: uppercase; }
.card p { margin-top: 10px; }
.card .muted { color: var(--muted); }
.card-dark { background: var(--navy); color: #DDE3F0; border-color: var(--navy); }
.card-dark h3 { color: #fff; }
.card-dark .tag { color: var(--teal-l); }
.card-pale { background: var(--pale); border-color: var(--pale); }
.card-link { display: inline-flex; margin-top: 18px; font-weight: 700; text-decoration: none; }
.card-link::after { content: "→"; margin-left: 6px; }

.num { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--teal); line-height: 1; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.card-dark .checks li::before { border-color: var(--teal-l); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; text-align: center; }
.step b { display: block; color: var(--navy); }
.step span { font-size: 14px; color: var(--muted); }
.step::before { counter-increment: s; content: counter(s); display: block; font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--teal); }

.journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.journey .card { padding: 22px; }
.journey h3 { font-family: var(--font); font-size: 18px; letter-spacing: 1px; }

.quote { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); color: var(--navy); text-align: center; max-width: 820px; margin-inline: auto; }
.quote small { display: block; margin-top: 10px; font-family: var(--font); font-size: 15px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.split-contact { grid-template-columns: 1.6fr 1fr; align-items: start; }
.leader { display: grid; grid-template-columns: minmax(0, 200px) 1fr; gap: 24px; align-items: start; }
.case { display: grid; grid-template-columns: 80px 1fr; gap: 20px; }
.placeholder { background: var(--pale); border: 2px dashed #8A93A6; border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; padding: 20px; font-size: 14px; }
.placeholder strong { color: var(--navy); }
.ph-wide { aspect-ratio: 21 / 9; }
.ph-portrait { aspect-ratio: 4 / 5; }
.ph-logo { height: 64px; border-width: 1px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { background: var(--navy); color: #DDE3F0; border-radius: var(--radius); padding: 20px; }
.stat b { display: block; font-size: 30px; color: #fff; font-family: var(--serif); }

.cta-band { background: var(--navy) url("../img/hero-bg.jpg") center 30% / cover no-repeat; position: relative; color: #fff; padding: 88px 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(14, 26, 80, .78); }
.cta-band .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); }
.cta-band p { color: var(--teal-l); font-family: var(--serif); font-size: 19px; margin-top: 8px; }

.notice { border: 1px dashed var(--teal-d); border-radius: var(--radius); padding: 18px 22px; font-size: 14px; color: var(--muted); }
.notice b { color: var(--navy); }
.pill { display: inline-block; background: var(--teal-bg); color: var(--teal-d); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; padding: 6px 14px; border-radius: 999px; }

/* platform mockup */
.mock { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--pale); }
.mock-bar { background: var(--navy); color: #B8C0D4; font-size: 12px; padding: 9px 14px; display: flex; gap: 8px; align-items: center; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #8A93A6; display: inline-block; }
.mock-bar i:first-child { background: var(--teal-l); }
.mock-bar span:last-child { margin-left: auto; }
.mock-body { display: grid; grid-template-columns: 220px 1fr; gap: 14px; padding: 14px; font-size: 13px; }
.mock-form, .mock-cand { background: #fff; border-radius: 8px; padding: 14px; }
.mock-field { border: 1px solid var(--line); border-radius: 5px; padding: 5px 8px; margin: 4px 0 10px; }
.mock-btn { background: var(--teal-d); color: #fff; text-align: center; border-radius: 5px; padding: 7px; font-weight: 700; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--pale); }
.mock-row:last-child { border-bottom: 0; }
.mock-av { width: 32px; height: 32px; border-radius: 50%; background: var(--line); flex-shrink: 0; }
.mock-row div { flex: 1; min-width: 0; }
.mock-row small { color: var(--muted); display: block; }
.badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: var(--pale); color: var(--navy); white-space: nowrap; }
.badge-teal { background: var(--teal-bg); color: var(--teal-d); }

/* ---------- jobs ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; align-items: end; }
.filters label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); font-weight: 500; }
.job-list { display: grid; gap: 16px; }
.job { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.job h3 { font-family: var(--font); font-size: 20px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.job-meta span { font-size: 13px; background: var(--pale); color: var(--navy); padding: 4px 10px; border-radius: 999px; }
.job p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.empty { text-align: center; color: var(--muted); padding: 40px; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- forms ---------- */
.tabs { display: inline-flex; background: var(--pale); border-radius: 999px; padding: 5px; gap: 4px; margin-bottom: 28px; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; padding: 10px 22px; min-height: 44px; border-radius: 999px; font-family: inherit; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--navy); }
.req { color: #B42318; margin-left: 2px; }
input, select, textarea { font: inherit; font-size: 15px; color: var(--ink); width: 100%; padding: 11px 13px; border: 1px solid #B9C1D3; border-radius: 8px; background: #fff; min-height: 46px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal-d); outline: 3px solid rgba(14, 142, 142, .2); }
input[type="file"] { padding: 9px; }
.hint { font-size: 13px; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; flex-shrink: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
/* Captcha a+b — chen bang JS sau khi trang load (assets/js/main.js), khong co trong HTML tinh */
.cap-input { max-width: 150px; }
.cap-refresh { justify-self: start; margin-top: 2px; padding: 0; border: 0; background: none;
  color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.cap-refresh:hover { color: var(--teal-d); }
.cap-refresh:focus-visible { outline: 3px solid rgba(14, 142, 142, .2); outline-offset: 2px; }
.form-status { grid-column: 1 / -1; border-radius: 8px; padding: 14px 16px; font-size: 15px; display: none; }
.form-status.ok { display: block; background: #E7F6EE; color: #11603A; border: 1px solid #A6DDBE; }
.form-status.err { display: block; background: #FDECEA; color: #8A1C12; border: 1px solid #F3B8B1; }
.contact-side { display: grid; gap: 16px; align-content: start; }
.contact-side .card { padding: 22px; }
.contact-side dt { font-size: 12px; letter-spacing: 1.5px; font-weight: 700; color: var(--teal-d); text-transform: uppercase; }
.contact-side dd { margin: 2px 0 14px; }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-3); color: #C4CBDD; padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }

.site-footer h3 { font-family: var(--font); color: #fff; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #C4CBDD; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid #2C3A6B; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* ---------- floating chat ---------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.chat-toggle { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--teal-d); color: #fff; box-shadow: 0 10px 26px rgba(11, 110, 110, .4); cursor: pointer; display: grid; place-items: center; }
.chat-toggle svg { width: 28px; height: 28px; }
.chat-menu { display: none; flex-direction: column; gap: 8px; background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 14px 40px rgba(20, 32, 82, .18); min-width: 220px; }
.chat.open .chat-menu { display: flex; }
.chat-menu a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; min-height: 44px; }
.chat-menu a:hover { background: var(--pale); color: var(--navy); }
.chat-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .3px; flex-shrink: 0; }
.ico-line { background: #06C755; }
.ico-zalo { background: #0068FF; }
.ico-tg { background: #229ED9; }
.ico-mail { background: var(--navy); }
.ico-tel { background: var(--teal-d); }
.chat-ico svg { width: 16px; height: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .grid-4, .stats, .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1200px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; font-size: 16px; }
  .nav-tools { margin-left: auto; }
  .nav-cta { display: none; }
}
@media (max-width: 760px) {
  .nav { gap: 12px; }
  .logo img { height: 38px; }
  .site-footer .logo img { height: 58px; }
  .grid-2, .grid-3, .split, .form { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { min-height: 560px; padding-top: 330px; }
  .hero::before { background: linear-gradient(180deg, rgba(14, 26, 80, 0) 0%, rgba(14, 26, 80, .35) 30%, rgba(14, 26, 80, .9) 55%); }
  .leader, .case { grid-template-columns: 1fr; }
  .leader .placeholder { max-width: 220px; }
  .page-hero { background-size: 600px auto; padding: 56px 0 40px; }
  .job { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-4, .stats, .journey { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* =====================================================================
   v2 — softer look, diagrams, photos, gentle motion
   ===================================================================== */
:root { --radius: 18px; --radius-lg: 26px; --shadow: 0 14px 40px rgba(30, 42, 82, .08); --shadow-hover: 0 22px 50px rgba(30, 42, 82, .13); --line-soft: #E6EAF2; }
.btn { border-radius: 999px; }
.card { border-color: var(--line-soft); border-radius: var(--radius); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
a.card:hover, .card-soft:hover, .b-node:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card-soft { background: #fff; box-shadow: 0 6px 22px rgba(30, 42, 82, .05); }
.card-h { font-family: var(--font); font-size: 19px; font-weight: 700; margin-top: 16px; }
.section-alt { background: linear-gradient(180deg, #F6F8FC 0%, #EEF6F7 100%); position: relative; overflow: hidden; }
.section-alt::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -180px; top: -200px; background: radial-gradient(circle, rgba(95, 191, 191, .18), rgba(95, 191, 191, 0) 70%); pointer-events: none; }
.section-alt > .container { position: relative; }
.hero { border-radius: 0 0 48px 48px; overflow: hidden; }
.page-hero { border-radius: 0 0 40px 40px; border-bottom: 0; background-color: #F3F7FB; }
.notice { border-style: solid; border-color: var(--line-soft); background: #fff; border-radius: var(--radius); }
.stat, .job, .mock, .placeholder, .cta-band { border-radius: var(--radius); }
.job { border-color: var(--line-soft); transition: transform .3s, box-shadow .3s; }
.job:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cta-band { margin: 0 20px 40px; border-radius: var(--radius-lg); overflow: hidden; }
input, select, textarea { border-radius: 12px; border-color: #CBD3E1; }
.tabs { padding: 6px; }

/* icon bubble */
.ico { width: 22px; height: 22px; flex-shrink: 0; }
.ico-inline { width: 16px; height: 16px; vertical-align: -3px; color: var(--teal); }
.bubble { width: 52px; height: 52px; border-radius: 16px; display: inline-grid; place-items: center; color: var(--teal-d); background: linear-gradient(135deg, #E6F4F4, #EEF1FA); flex-shrink: 0; transition: transform .35s ease; }
.bubble-lg { width: 64px; height: 64px; border-radius: 20px; }
.bubble-lg .ico { width: 28px; height: 28px; }
.card-soft:hover .bubble, .value:hover .bubble, .tl-item:hover .bubble { transform: translateY(-3px) rotate(-4deg); }

/* chips */
.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--pale); color: var(--navy); font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; }
.chips-sm li { font-size: 12px; padding: 4px 10px; }
.card-dark .chips li, .flow-nexora .chips li { background: rgba(255, 255, 255, .12); color: #fff; }

/* photos */
.photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #E8EEF6; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1.2s ease; }
.photo:hover img { transform: scale(1.03); }
.r-16x9 { aspect-ratio: 16 / 9; } .r-4x3 { aspect-ratio: 4 / 3; } .r-3x2 { aspect-ratio: 3 / 2; }
.post-cover { margin-bottom: 36px; }
.post .photo { box-shadow: none; border-radius: 14px; margin-bottom: 16px; }
.post h2 a { color: var(--navy); text-decoration: none; }
.post h2 a:hover { color: var(--teal-d); }

/* bridge diagram (home) */
.bridge { display: grid; grid-template-columns: 1fr 150px 1fr; align-items: stretch; gap: 0; }
.bridge .b-hub { align-self: center; }
.b-node { display: block; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.b-node:hover { color: var(--ink); }
.b-node .photo { border-radius: 0; box-shadow: none; }
.b-body { padding: 24px 26px 28px; }
.b-body h3 { font-size: 22px; margin-top: 6px; }
.b-body p.muted { margin-top: 8px; }
.b-hub { display: flex; align-items: center; justify-content: center; }
.b-line { flex: 1; height: 3px; background: repeating-linear-gradient(90deg, var(--teal-l) 0 10px, transparent 10px 18px); background-size: 36px 3px; animation: dash 1.6s linear infinite; }
.b-core { width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #2B3C78, var(--navy)); color: #fff; display: grid; place-content: center; text-align: center; font-family: var(--serif); font-weight: 700; font-size: 15px; letter-spacing: 1.5px; box-shadow: 0 0 0 10px rgba(95, 191, 191, .18), 0 12px 30px rgba(30, 42, 82, .3); flex-shrink: 0; animation: pulse 3.2s ease-in-out infinite; }
.b-core small { display: block; font-family: var(--font); font-size: 9px; letter-spacing: .5px; font-weight: 500; color: var(--teal-l); max-width: 74px; line-height: 1.3; margin-top: 2px; }
@keyframes dash { to { background-position: 36px 0; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 10px rgba(95, 191, 191, .18), 0 12px 30px rgba(30, 42, 82, .3); } 50% { box-shadow: 0 0 0 18px rgba(95, 191, 191, .08), 0 12px 30px rgba(30, 42, 82, .3); } }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 12px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 32px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 2px; background: linear-gradient(90deg, var(--teal-l), var(--navy)); opacity: .45; }
.tl-item { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tl-item .bubble { width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 8px 22px rgba(30, 42, 82, .1); position: relative; z-index: 1; }
.tl-item .bubble .ico { width: 26px; height: 26px; }
.tl-item b { color: var(--navy); margin-top: 8px; font-size: 15px; }
.tl-item span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.timeline-compact { margin: 26px 0 6px; }
.timeline-compact .tl-item .bubble { width: 52px; height: 52px; }
.timeline-compact::before { top: 26px; }
.timeline-3 { max-width: 820px; margin-inline: auto; }

/* stairs (growth journey) */
.stairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: end; }
.stair { background: #fff; border-radius: var(--radius-lg); padding: 22px; box-shadow: 0 6px 22px rgba(30, 42, 82, .06); min-height: calc(190px + var(--k) * 46px); display: flex; flex-direction: column; justify-content: flex-start; position: relative; transition: transform .35s, box-shadow .35s; }
.stair:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.stair::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 5px; border-radius: 5px 5px 0 0; background: linear-gradient(90deg, var(--teal-l), var(--teal)); opacity: calc(.35 + var(--k) * .2); }
.stair:last-child { background: var(--navy); color: #fff; }
.stair:last-child b { color: #fff; } .stair:last-child span { color: var(--teal-l); }
.stair:last-child .chips li { background: rgba(255, 255, 255, .12); color: #fff; }
.stair:last-child .bubble { background: rgba(255, 255, 255, .12); color: var(--teal-l); }
.stair-top { display: flex; gap: 14px; align-items: center; }
.stair-top b { display: block; font-size: 17px; letter-spacing: 1.5px; color: var(--navy); }
.stair-top span { font-size: 14px; color: var(--teal-d); font-weight: 500; }

/* talent flow (Japan) */
.flow { display: grid; grid-template-columns: 1.25fr 48px 1fr 48px 1fr; align-items: center; gap: 10px; }
.flow-col { display: grid; gap: 14px; }
.flow-node { background: #fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: 0 6px 22px rgba(30, 42, 82, .06); display: flex; gap: 14px; align-items: flex-start; }
.flow-node b { color: var(--navy); display: block; }
.flow-node .tag { font-size: 11px; }
.flow-arrow { color: var(--teal); display: grid; place-items: center; animation: nudge 2s ease-in-out infinite; }
.flow-arrow .ico { width: 32px; height: 32px; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.flow-nexora { background: var(--navy); color: #fff; flex-direction: column; align-items: center; text-align: center; padding: 26px 20px; }
.flow-nexora .b-core { width: 74px; height: 74px; font-size: 12px; letter-spacing: 1px; animation: none; }
.flow-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; text-align: left; }
.flow-list li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #DDE3F0; }
.flow-list .ico { color: var(--teal-l); width: 18px; height: 18px; }
.flow-end { flex-direction: column; }

/* values, vision/mission */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value { background: #fff; border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; box-shadow: 0 6px 22px rgba(30, 42, 82, .05); transition: transform .35s, box-shadow .35s; }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.value .tag { margin-top: 16px; font-size: 11px; }
.value h3 { font-family: var(--font); font-size: 18px; margin-top: 6px; }
.vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.vm > div { background: var(--pale); border-radius: var(--radius); padding: 18px; }
.vm .tag { margin-top: 10px; }
.vm p:last-child { margin-top: 4px; color: var(--navy); font-weight: 500; }
.partner { display: flex; flex-direction: column; }
.partner .ph-logo { margin-top: auto; border-radius: 12px; }
.partner p.muted { margin-bottom: 14px; }

/* motion: reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-in > * { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.hero-in > *:nth-child(2) { animation-delay: .12s; } .hero-in > *:nth-child(3) { animation-delay: .24s; } .hero-in > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero { background-size: cover; animation: heroZoom 14s ease-out both; }
@keyframes heroZoom { from { background-position: center 20%; } to { background-position: center top; } }

@media (max-width: 1020px) {
  .bridge { grid-template-columns: 1fr; gap: 0; }
  .b-hub { flex-direction: column; height: 150px; }
  .b-line { width: 3px; height: auto; flex: 1; background: repeating-linear-gradient(180deg, var(--teal-l) 0 10px, transparent 10px 18px); background-size: 3px 36px; animation: dashV 1.6s linear infinite; }
  @keyframes dashV { to { background-position: 0 36px; } }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); animation: none; }
  .stairs, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stair { min-height: 0; }
  .timeline { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); row-gap: 26px; }
  .timeline::before { display: none; }
}
@media (max-width: 760px) {
  .hero { border-radius: 0 0 32px 32px; }
  .cta-band { margin: 0 12px 28px; }
  .timeline { grid-template-columns: 1fr; text-align: left; }
  .tl-item { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; text-align: left; }
  .tl-item .bubble { grid-row: span 2; }
  .tl-item b { margin-top: 0; }
  .tl-item .bubble, .timeline-compact .tl-item .bubble { width: 48px; height: 48px; }
  .timeline-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline-compact .tl-item { display: flex; flex-direction: column; text-align: center; gap: 6px; }
  .vm { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .stairs, .values { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero, .hero-in > *, .b-line, .b-core, .flow-arrow { animation: none !important; }
  .card, .photo img, .bubble, .stair, .value, .job { transition: none; }
}

/* article extras: table of contents, tables, FAQ */
.toc { background: var(--pale); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0; }
.toc b { color: var(--navy); }
.toc ol { margin: 8px 0 0; padding-left: 22px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose h2[id] { scroll-margin-top: 90px; }
.prose h3 { font-family: var(--font); font-size: 18px; margin: 24px 0 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th { text-align: left; background: var(--navy); color: #fff; padding: 10px 12px; font-weight: 500; }
.prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.prose th:first-child { border-radius: 10px 0 0 0; } .prose th:last-child { border-radius: 0 10px 0 0; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 4px 18px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 22px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 14px; color: var(--muted); }
.sources { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .prose th, .prose td { min-width: 150px; } }
