/* 오감트립 v0.9 — 컬러는 아래 :root 변수에서 관리 */
:root {
  /* OGAM TRIP VISUAL SYSTEM v0.1 */
  --shell: #F6F2EC;      /* Warm Shell — 배경 */
  --dusk: #3D4867;       /* OGAM Dusk — 텍스트·헤드라인 */
  --mist: #AEBCC9;       /* Mist Blue — 서브 포인트 */
  --cloud: #D9E2E7;      /* Cloud Haze — 보조 배경·분리선 */
  --lilac: #CDC0DE;      /* Lilac Prism — 소프트 포인트 */
  --iri-a: #E6D3EE;      /* Iridescent Glow 시작 */
  --iri-b: #D6D8F4;      /* Iridescent Glow 끝 */
  --dusk-soft: #5F6884;  /* Dusk 톤 본문 보조 (파생 톤) */
  --ivory: var(--shell); --paper: color-mix(in srgb, var(--cloud) 45%, var(--shell));
  --stone: var(--cloud); --olive: var(--dusk); --bronze: var(--dusk-soft);
  --ink: var(--dusk); --ink-soft: var(--dusk-soft);
  --serif: "Noto Serif KR", "AppleMyungjo", "Batang", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 68rem;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--ivory); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem max(clamp(1.25rem, 6vw, 5rem), calc((100% - var(--wrap)) / 2 + clamp(1.25rem, 6vw, 5rem)));
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; text-decoration: none; letter-spacing: -.01em; }
.site-head ul { display: flex; gap: clamp(.9rem, 2.5vw, 1.75rem); font-size: .9375rem; }
.site-head nav a { text-decoration: none; color: var(--ink-soft); transition: color .3s; }
.site-head nav a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: min(92vh, 52rem); display: flex; align-items: center; justify-content: center; padding: 4rem 0 5rem; }
.hero-inner { position: relative; width: 100%; max-width: var(--wrap); padding: 0 clamp(1.25rem, 6vw, 5rem); }
.hero-inner > * { max-width: 44rem; }
.hero-label { font-family: var(--serif); font-weight: 600; font-size: 1rem; letter-spacing: .14em; margin-bottom: 1.75rem; }
.hero-label small { font-family: var(--sans); font-weight: 400; font-size: .75rem; letter-spacing: .04em; color: var(--dusk-soft); margin-left: .6rem; }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.75rem, 8.5vw, 6.25rem);
  line-height: 1.12; letter-spacing: -.025em;
  margin-bottom: 2.25rem;
}
.hero-body p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin: 2.25rem 0 2.5rem; }
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  background: var(--ink); color: var(--ivory); text-decoration: none; font-weight: 500;
  transition: background .35s;
}
.btn:hover { background: #2E3651; }
.link { text-decoration: underline; text-underline-offset: .3em; text-decoration-color: var(--stone); transition: text-decoration-color .3s; }
.link:hover { text-decoration-color: var(--ink); }
.hero-sub { font-family: var(--serif); font-size: 1.125rem; color: var(--dusk-soft); }

/* 오감 — 다섯 개의 감각 색이 아주 천천히 흐름 */
.senses { position: absolute; inset: 0; filter: blur(64px); opacity: .6; pointer-events: none; }
.s { position: absolute; border-radius: 50%; will-change: transform; }
.s1 { width: 34vmax; height: 34vmax; background: linear-gradient(135deg, var(--iri-a), var(--iri-b)); right: -8vmax; top: -6vmax; animation: drift1 48s ease-in-out infinite alternate; }
.s2 { width: 22vmax; height: 22vmax; background: var(--cloud); right: 12vmax; top: 18vmax; animation: drift2 56s ease-in-out infinite alternate; }
.s3 { width: 18vmax; height: 18vmax; background: var(--mist); right: -2vmax; bottom: -4vmax; animation: drift3 62s ease-in-out infinite alternate; }
.s4 { width: 14vmax; height: 14vmax; background: var(--lilac); right: 26vmax; bottom: 2vmax; animation: drift1 70s ease-in-out infinite alternate-reverse; }
.s5 { width: 10vmax; height: 10vmax; background: var(--iri-b); right: 6vmax; top: 30vmax; animation: drift2 66s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-6vmax, 4vmax) scale(1.08); } }
@keyframes drift2 { to { transform: translate(5vmax, -5vmax) scale(.94); } }
@keyframes drift3 { to { transform: translate(-4vmax, -6vmax) scale(1.1); } }

