/* 파파스윌 — papaswill.com */

:root {
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto,
    "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;

  --bg: #ffffff;
  --soft: #f6f6f8;
  --line: #e9e9ee;
  --ink: #17171b;
  --ink-2: #45454e;
  --ink-3: #7c7c87;

  /* 로고 달팽이 껍데기 색 */
  --c-yellow: #f9ed32;
  --c-orange: #f7941d;
  --c-red: #be1e2d;
  --c-violet: #92278f;
  --c-purple: #662d91;
  --c-green: #8dc63f;
  --c-leaf: #009444;

  --container: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.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-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 44px;
  width: auto;
}

.site-nav ul {
  display: flex;
  gap: 4px;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  .brand img {
    height: 38px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0 11px;
    background: none;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 16px;
  }

  .site-nav a {
    padding: 14px 4px;
    border-radius: 0;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }

  .site-nav a:hover {
    background: none;
  }
}

/* ---------- Hero slider ---------- */

.hero {
  max-width: 1440px;
  margin: 8px auto 0;
  padding-inline: clamp(0px, 2vw, 24px);
}

.hero-frame {
  position: relative;
  height: clamp(380px, 46vw, 580px);
  overflow: hidden;
  border-radius: clamp(0px, 1.6vw, 22px);
  background: #222;
  touch-action: pan-y;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease, visibility 0s;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(56px, 8vw, 88px);
  z-index: 1;
  color: #fff;
}

.slide-eyebrow,
.slide-title {
  display: block;
}

