:root {
  --ink: #142033;
  --ink-soft: #24344c;
  --paper: #f4efe6;
  --paper-2: #fffdf9;
  --line: rgba(20, 32, 51, 0.12);
  --persimmon: #e25b32;
  --persimmon-deep: #c44722;
  --sea: #1b7464;
  --gold: #b8893d;
  --muted: #5d6673;
  --shadow: 0 28px 70px rgba(20, 32, 51, 0.14);
  --radius: 28px;
  --max: 1160px;
  --header: 78px;
  --font: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(226, 91, 50, 0.16), transparent 60%),
    radial-gradient(700px 380px at -10% 20%, rgba(27, 116, 100, 0.12), transparent 55%),
    var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(244, 239, 230, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 253, 249, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(20, 32, 51, 0.05);
}
.header-inner, .footer-inner, .section, .page-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 34px;
  width: auto;
  display: block;
}
.logo-on-dark {
  background: #fffdf9;
  border-radius: 12px;
  padding: 8px 12px;
}
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}
.site-nav a[aria-current="page"] { background: rgba(20, 32, 51, 0.08); }
.site-nav a:hover { background: rgba(20, 32, 51, 0.06); }
.nav-call {
  background: var(--ink) !important;
  color: #fff !important;
  margin-left: 8px;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.nav-toggle-lines, .nav-toggle-lines:before, .nav-toggle-lines:after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}
