/* ══════════════════════════════════════════
   SAJUBOJA LANDING — Human Touch Design
   ══════════════════════════════════════════ */

/* ─── Reset & Base ───────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
  --gold:    #C8A66B;
  --gold-l:  #E4C98F;
  --navy:    #173257;
  --navy-d:  #081526;
  --cream:   #F6F1E8;
  --ink:     #1F1A14;
  --ink-m:   #5D554A;
  --paper:   #F8F3E8;

  --font-body: 'Pretendard', -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Nanum Pen Script', cursive;
  --font-serif: 'MaruBuri', Georgia, serif;

  --max-w: 1080px;
  --section-py: clamp(64px, 10vw, 120px);
}

@font-face {
  font-family: 'Pretendard';
  src: local('Pretendard'), url('../assets/fonts/Pretendard-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: local('Pretendard Medium'), url('../assets/fonts/Pretendard-Medium.ttf') format('truetype');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: local('Pretendard Bold'), url('../assets/fonts/Pretendard-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'MaruBuri';
  src: local('MaruBuri'), url('../assets/fonts/MaruBuri-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-d);
  color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}


/* ─── Utility Classes ────────────────────── */
.handwritten {
  font-family: var(--font-hand);
  font-size: 1.15em;
  letter-spacing: 0.02em;
}

.sketch-underline {
  position: relative;
  display: inline-block;
}
.sketch-underline::after {
  content: '';
  position: absolute;
  left: -4%; right: -4%;
  bottom: -2px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8'%3E%3Cpath d='M2 5c30-3 60 2 90-1s70 3 106-2' stroke='%23C8A66B' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  opacity: 0.7;
}
.sketch-underline.warm::after {
  opacity: 0.5;
  filter: hue-rotate(-10deg) saturate(1.3);
}

.sketch-highlight {
  background: linear-gradient(transparent 55%, rgba(200,166,107,0.2) 55%, rgba(200,166,107,0.2) 90%, transparent 90%);
  padding: 0 2px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--cream);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 15px;
  color: var(--cream);
  opacity: 0.65;
  line-height: 1.7;
  max-width: 440px;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}


/* ─── Texture Overlay ────────────────────── */
.texture-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}


/* ─── Navigation ─────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 32px;
  gap: 24px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex: 1;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-d);
  background: var(--gold);
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--gold-l); transform: translateY(-1px); }


/* ─── Hero ───────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(200,166,107,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(23,50,87,0.4) 0%, transparent 50%),
    var(--navy-d);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px 80px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6.5vw, 56px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--cream);
  opacity: 0.6;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-d);
  background: var(--gold);
  padding: 14px 36px;
  border-radius: 28px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  z-index: 1;
}
.hero-btn:hover { background: var(--gold-l); transform: translateY(-2px); }

.hero-arrow {
  margin-top: 48px;
  width: 28px;
  opacity: 0.4;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* constellation dots */
.constellation span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.15;
}
.constellation span:nth-child(odd) { width: 4px; height: 4px; opacity: 0.1; }


/* ─── Difference Section ─────────────────── */
.difference {
  padding-bottom: 0;
}

.difference-title {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 16px;
}

.difference-sub {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Process (storytelling steps) ───────── */
.process {
  margin-top: clamp(48px, 8vw, 80px);
}

.process-step {
  padding: clamp(48px, 8vw, 96px) 0;
  position: relative;
}
.process-step:nth-child(even) {
  background: rgba(200,166,107,0.03);
}

.process-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.process-inner.reverse {
  direction: rtl;
}
.process-inner.reverse > * {
  direction: ltr;
}

.process-num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 12px;
}

.process-heading {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 16px;
}

.process-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--cream);
  opacity: 0.7;
  margin-bottom: 16px;
}

.process-note {
  font-size: 13.5px;
  color: var(--gold);
  opacity: 0.6;
}
.process-note strong {
  opacity: 1;
}

.process-encrypted {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--gold);
  opacity: 0.45;
}

.lock-icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
}

/* process visuals */
.process-screen {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,166,107,0.1);
  border-radius: 16px;
  padding: 28px 24px;
}

.screen-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(200,166,107,0.06);
}
.screen-row:last-child { border-bottom: none; }

.screen-label {
  font-size: 13px;
  color: var(--cream);
  opacity: 0.4;
  font-weight: 500;
}

.screen-val {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--gold-l);
  font-weight: 700;
  letter-spacing: 2px;
}

