/* INF CL — design system aligned with arkpoint.kr
   bg #f7f7fb / surface #fff / brand #0e1ba4 / accent #3a52d0 / inverse #111
   Sora display + Pretendard body */

:root {
  --bg: #f7f7fb;
  --surface: #fff;
  --ink: #111;
  --ink-soft: #505050;
  --ink-faint: #767676;
  --brand: #0e1ba4;
  --accent: #3a52d0;
  --sky: #4bacef;
  --yellow: #f7f77e;
  --inverse: #111;
  --inverse-hover: #0b243f;
  --line: #e5e5ec;
  --line-dark: #2a2a31;
  --disp: "Sora", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  --body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 24px rgba(17, 17, 17, 0.08);
  --r-card: 16px;
  --r-btn: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image: radial-gradient(1100px 540px at 50% -120px, rgba(75, 172, 239, 0.26), rgba(58, 82, 208, 0.10) 42%, transparent 72%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--yellow); color: var(--ink); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 247, 251, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .shell {
  display: flex; align-items: center; justify-content: space-between;
  height: 4.25rem;
}
.wordmark { display: flex; align-items: center; }
.wordmark img { height: 1.5rem; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem); }
.site-nav a {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-soft);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.site-nav .nav-cta {
  background: var(--inverse); border: 1.5px solid var(--inverse);
  border-radius: var(--r-btn);
  padding: 0.5rem 1.15rem; color: #fff;
  transition: background 0.2s, border-color 0.2s;
}
.site-nav .nav-cta:hover { background: var(--inverse-hover); border-color: var(--inverse-hover); color: #fff; }
.site-nav .nav-cta[aria-current="page"] { color: #fff; border-bottom-color: var(--inverse); background: var(--brand); border-color: var(--brand); }

.nav-toggle { display: none; }

@media (max-width: 720px) {
  .nav-toggle {
    display: block; background: none; border: 0; cursor: pointer;
    font-family: var(--body); font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
    padding: 0.5rem 0;
  }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 4.25rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start;
    padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem; gap: 1.1rem;
  }
  .site-nav.open { display: flex; }
}

/* ---------- brand chip ---------- */
.stamp {
  display: inline-grid; place-items: center;
  width: 3.4rem; height: 3.4rem;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  color: #fff;
  font-family: var(--disp); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 0.9rem;
  box-shadow: var(--shadow-md);
}

/* ---------- hero ---------- */
.hero { padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem); }
.kicker {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.6rem;
}
.kicker::before { content: ""; width: 2.6rem; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 {
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  line-height: 1.1; letter-spacing: -0.03em;
  max-width: 19ch;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-deck {
  margin-top: 1.8rem; max-width: 52ch;
  font-size: clamp(1rem, 1.6vw, 1.13rem); line-height: 1.7; color: var(--ink-soft);
}
.hero-row {
  display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: end;
}
.hero-side {
  text-align: right; font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint); line-height: 2.1;
}
.hero-side b { color: var(--ink); font-weight: 700; }
@media (max-width: 720px) { .hero-row { grid-template-columns: 1fr; } .hero-side { text-align: left; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--body); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.6rem; border-radius: var(--r-btn);
  border: 1.5px solid var(--inverse);
  background: var(--inverse); color: #fff;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); background: var(--inverse-hover); border-color: var(--inverse-hover); box-shadow: var(--shadow-md); }
.btn.seal { background: var(--brand); border-color: var(--brand); }
.btn.seal:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--inverse); color: #fff; }
.btn .arr { transition: transform 0.2s var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- section scaffolding ---------- */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
section.tight { padding-top: clamp(2rem, 4vw, 3rem); }
.sec-head {
  display: grid; grid-template-columns: auto auto 1fr; align-items: baseline;
  gap: 1.2rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}
.sec-head .num {
  font-family: var(--disp); font-size: 0.9rem; font-weight: 700; color: var(--accent); letter-spacing: 0.02em;
}
.sec-head h2 {
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -0.025em; line-height: 1.15;
}
.sec-head::after { content: ""; height: 1px; background: var(--line); align-self: center; }
.sec-lede { max-width: 56ch; color: var(--ink-soft); margin: -1.2rem 0 2.8rem; }

/* ---------- service rows (home) ---------- */
.svc-list { display: grid; gap: 0.9rem; }
.svc-row {
  display: grid; grid-template-columns: 4.5rem 1fr 1.4fr auto;
  gap: 1.5rem; align-items: center;
  padding: 1.7rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, border-color 0.2s;
}
.svc-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d5d5e0; }
.svc-row .idx { font-family: var(--disp); font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.svc-row h3 {
  font-family: var(--disp); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em;
}
.svc-row .tags { font-size: 0.86rem; color: var(--ink-faint); line-height: 1.7; }
.svc-row .go {
  font-size: 1.3rem; color: var(--ink-faint);
  transition: transform 0.2s var(--ease-out), color 0.2s;
}
.svc-row:hover .go { transform: translateX(4px); color: var(--brand); }
@media (max-width: 720px) {
  .svc-row { grid-template-columns: 2.6rem 1fr auto; }
  .svc-row .tags { grid-column: 2 / -1; }
}

/* ---------- testimonials ---------- */
.tst-grid {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 880px) { .tst-grid { grid-template-columns: 1fr; } }
.tst-feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
}
.tst-feature blockquote {
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.32; letter-spacing: -0.025em;
}
.tst-feature blockquote::before { content: "“"; color: var(--accent); }
.tst-feature blockquote::after { content: "”"; color: var(--accent); }
.tst-body { margin-top: 1.3rem; color: var(--ink-soft); max-width: 50ch; }
.tst-who { margin-top: 1.5rem; font-size: 0.85rem; line-height: 1.65; }
.tst-who b { font-weight: 700; }
.tst-who span { color: var(--ink-faint); display: block; }
.tst-stack { display: grid; gap: 0.9rem; align-self: start; }
.tst-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.5rem;
}
.tst-card p { font-size: 0.95rem; color: var(--ink-soft); }
.tst-card p b { color: var(--ink); font-weight: 700; }
.tst-card footer { margin-top: 0.8rem; font-size: 0.8rem; color: var(--ink-faint); }
.tst-card footer b { color: var(--ink); font-weight: 700; }

