:root {
  color-scheme: light;
  --ink: #071a36;
  --muted: #526174;
  --line: #dce4ee;
  --blue: #0a4fc7;
  --green: #087f3f;
  --amber: #a86100;
  --surface: #ffffff;
  --soft-blue: #f2f7fd;
  --soft-green: #f3f9f5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

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

.content-wrap,
.header-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 24px;
}

.brand-logo {
  display: block;
  width: 176px;
  height: auto;
}

.section-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 800;
}

.section-nav a {
  padding: 24px 0 20px;
  border-bottom: 3px solid transparent;
}

.section-nav a:hover,
.section-nav a:focus-visible {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.preview-mark {
  justify-self: end;
  padding: 8px 12px;
  border: 1px solid #f1c37a;
  border-radius: 6px;
  color: #7d4300;
  background: #fff9ef;
  font-size: 13px;
  font-weight: 800;
}

.intro-band {
  min-height: 430px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--soft-blue);
}

.intro-inner {
  padding: 76px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 20px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.12;
}

.intro-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intro-links a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
}

.primary-link {
  color: #fff;
  background: var(--blue);
}

.secondary-link {
  border: 1px solid #b9c8dc;
  background: #fff;
}

.visual-band {
  padding: 88px 0 96px;
  scroll-margin-top: 72px;
}

.rental-band {
  border-top: 1px solid var(--line);
  background: var(--soft-green);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.2;
}

.section-heading > p {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.visual-figure {
  margin: 0;
}

.visual-open {
  position: relative;
  width: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ced9e6;
  border-radius: 8px;
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 24px 60px rgba(16, 42, 79, 0.12);
}

.visual-open img {
  display: block;
  width: 100%;
  height: auto;
}

.visual-open span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 12px;
  border-radius: 6px;
  color: #fff;
  background: rgba(7, 26, 54, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.visual-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f7f8fa;
}

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

.footer-inner img {
  width: 168px;
  height: auto;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.image-dialog {
  width: min(96vw, 1536px);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #111a28;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}

.image-dialog::backdrop {
  background: rgba(5, 13, 25, 0.84);
}

.dialog-bar {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 12px 0 18px;
  color: #fff;
}

.dialog-bar button {
  min-width: 52px;
  min-height: 36px;
  border: 1px solid #718097;
  border-radius: 5px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.image-dialog > img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .content-wrap,
  .header-inner {
    width: min(100% - 28px, 1280px);
  }

  .header-inner {
    min-height: 62px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .brand-logo {
    width: 148px;
  }

  .section-nav {
    display: none;
  }

  .preview-mark {
    font-size: 12px;
  }

  .intro-band {
    min-height: 0;
  }

  .intro-inner {
    padding: 54px 0 50px;
  }

  h1 {
    font-size: 40px;
  }

  .intro-copy {
    font-size: 16px;
  }

  .intro-links a {
    flex: 1 1 100%;
  }

  .visual-band {
    padding: 58px 0 64px;
    scroll-margin-top: 62px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .visual-open span {
    right: 8px;
    bottom: 8px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .footer-inner {
    min-height: 140px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 30px 0;
  }

  .dialog-bar strong {
    font-size: 14px;
  }
}

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