:root {
  --bg: #f4efe5;
  --surface: rgba(255, 250, 243, 0.92);
  --surface-strong: #fffdf9;
  --text: #17211d;
  --muted: #57615c;
  --line: rgba(23, 33, 29, 0.12);
  --deep: #17372f;
  --forest: #255a4a;
  --sand: #d9bc8b;
  --clay: #bf6f41;
  --gold: #c79c56;
  --shadow: 0 20px 44px rgba(23, 55, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(199, 156, 86, 0.18), transparent 28%),
    linear-gradient(180deg, #ede2cf 0%, var(--bg) 24%, #f5f1e8 100%);
}

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

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

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.site-header,
.section,
.site-footer,
.archive-section,
.archive-note,
.summary-card,
.delivery-card,
.preview-card,
.legacy-card,
.contact-card,
.inquiry-panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  background: rgba(255, 250, 243, 0.82);
  backdrop-filter: blur(12px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand-lockup h1,
.section-heading h3,
.preview-head h4,
.contact-card h4,
.legacy-card h4,
.summary-card h4,
.delivery-card h4,
.archive-head h4,
.site-footer h3,
.hero-copy h2 {
  margin: 0;
  font-family: "Archivo", "Noto Sans KR", sans-serif;
}

.brand-lockup h1 {
  margin-top: 4px;
  font-size: 1.18rem;
}

.eyebrow {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

.top-nav a {
  position: relative;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.top-nav a:hover::after,
.top-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero,
.section {
  margin-top: 26px;
}

.hero {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 18px;
  padding: 44px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(23, 55, 47, 0.98), rgba(37, 90, 74, 0.95));
  color: #fbf7f0;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 188, 139, 0.42), transparent 64%);
}

.hero-copy {
  align-self: center;
}

.hero-copy h2 {
  margin: 16px 0 18px;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lead,
.hero-points li,
.summary-card p,
.delivery-card p,
.preview-card p,
.archive-note p,
.archive-section p,
.archive-item p,
.legacy-card p,
.contact-card p,
.contact-card dd,
.form-note {
  margin: 0;
  line-height: 1.78;
  color: var(--muted);
}

.lead {
  max-width: 60ch;
  color: rgba(251, 247, 240, 0.88);
}

.hero-actions,
.preview-actions,
.item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.button,
.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.button.primary,
.action-button {
  background: var(--sand);
  color: #1a231f;
}

.button.secondary,
.action-button.subtle {
  background: transparent;
  color: inherit;
  border-color: rgba(255, 255, 255, 0.34);
}

.action-button.subtle {
  border-color: rgba(23, 33, 29, 0.16);
}

.action-button.disabled,
.action-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  pointer-events: none;
}

.action-button.disabled:not(.subtle),
.action-button:disabled:not(.subtle) {
  background: #c7b9a2;
  color: #2f3934;
}

.hero-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(251, 247, 240, 0.9);
}

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

.hero-visual {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  align-items: stretch;
  justify-content: end;
  gap: 12px;
}

.hero-card {
  position: relative;
  width: 250px;
  height: 250px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.22);
}

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

.hero-card-a {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(242, 235, 224, 0.96));
}

.hero-scroll-body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-card-a img,
.hero-card-b img,
.hero-card-c img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
}

.hero-card-a img {
  object-fit: contain;
}

.hero-card-b .hero-scroll-body,
.hero-card-c .hero-scroll-body {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.hero-card-b img,
.hero-card-c img {
  height: auto;
  min-height: 100%;
  object-fit: contain;
  object-position: center top;
}

.hero-card-b {
  background: #fff;
}

.hero-card-c {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(242, 235, 224, 0.96));
}

.hero-card-document {
  background: #f6efe3;
  cursor: pointer;
}

.hero-card-document .hero-scroll-body {
  overflow: hidden;
}

.hero-card-preview-link {
  display: block;
}

.hero-card-document img {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #f6efe3;
  object-fit: contain;
  object-position: center center;
}

.hero-card-preview-link:focus-visible {
  outline: 3px solid rgba(199, 156, 86, 0.9);
  outline-offset: -3px;
}

.stat-panel {
  position: absolute;
  right: 12px;
  bottom: 18px;
  z-index: 2;
  width: 240px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.92);
  color: var(--text);
}

.stat-panel span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--clay);
  text-transform: uppercase;
}

.stat-panel strong {
  font-size: 1.04rem;
  line-height: 1.55;
}

.section {
  padding: 40px;
  background: var(--surface);
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h3 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 2.2vw, 2.5rem);
}

.summary-grid,
.delivery-grid,
.preview-grid,
.legacy-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.summary-grid {
  grid-template-columns: repeat(3, 1fr);
}