.slide-eyebrow span,
.slide-title span {
  background: var(--tone);
  color: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.slide-eyebrow {
  font-size: clamp(15px, 1.7vw, 21px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 300;
}

.slide-eyebrow span {
  padding: 0.12em 0.4em;
}

.slide-eyebrow b {
  font-weight: 700;
}

.slide-title {
  margin-top: 8px;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.32;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.slide-title span {
  padding: 0.02em 0.3em 0.06em;
}

.slide-title em {
  font-style: normal;
  font-weight: 300;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.hero-frame:hover .hero-arrow,
.hero-arrow:focus-visible {
  opacity: 1;
}

.hero-arrow:hover {
  background: #fff;
}

.hero-arrow svg {
  width: 22px;
  height: 22px;
}

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

.hero-bar {
  position: absolute;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 28px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.hero-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.hero-dot[aria-current="true"]::before {
  width: 22px;
  background: #fff;
}

.hero-pause {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: pointer;
}

.hero-pause svg {
  width: 14px;
  height: 14px;
}

.hero-pause .icon-play,
.hero-pause.is-paused .icon-pause {
  display: none;
}

.hero-pause.is-paused .icon-play {
  display: block;
}

@media (max-width: 760px) {
  .hero {
    margin-top: 0;
  }

  .hero-arrow {
    display: none;
  }

  .slide-copy {
    bottom: 64px;
  }

  .hero-bar {
    right: 50%;
    transform: translateX(50%);
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(72px, 9vw, 112px);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg,
      var(--c-yellow) 0 20%, var(--c-orange) 20% 40%, var(--c-red) 40% 60%,
      var(--c-purple) 60% 80%, var(--c-green) 80% 100%);
}

.section-title {
  margin-top: 14px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.section-desc {
  margin-top: 16px;
  max-width: 640px;
  color: var(--ink-2);
  font-size: 17px;
}

.section-head {
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: start;
}

.lead {
  margin-top: 36px;
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.5;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.prose {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.9;
}

.prose p + p {
  margin-top: 1.1em;
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.history {
  padding: clamp(28px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.history h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.timeline {
  margin-top: 20px;
  position: relative;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  font-size: 15px;
  line-height: 1.6;
}

.timeline li + li {
  border-top: 1px dashed var(--line);
}

.timeline time {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.timeline p {
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Programs ---------- */

.program-grid {
  display: grid;
  gap: clamp(28px, 3vw, 40px);
}

.program-grid.is-main {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-grid.is-sub {
  margin-top: clamp(56px, 6vw, 80px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 2.4vw, 32px);
}

.program-thumb {
  position: relative;
  aspect-ratio: 600 / 333;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

.program-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.is-sub .program-thumb {
  border-radius: var(--radius-sm);
}

.program h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.program h3::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.is-sub .program h3 {
  margin-top: 16px;
  font-size: 18px;
}

.program-desc {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.8;
}

.is-sub .program-desc {
  font-size: 15px;
}

.program-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-3);
}

.program-meta div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
}

.program-meta div + div {
  margin-top: 6px;
}

.program-meta dt {
  font-weight: 700;
  color: var(--ink-2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-link:hover {
  color: var(--ink-2);
}

@media (max-width: 1024px) {
  .program-grid.is-sub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .program-grid.is-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 560px) {
  .program-grid.is-sub {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Disclosure (기부금 공개 · 국세청) ---------- */

.disclosure-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}

.report-list {
  border-top: 2px solid var(--ink);
}

.report-list a {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.report-list a:hover {
  background: var(--soft);
}

.report-year {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.report-label {
  color: var(--ink-2);
  font-size: 16px;
}

.report-go {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
}

.nts-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nts-card:hover {
  border-color: #d5d5dc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nts-card img {
  width: 220px;
  height: auto;
}

.nts-card strong {
  display: block;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.nts-card span {
  display: block;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}

.nts-card .arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.15s ease;
}

.nts-card:hover .arrow {
  transform: translate(2px, -2px);
}

@media (max-width: 860px) {
  .disclosure-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .report-list a {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .report-go {
    display: none;
  }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-list {
  margin-top: 36px;
  border-top: 2px solid var(--ink);
}

.contact-list div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.contact-list dt {
  font-weight: 700;
}

.contact-list dd {
  color: var(--ink-2);
}

.contact-list a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.contact-list a:hover {
  border-bottom-color: currentColor;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  border-color: var(--ink);
}

.map {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 48px 40px;
  font-size: 14px;
  color: var(--ink-3);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer-brand img {
  height: 36px;
  width: auto;
}

.footer-org {
  margin-top: 18px;
  font-weight: 700;
  color: var(--ink-2);
}

.footer-meta {
  margin-top: 6px;
  line-height: 1.9;
}

.footer-meta span {
  display: inline-block;
  margin-inline: 6px;
  color: #c5c5cc;
}

.footer-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.footer-nts {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.15s ease;
}

.footer-nts:hover {
  border-color: var(--ink-3);
}

.footer-nts img {
  width: 120px;
  height: auto;
}

.footer-sns {
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
}

.footer-sns:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 32px;
}

.footer-bottom p {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 760px) {
  .footer-inner {
    flex-direction: column;
  }

  .footer-side {
    align-items: flex-start;
  }
}

/* ---------- Report page ---------- */

.page-head {
  padding-block: clamp(56px, 8vw, 96px) clamp(32px, 4vw, 48px);
}

.page-head h1 {
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.year-tabs a {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.year-tabs a:hover {
  border-color: var(--ink);
}

.report {
  padding-block: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.report h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.report .posted {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 14px;
}

.report-doc {
  margin-top: 32px;
  max-width: 820px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.report-doc h3 {
  margin-top: 28px;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.report-doc h3:first-child {
  margin-top: 0;
}

.report-doc h4 {
  margin-top: 18px;
  font-size: 16px;
  color: var(--ink);
}

.report-doc ol,
.report-doc ul {
  margin-top: 6px;
  padding-left: 1.2em;
}

.report-doc ol {
  list-style: none;
  padding-left: 0.2em;
}

.report-doc li li {
  padding-left: 1.2em;
}

.report-doc .amount {
  color: var(--ink);
  font-weight: 700;
}

.report-figs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin-top: 32px;
}

.report-figs figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.report-figs a {
  display: block;
}

.report-figs img {
  width: 100%;
}

.report-figs figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.back-link {
  display: inline-flex;
  margin-top: 40px;
}

/* ---------- 기부금 공개 목록 (PDF) ---------- */

.report-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fdecea;
  color: #b42318;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  vertical-align: 1px;
}

.report-meta {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--ink-3);
}

.report-more {
  margin-top: 20px;
}

/* ---------- Admin ---------- */

button.btn {
  background: #fff;
  font-family: inherit;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-sm {
  height: 34px;
  padding: 0 14px;
  font-size: 14px;
}

button.btn-primary,
.btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #33333a;
  border-color: #33333a;
}

.btn-danger {
  color: #b42318;
}

.btn-danger:hover {
  border-color: #b42318;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-email {
  font-size: 14px;
  color: var(--ink-3);
}

.admin-main {
  padding-block: 48px 96px;
}

.admin-title {
  margin-top: 14px;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.admin-main .section-desc a {
  font-weight: 600;
}

.admin-card {
  margin-top: 32px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-card h2 {
  font-size: 19px;
  letter-spacing: -0.03em;
}

.admin-form {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px 24px;
  margin-top: 24px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.field select,
.field input[type="text"],
.field input[type="password"] {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d9d9e0;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.field input[type="file"] {
  width: 100%;
  padding: 14px;
  border: 1px dashed #c9c9d2;
  border-radius: 10px;
  background: var(--soft);
  font: inherit;
  font-size: 15px;
}

.field select:focus,
.field input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.hint {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-3);
}

.field-wide {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form-actions .btn {
  height: 48px;
  padding: 0 28px;
  font-size: 16px;
}

.form-status {
  font-size: 14px;
  color: var(--ink-2);
}

.form-status.is-ok {
  color: #067647;
  font-weight: 600;
}

.form-status.is-error {
  color: #b42318;
  font-weight: 600;
}

.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.admin-table th {
  padding: 10px 12px;
  border-bottom: 2px solid var(--ink);
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
}

.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.admin-table td:nth-child(1),
.admin-table td:nth-child(3),
.admin-table td:nth-child(4) {
  color: var(--ink-2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.admin-table a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.admin-table a:hover {
  border-bottom-color: currentColor;
}

.admin-file {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.admin-actions {
  text-align: right;
}

.admin-empty {
  margin-top: 20px;
  color: var(--ink-3);
}

.admin-form.is-even {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .admin-form,
  .admin-form.is-even {
    grid-template-columns: 1fr;
  }

  .admin-email {
    display: none;
  }
}

/* ---------- Admin login ---------- */

.admin-login {
  background: var(--soft);
}

.login-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
}

.login-logo img {
  width: 104px;
  height: auto;
}

.login-card {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 380px;
  margin-top: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.login-card h1 {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.btn-block {
  justify-content: center;
  width: 100%;
  height: 48px;
  font-size: 16px;
}

.login-card .form-status:empty {
  display: none;
}

.login-back {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-3);
  text-decoration: none;
}

.login-back:hover {
  color: var(--ink);
}

.footer-bottom p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-admin {
  color: var(--ink-3);
  text-decoration: none;
}

.footer-admin:hover {
  color: var(--ink);
}

@media (max-width: 640px) {
  .admin-user .btn-sm {
    padding: 0 10px;
    font-size: 13px;
  }
}

/* ---------- Videos · 언론 보도 ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 3.4vw, 44px) clamp(24px, 3vw, 36px);
}

.video-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
}

.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

a.video-frame:hover img {
  transform: scale(1.03);
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.72);
  transition: background-color 0.2s ease;
}

.video-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -10px 0 0 -6px;
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}

a.video-frame:hover .video-play,
a.video-frame:focus-visible .video-play {
  background: #e62117;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video h3 {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.video-meta {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-3);
}

.video-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.press {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.press-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-3);
}

.press-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-top: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.press-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.press-item:hover .press-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.press-source {
  flex: none;
  font-size: 14px;
  color: var(--ink-3);
}

.footer-sns-list {
  display: flex;
  gap: 14px;
}

@media (max-width: 760px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .press-item {
    flex-direction: column;
    gap: 4px;
  }
}
