/* ===== Novacell Corporate Site ===== */
:root {
  /* Brand colors from logo */
  --brand-blue: #1AA8D9;
  --brand-blue-dark: #0E8AB8;
  --brand-blue-deep: #0A4A66;
  --brand-yellow: #F4CE0D;
  --brand-ink: #2B2F33;
  --ink: #1A1D20;
  --text: #333940;
  --muted: #6B7178;
  --line: #E3E7EB;
  --line-2: #EEF1F4;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FA;
  --bg-accent: #0A3B52;
  --radius: 4px;
  --max: 1200px;
  --header-h: 100px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

p, li, dd, dt, h1, h2, h3, h4,
.lead, .hero-lead, .hero-sub, .hero-title,
.split-card-body, .service-desc, .brand-text p,
.callout p, .two-col-item p, .legal-body p,
.message-text, .page-hero-lead, .page-hero-catch,
.mv-text, .strength-title, .problem-answer,
.company-intro p, .contact-choice-desc {
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 840px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-2);
  z-index: 100;
  height: var(--header-h);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(10,58,82,.06); }
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-link { display: flex; align-items: center; }
.logo-img { height: 64px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-desktop a {
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color .15s;
}
.nav-desktop a:hover { color: var(--brand-blue); }
.nav-desktop a.active { color: var(--brand-blue); }
.nav-desktop a.active::after {
  content:""; position:absolute; bottom:-4px; left:14px; right:14px;
  height: 2px; background: var(--brand-blue);
}
.nav-desktop a.nav-cta {
  margin-left: 10px;
  padding: 10px 20px;
  font-size: 15px;
  background: var(--brand-ink);
  color: #fff;
  border-radius: 2px;
  transition: background .15s;
}
.nav-desktop a.nav-cta:hover { background: var(--brand-blue); color: #fff; }
.nav-desktop a.nav-cta.active::after { display: none; }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  padding: 0;
}
.hamburger span {
  position: absolute; left: 8px; right: 8px;
  height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s, opacity .2s, top .2s;
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 25px; }
.hamburger.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(10,58,82,.08);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.active { color: var(--brand-blue); background: #F6FBFD; }

@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .hamburger { display: block; }
}

/* ===== PAGES ===== */
main { padding-top: var(--header-h); }
.page { display: none; }
.page.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HERO (TOP) ===== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  padding: 40px 0 56px;
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .9;
}
.shape-blue {
  width: 520px; height: 520px;
  right: -120px; top: 10%;
  background: radial-gradient(circle at 30% 30%, rgba(26,168,217,.18), rgba(26,168,217,0) 70%);
  filter: blur(30px);
}
.shape-yellow {
  width: 240px; height: 240px;
  right: 8%; top: 60%;
  background: radial-gradient(circle, rgba(244,206,13,.35), rgba(244,206,13,0) 70%);
  filter: blur(28px);
}
.hero-inner {
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .18em;
  font-weight: 600;
  color: var(--brand-blue);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 20px;
}
.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  color: var(--brand-blue-deep);
  margin: 0 0 22px;
  letter-spacing: .02em;
}
.hero-lead {
  max-width: 640px;
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--text);
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 30px;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--brand-blue), transparent);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 2px;
  transition: all .18s ease;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 48px;
}
.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26,168,217,.28);
}
.btn-primary:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26,168,217,.36);
}
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
}
.btn-ghost:hover { background: #fff; color: var(--brand-blue-deep); }
.btn-wide { width: 100%; min-height: 56px; font-size: 15px; }

/* Arrow links */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-blue);
  letter-spacing: .02em;
  position: relative;
  padding-right: 2px;
  transition: color .15s;
}
.link-arrow::after {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: currentColor;
  transition: width .2s;
}
.link-arrow:hover { color: var(--brand-blue-dark); }
.link-arrow:hover::after { width: 32px; }