.nav-toggle-lines:before, .nav-toggle-lines:after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-lines:before { top: -6px; }
.nav-toggle-lines:after { top: 6px; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 28px auto 10px;
  min-height: calc(100vh - var(--header) - 48px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sea);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--persimmon);
}
.hero h1, .page-hero h1, .band h2, .section h2 {
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.18;
}
.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(42px, 5vw, 68px);
}
.lede { color: var(--ink-soft); font-size: 18px; max-width: 38rem; }
.hero-actions, .lang-pills, .proof { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions { margin: 28px 0 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--persimmon); color: #fff; box-shadow: 0 12px 24px rgba(226, 91, 50, 0.28); }
.btn-primary:hover { background: var(--persimmon-deep); }
.btn-ghost { background: transparent; border-color: rgba(20, 32, 51, 0.2); }
.btn-light { background: #fff; color: var(--ink); }
.lang-pills span, .proof span, .chip {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 253, 249, 0.8);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 650;
}
.proof { margin-top: 28px; color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual img, .frame img, .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-visual img {
  height: min(68vh, 620px);
  box-shadow: var(--shadow);
  animation: rise .9s ease both;
}
.float-card {
  position: absolute;
  background: rgba(255, 253, 249, 0.94);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  min-width: 150px;
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 16px; letter-spacing: -0.03em; }
.float-card span { color: var(--muted); font-size: 13px; }
.card-en { left: -28px; bottom: 46px; }
.card-jp { right: 18px; top: 28px; animation-delay: -1.6s; }
.card-jp strong { color: var(--sea); }

.marquee {
  margin: 18px 0 8px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.55);
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 14px 0;
  animation: ticker 28s linear infinite;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.marquee-track span { white-space: nowrap; }
.marquee-track i { color: var(--persimmon); font-style: normal; }

.section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head h2, .band h2, .page-hero h1 { font-size: clamp(32px, 4vw, 48px); margin: 10px 0 12px; }
.section-head p, .band p, .page-hero p { color: var(--ink-soft); }

.band {
  width: min(var(--max), calc(100% - 40px));
  margin: 20px auto;
  background: var(--ink);
  color: #f6f1e8;
  border-radius: 36px;
  padding: 28px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.band .ghost {
  position: absolute;
  right: -10px;
  bottom: -28px;
  font-size: 120px;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.band .eyebrow { color: #f0c7b8; }
.band p { color: rgba(246, 241, 232, 0.82); }
.band img { height: 420px; width: 100%; object-fit: cover; border-radius: 24px; }
.lang-list { display: grid; gap: 12px; margin-top: 22px; }
.lang-list article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
}
.lang-list strong { display: block; font-size: 20px; }
.lang-list span { color: rgba(246, 241, 232, 0.72); }

.cards {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
}
.card {
  background: var(--paper-2);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(20, 32, 51, 0.06);
  box-shadow: 0 16px 40px rgba(20, 32, 51, 0.05);
  min-height: 100%;
}
.card a { display: block; height: 100%; text-decoration: none; }
.card img { height: 210px; width: 100%; object-fit: cover; transition: transform .6s ease; }
.card a:hover img { transform: scale(1.05); }
.card-body { padding: 22px; }
.card h3 { font-size: 24px; letter-spacing: -0.04em; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card-feature { grid-row: span 2; }
.card-feature img { height: 320px; }
.card-icon { padding: 28px 22px; background: linear-gradient(180deg, #fff, #f7f1e6); }
.icon-blob {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(226, 91, 50, 0.12);
  color: var(--persimmon-deep);
  margin-bottom: 18px;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step {
  background: var(--paper-2);
  border-radius: 28px;
  padding: 28px 24px 24px;
  border: 1px solid rgba(20, 32, 51, 0.06);
  position: relative;
  overflow: hidden;
}
.step:before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--persimmon);
  margin-bottom: 12px;
}
.step h3 { font-size: 22px; letter-spacing: -0.04em; margin-bottom: 8px; }
.step p { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: center;
}
.split img { width: 100%; height: 520px; object-fit: cover; border-radius: 32px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.facts div, .note {
  background: rgba(255, 253, 249, 0.8);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.facts strong, .note strong { display: block; font-size: 14px; color: var(--muted); font-weight: 650; }
.cta {
  width: min(var(--max), calc(100% - 40px));
  margin: 10px auto 80px;
  background: linear-gradient(120deg, #1b7464, #142033 55%, #3a241c);
  color: #fff;
  border-radius: 36px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.cta h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.045em; margin: 8px 0 10px; }
.cta p { color: rgba(255, 255, 255, 0.78); }

.page-hero { padding: 54px 0 10px; }
.page-wrap { padding-bottom: 80px; }
.svc-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  margin: 28px 0 54px;
}
.svc-row.reverse { direction: rtl; }
.svc-row.reverse > * { direction: ltr; }
.svc-row img { width: 100%; height: 380px; object-fit: cover; border-radius: 30px; }
.svc-row h2 { font-size: clamp(30px, 3vw, 42px); letter-spacing: -0.045em; margin: 8px 0 12px; }
.svc-row ul { margin: 16px 0 0; padding: 0; list-style: none; }
.svc-row li {
  padding: 8px 0 8px 18px;
  position: relative;
  color: var(--ink-soft);
}
.svc-row li:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--persimmon);
  position: absolute;
  left: 0;
  top: 16px;
}

.visit { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; margin-top: 28px; }
.visit iframe { width: 100%; height: 420px; border: 0; border-radius: 28px; }
.prose h2 { margin: 28px 0 8px; font-size: 28px; letter-spacing: -0.04em; }
.prose p { color: var(--ink-soft); margin-bottom: 8px; }

.apply-layout { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 28px; align-items: start; }
.apply-aside {
  background: var(--ink);
  color: #f6f1e8;
  border-radius: 32px;
  padding: 32px 28px;
  position: sticky;
  top: 98px;
}
.apply-aside p { color: rgba(246, 241, 232, 0.78); margin-top: 10px; }
.apply-aside a { color: #fff; }
.apply-form, .panel {
  background: var(--paper-2);
  border-radius: 32px;
  padding: 28px;
  border: 1px solid rgba(20, 32, 51, 0.06);
  box-shadow: 0 18px 50px rgba(20, 32, 51, 0.05);
}
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field span { font-size: 14px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(20, 32, 51, 0.14);
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px;
  outline: none;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--sea); box-shadow: 0 0 0 4px rgba(27, 116, 100, 0.15); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: 15px; }
.check input { width: auto; margin-top: 4px; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.alert {
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.alert-ok { background: rgba(27, 116, 100, 0.12); color: #13584c; }
.alert-err { background: rgba(226, 91, 50, 0.12); color: #8d3018; }
.alert ul { margin: 0; padding-left: 18px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.site-footer { background: #101926; color: rgba(246, 241, 232, 0.78); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 0.8fr 1.1fr; gap: 28px; padding-bottom: 36px; }
.site-footer h2 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.footer-lead { margin-top: 14px; max-width: 28rem; }
.site-footer a { color: #fff; }
.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0 22px;
  font-size: 14px;
}

.reveal { opacity: 0; transform: translateY(24px); animation: none; }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.reveal[data-delay="1"].is-in { transition-delay: .08s; }
.reveal[data-delay="2"].is-in { transition-delay: .16s; }
.reveal[data-delay="3"].is-in { transition-delay: .24s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hero-copy > * { animation: rise .8s ease both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }

@media (max-width: 980px) {
  .hero, .band, .split, .visit, .apply-layout, .svc-row, .svc-row.reverse, .steps, .footer-inner {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .cards { grid-template-columns: 1fr 1fr; }
  .card-feature { grid-column: 1 / -1; grid-row: auto; }
  .hero { min-height: 0; padding-top: 18px; }
  .hero-visual img, .band img, .split img, .svc-row img { height: 320px; }
  .card-en { left: 12px; }
  .apply-aside { position: static; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .cards { grid-template-columns: 1fr; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(var(--header) - 8px);
    left: 16px;
    right: 16px;
    background: #fffdf9;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .nav-call { margin: 4px 0 0; text-align: center; }
  .fields, .facts, .form-actions { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; }
  .header-inner, .footer-inner, .section, .page-wrap, .hero, .band, .cta { width: min(var(--max), calc(100% - 28px)); }
  .section { padding: 64px 0; }
  body.nav-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
