/* mjtech — Apple-inspired corporate site
   Layout: centered 1200px content; white / light-gray / black sections alternate;
   large Pretendard headlines, product imagery center stage, 28px-radius tiles. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #000000;
  --tile-dark: #141416;
  --tile-dark-2: #1d1d1f;
  --line: #d2d2d7;
  --line-dark: rgba(255, 255, 255, .09);

  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;
  --on-dark-3: #6e6e73;

  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;

  --grad-brand: linear-gradient(95deg, #2f7bff 0%, #12b3c9 52%, #2fc46f 100%);
  --grad-gold: linear-gradient(100deg, #fff0bf 0%, #f2c862 42%, #c78f2c 100%);
  --gold: #e2b647;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --maxw: 1200px;
  --maxw-text: 980px;
  --pad: clamp(20px, 4vw, 40px);
  --nav-h: 52px;
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.53; letter-spacing: -.01em;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--text); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--maxw) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.container-text { max-width: calc(var(--maxw-text) + var(--pad) * 2); }
.center { text-align: center; }
.dark { background: var(--bg-dark); color: var(--on-dark); }
.alt { background: var(--bg-alt); }

/* ---------- type ---------- */
.t-hero { font-size: clamp(52px, 9vw, 112px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; text-wrap: balance; }
.t-h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1.06; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.t-h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.1; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.t-h3 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.22; font-weight: 700; letter-spacing: -.025em; }
.t-sub { font-size: clamp(19px, 2vw, 24px); line-height: 1.42; font-weight: 600; letter-spacing: -.02em; color: var(--text-2); text-wrap: balance; }
.dark .t-sub { color: var(--on-dark-2); }
.eyebrow { font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; letter-spacing: -.015em; }
.muted { color: var(--text-2); }
.dark .muted { color: var(--on-dark-2); }
.small { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.dark .small { color: var(--on-dark-2); }
.grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.grad-gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 24px; border-radius: 980px; border: 0;
  font-size: 17px; font-weight: 600; letter-spacing: -.015em; cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); }