/* ---------- partner marquee (dark band — logo assets are dark-theme) ---------- */
.partners { overflow: hidden; background: var(--inverse); }
.partners .sec-head h2 { color: #fff; }
.partners .sec-head .num { color: var(--sky); }
.partners .sec-head::after { background: var(--line-dark); }
.partners .sec-lede { color: #b9b9c2; }
.marquee { display: flex; align-items: center; gap: 2.6rem; width: max-content; animation: slide 56s linear infinite; margin-bottom: 2.2rem; }
.marquee.rev { animation-direction: reverse; animation-duration: 64s; }
.marquee:hover { animation-play-state: paused; }
.marquee img { height: 44px; width: auto; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
  html { scroll-behavior: auto; }
}

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }
.member {
  display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 1.5rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.4rem, 2.5vw, 2rem);
}
.member img { filter: grayscale(1); aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; }
.member h3 { font-family: var(--disp); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }
.member .role {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin: 0.2rem 0 1rem;
}
.member ul { list-style: none; font-size: 0.88rem; color: var(--ink-soft); }
.member li { padding: 0.42rem 0; border-bottom: 1px solid var(--line); }
.member li:last-child { border-bottom: 0; }
@media (max-width: 460px) { .member { grid-template-columns: 1fr; } .member .photo { max-width: 220px; } }