/* ===== SECTIONS ===== */
.section {
  padding: 44px 0;
}
.section-muted { background: var(--bg-soft); }
.section-accent {
  background: linear-gradient(135deg, #0A3B52 0%, #0E5776 100%);
  color: #fff;
}
.section-accent .h2 { color: #fff; }
.section-accent .lead { color: rgba(255,255,255,.88); }

.section-head {
  margin-bottom: 22px;
}
.eyebrow {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--brand-blue);
  margin: 0 0 12px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--brand-yellow);
}
.eyebrow-light { color: rgba(255,255,255,.75); }
.eyebrow-light::before { background: var(--brand-yellow); }

.h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.005em;
}
.h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 16px;
}
.lead {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.95;
  color: var(--text);
}
.lead-light { color: rgba(255,255,255,.9); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, #F6FBFD 0%, #EAF5FA 100%);
  padding: 40px 0 36px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-2);
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(244,206,13,.22), transparent 70%);
  right: -100px; top: -100px;
  filter: blur(40px);
}
.page-hero-sm { padding: 32px 0 28px; }
.page-hero-en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .22em;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0 0 14px;
  text-transform: uppercase;
}
.page-hero-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
}
.page-hero-lead {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.9;
  color: var(--text);
  margin: 0;
  position: relative;
  z-index: 1;
}
.page-hero-catch {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--brand-blue-deep);
  margin: 0 0 16px;
  letter-spacing: .01em;
  position: relative;
  z-index: 1;
}

/* ===== TOP: Split Cards ===== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.split-card {
  padding: 36px 36px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #fff;
  transition: all .2s ease;
}
.split-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(10,58,82,.09);
}
.split-card--company {
  background: linear-gradient(135deg, #fff 0%, #F6FBFD 100%);
  border-top: 3px solid var(--brand-blue);
}
.split-card--jobseeker {
  background: linear-gradient(135deg, #fff 0%, #FFFBEA 100%);
  border-top: 3px solid var(--brand-yellow);
}
.split-card-tag {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 18px;
}
.split-card-title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.4;
}
.split-card-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  margin: 0 0 24px;
}

@media (max-width: 780px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-card { padding: 36px 28px; }
}

/* ===== Strength cards ===== */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.strength-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  position: relative;
  transition: all .2s;
}
.section-muted .strength-card { background: #fff; }
.strength-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10,58,82,.08);
  border-color: var(--brand-blue);
}
.strength-num {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.strength-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.55;
  margin: 0 0 20px;
}
.strength-bar {
  height: 3px;
  width: 32px;
  background: var(--brand-yellow);
}
.strength-grid--js { margin-top: 48px; }

@media (max-width: 820px) {
  .strength-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== Naming block (TOP accent) ===== */
.naming-block { max-width: 820px; color: #fff; }
.naming-body { margin: 28px 0 36px; }
.naming-body p {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 2;
  color: rgba(255,255,255,.88);
  margin: 0 0 14px;
}
.naming-body strong { color: var(--brand-yellow); font-weight: 600; }

/* ===== COMPANY: MV ===== */
.mv-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.mv-card {
  padding: 36px 32px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: #fff;
  position: relative;
}
.mv-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 3px;
  background: var(--brand-blue);
}
.mv-card:last-child::before { background: var(--brand-yellow); }
.mv-label {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--muted);
  margin: 0 0 20px;
}
.mv-text {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.005em;
}
.company-intro {
  padding: 32px 0 0;
  border-top: 1px solid var(--line-2);
}
.company-intro p {
  font-size: 16px;
  line-height: 2;
  color: var(--text);
  margin: 0;
}
@media (max-width: 780px) {
  .mv-block { grid-template-columns: 1fr; }
  .mv-card { padding: 32px 24px; }
}

/* ===== Info Table ===== */
.info-table {
  margin: 0;
  border-top: 1px solid var(--line);
}
.info-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info-row dt {
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
}
.info-row dd {
  margin: 0;
  font-size: 16px;
  color: var(--text);
  line-height: 1.85;
}
.note {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 720px) {
  .info-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }
}

