:root {
  --ink: #0e2a3a;
  --deep: #12485f;
  --sea: #2f7f93;
  --foam: #eaf3f4;
  --sand: #f6f1e9;
  --paper: #fdfcf9;
  --line: #d9e3e4;
  --muted: #546a75;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .4rem; }
p { margin-bottom: 1rem; max-width: 62ch; }
a { color: var(--deep); text-underline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }

header.site { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { font-family: Georgia, serif; font-size: 1.5rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: .93rem; }
nav a { color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--sea); }

.hero { background: linear-gradient(180deg, var(--foam), var(--paper)); padding: 88px 0 72px; }
.hero p.lede { font-size: 1.2rem; color: var(--muted); margin-top: 20px; max-width: 54ch; }
.page-head { background: var(--foam); padding: 64px 0 48px; }
.page-head p { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }

section.block { padding: 64px 0; }
section.alt { background: var(--sand); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--sea); margin-bottom: 10px; font-weight: 600; }

.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; background: var(--deep); color: #fff; border: 2px solid var(--deep); }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn.ghost { background: transparent; color: var(--deep); }
.btn.ghost:hover { background: var(--deep); color: #fff; }

.grid { display: grid; gap: 22px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.card p { margin-bottom: 0; color: var(--muted); font-size: .98rem; }
.card .icon { font-size: 1.6rem; margin-bottom: 10px; }

.stat .num { font-family: Georgia, serif; font-size: 2.6rem; color: var(--deep); line-height: 1; }
.stat .lbl { color: var(--muted); font-size: .95rem; margin-top: 8px; }

.orgs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.orgs span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font-size: .95rem; }

.steps { counter-reset: s; list-style: none; display: grid; gap: 16px; margin-top: 22px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 18px 64px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--foam); color: var(--deep); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.steps strong { display: block; }
.steps span { color: var(--muted); font-size: .96rem; }

.note { background: var(--sand); border-left: 4px solid var(--sea); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 22px 0; font-size: .97rem; }
.note p { margin: 0; }

footer.site { background: var(--ink); color: #cfe0e5; padding: 44px 0; font-size: .93rem; }
footer.site a { color: #fff; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site p { margin: 0 0 6px; max-width: none; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 56px 0 48px; }
  section.block { padding: 44px 0; }
  nav { gap: 14px; font-size: .88rem; }
}

/* v2 additions */
.journey { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 26px; counter-reset: j; }
.journey li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; position: relative; }
.journey li:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 28px; color: var(--sea); font-size: 1.3rem; z-index: 2; }
.journey .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--foam); color: var(--deep); font-weight: 700; margin-bottom: 12px; }
.journey p { color: var(--muted); font-size: .96rem; margin: 0; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.traits { list-style: none; display: grid; gap: 12px; }
.traits li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.traits strong { display: block; font-family: Georgia, serif; font-weight: 500; font-size: 1.1rem; color: var(--deep); }
.traits span { color: var(--muted); font-size: .94rem; }
.traits.wide { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 10px; }
.logo { background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 96px; display: grid; place-items: center; padding: 14px; }
.logo img { max-width: 100%; max-height: 60px; object-fit: contain; }
.logo:not(.nologo) .name { display: none; }
.logo .name { font-size: .93rem; text-align: center; color: var(--ink); }
.mapcard { display: flex; gap: 20px; align-items: center; background: var(--foam); border: 1px solid var(--line); border-radius: 18px; padding: 28px; margin: 22px 0; }
.mapcard .pin { font-size: 2.4rem; }
.mapcard h3 { margin-bottom: 2px; }
.mapcard p { margin: 0; color: var(--muted); }
.prose p { font-size: 1.1rem; }
.small { font-size: .93rem; color: var(--muted); }
.stat { padding: 4px 0; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .journey li:not(:last-child)::after { display: none; }
  .mapcard { flex-direction: column; align-items: flex-start; }
}
.grid.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .grid.five { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } }
.boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 22px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 0; }
.box iframe { width: 100%; height: 220px; border: 0; display: block; }
.box figcaption { padding: 12px 16px; font-size: .95rem; display: flex; gap: 10px; align-items: center; }
.box figcaption span { width: 24px; height: 24px; border-radius: 50%; background: var(--foam); color: var(--deep); font-weight: 700; font-size: .8rem; display: inline-grid; place-items: center; flex: none; }
.igs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: start; margin-top: 22px; }
.igs .instagram-media { min-width: 0 !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { border-radius: 50%; display: block; }
.logo.on-dark { background: var(--ink); border-color: var(--ink); }
.kor { height: 56px; width: auto; display: block; margin-top: 14px; }
/* v5: transparent logos, single map */
.logos { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 32px; align-items: center; }
.logo { background: none; border: 0; border-radius: 0; height: 84px; padding: 0; }
.logo img { max-height: 64px; max-width: 100%; }
.logo.white img { filter: brightness(0) saturate(100%); opacity: .82; }
.mapframe { margin-top: 22px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--foam); }
.mapframe iframe { display: block; width: 100%; height: 480px; border: 0; }
@media (max-width: 600px) { .mapframe iframe { height: 380px; } }
/* v6: photos */
.pano { margin: 26px 0 8px; }
.pano-scroll { overflow-x: auto; border-radius: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.pano-scroll img { display: block; height: 380px; width: auto; max-width: none; }
.pano figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.gal-h { margin-top: 44px; margin-bottom: 16px; }
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; }
.gallery img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--line); }
.gallery a { display: block; }
.gallery a:hover img { filter: brightness(1.04); }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.story { display: grid; grid-template-columns: 1fr 260px; gap: 56px; align-items: start; }
.filmstrip { --sp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='26'%3E%3Crect x='3' y='6' width='10' height='13' rx='2.5' fill='%23fdfcf9'/%3E%3C/svg%3E");
  position: relative; background: #241a14; padding: 14px 30px; display: flex; flex-direction: column; gap: 12px; transform: rotate(1.5deg); box-shadow: 0 10px 30px rgba(14,42,58,.18); }
.filmstrip::before, .filmstrip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 16px; background: var(--sp) repeat-y; }
.filmstrip::before { left: 7px; } .filmstrip::after { right: 7px; }
.frame { margin: 0; position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 2px; }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92) contrast(1.02); }
.frame::after { content: attr(data-n); position: absolute; right: -25px; top: 44%; width: 18px; padding: 3px 0; text-align: center; background: #241a14; color: #d9a441; font: 600 11px/1 ui-monospace, Menlo, monospace; z-index: 1; }
.filmstrip .frame { overflow: visible; } .filmstrip .frame img { border-radius: 2px; }
@media (max-width: 760px) {
  .pano-scroll img { height: 260px; }
  .story { grid-template-columns: 1fr; gap: 32px; }
  .filmstrip { flex-direction: row; padding: 30px 12px; transform: rotate(-1deg); overflow-x: auto; }
  .filmstrip::before, .filmstrip::after { left: 0; right: 0; width: auto; height: 16px; top: auto; bottom: auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='16'%3E%3Crect x='6' y='3' width='13' height='10' rx='2.5' fill='%23fdfcf9'/%3E%3C/svg%3E") repeat-x; }
  .filmstrip::before { top: 7px; } .filmstrip::after { bottom: 7px; }
  .frame { flex: 0 0 auto; width: 31%; }
  .frame::after { display: none; }
}

/* v6b: marquee gallery + compact story */
.marquee { overflow: hidden; margin: 0 -22px; padding: 0 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee figure { margin: 0; flex: 0 0 auto; }
.marquee img { display: block; height: 300px; width: auto; border-radius: 12px; background: var(--line); }
.marquee figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; max-width: 420px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee-track { animation: none; } }
@media (max-width: 600px) { .marquee img { height: 220px; } }
.story-sec { padding-top: 56px; }
.story { grid-template-columns: 1fr 180px; gap: 64px; align-items: center; }
.story h1 { margin-bottom: 20px; }
.filmstrip { padding: 12px 28px; gap: 10px; }
.filmstrip::before { left: 6px; } .filmstrip::after { right: 6px; }
.frame::after { right: -24px; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } .filmstrip { padding: 28px 12px; } .filmstrip::before { left: 0; top: 6px; } .filmstrip::after { right: 0; bottom: 6px; } }
