:root {
  --ink: #fff4ef;
  --soft-ink: #d8c3bb;
  --muted: #a88f88;
  --paper: #140c10;
  --rose: #de8792;
  --wine: #7d2639;
  --tea: #7a6156;
  --gold: #d2ae77;
  --line: #06c755;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.44);
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(125, 38, 57, 0.22), transparent 420px),
    var(--paper);
  letter-spacing: 0;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  color: #fff;
  transition: background 280ms ease, color 280ms ease, box-shadow 280ms ease;
}

.site-header.is-scrolled {
  color: #fff7f2;
  background: rgba(18, 10, 14, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  color: currentColor;
}

.desktop-nav a {
  position: relative;
  opacity: 0.86;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  min-width: 112px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 244, 239, 0.94);
  color: #4d1521;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 34px) 7vw 72px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 8, 12, 0.88) 0%, rgba(47, 18, 25, 0.62) 46%, rgba(18, 10, 13, 0.2) 100%),
    linear-gradient(0deg, rgba(14, 8, 11, 0.76), rgba(68, 25, 35, 0.16)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58));
}

.hero-content {
  width: min(720px, 92vw);
  min-width: 0;
  padding-top: 26px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: rgba(255, 235, 225, 0.78);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.dark,
.section-kicker {
  color: #e7a2a8;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7.4vw, 94px);
  line-height: 1.02;
  font-weight: 500;
  word-break: keep-all;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(255, 239, 232, 0.84);
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.primary-cta,
.line-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  padding: 0 24px;
  background: var(--line);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(6, 199, 85, 0.28);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.primary-cta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 220ms ease;
}

.primary-cta:hover,
.line-button:hover {
  transform: translateY(-3px);
  filter: saturate(1.08);
  box-shadow: 0 22px 52px rgba(6, 199, 85, 0.34);
}

.primary-cta:hover svg {
  transform: translateX(4px);
}

.ghost-link {
  display: inline-grid;
  place-items: center;
  min-height: 54px;
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.56);
}

.hero-note {
  position: absolute;
  right: 7vw;
  bottom: 54px;
  width: 260px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 214, 195, 0.22);
  border-radius: 8px;
  background: rgba(31, 13, 18, 0.44);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-note span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.hero-note strong {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1.45;
}

.intro-band {
  padding: 92px 7vw 64px;
  background:
    linear-gradient(180deg, #140c10 0%, #241118 58%, #1a1014 100%);
}

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

.intro-grid > *,
.match-copy,
.real-heading,
.line-inner,
.process-step {
  min-width: 0;
}

.intro-grid h2,
.match-copy h2,
.gallery-heading h2,
.line-inner h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.12;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.intro-grid p,
.match-copy p,
.line-inner p {
  margin-bottom: 0;
  color: var(--soft-ink);
  font-size: 17px;
  line-height: 1.85;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 18px;
  padding: 0 7vw 96px;
  background: #1a1014;
}

.strip-item {
  height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.strip-item.tall {
  height: 500px;
  transform: translateY(42px);
}

.strip-item img {
  transition: transform 900ms ease;
}

.strip-item:hover img,
.gallery-card:hover img {
  transform: scale(1.055);
}

.match-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 72px;
  padding: 112px 7vw;
  background:
    linear-gradient(180deg, #1a1014 0%, #140c10 100%);
}

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

.match-copy h2 {
  margin-bottom: 24px;
}

.text-cta {
  position: relative;
  display: inline-flex;
  margin-top: 34px;
  color: #f0a1aa;
  font-weight: 800;
}

.text-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: currentColor;
  transform-origin: left;
  transition: transform 220ms ease;
}

.text-cta:hover::after {
  transform: scaleX(0.74);
}

.match-panel {
  display: grid;
  gap: 16px;
}

.match-card {
  padding: 30px;
  border: 1px solid rgba(255, 214, 195, 0.13);
  border-radius: 8px;
  background: rgba(255, 244, 239, 0.055);
  backdrop-filter: blur(18px);
  transition: transform 300ms ease, background 300ms ease, color 300ms ease, box-shadow 300ms ease;
}

.match-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
}