/* analysis — saju pillars */
.process-screen.analysis {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.saju-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  opacity: 0.7;
  font-weight: 600;
}

.saju-example {
  font-size: 10px;
  opacity: 0.5;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 6px;
}

.saju-pillars {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,166,107,0.12);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 52px;
}

.pillar-title {
  font-size: 10px;
  color: var(--ink-m);
  letter-spacing: 1px;
}

.pillar-char {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
}

.pillar-char.heaven {
  margin-bottom: -2px;
}

.pillar-char.earth {
  opacity: 0.7;
}

.pillar-unknown {
  opacity: 0.4;
  border-style: dashed;
}

.pillar-unknown-text {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ink-m);
  opacity: 0.5;
}

.el-wood  { color: #7cb87c; }
.el-fire  { color: #d98a6a; }
.el-earth { color: #c8a66b; }
.el-metal { color: #b0b8c8; }
.el-water { color: #6a9cc8; }

/* 오행 분포 chips */
.ohaeng-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.ohaeng-chip {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

/* 합충 & 신살 tags */
.saju-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.saju-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.saju-tag small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.6;
}

.tag-hap {
  background: rgba(124,184,124,0.12);
  color: #7cb87c;
  border: 1px solid rgba(124,184,124,0.2);
}

.tag-chung {
  background: rgba(217,138,106,0.12);
  color: #d98a6a;
  border: 1px solid rgba(217,138,106,0.2);
}

.tag-sal {
  background: rgba(176,184,200,0.12);
  color: #b0b8c8;
  border: 1px solid rgba(176,184,200,0.2);
}

/* chat mini mockup */
.process-screen.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

/* translate cards */
.translate-chat {
  margin-top: 12px;
}

.process-screen.translate {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.translate-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,166,107,0.1);
  border-radius: 12px;
}

.translate-term {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  min-width: 64px;
}

.translate-arrow {
  color: var(--cream);
  opacity: 0.3;
  font-size: 14px;
  flex-shrink: 0;
}

.translate-plain {
  font-size: 14px;
  color: var(--cream);
  line-height: 1.5;
}

.mini-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
  max-width: 85%;
}

.mini-ai {
  background: var(--paper);
  color: var(--ink);
  align-self: flex-start;
  border-radius: 14px 14px 14px 4px;
}

.mini-user {
  background: var(--gold);
  color: var(--navy-d);
  font-weight: 500;
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
}


/* ─── Intent Step (04) ────────────────────── */
.intent-em { color: var(--gold-l); font-style: normal; }

.intent-screen {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
}

.intent-q,
.intent-a {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
  max-width: 88%;
}

.intent-q {
  background: var(--gold);
  color: var(--navy-d);
  font-weight: 500;
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
}

.intent-a {
  background: var(--paper);
  color: var(--ink);
  align-self: flex-start;
  border-radius: 14px 14px 14px 4px;
}

.intent-pipeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 14px;
  border: 1px dashed rgba(200,166,107,0.25);
  border-radius: 12px;
  background: rgba(200,166,107,0.04);
}

.intent-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.intent-stage-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
}

.intent-arrow {
  width: 16px;
  height: 20px;
}

.intent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.intent-tag {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(200,166,107,0.2);
  color: var(--cream);
  opacity: 0.55;
  white-space: nowrap;
}

.intent-tag.active {
  border-color: var(--gold);
  color: var(--gold-l);
  opacity: 1;
  font-weight: 600;
}


/* ─── Engines Section ────────────────────── */
.engines {
  background:
    radial-gradient(ellipse at 60% 30%, rgba(200,166,107,0.04) 0%, transparent 50%),
    var(--navy-d);
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.engine-card {
  background:
    linear-gradient(135deg, rgba(248,243,232,0.04) 0%, rgba(248,243,232,0.01) 100%);
  border: 1px solid rgba(200,166,107,0.12);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.3s ease;
  position: relative;
}
.engine-card:hover {
  transform: rotate(0deg) translateY(-4px);
}

/* paper texture on cards */
.engine-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.engine-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
}
.engine-icon svg { width: 100%; height: 100%; }

.engine-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.engine-hanja {
  font-size: 14px;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.5;
}

.engine-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--cream);
  opacity: 0.7;
  margin-bottom: 16px;
}
.engine-desc strong {
  color: var(--gold-l);
  opacity: 1;
}