/* ===== Brand story (logo) ===== */
.brand-story {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
}
.brand-logo-wrap {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.brand-logo { width: 100%; max-width: 280px; }
.brand-text p {
  font-size: 16px;
  line-height: 2;
  color: var(--text);
  margin: 0 0 24px;
}
.brand-text strong { color: var(--brand-blue-deep); font-weight: 600; }
@media (max-width: 820px) {
  .brand-story { grid-template-columns: 1fr; gap: 28px; }
  .brand-logo-wrap { position: static; padding: 28px; }
}

/* ===== SERVICES ===== */
.service-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px 36px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  transition: all .2s;
}
.service-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 12px 30px rgba(10,58,82,.06);
}
.service-index {
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
  letter-spacing: -.02em;
}
.service-en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .22em;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.service-title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 20px;
}
.service-desc {
  font-size: 16px;
  line-height: 1.95;
  color: var(--text);
  margin: 0 0 24px;
}
.service-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags li {
  font-size: 12px;
  padding: 6px 12px;
  background: #F6FBFD;
  color: var(--brand-blue-deep);
  border: 1px solid #D8EEF6;
  border-radius: 100px;
  font-weight: 500;
}
@media (max-width: 780px) {
  .service-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 16px;
  }
  .service-index { font-size: 40px; }
}

/* ===== Problem box ===== */
.problem-box {
  padding: 40px 40px;
  background: linear-gradient(135deg, #FFFBEA 0%, #FFF7D1 100%);
  border-radius: 4px;
  border-left: 4px solid var(--brand-yellow);
}
.problem-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 24px;
}
.problem-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.problem-list li {
  padding: 18px 20px;
  background: #fff;
  border-radius: 2px;
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
  position: relative;
  padding-left: 40px;
}
.problem-list li::before {
  content: "?";
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: var(--ink);
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.problem-answer {
  margin: 0;
  padding-top: 24px;
  border-top: 1px dashed rgba(0,0,0,.1);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.85;
}
@media (max-width: 780px) {
  .problem-box { padding: 36px 24px; }
  .problem-list { grid-template-columns: 1fr; }
}

/* ===== Flow list ===== */
.flow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.flow-list li {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border: 6px solid transparent;
  border-left-color: var(--brand-blue);
}
.flow-num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: -.02em;
}
.flow-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}
@media (max-width: 820px) {
  .flow-list { grid-template-columns: 1fr 1fr; }
  .flow-list li:nth-child(2)::after { display: none; }
}
@media (max-width: 520px) {
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li::after { display: none !important; }
}

/* ===== Support grid ===== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.support-item {
  padding: 32px 24px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.support-n {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--brand-blue);
}
@media (max-width: 820px) {
  .support-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .support-grid { grid-template-columns: 1fr; }
}

/* ===== Compare table ===== */
.table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.compare-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
}
.compare-table th, .compare-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}
.compare-table thead th {
  background: #F6F8FA;
  font-weight: 700;
  color: var(--ink);
  font-size: 13px;
  border-bottom: 2px solid var(--line);
}
.compare-table tbody th {
  background: #FAFBFC;
  font-weight: 600;
  color: var(--ink);
  min-width: 130px;
  font-size: 13px;
}
.compare-table .col-hl {
  background: #F6FBFD;
  color: var(--brand-blue-deep);
  font-weight: 500;
}
.compare-table thead .col-hl {
  background: var(--brand-blue);
  color: #fff;
}

.callout {
  margin-top: 40px;
  padding: 36px 40px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-left: 4px solid var(--brand-blue);
  border-radius: 4px;
}
.callout-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
}
.callout p { margin: 0; font-size: 16px; line-height: 1.95; color: var(--text); }
@media (max-width: 520px) {
  .callout { padding: 28px 22px; }
}

/* ===== Two column ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.two-col-item {
  padding: 36px 32px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid var(--line-2);
}
.two-col-item p { font-size: 16px; line-height: 1.95; color: var(--text); margin: 0; }
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; gap: 20px; }
  .two-col-item { padding: 28px 22px; }
}

/* ===== Merit grid ===== */
.merit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.merit-card {
  padding: 28px 28px 28px 32px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}