.match-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
}

.match-card p {
  margin: 0;
  color: var(--soft-ink);
  line-height: 1.72;
}

.match-card.active,
.match-card:hover {
  transform: translateX(12px);
  color: #fff;
  background: linear-gradient(135deg, rgba(125, 38, 57, 0.96), rgba(139, 65, 72, 0.9) 58%, rgba(122, 97, 86, 0.88));
  box-shadow: var(--shadow);
}

.match-card.active span,
.match-card:hover span,
.match-card.active p,
.match-card:hover p {
  color: rgba(255, 255, 255, 0.78);
}

.gallery-section {
  padding: 106px 7vw;
  color: #fff;
  background:
    linear-gradient(180deg, #140c10 0%, #221117 100%);
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.gallery-heading .section-kicker {
  color: #d7b987;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 330px;
  gap: 18px;
}

.gallery-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #0d0709;
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.34);
}

.gallery-card.wide {
  grid-column: span 2;
}

.gallery-card.soft {
  grid-column: span 2;
}

.gallery-card img {
  opacity: 0.82;
  filter: saturate(0.92) contrast(1.05);
  transition: transform 900ms ease, opacity 900ms ease;
}

.gallery-card:hover img {
  opacity: 0.76;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(50, 14, 24, 0.1) 0%, transparent 34%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(75, 18, 31, 0.32), transparent 52%);
}

.gallery-card figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
}

.gallery-card span {
  display: block;
  margin-bottom: 8px;
  color: #d7b987;
  font-size: 11px;
  font-weight: 800;
}

.gallery-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.36;
}

.real-section {
  padding: 108px 7vw 116px;
  background:
    linear-gradient(180deg, #221117 0%, #341721 45%, #160d11 45%, #160d11 100%);
}

.real-heading {
  max-width: 850px;
  margin-bottom: 40px;
  color: #fff;
}

.real-heading .section-kicker {
  color: #d7b987;
}

.real-heading h2 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
  font-weight: 500;
}

.real-heading p {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.82;
}

.video-showcase {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  grid-auto-rows: 260px;
  gap: 18px;
  margin-bottom: 18px;
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #0d0709;
  box-shadow: 0 24px 70px rgba(34, 21, 22, 0.22);
}

.video-card.large {
  grid-row: span 2;
}

.video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(0.9) contrast(1.08);
  transform: scale(1.01);
  transition: transform 900ms ease, opacity 900ms ease;
}

.video-card:hover video {
  opacity: 0.72;
  transform: scale(1.05);
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(80, 24, 34, 0.12) 0%, transparent 34%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(50, 15, 24, 0.34), transparent 54%);
  pointer-events: none;
}

.video-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
}

.video-caption span {
  display: block;
  margin-bottom: 8px;
  color: #d7b987;
  font-size: 11px;
  font-weight: 900;
}

.video-caption strong {
  display: block;
  font-size: 21px;
  line-height: 1.34;
}

.local-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 18px;
}

.local-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #1a1014;
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.34);
}

.local-photo.tall {
  grid-row: span 2;
}

.local-photo.wide {
  grid-column: span 2;
}

.local-photo img {
  opacity: 0.86;
  filter: saturate(0.94) contrast(1.08);
  transition: transform 900ms ease, filter 900ms ease;
}

.local-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: inherit;
  pointer-events: none;
}

.local-photo:hover img {
  transform: scale(1.055);
  filter: saturate(1.06);
}

.process-section {
  padding: 90px 7vw;
  background:
    linear-gradient(90deg, rgba(125, 38, 57, 0.2), rgba(210, 174, 119, 0.09)),
    #160d11;
}

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

.process-step {
  min-height: 230px;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 214, 195, 0.12);
  background: rgba(255, 244, 239, 0.055);
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 28px;
  color: #e7a2a8;
  font-weight: 800;
}

.process-step h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.process-step p {
  margin-bottom: 0;
  color: var(--soft-ink);
  line-height: 1.72;
}

