/* ================================================================
   UNISODE — Official website stylesheet
   Palette : ink #0C1524 · brand #073D83 · bright #1B6FE0
             sky #EDF3FB · line #E3E9F1 · warm #FFF6E8
   Type    : Pretendard (display/body) · IBM Plex Mono (labels)
   ================================================================ */

[id]{ scroll-margin-top:100px; }
:root{
  --ink:#0C1524;
  --brand:#073D83;
  --bright:#1B6FE0;
  --sky:#EDF3FB;
  --sky-deep:#DCE8F7;
  --line:#E3E9F1;
  --muted:#5B6577;
  --faint:#8B94A6;
  --paper:#FFFFFF;
  --warm:#FFF6E8;
  --warm-ink:#8A5A12;
  --radius:14px;
  --maxw:1160px;
  --mono:'IBM Plex Mono', ui-monospace, monospace;
  --sans:'Pretendard', -apple-system, 'Apple SD Gothic Neo', sans-serif;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--sans);
  color:var(--ink);
  background:var(--paper);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  word-break:keep-all;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
::selection{ background:var(--brand); color:#fff; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:80px;
}
.logo-link img{ height:48px; width:auto; }
.gnb{ display:flex; align-items:center; gap:34px; }
.gnb a{
  font-size:15px; font-weight:500; color:var(--ink);
  position:relative; padding:6px 0; transition:color .2s;
}
.gnb a:hover{ color:var(--bright); }
.gnb a.active{ color:var(--brand); font-weight:700; }
.gnb a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:-2px;
  height:2px; background:var(--brand);
}
.gnb a.btn-nav{
  background:var(--brand); color:#fff;
  padding:12px 24px; border-radius:9px;
  font-size:14px; font-weight:600; line-height:1;
  white-space:nowrap;
  transition:background .2s;
}
.gnb a.btn-nav:hover{ background:var(--bright); color:#fff; }
.nav-toggle{ display:none; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span{
  display:block; width:22px; height:2px; background:var(--ink);
  margin:5px 0; transition:.25s;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:15px 30px; border-radius:10px;
  font-size:15.5px; font-weight:700; cursor:pointer;
  border:0; transition:transform .15s, background .2s, box-shadow .2s;
}
.btn:active{ transform:scale(.98); }
.btn-primary{ background:var(--brand); color:#fff; }
.btn-primary:hover{ background:var(--bright); box-shadow:0 8px 24px rgba(27,111,224,.28); }
.btn-ghost{
  background:transparent; color:var(--ink);
  border:1.5px solid #CBD4E0;
}
.btn-ghost:hover{ border-color:var(--brand); color:var(--brand); }
.btn-white{ background:#fff; color:var(--brand); }
.btn-white:hover{ box-shadow:0 8px 24px rgba(0,0,0,.18); }

/* ---------- typography helpers ---------- */
.eyebrow{
  font-family:var(--mono);
  font-size:12.5px; font-weight:600; letter-spacing:.18em;
  color:var(--bright); text-transform:uppercase;
  display:inline-flex; align-items:center; gap:10px;
  margin-bottom:18px;
}
.eyebrow::before{
  content:''; width:22px; height:1.5px; background:var(--bright);
}
h1,h2,h3{ line-height:1.32; letter-spacing:-.015em; }
.h-display{ font-size:clamp(34px,5vw,54px); font-weight:800; }
.h-section{ font-size:clamp(26px,3.4vw,38px); font-weight:800; }
.lead{ font-size:clamp(15.5px,1.6vw,18px); color:var(--muted); line-height:1.85; }

section{ padding:104px 0; position:relative; }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .eyebrow{ justify-content:center; }
.section-head.center .eyebrow::before{ display:none; }
.section-head p{ margin-top:16px; }

/* blueprint crosshair mark */
.cross{
  position:absolute; width:18px; height:18px; opacity:.5; pointer-events:none;
}
.cross::before,.cross::after{
  content:''; position:absolute; background:var(--brand); opacity:.45;
}
.cross::before{ left:50%; top:0; bottom:0; width:1px; }
.cross::after{ top:50%; left:0; right:0; height:1px; }

/* ---------- hero ---------- */
.hero{
  padding:120px 0 110px;
  background:
    radial-gradient(ellipse 900px 520px at 88% -10%, var(--sky) 0%, rgba(237,243,251,0) 60%),
    var(--paper);
  overflow:hidden;
}
.hero .wrap{ position:relative; z-index:2; }
.hero-grid-bg{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:56px 56px;
  mask-image:radial-gradient(ellipse 75% 90% at 70% 20%, #000 0%, transparent 72%);
  -webkit-mask-image:radial-gradient(ellipse 75% 90% at 70% 20%, #000 0%, transparent 72%);
  opacity:.55;
}
.hero-art{
  position:absolute; right:-30px; top:50%; transform:translateY(-50%);
  width:min(42vw,500px); z-index:1; pointer-events:none;
}
.hero-content{ max-width:620px; position:relative; z-index:2; }
.hero h1 .accent{ color:var(--brand); }
.hero .lead{ margin:24px 0 38px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-badges{
  display:flex; gap:10px; flex-wrap:wrap; margin-top:44px;
}
.hero-badges span{
  font-family:var(--mono); font-size:12px; letter-spacing:.06em;
  color:var(--brand); background:#fff;
  border:1px solid var(--sky-deep);
  padding:7px 14px; border-radius:100px;
}

/* ---------- services (home) ---------- */
.svc-row{
  display:grid; grid-template-columns:1fr 1fr; gap:64px;
  align-items:center; padding:72px 0;
  border-top:1px solid var(--line);
}
.svc-row:first-of-type{ border-top:0; padding-top:0; }
.svc-row.flip .svc-visual{ order:2; }
.svc-tag{
  font-family:var(--mono); font-size:12px; letter-spacing:.16em;
  color:var(--faint); margin-bottom:14px; display:block;
}
.svc-row h3{ font-size:clamp(23px,2.6vw,30px); font-weight:800; margin-bottom:16px; }
.svc-row p{ color:var(--muted); font-size:16px; }
.svc-points{ margin:22px 0 28px; display:grid; gap:10px; }
.svc-points li{
  display:flex; gap:11px; align-items:flex-start;
  font-size:15px; color:var(--ink);
}
.svc-points li::before{
  content:''; flex:none; width:7px; height:7px; margin-top:9px;
  background:var(--bright); border-radius:2px;
}
.svc-link{
  font-weight:700; color:var(--brand); font-size:15.5px;
  display:inline-flex; align-items:center; gap:6px;
}
.svc-link:hover{ color:var(--bright); }
.svc-link::after{ content:'→'; transition:transform .2s; }
.svc-link:hover::after{ transform:translateX(4px); }
.svc-visual{
  border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--line);
  background:var(--sky);
  aspect-ratio:5/3.6; position:relative;
}
.svc-visual svg{ width:100%; height:100%; display:block; }

/* ---------- dark stat band ---------- */
.band{
  background:var(--ink); color:#fff; padding:88px 0;
  position:relative; overflow:hidden;
}
.band-grid-bg{
  position:absolute; inset:0; opacity:.14; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 70% 100% at 20% 0%, #000, transparent 75%);
  -webkit-mask-image:radial-gradient(ellipse 70% 100% at 20% 0%, #000, transparent 75%);
}
.band .wrap{ position:relative; }
.band h2{ font-size:clamp(24px,3vw,34px); font-weight:800; margin-bottom:14px; }
.band .lead{ color:#9BA7BC; }
.stat-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:56px;
}
.stat{
  border-top:2px solid var(--bright); padding-top:20px;
}
.stat b{
  font-family:var(--mono); font-size:clamp(26px,3vw,36px); font-weight:600;
  display:block; margin-bottom:6px; letter-spacing:-.02em;
}
.stat span{ font-size:13.5px; color:#9BA7BC; }

/* ---------- cards ---------- */
.card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.card-grid.g4{ grid-template-columns:repeat(4,1fr); }
.card-grid.g2{ grid-template-columns:repeat(2,1fr); }
.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 26px; transition:transform .2s, box-shadow .25s, border-color .2s;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 40px rgba(7,61,131,.10);
  border-color:var(--sky-deep);
}
.card .ico{
  width:46px; height:46px; border-radius:11px;
  background:var(--sky); color:var(--brand);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.card .ico svg{ width:23px; height:23px; }
.card h4{ font-size:17px; font-weight:700; margin-bottom:9px; }
.card p{ font-size:14px; color:var(--muted); line-height:1.7; }
.on-sky .card{ border-color:transparent; box-shadow:0 2px 10px rgba(7,61,131,.05); }

/* ---------- tinted sections ---------- */
.sec-sky{ background:var(--sky); }
.sec-warm{ background:var(--warm); }

/* ---------- process steps ---------- */
.steps{
  display:grid; grid-template-columns:repeat(6,1fr); gap:14px;
  counter-reset:step;
}
.step{
  background:#fff; border:1px solid var(--line); border-radius:12px;
  padding:22px 18px; position:relative;
}
.step b{ display:block; font-size:15px; font-weight:700; margin:10px 0 6px; }
.step p{ font-size:12.5px; color:var(--muted); line-height:1.6; }
.step::before{
  counter-increment:step;
  content:counter(step,decimal-leading-zero);
  font-family:var(--mono); font-size:12px; font-weight:600;
  color:var(--bright);
}

/* ---------- comparison / risk ---------- */
.risk-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.risk{
  background:var(--ink); color:#fff; border-radius:12px; padding:26px 22px;
  border:1px solid #1C2A44;
}
.risk b{ font-size:15.5px; display:block; margin-bottom:8px; }
.risk p{ font-size:13px; color:#93A0B8; line-height:1.65; }
.risk .risk-mark{
  font-family:var(--mono); font-size:11.5px; letter-spacing:.14em;
  color:#F0A45B; display:block; margin-bottom:12px;
}

/* ---------- showcase gallery ---------- */
.gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.work{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; transition:transform .2s, box-shadow .25s;
}
.work:hover{ transform:translateY(-4px); box-shadow:0 16px 40px rgba(7,61,131,.12); }
.work-thumb{
  aspect-ratio:16/10; background:var(--sky);
  display:flex; align-items:center; justify-content:center;
  border-bottom:1px solid var(--line); position:relative; overflow:hidden;
}
.work-thumb img{ width:100%; height:100%; object-fit:cover; }
.work-thumb .ph{
  font-family:var(--mono); font-size:12px; color:var(--faint); letter-spacing:.1em;
}
.work-body{ padding:20px 22px 24px; }
.work-body .wtag{
  font-family:var(--mono); font-size:11px; letter-spacing:.12em;
  color:var(--bright); display:block; margin-bottom:8px;
}
.work-body h4{ font-size:16.5px; font-weight:700; margin-bottom:6px; }
.work-body p{ font-size:13.5px; color:var(--muted); }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--brand); color:#fff; border-radius:22px;
  padding:64px 56px; position:relative; overflow:hidden;
}
.cta-band::after{
  content:''; position:absolute; right:-70px; top:-70px;
  width:320px; height:320px; border-radius:50%;
  border:56px solid rgba(255,255,255,.07);
}
.cta-band h2{ font-size:clamp(24px,3vw,34px); font-weight:800; margin-bottom:12px; }
.cta-band p{ color:#BFD3F0; font-size:16px; margin-bottom:32px; max-width:560px; }

/* ---------- forms ---------- */
.form-shell{
  background:#fff; border:1px solid var(--line); border-radius:18px;
  padding:44px; max-width:720px;
}
.field{ margin-bottom:22px; }
.field label{
  display:block; font-size:14px; font-weight:700; margin-bottom:9px;
}
.field label em{ color:#D64545; font-style:normal; }
.field input, .field select, .field textarea{
  width:100%; font-family:var(--sans); font-size:15px; color:var(--ink);
  border:1.5px solid #D5DCE6; border-radius:10px;
  padding:13px 16px; background:#FBFCFE; outline:none;
  transition:border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color:var(--bright);
  box-shadow:0 0 0 4px rgba(27,111,224,.12);
  background:#fff;
}
.field textarea{ min-height:150px; resize:vertical; }
.type-pills{ display:flex; gap:10px; flex-wrap:wrap; }
.type-pills input{ display:none; }
.type-pills label{
  font-size:14px; font-weight:600; color:var(--muted);
  border:1.5px solid #D5DCE6; border-radius:100px;
  padding:10px 20px; cursor:pointer; margin:0;
  transition:.2s;
}
.type-pills input:checked + label{
  background:var(--brand); border-color:var(--brand); color:#fff;
}
.form-note{ font-size:13px; color:var(--faint); margin-top:16px; }
.form-ok{
  display:none; background:#EAF6EE; border:1px solid #BFE3CB;
  color:#1E6B3A; border-radius:10px; padding:16px 20px;
  font-size:14.5px; font-weight:600; margin-top:20px;
}

/* ---------- FAQ ---------- */
.faq{ border-top:1px solid var(--line); }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{
  cursor:pointer; list-style:none; padding:24px 4px;
  font-size:16.5px; font-weight:700;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:'+'; font-family:var(--mono); font-size:20px; color:var(--bright);
  transition:transform .2s;
}
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq .a{ padding:0 4px 26px; color:var(--muted); font-size:15px; max-width:760px; }

/* ---------- page hero (subpages) ---------- */
.page-hero{
  padding:96px 0 72px;
  background:
    radial-gradient(ellipse 760px 420px at 90% -20%, var(--sky) 0%, rgba(237,243,251,0) 65%),
    var(--paper);
  border-bottom:1px solid var(--line);
  position:relative; overflow:hidden;
}
.page-hero .hero-grid-bg{ opacity:.45; }
.page-hero .wrap{ position:relative; z-index:1; }
.page-art{
  position:absolute; right:0; top:50%; transform:translateY(-50%);
  width:min(36vw,430px); pointer-events:none;
}
.page-hero h1{ font-size:clamp(30px,4vw,46px); font-weight:800; max-width:760px; }
.page-hero .lead{ margin-top:20px; max-width:640px; }

/* ---------- footer ---------- */
.site-footer{
  background:var(--ink); color:#8E9AAF; padding:64px 0 40px;
  font-size:13.5px;
}
.footer-top{
  display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap;
  padding-bottom:40px; border-bottom:1px solid #1D2A42;
}
.footer-brand img{ height:26px; filter:brightness(0) invert(1); opacity:.9; }
.footer-brand p{ margin-top:16px; max-width:300px; line-height:1.75; }
.footer-cols{ display:flex; gap:72px; flex-wrap:wrap; }
.footer-cols h5{
  font-family:var(--mono); color:#fff; font-size:12px;
  letter-spacing:.16em; margin-bottom:16px; font-weight:600;
}
.footer-cols a{ display:block; margin-bottom:10px; transition:color .2s; }
.footer-cols a:hover{ color:#fff; }
.footer-bottom{
  padding-top:28px; display:flex; justify-content:space-between;
  gap:16px; flex-wrap:wrap; font-size:12.5px; color:#5E6A80;
}

/* ---------- reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .card-grid, .card-grid.g4{ grid-template-columns:repeat(2,1fr); }
  .risk-grid{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(3,1fr); }
  .stat-grid{ grid-template-columns:repeat(2,1fr); }
  .svc-row{ grid-template-columns:1fr; gap:34px; }
  .svc-row.flip .svc-visual{ order:0; }
  .hero-art, .page-art{ display:none; }
  .gallery{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 680px){
  section{ padding:72px 0; }
  .hero{ padding:80px 0 72px; }
  .card-grid, .card-grid.g4, .card-grid.g2,
  .risk-grid, .gallery{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .cta-band{ padding:44px 28px; }
  .form-shell{ padding:28px 22px; }
  .gnb{
    position:fixed; inset:72px 0 auto 0;
    background:#fff; border-bottom:1px solid var(--line);
    flex-direction:column; align-items:stretch; gap:0;
    padding:12px 24px 20px;
    transform:translateY(-130%); transition:transform .3s ease;
    box-shadow:0 20px 40px rgba(12,21,36,.10);
  }
  .gnb.open{ transform:none; }
  .gnb a{ padding:14px 4px; font-size:16px; border-bottom:1px solid var(--line); }
  .gnb a.active::after{ display:none; }
  .gnb a.btn-nav{ margin-top:14px; text-align:center; border-radius:10px; border-bottom:0; }
  .nav-toggle{ display:block; }
}
