/* 가능성.com — split-screen meditation, forest-green + parchment */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest: #1a3020;
  --forest-mid: #2a4a38;
  --canopy: #4a7a58;
  --parchment: #f0ead0;
  --paper: #e0d4b8;
  --ink: #3a2a18;
  --gold: #b89840;
}

html, body {
  background: var(--parchment);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.8;
  overflow-x: hidden;
}

/* SPLIT */
.split {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  min-height: 80vh;
  position: relative;
}
.split.title-split { min-height: 100vh; }

.split .left, .split .right {
  padding: 80px clamp(40px, 5vw, 80px) 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.split .left {
  background: var(--forest);
  color: var(--parchment);
  align-items: flex-start;
}
.split .right {
  background: var(--parchment);
  color: var(--ink);
  align-items: flex-start;
}

.divider-line {
  background: var(--gold);
  width: 2px;
  position: relative;
  transition: background 0.6s, width 0.6s;
}

.split.in .divider-line {
  width: 4px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(184, 152, 64, 0.5);
}

/* TITLE SPLIT */
.vert-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 1;
  color: var(--parchment);
  display: flex;
  flex-direction: column;
  letter-spacing: -0.01em;
}
.vert-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(-30px);
  animation: slide-down 800ms ease-out forwards;
}
.vert-title span:nth-child(1) { animation-delay: 0.2s; }
.vert-title span:nth-child(2) { animation-delay: 0.5s; }
.vert-title span:nth-child(3) { animation-delay: 0.8s; }
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

.left-meta, .right-meta {
  margin-top: 32px;
  font-style: italic;
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--gold);
  opacity: 0.85;
}

.hori-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(40px, 7vw, 110px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateX(40px);
  animation: slide-right 800ms ease-out 0.4s forwards;
}
@keyframes slide-right {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
.right-meta { color: var(--gold); }

/* DUALITY SECTIONS */
.duality { min-height: 80vh; }

.d-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.d-h {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -0.005em;
}
.split .left .d-h { color: var(--parchment); }
.split .right .d-h { color: var(--ink); }

.d-body {
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 460px;
  margin-bottom: 36px;
}
.split .left .d-body { color: var(--parchment); }
.split .left .d-body em { color: var(--gold); }

.fn {
  color: var(--gold);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.65em;
  vertical-align: super;
}

/* Vector illustrations */
.vector {
  width: 96px;
  height: 96px;
  margin-top: 14px;
}

/* Footnotes */
.footnote {
  margin-top: 36px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11.5px;
  color: var(--canopy);
  max-width: 340px;
  border-top: 1px solid rgba(74, 122, 88, 0.3);
  padding-top: 14px;
  line-height: 1.5;
}
.footnote sup { color: var(--gold); }
.footnote em { font-style: italic; }

/* Slide-reveal */
.split.reveal .left, .split.reveal .right {
  opacity: 0;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.split.reveal .left { transform: translateX(-40px); }
.split.reveal .right { transform: translateX(40px); }
.split.reveal.in .left, .split.reveal.in .right {
  opacity: 1;
  transform: translateX(0);
}

/* READING ROOM */
.reading-room {
  background: var(--paper);
  padding: 120px 24px;
  border-top: 4px double var(--gold);
  border-bottom: 4px double var(--gold);
}
.reading-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.rr-tag {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 36px;
}
.rr-body {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 32px;
}
.rr-body em {
  font-style: italic;
  color: var(--canopy);
  font-weight: 600;
}
.rr-meta {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12.5px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.rr-meta em { font-family: 'Cormorant Garamond', serif; font-style: italic; text-transform: none; letter-spacing: 0.02em; }

/* HORIZON FOOTER */
.horizon { min-height: 50vh; }
.h-h {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 22px;
  letter-spacing: -0.005em;
}
.split .left .h-h { color: var(--parchment); }
.split .right .h-h { color: var(--ink); }

.contact-list { list-style: none; }
.contact-list li {
  padding: 10px 0;
  font-size: 16px;
  border-bottom: 1px dashed rgba(184, 152, 64, 0.4);
}
.h-prompt {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--ink);
}
.h-prompt-en {
  font-style: italic;
  color: var(--canopy);
  font-size: clamp(17px, 1.8vw, 22px);
  margin-bottom: 36px;
}
.h-meta {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
}

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; min-height: auto !important; }
  .split .left, .split .right { padding: 60px 32px; min-height: 70vh; }
  .divider-line { display: none; }
}
