/* =========================================================
   TORAH Website — design system v4
   Navy / white / silver, one clinical blue. Hairlines, not shadows.
   ========================================================= */

:root {
  --navy: #0a1626;
  --navy-2: #0f1f33;
  --navy-3: #1a2d45;
  --ink: #0b1420;
  --ink-2: #414b58;
  --mute: #6f7884;
  --faint: #9aa2ad;
  --line: #e3e6ea;
  --line-2: #cfd4da;
  --line-d: rgba(255, 255, 255, .12);
  --line-d2: rgba(255, 255, 255, .22);
  --paper: #f4f5f4;
  --white: #fff;
  --accent: #1f52cc;
  --accent-d: #8eaefc;
  --silver: #b7c0ca;
  --container: 1320px;
  --gutter: 32px;
  --hd-h: 80px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Hiragino Sans", "Noto Sans JP", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  /* Hangul / Kana / Han fall back to Pretendard instead of a full-width CJK mono font */
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, "Pretendard Variable", Pretendard, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 24px); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  font-size: 16px; line-height: 1.7; letter-spacing: -.011em; word-break: keep-all;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss06";
}
:lang(ja) body, :lang(zh-CN) body { word-break: normal; line-break: strict; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
em { font-style: normal; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
html, body { overflow-x: clip; }
/* grid/flex children may shrink below their content width */
.hero__grid > *, .showcase > *, .phero__grid > *, .sh > *, .sh__body > *, .cta__inner > *, .spec-wrap > *, .contact > *,
.cert > *, .award > *, .statement > *, .ceo > *, .tl-year > *, .tech__item > *, .cols > *, .qgrid > *, .news > *, .panels > *,
.steps > *, .pipeline > *, .facts > *, .cases > *, .addr > *, .form__row > * { min-width: 0; }
.viewer__bar span, .viewer__foot span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Typography ---------- */
.t-display { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.1; font-weight: 600; letter-spacing: -.045em; }
.t-h1 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.2; font-weight: 600; letter-spacing: -.04em; }
.t-h2 { font-size: clamp(23px, 2.1vw, 30px); line-height: 1.3; font-weight: 600; letter-spacing: -.03em; }
.t-h3 { font-size: 19px; line-height: 1.45; font-weight: 600; letter-spacing: -.02em; }
.t-lead { font-size: clamp(16.5px, 1.25vw, 19px); line-height: 1.75; color: var(--ink-2); }
.t-display em, .t-h1 em { color: var(--accent); }

.label {
  display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
}
.label--light { color: var(--silver); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 26px; border-radius: 2px; border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.btn .icon { font-size: 17px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--accent); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--paper); }
.btn--line { border-color: currentColor; }
.btn--ghost-light { border-color: var(--line-d2); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; }

.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; color: var(--ink);
  padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.link .icon { transition: transform .3s var(--ease); }