.engine-detail {
  font-size: 15px;
  color: var(--gold);
  opacity: 0.6;
}


/* ─── Counselors Section ─────────────────── */
.counselors {
  overflow: hidden;
}

.counselor-scroll {
  margin-top: 40px;
  overflow-x: auto;
  padding: 20px 0 30px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(200,166,107,0.2) transparent;
}
.counselor-scroll::-webkit-scrollbar { height: 4px; }
.counselor-scroll::-webkit-scrollbar-track { background: transparent; }
.counselor-scroll::-webkit-scrollbar-thumb { background: rgba(200,166,107,0.2); border-radius: 2px; }

.counselor-track {
  display: flex;
  gap: 24px;
  padding: 0 24px;
  width: max-content;
}

.ai-profile-notice {
  text-align: center;
  font-size: 11px;
  color: var(--cream);
  opacity: 0.35;
  margin-top: 16px;
}

.counselor-polaroid {
  width: 260px;
  background: var(--paper);
  padding: 14px 14px 20px;
  border-radius: 3px;
  box-shadow: 2px 4px 16px rgba(0,0,0,0.3);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.3s ease;
  position: relative;
  flex-shrink: 0;
}
.counselor-polaroid:hover {
  transform: rotate(0deg) translateY(-6px);
}

.polaroid-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: linear-gradient(135deg, #ddd5c8 0%, #c4b9a8 100%);
  border-radius: 2px;
  margin-bottom: 10px;
  display: block;
}

.polaroid-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.polaroid-tag {
  font-size: 11px;
  color: var(--ink-m);
  text-align: center;
  margin-top: 1px;
  opacity: 0.7;
}

.tag-focus {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 3px;
  vertical-align: 1px;
  letter-spacing: 0.3px;
}

.polaroid-quote {
  font-size: 16px;
  color: var(--ink-m);
  text-align: center;
  margin-top: 6px;
  line-height: 1.5;
}

/* masking tape */
.tape {
  position: absolute;
  width: 50px;
  height: 18px;
  background: rgba(200,180,140,0.35);
  top: -8px;
  border-radius: 1px;
}
.tape-left { left: 15px; transform: rotate(-5deg); }
.tape-right { right: 15px; transform: rotate(3deg); }


/* ─── Topics Section ─────────────────────── */
.topics {
  background:
    linear-gradient(180deg, var(--navy-d) 0%, rgba(23,50,87,0.1) 100%);
}

.topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 48px;
}

.topic-tag {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid rgba(200,166,107,0.2);
  background: rgba(200,166,107,0.06);
  color: var(--gold-l);
  font-size: 14px;
  font-weight: 500;
}

/* phone mockup */
.chat-example {
  max-width: 380px;
  margin: 0 auto;
  text-align: center;
}

.chat-phone {
  background: var(--navy);
  border-radius: 24px;
  border: 1px solid rgba(200,166,107,0.1);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.phone-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}

.phone-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(200,166,107,0.2);
}

.phone-counselor {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
}

.phone-time {
  margin-left: auto;
  font-size: 11px;
  color: var(--cream);
  opacity: 0.3;
}

.phone-messages {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 88%;
}

.msg-user {
  background: var(--gold);
  color: var(--navy-d);
  font-weight: 500;
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
}

.msg-ai {
  background: var(--paper);
  color: var(--ink);
  align-self: flex-start;
  border-radius: 16px 16px 16px 4px;
}
.msg-ai p { margin-bottom: 8px; }
.msg-ai p:last-child { margin-bottom: 0; }

.msg-fade,
.mini-fade {
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  opacity: 0.6;
}

.msg-system {
  text-align: center;
  font-size: 11px;
  color: var(--cream);
  opacity: 0.3;
  padding: 4px 0;
  max-width: 100%;
  align-self: center;
  background: none;
}

/* chat-exp section */
.chat-exp {
  padding-top: 0;
  padding-bottom: 0;
}

.chat-exp .chat-phone {
  max-width: 340px;
}

/* profile mockup in phone */
.profile-phone .phone-header {
  border-bottom: 1px solid rgba(200,166,107,0.08);
}

.profile-list {
  padding: 8px 16px 16px;
}

.profile-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
}

.profile-active {
  opacity: 1;
}

.profile-avatar-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(200,166,107,0.12);
  border: 1.5px solid rgba(200,166,107,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}

.profile-active .profile-avatar-circle {
  background: rgba(200,166,107,0.2);
  border-color: var(--gold);
}

