/* BigFun T&P one-page — 색은 로고 가이드(2023.09) 3색 기준 */
:root {
  --deep: #004ab5;
  --deep-2: #003a8f;
  --deep-3: #002a6b;
  --mid: #008ee5;
  --light: #72c8f2;
  --sky: #eef7fd;
  --sky-2: #dcefFB;
  --paper: #ffffff;
  --ink: #0b1b33;
  --ink-2: #44546b;
  --line: #d8e5f2;
  --temp: #f2a900;
  --f-display: "Outfit", "Noto Sans KR", system-ui, sans-serif;
  --f-body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --container: 1200px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --header-h: 72px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--paper); word-break: keep-all; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--deep); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--mid); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(80px, 12vw, 140px); position: relative; }
.section-tight { padding-block: clamp(64px, 9vw, 100px); position: relative; overflow: hidden; }
.tone-light { background: var(--paper); }
.tone-sky { background: var(--sky); }
.tone-deep { background: var(--deep); color: #fff; }

.eyebrow { font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); margin-bottom: 14px; }
.tone-deep .eyebrow { color: var(--light); }
.section-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 4.2vw, 48px); letter-spacing: -.02em; }
.accent { color: var(--mid); }
.section-head { margin-bottom: clamp(36px, 6vw, 64px); max-width: 760px; }
.section-desc { margin-top: 16px; color: var(--ink-2); font-size: 17px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); will-change: transform; cursor: pointer; font-family: inherit; }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--light); color: var(--deep-3); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-cta { background: var(--deep); color: #fff; }
.btn-cta:hover { background: var(--mid); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .4s, box-shadow .4s, transform .4s var(--ease); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { position: relative; display: block; width: 120px; height: 30px; flex: none; }
.brand .logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s; }
.logo-std { opacity: 0; }
.gnb { display: flex; gap: 6px; margin-left: auto; }
.gnb a { position: relative; padding: 8px 14px; font-weight: 500; font-size: 15px; color: #fff; text-decoration: none; border-radius: 999px; transition: color .3s, background .3s; }
.gnb a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.gnb a:hover::after, .gnb a.is-active::after { transform: scaleX(1); }
.site-header .btn-cta { background: #fff; color: var(--deep); }
.is-scrolled .site-header, .on-light .site-header { background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.on-light .site-header .gnb a { color: var(--ink); }
.on-light .site-header .gnb a.is-active { color: var(--deep); }
.on-light .site-header .logo-rev { opacity: 0; }
.on-light .site-header .logo-std { opacity: 1; }
.on-light .site-header .btn-cta { background: var(--deep); color: #fff; }
.is-scrolled:not(.on-light) .site-header { background: rgba(0, 58, 143, .78); box-shadow: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; }
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), background .3s; }
.on-light .menu-toggle span { background: var(--ink); }
.nav-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: radial-gradient(120% 90% at 85% 15%, #0a63d6 0%, var(--deep) 48%, var(--deep-2) 100%); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; width: 100%; }
.hero .eyebrow { color: var(--light); font-size: 15px; }
.hero-title { font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 7.4vw, 92px); line-height: 1.12; letter-spacing: -.035em; }
.hero-title span { display: block; }
.hero-title em { font-style: normal; background: linear-gradient(90deg, #fff 0%, var(--light) 60%, #fff 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
.hero-sub { margin-top: 26px; font-size: clamp(16px, 1.8vw, 20px); color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-line { opacity: 0; transform: translateY(40px); animation: rise 1s var(--ease) forwards; animation-delay: calc(.15s + var(--i, 0) * .12s); }
.scroll-cue { position: absolute; left: 50%; bottom: 34px; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; z-index: 1; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes shine { to { background-position: -200% 0; } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); }
.lead strong { color: var(--deep); }
.strengths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 7vw, 80px); }
.strength { position: relative; background: var(--sky); border-radius: 22px; padding: 28px 24px 30px; transform-style: preserve-3d; transition: background .4s, box-shadow .4s; }
.strength:hover { background: #fff; box-shadow: 0 24px 50px -24px rgba(0, 74, 181, .35), 0 0 0 1px var(--line); }
.s-key { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50% 50% 50% 12px; background: var(--deep); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 22px; margin-bottom: 22px; transform: translateZ(30px); }
.strength:nth-child(2) .s-key { background: var(--mid); }
.strength:nth-child(3) .s-key { background: var(--light); color: var(--deep-3); }
.strength:nth-child(4) .s-key { background: var(--deep-3); }
.strength h3 { font-size: 18px; margin-bottom: 10px; }
.strength p { font-size: 14.5px; color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(48px, 7vw, 80px) 0 0; border-top: 1px solid var(--line); }
.stat { padding: 28px 20px 0; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dt { font-size: 14px; color: var(--ink-2); }
.stat dd { margin: 6px 0 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 5vw, 60px); color: var(--deep); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat small { font-family: var(--f-body); font-size: 16px; font-weight: 700; margin-left: 4px; color: var(--ink); }

/* ---------- business (sticky scrollytelling) ---------- */
.biz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.biz-visual { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; height: min(560px, calc(100vh - var(--header-h) - 80px)); display: flex; flex-direction: column; gap: 18px; }
.biz-stage { position: relative; flex: 1; border-radius: 32px; background: var(--deep); overflow: hidden; transition: background-color .8s var(--ease); }
.biz-stage[data-active="1"] { background: var(--mid); }
.biz-stage[data-active="2"] { background: var(--light); }
.biz-stage[data-active="3"] { background: var(--deep-3); }
.biz-stage::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; right: -20%; top: -25%; background: rgba(255,255,255,.1); }
.vis { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8% 10% 12%; opacity: 0; transform: scale(.92) translateY(30px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.vis.is-active { opacity: 1; transform: none; }
.vis svg { width: 100%; height: auto; max-height: 80%; filter: drop-shadow(0 20px 30px rgba(0, 20, 60, .25)); }
.vis figcaption { position: absolute; left: 28px; bottom: 22px; font-weight: 700; color: #fff; font-size: 15px; }
.biz-stage[data-active="2"] .vis figcaption { color: var(--deep-3); }
.biz-dots { display: flex; gap: 8px; }
.biz-dots li { flex: 1; height: 4px; border-radius: 2px; background: var(--sky-2); font-size: 0; overflow: hidden; position: relative; }
.biz-dots li::after { content: ""; position: absolute; inset: 0; background: var(--deep); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.biz-dots li.is-active::after { transform: scaleX(1); }
.biz-list { display: flex; flex-direction: column; }
.area { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; opacity: .25; transition: opacity .6s var(--ease); }
.area.is-active { opacity: 1; }
.area-no { font-family: var(--f-display); font-weight: 800; font-size: 15px; color: var(--mid); }
.area h3 { font-size: clamp(26px, 3vw, 36px); margin: 8px 0 16px; letter-spacing: -.02em; }
.area > p { font-size: 17px; color: var(--ink-2); }
.area-vis { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--deep); }
.cases { border-top: 1px solid var(--line); }
.cases li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cases li span { color: var(--ink-2); font-size: 14px; }
.text-link { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--deep); text-decoration: none; }
.text-link:hover { color: var(--mid); }

/* ---------- solutions ---------- */
.compare { position: relative; height: clamp(300px, 42vw, 460px); border-radius: 28px; overflow: hidden; background: var(--sky); margin-bottom: 56px; user-select: none; --pos: 50%; }
.cmp-pane { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 6% 32px; }
.cmp-before { background: repeating-linear-gradient(45deg, #edf1f6 0 14px, #e6ebf2 14px 28px); }
.cmp-after { background: linear-gradient(135deg, var(--deep) 0%, var(--mid) 100%); clip-path: inset(0 0 0 var(--pos)); }
.cmp-label { position: absolute; top: 20px; font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.cmp-before .cmp-label { left: 24px; background: #fff; color: var(--ink-2); }
.cmp-after .cmp-label { right: 24px; background: rgba(255,255,255,.18); color: #fff; }
.slide { width: min(560px, 88%); aspect-ratio: 16 / 9; background: #fff; border-radius: 10px; padding: calc(5% + 22px) 6% 5%; display: flex; flex-direction: column; gap: 6%; box-shadow: 0 10px 30px rgba(0, 20, 60, .12); position: relative; }
.slide-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(16px, 2.2vw, 26px); color: #8a96a8; }
.slide-body { flex: 1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 6%; }
.ph { border-radius: 8px; background: #dfe5ee; position: relative; overflow: hidden; }
.ph-lines { display: flex; flex-direction: column; gap: 12%; justify-content: center; }
.ph-lines i { display: block; height: 12px; border-radius: 6px; background: #dfe5ee; }
.ph-lines i:nth-child(2) { width: 80%; } .ph-lines i:nth-child(3) { width: 60%; }
.slide-foot { font-size: 12px; color: #8a96a8; display: flex; align-items: center; gap: 10px; }
.file-bar { background: #e4e8ee; }
.is-web .slide-title { color: var(--deep); }
.is-web .ph { background: var(--light); }
.is-web .ph-lines i { background: #cfe6f8; transform-origin: left; animation: grow 2.4s var(--ease) infinite alternate; }
.is-web .ph-lines i:nth-child(2) { animation-delay: .2s; } .is-web .ph-lines i:nth-child(3) { animation-delay: .4s; }
.is-web .slide-foot { color: var(--deep); font-weight: 600; }
.sun { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: #fff; left: 33%; top: 20%; animation: bounce 1.6s ease-in-out infinite; }
.browser-bar { position: absolute; top: 0; left: 0; right: 0; height: 22px; background: #eef3f9; border-radius: 10px 10px 0 0; display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c3cfdd; }
.browser-bar span { margin-left: 10px; font-size: 10px; color: #7a889b; }
.play-bar { width: 80px; height: 6px; border-radius: 3px; background: #cfe6f8; overflow: hidden; }
.play-bar b { display: block; height: 100%; background: var(--mid); animation: play 3s linear infinite; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--deep); display: grid; place-items: center; font-size: 11px; letter-spacing: -1px; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
@keyframes grow { from { transform: scaleX(.3); } to { transform: scaleX(1); } }
@keyframes bounce { 50% { transform: translateY(30%); } }
@keyframes play { from { transform: translateX(-100%); } to { transform: none; } }

.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--sky); margin-bottom: 28px; flex-wrap: wrap; }
.tab { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink-2); cursor: pointer; transition: background .3s, color .3s; }
.tab.is-active { background: var(--deep); color: #fff; }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sol { position: relative; padding: 28px 26px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); transform-style: preserve-3d; transition: border-color .4s, box-shadow .4s, opacity .4s, transform .5s var(--ease); }
.sol:hover { border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0, 74, 181, .45), 0 0 0 1px var(--mid); }
.sol.is-hidden { display: none; }
.sol.is-featured { background: linear-gradient(150deg, var(--deep) 0%, var(--mid) 120%); color: #fff; border-color: transparent; }
.sol.is-featured p { color: rgba(255,255,255,.85); }
.sol.is-featured .feat li { background: rgba(255,255,255,.14); color: #fff; }
.sol-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.year { font-family: var(--f-display); font-weight: 700; font-size: 14px; color: var(--mid); }
.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge-soon { background: #fff; color: var(--deep); }
.sol h3 { font-size: 19px; margin-bottom: 10px; }
.sol p { font-size: 14.5px; color: var(--ink-2); }
.feat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.feat li { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--sky); color: var(--deep); }
.sol-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--sky) center / 26px no-repeat; transform: translateZ(24px); }
.is-featured .sol-ico { background-color: rgba(255,255,255,.16); }
.ico-web { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E"); }
.ico-pptx { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004ab5' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='13' rx='2'/%3E%3Cpath d='M12 17v3M8 21h8M10 8v5l4-2.5z'/%3E%3C/svg%3E"); }
.ico-pdf { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004ab5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 3h8l5 5v13H6z'/%3E%3Cpath d='M14 3v5h5M9 14h6M9 17h4'/%3E%3C/svg%3E"); }
.ico-hwp { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004ab5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 3h8l5 5v13H6z'/%3E%3Cpath d='M9 12h6M12 10v2M10 16a2 2 0 104 0 2 2 0 10-4 0'/%3E%3C/svg%3E"); }
.ico-viewer { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004ab5' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.ico-ebook { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004ab5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6c-2-1.5-5-2-8-1.5v14c3-.5 6 0 8 1.5 2-1.5 5-2 8-1.5v-14c-3-.5-6 0-8 1.5zM12 6v14'/%3E%3C/svg%3E"); }
.ico-aidt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004ab5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2 5 5 2-5 2-2 5-2-5-5-2 5-2z'/%3E%3Cpath d='M19 15l.8 2 2 .8-2 .8-.8 2-.8-2-2-.8 2-.8z'/%3E%3C/svg%3E"); }
.ico-audio { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004ab5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 10v4M8 7v10M12 4v16M16 8v8M20 11v2'/%3E%3C/svg%3E"); }
.ico-opt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004ab5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3L5 14h6l-1 7 8-11h-6z'/%3E%3C/svg%3E"); }

/* ---------- history ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 44px; }
.tl-line { position: absolute; left: 0; right: 0; top: 14px; height: 3px; background: var(--sky-2); border-radius: 2px; }
.tl-line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep), var(--mid)); transform: scaleX(0); transform-origin: left; border-radius: 2px; }
.tl-year { position: relative; }
.tl-year::before { content: ""; position: absolute; top: -38px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--deep); }
.tl-year h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 4vw, 48px); color: var(--deep); margin-bottom: 16px; }
.tl-year li { position: relative; padding: 8px 0 8px 14px; font-size: 15px; border-bottom: 1px dashed var(--line); }
.tl-year li::before { content: ""; position: absolute; left: 0; top: 18px; width: 5px; height: 5px; border-radius: 50%; background: var(--mid); }
.tl-year li b { color: var(--mid); margin-right: 6px; font-family: var(--f-display); }

/* ---------- partners ---------- */
#partners { background: var(--deep-2); }
.marquee { margin-top: 40px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li a { display: block; padding: 18px clamp(28px, 4vw, 56px); font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 42px); color: rgba(255,255,255,.55); text-decoration: none; white-space: nowrap; transition: color .3s; }
.marquee-track li a:hover { color: #fff; }
.marquee-track { align-items: center; }
.marquee-etc { display: block; padding: 18px clamp(56px, 8vw, 120px) 18px 0; font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); color: var(--light); white-space: nowrap; }
.mq-start { display: flex; align-items: center; gap: 14px; padding: 0 clamp(8px, 1.5vw, 20px) 0 0; }
.mq-start::before { content: ""; width: 1px; height: 64px; background: rgba(255,255,255,.25); margin-right: clamp(56px, 8vw, 120px); }
.mq-badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px rgba(255,255,255,.08); flex: none; }
.mq-badge img { width: 40px; height: auto; }
.mq-tag { font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--light); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- contact ---------- */
.contact { background: var(--deep); overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%; background: var(--mid); opacity: .35; right: -160px; bottom: -220px; box-shadow: -200px -60px 0 -80px var(--light); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.02em; }
.contact-desc { margin-top: 18px; color: rgba(255,255,255,.8); font-size: 17px; }
.contact-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 14px; }
.c-card { position: relative; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 22px 22px 20px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.c-wide { grid-column: 1 / -1; }
.c-label { display: block; font-size: 13px; color: var(--light); font-weight: 700; margin-bottom: 6px; }
.c-value { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); text-decoration: none; overflow-wrap: anywhere; }
.c-addr { font-family: var(--f-body); font-size: 18px; }
.copy, .map-links a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; margin-top: 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: none; color: #fff; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: none; transition: background .3s, color .3s; }
.copy:hover, .map-links a:hover { background: #fff; color: var(--deep); }
.copy.is-done { background: var(--light); color: var(--deep-3); border-color: var(--light); }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep-3); color: rgba(255,255,255,.72); font-size: 14px; padding-block: 44px calc(44px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: flex; gap: 48px; align-items: flex-start; flex-wrap: wrap; }
.footer-logo { width: 140px; height: auto; }
.footer-info p { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 6px; }
.footer-info b { color: #fff; }
.copyright { margin-top: 14px; color: rgba(255,255,255,.5); }
.link-btn { border: 0; background: none; padding: 0; color: #fff; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- modal ---------- */
.modal { border: 0; border-radius: 24px; padding: 0; max-width: min(560px, calc(100vw - 32px)); color: var(--ink); }
.modal::backdrop { background: rgba(0, 20, 60, .55); backdrop-filter: blur(4px); }
.modal-body { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.modal-body h2 { font-size: 22px; margin-bottom: 6px; }
.modal-body form { margin-top: 10px; }
.muted { color: var(--ink-2); font-size: 14px; }

/* ---------- floating ---------- */
.to-top { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--deep); color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 10px 24px rgba(0, 40, 110, .35); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .4s, transform .4s var(--ease), background .3s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--mid); }
.temp-toggle { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; height: 36px; padding: 0 14px; border-radius: 999px; border: 2px dashed var(--temp); background: #fffaf0; color: #7a5200; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.temp-toggle[aria-pressed="true"] { background: var(--temp); color: #3d2900; border-style: solid; }
.show-temp [data-temp] { outline: 2px dashed var(--temp) !important; outline-offset: 4px; position: relative; }
.show-temp [data-temp]::after { content: "임시 · " attr(data-temp); position: absolute; top: -12px; right: 6px; z-index: 5; font: 700 11px/1 var(--f-body); background: var(--temp); color: #3d2900; padding: 4px 7px; border-radius: 4px; pointer-events: none; white-space: nowrap; }

/* small helper motions inside illustrations */
.pulse { animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.bob { animation: bob 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.spin-slow { animation: pulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.slide-x { animation: slidex 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.12); } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes slidex { 50% { transform: translateX(8px); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .strengths { grid-template-columns: repeat(2, 1fr); }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 72px; }
  .tl-line { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: flex; margin-left: auto; }
  .site-header .btn-cta { display: none; }
  .gnb { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 0 max(28px, env(safe-area-inset-left, 0px)); background: var(--deep); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .gnb a { font-family: var(--f-display); font-size: 30px; font-weight: 800; color: #fff !important; opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav-open .gnb { opacity: 1; visibility: visible; }
  .nav-open .gnb a { opacity: 1; transform: none; }
  .nav-open .gnb a:nth-child(2) { transition-delay: .05s; } .nav-open .gnb a:nth-child(3) { transition-delay: .1s; } .nav-open .gnb a:nth-child(4) { transition-delay: .15s; } .nav-open .gnb a:nth-child(5) { transition-delay: .2s; } .nav-open .gnb a:nth-child(6) { transition-delay: .25s; }
  .nav-open .site-header { background: transparent !important; box-shadow: none !important; backdrop-filter: none; }
  .nav-open .menu-toggle span { background: #fff; }
  .nav-open .logo-rev { opacity: 1 !important; } .nav-open .logo-std { opacity: 0 !important; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .biz { grid-template-columns: 1fr; }
  .biz-visual { display: none; }
  .area { min-height: 0; opacity: 1; padding-block: 28px 44px; }
  .area-vis { display: block; border-radius: 24px; background: var(--deep); padding: 24px 12%; margin-bottom: 24px; }
  .area[data-i="1"] .area-vis { background: var(--mid); } .area[data-i="2"] .area-vis { background: var(--light); } .area[data-i="3"] .area-vis { background: var(--deep-3); }
  .area-vis .vis { position: static; opacity: 1; transform: none; padding: 0; }
  .area-vis figcaption { display: none; }
}
@media (max-width: 560px) {
  .strengths, .sol-grid, .timeline, .contact-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .hero-actions .btn { flex: 1 1 100%; }
  .cmp-label { font-size: 12px; }
  .slide-foot { display: none; }
  .tabs { display: flex; flex-wrap: nowrap; width: 100%; }
  .tab { flex: 1; padding: 10px 8px; font-size: 13px; white-space: nowrap; }
  .temp-toggle { height: 30px; font-size: 12px; padding: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-line, .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}
