@charset "UTF-8";

:root {
  --ink: #000000;
  --paper: #f7f7ef;
  --paper-dark: #ecece3;
  --forest: #151610;
  --forest-dark: #000000;
  --yellow: #fcfd5f;
  --white: #ffffff;
  --muted: #62625c;
  --line: rgba(0, 0, 0, 0.16);
  --shell: min(1280px, calc(100vw - 80px));
  --header-height: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Pretendard,
    "Pretendard Variable",
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--yellow);
}

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

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

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 300;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--forest-dark);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(100px, 10vw, 160px);
}

.fixed-lines > span {
  display: block;
  white-space: nowrap;
}

.eyebrow,
.section-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(247, 247, 239, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.wordmark {
  display: block;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 2px;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  font-size: 0.76rem;
  font-weight: 750;
  transition: opacity 0.2s ease;
}

.desktop-nav a:hover {
  opacity: 0.58;
}

.header-cta {
  display: flex;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 100px;
  justify-self: end;
  align-items: center;
  gap: 12px;
  font-size: 0.73rem;
  font-weight: 800;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.is-scrolled .header-cta,
.is-menu-open .header-cta {
  border-color: rgba(13, 24, 20, 0.28);
}

.header-cta:hover {
  color: var(--ink);
  border-color: var(--yellow);
  background: var(--yellow);
}

.menu-button {
  display: none;
  width: 58px;
  height: 46px;
  padding: 0;
  border: 0;
  justify-self: end;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 720px;
  height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-dark);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.66) 39%,
      rgba(0, 0, 0, 0.12) 72%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 42%, rgba(0, 0, 0, 0.52));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 90px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero .eyebrow {
  margin-bottom: 30px;
  color: var(--yellow);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 6.2vw, 6.5rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 1;
}

.hero h1 .accent {
  color: var(--yellow);
  font-style: normal;
}

.hero-copy {
  margin: 30px 0 0;
  color: rgba(255, 253, 247, 0.7);
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  margin-top: 38px;
  align-items: center;
  gap: 24px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 23px;
  border: 0;
  border-radius: 100px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--ink);
  background: var(--yellow);
}

.button-light:hover {
  background: var(--white);
}

.plain-link {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 750;
}

.hero-foot {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 30px;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.54rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.intro {
  background: var(--paper);
}

.intro .section-label {
  margin-bottom: clamp(58px, 7vw, 96px);
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: end;
  gap: clamp(70px, 11vw, 170px);
}

.intro h2,
.section-head h2,
.places h2 {
  margin: 0;
  font-size: clamp(3.2rem, 5vw, 5.2rem);
  font-weight: 830;
  letter-spacing: -0.07em;
  line-height: 1.02;
}

.intro-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.intro-flow {
  display: flex;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  align-items: center;
  gap: 14px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.intro-flow i {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--line);
}

.how {
  background: var(--paper-dark);
}

.section-head {
  display: grid;
  margin-bottom: clamp(70px, 8vw, 115px);
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.section-head .section-label {
  padding-top: 12px;
  color: var(--muted);
}

.steps {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.steps li {
  min-height: 270px;
  padding: 30px 34px 32px 0;
  border-right: 1px solid var(--line);
}

.steps li + li {
  padding-left: 34px;
}

.steps li:last-child {
  border-right: 0;
}

.step-number {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.steps h3 {
  margin: 76px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 780;
  letter-spacing: -0.045em;
}

.steps p {
  max-width: 300px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.street {
  position: relative;
  min-height: 620px;
  height: 78svh;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}

.street-media,
.street-overlay {
  position: absolute;
  inset: 0;
}

.street-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.street-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64), transparent 65%),
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.62));
}

.street-copy {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  padding-bottom: 70px;
  flex-direction: column;
  justify-content: flex-end;
}

.street .eyebrow {
  margin-bottom: 22px;
  color: var(--yellow);
}

.street h2 {
  margin: 0;
  font-size: clamp(3.1rem, 5.3vw, 5.6rem);
  font-weight: 830;
  letter-spacing: -0.07em;
  line-height: 1.02;
}

.places {
  overflow: hidden;
  background: var(--paper);
}

.places-head {
  display: grid;
  margin-bottom: clamp(68px, 8vw, 110px);
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}

.places-head .section-label {
  margin-bottom: 30px;
  color: var(--muted);
}

.places-head > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.place-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
}

.place-gallery figure {
  margin: 0;
}

.place-image {
  aspect-ratio: 0.68;
  overflow: hidden;
  background: #d7d2c7;
}

.place-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.place-gallery figure:nth-child(1) img {
  object-position: center 58%;
}

.place-gallery figure:nth-child(2) img {
  object-position: center;
}

.place-gallery figure:nth-child(3) img {
  object-position: 58% center;
}

.place-gallery figure:hover img {
  transform: scale(1.025);
}

.place-gallery figcaption {
  display: flex;
  padding-top: 20px;
  justify-content: space-between;
  align-items: baseline;
}

.place-gallery figcaption span {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.place-gallery figcaption h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 780;
  letter-spacing: -0.04em;
}

.swipe-hint {
  display: none;
}

.contact {
  padding-block: clamp(110px, 11vw, 180px);
  color: var(--ink);
  background: var(--yellow);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr auto;
  align-items: end;
  gap: 50px;
}

