:root {
  --red: #a80f18;
  --red-dark: #710910;
  --red-deep: #51070c;
  --red-soft: #fff0f0;
  --gold: #d4a72c;
  --ink: #202020;
  --muted: #626262;
  --paper: #fffdfb;
  --line: #e3dcd7;
  --white: #fff;
  --shadow: 0 16px 45px rgba(67, 16, 19, .12);
  --radius: 22px;
  --base-font: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; font-size: var(--base-font); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.64;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .75rem 1rem; color: #fff; background: var(--red-dark); border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 100; color: #fff; background: rgba(113, 9, 16, .98); border-bottom: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); }
.header-inner { width: min(1180px, calc(100% - 32px)); min-height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; color: var(--red); background: #fff; border-radius: 50%; font-size: 1.15rem; font-weight: 900; }
.brand-text { display: grid; line-height: 1.2; }
.brand-text strong { font-size: 1.08rem; }
.brand-text small { font-size: .67rem; opacity: .85; }
.desktop-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.desktop-nav a { padding: 10px 11px; border-radius: 8px; text-decoration: none; font-size: .78rem; font-weight: 800; }
.desktop-nav a:hover, .desktop-nav a.active { background: rgba(255,255,255,.15); }
.text-size-controls { display: flex; gap: 6px; }
.text-size-controls button { min-width: 47px; min-height: 44px; padding: 4px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.45); border-radius: 10px; font-weight: 850; cursor: pointer; }

.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; min-height: 680px; background: radial-gradient(circle at 15% 20%, rgba(212,167,44,.23), transparent 28%), linear-gradient(135deg, #fff8f4 0 57%, #8b0d15 57% 100%); }
.hero::after { content: "41"; position: absolute; left: 3%; bottom: -115px; color: rgba(168,15,24,.055); font-size: clamp(13rem, 30vw, 29rem); font-weight: 900; line-height: 1; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; align-self: start; width: min(640px, calc(100% - 48px)); margin-left: max(24px, calc((100vw - 1180px) / 2)); padding: 72px 0 64px; }
.generation { display: inline-block; margin: 0 0 18px; padding: 7px 13px; color: var(--red-dark); background: #fff; border: 1px solid #e9c9ca; border-radius: 999px; font-size: .92rem; font-weight: 850; }
.hero h1 { margin: 0; font-size: clamp(2.35rem, 5.2vw, 4.65rem); line-height: 1.13; letter-spacing: -.055em; }
.hero h1 span { color: var(--red); }
.hero-lead { max-width: 650px; margin: 24px 0 0; color: #3d3d3d; font-size: 1.12rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border: 2px solid transparent; border-radius: 13px; text-decoration: none; font-weight: 900; cursor: pointer; }
.button-primary { color: #fff; background: var(--red); }
.button-secondary { color: var(--red-dark); background: #fff; border-color: #d7bfc0; }
.button-light { color: var(--red-dark); background: #fff; }
.button:focus-visible, summary:focus-visible, .bottom-nav a:focus-visible, .photo-card:focus-visible { outline: 4px solid #f3c847; outline-offset: 3px; }

.candidate-photo { position: relative; align-self: stretch; min-height: 680px; margin: 0; overflow: hidden; }
.candidate-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(139,13,21,.48), transparent 20%); }
.candidate-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 16%; transform: scale(1.31); transform-origin: 50% 16%; }
.candidate-photo figcaption { position: absolute; right: 28px; bottom: 30px; z-index: 2; display: grid; min-width: 220px; padding: 18px 22px; color: #fff; background: rgba(113,9,16,.93); border-left: 5px solid var(--gold); box-shadow: var(--shadow); }
.candidate-photo figcaption span { font-size: .8rem; opacity: .9; }
.candidate-photo figcaption strong { font-size: 1.85rem; line-height: 1.2; }

.section { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 74px 0; }
.section-heading { margin-bottom: 25px; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.8rem); line-height: 1.22; letter-spacing: -.045em; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.section-number { margin: 0 0 8px; color: var(--red); font-weight: 900; letter-spacing: .02em; }
.text-link { flex: 0 0 auto; padding: 9px 0; color: var(--red-dark); text-decoration: none; border-bottom: 2px solid var(--red); font-weight: 900; }
.text-link span { margin-left: 5px; }

.candidate-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 38px; align-items: start; }
.statement-card { padding: 38px; background: #fff; border: 1px solid var(--line); border-top: 7px solid var(--red); border-radius: var(--radius); box-shadow: var(--shadow); }
.statement-card p { margin: 0 0 13px; font-size: 1.08rem; }
.principle-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.principle-strip span { padding: 12px; text-align: center; color: var(--red-dark); background: var(--red-soft); border-radius: 11px; font-weight: 900; }

.media-band { color: #fff; background: linear-gradient(145deg, var(--red-deep), var(--red-dark)); }
.media-inner { width: min(1100px, calc(100% - 32px)); }
.media-band .section-number { color: #f1cf71; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.video-card { overflow: hidden; color: var(--ink); background: #fff; border-radius: var(--radius); box-shadow: 0 14px 34px rgba(35, 3, 6, .26); }
.video-featured { grid-column: 1 / -1; }
.video-featured .video-copy { padding: 22px 25px 25px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #170204; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-copy { padding: 18px; }
.video-copy h3 { margin: 0; font-size: 1.18rem; line-height: 1.4; }
.video-copy p { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }

.pledges-section { padding-top: 68px; }
.expand-all { min-height: 44px; padding: 7px 13px; color: #fff; background: var(--red); border: 0; border-radius: 10px; font-weight: 850; cursor: pointer; }
.pledge-list { display: grid; gap: 10px; }
.pledge-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 8px 25px rgba(67,16,19,.06); }
.pledge-card[open] { border-color: #d7aeb0; box-shadow: 0 14px 36px rgba(91,9,14,.11); }
.pledge-card summary { list-style: none; display: grid; grid-template-columns: 68px 1fr auto; align-items: center; gap: 18px; min-height: 88px; padding: 15px 24px; cursor: pointer; }
.pledge-card summary::-webkit-details-marker { display: none; }
.pledge-card summary::after { content: "+"; width: 42px; height: 42px; display: grid; place-items: center; color: var(--red); background: var(--red-soft); border-radius: 50%; font-size: 1.5rem; font-weight: 700; }
.pledge-card[open] summary::after { content: "−"; color: #fff; background: var(--red); }
.pledge-no { color: var(--red); font-size: 1.55rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.pledge-card summary strong { display: block; font-size: 1.18rem; line-height: 1.4; }
.pledge-card summary small { display: block; margin-top: 3px; color: var(--muted); font-size: .82rem; }
.pledge-body { padding: 2px 28px 22px 110px; border-top: 1px solid #f0e9e5; }
.pledge-body ul { margin: 20px 0 0; padding-left: 1.25em; }
.pledge-body li { margin: 5px 0; }
.pledge-featured { border: 2px solid var(--red); }
.pledge-featured summary { background: linear-gradient(90deg, #fff4f3, #fff); }
.pledge-emphasis { margin: 20px 0 0; padding: 16px; color: var(--red-dark); background: var(--red-soft); border-left: 5px solid var(--red); font-weight: 900; }

.news-band { background: #f7efeb; }
.news-inner { width: min(1100px, calc(100% - 32px)); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { display: flex; flex-direction: column; min-height: 245px; padding: 25px; background: #fff; border: 1px solid #e1d8d3; border-radius: 18px; box-shadow: 0 10px 28px rgba(58,25,18,.07); }
.news-card time { color: var(--red); font-size: .76rem; font-weight: 850; }
.news-card h3 { margin: 11px 0 8px; font-size: 1.18rem; line-height: 1.42; }
.news-card h3 a { text-decoration: none; }
.news-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.card-link { margin-top: auto; padding-top: 18px; color: var(--red-dark); font-size: .82rem; font-weight: 900; }
.content-empty { padding: 42px 24px; text-align: center; color: var(--muted); background: rgba(255,255,255,.85); border: 2px dashed #d8c8c2; border-radius: var(--radius); }
.content-empty strong { display: block; color: var(--red-dark); font-size: 1.2rem; }
.content-empty p { margin: 7px 0 0; }
.content-empty .button { margin-top: 20px; }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-card { position: relative; overflow: hidden; min-height: 0; padding: 0; text-align: left; color: #fff; background: #320609; border: 0; border-radius: 16px; cursor: zoom-in; box-shadow: 0 8px 24px rgba(45,15,13,.1); }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; transition: transform .25s ease; }
.photo-card:hover img { transform: scale(1.025); }
.photo-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(35,3,5,.88)); font-size: .8rem; font-weight: 850; }

.plan-section { width: 100%; max-width: none; padding-left: max(16px, calc((100vw - 1100px) / 2)); padding-right: max(16px, calc((100vw - 1100px) / 2)); background: #f7efeb; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.timeline-card { position: relative; padding: 30px; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(58,25,18,.07); }
.timeline-card h3 { margin: 18px 0 14px; font-size: 1.2rem; line-height: 1.4; }
.timeline-card ul { margin: 0; padding-left: 1.2em; }
.timeline-card li { margin: 7px 0; }
.day-badge { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 15px; color: #fff; background: var(--red); border-radius: 999px; font-weight: 900; }
.timeline-card-accent { color: #fff; background: var(--red-dark); }
.timeline-card-accent .day-badge { color: var(--red-dark); background: var(--gold); }

.closing { padding: 74px max(20px, calc((100vw - 900px) / 2)); text-align: center; color: #fff; background: radial-gradient(circle at 10% 30%, rgba(212,167,44,.22), transparent 30%), linear-gradient(145deg, var(--red-dark), var(--red)); }
.closing > p:first-child { margin: 0 0 8px; color: #ffe09a; font-weight: 900; }
.closing h2 { margin: 0; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.2; }
.closing h2 + p { margin: 20px auto 28px; font-size: 1.1rem; }
.closing strong { display: block; margin-top: 28px; font-size: 1.15rem; }
.site-footer { padding: 40px max(20px, calc((100vw - 900px) / 2)); text-align: center; color: #555; background: #fff; }
.site-footer p { margin: 8px 0; font-size: .8rem; }
.site-footer .domain { color: var(--red); font-size: 1rem; font-weight: 900; }

.bottom-nav { position: fixed; z-index: 200; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid #ded6d2; box-shadow: 0 -8px 24px rgba(44,18,14,.09); backdrop-filter: blur(16px); }
.bottom-nav a { min-width: 0; min-height: 57px; display: grid; place-items: center; align-content: center; gap: 2px; padding: 3px; color: #616161; background: transparent; border: 0; border-radius: 10px; text-decoration: none; font-size: .67rem; font-weight: 850; cursor: pointer; }
.bottom-nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav .active { color: var(--red); background: var(--red-soft); }
.toast { position: fixed; z-index: 500; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 24px); max-width: calc(100% - 32px); padding: 12px 18px; color: #fff; background: #222; border-radius: 12px; opacity: 0; pointer-events: none; transition: .2s ease; text-align: center; font-weight: 850; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.lightbox { width: min(1000px, calc(100% - 24px)); max-height: 92vh; padding: 0; overflow: hidden; color: #fff; background: #190204; border: 0; border-radius: 16px; box-shadow: 0 28px 90px rgba(0,0,0,.55); }
.lightbox::backdrop { background: rgba(16, 2, 3, .82); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; max-height: 80vh; display: block; object-fit: contain; }
.lightbox p { margin: 0; padding: 13px 18px 17px; text-align: center; font-weight: 800; }
.lightbox-close { position: absolute; z-index: 2; right: 10px; top: 10px; width: 46px; height: 46px; color: #fff; background: rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 1.55rem; cursor: pointer; }

.page-hero { padding: 66px max(20px, calc((100vw - 1100px) / 2)); color: #fff; background: radial-gradient(circle at 80% 10%, rgba(212,167,44,.25), transparent 30%), linear-gradient(140deg, var(--red-deep), var(--red)); }
.page-hero p { margin: 0 0 6px; color: #f1cf71; font-weight: 900; }
.page-hero h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.7rem); line-height: 1.15; letter-spacing: -.05em; }
.page-hero span { display: block; margin-top: 13px; font-size: 1.02rem; }
.page-content { min-height: 45vh; }
.notice-list { display: grid; border-top: 3px solid var(--red); }
.notice-list article { display: grid; grid-template-columns: 125px 1fr 50px; align-items: center; gap: 20px; padding: 24px 12px; border-bottom: 1px solid var(--line); }
.notice-list time { color: var(--red); font-size: .82rem; font-weight: 850; }
.notice-list h2 { margin: 0; font-size: 1.2rem; line-height: 1.4; }
.notice-list h2 a { text-decoration: none; }
.notice-list p { margin: 6px 0 0; color: var(--muted); font-size: .85rem; }
.notice-arrow { width: 44px; height: 44px; display: grid; place-items: center; color: var(--red); background: var(--red-soft); border-radius: 50%; text-decoration: none; font-weight: 900; }

.article-wrap { width: min(900px, calc(100% - 32px)); min-height: 55vh; margin: 0 auto; padding: 52px 0 78px; }
.back-link { display: inline-block; margin-bottom: 26px; color: var(--red-dark); font-weight: 850; }
.article-wrap > header { padding-bottom: 25px; border-bottom: 3px solid var(--red); }
.article-wrap time { color: var(--red); font-size: .82rem; font-weight: 850; }
.article-wrap h1 { margin: 8px 0 0; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.24; letter-spacing: -.04em; }
.article-body { padding: 35px 4px; font-size: 1.02rem; line-height: 1.82; }
.article-body h2, .article-body h3, .article-body h4 { margin: 1.5em 0 .55em; color: var(--red-dark); line-height: 1.35; }
.article-body a { color: #155aa8; }
.article-body blockquote { margin: 1.4em 0; padding: 14px 18px; background: var(--red-soft); border-left: 5px solid var(--red); }
.article-actions { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 25px; border-top: 1px solid var(--line); }

@media (min-width: 920px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
}
@media (max-width: 1060px) { .desktop-nav { display: none; } }
@media (max-width: 919px) {
  .hero { grid-template-columns: 1fr; min-height: auto; background: #fff8f4; }
  .hero-copy { order: 2; align-self: auto; width: calc(100% - 32px); margin: 0 auto; padding: 30px 0 58px; }
  .candidate-photo { order: 1; min-height: 0; height: min(70vh, 620px); }
  .candidate-photo::before { background: linear-gradient(0deg, rgba(113,9,16,.55), transparent 30%); }
  .candidate-photo img { object-position: 50% 15%; transform: scale(1.27); transform-origin: 50% 15%; }
  .candidate-photo figcaption { right: 16px; bottom: 18px; min-width: 190px; }
  .hero::after { display: none; }
  .candidate-section { grid-template-columns: 1fr; gap: 0; }
  .timeline, .news-grid { grid-template-columns: 1fr; }
  .news-card { min-height: 0; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .header-inner { width: calc(100% - 20px); min-height: 66px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text small { display: none; }
  .text-size-controls button { min-width: 44px; min-height: 42px; }
  .candidate-photo { height: 50vh; min-height: 370px; max-height: 470px; }
  .candidate-photo img { object-position: 50% 12%; transform: scale(1.18); transform-origin: 50% 12%; }
  .candidate-photo figcaption { padding: 13px 17px; }
  .candidate-photo figcaption strong { font-size: 1.55rem; }
  .hero h1 { font-size: clamp(1.9rem, 8.7vw, 2.45rem); line-height: 1.18; letter-spacing: -.04em; overflow-wrap: anywhere; }
  .hero-lead { color: #2f2f2f; font-size: 1rem; line-height: 1.68; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .section { padding: 54px 0; }
  .section-heading h2 { font-size: clamp(1.75rem, 7.8vw, 2.25rem); line-height: 1.28; letter-spacing: -.035em; overflow-wrap: anywhere; }
  .section-heading-row { display: block; }
  .text-link { display: inline-block; margin-top: 14px; }
  .statement-card { padding: 25px 21px; }
  .principle-strip { gap: 6px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-featured { grid-column: auto; }
  .expand-all { width: 100%; min-height: 50px; margin-top: 18px; }
  .pledge-card summary { grid-template-columns: 48px 1fr 38px; gap: 10px; padding: 17px 15px; }
  .pledge-card summary::after { width: 36px; height: 36px; }
  .pledge-no { font-size: 1.25rem; }
  .pledge-card summary strong { font-size: 1rem; }
  .pledge-card summary small { font-size: .73rem; line-height: 1.45; }
  .pledge-body { padding: 4px 20px 24px; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .photo-card { border-radius: 11px; }
  .photo-card span { padding: 24px 10px 9px; font-size: .68rem; }
  .plan-section { padding-left: 16px; padding-right: 16px; }
  .timeline-card { padding: 24px; }
  .closing { padding-top: 58px; padding-bottom: 58px; }
  .page-hero { padding-top: 45px; padding-bottom: 45px; }
  .notice-list article { grid-template-columns: 1fr 44px; gap: 10px; padding: 20px 3px; }
  .notice-list time { grid-column: 1 / -1; }
  .notice-list p { display: none; }
  .article-wrap { padding-top: 34px; }
  .article-actions { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