/* 진입 순서: 라벨 → H1 → 본문 → CTA */
.seq { opacity: 0; transform: translateY(14px); animation: rise 1.1s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-label.seq { animation-delay: .15s; }
.hero h1.seq { animation-delay: .45s; }
.hero-body.seq { animation-delay: .9s; }
.hero-cta.seq { animation-delay: 1.25s; }
.hero-sub.seq { animation-delay: 1.5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Sections */
main > section:not(.hero) { max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem, 9vw, 7.5rem) clamp(1.25rem, 6vw, 5rem); }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.3; letter-spacing: -.015em; margin-bottom: 2.25rem; }
h3 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; line-height: 1.45; }

.worry-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); border-top: 1px solid var(--stone); }
.worry-list li { display: flex; align-items: baseline; gap: 1rem; padding: 1.4rem .25rem; border-bottom: 1px solid var(--stone); }
.worry-list .en { font-size: .75rem; letter-spacing: .1em; color: var(--bronze); min-width: 4.5rem; }
.worry-list .ko { font-family: var(--serif); font-size: 1.3rem; }

.irecheck { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 6vw, 5rem); align-items: start; }
.irecheck-mark { font-family: var(--serif); font-weight: 600; font-size: clamp(6rem, 18vw, 11rem); line-height: .9; background: linear-gradient(160deg, var(--lilac), var(--mist)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.irecheck-mark small { font-size: .28em; margin-left: .15em; }
.irecheck p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 32rem; }
.irecheck .ask { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); margin-top: 1.5rem; }

.checks { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-bottom: 2.5rem; }
.checks li {
  font-family: var(--serif); font-size: 1.2rem;
  padding: .55rem 1.2rem .55rem 2.6rem; border: 1px solid var(--stone); border-radius: 999px;
  position: relative; background: var(--paper);
}
.checks li::before {
  content: ""; position: absolute; left: 1.1rem; top: 50%; width: .5rem; height: .9rem;
  border: solid var(--olive); border-width: 0 2px 2px 0; transform: translateY(-62%) rotate(45deg);
}
.closing { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.6; }

.personal { background: var(--paper); border-radius: 1.5rem; margin-top: 2rem !important; margin-bottom: 2rem !important; }
.personal p { max-width: 36rem; color: var(--ink-soft); margin-bottom: 1rem; }
.personal p:first-of-type { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.personal .note { font-size: .9375rem; margin-top: 1.5rem; }
.personal .note a { text-underline-offset: .25em; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.card { padding: 1.75rem 1.5rem; border-top: 2px solid var(--ink); background: transparent; }
.card .tag { font-size: .8125rem; color: var(--bronze); margin-bottom: .75rem; }
.card .state { font-size: .8125rem; color: var(--ink-soft); margin-top: 1.25rem; }
.more { color: var(--ink-soft); }
.more a { text-underline-offset: .25em; }

.channels ul { display: flex; flex-wrap: wrap; gap: .75rem; }
.channels a {
  display: inline-block; padding: .7rem 1.4rem; border: 1px solid var(--ink); border-radius: 999px;
  text-decoration: none; transition: background .35s, color .35s;
}
.channels a:hover { background: var(--ink); color: var(--ivory); }

/* Footer */
.site-foot { padding: 3.5rem max(clamp(1.25rem, 6vw, 5rem), calc((100% - var(--wrap)) / 2 + clamp(1.25rem, 6vw, 5rem))) 4rem; border-top: 1px solid var(--stone); color: var(--ink-soft); font-size: .9375rem; }
.site-foot p { margin-bottom: .4rem; }
.foot-mark { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink); margin-bottom: .75rem !important; }
.site-foot a { text-underline-offset: .25em; }
.copy { margin-top: 1.25rem; font-size: .8125rem; }

/* 스크롤 등장 (JS 있을 때만) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* 404 */
.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: 4rem clamp(1.25rem, 6vw, 5rem); max-width: 44rem; }
.notfound h1 { font-family: var(--serif); font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.25; margin-bottom: 1.5rem; }
.notfound p { color: var(--ink-soft); margin-bottom: 2rem; }

@media (max-width: 640px) {
  .site-head nav { display: none; }
  .irecheck { grid-template-columns: 1fr; }
  .hero-body br, .irecheck br { display: none; }
  .senses { opacity: .45; filter: blur(48px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .s { animation: none; }
  .seq { animation: none; opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

.signature { font-size: .75rem; letter-spacing: .08em; margin-top: 1rem; }
.mood { font-family: var(--serif); letter-spacing: .12em; font-size: .8125rem; margin-top: .25rem; }