.delivery-grid,
.preview-grid,
.legacy-grid {
  grid-template-columns: repeat(2, 1fr);
}

.summary-card,
.delivery-card,
.preview-card,
.legacy-card,
.contact-card {
  padding: 24px;
}

.preview-card {
  display: grid;
  grid-template-rows: auto 420px auto;
  align-items: start;
}

.summary-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--deep), var(--forest));
  color: #fffaf3;
  font-family: "Archivo", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}

.summary-card h4,
.delivery-card h4,
.legacy-card h4,
.archive-head h4 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.archive-note {
  padding: 22px 24px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #f3eadf, #fffaf3);
}

.archive-root {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.archive-section {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  padding: 22px;
  height: 100%;
  gap: 16px;
  transition: transform 0.18s ease, border-color 0.18s ease;
  grid-column: 1 / -1;
}

.archive-head {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
}

.archive-meta {
  display: grid;
  gap: 8px;
}

.archive-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(23, 55, 47, 0.08);
  color: var(--deep);
  font-family: "Archivo", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.archive-source {
  font-size: 0.9rem;
  color: var(--muted);
}

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

.archive-section:hover,
.archive-section:focus-within {
  transform: translateY(-2px);
  border-color: rgba(191, 111, 65, 0.24);
}

.archive-item {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 0;
  padding: 12px;
  border: 1px solid rgba(23, 33, 29, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.item-thumbnail {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 168px;
  padding: 18px;
  gap: 8px;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.38), transparent 38%),
    linear-gradient(160deg, #f1e3d0 0%, #d9c2a2 100%);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.item-thumbnail.has-preview {
  background: #f7f1e8;
}

.item-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 20, 0.04) 0%, rgba(15, 23, 20, 0.34) 100%);
  pointer-events: none;
}

.thumb-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

.item-thumbnail.type-pdf .thumb-preview {
  object-fit: contain;
  background: #fff;
}

.item-thumbnail.type-video.has-preview {
  background: #12211c;
}

.item-thumbnail:hover,
.item-thumbnail:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(33, 45, 40, 0.16);
}

.item-thumbnail:focus-visible {
  outline: 2px solid rgba(191, 111, 65, 0.55);
  outline-offset: 3px;
}

