:root {
  --ink: #171717;
  --muted: #6e6e6e;
  --line: #e7e7e7;
  --paper: #ffffff;
  --soft: #f5f3ef;
  --accent: #ef6b24;
  --accent-deep: #ba4511;
  --shadow: 0 18px 50px rgba(35, 22, 14, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  word-break: keep-all;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

.header-inner {
  display: flex;
  align-items: center;
  width: min(1380px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  flex: 0 0 auto;
  line-height: 1;
}

.brand-main {
  color: var(--accent);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand-sub {
  margin-top: 6px;
  color: #85513a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 3vw, 52px);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 31px 0 28px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.25);
  transition: 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 11px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 99px;
}

.page-hero {
  padding: 72px 24px 68px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(239, 107, 36, 0.12), transparent 42%),
    linear-gradient(135deg, #fbfaf7 0%, #f1ede6 100%);
}

.page-hero .eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -0.055em;
}

.page-hero p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.content-section {
  padding: 72px 24px 110px;
}

.content-card {
  width: min(1000px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.content-card img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  padding: 38px 24px;
  color: #c7c7c7;
  text-align: center;
  background: #191919;
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 16px;
}

.site-footer p {
  margin: 0;
  font-size: 12px;
}

.mobile-menu {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  overflow-y: auto;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 180ms ease, transform 240ms ease, visibility 240ms;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.menu-close {
  position: relative;
  width: 48px;
  height: 48px;
  margin-left: auto;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-close::before,
.menu-close::after {
  position: absolute;
  top: 23px;
  left: 10px;
  width: 30px;
  height: 3px;
  background: var(--ink);
  content: "";
}

.menu-close::before {
  transform: rotate(45deg);
}

.menu-close::after {
  transform: rotate(-45deg);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 94px;
  padding: 0 44px;
  border-bottom: 1px solid var(--line);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.mobile-nav a.active {
  color: var(--accent);
}

.mobile-nav .has-plus::after {
  margin-left: auto;
  color: #595959;
  font-size: 40px;
  font-weight: 300;
  content: "+";
}

@media (max-width: 980px) {
  .header-inner {
    width: 100%;
    min-height: 74px;
    padding: 0 18px 0 24px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle,
  .mobile-menu {
    display: block;
  }

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

  .page-hero h1 {
    font-size: 32px;
  }

  .page-hero p {
    margin-top: 12px;
    font-size: 14px;
  }

  .content-section {
    padding: 0 0 64px;
    background: #f1f1f1;
  }

  .content-card {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 520px) {
  .brand-main {
    font-size: 23px;
  }

  .mobile-nav a {
    min-height: 84px;
    padding: 0 28px;
    font-size: 19px;
  }

  .page-hero {
    padding: 30px 18px 28px;
  }

  .page-hero .eyebrow {
    font-size: 11px;
  }

  .page-hero h1 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
