:root {
  color-scheme: light;
  --hanji: #F3EEE3;
  --ink: #2B2926;
  --ink-soft: #38352F;
  --ink-raised: #454138;
  --paper: #F3EEE3;
  --paper-deep: #E8E0D2;
  --text: #F8F2E7;
  --muted: #BDB5A8;
  --paper-text: #2B2926;
  --paper-muted: #706B63;
  --line: rgba(243, 238, 227, 0.18);
  --line-dark: rgba(43, 41, 38, 0.16);
  --vermilion: #C4634A;
  --vermilion-bright: #AD513C;
  --jade: #3A6B5C;
  --gold: #B8925A;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Noto Serif KR", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  padding: 0 4.5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 19, 23, 0.9);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; }
.brand-name { font-size: 0.78rem; font-weight: 760; letter-spacing: 0.2em; }
.brand-hangul, .footer-brand > span:last-child { color: var(--gold); font-family: var(--serif); font-size: 0.86rem; }
.brand-mark { position: relative; display: grid; grid-template-columns: repeat(3, 5px); grid-template-rows: repeat(3, 5px); gap: 2px; width: 19px; height: 19px; transform: rotate(45deg); }
.brand-mark i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.brand-mark i:nth-child(1) { grid-area: 1 / 2; }
.brand-mark i:nth-child(2) { grid-area: 2 / 1; background: var(--jade); }
.brand-mark i:nth-child(3) { grid-area: 2 / 2; background: var(--vermilion); }
.brand-mark i:nth-child(4) { grid-area: 2 / 3; background: #d9e0e3; }
.brand-mark i:nth-child(5) { grid-area: 3 / 2; background: #5689b4; }

nav { display: flex; align-items: center; gap: 32px; }
nav a { color: var(--muted); font-size: 0.86rem; transition: color 180ms ease; }
nav a:hover, nav a:focus-visible { color: var(--text); }
.header-action { justify-self: end; border-bottom: 1px solid var(--gold); color: var(--text); font-size: 0.84rem; font-weight: 650; padding: 4px 0; }

.reading-shell { padding: 72px 4.5vw 88px; overflow: hidden; }
.section-heading { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(300px, 0.75fr); column-gap: 10vw; align-items: end; max-width: 1480px; margin: 0 auto 42px; }
.eyebrow { margin: 0 0 12px; color: var(--jade); font-size: 0.72rem; font-weight: 760; letter-spacing: 0.2em; }
.eyebrow span { color: var(--vermilion); margin: 0 5px; }
.eyebrow.dark { color: #377465; }
h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 400; }
h1 { grid-row: 2; margin: 0; font-size: clamp(3rem, 5.4vw, 6.2rem); line-height: 0.96; letter-spacing: -0.055em; }
.intro-copy { grid-area: 2 / 2; max-width: 560px; margin: 0 0 5px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.75; }

.reading-grid { display: grid; grid-template-columns: minmax(560px, 0.98fr) minmax(430px, 1.02fr); max-width: 1480px; min-height: 690px; margin: 0 auto; border: 1px solid var(--line); background: var(--ink-soft); box-shadow: 0 32px 90px rgba(0,0,0,0.24); }
.form-panel { padding: clamp(28px, 3.4vw, 54px); }
.panel-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.panel-kicker, .small-label { margin: 0 0 7px; color: var(--jade); font-size: 0.68rem; font-weight: 780; letter-spacing: 0.18em; }
.panel-topline h2 { margin: 0; font-size: clamp(1.65rem, 2.1vw, 2.25rem); line-height: 1.12; }
.time-note { flex: 0 0 auto; color: var(--muted); font-size: 0.78rem; padding-top: 6px; }

.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 36px 0 38px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.stepper li { position: relative; display: flex; gap: 8px; align-items: center; padding-top: 12px; color: #6f7e7c; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.stepper li::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--vermilion); transition: width 300ms ease; }
.stepper li.is-active { color: var(--text); }
.stepper li.is-active::before, .stepper li.is-complete::before { width: 100%; }
.stepper li.is-complete { color: var(--jade); }
.stepper li span { font-family: var(--serif); font-size: 0.8rem; }

.form-step[hidden], .result-shell[hidden], .profile-face[hidden], .profile-palm[hidden] { display: none; }
.form-step.is-active { animation: step-in 300ms ease both; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.field-grid { display: grid; gap: 20px; margin-bottom: 20px; }
.field-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field, .focus-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field > span, .field legend, .focus-field legend { display: block; margin-bottom: 8px; color: #d8e0dc; font-size: 0.85rem; font-weight: 620; }
.field em { color: #7f8e8b; font-size: 0.72rem; font-style: normal; font-weight: 400; margin-left: 5px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="time"], select {
  width: 100%; height: 48px; border: 1px solid rgba(233,242,236,0.18); border-radius: 3px; outline: none; background: rgba(255,255,255,0.035); color: var(--text); padding: 0 13px; transition: border 180ms ease, background 180ms ease;
}
input::placeholder { color: #667673; }
input:focus, select:focus { border-color: var(--jade); background: rgba(255,255,255,0.055); }
input:disabled { opacity: 0.42; }
select option { color: #101c1f; background: white; }
.field-error { display: none; margin-top: 5px; color: #ff9d87; font-size: 0.75rem; }
.field.has-error input { border-color: #ff8267; }
.field.has-error .field-error { display: block; }

.inline-check { display: flex; align-items: center; gap: 7px; margin-top: 8px; color: var(--muted); font-size: 0.74rem; cursor: pointer; }
.inline-check input { width: 14px; height: 14px; accent-color: var(--vermilion); }
.segmented-control { display: grid; grid-template-columns: 1fr 1fr; height: 48px; padding: 3px; border: 1px solid rgba(233,242,236,0.18); border-radius: 3px; }
.segmented-control label, .choice-chips label { cursor: pointer; }
.segmented-control input, .choice-chips input { position: absolute; opacity: 0; pointer-events: none; }
.segmented-control span { display: grid; height: 100%; place-items: center; color: var(--muted); font-size: 0.82rem; transition: 180ms ease; }
.segmented-control input:checked + span { color: var(--text); background: var(--ink-raised); }
.focus-field { margin-top: 26px; }
.choice-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.choice-chips span { display: block; border: 1px solid rgba(233,242,236,0.18); border-radius: 99px; color: var(--muted); padding: 8px 13px; font-size: 0.8rem; transition: 180ms ease; }
.choice-chips input:checked + span { border-color: var(--jade); background: rgba(116,170,153,0.12); color: #dff3eb; }

.form-actions { display: flex; align-items: center; margin-top: 34px; }
.form-actions.end { justify-content: flex-end; }
.form-actions.split { justify-content: space-between; }
.form-actions.choice-actions { flex-wrap: wrap; gap: 10px; }
button { border: 0; cursor: pointer; }
.primary-button, .secondary-button { min-height: 50px; padding: 0 20px; border-radius: 3px; font-size: 0.86rem; font-weight: 680; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.primary-button { background: var(--vermilion); color: white; }
.primary-button:hover { background: var(--vermilion-bright); transform: translateY(-1px); }
.primary-button span { margin-left: 9px; }
.secondary-button { border: 1px solid var(--line); background: transparent; color: var(--text); }
.secondary-button:hover { border-color: var(--jade); }

.privacy-banner { display: flex; gap: 13px; margin-bottom: 24px; border-left: 2px solid var(--jade); background: rgba(116,170,153,0.09); padding: 13px 15px; }
.privacy-icon { color: var(--jade); font-size: 1.5rem; line-height: 1; }
.privacy-banner strong { font-size: 0.86rem; }
.privacy-banner p { margin: 2px 0 0; color: var(--muted); font-size: 0.75rem; line-height: 1.45; }
.optional-skip-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; margin: 0 0 30px; border: 1px solid rgba(43,41,38,.15); background: rgba(255,255,255,.48); padding: 18px 20px; }
.optional-skip-row strong { display: block; color: #49453f; font-size: .9rem; }
.optional-skip-row p { margin: 5px 0 0; color: #6f6960; font-size: .8rem; line-height: 1.55; }
.optional-skip-row .secondary-button { white-space: nowrap; }
.face-layout { display: grid; grid-template-columns: minmax(190px, 0.72fr) minmax(260px, 1.28fr); gap: 26px; }
.upload-card { min-height: 330px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px dashed rgba(233,242,236,0.24); background: rgba(255,255,255,0.02); text-align: center; padding: 20px; transition: border 180ms ease, background 180ms ease; }
.upload-card.is-dragging { border-color: var(--jade); background: rgba(116,170,153,0.08); }
.photo-preview { width: 100%; }
.photo-preview img { width: 120px; height: 146px; margin: 0 auto 15px; object-fit: cover; filter: saturate(0.75); border: 1px solid var(--line); }
.photo-preview p { margin: 14px 0; color: #dbe4df; font-size: 0.82rem; }
.photo-preview small { color: var(--muted); font-size: 0.7rem; }
.face-guide { position: relative; display: block; width: 84px; height: 104px; margin: 0 auto; border: 1px solid rgba(209,173,107,0.5); border-radius: 46% 46% 50% 50%; }
.face-guide i { position: absolute; left: 15%; right: 15%; top: 43%; height: 1px; background: rgba(209,173,107,0.38); }
.face-guide b { position: absolute; top: 8%; bottom: 8%; left: 50%; width: 1px; background: rgba(209,173,107,0.28); }
.text-button { border-bottom: 1px solid var(--gold); background: transparent; color: var(--text); padding: 4px 2px; font-size: 0.78rem; }
.upload-note { color: #72817e; font-size: 0.68rem; }
.observation-intro { margin: 0 0 17px; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }
.observation-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-content: start; }
.observation-fields .observation-intro { grid-column: 1 / -1; }
.observation-fields .field > span { font-size: 0.78rem; }
.observation-fields select { height: 44px; font-size: 0.82rem; }
.palm-capture { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 24px; padding: 19px 20px; border: 1px solid var(--line); background: rgba(255,255,255,0.025); }
.palm-copy h3 { margin: 0 0 5px; font-size: 1.15rem; }
.palm-copy > p:last-child { max-width: 500px; margin: 0; color: var(--muted); font-size: 0.73rem; line-height: 1.5; }
.palm-buttons { display: grid; grid-template-columns: repeat(2, 112px); gap: 9px; }
.palm-upload { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; align-items: center; min-height: 58px; border: 1px solid var(--line); background: transparent; color: var(--text); padding: 7px 9px; text-align: left; }
.palm-upload:hover { border-color: var(--jade); }
.palm-upload > span { grid-row: 1 / 3; color: var(--gold); font-size: 1.35rem; }
.palm-upload b { font-size: 0.72rem; font-weight: 650; }
.palm-upload small { color: var(--muted); font-size: 0.62rem; }
.palm-upload.has-photo { border-color: rgba(116,170,153,0.55); background: rgba(116,170,153,0.08); }
.palm-upload.has-photo small { color: #a4d5c3; }

.visual-panel { position: relative; min-height: 100%; overflow: hidden; background: #091418; }
.visual-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; filter: saturate(0.82) contrast(1.05); }
.visual-wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,15,18,0.12) 20%, rgba(5,15,18,0.74) 100%), linear-gradient(90deg, rgba(5,15,18,0.35), transparent 52%); }
.visual-copy { position: absolute; top: 45px; left: 42px; }
.visual-copy p { margin: 0 0 12px; color: var(--gold); font-size: 0.65rem; font-weight: 760; letter-spacing: 0.2em; }
.visual-copy blockquote { margin: 0; font-size: clamp(1.5rem, 2vw, 2.35rem); line-height: 1.18; text-shadow: 0 3px 20px rgba(0,0,0,0.3); }
.preview-card { position: absolute; right: 34px; bottom: 32px; width: min(420px, calc(100% - 68px)); border: 1px solid rgba(240,243,239,0.23); background: rgba(8,21,24,0.88); padding: 22px; backdrop-filter: blur(14px); box-shadow: 0 18px 45px rgba(0,0,0,0.25); }
.preview-card-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.preview-card-head span { color: var(--jade); font-size: 0.63rem; font-weight: 760; letter-spacing: 0.17em; }
.preview-card-head small { color: #869692; font-size: 0.64rem; }
.online-dot { display: inline-block; width: 6px; height: 6px; margin: 0 3px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 3px rgba(116,170,153,0.12); }
.preview-chat { display: flex; flex-direction: column; gap: 9px; padding-top: 16px; }
.preview-bubble { max-width: 88%; padding: 10px 12px; font-size: 0.72rem; line-height: 1.5; }
.assistant-bubble { align-self: flex-start; border: 1px solid rgba(240,243,239,0.12); background: rgba(240,243,239,0.08); color: #dfe7e2; }
.user-bubble { align-self: flex-end; background: #dfe8df; color: #182528; }
.short-bubble { max-width: 72%; color: #bad6cd; }
.preview-master { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 18px 0; }
.master-glyph { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(104,184,141,0.5); border-radius: 50%; color: #91d0ad; font-family: var(--serif); font-size: 1.5rem; }
.preview-master small { display: block; color: #81908d; font-size: 0.58rem; letter-spacing: 0.15em; }
.preview-master strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.preview-master p { margin: 2px 0 0; color: var(--muted); font-size: 0.68rem; }
.mini-elements { display: grid; gap: 6px; }
.mini-elements span { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 8px; }
.mini-elements i { color: #92a09d; font-size: 0.58rem; font-style: normal; }
.mini-elements b { display: block; height: 3px; background: rgba(255,255,255,0.1); }
.mini-elements b::after { content: ""; display: block; width: var(--value); height: 100%; background: var(--tone); }

.result-shell { padding: 0 4.5vw 96px; }
.result-paper { max-width: 1480px; margin: 0 auto; background: var(--paper); color: var(--paper-text); padding: clamp(28px, 5vw, 76px); box-shadow: 0 32px 90px rgba(0,0,0,0.22); }
.result-header { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.result-header h2 { margin: 0; max-width: 800px; font-size: clamp(2.35rem, 4.3vw, 4.7rem); line-height: 1; letter-spacing: -0.045em; }
.result-header > div > p:last-child { max-width: 670px; margin: 18px 0 0; color: var(--paper-muted); }
.concept-badge { flex: 0 0 auto; border: 1px solid rgba(225,93,66,0.36); color: #a7402d; padding: 7px 10px; font-size: 0.62rem; font-weight: 760; letter-spacing: 0.13em; }
.result-overview { display: grid; grid-template-columns: minmax(320px, 0.82fr) minmax(460px, 1.18fr); gap: 0; border-bottom: 1px solid var(--line-dark); }
.day-master-card, .element-card { padding: 38px 0; }
.day-master-card { padding-right: 42px; border-right: 1px solid var(--line-dark); }
.element-card { padding-left: 42px; }
.small-label { color: #367565; }
.day-master-line { display: flex; align-items: center; gap: 18px; }
.day-master-line > span { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid #74aa99; border-radius: 50%; color: #2f745f; font-family: var(--serif); font-size: 1.8rem; }
.day-master-line h3 { margin: 0; font-size: 2rem; }
.day-master-card > p:nth-of-type(2) { margin: 20px 0; color: var(--paper-muted); }
.keyword-row { display: flex; flex-wrap: wrap; gap: 7px; }
.keyword-row span { border: 1px solid rgba(20,32,35,0.18); border-radius: 99px; padding: 5px 10px; color: #485653; font-size: 0.72rem; }
.card-heading-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.card-heading-row h3 { margin: 0; font-size: 1.45rem; }
.card-heading-row > span { color: var(--paper-muted); font-size: 0.72rem; padding-top: 9px; }
.element-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: end; height: 155px; margin-top: 22px; }
.element-bar { display: grid; grid-template-rows: 1fr auto; gap: 8px; height: 100%; }
.element-track { position: relative; align-self: stretch; background: rgba(20,32,35,0.07); }
.element-fill { position: absolute; right: 0; bottom: 0; left: 0; height: var(--height); background: var(--tone); transition: height 700ms cubic-bezier(.22,.72,.23,1); }
.element-meta { display: flex; justify-content: space-between; gap: 4px; color: var(--paper-muted); font-size: 0.66rem; }
.element-meta strong { color: var(--paper-text); font-weight: 680; }

.reading-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 30px 0 20px; scrollbar-width: none; }
.reading-tabs button { flex: 0 0 auto; border-bottom: 1px solid transparent; background: transparent; color: #6b7774; padding: 9px 15px; font-size: 0.8rem; }
.reading-tabs button.is-active { border-color: var(--vermilion); color: #9f3b29; }
.interpretation-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr); gap: 28px; }
.interpretation-main { background: #f5f7f1; padding: clamp(28px, 4vw, 50px); }
.interpretation-main > h3 { max-width: 760px; margin: 0 0 20px; font-size: clamp(2rem, 3.4vw, 3.7rem); line-height: 1.06; letter-spacing: -0.035em; }
.interpretation-main > p { max-width: 780px; color: var(--paper-muted); font-size: 1.02rem; line-height: 1.85; }
.use-this { display: grid; grid-template-columns: 120px 1fr; gap: 24px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.use-this span { color: #9f3b29; font-size: 0.66rem; font-weight: 780; letter-spacing: 0.14em; }
.use-this p { margin: 0; color: #354340; }
.face-reading-card { border: 1px solid var(--line-dark); padding: clamp(24px, 3.2vw, 40px); }
.face-reading-card h3 { margin: 0 0 16px; font-size: 1.65rem; line-height: 1.2; }
.face-reading-card > p:nth-of-type(2) { color: var(--paper-muted); font-size: 0.86rem; }
.face-reading-card dl { margin: 26px 0 0; }
.face-reading-card dl div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-dark); }
.face-reading-card dt { color: var(--paper-muted); font-size: 0.72rem; }
.face-reading-card dd { margin: 0; font-size: 0.78rem; font-weight: 640; }
.why-row { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.why-row > div { max-width: 820px; }
.why-row p { margin: 0; }
.why-row > div > p:last-child { color: var(--paper-muted); font-size: 0.84rem; }
.dark-button { flex: 0 0 auto; border-color: var(--line-dark); color: var(--paper-text); }
.dark-button:hover { border-color: #2e7462; }
.prototype-note { margin: 35px 0 0; color: #7b8784; font-size: 0.72rem; line-height: 1.65; }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.chat-stage { display: grid; grid-template-columns: minmax(300px, 0.68fr) minmax(560px, 1.32fr); max-width: 1480px; min-height: 760px; margin: 0 auto; border: 1px solid var(--line); background: #0c1b1f; box-shadow: 0 32px 90px rgba(0,0,0,0.25); }
.reading-profile { display: flex; flex-direction: column; padding: clamp(28px, 3.2vw, 48px); border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(16,39,43,0.95), rgba(8,24,28,0.96)); }
.profile-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.profile-heading .small-label { margin: 0; color: var(--jade); }
.profile-reset { border-bottom: 1px solid rgba(209,173,107,0.45); background: transparent; color: var(--gold); padding: 2px 0; font-size: 0.69rem; }
.profile-master { display: flex; align-items: center; gap: 17px; margin-top: 28px; }
.profile-master > span { display: grid; flex: 0 0 auto; place-items: center; width: 62px; height: 62px; border: 1px solid rgba(116,170,153,0.65); border-radius: 50%; color: #9bd2bd; font-family: var(--serif); font-size: 1.8rem; }
.profile-master small { color: var(--muted); font-size: 0.58rem; letter-spacing: 0.15em; }
.profile-master h3 { margin: 0; font-size: 1.65rem; }
.reading-profile > p { margin: 18px 0; color: var(--muted); font-size: 0.82rem; line-height: 1.65; }
.profile-divider { height: 1px; margin: 28px 0 20px; background: var(--line); }
.profile-element-heading { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.profile-element-heading span { color: var(--jade); font-size: 0.62rem; font-weight: 760; letter-spacing: 0.15em; }
.profile-element-heading small { color: var(--muted); font-size: 0.65rem; }
.compact-elements { display: grid; gap: 8px; }
.compact-element { display: grid; grid-template-columns: 47px 1fr 24px; align-items: center; gap: 9px; }
.compact-element > span, .compact-element > strong { font-size: 0.64rem; }
.compact-element > span { color: var(--muted); }
.compact-element > strong { color: #d7e0dc; text-align: right; }
.compact-track { height: 4px; background: rgba(255,255,255,0.08); }
.compact-fill { height: 100%; width: var(--width); background: var(--tone); transition: width 700ms cubic-bezier(.22,.72,.23,1); }
.profile-face { margin-top: 27px; padding-top: 20px; border-top: 1px solid var(--line); }
.profile-face > span { display: block; margin-bottom: 8px; color: var(--jade); font-size: 0.62rem; font-weight: 760; letter-spacing: 0.15em; }
.profile-face strong { display: block; font-family: var(--serif); font-size: 1.16rem; font-weight: 400; }
.profile-face p { margin: 8px 0 0; color: var(--muted); font-size: 0.7rem; line-height: 1.55; }
.profile-membership { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; border: 1px solid rgba(209,173,107,0.32); background: rgba(209,173,107,0.06); padding: 15px; }
.profile-membership small, .profile-membership strong { display: block; }
.profile-membership small { color: var(--gold); font-size: 0.55rem; letter-spacing: 0.12em; }
.profile-membership strong { margin-top: 2px; font-family: var(--serif); font-size: 0.98rem; font-weight: 400; }
.profile-membership b { color: var(--gold); font-weight: 400; }

.chat-window { display: flex; flex-direction: column; min-width: 0; background: var(--paper); color: var(--paper-text); }
.chat-header { display: flex; align-items: center; gap: 12px; min-height: 78px; padding: 13px 25px; border-bottom: 1px solid var(--line-dark); }
.guide-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #173a38; color: #a8d3c3; font-family: var(--serif); }
.chat-header h2 { margin: 0; font-size: 1.05rem; }
.chat-header p { margin: 0; color: var(--paper-muted); font-size: 0.68rem; }
.chat-header .concept-badge { margin-left: auto; }
.chat-date { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 22px 25px 6px; color: #89938f; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.13em; }
.chat-date span { height: 1px; background: var(--line-dark); }
.chat-messages { flex: 1; min-height: 440px; max-height: 560px; overflow-y: auto; padding: 16px clamp(20px, 4vw, 48px) 28px; scrollbar-color: #a8b4b0 transparent; }
.message-row { display: flex; align-items: flex-end; gap: 9px; margin: 14px 0; animation: message-in 280ms ease both; }
.message-row.is-user { justify-content: flex-end; }
.message-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #173a38; color: #b6d8cd; font-family: var(--serif); font-size: 0.66rem; }
.message-bubble { max-width: min(590px, 78%); border: 1px solid rgba(20,32,35,0.12); background: #f7f8f3; padding: 13px 15px; color: #34423f; font-size: 0.87rem; line-height: 1.72; box-shadow: 0 3px 12px rgba(20,32,35,0.035); }
.is-user .message-bubble { border-color: #173a38; background: #173a38; color: #f2f4ef; }
.message-bubble strong { color: var(--paper-text); }
.message-insight { margin-top: 11px; border-left: 2px solid #4e8976; background: #e7eee7; padding: 11px 13px; }
.message-insight small { display: block; color: #538071; font-size: 0.58rem; font-weight: 760; letter-spacing: 0.13em; }
.message-insight strong { display: block; margin-top: 3px; font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.message-insight p { margin: 4px 0 0; color: var(--paper-muted); font-size: 0.72rem; }
.typing-bubble { display: flex; gap: 4px; padding: 14px 16px; }
.typing-bubble i { width: 5px; height: 5px; border-radius: 50%; background: #75908a; animation: typing 1s infinite ease-in-out; }
.typing-bubble i:nth-child(2) { animation-delay: 140ms; }
.typing-bubble i:nth-child(3) { animation-delay: 280ms; }
@keyframes message-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }
.suggested-prompts { display: flex; gap: 7px; overflow-x: auto; padding: 4px 25px 13px; scrollbar-width: none; }
.suggested-prompts button { flex: 0 0 auto; border: 1px solid var(--line-dark); border-radius: 99px; background: transparent; color: #4f5f5b; padding: 7px 10px; font-size: 0.68rem; }
.suggested-prompts button:hover { border-color: #4f8878; color: #2f6f5e; }
.chat-form { display: grid; grid-template-columns: 1fr 42px; gap: 8px; margin: 0 25px; border: 1px solid rgba(20,32,35,0.2); background: #f8faf5; padding: 6px; }
.chat-form input { height: 42px; border: 0; outline: 0; background: transparent; color: var(--paper-text); padding: 0 9px; }
.chat-form input::placeholder { color: #7f8b88; }
.chat-form button { display: grid; place-items: center; width: 42px; height: 42px; background: var(--vermilion); color: white; font-size: 1.15rem; }
.chat-note { margin: 8px 25px 17px; color: #89938f; font-size: 0.6rem; text-align: center; }

.membership-section { display: grid; grid-template-columns: minmax(300px, 0.82fr) minmax(500px, 1.18fr) minmax(270px, 0.62fr); gap: 3.5vw; max-width: 1640px; margin: 0 auto; padding: 110px 4.5vw 120px; }
.membership-intro h2 { margin: 0; font-size: clamp(2.7rem, 4.6vw, 5.1rem); line-height: 1; letter-spacing: -0.05em; }
.membership-intro > p:nth-of-type(2) { max-width: 530px; margin: 28px 0; color: var(--muted); }
.delivery-rhythm { border-top: 1px solid var(--line); }
.delivery-rhythm article { display: grid; grid-template-columns: 98px 1fr; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.rhythm-time span, .rhythm-time strong { display: block; }
.rhythm-time span { color: #72817e; font-size: 0.57rem; font-weight: 760; letter-spacing: 0.14em; }
.rhythm-time strong { color: var(--gold); font-family: var(--serif); font-size: 1.12rem; font-weight: 400; }
.delivery-rhythm .method-korean { margin: 0 0 3px; font-size: 1rem; }
.delivery-rhythm h3 { margin: 0 0 4px; font-size: 1.18rem; }
.delivery-rhythm p { margin: 0; color: var(--muted); font-size: 0.79rem; line-height: 1.55; }
.delivery-rhythm small { display: block; margin-top: 6px; color: #71807d; font-size: 0.63rem; }
.membership-card { align-self: stretch; border: 1px solid rgba(209,173,107,0.38); background: linear-gradient(145deg, rgba(209,173,107,0.12), rgba(116,170,153,0.05)); padding: 28px; }
.membership-price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 8px; }
.membership-price strong { color: #f2e6ca; font-family: var(--serif); font-size: 2.8rem; font-weight: 400; line-height: 1; }
.membership-price span { color: var(--muted); font-size: 0.7rem; }
.membership-card h3 { margin: 0; font-size: 1.5rem; }
.membership-card ul { margin: 27px 0; padding: 0; list-style: none; }
.membership-card li { padding: 9px 0; border-bottom: 1px solid var(--line); color: #ccd5d1; font-size: 0.79rem; }
.membership-card li span { margin-right: 8px; color: var(--jade); }
.membership-button { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: space-between; background: var(--gold); color: #142023; padding: 0 15px; font-size: 0.8rem; font-weight: 700; }
.membership-card > small { display: block; margin-top: 10px; color: #73827f; font-size: 0.62rem; text-align: center; }
.membership-card .payment-assurance { color: rgba(255,255,255,0.68); }
.membership-card .payment-assurance b { color: #f5e8cb; font-weight: 760; }
.plan-comparison { grid-column: 1 / -1; margin-top: 42px; border-top: 1px solid rgba(24,52,56,.18); padding-top: 48px; }
.plan-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr); gap: 7vw; align-items: end; margin-bottom: 28px; }
.plan-heading .eyebrow { color: var(--teal); }
.plan-heading h2 { max-width: 850px; margin: 0; color: var(--ink); font-size: clamp(2.25rem, 4vw, 4.4rem); line-height: 1; letter-spacing: -.045em; }
.plan-heading > p { margin: 0; color: #666159; line-height: 1.7; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan-card { position: relative; border: 1px solid rgba(43,41,38,.17); background: rgba(255,255,255,.52); padding: clamp(24px, 3vw, 38px); }
.plan-card.is-annual { border-color: rgba(47,111,94,.5); background: linear-gradient(145deg, #40695C, #2B5146); color: #f8f2e8; box-shadow: 0 22px 52px rgba(43,41,38,.14); }
.plan-card > p:first-of-type { margin: 0; color: var(--teal); font-size: .75rem; font-weight: 780; letter-spacing: .13em; }
.plan-card.is-annual > p:first-of-type { color: #b9ddcf; }
.plan-card h3 { margin: 13px 0 8px; font-size: 1.35rem; }
.plan-card > p:last-of-type { min-height: 48px; margin: 0 0 23px; color: #666159; }
.plan-card.is-annual > p:last-of-type { color: #cedbd6; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 15px; }
.plan-price strong { color: var(--ink); font-family: var(--serif); font-size: clamp(2.35rem, 4vw, 3.7rem); font-weight: 400; line-height: 1; }
.plan-card.is-annual .plan-price strong { color: #f6e8cc; }
.plan-price span { color: #756e65; font-size: .78rem; }
.plan-card.is-annual .plan-price span { color: #b8cbc5; }
.plan-card button { width: 100%; }
.plan-card .secondary-button { border-color: rgba(43,41,38,.22); color: var(--ink); }
.plan-badge { position: absolute; top: 22px; right: 22px; border: 1px solid rgba(246,232,204,.4); color: #f6e8cc; padding: 6px 9px; font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.plan-comparison > small { display: block; margin-top: 14px; color: #756e65; font-size: .75rem; line-height: 1.55; }

.talisman-section { padding: 110px 7vw 120px; background: var(--paper); color: var(--paper-text); }
.talisman-heading { display: grid; grid-template-columns: minmax(450px, 1.15fr) minmax(330px, 0.85fr); gap: 9vw; align-items: end; max-width: 1480px; margin: 0 auto 52px; }
.talisman-heading h2 { max-width: 850px; margin: 0; font-size: clamp(2.8rem, 5vw, 5.6rem); line-height: 0.98; letter-spacing: -0.055em; }
.talisman-heading > p { max-width: 520px; margin: 0; color: var(--paper-muted); }
.creation-modes { display: grid; grid-template-columns: 1fr 1fr; max-width: 1480px; margin: 0 auto; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.creation-mode { padding: 38px 4vw 42px 0; }
.creation-mode + .creation-mode { border-left: 1px solid var(--line-dark); padding-right: 0; padding-left: 4vw; }
.mode-art { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 235px; margin-bottom: 28px; background: #142427; color: white; overflow: hidden; }
.mode-art > i { color: var(--gold); font-family: var(--serif); font-size: 2rem; font-style: normal; }
.source-tile, .talisman-tile { display: grid; place-items: center; width: 110px; height: 140px; }
.source-tile { border: 1px dashed rgba(255,255,255,0.35); color: #9eaeaa; font-size: 0.64rem; line-height: 1.4; letter-spacing: 0.12em; text-align: center; }
.talisman-tile { background: #9f3125; color: #f0c66f; font-family: var(--serif); font-size: 3rem; box-shadow: 0 12px 35px rgba(0,0,0,0.26); }
.transform-art { background: radial-gradient(circle at 65% 45%, #31514e, #102124 58%); }
.talisman-tile.glow { background: linear-gradient(160deg, #a53327, #6e1e1c); box-shadow: 0 0 40px rgba(225,93,66,0.34), 0 12px 35px rgba(0,0,0,0.26); }
.creation-mode .method-number { color: #6b7774; }
.creation-mode h3 { margin: 8px 0 10px; font-size: 1.6rem; }
.creation-mode > p:nth-of-type(2) { color: var(--paper-muted); }
.mode-fit { display: inline-block; margin-top: 12px; border-bottom: 1px solid #b15a47; color: #8e3c2d; font-size: 0.72rem; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1480px; margin: 42px auto 0; border: 1px solid var(--line-dark); }
.offer-grid article { padding: 25px 28px; }
.offer-grid article + article { border-left: 1px solid var(--line-dark); }
.offer-grid p { margin: 0; color: #487868; font-size: 0.63rem; font-weight: 760; letter-spacing: 0.12em; }
.offer-grid strong { display: block; margin: 8px 0; font-family: var(--serif); font-size: 1.85rem; font-weight: 400; }
.offer-grid span { color: var(--paper-muted); font-size: 0.78rem; }
.offer-note { max-width: 1480px; margin: 13px auto 0; color: #75817e; font-size: 0.7rem; }

.membership-dialog { width: min(600px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; border: 0; background: var(--paper); color: var(--paper-text); padding: clamp(28px, 5vw, 52px); box-shadow: 0 30px 100px rgba(0,0,0,0.55); }
.membership-dialog::backdrop { background: rgba(3,11,13,0.78); backdrop-filter: blur(5px); }
.membership-dialog h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.045em; }
.membership-lede { color: var(--paper-muted); }
.sandbox-notice { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 8px 0 17px; border: 1px solid rgba(177,90,71,.28); background: rgba(177,90,71,.08); color: #7f3529; padding: 7px 10px; font-size: .74rem; line-height: 1.2; }
.sandbox-notice[hidden] { display: none; }
.sandbox-notice strong { font-size: .7rem; letter-spacing: .1em; }
.sandbox-notice span { border-left: 1px solid rgba(177,90,71,.28); padding-left: 9px; color: #765f58; }
.dialog-close { position: absolute; top: 14px; right: 16px; background: transparent; color: #6b7774; font-size: 1.5rem; }
.membership-dialog form { margin-top: 25px; }
.membership-plan-choice { margin: 0 0 22px; border: 0; padding: 0; }
.membership-plan-choice legend { margin-bottom: 9px; color: var(--paper-text); font-size: .82rem; font-weight: 680; }
.dialog-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.dialog-plan-grid label { position: relative; cursor: pointer; }
.dialog-plan-grid input { position: absolute; opacity: 0; pointer-events: none; }
.dialog-plan-grid label > span { display: flex; min-height: 126px; flex-direction: column; border: 1px solid rgba(20,32,35,.16); background: rgba(255,255,255,.42); padding: 14px; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.dialog-plan-grid input:checked + span { border-color: #3b7566; background: rgba(59,117,102,.08); box-shadow: inset 0 0 0 1px #3b7566; }
.dialog-plan-grid input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.dialog-plan-grid b { color: var(--paper-text); font-size: .86rem; }
.dialog-plan-grid strong { margin-top: 8px; color: #315f54; font-family: var(--serif); font-size: 1.08rem; font-weight: 500; }
.dialog-plan-grid small { margin-top: auto; color: #756e65; font-size: .75rem; }
.dialog-plan-grid em { align-self: flex-start; margin-bottom: 7px; background: #a44939; color: #fff; padding: 3px 6px; font-size: .75rem; font-style: normal; font-weight: 780; letter-spacing: .08em; }
.contact-verification { margin-bottom: 24px; border: 1px solid rgba(20,32,35,.16); background: rgba(255,255,255,.42); padding: 18px; }
.verification-heading { margin-bottom: 17px; }
.verification-heading p { margin: 0 0 5px; color: #9f3b29; font-size: .75rem; font-weight: 760; letter-spacing: .12em; }
.verification-heading h3 { margin: 0; color: var(--paper-text); font-size: 1.2rem; }
.verification-heading span { display: block; margin-top: 5px; color: var(--paper-muted); font-size: .8rem; }
.verification-channel + .verification-channel { margin-top: 15px; }
.verification-channel > label { display: block; margin-bottom: 7px; color: var(--paper-text); font-size: .82rem; font-weight: 650; }
.verification-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.verification-entry input { min-width: 0; height: 46px; border-color: rgba(20,32,35,.2); background: rgba(255,255,255,.68); color: var(--paper-text); }
.verification-send { min-height: 46px; border-color: rgba(20,32,35,.2); color: #203e42; padding: 0 14px; font-size: .78rem; }
.verification-channel > small { display: block; margin-top: 6px; color: #796e68; font-size: .75rem; }
.verification-meaning { margin: 16px 0 0; border-top: 1px solid rgba(20,32,35,.12); color: #756d66; padding-top: 13px; font-size: .75rem; line-height: 1.55; }
.verification-setup-note { margin: 10px 0 0; background: rgba(164,73,57,.08); color: #7b4a40; padding: 9px 10px; font-size: .75rem; line-height: 1.5; }
.verification-setup-note strong { color: #923f31; }
.light-field > span { color: var(--paper-text); }
.light-field input, .light-field select { border-color: rgba(20,32,35,0.2); background: rgba(255,255,255,0.55); color: var(--paper-text); }
.checkout-summary { margin-bottom: 16px; border-top: 1px solid rgba(20,32,35,0.16); border-bottom: 1px solid rgba(20,32,35,0.16); }
.checkout-summary > div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; }
.checkout-summary > div + div { border-top: 1px solid rgba(20,32,35,0.11); }
.checkout-summary span { color: var(--paper-muted); font-size: 0.8rem; }
.checkout-summary strong { color: var(--paper-text); font-size: 0.82rem; font-weight: 700; text-align: right; }
.trial-consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin: 18px 0 14px; color: var(--paper-muted); font-size: 0.76rem; line-height: 1.5; cursor: pointer; }
.trial-consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--vermilion); }
.dialog-submit { width: 100%; margin-top: 5px; }
.membership-dialog > small { display: block; margin-top: 16px; color: #7b8784; font-size: 0.66rem; }
.checkout-note { line-height: 1.55; }
.checkout-note span { margin-right: 5px; color: #3b7566; }

.method-section { max-width: 1480px; margin: 0 auto; padding: 100px 4.5vw 120px; }
.method-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 55px; }
.method-heading h2, .principles-copy h2 { margin: 0; font-size: clamp(2.55rem, 4.5vw, 5rem); line-height: 1.02; letter-spacing: -0.05em; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-grid article { position: relative; min-height: 350px; padding: 34px 34px 38px 0; }
.method-grid article + article { border-left: 1px solid var(--line); padding-left: 34px; }
.method-number { color: #6f817d; font-size: 0.68rem; letter-spacing: 0.14em; }
.method-korean { margin: 38px 0 15px; color: var(--gold); font-family: var(--serif); font-size: 3.2rem; }
.method-grid h3 { margin: 0 0 16px; font-size: 1.45rem; }
.method-grid article > p:last-child { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.8; }

.principles-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 9vw; padding: 100px 7vw; background: #0b1a1e; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles-copy { position: sticky; top: 120px; align-self: start; }
.principles-copy > p:last-child { max-width: 490px; margin-top: 26px; color: var(--muted); }
.principles-list article { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.principles-list article:last-child { border-bottom: 1px solid var(--line); }
.principles-list article > span { color: var(--vermilion); font-family: var(--serif); }
.principles-list h3 { margin: 0 0 6px; font-size: 1.3rem; }
.principles-list p { margin: 0; color: var(--muted); font-size: 0.86rem; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 118px; padding: 0 4.5vw; color: var(--muted); font-size: 0.75rem; }
.footer-brand { display: flex; gap: 10px; align-items: center; }
.footer-note { justify-self: end; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; max-width: 340px; background: #f0f3ef; color: #122023; padding: 12px 16px; box-shadow: 0 10px 35px rgba(0,0,0,0.35); font-size: 0.78rem; transform: translateY(20px); opacity: 0; pointer-events: none; transition: 220ms ease; }
.toast.is-visible { transform: none; opacity: 1; }

/* Fresh hanok daylight direction */
body {
  background: #e8f1ef;
  color: #183438;
}

.page-noise { opacity: 0.07; }

.site-header {
  border-bottom-color: rgba(24, 52, 56, 0.13);
  background: rgba(247, 250, 246, 0.88);
  box-shadow: 0 5px 24px rgba(39, 83, 87, 0.06);
}

.site-header .brand-name,
.site-header .header-action { color: #17383c; }
.site-header nav a { color: #58716f; }
.site-header nav a:hover,
.site-header nav a:focus-visible { color: #17383c; }
.site-header .header-action { border-bottom-color: #b56a54; }

.reading-shell {
  background:
    radial-gradient(circle at 86% 4%, rgba(255, 255, 255, 0.86), transparent 29%),
    linear-gradient(180deg, #d9edf2 0%, #edf5f2 55%, #e6efec 100%);
}

.reading-shell .section-heading h1 { color: #17383c; }
.reading-shell .eyebrow { color: #2c7669; }
.reading-shell .intro-copy { color: #58716f; }

.reading-grid {
  border-color: rgba(24, 52, 56, 0.13);
  background: #f8fbf7;
  box-shadow: 0 30px 85px rgba(38, 79, 83, 0.16);
}

.form-panel {
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(245,249,244,0.98));
  color: #173438;
}
.form-panel .panel-kicker { color: #2e7869; }
.form-panel .panel-topline h2 { color: #19383c; }
.form-panel .time-note { color: #637b78; }
.form-panel .stepper { border-top-color: rgba(24, 52, 56, 0.15); }
.form-panel .stepper li { color: #82928f; }
.form-panel .stepper li.is-active { color: #17383c; }
.form-panel .stepper li.is-complete { color: #337968; }
.form-panel .field > span,
.form-panel .field legend,
.form-panel .focus-field legend { color: #253f43; }
.form-panel input[type="text"],
.form-panel input[type="date"],
.form-panel input[type="time"],
.form-panel select {
  border-color: rgba(24, 52, 56, 0.18);
  background: rgba(255,255,255,0.8);
  color: #173438;
}
.form-panel input::placeholder { color: #899895; }
.form-panel input:focus,
.form-panel select:focus {
  border-color: #4d9484;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(77,148,132,0.1);
}
.form-panel .inline-check { color: #647b78; }
.form-panel .segmented-control { border-color: rgba(24, 52, 56, 0.18); background: #edf4f0; }
.form-panel .segmented-control span { color: #647a77; }
.form-panel .segmented-control input:checked + span { background: #fff; color: #173438; box-shadow: 0 2px 10px rgba(31,72,76,0.08); }
.form-panel .choice-chips span { border-color: rgba(24, 52, 56, 0.18); color: #5b716f; background: rgba(255,255,255,0.62); }
.form-panel .choice-chips input:checked + span { border-color: #4d9484; background: #e4f1eb; color: #245d51; }
.form-panel .secondary-button { border-color: rgba(24,52,56,0.18); color: #203e42; }
.form-panel .privacy-banner { background: #e8f4ef; }
.form-panel .privacy-banner strong { color: #21453f; }
.form-panel .privacy-banner p { color: #607772; }
.form-panel .upload-card { border-color: rgba(24,52,56,0.23); background: rgba(224,239,234,0.36); }
.form-panel .upload-card.is-dragging { border-color: #4d9484; background: #e7f3ef; }
.form-panel .photo-preview p { color: #29484b; }
.form-panel .photo-preview small,
.form-panel .upload-note,
.form-panel .observation-intro { color: #647b78; }
.form-panel .text-button { border-bottom-color: #ae684f; color: #29484b; }
.form-panel .palm-capture { border-color: rgba(24,52,56,0.14); background: #edf5f1; }
.form-panel .palm-copy h3 { color: #19383c; }
.form-panel .palm-copy > p:last-child { color: #607772; }
.form-panel .palm-upload { border-color: rgba(24,52,56,0.17); background: rgba(255,255,255,0.66); color: #203e42; }
.form-panel .palm-upload small { color: #6a807c; }
.form-panel .palm-upload.has-photo { border-color: rgba(77,148,132,0.55); background: #e2f0ea; }
.form-panel .palm-upload.has-photo small { color: #2b6b5d; }

.visual-panel { background: #b8d9df; }
.visual-panel > img {
  object-position: 57% center;
  filter: saturate(0.88) contrast(0.98) brightness(1.03);
}
.visual-wash {
  background:
    linear-gradient(180deg, rgba(239,249,249,0.08) 25%, rgba(16,48,53,0.52) 100%),
    linear-gradient(90deg, rgba(233,245,245,0.42), transparent 55%);
}
.visual-copy p { color: #8d4838; text-shadow: 0 1px 10px rgba(255,255,255,0.5); }
.visual-copy blockquote { color: #17363a; text-shadow: 0 1px 15px rgba(255,255,255,0.7); }
.preview-card { border-color: rgba(255,255,255,0.46); background: rgba(17,50,54,0.84); box-shadow: 0 18px 45px rgba(25,60,64,0.21); }

.result-shell { background: linear-gradient(180deg, #e6efec, #dfecea); }
.reading-profile { color: var(--text); }

.membership-section {
  max-width: none;
  background:
    radial-gradient(circle at 9% 13%, rgba(255,255,255,0.75), transparent 24%),
    linear-gradient(135deg, #d7ebeb, #edf4ee 67%);
  color: #183438;
}
.membership-section > *:first-child { margin-left: max(0px, calc((100vw - 1640px) / 2)); }
.membership-section > *:last-child { margin-right: max(0px, calc((100vw - 1640px) / 2)); }
.membership-section > .plan-comparison { margin-right: max(0px, calc((100vw - 1640px) / 2)); margin-left: max(0px, calc((100vw - 1640px) / 2)); }
.membership-intro .eyebrow { color: #2d7769; }
.membership-intro h2 { color: #17383c; }
.membership-intro > p:nth-of-type(2) { color: #58716f; }
.delivery-rhythm { border-top-color: rgba(24,52,56,0.15); }
.delivery-rhythm article { border-bottom-color: rgba(24,52,56,0.15); }
.delivery-rhythm .rhythm-time span,
.delivery-rhythm small { color: #667d79; }
.delivery-rhythm .rhythm-time strong { color: #985443; }
.delivery-rhythm .method-korean { color: #2d7769; }
.delivery-rhythm h3 { color: #17383c; }
.delivery-rhythm p { color: #5b7270; }
.membership-card {
  border-color: rgba(182,108,84,0.3);
  background: linear-gradient(145deg, #1c4b4d, #153b40);
  box-shadow: 0 24px 55px rgba(35,80,83,0.16);
  color: #f2f6f1;
}
.membership-card .panel-kicker { color: #9ed1c2; }
.membership-card li { border-bottom-color: rgba(255,255,255,0.13); color: #d8e4df; }
.membership-card > small { color: #9db0ac; }

.method-section { max-width: none; background: #f8faf6; color: #183438; }
.method-section > * { max-width: 1480px; margin-right: auto; margin-left: auto; }
.method-section .eyebrow { color: #2d7769; }
.method-section .method-grid { border-color: rgba(24,52,56,0.16); }
.method-section .method-grid article + article { border-left-color: rgba(24,52,56,0.16); }
.method-section .method-korean { color: #a55743; }
.method-section .method-number { color: #6b817d; }
.method-section .method-grid article > p:last-child { color: #5b716f; }

.principles-section { background: linear-gradient(145deg, #174045, #0f3136); color: var(--text); }
footer { background: #102f34; color: #b8cac5; }

.eyebrow,
.panel-kicker,
.small-label,
.method-number,
.profile-element-heading span,
.profile-face > span,
.preview-card-head span { font-size: 0.75rem; }
.preview-card-head small,
.preview-bubble,
.compact-element > span,
.compact-element > strong,
.chat-header p,
.chat-note,
.delivery-rhythm small,
.membership-card > small,
.offer-note { font-size: 0.75rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .reading-grid { grid-template-columns: 1fr; }
  .visual-panel { min-height: 600px; }
  .result-overview { grid-template-columns: 1fr; }
  .day-master-card { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .element-card { padding-left: 0; }
  .interpretation-grid { grid-template-columns: 1fr; }
  .chat-stage { grid-template-columns: minmax(270px, 0.55fr) minmax(460px, 1.45fr); }
  .membership-section { grid-template-columns: 1fr 1fr; }
  .membership-card { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-header { min-height: 64px; padding: 0 20px; }
  .brand-hangul { display: none; }
  .header-action { font-size: 0.72rem; }
  .reading-shell { padding: 48px 18px 64px; }
  .section-heading { display: block; margin-bottom: 30px; }
  h1 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .intro-copy { margin-top: 22px; }
  .reading-grid { min-height: auto; }
  .form-panel { padding: 25px 20px 30px; }
  .panel-topline { display: block; }
  .time-note { display: block; margin-top: 8px; }
  .field-grid.two-col, .face-layout, .observation-fields { grid-template-columns: 1fr; }
  .observation-fields .observation-intro { grid-column: auto; }
  .visual-panel { min-height: 510px; }
  .palm-capture { grid-template-columns: 1fr; }
  .palm-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visual-copy { top: 28px; left: 24px; }
  .preview-card { right: 18px; bottom: 18px; width: calc(100% - 36px); }
  .result-shell { padding: 0 18px 64px; }
  .result-paper { padding: 32px 20px; }
  .chat-stage { grid-template-columns: 1fr; }
  .reading-profile { border-right: 0; border-bottom: 1px solid var(--line); }
  .profile-membership { margin-top: 28px; }
  .chat-window { min-height: 680px; }
  .chat-header { padding: 13px 17px; }
  .chat-header .concept-badge { display: none; }
  .chat-date { margin-right: 17px; margin-left: 17px; }
  .chat-messages { padding-right: 17px; padding-left: 17px; }
  .message-bubble { max-width: 88%; }
  .suggested-prompts { padding-right: 17px; padding-left: 17px; }
  .chat-form { margin-right: 17px; margin-left: 17px; }
  .chat-note { margin-right: 17px; margin-left: 17px; }
  .membership-section { grid-template-columns: 1fr; padding: 78px 20px 88px; }
  .membership-card { grid-column: auto; }
  .membership-section > .plan-comparison { grid-column: auto; margin: 20px 0 0; padding-top: 36px; }
  .plan-heading, .plan-grid { grid-template-columns: 1fr; }
  .plan-heading { gap: 18px; }
  .talisman-section { padding: 78px 20px 88px; }
  .talisman-heading { grid-template-columns: 1fr; gap: 24px; }
  .creation-modes { grid-template-columns: 1fr; }
  .creation-mode { padding: 30px 0; }
  .creation-mode + .creation-mode { border-top: 1px solid var(--line-dark); border-left: 0; padding-left: 0; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-grid article + article { border-top: 1px solid var(--line-dark); border-left: 0; }
  .result-header, .why-row { display: block; }
  .concept-badge { display: inline-block; margin-top: 18px; }
  .card-heading-row { display: block; }
  .card-heading-row > span { display: block; }
  .element-bars { gap: 6px; }
  .element-meta { display: block; text-align: center; }
  .element-meta strong { display: block; }
  .interpretation-main { padding: 28px 20px; }
  .use-this { grid-template-columns: 1fr; gap: 8px; }
  .dark-button { margin-top: 22px; }
  .method-section { padding: 76px 20px 85px; }
  .method-heading { display: block; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: auto; padding: 28px 0; }
  .method-grid article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .method-korean { margin-top: 22px; }
  .principles-section { grid-template-columns: 1fr; padding: 76px 20px; }
  .principles-copy { position: static; }
  footer { grid-template-columns: 1fr; gap: 5px; padding: 28px 20px; }
  footer > p { margin: 0; }
  .footer-note { justify-self: start; }
}

@media (max-width: 440px) {
  .brand-name { font-size: 0.69rem; }
  .header-action { border: 1px solid var(--line); padding: 6px 8px; }
  .stepper li strong { display: none; }
  .form-actions.split { gap: 10px; }
  .form-actions.split button { padding: 0 13px; }
  .optional-skip-row, .verification-entry, .dialog-plan-grid { grid-template-columns: 1fr; }
  .optional-skip-row .secondary-button, .verification-send { width: 100%; }
  .choice-actions button { width: 100%; }
  .visual-panel { min-height: 465px; }
  .preview-card { padding: 17px; }
  .preview-card-head small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .reading-shell, .membership-section, .talisman-section, .method-section, .principles-section, footer, .suggested-prompts, .chat-form { display: none !important; }
  body { background: white; }
  .result-shell { display: block !important; padding: 0; }
  .result-paper { box-shadow: none; max-width: none; }
}

/* Native language switch, progressive disclosure, and considered analysis wait */
.site-header { grid-template-columns: 1fr auto auto auto; column-gap: clamp(16px, 2.5vw, 36px); }
.language-switch { display: inline-flex; align-items: center; border: 1px solid rgba(43,41,38,.16); border-radius: 999px; padding: 2px; }
.language-switch button { min-width: 38px; border-radius: 999px; background: transparent; color: #726c63; padding: 5px 8px; font-size: .68rem; font-weight: 720; }
.language-switch button[aria-pressed="true"] { background: var(--ink); color: #fff9ee; }
html[lang="ko"] body { word-break: keep-all; }

.hero-entry-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 34px; }
.hero-entry-actions .scroll-invitation { margin-top: 0; }
.scroll-invitation.is-secondary { border-bottom-color: rgba(255,255,255,.48); color: rgba(255,255,255,.82); }
.birth-progress { position: relative; }
.birth-progress-stage[hidden] { display: none; }
.birth-progress-stage.is-active { animation: step-in 280ms ease both; }
.birth-progress-label { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: #71817d; font-size: .72rem; letter-spacing: .08em; }
.birth-progress-label b { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(58,107,92,.34); border-radius: 50%; color: var(--teal); font-family: var(--serif); font-weight: 400; }
.progressive-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; }
.optional-layer { margin-top: 14px; border: 1px solid rgba(43,41,38,.16); background: rgba(255,255,255,.38); }
.optional-layer summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; color: #3f4c48; padding: 18px 20px; font-family: var(--serif); font-size: 1.05rem; list-style: none; }
.optional-layer summary::-webkit-details-marker { display: none; }
.optional-layer summary::after { content: "+"; color: var(--coral); font-family: var(--sans); font-size: 1.3rem; }
.optional-layer[open] summary::after { content: "−"; }
.optional-layer-content { padding: 0 20px 22px; }
.optional-layer-content .palm-capture { margin-top: 0; }

.permission-center { margin-bottom: 24px; border: 1px solid rgba(58,107,92,.2); background: #eef4ef; color: var(--ink); padding: 22px; }
.permission-heading h3 { margin: 0; font-size: 1.3rem; }
.permission-heading > p:last-child { margin: 7px 0 0; color: #68736f; font-size: .74rem; line-height: 1.55; }
.permission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.permission-grid article { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid rgba(43,41,38,.12); background: rgba(255,255,255,.72); padding: 13px; }
.permission-grid article > div { display: grid; grid-template-columns: 22px 1fr; align-items: center; min-width: 0; }
.permission-grid article > div > span { grid-row: 1 / 3; color: var(--coral); }
.permission-grid strong { font-size: .8rem; }
.permission-grid small { color: #77817d; font-size: .61rem; line-height: 1.4; }
.permission-grid small[data-permission="granted"] { color: var(--teal); }
.permission-grid .secondary-button { min-height: 38px; border-color: rgba(58,107,92,.3); color: var(--teal); padding: 0 12px; white-space: nowrap; font-size: .68rem; }
.voice-future-note { margin-top: 13px; border-top: 1px solid rgba(43,41,38,.1); padding-top: 11px; }
.voice-future-note summary { cursor: pointer; color: #49675f; font-size: .68rem; }
.voice-future-note p { margin: 9px 0 0; color: #707872; font-size: .66rem; line-height: 1.6; }

.concept-help { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; max-width: 1480px; margin: -18px auto 34px; }
.concept-help-label { color: #6f7772; font-size: .72rem; }
.concept-help-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.concept-help-buttons button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(58,107,92,.24); border-radius: 999px; background: rgba(255,255,255,.52); color: #355c53; padding: 7px 10px 7px 12px; font-size: .72rem; }
.concept-help-buttons button:hover, .concept-help-buttons button[aria-expanded="true"] { border-color: var(--teal); background: #fffdf7; }
.concept-help-buttons i { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--teal); color: white; font-size: .6rem; font-style: normal; }
.concept-help-popover { position: absolute; top: calc(100% + 10px); left: 0; z-index: 8; width: min(520px, calc(100vw - 44px)); border-left: 3px solid var(--coral); background: #fffaf0; color: var(--ink); padding: 20px 46px 20px 21px; box-shadow: 0 20px 60px rgba(43,41,38,.18); }
.concept-help-popover[hidden] { display: none; }
.concept-help-popover > button { position: absolute; top: 8px; right: 12px; background: transparent; color: #817970; font-size: 1.25rem; }
.concept-help-popover strong { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.concept-help-popover p { margin: 8px 0 0; color: #6c655d; font-size: .76rem; line-height: 1.65; }

.analysis-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(24,33,31,.82); padding: 22px; backdrop-filter: blur(12px); }
.analysis-overlay[hidden] { display: none; }
.analysis-panel { width: min(520px, 100%); border: 1px solid rgba(255,255,255,.2); background: #f5efe3; color: var(--ink); padding: clamp(34px, 6vw, 62px); text-align: center; box-shadow: 0 38px 120px rgba(0,0,0,.4); }
.sandglass { position: relative; width: 54px; height: 70px; margin: 0 auto 24px; border-top: 3px solid var(--brass); border-bottom: 3px solid var(--brass); animation: sandglass-turn 2s ease-in-out infinite; }
.sandglass::before, .sandglass::after { content: ""; position: absolute; left: 8px; width: 0; height: 0; border-left: 19px solid transparent; border-right: 19px solid transparent; }
.sandglass::before { top: 6px; border-top: 25px solid #d19b5d; }
.sandglass::after { bottom: 6px; border-bottom: 25px solid #6f948a; }
.sandglass span { position: absolute; top: 31px; left: 25px; width: 4px; height: 9px; background: var(--coral); border-radius: 4px; }
@keyframes sandglass-turn { 0%,42% { transform: rotate(0); } 58%,100% { transform: rotate(180deg); } }
.analysis-kicker { margin: 0 0 12px; color: var(--coral); font-size: .62rem; font-weight: 780; letter-spacing: .16em; }
.analysis-panel h2 { margin: 0; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.05; }
.analysis-panel > p:not(.analysis-kicker) { min-height: 25px; margin: 18px 0; color: #686159; font-size: .82rem; }
.analysis-time { display: flex; justify-content: center; align-items: baseline; gap: 6px; margin: 10px 0 12px; color: var(--teal); }
.analysis-time strong { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.analysis-time span { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; }
.analysis-progress { height: 3px; overflow: hidden; background: rgba(43,41,38,.12); }
.analysis-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg,var(--teal),var(--coral)); transition: width 120ms linear; }
.analysis-panel > small { display: block; margin-top: 12px; color: #8b847a; font-size: .65rem; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .site-header nav { display: none; }
}
@media (max-width: 760px) {
  .site-header { column-gap: 10px; }
  .language-switch button { min-width: 34px; padding: 4px 6px; }
  .header-action { display: none; }
  .hero-entry-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .progressive-actions { flex-direction: column-reverse; }
  .progressive-actions button { width: 100%; }
  .optional-layer-content { padding: 0 12px 16px; }
  .concept-help { margin-top: -10px; }
  .permission-grid { grid-template-columns: 1fr; }
  .permission-grid article { align-items: stretch; flex-direction: column; }
}

/* K-Dreamer · quiet hanok courtyard direction */
body {
  background: var(--hanji);
  color: var(--ink);
}

.page-noise {
  z-index: 50;
  opacity: 0.055;
  mix-blend-mode: multiply;
}

.site-header {
  min-height: 74px;
  border-bottom-color: rgba(43, 41, 38, 0.11);
  background: rgba(243, 238, 227, 0.88);
  box-shadow: none;
}

.site-header .brand-name,
.site-header .header-action,
.site-header nav a { color: var(--ink); }
.site-header nav a { opacity: 0.68; }
.site-header nav a:hover,
.site-header nav a:focus-visible { color: var(--teal); opacity: 1; }
.site-header .header-action { border-bottom-color: var(--brass); }
.brand-hangul,
.footer-brand > span:last-child { color: var(--coral); }
.brand-mark i:nth-child(1) { background: var(--brass); }
.brand-mark i:nth-child(2) { background: var(--teal); }
.brand-mark i:nth-child(3) { background: var(--coral); }
.brand-mark i:nth-child(4) { background: #D6C9B4; }
.brand-mark i:nth-child(5) { background: #708B86; }

.courtyard-hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - 74px);
  overflow: hidden;
  align-items: flex-end;
  color: #FBF6EC;
  background: #3B3831;
  isolation: isolate;
}

.courtyard-hero-image,
.courtyard-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.courtyard-hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(0.68) contrast(0.96) brightness(0.9);
  animation: courtyard-arrival 1500ms ease-out both;
}

.courtyard-hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(28, 27, 24, 0.68) 0%, rgba(33, 31, 27, 0.25) 48%, rgba(33, 31, 27, 0.06) 76%),
    linear-gradient(180deg, rgba(30, 29, 26, 0.05) 45%, rgba(25, 24, 21, 0.58) 100%);
}

@keyframes courtyard-arrival {
  from { opacity: 0.65; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

.courtyard-hero-copy {
  width: min(680px, 84vw);
  margin: 0 0 clamp(64px, 9vh, 112px) clamp(28px, 7vw, 120px);
}

.hero-kicker {
  margin: 0 0 20px;
  color: #E7D3B1;
  font-size: 0.69rem;
  font-weight: 760;
  letter-spacing: 0.22em;
}

.courtyard-hero h1 {
  grid-row: auto;
  margin: 0;
  color: #FBF6EC;
  font-size: clamp(4.2rem, 8vw, 8.8rem);
  line-height: 0.85;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.courtyard-hero-copy > p:not(.hero-kicker) {
  max-width: 530px;
  margin: 30px 0 0;
  color: rgba(251, 246, 236, 0.82);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.34rem);
  line-height: 1.75;
}

.scroll-invitation {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 35px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(231, 211, 177, 0.65);
  color: #F4E8D4;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
}
.scroll-invitation i { font-size: 1rem; font-style: normal; }

.hero-season {
  position: absolute;
  right: clamp(24px, 4.5vw, 72px);
  bottom: clamp(28px, 4vw, 58px);
  margin: 0;
  color: rgba(251, 246, 236, 0.72);
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  writing-mode: vertical-rl;
}
.hero-season span { color: #F2C5B6; }

#dream,
#reading,
#membership,
#method, #plans { scroll-margin-top: 74px; }

.dream-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(560px, 1.28fr);
  gap: clamp(56px, 8vw, 150px);
  min-height: 980px;
  padding: clamp(110px, 13vw, 190px) clamp(28px, 7vw, 120px);
  overflow: hidden;
  align-items: center;
  background:
    radial-gradient(circle at 9% 20%, rgba(255,255,255,0.72), transparent 26%),
    var(--hanji);
}

.dream-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, var(--coral), transparent);
  opacity: 0.42;
}

.dream-story { align-self: center; }
.dream-story .eyebrow { color: var(--teal); }
.dream-story .eyebrow span { color: var(--coral); }
.dream-story h2,
.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.4rem, 6.2vw, 7.1rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.section-heading h2 { grid-area: 2 / 1; }

.dream-story > p:not(.eyebrow):not(.dream-side-note) {
  max-width: 470px;
  margin: 32px 0 0;
  color: #615D56;
  font-size: 1rem;
  line-height: 1.95;
}

.dream-side-note {
  margin: 44px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--coral);
  color: var(--teal);
  font-family: var(--serif);
  font-size: 0.94rem;
  font-style: italic;
}

.dream-threshold {
  position: relative;
  min-height: 720px;
  margin-bottom: 62px;
}

.dream-threshold > img {
  width: 100%;
  height: 630px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.7) contrast(0.96);
  box-shadow: 0 30px 80px rgba(43, 41, 38, 0.16);
}

.dream-lattice {
  position: absolute;
  top: -26px;
  right: -26px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(184,146,90,0.48);
  background:
    repeating-linear-gradient(90deg, transparent 0 25px, rgba(184,146,90,0.3) 25px 27px),
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(184,146,90,0.3) 25px 27px);
  opacity: 0.75;
}

.dream-card {
  position: absolute;
  right: clamp(-34px, -2vw, -16px);
  bottom: 0;
  width: min(590px, 88%);
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid rgba(43,41,38,0.14);
  background: rgba(249, 245, 236, 0.96);
  box-shadow: 0 26px 70px rgba(36,35,31,0.16);
  backdrop-filter: blur(10px);
}

.dream-card > label {
  display: block;
  margin-bottom: 15px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.dream-card textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 134px;
  border: 0;
  border-bottom: 1px solid rgba(43,41,38,0.24);
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 6px 0 15px;
  font: 0.94rem/1.8 var(--sans);
}
.dream-card textarea::placeholder { color: #9A9388; }
.dream-card textarea:focus { border-bottom-color: var(--teal); }

.voice-dream {
  margin-top: 16px;
  border: 1px solid rgba(58,107,92,.2);
  background: rgba(238,244,239,.72);
  padding: 14px 15px;
}
.voice-dream-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.voice-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .55rem; }
.voice-dream-heading div { display: grid; gap: 2px; }
.voice-dream-heading strong { color: var(--ink); font: 600 .76rem/1.3 var(--sans); }
.voice-dream-heading small { color: #71807b; font-size: .59rem; }
.voice-trust { border: 1px solid rgba(58,107,92,.22); border-radius: 999px; color: var(--teal); padding: 4px 8px; font-size: .55rem; text-transform: uppercase; letter-spacing: .08em; }
.voice-dream > p { margin: 10px 0; color: #656d69; font-size: .66rem; line-height: 1.5; }
.voice-dream-controls { display: flex; align-items: center; gap: 8px; }
.voice-dream-controls button { min-height: 34px; border: 1px solid rgba(43,41,38,.16); background: #fffdf8; color: var(--ink); padding: 0 11px; cursor: pointer; font-size: .64rem; }
.voice-dream-controls .voice-record { border-color: var(--teal); color: var(--teal); }
.voice-dream-controls .voice-record span { color: var(--coral); }
.voice-dream-controls .voice-stop { background: var(--ink); color: #fff; }
.voice-dream-controls time { margin-left: auto; color: #65716d; font: .68rem/1 var(--mono, monospace); }
.voice-meter { display: flex; align-items: center; gap: 2px; height: 22px; opacity: .28; }
.voice-meter i { display: block; width: 2px; height: 6px; background: var(--teal); }
.voice-dream[data-state="recording"] .voice-meter { opacity: 1; }
.voice-dream[data-state="recording"] .voice-meter i { animation: voice-pulse .7s ease-in-out infinite alternate; }
.voice-dream[data-state="recording"] .voice-meter i:nth-child(2) { animation-delay: .12s; }
.voice-dream[data-state="recording"] .voice-meter i:nth-child(3) { animation-delay: .24s; }
.voice-dream[data-state="recording"] .voice-meter i:nth-child(4) { animation-delay: .36s; }
.voice-dream[data-state="recording"] .voice-meter i:nth-child(5) { animation-delay: .48s; }
@keyframes voice-pulse { to { height: 20px; } }
.voice-privacy { margin-top: 9px; color: #6b7571; font-size: .59rem; }
.voice-privacy summary { cursor: pointer; color: var(--teal); }
.voice-privacy p { margin: 7px 0 0; line-height: 1.55; }

.dream-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}
.dream-card-footer small { color: #847E74; font-size: 0.68rem; }
.dream-card-footer button {
  flex: 0 0 auto;
  border: 0;
  background: var(--ink);
  color: #FAF4E8;
  padding: 13px 17px;
  cursor: pointer;
  font-size: 0.76rem;
}
.dream-card-footer button:hover { background: var(--teal); }
.dream-card-footer button:disabled { cursor: wait; opacity: 0.72; }

.dream-response {
  margin-top: 25px;
  padding: 18px 20px;
  border-left: 2px solid var(--coral);
  background: #ECE7DB;
  color: #514D47;
  font-family: var(--serif);
  font-size: 0.96rem;
  line-height: 1.75;
  animation: message-in 280ms ease both;
}
.dream-response[hidden] { display: none; }
.dream-threshold.has-reading { min-height: 1180px; }
.dream-threshold.has-reading .dream-card { width: min(760px, 96%); }
.dream-response { border-left: 0; background: #f4eee2; padding: 0; font-family: var(--sans); overflow: hidden; }
.dream-result-opening { padding: 24px 24px 21px; border-left: 3px solid var(--coral); }
.dream-result-opening small { display: block; margin-bottom: 9px; color: var(--coral); font-size: .62rem; font-weight: 780; letter-spacing: .13em; }
.dream-result-opening h3 { margin: 0 0 11px; color: var(--ink); font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.05; }
.dream-result-opening p { margin: 0; color: #5d5851; font-family: var(--serif); font-size: .95rem; line-height: 1.72; }
.dream-journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(43,41,38,.1); }
.dream-scene { min-width: 0; border-right: 1px solid rgba(43,41,38,.1); background: #faf5eb; }
.dream-scene:last-child { border-right: 0; }
.dream-scene img { display: block; width: 100%; aspect-ratio: 1.3 / 1; object-fit: cover; filter: saturate(.88) brightness(1.04); }
.dream-scene-copy { padding: 15px 14px 17px; }
.dream-scene-copy small { color: var(--coral); font-size: .55rem; font-weight: 760; letter-spacing: .12em; }
.dream-scene-copy strong { display: block; margin: 7px 0 8px; color: var(--ink); font-family: var(--serif); font-size: 1rem; line-height: 1.2; }
.dream-scene-copy p { margin: 0; color: #6c655d; font-size: .68rem; line-height: 1.55; }
.dream-followup { padding: 22px 24px 25px; background: #e7efe9; }
.dream-followup h4 { margin: 0 0 6px; color: #284a43; font-family: var(--serif); font-size: 1.15rem; }
.dream-followup > p { margin: 0 0 14px; color: #64746f; font-size: .7rem; line-height: 1.5; }
.dream-question { margin-top: 14px; }
.dream-question > span { display: block; margin-bottom: 8px; color: #334f49; font-size: .67rem; font-weight: 720; }
.dream-choice-row { display: flex; flex-wrap: wrap; gap: 7px; }
.dream-choice { border: 1px solid rgba(58,107,92,.28); border-radius: 999px; background: rgba(255,255,255,.74); color: #31574e; padding: 8px 11px; cursor: pointer; font-size: .64rem; }
.dream-choice:hover, .dream-choice[aria-pressed="true"] { border-color: var(--teal); background: var(--teal); color: white; }
.dream-deeper { margin-top: 17px !important; border-top: 1px solid rgba(58,107,92,.18); padding-top: 14px; color: #315149 !important; font-family: var(--serif); font-size: .82rem !important; line-height: 1.65 !important; }

.reading-shell {
  padding: clamp(110px, 12vw, 175px) 4.5vw clamp(110px, 12vw, 170px);
  background:
    radial-gradient(circle at 88% 3%, rgba(255,255,255,0.55), transparent 25%),
    linear-gradient(180deg, #E5E3DA 0%, #EDE8DC 100%);
}

.section-heading {
  grid-template-columns: minmax(410px, 1fr) minmax(300px, 0.62fr);
  max-width: 1440px;
  margin-bottom: 58px;
}
.reading-shell .section-heading h2 { color: var(--ink); }
.reading-shell .eyebrow { color: var(--teal); }
.reading-shell .intro-copy { color: #666159; line-height: 1.9; }

.reading-grid {
  max-width: 1440px;
  border-color: rgba(43,41,38,0.14);
  background: #F8F3E9;
  box-shadow: 0 34px 85px rgba(43, 41, 38, 0.13);
}
.form-panel {
  background: linear-gradient(145deg, rgba(250,247,239,0.99), rgba(241,235,223,0.99));
  color: var(--ink);
}
.form-panel .panel-kicker { color: var(--teal); }
.form-panel .panel-topline h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.1vw, 2.25rem);
  font-weight: 400;
  line-height: 1.12;
}
.form-panel .time-note,
.form-panel .inline-check,
.form-panel .photo-preview small,
.form-panel .upload-note,
.form-panel .observation-intro { color: #777168; }
.form-panel .stepper { border-top-color: rgba(43,41,38,0.15); }
.form-panel .stepper li { color: #999187; }
.form-panel .stepper li.is-active { color: var(--ink); }
.form-panel .stepper li.is-complete { color: var(--teal); }
.form-panel .field > span,
.form-panel .field legend,
.form-panel .focus-field legend { color: #49453F; }
.form-panel input[type="text"],
.form-panel input[type="date"],
.form-panel input[type="time"],
.form-panel select {
  border-color: rgba(43,41,38,0.18);
  background: rgba(255,253,247,0.76);
  color: var(--ink);
}
.form-panel input:focus,
.form-panel select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(58,107,92,0.09); }
.form-panel .segmented-control { border-color: rgba(43,41,38,0.16); background: #EAE4D8; }
.form-panel .segmented-control span { color: #756F66; }
.form-panel .segmented-control input:checked + span { color: var(--ink); background: #FCF8F0; }
.form-panel .choice-chips span { border-color: rgba(43,41,38,0.17); color: #655F57; background: rgba(255,253,248,0.64); }
.form-panel .choice-chips input:checked + span { border-color: var(--teal); background: #DFE8E1; color: #294F43; }
.form-panel .privacy-banner,
.form-panel .palm-capture { background: #E5E9E0; }
.form-panel .upload-card { background: rgba(232,225,211,0.46); }
.form-panel .secondary-button { color: var(--ink); border-color: rgba(43,41,38,0.2); }

.visual-panel { background: #C6CABF; }
.visual-panel > img { filter: saturate(0.58) sepia(0.08) contrast(0.94) brightness(0.96); }
.visual-wash {
  background:
    linear-gradient(180deg, rgba(243,238,227,0.08) 26%, rgba(43,41,38,0.55) 100%),
    linear-gradient(90deg, rgba(243,238,227,0.28), transparent 60%);
}
.visual-copy p { color: #7E4437; }
.visual-copy blockquote { color: #35322C; }
.preview-card { background: rgba(43,41,38,0.88); border-color: rgba(243,238,227,0.35); }

.result-shell { padding-top: 96px; background: linear-gradient(180deg, #E7E2D7, #F3EEE3); }
.chat-stage { background: var(--ink); box-shadow: 0 32px 90px rgba(43,41,38,0.2); }
.reading-profile { background: linear-gradient(180deg, #3B3933, #282723); }
.chat-window { background: #F4EFE5; }
.message-bubble { background: #FBF7EF; }
.is-user .message-bubble { border-color: var(--teal); background: var(--teal); }
.guide-avatar,
.message-avatar { background: var(--teal); color: #F5EBDA; }
.chat-form button { background: var(--coral); }

.membership-section {
  padding-top: clamp(110px, 12vw, 170px);
  padding-bottom: clamp(110px, 12vw, 170px);
  background:
    radial-gradient(circle at 8% 12%, rgba(255,255,255,0.65), transparent 22%),
    linear-gradient(135deg, #D9E1D9, #ECE7DB 70%);
  color: var(--ink);
}
.membership-intro .eyebrow { color: var(--teal); }
.membership-intro h2 { color: var(--ink); }
.membership-intro > p:nth-of-type(2),
.delivery-rhythm p { color: #666159; }
.delivery-rhythm { border-top-color: rgba(43,41,38,0.16); }
.delivery-rhythm article { border-bottom-color: rgba(43,41,38,0.16); }
.delivery-rhythm .rhythm-time strong { color: var(--coral); }
.delivery-rhythm .method-korean { color: var(--teal); }
.delivery-rhythm h3 { color: var(--ink); }
.membership-card {
  border-color: rgba(184,146,90,0.42);
  background: linear-gradient(145deg, #40695C, #2B5146);
  box-shadow: 0 24px 55px rgba(43,41,38,0.15);
}
.membership-card .panel-kicker { color: #D8CAB0; }

.talisman-section { background: #F3EEE3; color: var(--ink); }
.talisman-heading > p { color: #6F6960; }
.creation-mode + .creation-mode,
.offer-grid,
.offer-grid article + article { border-color: rgba(43,41,38,0.16); }
.method-section { background: #E8E2D5; color: var(--ink); }
.method-section .eyebrow { color: var(--teal); }
.method-section .method-grid,
.method-section .method-grid article + article { border-color: rgba(43,41,38,0.16); }
.method-section .method-korean { color: var(--coral); }
.method-section .method-grid article > p:last-child { color: #69635B; }

.principles-section {
  background:
    radial-gradient(circle at 15% 10%, rgba(184,146,90,0.1), transparent 26%),
    var(--ink);
  color: #F7F0E4;
}
.principles-copy > p:last-child,
.principles-list p { color: #BDB5A8; }
footer { background: #22211E; color: #BDB5A8; }

.membership-dialog { background: #F6F0E4; color: var(--ink); }
.membership-dialog::backdrop { background: rgba(43,41,38,0.72); }
.membership-dialog .light-field > span { color: var(--ink); }

:focus-visible { outline-color: var(--brass); }

@media (max-width: 1080px) {
  .dream-section { grid-template-columns: 1fr; min-height: auto; }
  .dream-story { max-width: 650px; }
  .dream-story > p:not(.eyebrow):not(.dream-side-note) { max-width: 620px; }
  .dream-threshold { width: min(900px, 100%); margin-left: auto; }
}

@media (max-width: 760px) {
  .courtyard-hero { min-height: calc(100svh - 64px); }
  .courtyard-hero-image { object-position: 61% center; }
  .courtyard-hero-shade {
    background:
      linear-gradient(90deg, rgba(28,27,24,0.63), rgba(28,27,24,0.08)),
      linear-gradient(180deg, rgba(28,27,24,0.04) 30%, rgba(28,27,24,0.69) 100%);
  }
  .courtyard-hero-copy { margin: 0 24px 72px; }
  .courtyard-hero h1 { font-size: clamp(4rem, 20vw, 6.2rem); }
  .hero-season { display: none; }
  .dream-section { gap: 54px; padding: 96px 20px 120px; }
  .dream-story h2,
  .section-heading h2 { font-size: clamp(3.3rem, 15vw, 5.3rem); }
  .dream-threshold { min-height: auto; margin: 0; padding-bottom: 0; }
  .dream-threshold > img { height: 470px; }
  .dream-lattice { right: -12px; width: 110px; height: 110px; }
  .dream-card { position: relative; right: auto; bottom: auto; width: calc(100% - 20px); margin: -62px 0 0 20px; padding: 28px 22px; }
  .dream-card-footer { align-items: flex-start; flex-direction: column; }
  .dream-card-footer button { width: 100%; }
  .reading-shell { padding: 100px 18px 110px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading .intro-copy { margin-top: 28px; }
  .result-shell { padding-top: 64px; }
}

@media (max-width: 440px) {
  .courtyard-hero-copy { width: auto; }
  .courtyard-hero-copy > p:not(.hero-kicker) { font-size: 1rem; }
  .scroll-invitation { margin-top: 26px; }
  .dream-threshold > img { height: 390px; }
  .dream-card { width: calc(100% - 10px); margin-left: 10px; }
}

@media print {
  .courtyard-hero,
  .dream-section { display: none !important; }
}

/* Camera capture, cultural journey, and richer source-image layouts */
.palm-capture {
  display: block;
  margin-top: 24px;
  padding: 22px;
}
.palm-copy { display: grid; grid-template-columns: minmax(190px, .62fr) minmax(260px, 1.38fr); column-gap: 22px; align-items: end; }
.palm-copy .panel-kicker { grid-column: 1 / -1; }
.palm-copy h3 { margin: 0; }
.palm-copy > p:last-child { max-width: 620px; }
.palm-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.palm-option { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: center; border: 1px solid rgba(43,41,38,.16); background: rgba(255,253,248,.68); padding: 10px; }
.palm-option.has-photo { border-color: rgba(58,107,92,.48); background: #e2eee7; }
.mini-capture-frame { position: relative; display: grid; place-items: center; width: 92px; height: 112px; overflow: hidden; background: linear-gradient(145deg, #d9d2c4, #f1ecdf); }
.mini-capture-frame > img.capture-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.palm-option.has-photo .palm-guide { z-index: 1; opacity: .46; filter: drop-shadow(0 1px 2px rgba(255,255,255,.85)); }
.mini-capture-frame .palm-preview-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); }
.palm-option.has-photo .palm-guide { position: relative; z-index: 2; opacity: .8; filter: drop-shadow(0 1px 5px rgba(255,255,255,.9)); }
.capture-kind { position: absolute; right: 6px; bottom: 5px; left: 6px; z-index: 2; color: rgba(255,255,255,.94); font-size: .48rem; font-weight: 760; letter-spacing: .09em; text-align: center; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.capture-kind b { color: inherit; font-family: var(--serif); font-size: .7rem; font-weight: 400; }
.palm-guide { position: relative; display: block; width: 52px; height: 72px; opacity: .68; }
.palm-guide b { position: absolute; bottom: 4px; left: 10px; width: 35px; height: 43px; border: 1.5px solid #3a6b5c; border-radius: 46% 46% 42% 42%; transform: rotate(-4deg); }
.palm-guide i { position: absolute; bottom: 43px; width: 7px; border: 1.5px solid #3a6b5c; border-bottom: 0; border-radius: 8px 8px 0 0; }
.palm-guide i:nth-child(1) { left: 10px; height: 21px; transform: rotate(-8deg); }
.palm-guide i:nth-child(2) { left: 19px; height: 29px; }
.palm-guide i:nth-child(3) { left: 28px; height: 33px; }
.palm-guide i:nth-child(4) { left: 37px; height: 27px; transform: rotate(5deg); }
.palm-guide i:nth-child(5) { left: 2px; bottom: 22px; height: 24px; transform: rotate(-47deg); transform-origin: bottom; }
.is-left-palm .palm-guide { transform: scaleX(-1); }
.palm-option-copy strong, .palm-option-copy small { display: block; }
.palm-option-copy strong { color: #294744; font-family: var(--serif); font-size: 1.02rem; font-weight: 400; }
.palm-option-copy small { color: #72817e; font-size: .64rem; }
.palm-option.has-photo .palm-option-copy small { color: #2f6f5e; }
.capture-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; width: 100%; }
.palm-option .capture-actions { grid-column: 1 / -1; }
.camera-trigger, .file-trigger { min-height: 37px; border: 1px solid rgba(43,41,38,.18); background: rgba(255,255,255,.68); color: #36514d; padding: 0 11px; font-size: .68rem; font-weight: 680; }
.camera-trigger { border-color: var(--teal); background: var(--teal); color: #fffaf0; }
.camera-trigger:hover { background: #2d594d; }
.file-trigger:hover { border-color: var(--teal); color: var(--teal); }
.capture-actions.compact { justify-content: stretch; }
.capture-actions.compact button { flex: 1; }

.upload-card { justify-content: flex-start; min-height: 390px; padding: 15px; border-style: solid; }
.photo-preview { display: flex; flex: 1; flex-direction: column; justify-content: center; }
.face-capture-frame { position: relative; width: min(190px, 100%); aspect-ratio: 4 / 5; margin: 0 auto; overflow: hidden; background: linear-gradient(150deg, #ded7c8, #f2eddf 66%, #d7e4dc); }
.face-capture-frame::before { content: ""; position: absolute; left: 50%; bottom: -20%; width: 82%; height: 55%; border-radius: 50% 50% 0 0; background: rgba(58,107,92,.13); transform: translateX(-50%); }
.face-capture-frame .face-guide { position: absolute; top: 16%; left: 50%; z-index: 2; width: 48%; height: 57%; margin: 0; border: 1.5px solid rgba(58,107,92,.62); transform: translateX(-50%); }
.face-capture-frame .face-guide::after { content: ""; position: absolute; top: 112%; left: 50%; width: 132%; height: 65%; border: 1.5px solid rgba(58,107,92,.45); border-bottom: 0; border-radius: 50% 50% 0 0; transform: translateX(-50%); }
.capture-corners { position: absolute; inset: 9px; border: 0 solid rgba(184,146,90,.8); background: linear-gradient(#b8925a,#b8925a) left top/20px 1px no-repeat, linear-gradient(#b8925a,#b8925a) left top/1px 20px no-repeat, linear-gradient(#b8925a,#b8925a) right top/20px 1px no-repeat, linear-gradient(#b8925a,#b8925a) right top/1px 20px no-repeat, linear-gradient(#b8925a,#b8925a) left bottom/20px 1px no-repeat, linear-gradient(#b8925a,#b8925a) left bottom/1px 20px no-repeat, linear-gradient(#b8925a,#b8925a) right bottom/20px 1px no-repeat, linear-gradient(#b8925a,#b8925a) right bottom/1px 20px no-repeat; }
.photo-preview .face-capture-frame > img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; border: 0; object-fit: cover; filter: saturate(.82); }
.upload-card.has-photo .face-guide { border-color: rgba(255,255,255,.62); }
.upload-card.has-photo .face-guide i, .upload-card.has-photo .face-guide b { background: rgba(255,255,255,.38); }
.photo-preview p { margin: 12px 0; }

.story-journey { max-width: 1480px; margin: 0 auto 74px; color: var(--ink); }
.story-heading { display: grid; grid-template-columns: minmax(420px, 1.12fr) minmax(320px, .88fr); gap: clamp(36px, 8vw, 120px); align-items: end; margin-bottom: 38px; }
.story-heading h2 { max-width: 780px; margin: 0; font-size: clamp(3rem, 5.3vw, 5.8rem); line-height: .95; letter-spacing: -.055em; }
.story-introduction > p:first-child { margin: 0; color: #69635b; font-size: 1rem; line-height: 1.75; }
.story-disclaimer { margin: 20px 0 0; border-left: 2px solid var(--coral); padding-left: 13px; color: #777067; font-size: .72rem; }
.story-disclaimer span { color: var(--teal); font-family: var(--serif); font-size: .9rem; }
.story-reel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.story-scene { overflow: hidden; background: #f7f1e6; box-shadow: 0 20px 55px rgba(43,41,38,.11); }
.story-scene:nth-child(2) { margin-top: 42px; }
.scene-image { position: relative; display: block; aspect-ratio: 1.12 / 1; overflow: hidden; background: #c9c4b9; }
.scene-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(25,27,24,.66)); pointer-events: none; }
.scene-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.65,.25,1), filter 400ms ease; }
.scene-image:hover img, .scene-image:focus-visible img { transform: scale(1.035); filter: saturate(1.07); }
.scene-number { position: absolute; top: 16px; left: 18px; z-index: 2; color: rgba(255,255,255,.9); font-family: var(--serif); font-size: 1.35rem; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.map-link { position: absolute; right: 14px; bottom: 13px; left: 14px; z-index: 2; display: flex; align-items: center; gap: 8px; color: white; font-size: .65rem; font-weight: 700; letter-spacing: .03em; }
.map-link i { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; font-style: normal; }
.scene-copy { padding: 25px 24px 27px; }
.scene-copy > p:first-child { margin: 0 0 13px; color: var(--coral); font-size: .62rem; font-weight: 780; letter-spacing: .14em; }
.scene-copy > p:first-child span { color: var(--teal); font-family: var(--serif); font-size: .84rem; }
.scene-copy h3 { margin: 0; font-size: clamp(1.55rem, 2vw, 2rem); line-height: 1.08; }
.scene-copy > p:nth-of-type(2) { min-height: 96px; margin: 16px 0; color: #686159; font-size: .82rem; line-height: 1.67; }
.scene-copy blockquote { margin: 0 0 18px; border-top: 1px solid rgba(43,41,38,.14); border-bottom: 1px solid rgba(43,41,38,.14); padding: 14px 0; color: #3a5f55; font-size: .98rem; line-height: 1.45; }
.scene-copy small { display: block; color: #8a8379; font-size: .58rem; line-height: 1.45; }

.kindred-story { display: grid; grid-template-columns: minmax(330px, .82fr) minmax(520px, 1.18fr); gap: clamp(34px, 7vw, 104px); max-width: 1280px; margin: 0 auto 82px; border-top: 1px solid rgba(43,41,38,.15); padding-top: 58px; color: var(--ink); }
.kindred-story-heading h2 { white-space: pre-line; margin: 0 0 22px; font-size: clamp(2.6rem, 4.2vw, 4.8rem); line-height: .97; letter-spacing: -.05em; }
.kindred-story-heading > p:last-child { max-width: 500px; margin: 0; color: #6d675f; font-size: .82rem; line-height: 1.75; }
.kindred-story-card { display: grid; grid-template-columns: 120px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; background: #f8f1e5; padding: clamp(27px, 4vw, 46px); box-shadow: 0 20px 58px rgba(43,41,38,.1); }
.kindred-seal { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid rgba(184,146,90,.46); background: #253f43; color: #f1d9a7; font-family: var(--serif); }
.kindred-seal span { display: block; font-size: 3.6rem; line-height: 1; }
.kindred-seal small { margin-top: -24px; color: rgba(255,255,255,.58); font-size: .5rem; letter-spacing: .18em; }
.kindred-story-copy > p:first-child { margin: 0 0 10px; color: var(--coral); font-size: .6rem; font-weight: 780; letter-spacing: .13em; }
.kindred-story-copy h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.kindred-story-copy > p:nth-of-type(2) { margin: 18px 0; color: #5f5a53; font-size: .82rem; line-height: 1.75; }
.kindred-story-copy blockquote { margin: 0 0 20px; border-left: 2px solid var(--coral); padding-left: 16px; color: #385c54; font-family: var(--serif); font-size: 1.02rem; line-height: 1.55; }
.kindred-next-step { border-top: 1px solid rgba(43,41,38,.14); padding-top: 16px; }
.kindred-next-step span { color: #8b7654; font-size: .53rem; font-weight: 780; letter-spacing: .14em; }
.kindred-next-step p { margin: 7px 0 0; color: #3f4e49; font-size: .75rem; line-height: 1.55; }
.kindred-disclaimer { grid-column: 2; margin: -18px 0 0; color: #827b72; font-size: .6rem; line-height: 1.55; }

.honest-reading { max-width: 1280px; margin: 0 auto 86px; color: var(--ink); }
.honest-reading-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.honest-reading-heading .eyebrow { margin: 0; }
.honest-reading-heading h2 { max-width: 650px; margin: 0; text-align: right; font-size: clamp(2rem, 3.5vw, 3.8rem); line-height: 1.02; letter-spacing: -.04em; }
.honest-reading-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(43,41,38,.15); background: rgba(255,255,255,.28); }
.honest-reading-grid article { min-height: 240px; padding: clamp(24px, 3vw, 38px); border-right: 1px solid rgba(43,41,38,.13); }
.honest-reading-grid article:last-child { border-right: 0; }
.honest-reading-grid small { color: var(--coral); font-size: .56rem; font-weight: 780; letter-spacing: .12em; }
.honest-reading-grid h3 { margin: 15px 0 12px; font-size: 1.35rem; line-height: 1.16; }
.honest-reading-grid p { margin: 0; color: #69635b; font-size: .75rem; line-height: 1.72; }
.honest-action-card { background: #294740; }
.honest-action-card h3 { color: #f6efe3; }
.honest-action-card p { color: #d5ded9; }

.source-photo-card { position: relative; width: 124px; height: 158px; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.36); background: #d8cdbb; box-shadow: 0 12px 28px rgba(0,0,0,.28); transform: rotate(-2deg); }
.transform-art .source-photo-card { transform: rotate(2deg); }
.source-photo-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68) contrast(.96); }
.palm-source img { object-position: center 42%; }
.source-photo-card::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.66); pointer-events: none; }
.source-photo-card figcaption { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; background: rgba(25,29,27,.8); color: #f6efe3; padding: 6px 8px; }
.source-photo-card figcaption span { font-size: .5rem; font-weight: 760; letter-spacing: .1em; }
.source-photo-card figcaption b { color: #e5c27d; font-family: var(--serif); font-size: .78rem; font-weight: 400; }

.camera-dialog { width: min(590px, calc(100% - 28px)); border: 0; background: #f5efe3; color: var(--ink); padding: clamp(24px, 5vw, 44px); box-shadow: 0 35px 110px rgba(0,0,0,.52); }
.camera-dialog::backdrop { background: rgba(30,28,25,.78); backdrop-filter: blur(7px); }
.camera-dialog h2 { margin: 0 0 20px; font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1; }
.camera-dialog-close { position: absolute; top: 12px; right: 15px; background: transparent; color: #746d63; font-size: 1.5rem; }
.camera-stage { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #1c211f; }
.camera-stage video { width: 100%; height: 100%; object-fit: cover; }
.camera-stage.is-mirrored video { transform: scaleX(-1); }
.live-camera-label { position: absolute; top: 12px; left: 13px; display: flex; align-items: center; gap: 7px; color: white; font-size: .56rem; font-weight: 760; letter-spacing: .11em; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.live-camera-label i { width: 6px; height: 6px; border-radius: 50%; background: #e66f58; box-shadow: 0 0 0 4px rgba(230,111,88,.18); }
.live-face-guide { position: absolute; top: 11%; bottom: 11%; left: 50%; width: 47%; border: 1.5px solid rgba(255,255,255,.86); border-radius: 46% 46% 50% 50%; transform: translateX(-50%); box-shadow: 0 0 0 999px rgba(16,21,19,.16); }
.live-face-guide::before, .live-face-guide::after { content: ""; position: absolute; background: rgba(255,255,255,.62); }
.live-face-guide::before { top: 46%; right: 12%; left: 12%; height: 1px; }
.live-face-guide::after { top: 10%; bottom: 10%; left: 50%; width: 1px; }
.live-palm-guide { position: absolute; inset: 9% 25%; border: 1.5px dashed rgba(255,255,255,.82); border-radius: 46% 46% 38% 38%; box-shadow: 0 0 0 999px rgba(16,21,19,.16); }
.camera-help { margin: 13px 0 18px; color: #70685f; font-size: .78rem; }
.camera-dialog-actions { display: grid; grid-template-columns: .65fr 1.35fr; gap: 9px; }
.camera-dialog-actions button { width: 100%; }
.camera-dialog-actions button:disabled { cursor: wait; opacity: .5; transform: none; }
.camera-fallback { display: block; margin: 15px auto 0; border-bottom: 1px solid rgba(58,107,92,.5); background: transparent; color: var(--teal); padding: 3px 0; font-size: .7rem; }

.dream-card-footer button[aria-busy="true"]::after { content: ""; display: inline-block; width: 11px; height: 11px; margin-left: 9px; border: 1.5px solid rgba(255,255,255,.42); border-top-color: white; border-radius: 50%; vertical-align: -1px; animation: dream-spin .75s linear infinite; }
@keyframes dream-spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .dream-threshold.has-reading { min-height: 1080px; }
  .story-reel { grid-template-columns: 1fr; gap: 22px; }
  .story-scene { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(300px, 1.1fr); }
  .story-scene:nth-child(2) { margin-top: 0; }
  .scene-image { height: 100%; min-height: 390px; aspect-ratio: auto; }
  .scene-copy > p:nth-of-type(2) { min-height: auto; }
  .kindred-story { grid-template-columns: 1fr; }
  .kindred-disclaimer { grid-column: 1; }
  .honest-reading-grid { grid-template-columns: 1fr; }
  .honest-reading-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(43,41,38,.13); }
  .honest-reading-grid article:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  .dream-threshold.has-reading { min-height: 1460px; }
  .dream-threshold.has-reading .dream-card { width: calc(100% - 10px); }
  .dream-journey { grid-template-columns: 1fr; }
  .dream-scene { display: grid; grid-template-columns: 110px 1fr; border-right: 0; border-bottom: 1px solid rgba(43,41,38,.1); }
  .dream-scene img { height: 100%; aspect-ratio: auto; }
  .kindred-story-card { grid-template-columns: 76px 1fr; gap: 18px; padding: 23px 18px; }
  .kindred-seal span { font-size: 2.5rem; }
  .honest-reading-heading { display: block; }
  .honest-reading-heading h2 { margin-top: 14px; text-align: left; }
  .palm-copy { display: block; }
  .palm-copy > p:last-child { margin-top: 7px; }
  .palm-buttons { grid-template-columns: 1fr; }
  .palm-option { grid-template-columns: 84px 1fr; }
  .mini-capture-frame { width: 84px; height: 102px; }
  .story-heading { grid-template-columns: 1fr; gap: 24px; }
  .story-heading h2 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .story-scene { display: block; }
  .scene-image { min-height: 0; aspect-ratio: 1.15 / 1; }
  .scene-copy { padding: 23px 20px 25px; }
  .camera-dialog { padding: 25px 18px 22px; }
  .camera-stage { aspect-ratio: 3 / 4; }
  .live-palm-guide { inset: 10% 15%; }
}

@media print {
  .story-journey { margin-bottom: 30px; }
  .story-reel { grid-template-columns: repeat(3, 1fr); }
  .story-scene, .story-scene:nth-child(2) { display: block; margin-top: 0; box-shadow: none; }
  .scene-image { min-height: 0; aspect-ratio: 4 / 3; }
  .map-link { display: none; }
}

/* Person-first questions and transparent traditional-method record */
.focus-intro { margin: -1px 0 13px; color: #6c7b77; font-size: .76rem; line-height: 1.55; }
.inner-question { display: block; margin-top: 18px; }
.inner-question > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-bottom: 8px; color: #253f43; font-size: .85rem; font-weight: 620; }
.inner-question em { color: #7a8985; font-size: .68rem; font-style: normal; font-weight: 460; }
.clarity-question-primary { margin-top: 12px; border: 1px solid rgba(58,107,92,.24); border-left: 4px solid var(--teal); border-radius: 4px; background: rgba(255,255,255,.5); padding: 16px; }
.clarity-question-primary > span { color: var(--ink); font-size: .92rem; }
.clarity-question-primary textarea { min-height: 118px; border-color: rgba(58,107,92,.32); background: #fffdf8; font-size: .92rem; }
.focus-theme-label { display: flex; align-items: center; gap: 7px; margin: 20px 0 9px; color: #49453f; font-size: .78rem; font-weight: 650; }
.focus-theme-label span { color: #817a71; font-size: .66rem; font-weight: 480; }
.inner-question textarea {
  display: block;
  width: 100%;
  min-height: 92px;
  border: 1px solid rgba(43,41,38,.18);
  border-radius: 3px;
  outline: 0;
  background: rgba(255,255,255,.78);
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
  font-size: .86rem;
  line-height: 1.55;
  resize: vertical;
  transition: border 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.inner-question textarea::placeholder { color: #899895; }
.inner-question textarea:focus,
.inner-question input:focus { border-color: #4d9484; background: #fff; box-shadow: 0 0 0 3px rgba(77,148,132,.1); }
.inner-question > small { display: block; margin-top: 7px; color: #71807d; font-size: .67rem; line-height: 1.5; }
.inner-question > small b { color: var(--teal); font-weight: 760; }
.preference-question { border-top: 1px solid rgba(43,41,38,.12); padding-top: 18px; }
.calendar-note { display: block; margin-top: 7px; color: #71807d; font-size: .64rem; line-height: 1.45; }

.palm-observation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.palm-guidance { display: block; margin: 10px 0 0; color: #71807d; font-size: .65rem; line-height: 1.55; }

.profile-pillars { min-width: 0; }
.pillar-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.1); }
.pillar-item { display: grid; min-width: 0; min-height: 70px; place-items: center; padding: 9px 3px; text-align: center; }
.pillar-item + .pillar-item { border-left: 1px solid rgba(255,255,255,.1); }
.pillar-item small { color: #8f9c97; font-size: .48rem; font-weight: 760; letter-spacing: .1em; }
.pillar-item strong { color: #f1e5cf; font-family: var(--serif); font-size: 1.38rem; font-weight: 400; letter-spacing: .08em; }
.profile-pillars > p { margin: 9px 0 0; color: #909b97; font-size: .59rem; line-height: 1.5; }
.profile-palm,
.profile-tojeong { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.profile-palm > span,
.profile-tojeong > span { display: block; margin-bottom: 7px; color: var(--jade); font-size: .62rem; font-weight: 760; letter-spacing: .13em; }
.profile-tojeong > span b { color: inherit; font: inherit; }
.profile-palm strong,
.profile-tojeong strong { display: block; font-family: var(--serif); font-size: 1.08rem; font-weight: 400; }
.profile-palm p,
.profile-tojeong p { margin: 7px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.55; }

.method-declaration { max-width: 520px; margin: 16px 0 0; color: #69635b; font-size: .92rem; line-height: 1.72; }
.method-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.method-grid article { min-height: 390px; padding-right: 25px; }
.method-grid article + article { padding-left: 25px; }
.method-grid h3 { font-size: 1.28rem; }
.method-purpose { display: grid; grid-template-columns: .55fr 1.1fr 1fr; gap: clamp(28px, 5vw, 78px); align-items: start; margin-top: 48px; border-top: 1px solid rgba(43,41,38,.16); border-bottom: 1px solid rgba(43,41,38,.16); padding: 31px 0 34px; }
.method-purpose .eyebrow { margin-top: 4px; }
.method-purpose h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.65rem, 2.5vw, 2.45rem); font-weight: 400; line-height: 1.12; }
.method-purpose > p:last-child { margin: 0; color: #69635b; font-size: .86rem; line-height: 1.75; }
.method-source { margin-top: 17px; color: #797269; font-size: .67rem; line-height: 1.6; }
.method-source a { border-bottom: 1px solid rgba(58,107,92,.45); color: var(--teal); }

@media (max-width: 1180px) and (min-width: 761px) {
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-grid article { min-height: 320px; padding: 32px 30px; }
  .method-grid article:first-child,
  .method-grid article:nth-child(3) { padding-left: 0; }
  .method-grid article:nth-child(3) { border-top: 1px solid rgba(43,41,38,.16); border-left: 0; }
  .method-grid article:nth-child(4) { border-top: 1px solid rgba(43,41,38,.16); }
}

@media (max-width: 760px) {
  .inner-question > span { display: block; }
  .inner-question em { display: block; margin-top: 3px; }
  .palm-observation-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: auto; padding: 28px 0; }
  .method-grid article + article { border-left: 0; border-top: 1px solid rgba(43,41,38,.16); padding-left: 0; }
  .method-purpose { grid-template-columns: 1fr; gap: 18px; }
}