.line-section {
  padding: 104px 7vw 120px;
  background:
    linear-gradient(90deg, rgba(14, 8, 11, 0.86), rgba(54, 18, 28, 0.58)),
    linear-gradient(180deg, rgba(20, 12, 16, 0.28), rgba(20, 12, 16, 0.84)),
    url("photo_2022-05-20_20-09-00.jpg") center/cover fixed;
}

.line-inner {
  max-width: 720px;
  padding: 58px;
  border-radius: 8px;
  border: 1px solid rgba(255, 214, 195, 0.18);
  background: rgba(23, 10, 15, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.line-inner h2 {
  margin-bottom: 22px;
}

.line-inner p {
  margin-bottom: 34px;
}

.line-button {
  min-width: 260px;
}

.line-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse 1.8s ease-out infinite;
}

.floating-line {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 30;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--line);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(6, 199, 85, 0.34);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.floating-line:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 24px 54px rgba(6, 199, 85, 0.42);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 7vw;
  color: rgba(255, 235, 225, 0.62);
  background: #0f080b;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(2%, -1%, 0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  72% {
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-note {
    display: none;
  }

  .intro-band,
  .match-section,
  .gallery-section,
  .real-section,
  .process-section,
  .line-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .intro-grid,
  .match-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .photo-strip {
    grid-template-columns: 1fr;
    padding-left: 24px;
    padding-right: 24px;
  }

  .strip-item,
  .strip-item.tall {
    height: 390px;
    transform: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 300px;
  }

  .video-showcase {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 300px;
  }

  .video-card.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .local-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 280px;
  }

  .local-photo.tall {
    grid-row: span 1;
  }

  .local-photo.wide {
    grid-column: span 2;
  }

  .process-track {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 66px;
  }

  main,
  section {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-header {
    padding: 0 18px;
  }

  .brand {
    gap: 10px;
    font-size: 16px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .header-cta {
    min-width: 94px;
    height: 36px;
    font-size: 12px;
  }

  .hero {
    min-height: 84vh;
    padding: calc(var(--header-h) + 28px) 18px 54px;
    align-items: end;
  }

  .hero-content,
  .hero-actions,
  .intro-grid,
  .match-copy,
  .match-panel,
  .gallery-heading,
  .real-heading,
  .video-showcase,
  .local-photo-grid,
  .process-track,
  .line-inner {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  h1 {
    font-size: 38px;
    max-width: 100%;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.72;
    max-width: 100%;
  }

  .primary-cta span,
  .line-button {
    white-space: normal;
    text-align: center;
  }

  .primary-cta,
  .line-button {
    width: 100%;
    max-width: 100%;
    padding: 0 18px;
  }

  .hero-actions .primary-cta {
    max-width: 340px;
  }

  .ghost-link {
    min-height: 40px;
  }

  .intro-band,
  .match-section,
  .gallery-section,
  .real-section,
  .process-section,
  .line-section {
    padding: 72px 18px;
  }

  .intro-grid h2,
  .match-copy h2,
  .gallery-heading h2,
  .line-inner h2 {
    font-size: 31px;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-copy,
  .intro-grid p,
  .match-copy p,
  .real-heading p,
  .line-inner p,
  .process-step p {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .photo-strip {
    padding: 0 18px 72px;
  }

  .strip-item,
  .strip-item.tall {
    height: 330px;
  }

  .match-card:hover,
  .match-card.active {
    transform: translateY(-4px);
  }

  .gallery-heading {
    display: block;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
  }

  .video-showcase,
  .local-photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .video-card,
  .video-card.large {
    grid-column: span 1;
    grid-row: span 1;
    height: 360px;
  }

  .local-photo,
  .local-photo.tall,
  .local-photo.wide {
    grid-column: span 1;
    grid-row: span 1;
    height: 330px;
  }

  .gallery-card.wide,
  .gallery-card.soft {
    grid-column: span 1;
  }

  .line-section {
    background-attachment: scroll;
  }

  .line-inner {
    padding: 32px 24px;
  }

  .floating-line {
    right: 18px;
    bottom: 18px;
    width: 62px;
    height: 62px;
  }

  .site-footer {
    display: grid;
    padding: 24px 18px;
  }
}

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