.link:hover { color: var(--accent); }
.link:hover .icon { transform: translateX(3px); }
.link--light { color: #fff; }
.link--light:hover { color: var(--accent-d); }

/* ---------- Header ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hd-h);
  background: #fff; color: var(--ink); border-bottom: 1px solid var(--line);
  transition: background .3s, color .3s, border-color .3s;
}
.page-home .hd:not(.is-solid) { background: transparent; color: #fff; border-color: var(--line-d); }
.hd__inner { display: flex; align-items: center; height: 100%; gap: 48px; }
.logo { font-weight: 700; font-size: 21px; letter-spacing: .04em; line-height: 1; }
.logo span { color: var(--accent); }
.page-home .hd:not(.is-solid) .logo span { color: var(--accent-d); }

.gnb { margin-left: auto; }
.gnb__list { display: flex; gap: 4px; }
.gnb__item { position: relative; }
.gnb__link { display: flex; align-items: center; height: var(--hd-h); padding: 0 18px; font-weight: 500; font-size: 15px; position: relative; }
.gnb__link::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.gnb__item:hover .gnb__link::after, .gnb__item.is-active .gnb__link::after { transform: scaleX(1); }
.gnb__sub {
  position: absolute; top: var(--hd-h); left: 0; min-width: 220px; padding: 8px 0;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-top: 0;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.gnb__item:hover .gnb__sub, .gnb__item:focus-within .gnb__sub { opacity: 1; visibility: visible; }
.gnb__sub a { display: block; padding: 11px 20px; font-size: 14.5px; color: var(--ink-2); }
.gnb__sub a:hover, .gnb__sub a.is-current { color: var(--accent); }

.hd__right { display: flex; align-items: center; gap: 20px; }
.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 6px; height: 40px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.lang__btn .icon { font-size: 13px; opacity: .6; transition: transform .2s; }
.lang.is-open .lang__btn .icon { transform: rotate(180deg); }
.lang__list { position: absolute; right: 0; top: calc(100% + 18px); min-width: 150px; padding: 6px 0; background: #fff; color: var(--ink);
  border: 1px solid var(--line); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.lang.is-open .lang__list { opacity: 1; visibility: visible; }
.lang__list a { display: block; padding: 9px 18px; font-size: 14px; color: var(--ink-2); }
.lang__list a:hover, .lang__list a.is-current { color: var(--accent); }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; }
.nav-open .burger span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 10vw, 148px) 0; }
.section--tight { padding: clamp(56px, 6vw, 88px) 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .t-lead, .section--navy p { color: rgba(255, 255, 255, .68); }

/* Section head: index + label on the left, title on the right */
.sh {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter);
  padding-top: 28px; border-top: 1px solid var(--ink); margin-bottom: clamp(48px, 6vw, 80px);
}
.sh__label { grid-column: 1 / span 4; display: flex; gap: 14px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.sh__label span { color: var(--accent); }
.sh__body { grid-column: 5 / span 8; display: grid; gap: 24px; }
.sh__body .t-lead { max-width: 720px; }
.sh--light { border-color: var(--line-d2); }
.sh--light .sh__label { color: var(--silver); }
.sh--light .sh__label span { color: var(--accent-d); }

/* ---------- Page hero (sub pages) ---------- */
.phero { padding: calc(var(--hd-h) + clamp(56px, 7vw, 104px)) 0 clamp(56px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: clamp(36px, 4vw, 56px); }
.crumbs a:hover { color: var(--ink); }
.crumbs span:last-child { color: var(--ink-2); }
.phero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter) 64px; align-items: end; }
.phero__grid .t-lead { padding-bottom: 8px; }

