:root {
  --brand: #35a9e1;
  --brand-dark: #1f8fc6;
  --bg: #ffffff;
  --surface: #f7f5f0;
  --line: #ddd6c9;
  --text: #1f241f;
  --text-soft: #4f574f;
  --text-light: #80897f;
  --max-width: 1200px;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(25, 31, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  letter-spacing: -0.015em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 20px 0;
}

.section-sm {
  padding: 40px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}

h3 {
  font-size: 0.98rem;
}

p {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.lead {
  font-size: 0.98rem;
  color: var(--text);
}

.muted {
  color: var(--text-light);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 25px rgba(53, 169, 225, 0.25);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-secondary:hover {
  background: rgba(53, 169, 225, 0.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(72, 88, 76, 0.92);
  border-bottom: 1px solid rgba(100, 118, 105, 0.94);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(238, 242, 236, 0.28);
  display: grid;
  place-items: center;
  color: var(--brand);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(241, 245, 239, 0.96);
  box-shadow: 0 8px 18px rgba(9, 14, 11, 0.22);
}

.logo-mark-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.logo-text strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.logo-text span {
  display: block;
  color: var(--text-light);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav a {
  color: #eef1e7;
  font-size: 0.88rem;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: #f8fbf2;
}

.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  pointer-events: none;
}

.hero::before {
  top: 48px;
  left: max(-120px, calc(50% - 760px));
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(53, 169, 225, 0.2) 0%, rgba(53, 169, 225, 0) 72%);
}

.hero::after {
  right: max(-160px, calc(50% - 760px));
  bottom: 12px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 72%);
}

.page-hero {
  padding: 40px 0 20px;
}

.page-hero .container > p,
.page-hero .container > h1 {
  max-width: 960px;
}

.page-hero .container > h1 {
  font-size: clamp(1.68rem, 3.5vw, 3.22rem);
}

.about-hero-image {
  margin: 38px 0 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 30px 72px rgba(5, 14, 10, 0.28);
}

.about-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center 34%;
}

.about-page-hero {
  padding: 100px 0 40px;
}

.about-page-hero-inner {
  display: grid;
  gap: 18px;
}

.about-page-hero-inner > h1,
.about-page-hero-inner > p {
  max-width: 980px;
}

.about-page-hero-inner > h1 {
  font-size: clamp(1.64rem, 3.1vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.about-page-lead {
  max-width: 760px;
  font-size: 1.04rem;
  color: var(--text);
}

.about-editorial-section {
  padding: 66px 0;
}

.about-editorial-section-end {
  padding-bottom: 88px;
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.about-section-heading {
  position: sticky;
  top: 112px;
}

.about-section-heading .eyebrow {
  margin-bottom: 16px;
  font-size: 0.94rem;
}

.about-section-heading h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  line-height: 1.24;
}

.about-section-copy {
  display: grid;
  gap: 18px;
}

.about-section-copy p {
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1rem;
}

.about-image-break {
  padding: 18px 0 36px;
}

.about-editorial-image {
  margin: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.about-editorial-image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.about-line-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.about-line-list > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.about-line-list strong {
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-line-list span {
  color: var(--text-soft);
  font-size: 0.98rem;
}

.hero-showcase {
  display: grid;
  justify-items: center;
  gap: 34px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  width: min(100%, 760px);
}

.hero-slider {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 82vh;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 32px 80px rgba(5, 14, 10, 0.34);
  background:
    linear-gradient(180deg, rgba(7, 13, 10, 0.14) 0%, rgba(7, 13, 10, 0.42) 100%),
    #2a382f;
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 8, 0.5) 0%, rgba(6, 10, 8, 0.08) 42%, rgba(6, 10, 8, 0.3) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: clamp(22px, 3vw, 38px);
  left: clamp(22px, 3vw, 38px);
  right: clamp(22px, 3vw, 38px);
  z-index: 2;
  display: grid;
  justify-items: start;
  text-align: left;
}

.hero-overlay .eyebrow {
  margin-bottom: 12px;
  color: rgba(238, 242, 236, 0.72);
  letter-spacing: 0.22em;
}

.hero-overlay h1 {
  max-width: min(900px, 92%);
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(1.4rem, 3vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.hero-slide-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: hero-fade 24s infinite;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

.hero-slide:nth-child(4) {
  animation-delay: 18s;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.3);
  transform-origin: center center;
}

.hero-slide:nth-child(1) img {
  transform: scale(1.3);
}

.hero-slide:nth-child(2) img {
  transform: scale(1.56);
  object-position: center 34%;
}

.hero-slide:nth-child(4) img {
  object-position: center 70%;
}

.hero-slide:nth-child(3) img {
  object-position: center 8%;
}

.hero-copy-bottom {
  width: min(100%, 760px);
}

.hero-copy-bottom .btn-group {
  justify-content: center;
  gap: 90px;
}

.hero-copy-bottom .btn {
  min-height: 60px;
  padding: 0 26px;
  font-size: 0.98rem;
}

.hero-copy-bottom p:last-of-type {
  margin-bottom: 0;
}

@keyframes hero-fade {
  0% {
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  28% {
    opacity: 1;
  }

  36% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 56px 0 72px;
  }

  .hero-showcase {
    gap: 20px;
  }

  .hero-slider {
    min-height: 58vh;
    aspect-ratio: 4 / 5;
  }

  .hero-overlay h1 {
    max-width: 100%;
    font-size: clamp(1.18rem, 6vw, 1.76rem);
  }

  .hero-copy-bottom .btn-group {
    justify-content: center;
  }

  .about-hero-image {
    margin-top: 28px;
  }

  .about-hero-image img {
    aspect-ratio: 4 / 5;
  }

  .about-page-hero {
    padding: 92px 0 34px;
  }

  .about-editorial-grid,
  .about-line-list > div {
    grid-template-columns: 1fr;
  }

  .about-editorial-section {
    padding: 63px 0;
  }

  .about-section-heading {
    position: static;
  }

  .about-editorial-image img {
    aspect-ratio: 4 / 5;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.works-category-list {
  display: grid;
  gap: 24px;
}

.archive-topic-list {
  display: grid;
  gap: 24px;
}

.archive-topic-section {
  padding-top: 20px;
}

.page-hero .eyebrow {
  font-size: 0.92rem;
  letter-spacing: 0.18em;
}

.page-hero .container > .archive-page-title {
  font-size: 1.92rem;
  color: #48584c;
}

.about-page-hero-inner > .page-title-match,
.page-hero .container > .page-title-match {
  font-size: 1.92rem;
  color: #48584c;
}

.feature-card,
.keyword-card,
.space-card,
.process-card,
.archive-card,
.works-card,
.summary-card,
.info-card,
.footer-block {
  padding: 28px;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.flow-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.flow-item strong,
.archive-meta strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.flow-item span,
.archive-meta span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.archive-meta {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.works-category-list .works-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 360px;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.works-topic-link {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: inherit;
  color: inherit;
  padding: 28px;
}

.archive-topic-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 360px;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.archive-topic-link {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: inherit;
  color: inherit;
  padding: 28px;
}

.works-topic-link > .eyebrow,
.works-topic-link > p {
  margin-bottom: 0;
}

.works-topic-link > .eyebrow {
  position: relative;
  z-index: 2;
  color: var(--brand);
  font-size: 1.01rem;
}

.works-topic-link > .works-card-media {
  position: absolute;
  inset: 0;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(8, 13, 10, 0.12) 0%, rgba(8, 13, 10, 0.26) 46%, rgba(8, 13, 10, 0.78) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.works-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-topic-link > p {
  position: relative;
  z-index: 2;
  max-width: 100%;
  color: rgba(238, 242, 236, 0.92);
  font-size: 0.82rem;
  line-height: 1.42;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.works-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 7, 0) 0%, rgba(5, 9, 7, 0.18) 38%, rgba(5, 9, 7, 0.62) 100%);
  pointer-events: none;
}

.works-card:hover .works-card-media {
  transform: scale(1.02);
}

.works-card:hover::after {
  background: linear-gradient(180deg, rgba(5, 9, 7, 0.04) 0%, rgba(5, 9, 7, 0.22) 38%, rgba(5, 9, 7, 0.72) 100%);
}

.archive-topic-card > .eyebrow,
.archive-topic-card > p {
  margin-bottom: 0;
}

.archive-topic-link > .eyebrow {
  position: relative;
  z-index: 2;
  color: var(--brand);
  font-size: 1.01rem;
}

.archive-topic-link > .archive-topic-media {
  position: absolute;
  inset: 0;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(8, 13, 10, 0.12) 0%, rgba(8, 13, 10, 0.26) 46%, rgba(8, 13, 10, 0.78) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.archive-topic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-topic-link > p {
  position: relative;
  z-index: 2;
  max-width: 100%;
  color: rgba(238, 242, 236, 0.92);
  font-size: 0.82rem;
  line-height: 1.42;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.archive-topic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 7, 0) 0%, rgba(5, 9, 7, 0.18) 38%, rgba(5, 9, 7, 0.62) 100%);
  pointer-events: none;
}

.archive-topic-card:hover .archive-topic-media {
  transform: scale(1.02);
}

.archive-topic-card:hover::after {
  background: linear-gradient(180deg, rgba(5, 9, 7, 0) 0%, rgba(5, 9, 7, 0.14) 38%, rgba(5, 9, 7, 0.56) 100%);
}

.archive-detail-hero {
  padding: 108px 0 34px;
}

.archive-detail-hero-inner {
  display: grid;
  gap: 16px;
}

.archive-detail-hero-inner > h1,
.archive-detail-hero-inner > p {
  max-width: 860px;
}

.archive-detail-hero-inner > h1 {
  font-size: clamp(1.72rem, 3vw, 3rem);
}

.works-detail-hero-inner > .eyebrow {
  color: var(--brand);
  font-size: 1.01rem;
}

.works-detail-hero-inner > p {
  color: rgba(238, 242, 236, 0.92);
  font-size: 0.82rem;
  line-height: 1.42;
}

.archive-back-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(53, 169, 225, 0.3);
  color: var(--brand);
  font-size: 0.84rem;
  letter-spacing: 0.03em;
}

.archive-gallery-section {
  padding-top: 28px;
}

.archive-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.archive-gallery-card {
  display: grid;
  gap: 6px;
}

.archive-gallery-card-link {
  display: grid;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.archive-gallery-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
}

.archive-gallery-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.archive-gallery-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.archive-gallery-card-link:hover .archive-gallery-media img {
  transform: scale(1.02);
}

.origami-lamp-media img {
  object-position: center 28%;
  transform: scale(1.18);
}

.archive-gallery-card-link:hover .origami-lamp-media img {
  transform: scale(1.22);
}

.archive-gallery-fallback {
  display: none;
  height: 100%;
  padding: 24px;
  place-items: center;
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.archive-gallery-media-empty .archive-gallery-fallback {
  display: grid;
}

.sub-gallery-anchor-section {
  display: none;
}

.sub-gallery-header {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.sub-gallery-header h2,
.sub-gallery-header p {
  margin: 0;
}

.sub-gallery-note {
  color: var(--text-light);
  font-size: 0.82rem;
}

.works-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.works-popup.is-open {
  display: block;
}

.works-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 7, 0.78);
  backdrop-filter: blur(8px);
}

.works-popup-panel {
  position: relative;
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  padding: 24px;
  overflow: auto;
  background: #101612;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.works-popup-close {
  position: sticky;
  top: 0;
  z-index: 2;
  display: inline-flex;
  justify-self: end;
  align-items: center;
  min-width: 40px;
  min-height: 40px;
  margin-left: auto;
  margin-bottom: 12px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 22, 18, 0.92);
  color: var(--text-light);
  cursor: pointer;
}

.works-popup-content .sub-gallery-header {
  margin-bottom: 24px;
}

.works-popup-content .sub-gallery-header h2 {
  color: var(--text-light);
}

.works-popup-content .archive-gallery-grid {
  grid-template-columns: 1fr;
  gap: 28px;
}

.works-popup-content .archive-gallery-media,
.works-popup-content .archive-gallery-media img,
.works-popup-content .archive-gallery-fallback {
  min-height: 0;
}

.works-popup-content .archive-gallery-media {
  aspect-ratio: auto;
  min-height: 520px;
}

.works-popup-content .archive-gallery-media img,
.works-popup-content .archive-gallery-fallback {
  min-height: 520px;
}

body.modal-open {
  overflow: hidden;
}

.summary-card p:last-child,
.works-card p:last-child,
.archive-card p:last-child {
  margin-bottom: 0;
}

.list-clean {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.list-clean li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
}

.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.form-field {
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  display: grid;
  gap: 10px;
}

.form-field span {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  font: inherit;
  color: var(--text-soft);
  background: transparent;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-light);
}

.form-field-full {
  grid-column: 1 / -1;
  min-height: 180px;
}

.inquiry-form .btn-group {
  justify-content: flex-start;
}

.form-note {
  margin: 18px 0 0;
  font-size: 0.92rem;
  color: var(--text-light);
}

.form-status {
  margin: 16px 0 0;
  color: var(--brand-dark);
  font-size: 0.95rem;
  font-weight: 600;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-access {
  display: grid;
  gap: 24px;
}

.admin-login {
  max-width: 520px;
  padding: 28px;
}

.admin-login h2 {
  margin: 0 0 10px;
}

.admin-login p {
  margin: 0 0 20px;
  color: var(--text-soft);
}

.admin-login-form {
  display: grid;
  gap: 18px;
}

.admin-layout {
  display: grid;
  gap: 24px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-toolbar p {
  margin: 6px 0 0;
  color: var(--text-soft);
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.admin-stat {
  padding: 24px 26px;
}

.admin-stat span {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.admin-stat strong {
  font-size: 2rem;
  color: var(--text);
}

.admin-alert {
  padding: 20px 24px;
  border-color: rgba(53, 169, 225, 0.28);
  background: rgba(53, 169, 225, 0.08);
  color: var(--text);
  font-weight: 700;
}

.admin-list {
  display: grid;
  gap: 18px;
}

.admin-card,
.admin-empty {
  padding: 26px;
}

.admin-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.admin-card-title {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 800;
}

.admin-meta {
  margin: 0;
  color: var(--text-light);
  font-size: 0.92rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.status-badge.is-new {
  background: rgba(53, 169, 225, 0.12);
  color: var(--brand-dark);
}

.status-badge.is-done {
  background: rgba(238, 243, 236, 0.08);
  color: var(--text);
}

.admin-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-bottom: 22px;
}

.admin-fields div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.admin-fields strong,
.admin-overview strong,
.status-control span {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.92rem;
}

.admin-fields span {
  color: var(--text-soft);
}

.admin-overview {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.admin-overview p {
  margin: 0;
}

.admin-actions {
  margin-top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-delete-button {
  border-color: rgba(122, 46, 46, 0.24);
  background: rgba(122, 46, 46, 0.08);
  color: #7a2e2e;
}

.admin-delete-button:hover {
  border-color: rgba(122, 46, 46, 0.38);
  background: rgba(122, 46, 46, 0.14);
  color: #622525;
}

.status-control select {
  min-width: 180px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  color: var(--text);
  background: var(--surface);
}

.site-footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  background: #3f5146;
  color: #eef1e7;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #eef1e7;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #f8fbf2;
}

.site-footer .footer-block {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-footer p,
.site-footer .muted,
.site-footer h3 {
  color: #eef1e7;
}

.site-footer .footer-block:first-child .muted {
  color: var(--text-light);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #eef1e7;
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .flow-list,
  .footer-top,
  .admin-summary,
  .admin-fields {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .section,
  .section-sm {
    padding: 58px 0;
  }

  .hero,
  .page-hero {
    padding: 64px 0 40px;
  }

  .hero {
    padding-top: 42px;
  }

  .nav {
    gap: 14px;
  }

  .hero-panel,
  .feature-card,
  .keyword-card,
  .space-card,
  .process-card,
  .info-card,
  .footer-block {
    padding: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .works-category-list .works-card,
  .archive-topic-card {
    grid-template-columns: 1fr;
  }

  .archive-topic-card > .archive-meta {
    grid-template-columns: 1fr;
  }

  .works-topic-link > .eyebrow,
  .works-topic-link > .works-card-media,
  .works-topic-link > p,
  .archive-topic-link > .eyebrow,
  .archive-topic-link > .archive-topic-media,
  .archive-topic-link > p,
  .archive-topic-card > .archive-meta {
    grid-column: auto;
    grid-row: auto;
  }

  .archive-topic-card {
    min-height: 300px;
  }

  .archive-gallery-grid {
    grid-template-columns: 1fr;
  }

  .archive-gallery-media {
    min-height: 280px;
  }
}