/* ---------- cases ---------- */
.case-tags { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 2.6rem; }
.case-tags button {
  font-family: var(--body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-soft); background: var(--surface); cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s var(--ease-out);
}
.case-tags button:hover { border-color: var(--accent); color: var(--brand); transform: translateY(-1px); }
.case-tags button.lit { background: var(--brand); border-color: var(--brand); color: #fff; }
.case-panel[hidden] { display: none; }
.case-more { color: var(--brand); font-weight: 600; }
.case-more:hover { color: var(--accent); }
.case-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.8rem, 4vw, 3rem);
}
@media (max-width: 800px) { .case-panel { grid-template-columns: 1fr; } }
.case-panel h3 {
  font-family: var(--disp); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.25; letter-spacing: -0.025em;
}
.case-panel ul { list-style: none; }
.case-panel li {
  padding: 0.9rem 0 0.9rem 1.6rem; border-bottom: 1px solid var(--line);
  font-size: 0.93rem; color: var(--ink-soft); position: relative;
}
.case-panel li::before {
  content: "—"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.case-panel li:last-child { border-bottom: 0; }
.case-note { margin-top: 1.4rem; font-size: 0.85rem; color: var(--ink-faint); }

/* ---------- stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
.stat { padding: 2.2rem 1.8rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
@media (max-width: 640px) { .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }
.stat .v { font-family: var(--disp); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3rem); letter-spacing: -0.03em; line-height: 1.1; }
.stat .v sup { font-size: 0.45em; color: var(--accent); }
.stat .k { margin-top: 0.7rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.stat .d { margin-top: 0.6rem; font-size: 0.88rem; color: var(--ink-soft); max-width: 32ch; }

/* ---------- feature blocks (cryptolab / cloud) ---------- */
.feat {
  display: grid; grid-template-columns: minmax(240px, 0.85fr) 1.4fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2.6rem, 6vw, 4.2rem) 0; border-top: 1px solid var(--line);
}
@media (max-width: 800px) { .feat { grid-template-columns: 1fr; gap: 1.6rem; } }
.feat .meta .num { font-family: var(--disp); font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.feat .meta h3 {
  font-family: var(--disp); font-weight: 600; font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  letter-spacing: -0.025em; line-height: 1.18; margin-top: 0.4rem;
}
.feat .meta p { margin-top: 1rem; color: var(--ink-soft); font-size: 0.95rem; max-width: 38ch; }
.feat .meta .with {
  margin-top: 1.4rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint);
}
.feat .meta .with b { color: var(--brand); }
.feat dl {
  display: grid; gap: 0.9rem; align-self: start;
}
.feat dl > div {
  padding: 1.3rem 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.feat dl > div:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feat dt { font-weight: 700; font-size: 1rem; }
.feat dd { margin-top: 0.35rem; font-size: 0.92rem; color: var(--ink-soft); max-width: 64ch; }

/* ---------- quote band ---------- */
.quote-band {
  background: linear-gradient(180deg, #eef2ff, #f0f6fe);
  border-block: 1px solid var(--line);
}
.quote-band blockquote {
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem); line-height: 1.4; letter-spacing: -0.02em;
  max-width: 34ch;
}
.quote-band blockquote::before { content: "“"; color: var(--accent); }
.quote-band blockquote::after { content: "”"; color: var(--accent); }
.quote-band footer { margin-top: 1.6rem; font-size: 0.85rem; color: var(--ink-faint); }
.quote-band footer b { color: var(--ink); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--inverse); color: #fff; }
.cta-band .inner {
  display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center;
}
@media (max-width: 720px) { .cta-band .inner { grid-template-columns: 1fr; } }
.cta-band h2 {
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.7rem); letter-spacing: -0.03em; line-height: 1.15;
  max-width: 22ch;
}
.cta-band h2 em { font-style: normal; color: var(--sky); }
.cta-band p { margin-top: 1rem; color: #b9b9c2; max-width: 48ch; }
.cta-band .btn { background: #fff; border-color: #fff; color: var(--ink); }
.cta-band .btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid h1 {
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.1;
}
.contact-grid h1 em { font-style: normal; color: var(--brand); }
.contact-info { margin-top: 1.6rem; color: var(--ink-soft); max-width: 38ch; }
.contact-meta { margin-top: 2.2rem; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); line-height: 2.2; }
.contact-meta b { color: var(--ink); font-weight: 700; }

form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
form .field { margin-bottom: 1.4rem; }
form label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
form label .req { color: var(--accent); }
form input, form select, form textarea {
  width: 100%; font-family: var(--body); font-size: 0.98rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-btn);
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
form textarea { resize: vertical; min-height: 7.5rem; }
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 82, 208, 0.14);
}
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 540px) { .field-pair { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: 1.2rem; }
.sent-banner {
  display: none; background: #eef2ff; border: 1px solid #d6defc; border-left: 3px solid var(--accent);
  border-radius: var(--r-btn);
  padding: 1rem 1.3rem; margin-bottom: 2rem; font-size: 0.95rem;
}
.sent-banner.show { display: block; }

/* ---------- footer ---------- */
.site-foot { background: var(--inverse); color: #a3a3ad; padding: clamp(3rem, 6vw, 4.5rem) 0 2.2rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot img.logo { height: 2.1rem; width: auto; opacity: 0.95; }
.site-foot .tag { margin-top: 1rem; font-size: 0.85rem; max-width: 34ch; }
.site-foot h4 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #767676; margin-bottom: 0.9rem;
}
.site-foot ul { list-style: none; }
.site-foot li { padding: 0.28rem 0; }
.site-foot a { font-size: 0.92rem; transition: color 0.2s; }
.site-foot a:hover { color: #fff; }
.foot-base {
  margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem;
  font-size: 0.78rem; color: #767676;
}

/* ---------- reveal motion ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.08s; }
.rv.d2 { transition-delay: 0.16s; }
.rv.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }
