/* SHINKANG ENG — brand colors sampled from the business card: deep teal #004650, teal #008c89. */
:root {
  --deep: #004650;
  --teal: #008c89;
  --teal-soft: #e6f4f3;
  --ink: #0d1b1e;
  --sub: #4a5a5d;
  --line: #dbe3e4;
  --bg: #ffffff;
  --alt: #f3f6f6;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; font-size: 17px; line-height: 1.65; letter-spacing: -0.01em; word-break: keep-all; }
img { display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand b { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.brand small { font-size: 11px; font-weight: 700; color: var(--deep); letter-spacing: 0.02em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 12px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--sub); border-radius: 8px; }
.nav a:hover { color: var(--deep); background: var(--teal-soft); }
.call { font-size: 15px; font-weight: 800; color: #fff; background: var(--deep); padding: 10px 16px; border-radius: 8px; text-decoration: none; white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 10px; border: 2px solid currentColor; font-weight: 700; text-decoration: none; font-size: 16px; }
.btn.pri { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn.pri:hover { background: var(--deep); border-color: var(--deep); }

/* hero */
.hero { background: var(--deep); color: #fff; padding: 96px 0 0; overflow: hidden; }
.hero .eyebrow { color: #7fd6d2; }
.hero h1 { margin: 12px 0 20px; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.12; font-weight: 800; letter-spacing: -0.04em; }
.lede { max-width: 640px; font-size: 19px; color: #cfe6e6; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero .btn:not(.pri) { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.units { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 72px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.unit { padding: 28px 24px 32px 0; display: flex; flex-direction: column; gap: 4px; color: #fff; text-decoration: none; border-right: 1px solid rgba(255, 255, 255, 0.18); }
.unit + .unit { padding-left: 24px; }
.unit:last-child { border-right: 0; }
.unit b { font-size: 22px; font-weight: 800; }
.unit span:last-child { font-size: 15px; color: #a9d4d3; }
.unit:hover b { color: #7fd6d2; }
.unit-no { font-size: 14px; font-weight: 800; color: #7fd6d2; letter-spacing: 0.04em; }

/* sections */
.sec { padding: 104px 0; }
.sec.alt { background: var(--alt); }
.sec.dark { background: var(--ink); color: #fff; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 800; color: var(--teal); letter-spacing: 0.04em; }
h2 { margin: 8px 0 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.22; font-weight: 800; letter-spacing: -0.035em; }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.prose p { margin: 0 0 24px; font-size: 18px; color: var(--sub); }
.facts, .contact { margin: 0; display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.facts div, .contact div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt, .contact dt { font-weight: 800; color: var(--deep); }
.facts dd, .contact dd { margin: 0; }
.contact a { font-weight: 700; text-decoration: none; color: var(--deep); }
.sec-head { display: flex; align-items: flex-end; gap: 16px; }
.sec-head .unit-no { font-size: 56px; line-height: 0.9; color: var(--teal); }
.sec-lede { max-width: 680px; margin: 20px 0 0; font-size: 18px; color: var(--sub); }
.sec.dark .sec-lede { color: #b6c6c8; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; border-top: 4px solid var(--teal); }
.card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--sub); font-size: 16px; }
.license { margin: 28px 0 0; font-size: 15px; color: var(--sub); }
.license b { color: var(--deep); }
.tag { display: inline-block; margin: 24px 0 0; padding: 6px 12px; border: 1px solid #3a6d70; border-radius: 999px; font-size: 14px; font-weight: 700; color: #7fd6d2; }
.points { list-style: none; margin: 0; padding: 0; border-top: 1px solid #2b3b3e; }
.points li { display: flex; flex-direction: column; gap: 4px; padding: 22px 0; border-bottom: 1px solid #2b3b3e; }
.points b { font-size: 20px; font-weight: 800; }
.points span { color: #b6c6c8; }
#contact .btn { margin-top: 28px; }

/* footer */
.foot { background: var(--deep); color: #a9d4d3; padding: 36px 0; font-size: 14px; }
.foot-in { display: flex; gap: 16px; align-items: center; }
.foot p { margin: 0; line-height: 1.7; }
.foot img { filter: brightness(0) invert(1); opacity: 0.8; }

/* phone */
@media (max-width: 900px) {
  .nav { display: none; }
  .top-in { height: 64px; }
  .brand { margin-right: auto; }
  .hero { padding-top: 56px; }
  .units { grid-template-columns: 1fr; margin-top: 48px; }
  .unit, .unit + .unit { padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .sec { padding: 72px 0; }
  .two { grid-template-columns: 1fr; gap: 32px; }
  .cards, .cards.four { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .foot-in { align-items: flex-start; }
}
@media (max-width: 420px) {
  .call { padding: 8px 10px; font-size: 13px; }
  .brand small { display: none; }
}

/* ── motion (parameters from gongnyang/awesome-ai-motion cards: mask-reveal 091, underline-draw 094, stagger 006) ── */
:root { --out3: cubic-bezier(0.215, 0.61, 0.355, 1); }
.reveal-title .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.reveal-title .ln > span { display: inline-block; transform: translateY(110%); animation: rise 1.05s var(--out3) forwards; }
.reveal-title .ln:nth-child(1) > span { animation-delay: 0.3s; }
.reveal-title .ln:nth-child(2) > span { animation-delay: 0.65s; }
.reveal-title .ln:nth-child(3) > span { animation-delay: 1s; }
@keyframes rise { to { transform: translateY(0); } }
.key { position: relative; display: inline-block; }
.underline { position: absolute; left: 0; right: 0; bottom: -0.12em; width: 100%; height: 0.32em; overflow: visible; }
.underline path { fill: none; stroke: #2fc2bc; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; animation: draw 1.35s linear 1.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fade-late { opacity: 0; animation: fade 0.5s ease-out 2.1s forwards; }
@keyframes fade { to { opacity: 1; } }
.js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.55s var(--out3), transform 0.55s var(--out3); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-stagger].in > * { opacity: 1; transform: none; }
.js .sec-head .unit-no { display: inline-block; clip-path: inset(0 0 100% 0); transform: translateY(40%); transition: clip-path 0.9s var(--out3), transform 0.9s var(--out3); }
.js .sec-head.in .unit-no { clip-path: inset(0 0 0 0); transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-title .ln > span, .fade-late { animation: none; transform: none; opacity: 1; }
  .underline path { animation: none; stroke-dashoffset: 0; }
  .js [data-stagger] > *, .js .sec-head .unit-no { opacity: 1; transform: none; clip-path: none; transition: none; }
}
#rnd .sec-head { align-items: flex-start; }
#rnd .sec-head .unit-no { padding-top: 26px; }
