/* ============================================================
   세 번의 숨 — 마음도 가끔은 재부팅이 필요하다
   Static one-page site. No build tools, no framework.
   ============================================================ */

:root {
  --paper:      #F4EBDF;
  --paper-deep: #EBE0D1;
  --ink:        #262626;
  --ink-soft:   #6a6a6a;
  --ink-faint:  #9a9086;
  --breath:     #96AEBE;

  --font-sans: 'IBM Plex Sans KR', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --section-pad: clamp(6rem, 14vh, 10rem);
  --measure: min(720px, 92vw);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--ink);
  text-decoration-color: var(--ink-faint);
  text-underline-offset: 0.2em;
  transition: color .15s ease, text-decoration-color .15s ease;
}

a:hover {
  color: var(--breath);
  text-decoration-color: var(--breath);
}

:focus-visible {
  outline: 2px solid var(--breath);
  outline-offset: 3px;
}

h1, h2 {
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

h1 {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.35;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
}

p {
  margin: 0 0 1.2em;
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: var(--measure);
  margin: 0 auto;
}

/* 히어로 브랜드 워드마크 — 섹션 eyebrow와 역할이 다르므로 서체도 다르다 */
.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  margin: 0 0 1.2rem;
}

.wordmark__ko {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-indent: .32em; /* letter-spacing 이 만드는 우측 여백 보정 */
  color: var(--ink-soft);
}

.wordmark__en {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .22em;
  text-indent: .22em;
  color: var(--ink-faint);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  color: var(--ink-faint);
  margin-bottom: 1.2rem;
}

section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

section:nth-of-type(odd) {
  background: var(--paper-deep);
}

section:nth-of-type(even) {
  background: var(--paper);
}

/* ---------------- Hero ---------------- */

.hero {
  min-height: 88svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  background: var(--paper);
  padding-block: 18svh 8svh;
}

.hero__inner {
  width: var(--measure);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .eyebrow {
  margin-bottom: 0;
}

.hero h1 {
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-top: 1rem;
  margin-bottom: 0;
}

.hero__byline {
  font-size: .9rem;
  color: var(--ink-faint);
  margin-top: .5rem;
  margin-bottom: 0;
}

/* Signature breathing ring (empty circle — matches the brush-drawn 円相 on the cover) */
.breath-circle {
  width: clamp(80px, 10vw, 104px);
  height: clamp(80px, 10vw, 104px);
  border-radius: 50%;
  background: none;
  border: 1.5px solid var(--breath);
  filter: blur(.3px);
  margin-top: 1.6rem;
  animation: breathe 10s ease-in-out infinite;
}

@keyframes breathe {
  0% {
    transform: scale(1);
    opacity: .75;
  }
  40% {
    transform: scale(1.12);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: .75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .breath-circle {
    animation: none;
    transform: scale(1.06);
    opacity: 1;
  }
}

/* ---------------- The Book ---------------- */

.book__cover {
  width: 100%;
  max-width: 320px;
  margin: 2.5rem 0 2.5rem;
}

.book__lead {
  font-size: 1.25rem;
  color: var(--ink);
}

.book__list {
  list-style: none;
  counter-reset: none;
  margin: 2rem 0;
  padding: 0;
  border-top: 1px solid var(--ink-faint);
}

.book__list li {
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
  padding: .85rem 0;
  border-bottom: 1px solid var(--ink-faint);
}

.book__list .num {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  flex-shrink: 0;
  min-width: 2.4rem;
}

.book__meta {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--ink-faint);
  margin-top: 1.5rem;
}

.book__buy {
  margin-top: 2.5rem;
}

.book__buy p {
  margin-bottom: .6rem;
}

/* ---------------- Reusable pieces ---------------- */

.callout {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  margin-block: 2.5rem;
  border-left: 2px solid var(--breath);
  padding-left: 1.25rem;
}

/* ---------------- Together (section 4) ---------------- */

.together__lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 3rem;
}

.together__block {
  display: flex;
  gap: 1.4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--ink-faint);
}

.together__block:last-of-type {
  border-bottom: 1px solid var(--ink-faint);
}

.together__num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--breath);
  flex-shrink: 0;
  min-width: 2.4rem;
}

.together__block ul {
  list-style: none;
  margin: .8rem 0 0;
  padding-left: 0;
}

.together__block li {
  margin-bottom: .4rem;
}

.together__block li::before {
  content: "—";
  display: inline-block;
  font-family: var(--font-mono);
  color: var(--ink-faint);
  margin-right: .6em;
}

.together__note {
  font-size: .9rem;
  color: var(--ink-faint);
  margin-top: .8rem;
}

.together__cta {
  margin-top: 2.5rem;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: .9rem 1.8rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  font-size: .95rem;
}

.btn:hover {
  border-color: var(--breath);
}

/* ---------------- Newsletter ---------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.newsletter__form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter__row {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.newsletter__row input[type="email"] {
  flex: 1 1 240px;
  padding: .85rem 1.1rem;
  border: 1px solid var(--ink-faint);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.newsletter__row input[type="email"]::placeholder {
  color: var(--ink-faint);
}

.newsletter__row button {
  padding: .85rem 1.8rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 1rem;
  cursor: pointer;
}

.newsletter__row button:hover {
  background: var(--breath);
  border-color: var(--breath);
}

.newsletter__consent {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--ink-soft);
}

.newsletter__consent input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--breath);
}

.newsletter__note {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--ink-faint);
}

.newsletter__status {
  margin-top: 1rem;
  font-size: .95rem;
  color: var(--ink-soft);
}

.newsletter__status:empty {
  display: none;
}

/* ---------------- Footer ---------------- */

footer {
  padding: 3.5rem 0;
  background: var(--paper);
  text-align: center;
  font-size: .85rem;
  color: var(--ink-faint);
}

footer .wrap > * {
  margin: .3rem 0;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 480px) {
  .together__block {
    flex-direction: column;
    gap: .4rem;
  }

  .book__list li {
    gap: .8rem;
  }
}