.item-thumbnail.type-video {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(155deg, #17372f 0%, #375b50 52%, #8ca59c 100%);
}

.item-thumbnail.type-file {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(155deg, #4a5648 0%, #74806d 55%, #c8cdbf 100%);
}

.thumb-watermark,
.thumb-title,
.thumb-note,
.thumb-meta {
  position: relative;
  z-index: 1;
}

.thumb-watermark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 249, 242, 0.2);
  color: #fff9f2;
  font-family: "Archivo", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.thumb-title {
  color: #fffdf8;
  font-size: 1.06rem;
  line-height: 1.3;
}

.thumb-note {
  color: rgba(255, 249, 242, 0.88);
  font-size: 0.88rem;
  line-height: 1.45;
}

.thumb-meta {
  color: rgba(255, 249, 242, 0.78);
  font-family: "Archivo", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.item-title {
  font-size: 0.98rem;
}

.item-main {
  display: grid;
  gap: 8px;
}

.item-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.file-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff9f2;
  font-family: "Archivo", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.item-title {
  font-size: 1.04rem;
  font-weight: 700;
}

.item-path {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.82rem;
  color: #69736d;
  word-break: break-all;
}

.preview-head {
  margin-bottom: 14px;
}

.preview-head h4 {
  margin-top: 10px;
  font-size: 1.18rem;
}

.preview-card iframe,
.preview-card video,
.preview-card .preview-media {
  width: 100%;
  height: 420px;
  border: 1px solid rgba(23, 33, 29, 0.08);
  border-radius: 20px;
  background: #f5efe6;
}

.preview-card .preview-media {
  object-fit: cover;
}

.preview-scroll-body {
  height: 420px;
  overflow-y: auto;
  border: 1px solid rgba(23, 33, 29, 0.08);
  border-radius: 20px;
  background: #f5efe6;
}

.preview-scroll-body .preview-media {
  display: block;
  height: auto;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.preview-locked-media {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  min-height: 420px;
  padding: 24px;
  border: 1px dashed rgba(23, 33, 29, 0.18);
  border-radius: 20px;
  background: linear-gradient(135deg, #f5efe6, #ece2d3);
  color: #3f4a45;
}

.preview-locked-media strong {
  font-size: 1.1rem;
}

.preview-locked-media p {
  margin: 0;
  max-width: 32ch;
  line-height: 1.7;
}

.preview-pdf-mobile-note {
  display: none;
  padding: 20px 18px;
  border: 1px dashed rgba(23, 33, 29, 0.18);
  border-radius: 20px;
  background: #f5efe6;
  color: #4e5a54;
  line-height: 1.7;
}

.preview-actions {
  margin-top: 16px;
}

.legacy-card {
  display: grid;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.legacy-card:hover,
.legacy-card:focus-visible,
.archive-item:hover {
  transform: translateY(-2px);
  border-color: rgba(191, 111, 65, 0.24);
}

.contact-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.map-card {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.map-embed-shell {
  position: relative;
  height: 100%;
}

.map-mobile-fallback {
  display: none;
  align-content: end;
  gap: 12px;
  min-height: 320px;
  padding: 24px;
  background: linear-gradient(135deg, #f4ebdf, #e8dcc9);
  color: #24342e;
}

.map-mobile-fallback strong {
  font-size: 1.08rem;
  line-height: 1.5;
}

.map-mobile-fallback p {
  margin: 0;
  max-width: 26ch;
  line-height: 1.7;
  color: #4d5b55;
}

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  background: #e8dfd2;
}

.map-link-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(23, 55, 47, 0.84);
  color: #fbf7f0;
  font-weight: 700;
  backdrop-filter: blur(10px);
  z-index: 1;
}

.contact-address {
  font-weight: 500;
  color: var(--text);
}

.contact-actions {
  margin-top: 16px;
}

.contact-card dl {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 14px;
}

.contact-card dt {
  font-weight: 700;
}

.contact-card dd {
  margin: 0;
}

.inquiry-panel {
  margin-top: 18px;
  padding: 28px;
  background: linear-gradient(180deg, #fffdf9, #f7f0e4);
}

.section-heading.compact {
  margin-bottom: 18px;
}

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

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.94rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(23, 33, 29, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(191, 111, 65, 0.72);
  box-shadow: 0 0 0 4px rgba(217, 188, 139, 0.18);
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.field.full {
  grid-column: 1 / -1;
}

.field-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-actions .button[disabled] {
  opacity: 0.8;
  cursor: wait;
}

.form-feedback {
  display: none;
  padding: 16px 18px;
  border-radius: 16px;
  line-height: 1.7;
}

.form-feedback.success {
  display: block;
  color: #17372f;
  background: rgba(37, 90, 74, 0.12);
  border: 1px solid rgba(37, 90, 74, 0.2);
}

.form-feedback.error {
  display: block;
  color: #7a3d20;
  background: rgba(191, 111, 65, 0.12);
  border: 1px solid rgba(191, 111, 65, 0.2);
}

.board-root {
  display: grid;
  gap: 14px;
}

.board-list {
  display: grid;
  gap: 14px;
}

.board-item,
.empty-state {
  padding: 18px;
  border: 1px solid rgba(23, 33, 29, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.92);
}

.board-item {
  display: grid;
  gap: 8px;
}

.board-item h4 {
  margin: 0;
  font-size: 1.1rem;
}

.board-item p,
.empty-state {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  white-space: pre-wrap;
}

.board-meta {
  color: #8a6d46;
  font-size: 0.86rem;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 18px;
  margin-top: 26px;
  padding: 24px;
  background: linear-gradient(135deg, #1d3e35, #244c3f);
  color: #f8f3ea;
}

.footer-block p {
  margin: 0 0 8px;
  color: rgba(248, 243, 234, 0.8);
}

.footer-block h3 {
  font-size: 1.34rem;
}

.footer-block strong {
  font-size: 1.03rem;
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .hero,
  .summary-grid,
  .delivery-grid,
  .preview-grid,
  .legacy-grid,
  .contact-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .archive-root {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 12px;
  }

  .site-header,
  .hero,
  .section {
    padding: 24px;
  }

  .site-header {
    position: static;
    border-radius: 22px;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .hero-copy h2 {
    font-size: 2.25rem;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .hero-card-a {
    width: 100%;
    height: 300px;
  }

  .hero-card-b,
  .hero-card-c {
    width: 100%;
    height: 300px;
  }

  .stat-panel {
    right: 0;
    bottom: 0;
    width: 210px;
  }

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

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

  .archive-section {
    grid-template-rows: auto 1fr;
  }

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

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

  .form-actions {
    display: grid;
    justify-content: stretch;
  }

  .preview-card iframe,
  .preview-card video,
  .preview-card .preview-media {
    height: 320px;
  }

  .preview-scroll-body {
    height: 320px;
  }

  .preview-locked-media {
    min-height: 320px;
  }

  .map-frame,
  .map-link-label {
    display: none;
  }

  .map-mobile-fallback {
    display: grid;
  }

  .preview-pdf-frame[aria-hidden="true"] {
    display: none;
  }

  .preview-pdf-mobile-note:not([hidden]) {
    display: block;
  }
}
