:root {
  /* White theme palette */
  --ai-bg: #ffffff;
  --ai-bg-soft: #f6f8fc;
  --ai-panel: #ffffff;
  --ai-accent: #2563eb; /* primary blue */
  --ai-glow: #3b82f6;
  --text-white: #0f172a;
  --text-gray: #475569;
  --border-color: rgba(15, 23, 42, 0.10);
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
}

body,
html {
  margin: 0;
  padding: 0;
  background-color: var(--ai-bg);
  font-family: 'Pretendard', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  color: var(--text-white);
}
* { box-sizing: border-box; }

a { color: inherit; text-decoration: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.highlight { color: var(--ai-accent); font-weight: 800; }

/* ===== Header (sticky) ===== */
.ai-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
}
.header-inner{
  height: 76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.logo{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.4px;
  display:flex;
  align-items:center;
  gap: 10px;
}
.logo-mark{
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.nav-links{
  display:flex;
  gap: 8px;
  align-items:center;
}
.nav-links a{
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-gray);
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover{
  background: rgba(37,99,235,0.06);
  color: var(--text-white);
}
.nav-cta{
  background: var(--ai-accent);
  color: #fff !important;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(37,99,235,0.22);
}

.nav-toggle{
  display:none;
  width: 44px; height: 44px;
  border: 1px solid var(--border-color);
  background: #fff;
  border-radius: 12px;
  padding: 0;
  align-items:center;
  justify-content:center;
  gap: 5px;
}
.nav-toggle span{
  display:block;
  width: 18px; height: 2px;
  background: var(--text-white);
  border-radius: 2px;
}
.nav-mobile{
  border-top: 1px solid var(--border-color);
  background:#fff;
  padding: 14px 20px 18px;
}
.nav-mobile a{
  display:block;
  padding: 12px 10px;
  border-radius: 12px;
  color: var(--text-gray);
}
.nav-mobile a:hover{
  background: rgba(37,99,235,0.06);
  color: var(--text-white);
}
.nav-mobile .nav-cta{
  margin-top: 10px;
  text-align:center;
}

/* page spacing */
.site-main{ padding-top: 86px; }

/* ===== Hero ===== */
.hero{
  position: relative;
  min-height: 92vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(37,99,235,.12), transparent 55%),
    radial-gradient(800px 400px at 80% 0%, rgba(59,130,246,.10), transparent 55%),
    linear-gradient(#fff, #fff);
}
#neural-canvas{
  position:absolute; top:0; left:0; width:100%; height:100%;
  z-index: 0;
}
.hero-content{
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding: 0 20px;
}

.badge{
  display:inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.18);
  color: var(--ai-accent);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 18px;
}

.hero h1{
  font-size: 64px;
  line-height: 1.05;
  margin: 0 0 18px 0;
  letter-spacing: -1.6px;
  font-weight: 900;
}
.hero p{
  font-size: 18px;
  color: var(--text-gray);
  margin: 0 auto 26px;
  line-height: 1.7;
  max-width: 720px;
}

.txt-rotate{
  color: var(--ai-accent);
  border-right: 0.1em solid var(--ai-accent);
  padding-right: 10px;
  animation: blink 0.7s infinite;
}
@keyframes blink{ 50%{ border-color: transparent; } }

.hero-actions{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* buttons */
.btn-glow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 900;
  border-radius: 14px;
  background: var(--ai-accent);
  color: #fff;
  box-shadow: 0 10px 25px rgba(37,99,235,0.22);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-glow:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(37,99,235,0.26);
}
.btn-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 900;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--text-white);
  box-shadow: var(--shadow-soft);
}

/* ===== Tech marquee ===== */
.tech-strip{
  padding: 18px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: #fff;
}
.tech-marquee{
  position: relative;
  overflow:hidden;
  white-space: nowrap;
}
.tech-track{
  display:inline-flex;
  align-items:center;
  gap: 14px;
  padding-right: 14px;
  animation: marquee 26s linear infinite;
  font-weight: 900;
  color: #64748b;
  font-size: 13px;
  letter-spacing: .04em;
}
.tech-track span{
  display:inline-flex;
  align-items:center;
}
.tech-track .sep{ opacity: .45; }
.tech-marquee:hover .tech-track{ animation-play-state: paused; }

