:root {
  color-scheme: light;
  --navy: #08245a;
  --blue: #0756c7;
  --blue-deep: #063887;
  --teal: #00a59a;
  --sky: #e9f5ff;
  --ink: #102349;
  --muted: #60708d;
  --line: #dbe4ef;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #e9f0f8;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 14% 0%, rgba(0, 165, 154, 0.12), transparent 35%),
    linear-gradient(145deg, #edf5fb 0%, #dce8f4 100%);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.page-shell {
  width: min(100%, 560px);
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
}

.site-header {
  position: relative;
  z-index: 10;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(15px, env(safe-area-inset-top)) 20px 14px;
  border-bottom: 1px solid rgba(8, 36, 90, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.official-wordmark {
  display: inline-flex;
  min-width: 0;
}

.official-wordmark img {
  width: min(230px, 58vw);
  height: auto;
  display: block;
}

.header-link {
  flex: 0 0 auto;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.hero {
  background: var(--white);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020c1f;
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #020c1f;
}

.video-actions {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.video-actions p {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.video-actions p:empty {
  display: none;
}

.video-actions button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid #b8cbe3;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.video-actions button svg {
  width: 17px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.video-actions button[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.hero-copy {
  padding: 42px 24px 48px;
  background:
    linear-gradient(150deg, rgba(233, 245, 255, 0.62), transparent 55%),
    var(--white);
}

.eyebrow,
.city-story header > p {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.official-slogan {
  width: min(320px, 86%);
  height: auto;
  display: block;
  margin-top: 19px;
}

.hero-copy h1,
.city-story h2 {
  margin: 0;
  letter-spacing: -0.05em;
  word-break: keep-all;
}

.hero-copy h1 {
  margin-top: 32px;
  color: var(--navy);
  font-size: clamp(32px, 9vw, 44px);
  font-weight: 850;
  line-height: 1.18;
}

.hero-copy > p:last-child {
  max-width: 430px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
}

.city-story {
  padding: 50px 24px 56px;
  background:
    radial-gradient(circle at 105% -5%, rgba(0, 165, 154, 0.26), transparent 34%),
    var(--navy);
  color: var(--white);
}

.city-story header > p {
  color: #75d8d0;
}

.city-story h2 {
  margin-top: 15px;
  font-size: clamp(31px, 8vw, 41px);
  font-weight: 800;
  line-height: 1.28;
}

.story-list {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.story-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.story-list li:last-child {
  padding-bottom: 0;
}

.story-list li > span {
  color: #78ddd4;
  font-size: 13px;
  font-weight: 800;
}

.story-list h3 {
  margin: -2px 0 0;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.45;
}

.story-list p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
}

.official-links {
  display: grid;
  gap: 12px;
  padding: 28px 20px 12px;
  background: #f5f9fd;
}

.official-links a {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  border: 1px solid #cfdceb;
  border-radius: 15px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.45;
  text-decoration: none;
}

.official-links a.primary-link {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.official-links small {
  display: block;
  margin-bottom: 4px;
  color: #6f84a1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.official-links .primary-link small {
  color: rgba(255, 255, 255, 0.67);
}

.official-links b {
  font-size: 19px;
  font-weight: 500;
}

.source-note {
  margin: 0;
  padding: 17px 22px 30px;
  background: #f5f9fd;
  color: #7e8ba0;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--white);
  color: #8592a6;
  font-size: 12px;
}

footer strong {
  color: var(--blue-deep);
  font-size: 13px;
}

a:hover {
  filter: brightness(0.97);
}

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

@media (min-width: 640px) {
  body {
    padding: 30px;
  }

  .page-shell {
    min-height: calc(100vh - 60px);
    border: 1px solid rgba(8, 36, 90, 0.12);
    border-radius: 26px;
    box-shadow: 0 28px 80px rgba(20, 47, 82, 0.19);
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-inline: 16px;
  }

  .official-wordmark img {
    width: 196px;
  }

  .header-link {
    font-size: 12px;
  }

  .hero-copy,
  .city-story {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