.merit-card::before {
  content: "";
  position: absolute;
  left: 0; top: 28px; bottom: 28px;
  width: 3px;
  background: var(--brand-blue);
}
.merit-n {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: -.02em;
  min-width: 36px;
}
.merit-card p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}
@media (max-width: 680px) {
  .merit-grid { grid-template-columns: 1fr; }
}

/* ===== Person grid ===== */
.person-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.person-card {
  padding: 32px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  transition: all .2s;
}
.person-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}
.person-card::before {
  content: "";
  display: block;
  width: 24px; height: 3px;
  background: var(--brand-yellow);
  margin: 0 auto 18px;
}
@media (max-width: 820px) {
  .person-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Message block ===== */
.message-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.message-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .25em;
  font-weight: 700;
  color: var(--brand-yellow);
  margin: 0 0 20px;
}
.message-text {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 2;
  color: #fff;
  margin: 0;
}

/* ===== Forms ===== */
.section-form { background: var(--bg-soft); padding: 44px 0; }
.section-form-alt { background: #fff; border-top: 1px solid var(--line-2); }
.form {
  background: #fff;
  padding: 36px 40px;
  border-radius: 4px;
  border: 1px solid var(--line-2);
  box-shadow: 0 4px 24px rgba(10,58,82,.04);
}
.form-row {
  margin-bottom: 16px;
}
.form-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.req {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--brand-yellow);
  color: var(--ink);
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: .05em;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea,
.form input[type="file"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(26,168,217,.14);
}
.form textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.form input[type="file"] { padding: 12px; }
.form-help {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
.form-submit { margin-top: 24px; }
.form-status {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--brand-blue-deep);
  text-align: center;
  min-height: 20px;
}
.form-status.error { color: #C53030; }
@media (max-width: 640px) {
  .form { padding: 28px 22px; }
}

/* ===== Contact choice cards ===== */
.contact-choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.contact-choice-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.contact-choice-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--brand-blue);
  transition: height .2s;
}
.contact-choice-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue);
  box-shadow: 0 16px 32px rgba(10,58,82,.08);
}
.contact-choice-card:hover::before { height: 100%; }
.contact-choice-en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
}
.contact-choice-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.contact-choice-desc {
  font-size: 14px;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.7;
}
.contact-note {
  padding: 20px 24px;
  background: #F6F8FA;
  border-radius: 4px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.contact-note p { margin: 0; }
@media (max-width: 820px) {
  .contact-choice { grid-template-columns: 1fr; }
}

/* ===== Legal body ===== */
.legal-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--brand-blue);
}
.legal-body p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text);
  margin: 0 0 14px;
}
.legal-body ul, .legal-body ol {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text);
  padding-left: 24px;
  margin: 0 0 14px;
}
.legal-body li { margin-bottom: 4px; }
.legal-info {
  margin-top: 16px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border-radius: 4px;
}
.legal-info p { margin: 0 0 6px; font-size: 15px; }

/* ===== FOOTER ===== */
.site-footer {
  background: #0A2838;
  color: rgba(255,255,255,.8);
  padding: 36px 0 0;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  padding-bottom: 28px;
}
.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.footer-address, .footer-contact {
  font-size: 13px;
  line-height: 1.85;
  margin: 0 0 14px;
  color: rgba(255,255,255,.7);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-nav-col h4 {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--brand-yellow);
  margin: 0 0 16px;
  font-weight: 700;
  text-transform: uppercase;
}
.footer-nav-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  padding: 6px 0;
  transition: color .15s;
}
.footer-nav-col a:hover { color: var(--brand-blue); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-family: var(--font-en);
  letter-spacing: .05em;
}

@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

/* ===== MODAL ===== */
.modal {
  position: fixed; inset: 0;
  background: rgba(10,40,56,.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  backdrop-filter: blur(4px);
}
.modal.open {
  display: flex;
  animation: fadeIn .2s ease;
}
.modal-inner {
  background: #fff;
  padding: 48px 40px;
  border-radius: 4px;
  text-align: center;
  max-width: 440px;
  width: 100%;
}
.modal-icon {
  color: var(--brand-blue);
  margin: 0 auto 20px;
  width: 64px; height: 64px;
  background: #F6FBFD;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
}
.modal-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
  margin: 0 0 28px;
}

