/*
 * meeki landing — R8 사다리 정체성 정합.
 *
 * 디자인 토큰:
 *  - 콘크리트 #f0f0f0 (배경)
 *  - 먹 #111 (텍스트)
 *  - hairline rgba(17,17,17,0.05~0.1)
 *  - Cormorant Garamond Regular (Latin 라벨)
 *  - Noto Serif KR Light (한글 본문)
 *  - 모든 모서리 0px (안도 절제)
 */

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
hr.hairline {
  border: 0;
  height: 1px;
  background: rgba(17, 17, 17, 0.05);
  margin: 0;
}

/* Body */
body {
  background: #f0f0f0;
  color: #111;
  font-family: "Noto Serif KR", "Apple SD Gothic Neo", serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 96px;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  background: #f0f0f0;
}
.header__inner {
  max-width: 1248px;
  margin: 0 auto;
  padding: 38px 96px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}
.brand {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 4px;
  margin: 0;
}
.beta {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 2px;
  margin: 0;
  opacity: 0.5;
}

/* ============================================================
   Hero — split layout (텍스트 좌 / 사진 우)
   ============================================================ */
.hero {
  padding: 160px 0 200px;
}
.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.hero__text {
  display: flex;
  flex-direction: column;
}
.hero__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.05);
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Why Meeki — split layout (텍스트 좌 / 풍경 사진 우)
   ============================================================ */
.section--why {
  padding: 140px 0;
}
.why__container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  align-items: center;
}
.why__text {
  display: flex;
  flex-direction: column;
}
.why__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.05);
}
.why__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Ladder — 각 단계 사진 (정립/인지/자아실현)
   ============================================================ */
.ladder__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.05);
  margin: 0 0 36px;
}
.ladder__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Reveal — fade-in on scroll (절제된 IntersectionObserver)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms ease, transform 900ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Ken Burns — 사진 미세 scale (천천히, 절제) */
.reveal--image img {
  transition: transform 8000ms ease-out;
  transform: scale(1.0);
}
.reveal--image.in-view img {
  transform: scale(1.04);
}

/* prefers-reduced-motion — 접근성 */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--image img {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
.kicker {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 4px;
  margin: 0 0 60px;
  opacity: 0.6;
}
.hero__heading {
  font-family: "Noto Serif KR", serif;
  font-weight: 300;
  font-size: 88px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 64px;
  max-width: 700px;
}
.hero__sub {
  font-family: "Noto Serif KR", serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.85;
  margin: 0 0 120px;
  max-width: 640px;
  opacity: 0.7;
}
.cta {
  display: inline-block;
  padding: 18px 36px;
  border: 1px solid rgba(17, 17, 17, 0.4);
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 3px;
  background: transparent;
  cursor: not-allowed;
  opacity: 0.5;
  transition: opacity 200ms ease;
}
.cta:hover {
  opacity: 0.7;
}

/* ============================================================
   Section (Why / Ladder / Tabs / Security)
   ============================================================ */
.section {
  padding: 140px 0;
}
.section-label {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 3px;
  margin: 0 0 48px;
  opacity: 0.5;
}
.section-heading {
  font-family: "Noto Serif KR", serif;
  font-weight: 300;
  font-size: 48px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0 0 56px;
  max-width: 720px;
}
.section-body {
  font-family: "Noto Serif KR", serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.85;
  margin: 0;
  max-width: 700px;
  opacity: 0.7;
}

/* ============================================================
   Ladder (3 단계 — R8 정체성 명시)
   ============================================================ */
.section--ladder {
  padding-bottom: 160px;
}
.ladder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  margin-top: 32px;
}
.ladder__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ladder__num {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 2px;
  margin: 0 0 24px;
  opacity: 0.3;
}
.ladder__title {
  font-family: "Noto Serif KR", serif;
  font-weight: 300;
  font-size: 32px;
  margin: 0 0 24px;
  letter-spacing: -0.3px;
}
.ladder__desc {
  font-family: "Noto Serif KR", serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
  opacity: 0.65;
}

/* ============================================================
   Five Tabs
   ============================================================ */
.tabs {
  border-top: 1px solid rgba(17, 17, 17, 0.05);
}
.tab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}
.tab__name {
  font-family: "Noto Serif KR", serif;
  font-weight: 300;
  font-size: 32px;
  letter-spacing: -0.3px;
  min-width: 160px;
}
.tab__desc {
  font-family: "Noto Serif KR", serif;
  font-weight: 300;
  font-size: 16px;
  opacity: 0.6;
  text-align: right;
  max-width: 540px;
  line-height: 1.6;
}

/* ============================================================
   Security (검은 배경, Figma 정본 #111)
   ============================================================ */
.section--dark {
  background: #111;
}
.section--dark .section-label {
  color: #888;
  opacity: 1;
}
.section--dark .section-heading {
  color: #f0f0f0;
}
.section--dark .section-body {
  color: #a8a8a8;
  opacity: 1;
}
.security-stack {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 2px;
  margin: 64px 0 0;
  color: #888;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #f0f0f0;
  border-top: 1px solid rgba(17, 17, 17, 0.05);
  padding: 100px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.footer__brand {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 4px;
  margin: 0 0 16px;
}
.footer__tagline {
  font-family: "Noto Serif KR", serif;
  font-weight: 300;
  font-size: 18px;
  margin: 0;
  opacity: 0.55;
}
.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.5;
}
.footer__meta p,
.footer__link {
  margin: 0;
}
.footer__link {
  font-family: "Noto Serif KR", serif;
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 300;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(17, 17, 17, 0.2);
}

/* ============================================================
   Responsive — Mobile
   ============================================================ */
@media (max-width: 768px) {
  .container,
  .header__inner {
    padding-left: 24px;
    padding-right: 24px;
  }
  .header__inner {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero {
    padding: 96px 0 120px;
  }
  .hero__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__image {
    aspect-ratio: 4 / 3;
    order: -1;
  }
  .section--why {
    padding: 80px 0;
  }
  .why__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .why__image {
    aspect-ratio: 4 / 3;
  }
  .ladder__image {
    aspect-ratio: 4 / 3;
    margin-bottom: 24px;
  }
  .kicker {
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 32px;
  }
  .hero__heading {
    font-size: 48px;
    margin-bottom: 32px;
  }
  .hero__sub {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 64px;
  }
  .cta {
    font-size: 11px;
    padding: 14px 28px;
  }

  .section {
    padding: 80px 0;
  }
  .section-label {
    font-size: 11px;
    margin-bottom: 32px;
  }
  .section-heading {
    font-size: 28px;
    margin-bottom: 32px;
  }
  .section-body {
    font-size: 15px;
  }

  .ladder {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 16px;
  }
  .ladder__num {
    font-size: 28px;
    margin-bottom: 16px;
  }
  .ladder__title {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .ladder__desc {
    font-size: 14px;
  }

  .tab {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px 0;
  }
  .tab__name {
    font-size: 22px;
    min-width: 0;
  }
  .tab__desc {
    font-size: 14px;
    text-align: left;
  }

  .footer {
    padding: 64px 0;
  }
  .footer__brand {
    font-size: 28px;
  }
  .footer__tagline {
    font-size: 15px;
  }
}