.profile-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1px;
}

.profile-name-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
}

.profile-relation {
  font-size: 11.5px;
  color: var(--cream);
  opacity: 0.4;
}

.profile-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(200,166,107,0.12);
  padding: 3px 8px;
  border-radius: 6px;
}

.profile-divider {
  height: 1px;
  background: rgba(200,166,107,0.06);
  margin: 0 4px;
}

.profile-add {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 4px 6px;
}

.profile-add-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px dashed rgba(200,166,107,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gold);
  opacity: 0.5;
}

.profile-add-text {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gold);
  opacity: 0.5;
}

.chat-caption {
  margin-top: 16px;
  font-size: 16px;
  color: var(--gold);
  opacity: 0.5;
}

/* ─── Deep answer phone (포인트 4) ────────── */
.process-sub-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--cream);
  opacity: 0.4;
}
.process-sub-note strong {
  color: var(--gold-l);
  opacity: 1;
}

.deep-phone {
  position: relative;
}

.deep-messages {
  position: relative;
  max-height: 320px;
  overflow: hidden;
}

.deep-messages::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--navy));
  pointer-events: none;
}

.msg-deep {
  border-radius: 16px 16px 16px 4px;
}
.msg-deep p {
  margin-bottom: 12px;
}
.msg-deep p:last-child {
  margin-bottom: 0;
}

.deep-scrollbar {
  position: absolute;
  top: 12px;
  right: 4px;
  width: 3px;
  height: calc(100% - 24px);
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}

.deep-scrollbar-thumb {
  width: 100%;
  height: 22%;
  background: rgba(200,166,107,0.35);
  border-radius: 3px;
}

.deep-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold);
  background: rgba(200,166,107,0.1);
  border: 1px solid rgba(200,166,107,0.2);
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 1;
}


/* ─── Reviews Section ────────────────────── */
.reviews {
  background:
    radial-gradient(ellipse at 40% 60%, rgba(200,166,107,0.03) 0%, transparent 50%),
    var(--navy-d);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.review-card {
  background: var(--paper);
  color: var(--ink);
  padding: 24px 22px;
  border-radius: 4px;
  box-shadow: 2px 3px 12px rgba(0,0,0,0.25);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.3s ease;
  /* lined paper effect */
  background-image: repeating-linear-gradient(
    transparent, transparent 27px, rgba(180,160,130,0.15) 27px, rgba(180,160,130,0.15) 28px
  );
  background-position: 0 20px;
}
.review-card:hover { transform: rotate(0deg); }

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}
.review-stars svg { width: 16px; height: 16px; }

.review-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 12px;
}

.review-author {
  font-size: 12.5px;
  color: var(--ink-m);
  font-weight: 500;
}

.review-dev {
  background-image:
    repeating-linear-gradient(
      transparent, transparent 27px, rgba(180,160,130,0.15) 27px, rgba(180,160,130,0.15) 28px
    );
  border: 1px dashed rgba(200,166,107,0.25);
  background-color: var(--paper);
}

.review-dev .review-text {
  font-family: var(--font-hand);
  font-size: 17px;
  line-height: 1.7;
}

.review-dev .review-author {
  font-family: var(--font-hand);
  font-size: 15px;
}




/* ─── Final CTA ──────────────────────────── */
.final-cta {
  text-align: center;
  padding: clamp(80px, 12vw, 140px) 0;
  background:
    radial-gradient(ellipse at center, rgba(200,166,107,0.06) 0%, transparent 60%);
}

.cta-title {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.4;
  color: var(--gold-l);
  margin-bottom: 32px;
}


/* ─── Footer ─────────────────────────────── */
.footer {
  border-top: 1px solid rgba(200,166,107,0.08);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
}

.footer-copy {
  font-size: 12px;
  color: var(--cream);
  opacity: 0.3;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 13px;
  color: var(--cream);
  opacity: 0.4;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 0.8; }


/* ─── Scroll Reveal ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .process-inner,
  .process-inner.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .engine-grid,
  .review-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .counselor-polaroid { width: 210px; }

  .hero-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .engine-card { padding: 24px 18px; }

  .msg { max-width: 95%; }

  .pillar { padding: 8px 10px; min-width: 44px; }
  .pillar-char { font-size: 17px; }
  .saju-tags { gap: 6px; }
  .saju-tag { font-size: 11px; padding: 5px 10px; }
}