.contact .section-label {
  padding-bottom: 12px;
}

.contact h2 {
  margin: 0;
  font-size: clamp(2.9rem, 4.7vw, 5rem);
  font-weight: 840;
  letter-spacing: -0.07em;
  line-height: 1.03;
}

.button-dark {
  color: var(--white);
  background: var(--forest-dark);
}

.button-dark:hover {
  background: var(--forest);
}

.site-footer {
  padding: 56px 0 28px;
  color: var(--white);
  background: var(--forest-dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 44px;
}

.footer-wordmark {
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 2px;
}

.footer-wordmark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-inner p,
.footer-inner > span {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.footer-signoff {
  display: flex;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  align-items: center;
  justify-content: space-between;
}

.footer-signoff span {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.contxt-logo {
  width: 92px;
  height: auto;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 22px;
  bottom: 22px;
  display: flex;
  width: min(360px, calc(100vw - 32px));
  padding: 16px 14px 16px 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  align-items: center;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 0.25s ease,
    transform 0.35s var(--ease),
    visibility 0s linear 0.35s;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.toast p {
  display: flex;
  margin: 0;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.toast strong {
  font-size: 0.76rem;
}

.toast p span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.67rem;
}

.toast button {
  width: 36px;
  height: 36px;
  padding: 0;
  color: rgba(255, 255, 255, 0.65);
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

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

@media (max-width: 1020px) {
  :root {
    --shell: min(100% - 48px, 920px);
  }

  .intro-grid {
    gap: 64px;
  }

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

  .contact .button {
    margin-top: 40px;
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 70px;
  }

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

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    z-index: -1;
    inset: 0;
    display: flex;
    padding: 120px 24px 36px;
    color: var(--white);
    background: var(--forest-dark);
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.3s ease,
      transform 0.4s var(--ease),
      visibility 0s linear 0.4s;
  }

  .site-header.is-menu-open {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.14);
    background: var(--forest-dark);
  }

  .is-menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .mobile-menu nav {
    display: grid;
  }

  .mobile-menu nav a {
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    font-weight: 760;
    letter-spacing: -0.05em;
  }

  .mobile-menu > p {
    margin: 0;
    color: var(--yellow);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.13em;
  }

  .intro-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 52px;
  }

  .intro-copy {
    max-width: 520px;
    margin-left: auto;
  }

  .section-head {
    gap: 46px;
  }

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

  .steps li,
  .steps li + li {
    min-height: 0;
    padding: 27px 0 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps h3 {
    margin-top: 34px;
  }

  .steps p {
    max-width: 430px;
  }

  .places-head {
    grid-template-columns: 1fr;
  }

  .places-head > p {
    max-width: 380px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 36px);
  }

  .section {
    padding-block: 90px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-media img {
    object-position: 60% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.16)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 36%, rgba(0, 0, 0, 0.72));
  }

  .hero-inner {
    padding-top: 110px;
    padding-bottom: 88px;
    justify-content: flex-end;
  }

  .hero .eyebrow {
    margin-bottom: 22px;
    font-size: 0.61rem;
  }

  .hero h1 {
    font-size: 8.9vw;
    line-height: 1.03;
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 3.75vw;
    line-height: 1.7;
  }

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

  .button {
    min-height: 50px;
    padding-inline: 19px;
    gap: 18px;
  }

  .plain-link {
    font-size: 0.72rem;
  }

  .hero-foot {
    bottom: 21px;
  }

  .hero-foot span:last-child {
    display: none;
  }

  .intro .section-label {
    margin-bottom: 46px;
  }

  .intro h2,
  .section-head h2 {
    font-size: 11.1vw;
  }

  .intro-copy {
    margin: 0;
  }

  .intro-copy > p {
    font-size: 0.9rem;
  }

  .intro-flow {
    margin-top: 32px;
  }

  .section-head {
    margin-bottom: 54px;
  }

  .street {
    min-height: 580px;
    height: 76svh;
  }

  .street-media img {
    object-position: 58% center;
  }

  .street-copy {
    padding-bottom: 48px;
  }

  .street h2 {
    font-size: 8.2vw;
  }

  .places-head {
    margin-bottom: 52px;
    gap: 26px;
  }

  .places h2 {
    font-size: 8.3vw;
  }

  .place-gallery {
    width: calc(100vw - 18px);
    margin-right: calc(50% - 50vw);
    overflow-x: auto;
    padding-right: 18px;
    padding-bottom: 12px;
    grid-template-columns: repeat(3, minmax(74vw, 1fr));
    gap: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .place-gallery::-webkit-scrollbar {
    display: none;
  }

  .place-gallery figure {
    scroll-snap-align: start;
  }

  .place-gallery figcaption {
    padding-right: 8px;
  }

  .swipe-hint {
    display: block;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 0.65rem;
  }

  .contact {
    padding-block: 95px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact h2 {
    font-size: 8.1vw;
  }

  .contact .button {
    margin-top: 4px;
    grid-column: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    gap: 26px 20px;
  }

  .footer-inner p {
    justify-self: end;
  }

  .footer-inner > span {
    grid-column: 1 / -1;
  }

  .footer-signoff {
    margin-top: 36px;
  }

  .contxt-logo {
    width: 84px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
