:root {
  --cream: #f4eee6;
  --cream-soft: #fcf9f5;
  --paper: #fffdf9;
  --wine: #49080d;
  --wine-2: #681723;
  --wine-soft: #f1dfe0;
  --ink: #241a19;
  --muted: #6e625f;
  --line: rgba(73, 8, 13, 0.16);
  --gold: #a47b3c;
  --shadow: 0 24px 70px rgba(73, 8, 13, 0.1);
  --radius-lg: 32px;
  --radius-md: 22px;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream-soft);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #c28e43;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--wine);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(73, 8, 13, 0.09);
  background: rgba(252, 249, 245, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 36px;
  height: 36px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
}

.top-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 999px;
}

.top-nav a:hover {
  background: var(--cream);
}

.top-nav .nav-primary {
  margin-left: 4px;
  color: #fff;
  background: var(--wine);
}

.top-nav .nav-primary:hover {
  background: var(--wine-2);
}

.hero {
  padding: 72px 0 54px;
  background:
    radial-gradient(circle at 12% 18%, rgba(164, 123, 60, 0.11), transparent 27%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--wine-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.display-title,
.section-title,
.profile-name {
  font-family: Georgia, "Times New Roman", "Nanum Myeongjo", serif;
  letter-spacing: -0.055em;
}

.display-title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(43px, 5.2vw, 72px);
  line-height: 1.08;
}

.hero-copy {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.75;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 32px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(73, 8, 13, 0.34);
}

.button-primary {
  color: #fff;
  border-color: var(--wine);
  background: var(--wine);
  box-shadow: 0 14px 30px rgba(73, 8, 13, 0.18);
}

.button-primary:hover {
  background: var(--wine-2);
}

.hero-media,
.feature-figure {
  position: relative;
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.hero-media.landscape img {
  aspect-ratio: 8 / 5;
}

.concept-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  color: #fff;
  background: rgba(36, 26, 25, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.concept-badge::before {
  width: 7px;
  height: 7px;
  content: "";
  background: #f0bd70;
  border-radius: 50%;
}

.media-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.prototype-notice {
  padding: 0 0 34px;
  background: var(--cream-soft);
}

.notice-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(164, 123, 60, 0.36);
  border-radius: 18px;
  background: #fff8ea;
  color: #5d4522;
}

.notice-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0d5a6;
  font-weight: 900;
}

.notice-inner strong,
.notice-inner p {
  margin: 0;
}

.notice-inner p {
  margin-top: 3px;
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.section-tint {
  background: var(--cream);
}

.section-wine {
  color: #fff;
  background: var(--wine);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  margin: 0;
  font-size: clamp(34px, 4.1vw, 55px);
  line-height: 1.13;
}

.section-intro {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-wine .eyebrow,
.section-wine .section-intro {
  color: #e8cbce;
}

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

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  min-height: 250px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.info-card .number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  color: var(--wine);
  background: var(--wine-soft);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.info-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
}

.info-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.match-card {
  min-height: 190px;
  padding: 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.match-card strong {
  display: block;
  margin-bottom: 12px;
  color: #f0bd70;
  font-size: 13px;
}

.match-card h3 {
  margin: 0;
  font-size: 21px;
}

.match-card p {
  margin: 10px 0 0;
  color: #ddc7c9;
  font-size: 14px;
}

.profile-shell {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  gap: 38px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.profile-photo-wrap {
  position: relative;
}

.profile-photo-wrap img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 22px;
}

.profile-copy {
  align-self: center;
  padding: 20px 22px 20px 2px;
}

.profile-label {
  display: inline-flex;
  padding: 7px 11px;
  color: var(--wine);
  background: var(--wine-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.profile-name {
  margin: 16px 0 8px;
  font-size: clamp(31px, 4vw, 47px);
}

.profile-summary {
  margin: 0;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 23px 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

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

.profile-facts div {
  padding: 16px;
  border-radius: 14px;
  background: var(--cream-soft);
}

.profile-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.profile-facts dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 800;
}

.verification-key {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.verification-key span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.verification-key i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #839483;
}

.verification-key span:nth-child(2) i {
  background: #c28e43;
}

.verification-key span:nth-child(3) i {
  background: #9b918f;
}

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

.feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.feature-figure img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.feature-body {
  padding: 27px 28px 30px;
}

.feature-body h3 {
  margin: 0;
  font-size: 24px;
}

.feature-body p {
  margin: 10px 0 0;
  color: var(--muted);
}

.facility-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.facility-list li {
  padding: 7px 10px;
  color: var(--wine);
  background: var(--wine-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
  counter-reset: lesson-step;
}

.timeline li {
  position: relative;
  min-height: 230px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  counter-increment: lesson-step;
}

.timeline li::before {
  content: "0" counter(lesson-step);
  display: block;
  margin-bottom: 46px;
  color: #f0bd70;
  font-size: 13px;
  font-weight: 900;
}

.timeline h3,
.timeline p {
  margin: 0;
}

.timeline h3 {
  font-size: 20px;
}

.timeline p {
  margin-top: 10px;
  color: #ddc7c9;
  font-size: 14px;
}

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

.principle,
.check-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.principle-mark,
.check-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--wine);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.principle h3,
.principle p,
.check-item h3,
.check-item p {
  margin: 0;
}

.principle h3,
.check-item h3 {
  font-size: 17px;
}

.principle p,
.check-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.closing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: clamp(32px, 5vw, 58px);
  color: #fff;
  background: var(--wine);
  border-radius: var(--radius-lg);
}

.closing-card .section-title {
  max-width: 680px;
}

.closing-card p {
  max-width: 620px;
  margin: 15px 0 0;
  color: #e4cfd1;
}

.closing-card .button {
  color: var(--wine);
  background: #fff;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 40px;
  }

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

  .profile-shell {
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 13px 0;
    gap: 9px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .top-nav a {
    flex: 0 0 auto;
    padding-inline: 12px;
  }

  .hero {
    padding: 48px 0 36px;
  }

  .hero-grid,
  .profile-shell,
  .feature-grid,
  .closing-card {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 520px;
  }

  .hero-media img {
    border-radius: 26px;
  }

  .section {
    padding: 72px 0;
  }

  .profile-photo-wrap img {
    min-height: 0;
    max-height: 620px;
    aspect-ratio: 4 / 5;
  }

  .profile-copy {
    padding: 4px 4px 10px;
  }

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

  .timeline li {
    min-height: 0;
  }

  .timeline li::before {
    margin-bottom: 28px;
  }

  .closing-card .section-actions {
    margin-top: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .display-title {
    font-size: 39px;
  }

  .section-title {
    font-size: 33px;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .notice-inner {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid.three,
  .principle-grid,
  .checklist-grid,
  .profile-facts {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 0;
  }

  .feature-body {
    padding: 23px 21px 26px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