/* ===== CTA panels (replaces inline forms) ===== */
.section-cta { background: var(--bg-soft); padding: 44px 0; }
.cta-panel {
  background: #fff;
  padding: 40px 44px;
  border-radius: 4px;
  border: 1px solid var(--line-2);
  box-shadow: 0 4px 24px rgba(10,58,82,.04);
  text-align: center;
}
.cta-panel .eyebrow { margin-bottom: 10px; }
.cta-panel .h2 { margin: 0 0 12px; }
.cta-panel .lead { margin: 0 auto 24px; max-width: 640px; }
.cta-panel .btn { margin-top: 4px; }
.cta-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.cta-single {
  max-width: 720px;
  margin: 0 auto;
}
.cta-double .cta-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cta-double .cta-panel .btn {
  margin-top: auto;
}
.cta-panel-accent {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}
.cta-panel-accent .h2,
.cta-panel-accent .lead-light { color: #fff; }
.cta-panel-accent .eyebrow-light { color: rgba(255,255,255,.8); }
.btn-light {
  background: #fff;
  color: var(--brand-blue);
  border-color: #fff;
}
.btn-light:hover { background: #F6FBFD; }
@media (max-width: 860px) {
  .cta-double { grid-template-columns: 1fr; }
  .cta-panel { padding: 32px 24px; }
}

/* ===== Modal: form variant ===== */
body.modal-open { overflow: hidden; }
.modal .modal-inner { position: relative; }
.modal-view { position: relative; }
.modal-close {
  position: absolute;
  top: -8px; right: -8px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.modal-close:hover { background: var(--bg-soft); }
.modal-view-form {
  text-align: left;
}
.modal .modal-view-form { width: 100%; }
.modal:has(.modal-view-form:not([hidden])) .modal-inner,
.modal .modal-inner:has(.modal-view-form:not([hidden])) {
  max-width: 640px;
  padding: 40px 40px 32px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.modal-head {
  text-align: center;
  margin-bottom: 24px;
}
.modal-head .eyebrow { margin: 0 0 8px; }
.modal-head .modal-title { margin: 0 0 10px; font-size: 24px; }
.modal-sub {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  margin: 0;
}
.modal-form-slot .form {
  border: none;
  box-shadow: none;
  padding: 0;
}
@media (max-width: 640px) {
  .modal { padding: 12px; }
  .modal .modal-inner { padding: 28px 20px; }
  .modal-close { top: 4px; right: 4px; }
}

/* ===== Section spacing adjustments ===== */
@media (max-width: 640px) {
  .section { padding: 32px 0; }
  .section-head { margin-bottom: 18px; }
  .hero { padding: 28px 0 40px; min-height: auto; }
  .page-hero { padding: 28px 0 24px; }
}

/* ===== Members ===== */
.member-lead {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 28px 32px;
  margin: 0 0 32px;
  border-left: 4px solid var(--brand-yellow);
}
.member-lead-title {
  font-family: var(--font-en, "Plus Jakarta Sans", sans-serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--brand-blue);
  margin: 0 0 8px;
  font-weight: 700;
}
.member-lead-text {
  font-size: 16px;
  line-height: 1.95;
  color: var(--text);
  margin: 0;
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.member-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(10,58,82,.10);
}
.member-card--lead {
  border-top: 3px solid var(--brand-blue);
}
.member-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #F6FBFD;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.member-body {
  padding: 18px 20px 22px;
  text-align: left;
}
.member-role {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--brand-blue);
  font-weight: 600;
  margin: 0 0 6px;
}
.member-card--lead .member-role { color: var(--brand-blue-deep); }
.member-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}
.member-name-en {
  display: block;
  font-family: var(--font-en, "Plus Jakarta Sans", sans-serif);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}
@media (max-width: 980px) {
  .member-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .member-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .member-body { padding: 14px 14px 18px; }
  .member-name { font-size: 16px; }
  .member-lead { padding: 22px 22px; }
}