.subnav { border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 40px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 20px 0; font-size: 15px; font-weight: 500; color: var(--mute); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-current { color: var(--ink); border-color: var(--ink); }

/* ---------- Home hero ---------- */
.hero { background: var(--navy); color: #fff; padding: calc(var(--hd-h) + clamp(48px, 6vw, 96px)) 0 0; position: relative; }
.hero::before { /* fine engineering grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 120px 120px; background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero > .container { position: relative; }
.hero__grid { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; }
.hero__text .label { margin-bottom: 32px; }
.hero__text .t-display { font-size: clamp(38px, 4.8vw, 68px); }
.hero__text .t-display em { color: var(--accent-d); }
.hero__text .t-lead { color: rgba(255, 255, 255, .7); margin-top: 32px; max-width: 540px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 48px; }

.viewer { border: 1px solid var(--line-d2); background: #05090f; }
.viewer__bar, .viewer__foot { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--silver); }
.viewer__bar { border-bottom: 1px solid var(--line-d); }
.viewer__foot { border-top: 1px solid var(--line-d); color: var(--faint); }
.viewer__stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #000; }
.viewer__stage img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.95); }
.viewer__tick { position: absolute; width: 18px; height: 18px; border-color: rgba(255, 255, 255, .55); border-style: solid; border-width: 0; }
.viewer__tick--tl { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.viewer__tick--tr { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.viewer__tick--bl { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.viewer__tick--br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.viewer__roi { position: absolute; left: 61%; top: 36%; width: 24%; height: 25%; border: 1px solid var(--accent-d); }
.viewer__roi span { position: absolute; left: -1px; bottom: 100%; padding: 3px 8px; background: var(--accent-d); color: var(--navy);
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }

.hero__trust { display: flex; flex-wrap: wrap; margin-top: clamp(64px, 7vw, 104px); border-top: 1px solid var(--line-d); }
.hero__trust li { flex: 1 1 0; padding: 26px 24px 30px 0; font-size: 14px; color: var(--silver); letter-spacing: -.005em; }
.hero__trust li + li { padding-left: 24px; border-left: 1px solid var(--line-d); }

/* ---------- Showcase ---------- */
.showcase { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
.frame { border: 1px solid var(--line-2); background: #fff; }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.frame__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.frame__bar span { margin-left: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--faint); }
.frame .fig { aspect-ratio: 1900 / 948; }

.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row__n { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 3px; }
.row p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.row--link { display: block; border-bottom: 0; padding-top: 36px; }

/* ---------- Figures ---------- */
.fig { position: relative; overflow: hidden; background: var(--paper); }
.fig img { width: 100%; height: 100%; object-fit: cover; }
.fig--dark { background: #05090f; }
.fig__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 24px; text-align: center; color: var(--faint); font-size: 14px;
  background-image: repeating-linear-gradient(135deg, transparent 0 11px, rgba(0, 0, 0, .025) 11px 12px); }
.fig__ph small { font-family: var(--mono); font-size: 11px; opacity: .8; word-break: break-all; }
.fig--dark .fig__ph { color: rgba(255, 255, 255, .4); }

/* ---------- Findings (home list) ---------- */
.flist { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(7, auto); column-gap: 64px;
  border-top: 1px solid var(--line-d2); }
.flist li, .flist__normal { display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line-d); transition: background .2s; }
.flist__n { font-family: var(--mono); font-size: 12.5px; color: var(--accent-d); }
.flist__en { font-size: 18px; font-weight: 500; color: #fff; letter-spacing: -.015em; }
.flist__ko { font-size: 14.5px; color: var(--silver); text-align: right; }
.flist__normal { grid-template-columns: 56px auto 1fr auto; margin-top: 40px; border: 1px solid var(--line-d2); padding: 22px 24px; }
.flist__normal .flist__ko { text-align: left; }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 36px 28px 40px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.fact b { display: block; margin-top: 28px; font-size: clamp(30px, 3vw, 44px); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; }
.fact span { display: block; margin-top: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; }
.step { padding: 28px 28px 8px 0; border-top: 1px solid var(--line-2); position: relative; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--accent); }
.step__n { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--mute); margin-bottom: 40px; }
.step p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* ---------- Columns (generic numbered text) ---------- */
.cols { display: grid; gap: 0 var(--gutter); }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.cols--4 { grid-template-columns: repeat(4, 1fr); }
.col { padding-top: 24px; border-top: 1px solid var(--line-2); }
.col__n { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--accent); margin-bottom: 32px; }
.col p { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); }
.cols--light .col { border-color: var(--line-d2); }
.cols--light .col__n { color: var(--accent-d); }
.section .video + .cols { margin-top: clamp(64px, 7vw, 104px); }

/* ---------- Quality (home) ---------- */
.qgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.qcard { display: block; }
.qcard__body { padding-top: 24px; }
.qcard__body .t-h3 { margin-top: 10px; }
.qcard:hover .doc { border-color: var(--ink); }
.doc { position: relative; aspect-ratio: 1 / 1.25; background: var(--paper); border: 1px solid var(--line); overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 10%; transition: border-color .25s; }
.doc img { width: 100%; height: 100%; object-fit: contain; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(10, 22, 38, .35); background: #fff; }
.doc__ph { width: 100%; height: 100%; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; position: relative; }
.doc__ph::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); }
.doc__ph b { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.doc__ph span { font-size: 13.5px; color: var(--ink-2); }
.doc__ph small { margin-top: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.doc--award { background: var(--navy); border-color: var(--navy); padding: 0; }
.doc--award img { object-fit: cover; box-shadow: none; background: transparent; }
.qcard:hover .doc--award { border-color: var(--accent); }

.emblem { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 12%; color: #fff; position: relative; }
.emblem::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line-d2); pointer-events: none; }
.emblem__top { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--silver); }
.emblem__top sup { font-size: .6em; }
.emblem__mid { margin-top: 18px; font-size: clamp(30px, 3vw, 44px); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; }
.emblem__rule { width: 40px; height: 1px; background: var(--accent-d); margin: 24px 0 18px; }
.emblem__bot { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-d); }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.news__item { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 32px 40px 0; min-height: 280px; transition: color .2s; }
.news__item + .news__item { padding-left: 32px; border-left: 1px solid var(--line-2); }
.news__meta { display: flex; gap: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--mute); text-transform: uppercase; }
.news__meta span + span { color: var(--accent); }
.news__item p { font-size: 15px; color: var(--ink-2); }
.news__go { margin-top: auto; font-size: 20px; color: var(--ink); transition: transform .3s var(--ease); }
.news__item:hover h3 { color: var(--accent); }
.news__item:hover .news__go { transform: translateX(4px); }

