/* 2026 제3회 ESG 경영가치 확산 국제포럼 — 참가 신청. Mobile first. */
:root {
  --green: #386641;
  --green-dk: #2b4f32;
  --lime: #A7C958;
  --cream: #F2E8CF;
  --cream-lt: #FAF6EC;
  --ink: #231F20;
  --ink-2: #4a4546;
  --muted: #6b6566;
  --line: #ddd5c0;
  --line-2: #c9c0aa;
  --white: #fff;
  --err: #b3261e;
  --err-bg: #fdf0ee;
  --radius: 6px;
  --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--green-dk); }
p { margin: 0 0 .75em; }
h1, h2, h3 { margin: 0; line-height: 1.35; }
.break { word-break: break-all; }
.nowrap { white-space: nowrap; }
.muted { color: var(--muted); }
.pre { white-space: pre-wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 720px; }
.reg-col { max-width: 720px; }
.wrap.wide { max-width: 1280px; }

/* Top bar */
.topbar { background: var(--green); }
.topbar-in { min-height: 48px; display: flex; align-items: center; }
.brand { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.4; padding: 10px 0; }
.brand:hover { color: #fff; }
/* Site menu + language switch: own row under the title on phones, right side of the bar on wide screens */
.topbar-in { flex-wrap: wrap; column-gap: 20px; }
.topnav { display: flex; flex: 1 1 100%; justify-content: space-between; align-items: center; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.18); padding: 2px 0 4px; font-size: 14.5px; line-height: 1.3; white-space: nowrap; }
.topnav nav { display: flex; align-items: center; }
.topnav a { color: #e3eedb; text-decoration: none; padding: 8px 2px; min-height: 36px; display: inline-flex; align-items: center; }
.topnav a:hover { color: #fff; text-decoration: underline; }
.topnav a[aria-current] { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.topnav .sep { color: rgba(255,255,255,.45); padding: 0 8px; }
@media (max-width: 359px) { .topnav { font-size: 13.5px; gap: 8px; } .topnav .sep { padding: 0 5px; } }

/* Hero */
.hero { background: var(--cream); overflow: hidden; }
.hero-in { max-width: 1200px; margin: 0 auto; padding: 28px var(--gutter) 8px; display: grid; gap: 4px; }
.hero-k { margin: 0; color: var(--green-dk); font-weight: 700; font-size: 20px; letter-spacing: -.01em; animation: rise .6s 1.5s both; }
.hero-t { margin: 6px 0 0; color: var(--green-dk); font-weight: 700; font-size: 34px; line-height: 1.22; letter-spacing: -.03em; }
.hero-t .l1 { display: flex; align-items: center; gap: .28em; white-space: nowrap; }
.hero-t .l2 { display: block; margin-top: .06em; }
.hero-rest { animation: rise .6s 1.6s both; }
.hero-d { margin: 14px 0 0; font-weight: 700; font-size: 19px; color: var(--ink); animation: rise .6s 1.75s both; }
.hero-d .dw { font-weight: 500; font-size: .85em; }
.hero-host { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; color: var(--ink-2); font-size: 13px; animation: rise .6s 1.9s both; }
.hero-host img { width: 128px; height: auto; }
.hero-art { position: relative; margin: 0 auto; width: 100%; max-width: 520px; aspect-ratio: 940 / 710; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The key visual assembles from its four parts (E island, S block, G stage, globe), then the original image takes over */
.hero-art .full { opacity: 0; animation: show .35s 2.05s ease-out forwards; }
.hero-art .pc { opacity: 0; animation: piece .8s cubic-bezier(.2,.85,.25,1.08) both, hide .3s 2.3s forwards; }
.pglobe { --px: 0; --py: 0; --pr: -90deg; --ps: .3; animation-delay: .25s, 2.3s !important; }
.pe { --px: -45%; --py: 8%;  --pr: -8deg; --ps: .9; animation-delay: .7s, 2.3s !important; }
.ps { --px: 35%;  --py: -40%; --pr: 10deg; --ps: .9; animation-delay: 1s, 2.3s !important; }
.pg { --px: 10%;  --py: 45%;  --pr: 6deg;  --ps: .9; animation-delay: 1.3s, 2.3s !important; }
@keyframes piece { from { opacity: 0; transform: translate(var(--px), var(--py)) rotate(var(--pr)) scale(var(--ps)); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes show { to { opacity: 1; } }
@keyframes hide { to { opacity: 0; } }
.hero-art .full { will-change: opacity; }

/* ESG tiles: arrive one by one, then press together into one block */
.esg-mark { display: inline-flex; font-size: 1.05em; line-height: 1; flex: none; }
.tile { --c: #2E9B48; display: inline-grid; place-items: center; width: 1.08em; height: 1.08em; color: #fff; background: var(--c);
        font-weight: 700; letter-spacing: 0; border-radius: .2em; margin-left: .12em; will-change: transform; }
.tile.e { --c: #2E9B48; margin-left: 0; --fx: -60vw; --fy: 30px;  --fr: -35deg; animation: fly .7s .15s cubic-bezier(.2,.9,.25,1.15) both, snap-e .45s 1.15s ease-in-out both; }
.tile.s { --c: #1E9AD6; --fx: 10vw;  --fy: -60vh; --fr: 25deg;  animation: fly .7s .4s  cubic-bezier(.2,.9,.25,1.15) both, snap-s .45s 1.15s ease-in-out both; }
.tile.g { --c: #EE8419; --fx: 70vw;  --fy: 10px;  --fr: 40deg;  animation: fly .7s .65s cubic-bezier(.2,.9,.25,1.15) both, snap-g .45s 1.15s ease-in-out both; }
@keyframes fly { from { transform: translate(var(--fx), var(--fy)) rotate(var(--fr)) scale(.6); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes snap-e { to { border-radius: .2em 0 0 .2em; } }
@keyframes snap-s { to { margin-left: 0; border-radius: 0; } }
@keyframes snap-g { to { margin-left: 0; border-radius: 0 .2em .2em 0; } }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes art-in { from { transform: translateY(16px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-8px); } }

@media (min-width: 768px) {
  .hero-in { grid-template-columns: 1fr 1fr; align-items: center; padding: 40px 24px; gap: 24px; }
  .hero-k { font-size: 24px; }
  .hero-t { font-size: 46px; }
  .hero-d { font-size: 22px; margin-top: 20px; }
  .hero-host { margin-top: 32px; }
  .hero-host img { width: 150px; }
  .hero-art { max-width: none; }
}
@media (min-width: 1100px) { .hero-t { font-size: 54px; } }
/* English title is longer: keep "[ESG] International Forum" on one line from 320px up */
.hero-en .hero-t { font-size: min(34px, 6.8vw); }
.hero-en .hero-d { font-size: min(19px, 4.1vw); }
.hero-en .hero-d .nw { white-space: nowrap; }
@media (min-width: 768px) { .hero-en .hero-t { font-size: min(46px, 3.3vw); } .hero-en .hero-d { font-size: min(22px, 1.6vw); } }
/* 10-23: hold every hero animation at its first frame until the images are in (.go added by portal script) */
.js .hero:not(.go), .js .hero:not(.go) * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .tile, .hero-k, .hero-rest, .hero-d, .hero-host, .hero-art img { animation: none !important; }
  .hero-art .full { opacity: 1; } .hero-art .pc { display: none; }
  .tile.s, .tile.g { margin-left: 0; border-radius: 0; }
  .tile.e { border-radius: .2em 0 0 .2em; } .tile.g { border-radius: 0 .2em .2em 0; }
}

/* Intro */
.intro { background: var(--cream); padding: 24px 0 32px; border-bottom: 4px solid var(--lime); }
.eyebrow { color: var(--green); font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.eyebrow-muted { color: var(--muted); }
.h-page { font-size: 24px; font-weight: 700; color: var(--ink); }
.theme { font-size: 16px; color: var(--ink-2); margin: 8px 0 20px; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.facts > div { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.facts dt { font-weight: 700; color: var(--green); }
.facts dd { margin: 0; }
.cta-row { margin: 24px 0 0; }
.portal-en .facts > div { grid-template-columns: 76px 1fr; }

/* Buttons */
.btn, .btn-outline, .btn-danger {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px;
  border-radius: var(--radius); font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 2px solid var(--green); background: var(--green); color: #fff; line-height: 1.3; text-align: center;
}
.btn:hover { background: var(--green-dk); border-color: var(--green-dk); color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-wide { width: 100%; }
.btn-outline { background: #fff; color: var(--green); min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn-outline:hover { background: var(--cream-lt); color: var(--green-dk); }
.btn-danger { background: #fff; color: var(--err); border-color: var(--err); min-height: 44px; font-size: 15px; }
.btn-danger:hover { background: var(--err-bg); }
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--green); text-decoration: underline; cursor: pointer; }

/* Sections */
.section { padding: 40px 0; }
.h-sec { font-size: 21px; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--green); }
.h-sub { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.note { font-size: 15px; color: var(--muted); margin-top: 12px; }

/* Programme */
.prog { list-style: none; margin: 0; padding: 0; }
.prog-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.prog-time { font-weight: 700; color: var(--green); font-size: 15px; margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.prog-body p { margin: 0 0 4px; }
.prog-kind { font-weight: 700; font-size: 17px; }
.prog-sub { display: block; font-weight: 400; font-size: 15px; color: var(--ink-2); }
.prog-title { font-weight: 500; }
.prog-who { color: var(--ink); }
.prog-who .muted { display: inline-block; font-size: 15px; }
.talks { list-style: none; margin: 10px 0 0; padding: 0; }
.talks li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
/* Speaker photos */
.who { display: flex; align-items: center; gap: 12px; margin: 6px 0 4px; }
.who .prog-who { margin: 0; }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ring, var(--green));
  background: var(--cream-lt); }
.ring-k { --ring: var(--green); } .ring-e { --ring: #2E9B48; } .ring-s { --ring: #1E9AD6; } .ring-g { --ring: #EE8419; }
@media (min-width: 560px) { .avatar { width: 56px; height: 56px; } }
.esg { width: 32px; height: 32px; border-radius: 4px; background: var(--green); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 16px; margin-top: 2px; }

/* Call to action at the end of the programme page */
.cta-band { background: var(--cream-lt); border-top: 1px solid var(--line); }
.btn-big { min-width: 260px; min-height: 56px; font-size: 18px; }

/* Registration */
.reg-page { padding-top: 28px; }
.reg-page .eyebrow { margin-bottom: 4px; }
.reg-summary { font-size: 15.5px; color: var(--ink-2); margin: -4px 0 16px; }
.register { background: var(--cream-lt); border-top: 1px solid var(--line); }
.reg-lead { font-size: 16px; }
.req { color: var(--err); font-weight: 700; }
.opt-tag { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.req-note { font-size: 15px; color: var(--muted); }
.fsec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px 8px; margin-bottom: 16px; }
.fsec-h { font-size: 18px; font-weight: 700; color: var(--green); margin-bottom: 16px; }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field > label:not(.opt), .field legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; font-size: 16px; }
.hint { font-size: 14.5px; color: var(--muted); margin: -2px 0 8px; }
input[type=text], input[type=email], input[type=tel], input[type=password], textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 11px 12px; min-height: 48px;
}
textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
input::placeholder { color: #9a9394; }
input:focus, textarea:focus { border-color: var(--green); outline: 2px solid var(--lime); outline-offset: 0; }
.count { font-size: 13px; color: var(--muted); text-align: right; margin: 4px 0 0; }
.opts { display: grid; gap: 8px; grid-template-columns: 1fr; }
.opt { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border: 1px solid var(--line-2);
  border-radius: var(--radius); background: #fff; cursor: pointer; font-weight: 400; line-height: 1.5; min-height: 48px; }
.opt:hover { border-color: var(--green); }
.opt input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--green); }
.opt:has(input:checked) { border-color: var(--green); background: #f1f6ea; box-shadow: inset 0 0 0 1px var(--green); }
.opts.cols3 { grid-template-columns: 1fr 1fr; }
html[lang="en"] .opts.cols3 { grid-template-columns: 1fr; }   /* English labels are longer */
.err { color: var(--err); font-size: 14.5px; margin: 6px 0 0; }
.err:empty { display: none; }
.field.invalid input[type=text], .field.invalid input[type=email], .field.invalid input[type=tel], .field.invalid textarea { border-color: var(--err); }
.field.invalid .opt { border-color: var(--err); }
.form-alert { background: var(--err-bg); border-left: 4px solid var(--err); padding: 12px 14px; margin-bottom: 16px; font-weight: 500; }
.form-alert.info { background: #f1f6ea; border-left-color: var(--green); }
.consent { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 4px; }
.consent:first-of-type { border-top: 0; padding-top: 0; }
.consent p.consent-h { font-weight: 700; margin-bottom: 8px; color: var(--ink); font-size: 16px; }
.consent p, .terms dd, .terms-note { font-size: 15px; color: var(--ink-2); }
.terms { margin: 0 0 8px; background: var(--cream-lt); border-radius: var(--radius); padding: 12px 14px; }
.terms dt { font-weight: 700; font-size: 15px; color: var(--ink); }
.terms dd { margin: 0 0 8px; }
.terms dd:last-child { margin-bottom: 0; }
.check-strong { font-weight: 500; }
.opt .muted { font-weight: 400; }
.submit-row { display: flex; flex-direction: column; gap: 14px; align-items: center; margin: 24px 0 8px; }
.closed-notice { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); padding: 18px 16px; border-radius: var(--radius); }
.closed-h { font-size: 19px; font-weight: 700; }

/* Personal page */
.page-head { padding-top: 32px; padding-bottom: 8px; }
.lead { font-size: 17px; color: var(--ink-2); margin-top: 10px; }
.regno-block { margin-top: 20px; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); background: var(--cream-lt); padding: 16px; display: grid; gap: 16px; }
.k { font-size: 14.5px; color: var(--muted); margin: 0 0 2px; font-weight: 500; }
.regno { font-size: 26px; font-weight: 700; letter-spacing: .04em; color: var(--green); margin: 0; font-variant-numeric: tabular-nums; }
.plink-url { word-break: break-all; font-size: 15px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; }
.plink .hint { margin-top: 10px; }
.block { padding-top: 16px; padding-bottom: 16px; }
.sum-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; border-bottom: 2px solid var(--green); margin-bottom: 8px; padding-bottom: 10px; }
.sum-head .h-sec { border: 0; margin: 0; padding: 0; }
.summary { margin: 0; }
.summary dt { font-size: 14.5px; color: var(--muted); font-weight: 500; padding-top: 10px; }
.summary dd { margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cancel-block { padding-bottom: 40px; }
.cancel-block .h-sub { margin-top: 8px; }

/* Privacy page */
.privacy .h-sub:first-child { margin-top: 0; }

/* Footer */
.footer { background: var(--ink); color: #e8e2d4; padding: 24px 0 32px; font-size: 15px; }
.footer p { margin: 0 0 6px; }
.footer a { color: #fff; }
.footer-org { font-weight: 500; color: #fff; }

/* Admin */
.admin .wrap.wide { max-width: 1400px; }
.banner { background: #fff6e0; border-bottom: 1px solid #e6cf93; padding: 14px 0; font-size: 15px; }
.banner ul { margin: 4px 0 8px; padding-left: 20px; }
.banner p { margin: 0; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 24px; padding-bottom: 12px; }
.switches { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-bottom: 16px; }
.switch { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; }
.sw-label { font-weight: 700; }
.sw-state { font-weight: 700; font-size: 15px; padding: 2px 8px; border-radius: 4px; }
.sw-state.on { background: #e6f0dc; color: var(--green-dk); }
.sw-state.off { background: var(--err-bg); color: var(--err); }
.mail-state { margin: 0; font-size: 15px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 8px; }
.kpis > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; }
.kpis .kpi-main { grid-column: 1 / -1; background: var(--cream-lt); }
.kpi { font-size: 28px; font-weight: 700; margin: 0; color: var(--green); line-height: 1.2; }
.kpi-of { font-size: 16px; color: var(--muted); font-weight: 500; }
.kpis .k { margin: 2px 0 0; }
.meter { height: 10px; background: #e8e1cf; border-radius: 5px; overflow: hidden; margin: 10px 0 6px; }
.meter span { display: block; height: 100%; background: var(--green); }
.kpi-main .muted { margin: 0; font-size: 14.5px; }
.stats { display: grid; grid-template-columns: 1fr; gap: 0 32px; }
.bars { width: 100%; border-collapse: collapse; font-size: 15px; }
.bars th { text-align: left; font-weight: 400; padding: 6px 8px 6px 0; white-space: nowrap; }
.bars .n { text-align: right; padding: 6px 10px; font-weight: 700; width: 3em; font-variant-numeric: tabular-nums; }
.bars .bar { width: 50%; }
.bars .bar span { display: block; height: 10px; background: var(--lime); border-radius: 2px; min-width: 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 40px; }
.list { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.list th, .list td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.list th { background: var(--cream-lt); white-space: nowrap; font-weight: 700; }
.list td.q { min-width: 220px; max-width: 360px; }
.list tr.is-cancelled td { color: var(--muted); background: #f6f4ef; }
.list td.st-x { color: var(--err); font-weight: 700; }
.list td.org { min-width: 150px; }
.login { max-width: 360px; margin-top: 16px; padding-bottom: 48px; }

/* Larger screens */
@media (min-width: 560px) {
  .opts.cols2 { grid-template-columns: 1fr 1fr; }
  .opts.cols3 { grid-template-columns: 1fr 1fr 1fr; }
  html[lang="en"] .opts.cols3 { grid-template-columns: 1fr 1fr; }
  .regno-block { grid-template-columns: auto 1fr; gap: 24px; }
  .submit-row { flex-direction: row; justify-content: space-between; }
  .btn-wide { width: auto; min-width: 240px; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 860px) {
  :root { --gutter: 24px; }
  .brand { font-size: 16px; }
  .topnav { flex: none; margin-left: auto; border-top: 0; padding: 0; gap: 28px; font-size: 15px; }
  .intro { padding: 36px 0 44px; }
  .h-page { font-size: 30px; }
  .theme { font-size: 18px; }
  .facts { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .section { padding: 56px 0; }
  .h-sec { font-size: 24px; }
  .prog-row { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 18px 0; }
  .prog-time { font-size: 16px; margin: 0; padding-top: 1px; }
  .fsec { padding: 28px 28px 12px; }
  .kpis { grid-template-columns: 2fr repeat(4, 1fr); }
  .kpis .kpi-main { grid-column: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* 11-11 챌린지 안내(/challenge) */
.ch-list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 14px; }
.ch { background: #fff; border: 1px solid #dfe5da; border-radius: 14px; padding: 18px 18px 16px; }
.ch p { margin: 0 0 8px; line-height: 1.6; }
.ch-tag { display: inline-block; background: #F2B417; color: #1c1c1c; font-weight: 700; font-size: 13px; border-radius: 999px; padding: 2px 10px; }
.ch-t { font-size: 19px; margin: 6px 0 8px; color: var(--green-dk); }
.ch-tags { color: var(--green); font-weight: 700; font-size: 14px; }
.ch-gift { font-weight: 700; margin-bottom: 0 !important; }