@keyframes marquee{
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Section base ===== */
.section{ padding: 90px 0; }
.section-title{
  font-size: 40px;
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: -1px;
}
.section-sub{
  margin: 0 0 28px;
  color: var(--text-gray);
}

/* ===== Partners ===== */
.partners{
  padding: 144px 0;
  position: relative;
  background:
    radial-gradient(900px 420px at 15% 35%, rgba(37,99,235,.10), transparent 55%),
    radial-gradient(800px 420px at 85% 20%, rgba(59,130,246,.10), transparent 55%),
    linear-gradient(#fff, #fff);
}

.partners-head{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  margin-bottom: 36px;
}

.partners-title{
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  font-weight: 900;
  color: rgba(15,23,42,.88);
}

.partners-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items:center;
  padding: 8px 0 18px;
  margin-bottom: 6px;
}

.partner-item{
  height: 64px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px rgba(15,23,42,.06);
  font-weight: 900;
  font-size: 14px;
  color: rgba(15,23,42,.70);
  letter-spacing: -0.2px;
  text-align: center;
  padding: 0 10px;
}

.partner-logo{
  width: 72%;
  height: 60%;
  object-fit: contain;
  display: block;
  opacity: .92;
}

.partners-note{
  margin: 16px 0 0;
  font-size: 12px;
  color: rgba(15,23,42,.45);
}

@media (max-width: 980px){
}

@media (max-width: 560px){
  .partners{ padding: 110px 0; }
  .partners-title{ font-size: 26px; }
  .partners-grid{ grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partner-item{ height: 56px; font-size: 13px; }
}

/* ===== Cards grid (keep existing structure) ===== */
.bento-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card{
  background: var(--ai-panel);
  border: 1px solid var(--border-color);
  padding: 22px;
  border-radius: 16px;
  transition: 0.25s;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow: 0 1px 0 rgba(15,23,42,.03);
}
.card:hover{
  border-color: rgba(37,99,235,0.35);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.card.wide{ grid-column: span 2; }
.card h3{ font-size: 20px; margin: 0 0 10px; }
.card p{ color: var(--text-gray); line-height: 1.7; margin: 0; }
.icon-box{
  width: 52px; height: 52px;
  background: rgba(37,99,235,0.08);
  color: var(--ai-accent);
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 900;
}
.meta{
  margin-top: 14px;
  display:grid;
  gap: 8px;
  color: var(--text-gray);
  font-size: 14px;
}
.meta strong{ color: var(--text-white); }

.bullets{
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-gray);
}
.bullets li{ margin: 8px 0; }

/* ===== Timeline ===== */
.timeline{
  display:grid;
  gap: 14px;
  margin-top: 22px;
}
.timeline-item{
  display:grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  align-items:start;
}
.timeline-dot{
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--ai-accent);
  box-shadow: 0 0 0 6px rgba(37,99,235,0.12);
  margin-top: 14px;
}
.timeline-card{
  background:#fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 1px 0 rgba(15,23,42,.03);
}
.timeline-top{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  margin-bottom: 6px;
}
.timeline-year{
  font-weight: 900;
  color: var(--text-white);
}
.timeline-range{
  font-weight: 900;
  color: #64748b;
  font-size: 12px;
}
.timeline-card h3{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.2px;
}
.muted{ color: #64748b; margin: 0; }

/* ===== Contact ===== */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-card, .contact-form{
  background:#fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.contact-card h3, .contact-form h3{ margin: 0 0 10px; }
.contact-card p{ margin: 0 0 12px; color: var(--text-gray); }
.contact-box{
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--ai-bg-soft);
  color: var(--text-gray);
}
.contact-box p{ margin: 8px 0; }
.contact-form label{ display:block; margin: 12px 0; }
.contact-form span{
  display:block;
  font-size: 12px;
  color: #64748b;
  font-weight: 900;
  margin-bottom: 6px;
}
.contact-form input, .contact-form textarea{
  width: 100%;
  border: 1px solid var(--border-color);
  background:#fff;
  border-radius: 14px;
  padding: 12px;
  font-size: 14px;
  outline:none;
}
.contact-form input:focus, .contact-form textarea:focus{
  border-color: rgba(37,99,235,0.45);
  box-shadow: 0 0 0 6px rgba(37,99,235,0.10);
}
.contact-form small{
  display:block;
  margin-top: 10px;
  color:#94a3b8;
  font-weight: 800;
}
.copyright{
  margin-top: 14px;
  color:#94a3b8;
  font-size: 12px;
  font-weight: 800;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero h1{ font-size: 44px; }
  .bento-grid{ grid-template-columns: 1fr; }
  .card.wide{ grid-column: span 1; }
  .contact-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 860px){
  .nav-links{ display:none; }
  .nav-toggle{ display:inline-flex; }
}


/* ===== History Timeline (center line + alternating) ===== */
.history-timeline{
  position: relative;
  margin-top: 28px;
  padding: 10px 0 10px;
}

.history-timeline::before{
  content:"";
  position:absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(15,23,42,0.08);
}

.history-year{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: start;
  gap: 0;
  padding: 34px 0;
}

.history-dot{
  grid-column: 2;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin: 8px auto 0;
  background: var(--ai-accent);
  box-shadow: 0 0 0 7px rgba(37,99,235,0.18);
}

.history-content{
  max-width: 520px;
}

.history-year--left .history-content{
  grid-column: 1;
  justify-self: end;
  text-align: right;
  padding-right: 36px;
}

.history-year--right .history-content{
  grid-column: 3;
  justify-self: start;
  text-align: left;
  padding-left: 36px;
}

.history-title{
  margin: 0 0 14px;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -1.6px;
  font-weight: 900;
  color: #0f172a;
}

.history-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.history-item{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.7;
}

.history-year--left .history-item{
  grid-template-columns: 1fr 64px;
}

.history-date{
  font-weight: 900;
  color: rgba(15,23,42,0.65);
  letter-spacing: 0.02em;
}

.history-year--left .history-date{
  grid-column: 2;
  grid-row: 1;
}

.history-year--left .history-text{
  grid-column: 1;
  grid-row: 1;
}

.history-text{
  color: rgba(15,23,42,0.78);
}

.history-sub{
  color: rgba(15,23,42,0.45);
  font-weight: 800;
  margin-left: 6px;
  font-size: 12px;
  white-space: nowrap;
}

/* Mobile: stack to one side */
@media (max-width: 900px){
  .history-timeline::before{
    left: 14px;
    transform: none;
  }

  .history-year{
    grid-template-columns: 28px 1fr;
    padding: 22px 0;
  }

  .history-dot{
    grid-column: 1;
    margin: 10px 0 0;
  }

  .history-year--left .history-content,
  .history-year--right .history-content{
    grid-column: 2;
    justify-self: start;
    text-align: left;
    padding: 0 0 0 18px;
    max-width: none;
  }

  .history-title{
    font-size: 36px;
  }

  .history-item{
    grid-template-columns: 56px 1fr;
  }

  .history-year--left .history-item{
    grid-template-columns: 56px 1fr;
  }

  .history-year--left .history-date{
    grid-column: auto;
  }

  .history-year--left .history-text{
    grid-column: auto;
  }
}

/* ===== About / Vision (color aligned: blue system) ===== */
.about-vision { background:#fff; }

.about-head{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:48px;
  align-items:start;
  margin-bottom:46px;
}

.about-title{
  margin:0;
  font-size:54px;
  line-height:1.12;
  letter-spacing:-1.6px;
  font-weight:900;
  color:#0f172a; /* slate-900 */
}

.about-title .accent{
  /* 기존 사이트 포인트(블루)와 통일 */
  color: var(--ai-accent);
}

.about-desc p{
  margin:0 0 14px;
  color: rgba(15,23,42,.62);
  line-height:1.9;
  font-size:18px;
}

/* cards */
.about-cards{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
}

.about-card{
  position:relative;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:16px;
  padding:34px 26px 30px;
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
  min-height:280px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card-badge{
  position:absolute;
  top:18px;
  left:18px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  color:#0f172a;
}

/* Use the same dot style as history timeline */
.card-badge .history-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin: 0; /* override timeline spacing */
  margin-right: 10px;
  background: var(--ai-accent);
  box-shadow: 0 0 0 8px rgba(37,99,235,0.18);
}

.card-badge .num{
  font-size:18px;
  letter-spacing:.02em;
  color: rgba(15,23,42,.78);
}

.card-title{
  margin:84px 0 10px;
  text-align:center;
  font-size:18px;
  font-weight:900;
  letter-spacing:-0.4px;
  color:#0f172a;
}

.card-text{
  margin:0 auto;
  text-align:center;
  max-width:26ch;
  color: rgba(15,23,42,.62);
  line-height:1.85;
  font-size:13px;
}

.about-card:hover{
  transform: translateY(-3px);
  border-color: rgba(59,130,246,.35);
  box-shadow: 0 18px 40px rgba(59,130,246,.10);
}

/* responsive */
@media (max-width: 1000px){
  .about-head{ grid-template-columns:1fr; gap:18px; }
  .about-title{ font-size:40px; }
  .about-cards{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 560px){
  .about-cards{ grid-template-columns:1fr; }
  .about-card{ min-height:auto; }
  .card-title{ margin-top:72px; }
}



/* ===== Contact (white + card layout) ===== */
.contact-section {
  background: #fff;
}

.contact-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.contact-sub {
  margin: 0;
  color: rgba(15, 23, 42, 0.62);
  font-size: 14px;
  line-height: 1.8;
  max-width: 64ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 18px;
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  padding: 22px;
}

.contact-kicker {
  font-weight: 900;
  letter-spacing: -0.3px;
  color: #0f172a;
  margin-bottom: 14px;
  font-size: 16px;
}

.contact-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-item:last-of-type {
  border-bottom: none;
}

.contact-label {
  color: rgba(15, 23, 42, 0.55);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .02em;
}

.contact-value {
  color: rgba(15, 23, 42, 0.82);
  font-size: 14px;
  line-height: 1.7;
}

.contact-divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.08);
  margin: 14px 0;
}

.contact-note {
  color: rgba(15, 23, 42, 0.55);
  font-size: 12px;
  line-height: 1.7;
}

/* form */
.form-title {
  font-weight: 900;
  color: #0f172a;
  font-size: 16px;
  margin-bottom: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: block;
  margin-bottom: 12px;
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.60);
  margin-bottom: 6px;
}

.field-input {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.field-textarea {
  padding: 12px 12px;
  resize: vertical;
}

.field-input:focus {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.12);
}

.contact-submit {
  width: 100%;
  margin-top: 4px;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 900;
}

.form-hint {
  margin-top: 10px;
  color: rgba(15, 23, 42, 0.50);
  font-size: 12px;
  line-height: 1.6;
}

.contact-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(15, 23, 42, 0.55);
  font-weight: 800;
  font-size: 12px;
}