.btn-gold { background: linear-gradient(180deg, #f6d888, #dcae45); color: #1d1d1f; box-shadow: 0 10px 30px -12px rgba(226, 182, 71, .7); }
.btn-gold:hover { box-shadow: 0 14px 36px -12px rgba(226, 182, 71, .95); }
.btn-ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.dark .btn-ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.dark .btn-ghost:hover { background: #fff; color: #000; }
.chev { display: inline-flex; align-items: center; gap: 2px; color: var(--link); font-size: 17px; font-weight: 500; }
.chev::after { content: ""; width: 7px; height: 7px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); margin-left: 5px; transition: transform .25s var(--ease); }
.chev:hover { text-decoration: underline; text-underline-offset: 3px; }
.chev:hover::after { transform: translateX(3px) rotate(45deg); }
.dark .chev { color: var(--link-dark); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(251, 251, 253, .76);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.nav.is-scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
.nav.is-dark { background: rgba(22, 22, 23, .8); border-bottom-color: rgba(255, 255, 255, .08); }
.nav.is-dark .logo { color: #f5f5f7; }
.nav.is-dark .logo-mark::after { background: #161617; }
.nav.is-dark .nav-links a { color: rgba(255, 255, 255, .78); }
.nav.is-dark .nav-links a:hover, .nav.is-dark .nav-links a[aria-current="page"] { color: #fff; }
.nav.is-dark .nav-toggle span { background: #f5f5f7; }
.nav .logo, .nav .nav-links a, .nav .logo-mark::after { transition: color .3s, background-color .3s; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 21px; letter-spacing: -.045em; color: var(--text); }
.logo-mark { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-brand); position: relative; flex: none; }
.logo-mark::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fbfbfd; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.nav-links a { font-size: 13.5px; color: rgba(0, 0, 0, .8); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #000; }
.nav-links a[aria-current="page"] { font-weight: 700; }
.nav-cta { min-height: 32px; padding: 6px 15px; font-size: 13.5px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav.is-open .nav-toggle span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { top: 19.5px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 99;
    background: rgba(251, 251, 253, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 24px var(--pad) 40px; display: none; flex-direction: column; align-items: stretch; gap: 28px;
  }
  .nav.is-open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 6px; }
  .nav-links a { font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: var(--text); padding: 6px 0; }
  .nav-cta { align-self: flex-start; min-height: 46px; padding: 11px 24px; font-size: 17px; }
}
@media (min-width: 861px) { .nav-menu { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 36px); } }

main { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }

/* ---------- section rhythm ---------- */
.section { padding-block: clamp(96px, 12vw, 160px); }
.section-sm { padding-block: clamp(72px, 9vw, 120px); }
.section-head { display: grid; gap: 18px; justify-items: center; text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .t-sub { max-width: 34em; }
.section-head.left { justify-items: start; text-align: left; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(56px, 9vw, 120px); overflow: hidden; }
.hero-copy { display: grid; justify-items: center; gap: 22px; text-align: center; }
.hero-copy .eyebrow { color: var(--text-2); }
.hero-copy .t-sub { max-width: 26em; }
.hero-copy .cta-row { margin-top: 10px; }
.device-stage { perspective: 1800px; margin-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 80px); position: relative; }
.device-stage::before {
  content: ""; position: absolute; left: 50%; top: 18%; width: 70%; height: 70%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(47, 123, 255, .22), rgba(47, 196, 111, .12) 55%, transparent);
  filter: blur(40px); z-index: 0; pointer-events: none;
}

/* laptop mockup */
.laptop { position: relative; z-index: 1; width: min(1040px, 100%); margin-inline: auto; transform-origin: 50% 100%; will-change: transform; }
.laptop-lid {
  position: relative; background: #0d0d0f; padding: 2.1% 2.1% 2.6%;
  border-radius: clamp(10px, 2.2vw, 24px) clamp(10px, 2.2vw, 24px) 0 0;
  box-shadow: inset 0 0 0 1.5px #3a3a3e, inset 0 0 0 5px #0d0d0f, 0 0 0 1px #9a9ba1;
}
.laptop-lid::before { content: ""; position: absolute; top: .9%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #1f2a33; box-shadow: inset 0 0 0 1px #2c3a46; }
.laptop-screen { position: relative; overflow: hidden; border-radius: 3px; aspect-ratio: 16 / 10; background: #000; }
.laptop-screen img { width: 100%; height: 100%; object-fit: cover; }
.laptop-base {
  position: relative; width: 116%; margin-left: -8%; height: clamp(10px, 1.6vw, 18px);
  background: linear-gradient(180deg, #e9eaee 0%, #c9cad0 45%, #a7a8ae 100%);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35);
}
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 45%; transform: translateX(-50%); background: linear-gradient(180deg, #b4b5bb, #d3d4d9); border-radius: 0 0 10px 10px; }

/* browser window */
.window { position: relative; border-radius: 14px; overflow: hidden; background: #1c1c1e; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.8); }
.window-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding-inline: 14px; background: #2a2a2d; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; flex: none; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-inline: auto; padding: 3px 14px; border-radius: 6px; background: #1c1c1e; color: #98989d; font-size: 11.5px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-screen { position: relative; aspect-ratio: 16 / 10; background: #000; }
.window-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); transform: scale(1.02); }
.window-screen img.is-active { opacity: 1; transform: scale(1); }

/* ---------- statement (word reveal) ---------- */
.statement { padding-block: clamp(110px, 14vw, 200px); }
.statement p { font-size: clamp(30px, 4.6vw, 60px); line-height: 1.22; font-weight: 800; letter-spacing: -.04em; max-width: 20em; margin-inline: auto; text-align: center; text-wrap: balance; }
.statement .w { color: var(--text); }
.js .statement .w { color: #d2d2d7; }

/* ---------- numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { background: var(--bg); border-radius: var(--r-xl); padding: 34px 28px; display: grid; gap: 6px; align-content: end; min-height: 220px; }
.stat-num { font-size: clamp(52px, 6vw, 80px); line-height: 1; font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 17px; font-weight: 700; color: var(--text); }
.stat-note { font-size: 14px; color: var(--text-2); }
.stats-caption { margin-top: 24px; text-align: center; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat { min-height: 180px; } }

/* ---------- product (dark) ---------- */
.product { position: relative; overflow: hidden; padding-top: clamp(110px, 13vw, 180px); padding-bottom: clamp(80px, 10vw, 140px); isolation: isolate; }
.product::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%), rgba(226, 182, 71, .14), transparent 60%);
}
.product .eyebrow { color: var(--gold); }
.product-copy { display: grid; justify-items: center; gap: 20px; text-align: center; }
.product-copy .t-sub { max-width: 28em; }
.product-shot { position: relative; margin: clamp(56px, 7vw, 96px) auto 0; width: min(760px, 100%); }
.product-shot::before { content: ""; position: absolute; inset: 8% 6% 4%; background: radial-gradient(closest-side, rgba(226, 182, 71, .45), transparent); filter: blur(60px); z-index: -1; }
.product-shot > img { border-radius: 26px; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 50px 120px -40px rgba(0,0,0,.9); }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 12px 18px; border-radius: 980px; font-size: 15px; font-weight: 700; letter-spacing: -.02em;
  background: rgba(40, 40, 44, .62); color: #fff; border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.8);
}
.float-chip b { color: var(--gold); font-weight: 800; }
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 12px #30d158; }
.chip-a { left: -12%; top: 16%; }
.chip-b { right: -14%; top: 38%; }
.chip-c { left: -6%; bottom: 14%; }
@media (max-width: 1068px) { .chip-a { left: 2%; } .chip-b { right: 2%; } .chip-c { left: 4%; } }
@media (max-width: 600px) { .float-chip { font-size: 13px; padding: 9px 13px; } .chip-a { top: -4%; } .chip-b { top: 46%; } .chip-c { bottom: -4%; } }

/* ---------- steps (sticky) ---------- */
.steps { padding-block: clamp(40px, 6vw, 80px) clamp(100px, 12vw, 160px); }
.steps-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.steps-visual { position: sticky; top: calc(50vh - min(22vw, 270px)); }
.steps-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.steps-dots i { width: 8px; height: 8px; border-radius: 99px; background: #424245; transition: width .4s var(--ease), background-color .4s; }
.steps-dots i.is-active { width: 28px; background: var(--gold); }
.step { min-height: 78vh; display: grid; align-content: center; gap: 14px; padding-block: 40px; }
.step-no { font-size: 15px; font-weight: 800; color: var(--gold); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; color: var(--on-dark); transition: color .5s var(--ease); }
.step p { font-size: clamp(17px, 1.5vw, 19px); color: var(--on-dark-2); max-width: 22em; transition: color .5s var(--ease); }
.js .step h3, .js .step p { color: var(--on-dark-3); }
.js .step.is-active h3 { color: var(--on-dark); }
.js .step.is-active p { color: var(--on-dark-2); }
.step-img { display: none; }
@media (max-width: 1068px) {
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .steps-visual { display: none; }
  .step { min-height: 0; padding-block: 36px; }
  .js .step h3 { color: var(--on-dark); }
  .js .step p { color: var(--on-dark-2); }
  .step-img { display: block; margin-top: 18px; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
}

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; min-height: 340px; }
.dark .tile { background: var(--tile-dark); box-shadow: inset 0 0 0 1px var(--line-dark); }
.alt .tile { background: var(--bg); }
.tile.span-2 { grid-column: span 2; }
.tile .tile-title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; font-weight: 800; letter-spacing: -.035em; }
.tile .tile-text { font-size: 17px; color: var(--text-2); max-width: 24em; }
.dark .tile .tile-text { color: var(--on-dark-2); }
.tile .tile-big { font-size: clamp(72px, 9vw, 120px); line-height: .95; font-weight: 800; letter-spacing: -.06em; margin-top: auto; }
.tile-media { margin-top: auto; margin-inline: calc(clamp(28px, 3vw, 40px) * -1); margin-bottom: calc(clamp(28px, 3vw, 40px) * -1); padding: 18px clamp(20px, 2.4vw, 32px) 0; }
.tile-media img { border-radius: 14px 14px 0 0; box-shadow: 0 0 0 1px rgba(255,255,255,.06); width: 100%; }
.tile-media.zoom img { height: clamp(170px, 17vw, 230px); object-fit: cover; object-position: left top; }
.tile-media.fade { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.tile-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 8px; flex: none; }
.tile-icon svg { width: 26px; height: 26px; }
.icon-gold { background: rgba(226, 182, 71, .14); color: var(--gold); }
.icon-green { background: rgba(48, 209, 88, .14); color: #30d158; }
.icon-blue { background: rgba(41, 151, 255, .14); color: #2997ff; }
.icon-violet { background: rgba(175, 82, 222, .14); color: #af52de; }
.icon-orange { background: rgba(255, 149, 0, .14); color: #ff9500; }
@media (max-width: 1068px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile.span-2 { grid-column: span 2; } }
@media (max-width: 680px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile.span-2 { grid-column: auto; } .tile { min-height: 260px; } }

/* ---------- lab (concept tools) ---------- */
.lab { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lab-card { display: grid; gap: 18px; align-content: start; }
.lab-visual {
  position: relative; aspect-ratio: 4 / 4.2; border-radius: var(--r-xl); overflow: hidden; display: grid; place-items: center; padding: 28px;
  transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.lab-visual:hover { box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.lab-1 { background: radial-gradient(120% 90% at 10% 0%, #dbeaff 0%, #eef2ff 45%, #f6efff 100%); }
.lab-2 { background: radial-gradient(120% 90% at 90% 0%, #ffe9cf 0%, #fff1e6 45%, #ffe8ef 100%); }
.lab-3 { background: radial-gradient(120% 90% at 50% 0%, #d9f7e6 0%, #e6f7f6 50%, #e8f1ff 100%); }
.mock { width: 100%; max-width: 300px; background: rgba(255,255,255,.9); border-radius: 18px; padding: 18px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 24px 48px -20px rgba(30, 40, 80, .28); display: grid; gap: 12px; transform: translateZ(40px); font-size: 13px; color: var(--text); }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 800; font-size: 14px; letter-spacing: -.02em; }
.mock-pill { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #eef4ff; color: #2f6fe0; white-space: nowrap; }
.mock-row { display: flex; align-items: center; gap: 10px; }
.mock-avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; background: linear-gradient(135deg, #8fb5ff, #b39cff); }
.mock-lines { display: grid; gap: 6px; flex: 1; }
.mock-line { height: 7px; border-radius: 4px; background: #e6e8ee; }
.mock-line.w60 { width: 60%; } .mock-line.w80 { width: 80%; } .mock-line.w40 { width: 40%; }
.mock-bubble { background: #f4f6fb; border-radius: 12px; padding: 10px 12px; line-height: 1.5; font-size: 12.5px; color: #3a3a3c; }
.mock-bubble mark { background: linear-gradient(transparent 55%, #ffe58a 55%); color: inherit; }
.mock-btn { justify-self: end; font-size: 12px; font-weight: 700; background: #1d1d1f; color: #fff; padding: 7px 12px; border-radius: 99px; }
.mock-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-langs span { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: #f2f2f5; color: #48484a; }
.mock-langs span.on { background: #ff9f0a; color: #fff; }
.seats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.seats i { aspect-ratio: 1; border-radius: 50%; background: #e3e5ea; }
.seats i.on { background: linear-gradient(135deg, #34c759, #12b3c9); }
.mock-legend { display: flex; justify-content: space-between; font-size: 12px; color: #6e6e73; font-weight: 600; }
.mock-legend b { color: var(--text); }
.lab-meta { display: grid; gap: 6px; padding-inline: 4px; }
.lab-meta h3 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--bg-alt); color: var(--text-2); letter-spacing: 0; }
.lab-meta p { color: var(--text-2); font-size: 16px; }
@media (max-width: 1000px) { .lab { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } .lab-visual { aspect-ratio: 4 / 3.2; } }

/* ---------- questions (philosophy) ---------- */
.questions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.q-card { background: var(--bg); border-radius: var(--r-xl); padding: 32px 28px 30px; display: grid; gap: 14px; align-content: start; min-height: 300px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.q-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(0,0,0,.25); }
.q-card .tile-icon { width: 52px; height: 52px; border-radius: 16px; }
.q-card .tile-icon svg { width: 28px; height: 28px; }
.q-card h3 { font-size: 23px; line-height: 1.3; font-weight: 800; letter-spacing: -.035em; margin-top: auto; }
.q-card p { font-size: 15.5px; color: var(--text-2); }
.notech { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 36px; }
.notech span { font-size: 15px; font-weight: 600; padding: 9px 16px; border-radius: 99px; background: var(--bg); color: var(--text); }
.notech .label { background: transparent; color: var(--text-2); padding-inline: 4px; }
@media (max-width: 1068px) { .questions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .questions { grid-template-columns: minmax(0, 1fr); } .q-card { min-height: 0; } .q-card h3 { margin-top: 10px; } }

/* ---------- carousel ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 30vw, 380px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 8px max(var(--pad), calc((100vw - var(--maxw)) / 2)) 30px;
  scroll-padding-inline: max(var(--pad), calc((100vw - var(--maxw)) / 2));
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; background: var(--bg); border-radius: var(--r-xl); overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: 0 2px 6px rgba(0,0,0,.04); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: scale(1.015); box-shadow: 0 20px 44px -24px rgba(0,0,0,.3); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: #e8e8ed; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 22px 24px 26px; display: grid; gap: 6px; align-content: start; }
.card-kicker { font-size: 13px; font-weight: 700; color: var(--text-2); }
.card-title { font-size: 20px; line-height: 1.32; font-weight: 800; letter-spacing: -.03em; }
.card-meta { font-size: 14px; color: var(--text-2); }
.alt-cards .card, .courses .card { background: var(--bg-alt); box-shadow: none; }
.alt-cards .card:hover, .courses .card:hover { box-shadow: 0 20px 44px -28px rgba(0,0,0,.28); }
.rail-btns { display: flex; justify-content: flex-end; gap: 12px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #e8e8ed; color: var(--text); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, opacity .2s; }
.rail-btn:hover { background: #dcdce1; }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-btn svg { width: 18px; height: 18px; }
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.rail-head .section-head { margin-bottom: 0; }

/* ---------- training ---------- */
.photo-hero { position: relative; min-height: clamp(520px, 82vh, 860px); display: grid; align-items: end; overflow: hidden; background: #000; color: #fff; }
.photo-hero > img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 58% 35%; will-change: transform; }
.photo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08) 30%, rgba(0,0,0,.8) 100%); }
.photo-hero .container { position: relative; z-index: 1; padding-bottom: clamp(48px, 7vw, 96px); display: grid; gap: 16px; }
.photo-hero .eyebrow { color: #7cc4ff; }
.photo-hero .t-sub { color: rgba(255,255,255,.82); max-width: 26em; }

.periods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; padding-top: 44px; }
.periods::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--line); border-radius: 2px; }
.periods-progress { position: absolute; left: 0; top: 6px; height: 2px; width: 100%; background: var(--grad-brand); transform-origin: left; border-radius: 2px; }
.period { display: grid; gap: 10px; align-content: start; position: relative; }
.period::before { content: ""; position: absolute; top: -44px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 3px #2f7bff; }
.period-no { font-size: 15px; font-weight: 800; }
.period h3 { font-size: 22px; line-height: 1.3; font-weight: 800; letter-spacing: -.03em; }
.period p { font-size: 15.5px; color: var(--text-2); }
.period-take { font-size: 14px; font-weight: 700; color: var(--text); background: var(--bg-alt); border-radius: 12px; padding: 10px 12px; margin-top: 6px; }
@media (max-width: 900px) {
  .periods { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 36px; gap: 36px; }
  .periods::before { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .periods-progress { left: 6px; top: 0; width: 2px; height: 100%; transform-origin: top; }
  .period::before { top: 3px; left: -36px; }
}

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 24px; }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee figure { width: clamp(260px, 28vw, 380px); flex: none; }
.marquee figure img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: 18px; background: #e8e8ed; }
.marquee figcaption { font-size: 14px; font-weight: 700; margin-top: 10px; color: var(--text); letter-spacing: -.02em; }
.marquee figcaption span { color: var(--text-2); font-weight: 500; margin-left: 6px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }

.orgs { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.orgs .marquee-track { gap: 56px; animation-duration: 45s; }
.orgs span { font-size: clamp(18px, 2vw, 24px); font-weight: 800; letter-spacing: -.03em; color: #a1a1a6; white-space: nowrap; }

.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .courses { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }

.tracks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.track { border-radius: var(--r-lg); padding: 26px 24px; background: var(--bg-alt); display: grid; gap: 8px; align-content: start; }
.track b { font-size: 13px; font-weight: 800; color: #2f7bff; }
.track h3 { font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; }
.track p { font-size: 15px; color: var(--text-2); }
@media (max-width: 1000px) { .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tracks { grid-template-columns: minmax(0, 1fr); } }

/* ---------- books ---------- */
.shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); align-items: end; }
.book { display: grid; gap: 16px; text-align: center; justify-items: center; }
.book-cover { width: 100%; max-width: 230px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px 10px 10px 4px; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 30px 50px -24px rgba(0,0,0,.45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.book:hover .book-cover { transform: translateY(-10px) rotate(-1.5deg); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 44px 60px -26px rgba(0,0,0,.5); }
.book-title { font-size: 17px; font-weight: 800; letter-spacing: -.025em; line-height: 1.35; }
.book-meta { font-size: 14px; color: var(--text-2); }
@media (max-width: 900px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }

/* ---------- ceo teaser ---------- */
.ceo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ceo-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #000; }
.ceo-photo img { width: 100%; aspect-ratio: 1 / 1.03; object-fit: cover; }
.ceo-copy { display: grid; gap: 24px; }
.ceo-quote { font-size: clamp(32px, 4vw, 52px); line-height: 1.2; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.ceo-name { display: grid; gap: 4px; }
.ceo-name strong { font-size: 21px; font-weight: 800; }
.ceo-name span { color: var(--on-dark-2); font-size: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 99px; background: var(--bg-alt); color: var(--text); }
.dark .pills li { background: #1d1d1f; color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--line-dark); }
@media (max-width: 900px) { .ceo { grid-template-columns: minmax(0, 1fr); } .ceo-photo { max-width: 520px; } }

/* ---------- press ---------- */
.press { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.press-card { background: var(--bg-alt); border-radius: var(--r-xl); padding: clamp(28px, 3.4vw, 44px); display: grid; gap: 16px; align-content: start; grid-template-rows: auto auto 1fr auto; transition: transform .4s var(--ease); }
.press-card:hover { transform: translateY(-4px); }
.press-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.press-title { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.press-card p { color: var(--text-2); }
@media (max-width: 860px) { .press { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-copy { display: grid; gap: 20px; position: sticky; top: calc(var(--nav-h) + 40px); }
.mail-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg); border-radius: var(--r-lg); padding: 18px 20px; }
.mail-card small { display: block; font-size: 13px; color: var(--text-2); }
.mail-card strong { font-size: 19px; font-weight: 700; user-select: all; overflow-wrap: anywhere; }
.copy-btn { border: 0; background: var(--bg-alt); border-radius: 99px; padding: 8px 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.copy-btn:hover { background: #e8e8ed; }
.form { background: var(--bg); border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 700; }
.field label .opt { font-weight: 500; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid transparent; border-radius: 12px; background: var(--bg-alt);
  padding: 14px 16px; font-size: 17px; line-height: 1.4; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .16); }
.form-status { font-size: 14.5px; color: var(--text-2); min-height: 1.5em; }
.form-status.is-error { color: #e30000; }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact-copy { position: static; } }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.footer { background: var(--bg-alt); color: var(--text-2); font-size: 12.5px; line-height: 1.6; padding-block: 40px 28px; }
.footer-note { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 24px; padding-block: 24px; }
.footer-grid h2 { font-size: 12.5px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.footer-grid ul { display: grid; gap: 6px; }
.footer-grid a { color: #424245; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand { display: grid; gap: 10px; align-content: start; }
.footer-brand .logo { font-size: 18px; }
.footer-brand .logo-mark::after { background: var(--bg-alt); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }

/* =========================================================
   CEO page
   ========================================================= */
.profile-hero {
  position: relative; overflow: hidden;
  margin-top: calc(-1 * (var(--nav-h) + env(safe-area-inset-top, 0px)));
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(40px, 6vw, 80px));
}
.profile-hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(47, 123, 255, .2), transparent 70%); filter: blur(30px); pointer-events: none; }
.profile-grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.profile-copy { display: grid; gap: 22px; padding-bottom: clamp(56px, 8vw, 120px); }
.profile-copy .eyebrow { color: var(--on-dark-2); }
.profile-name { font-size: clamp(76px, 12vw, 168px); line-height: .95; font-weight: 800; letter-spacing: -.06em; }
.profile-name span { display: inline-block; }
.profile-roles { display: grid; gap: 6px; font-size: clamp(16px, 1.5vw, 19px); color: var(--on-dark-2); font-weight: 500; }
.profile-roles li:first-child { color: #fff; font-weight: 700; }
.profile-photo { position: relative; align-self: end; }
.profile-photo img {
  width: 100%; max-width: 620px; margin-left: auto; filter: contrast(1.08) brightness(.96);
  -webkit-mask-image: radial-gradient(115% 100% at 52% 34%, #000 52%, transparent 78%);
          mask-image: radial-gradient(115% 100% at 52% 34%, #000 52%, transparent 78%);
}
@media (max-width: 900px) {
  .profile-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-photo { order: -1; max-width: 440px; margin-inline: auto; }
  .profile-copy { padding-bottom: 72px; }
}

.story { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-img { border-radius: var(--r-xl); overflow: hidden; }
.story-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% 40%; }
.story-copy { display: grid; gap: 18px; }
.story-copy p { font-size: 19px; line-height: 1.65; color: var(--text-2); }
.story-copy p strong { color: var(--text); font-weight: 700; }
@media (max-width: 900px) { .story { grid-template-columns: minmax(0, 1fr); } }

.big-quote { display: grid; gap: 22px; justify-items: center; text-align: center; }
.big-quote p { font-size: clamp(30px, 4.4vw, 58px); line-height: 1.22; font-weight: 800; letter-spacing: -.045em; max-width: 16em; text-wrap: balance; }
.big-quote footer { font-size: 16px; color: var(--text-2); max-width: 34em; }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.principle { background: var(--bg); border-radius: var(--r-xl); padding: 36px 32px; display: grid; gap: 14px; align-content: start; min-height: 320px; }
.principle .tile-icon { margin-bottom: 18px; }
.principle h3 { font-size: 26px; font-weight: 800; letter-spacing: -.035em; line-height: 1.25; }
.principle p { font-size: 16.5px; color: var(--text-2); }
@media (max-width: 900px) { .principles { grid-template-columns: minmax(0, 1fr); } .principle { min-height: 0; } }

.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cred { border-radius: var(--r-lg); padding: 24px; background: var(--tile-dark); box-shadow: inset 0 0 0 1px var(--line-dark); display: grid; gap: 6px; align-content: start; }
.cred b { font-size: 18px; font-weight: 800; letter-spacing: -.025em; line-height: 1.35; }
.cred span { font-size: 14px; color: var(--on-dark-2); }
@media (max-width: 900px) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .creds { grid-template-columns: minmax(0, 1fr); } }

.timeline { position: relative; max-width: 880px; margin-inline: auto; padding-left: 56px; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-progress { position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, #2f7bff, #12b3c9 50%, #2fc46f); transform-origin: top; }
.tl { position: relative; padding-bottom: 44px; display: grid; gap: 12px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: -48px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 3px #2f7bff; }
.tl-year { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tl ul { display: grid; gap: 8px; }
.tl li { font-size: 17px; line-height: 1.55; display: flex; gap: 10px; align-items: baseline; }
.tl li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c7c7cc; flex: none; transform: translateY(-2px); }
.tl li.award::before { background: var(--gold); box-shadow: 0 0 0 3px rgba(226, 182, 71, .25); }
.tl li small { color: var(--text-2); font-size: 14.5px; }
.legend { display: flex; justify-content: center; gap: 22px; font-size: 14px; color: var(--text-2); margin-bottom: 48px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: #c7c7cc; }
.legend i.award { background: var(--gold); }

.lectures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lectures .card { background: var(--bg-alt); box-shadow: none; }
@media (max-width: 1000px) { .lectures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lectures { grid-template-columns: minmax(0, 1fr); } }

.list { max-width: 980px; margin-inline: auto; border-top: 1px solid var(--line); }
.list li { border-bottom: 1px solid var(--line); }
.list a { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding: 20px 4px; transition: background-color .2s; }
.list a:hover { background: var(--bg-alt); }
.alt .list a:hover { background: var(--bg); }
.list .l-date { font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.list .l-title { font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.45; }
.list .l-src { font-size: 14px; color: var(--text-2); white-space: nowrap; }
@media (max-width: 680px) { .list a { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