/* ---------- CTA ---------- */
.cta { background: var(--navy-2); color: #fff; padding: clamp(88px, 9vw, 136px) 0; }
.cta__inner { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.cta .label { margin-bottom: 28px; }
.cta__side p { color: rgba(255, 255, 255, .66); font-size: 16px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Footer ---------- */
.ft { background: var(--navy); color: rgba(255, 255, 255, .62); font-size: 14px; padding: 80px 0 40px; }
.ft__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: var(--gutter); padding-bottom: 56px; border-bottom: 1px solid var(--line-d); }
.ft .logo { color: #fff; }
.ft__tagline { margin-top: 20px; line-height: 1.75; }
.ft__col h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); margin-bottom: 20px; }
.ft__col li + li { margin-top: 10px; }
.ft__col a:hover { color: #fff; }
.ft__info { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 28px 0 0; font-size: 13px; }
.ft__info b { color: rgba(255, 255, 255, .85); font-weight: 500; margin-right: 8px; }
.ft__notice { margin-top: 16px; font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.ft__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.ft__legal { display: flex; gap: 24px; }
.ft__legal a:hover { color: #fff; }

/* ---------- Video ---------- */
.video { position: relative; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video__toggle { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(10, 22, 38, .6); color: #fff; border: 1px solid var(--line-d2); font-size: 16px; }
.video__toggle:hover { background: var(--navy); }

/* ---------- Product: findings table ---------- */
.ftable { border-top: 1px solid var(--ink); background: #fff; }
.ftable__head, .ftable__row { display: grid; grid-template-columns: 64px minmax(200px, 1.15fr) minmax(130px, .6fr) 2fr; gap: 24px; padding: 0 28px; }
.ftable__head { padding-top: 16px; padding-bottom: 16px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--line-2); }
.ftable__row { padding-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); align-items: baseline; transition: background .2s; }
.ftable__row:hover { background: #fafbfb; }
.ftable__n { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.ftable__name b { display: block; font-weight: 600; font-size: 16.5px; letter-spacing: -.015em; }
.ftable__name small { display: block; margin-top: 2px; font-size: 14px; color: var(--mute); }
.ftable__region { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.ftable__desc { font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.ftable__row--normal { background: var(--navy); color: #fff; border-bottom: 0; }
.ftable__row--normal:hover { background: var(--navy); }
.ftable__row--normal .ftable__n, .ftable__row--normal .ftable__name small, .ftable__row--normal .ftable__region, .ftable__row--normal .ftable__desc { color: var(--silver); }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--faint); }
.dot--lung { background: var(--accent); }
.dot--pleura { background: #5f8fb8; }
.dot--cardio { background: var(--navy-3); }
.dot--other { background: transparent; border: 1px solid var(--faint); }

.note { display: flex; gap: 12px; margin-top: 32px; font-size: 14px; color: var(--mute); line-height: 1.65; max-width: 900px; }
.note .icon { font-size: 18px; margin-top: 2px; }

/* ---------- Product: real output panels ---------- */
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); max-width: 1080px; }
.panel__img { position: relative; border: 1px solid var(--line-d2); }
.panel__img .fig { aspect-ratio: 1 / 1; }
.panel__img img { image-rendering: auto; }
.panel__tag { position: absolute; top: 12px; right: 12px; font-family: var(--mono); font-size: 11px; color: var(--silver);
  background: rgba(5, 9, 15, .7); padding: 3px 8px; border: 1px solid var(--line-d); }
.panel figcaption { padding-top: 20px; display: grid; gap: 6px; }
.panel figcaption b { font-weight: 600; font-size: 17px; color: #fff; }
.panel figcaption span { font-size: 14.5px; color: rgba(255, 255, 255, .62); }
.panels__caption { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-d); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--faint) !important; }

/* ---------- Product: specs ---------- */
.spec-wrap { display: grid; grid-template-columns: 8fr 4fr; gap: 64px; align-items: start; }
.spec { border-top: 1px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.spec dt { font-size: 14.5px; color: var(--mute); }
.spec dd { font-size: 15.5px; font-weight: 500; }
.docs { background: #fff; border: 1px solid var(--line-2); padding: 36px 32px; display: grid; gap: 14px; justify-items: start; }
.docs p { font-size: 15px; color: var(--ink-2); margin-bottom: 12px; }

/* ---------- Technology ---------- */
.tech { border-top: 1px solid var(--line-2); }
.tech__item { display: grid; grid-template-columns: 3fr 6fr 3fr; gap: var(--gutter); padding: 48px 0 56px; border-bottom: 1px solid var(--line-2); align-items: start; }
.tech__n { display: block; font-family: var(--mono); font-size: 13px; color: var(--accent); }
.tech__label { margin-top: 12px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.tech__body > p { margin-top: 18px; color: var(--ink-2); font-size: 16px; max-width: 620px; }
.ticks { margin-top: 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--ink); }
.tech__media .fig { aspect-ratio: 1 / 1; border: 1px solid var(--line); }
.tech__media--empty { display: block; }

.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-d2); }
.pipeline li { padding: 28px 24px 8px 0; }
.pipeline li + li { padding-left: 24px; border-left: 1px solid var(--line-d); }
.pipeline__n { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--accent-d); margin-bottom: 40px; }
.pipeline h3 { font-size: 17px; font-weight: 600; color: #fff; }
.pipeline p { margin-top: 10px; font-size: 14.5px; }

/* ---------- Timeline ---------- */
.tl-year { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gutter); padding: 40px 0 8px; border-top: 1px solid var(--ink); }
.tl-year + .tl-year { margin-top: 56px; }
.tl-year__label { font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.tl-list { display: grid; }
.tl-item { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tl-item:first-child { padding-top: 0; }
.tl-item__date { font-family: var(--mono); font-size: 13px; color: var(--mute); padding-top: 3px; }
.tl-item__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.tl-item p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.section > .container > .tl-list { border-top: 1px solid var(--ink); padding-top: 24px; }
.tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; padding: 2px 7px; line-height: 1.5; }

/* ---------- About ---------- */
.statement { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gutter); }
.statement__text { grid-column: 2; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.65; font-weight: 500; letter-spacing: -.025em; color: var(--ink); }
.statement > div { grid-column: 2; margin-top: 56px; }
.ceo { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gutter); }
.ceo--text .ceo__text { grid-column: 2; }
.ceo__text { max-width: 760px; }
.ceo__text p { font-size: 17px; line-height: 1.9; color: var(--ink-2); }
.ceo__text p + p { margin-top: 20px; }
.ceo__sign { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; font-size: 15px; color: var(--mute); }
.ceo__sign b { font-size: 19px; font-weight: 600; color: var(--ink); }

/* ---------- Company brochure ---------- */
.brochure { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.brochure > * { min-width: 0; }
.brochure__page img { width: 100%; height: auto; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 40px -28px rgba(10, 22, 38, .35); -webkit-user-drag: none; }
.brochure__page figcaption { margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--mute); }
.brochure__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 48px; }
.brochure__foot span { font-size: 14px; color: var(--mute); }
.docs .link { margin-top: 6px; font-size: 14.5px; }
@media (max-width: 640px) { .brochure { grid-template-columns: 1fr; } }

/* ---------- Clinical applications ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); }
.case { padding: 40px 48px 56px 0; border-bottom: 1px solid var(--line-2); }
.case:nth-child(even) { padding-left: 48px; padding-right: 0; border-left: 1px solid var(--line-2); }
.case__n { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--accent); margin-bottom: 48px; }
.case p { margin-top: 16px; color: var(--ink-2); font-size: 16px; max-width: 520px; }

/* ---------- Certifications ---------- */
.certs { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.cert { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; padding: 56px 0; border-bottom: 1px solid var(--line-2); align-items: center; }
.cert__media { display: block; position: relative; }
.cert__media .doc { aspect-ratio: 1 / 1.1; }
.cert__media img { -webkit-user-drag: none; user-select: none; }
.cert__body .t-h2 { margin-top: 14px; }
.cert__body > p { margin-top: 18px; color: var(--ink-2); max-width: 560px; }
.cert__meta { margin-top: 40px; border-top: 1px solid var(--line-2); max-width: 560px; }
.cert__meta > div { display: grid; grid-template-columns: 140px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cert__meta dt { color: var(--mute); }
.cert__meta dd { font-weight: 500; }

.award { display: grid; grid-template-columns: 5fr 7fr; gap: 0 72px; align-items: center; }
.award__media { grid-row: span 2; background: var(--navy); aspect-ratio: 4 / 3; overflow: hidden; }
.award__media img { width: 100%; height: 100%; object-fit: cover; }
.award__meta { border-top: 1px solid var(--ink); }
.award__meta > div { display: grid; grid-template-columns: 140px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; }
.award__meta dt { color: var(--mute); }
.award__meta dd { font-weight: 500; }
.award .link { justify-self: start; margin-top: 32px; }


/* ---------- Directions ---------- */
.map { aspect-ratio: 21 / 9; background: var(--paper); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.addr { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: 56px; }
.addr > div { border-top: 1px solid var(--ink); padding-top: 20px; }
.addr dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.addr dd { font-size: 16px; font-weight: 500; line-height: 1.7; }
.addr small { display: block; margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--mute); }
.addr a:hover { color: var(--accent); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 8fr 4fr; gap: 80px; align-items: start; }
.form { display: grid; gap: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { display: grid; gap: 10px; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 14px; }
.req { color: var(--accent); margin-left: 3px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 10px 0 12px; transition: border-color .2s;
}
.field textarea { min-height: 180px; resize: vertical; border: 1px solid var(--line-2); padding: 14px 16px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.was-validated .field input:invalid, .was-validated .field textarea:invalid { border-color: #c0392b; }
.field small { font-size: 13px; color: var(--faint); }
.field small.is-ok { color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-2); font-size: 14.5px; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.chip:hover span { border-color: var(--ink); color: var(--ink); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.agree { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--paper); font-size: 14px; cursor: pointer; }
.agree input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--navy); flex: none; }
.agree > span { display: grid; gap: 4px; }
.agree > span > span { color: var(--mute); font-size: 13.5px; }
.mailnote { padding: 24px 24px 22px; border: 1px solid var(--line-2); border-left: 3px solid var(--navy); background: var(--paper); }
.mailnote__title { font-weight: 600; font-size: 16px; color: var(--ink); }
.mailnote p + p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.mailnote b { color: var(--ink); font-weight: 600; }
.mailnote__addr { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.mailnote__addr a { font-size: 17px; font-weight: 600; color: var(--accent); }
.mailnote__copy { height: 32px; padding: 0 12px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; color: var(--ink-2); }
.mailnote__copy:hover { border-color: var(--ink); color: var(--ink); }
.form__hint { font-size: 13px; color: var(--mute); margin-top: -8px; }
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__msg { font-size: 14.5px; }
.form__msg.is-ok { color: var(--accent); }
.form__msg.is-err { color: #c0392b; }
.spinner { width: 14px; height: 14px; border: 1.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.side { border-top: 1px solid var(--ink); position: sticky; top: calc(var(--hd-h) + 32px); }
.side dl > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.side dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.side dd { font-size: 15.5px; font-weight: 500; }
.side dd a:hover { color: var(--accent); }
.side small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--mute); }

/* Labels that mostly carry local-language text: sans, not mono */
.viewer__foot span:last-child, .doc__ph small, .ftable__head, .addr dt, .side dt, .crumbs span:last-child, .panels__caption {
  font-family: var(--font); letter-spacing: .02em; text-transform: none;
}

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  :root { --gutter: 28px; }
  .gnb__link { padding: 0 12px; }
  .gnb__link::after { left: 12px; right: 12px; }
  .hero__grid, .showcase { gap: 48px; }
  .steps, .pipeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .pipeline li:nth-child(4) { padding-left: 0; border-left: 0; }
  .cols--4 { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .tech__item { grid-template-columns: 3fr 9fr; }
  .tech__media { grid-column: 2; max-width: 320px; }
  .tech__media--empty { display: none; }
}

@media (max-width: 960px) {
  :root { --hd-h: 64px; --gutter: 22px; }
  .burger { display: block; }
  .hd__cta { display: none; }
  .hd__right { margin-left: auto; gap: 8px; }
  .gnb { position: fixed; inset: var(--hd-h) 0 0; background: #fff; color: var(--ink); padding: 16px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .nav-open .gnb { opacity: 1; visibility: visible; }
  .nav-open .hd { background: #fff !important; color: var(--ink) !important; }
  .gnb__list { flex-direction: column; gap: 0; }
  .gnb__item { border-bottom: 1px solid var(--line); }
  .gnb__link { height: auto; padding: 20px 0; font-size: 19px; font-weight: 600; }
  .gnb__link::after { display: none; }
  .gnb__sub { position: static; opacity: 1; visibility: visible; border: 0; padding: 0 0 16px; min-width: 0; }
  .gnb__sub a { padding: 8px 0; font-size: 15.5px; }
  .nav-open body { overflow: hidden; }

  .sh { grid-template-columns: 1fr; row-gap: 28px; }
  .sh__label, .sh__body { grid-column: 1; }
  .phero__grid, .hero__grid, .showcase, .cta__inner, .spec-wrap, .contact, .cert, .award, .statement, .ceo, .tl-year { grid-template-columns: 1fr; }
  .statement__text, .statement > div, .ceo--text .ceo__text { grid-column: 1; }
  .ceo > div:first-child:not(.ceo__text) { max-width: 360px; }
  .hero__grid { gap: 56px; }
  .viewer { max-width: 560px; }
  .cert { gap: 40px; }
  .cert__media { max-width: 420px; }
  .award { gap: 32px; }
  .award__media { grid-row: auto; }
  .qgrid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .news { grid-template-columns: 1fr; }
  .news__item, .news__item + .news__item { padding: 28px 0 32px; border-left: 0; border-bottom: 1px solid var(--line-2); min-height: 0; }
  .news__go { margin-top: 8px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flist { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
  .ftable__head { display: none; }
  .ftable__row { grid-template-columns: 44px 1fr; gap: 6px 12px; padding: 22px 20px; }
  .ftable__region, .ftable__desc { grid-column: 2; }
  .panels { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .panel figcaption span { display: none; }
  .tl-year { gap: 24px; }
  .side { position: static; }
  .cases { grid-template-columns: 1fr; }
  .case, .case:nth-child(even) { padding: 32px 0 40px; border-left: 0; }
  .case__n { margin-bottom: 24px; }
  .map { aspect-ratio: 4 / 3; }
  .addr { grid-template-columns: 1fr; gap: 32px; }
  .tech__item { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .tech__media { grid-column: 1; }
  .ft__top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .ft__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .t-display { font-size: clamp(34px, 9vw, 44px); }
  .hero__text .t-display { font-size: clamp(34px, 9.4vw, 46px); }
  .hero__trust li, .hero__trust li + li { flex-basis: 100%; padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line-d); }
  .hero__cta .btn, .cta__btns .btn { flex: 1 1 100%; }
  .steps, .pipeline { grid-template-columns: 1fr; row-gap: 0; }
  .step { padding: 24px 0 28px; }
  .step__n, .pipeline__n { margin-bottom: 16px; }
  .pipeline li, .pipeline li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line-d); }
  .cols--3, .cols--4 { grid-template-columns: 1fr; row-gap: 40px; }
  .col__n { margin-bottom: 16px; }
  .qgrid { grid-template-columns: 1fr 1fr; }
  .qcard--award { grid-column: span 2; }
  .qcard--award .doc { aspect-ratio: 16 / 9; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 28px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .fact b { margin-top: 16px; }
  .flist li { grid-template-columns: 40px 1fr; }
  .flist li .flist__ko { grid-column: 2; text-align: left; margin-top: -6px; }
  .flist__normal { grid-template-columns: 40px 1fr; padding: 20px; }
  .flist__normal .link { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
  .panels { grid-template-columns: 1fr; gap: 32px; }
  .panel figcaption span { display: block; }
  .spec > div { grid-template-columns: 1fr; gap: 4px; }
  .form__row { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .cert__meta > div, .award__meta > div { grid-template-columns: 110px 1fr; }
  .viewer__bar span:nth-child(2) { display: none; }
}