.contact-footer .sep { opacity: .5; }
.to-top { color: rgba(59, 130, 246, 0.95); }
.to-top:hover { text-decoration: underline; }

/* responsive */
@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}



.hero-actions{
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--ai-accent);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  border: 1px solid rgba(59,130,246,.25);
  box-shadow: 0 16px 36px rgba(59,130,246,.22);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(59,130,246,.26);
}
.btn-primary:active{ transform: translateY(0); }

.link-secondary{
  font-weight: 900;
  font-size: 14px;
  color: rgba(15,23,42,.72);
  padding: 10px 6px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}
.link-secondary:hover{
  background: rgba(59,130,246,.08);
  color: rgba(15,23,42,.92);
}







/* ===== Our Software ===== */
.sw-link{
  display: contents;
}

.sw-row{
  cursor: pointer;
}

.sw-row:focus-within{
  outline: 2px solid rgba(37,99,235,0.35);
  outline-offset: 6px;
  border-radius: 12px;
}

.sw-row a{ text-decoration:none; color:inherit; }
.sw{ background:#fff; }
.sw-wrap{ padding-top: 20px; }

.sw-title{
  margin: 0 0 34px;
  font-size: 54px;
  font-weight: 500;
  letter-spacing: -1.4px;
  color: rgba(15,23,42,.92);
}

/* Use the Our Software title typography in other sections */
.title-soft{
  margin: 0 0 34px;
  font-size: 54px;
  font-weight: 500;
  letter-spacing: -1.4px;
  color: rgba(15,23,42,.92);
}

@media (max-width: 1100px){
  .title-soft{ font-size: 44px; }
}
@media (max-width: 640px){
  .title-soft{ font-size: 34px; margin-bottom: 22px; }
}

.sw-rows{
  border-top: 1px solid rgba(15,23,42,0.08);
}

.sw-row{
  display:grid;
  grid-template-columns: 240px 480px 1fr;
  gap: 26px;
  align-items:center;
  padding: 60px 0;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}

.sw-left{ align-self: start; padding-top: 6px; }
.sw-desc{
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.1px;
  color: rgba(15,23,42,.78);
}
.sw-no{
  font-weight: 900;
  color: rgba(15,23,42,.55);
  letter-spacing: .02em;
}

.sw-mid{ display:flex; align-items:center; }
.sw-visual{
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.10);
  background-color: #fff;
  box-shadow: 0 14px 28px rgba(15,23,42,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* 연한 워터마크 옵션 */
.sw-visual--ghost{
  background-color: rgba(15,23,42,.02);
}

.sw-watermark{
  position:absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 140px;
  font-weight: 900;
  letter-spacing: -8px;
  color: rgba(15,23,42,0.06);
  pointer-events: none;
}



.sw-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* video can be cropped */
  display: block;
}

.sw-poster{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* poster fully visible */
  object-position: center;
  display: block;
  padding: 14px; /* breathing room so SVG looks centered */
  background: #fff;
}

.sw-video{ opacity: 0; }

/* show video only when playing (hover/focus) */
.sw-row.is-playing .sw-video{ opacity: 1; }
.sw-row.is-playing .sw-poster{ opacity: 0; }

/* smooth fade */
.sw-poster, .sw-video{ transition: opacity .18s ease; }

.sw-row:hover .sw-visual{
  border-color: rgba(15,23,42,0.18);
  box-shadow: 0 18px 40px rgba(15,23,42,.10);
  transform: translateY(-1px);
}

/* right big name */
.sw-right{ display:flex; justify-content:flex-end; }
.sw-name{
  font-size: 120px;
  line-height: 0.92;
  font-weight: 650;
  letter-spacing: -3.6px;
  color: rgba(15,23,42,.92);
  white-space: nowrap;
  text-align: right;
}

/* Responsive */
@media (max-width: 1100px){
  .sw-title{ font-size: 44px; }
  .sw-row{
    grid-template-columns: 220px minmax(240px, 480px);
    grid-template-rows: auto auto;
    align-items:start;
    padding: 46px 0;
  }
  /* Removed .sw-right{ justify-content:flex-start; } so default is kept */
  .sw-name{ font-size: 88px; }
  .sw-mid{ width: 100%; }
  .sw-right{ grid-column: 2; justify-content: flex-end; }
  .sw-name{ text-align: right; }
}
@media (max-width: 640px){
  .sw-title{ font-size: 34px; margin-bottom: 22px; }
  .sw-row{
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 34px 0;
  }
  .sw-visual{ height: 150px; }
  .sw-name{ font-size: 64px; }
  .sw-right{ justify-content: flex-end; }
  .sw-name{ text-align: right; }
}

/* ===== Footer (dark) ===== */
.site-footer{
  background: #0b0f14;
  color: rgba(255,255,255,.80);
  padding: 72px 0 54px;
}

.footer-top{
  max-width: 920px;
  margin: 0;
  text-align: left;
}

.footer-title{
  font-weight: 900;
  letter-spacing: -0.3px;
  color: rgba(255,255,255,.92);
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-lines{
  display: grid;
  gap: 10px;
}

.footer-line{
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,.72);
}

.footer-divider{
  height: 1px;
  width: 100%;
  margin: 28px 0 22px;
  background: rgba(255,255,255,.12);
}

.footer-bottom{
  text-align: left;
  font-size: 14px;
  color: rgba(255,255,255,.68);
}

@media (max-width: 640px){
  .site-footer{ padding: 56px 0 44px; }
  .footer-title{ font-size: 15px; }
  .footer-line, .footer-bottom{ font-size: 13px; }
}