* {
  box-sizing: border-box;
}

:root {
  --ink: #182019;
  --paper: #f1eee7;
  --paper-deep: #e8e2d7;
  --soft: #d8d2c7;
  --line: rgba(24, 32, 25, 0.2);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Noto Sans KR", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

button {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  color: #fff;
  transition: background .35s ease, color .35s ease, height .35s ease;
}

.site-header.is-scrolled {
  height: 72px;
  color: var(--ink);
  background: rgba(241, 238, 231, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(24, 32, 25, 0.08);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  letter-spacing: -.03em;
}

.brand-ko {
  font-weight: 500;
  font-size: 1rem;
}

.brand-en {
  font-family: var(--serif);
  font-size: .72rem;
  letter-spacing: .15em;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-family: var(--serif);
  font-size: .92rem;
  letter-spacing: .08em;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 1px;
  margin: 7px auto;
  background: currentColor;
  transition: transform .25s ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  color: #fff;
  overflow: hidden;
}

.hero-media,
.branch-image {
  position: absolute;
  inset: -8%;
  background-position: center;
  background-size: cover;
  will-change: transform;
}

.hero-media {
  background-image: url("./images/jocheon/06.webp");
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 8, .18), rgba(6, 12, 8, .48));
}

.hero-copy {
  position: absolute;
  left: 8vw;
  bottom: 18vh;
  z-index: 2;
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: .82rem;
  letter-spacing: .22em;
}

.eyebrow.dark {
  color: #596057;
}

.hero h1,
.story h2,
.brand-note h2,
.places-intro h2,
.branch h2,
.gallery h2,
.closing-message h2,
.visit h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .96;
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(4.4rem, 10vw, 10rem);
  line-height: .95;
  white-space: nowrap;
}

.hero-text {
  margin: 34px 0 0;
  font-size: .98rem;
  line-height: 1.9;
  letter-spacing: -.02em;
}

.scroll-cue {
  position: absolute;
  right: 4vw;
  bottom: 8vh;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  transform: rotate(90deg);
  transform-origin: right center;
  font-family: var(--serif);
  font-size: .7rem;
  letter-spacing: .2em;
}

.scroll-cue i {
  display: block;
  width: 74px;
  height: 1px;
  background: currentColor;
}

.section-pad {
  padding: 150px 8vw;
}

.story-index,
.places-index {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: .8rem;
  letter-spacing: .15em;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .6fr);
  gap: 10vw;
  align-items: start;
}

.story h2,
.brand-note h2,
.places-intro h2,
.gallery h2,
.closing-message h2,
.visit h2 {
  font-size: clamp(3.4rem, 6.4vw, 7rem);
}

.story-body {
  max-width: 470px;
  font-size: 1rem;
}

.story-body p {
  margin: 0 0 22px;
}

.story-title {
  padding-top: 0;
  margin-top: -24px;
}

.story-title h2 {
  margin-top: 0;
}

.story-poem {
  margin-top: -8px;
}

.story-title h2 {
  margin-top: 0;
}

.story-poem {
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 2.1;
  padding-top: 12px;
}

.story-poem p {
  margin-bottom: 40px;
}

.brand-note {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.15fr);
  gap: 8vw;
  align-items: center;
  background: var(--paper-deep);
}

.brand-note-copy {
  max-width: 500px;
}

.brand-note-copy h2 {
  max-width: 560px;
  font-size: clamp(2.9rem, 5.2vw, 5.4rem);
  line-height: 1.06;
  word-break: keep-all;
}

.brand-note-copy > p:last-child {
  max-width: 420px;
  margin-top: 34px;
}

.brand-letter-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(76vh, 820px);
  padding: 22px;
  background: rgba(255, 255, 255, .28);
  box-shadow: 0 24px 60px rgba(32, 35, 29, .12);
}

.brand-letter {
  width: 100%;
  max-width: 740px;
  min-height: 640px;
  padding: 68px 56px;
  background: #e7d9bb;
  color: #2a2117;
  box-shadow: inset 0 0 0 1px rgba(74, 56, 34, .08);
  font-family: "Nanum Pen Script", cursive;
  font-size: clamp(1.95rem, 2.2vw, 2.35rem);
  line-height: 1.5;
  letter-spacing: .01em;
  transform: rotate(-1deg);
}

.brand-letter p {
  margin: 0 0 28px;
}

.letter-to,
.letter-from {
  font-size: clamp(2.1rem, 2.45vw, 2.7rem);
}

.letter-from {
  margin-top: 44px;
}

.places-intro {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.places-copy {
  max-width: 980px;
}

.places-copy > p:last-child {
  max-width: 520px;
  margin: 36px 0 0 auto;
}

.branch {
  position: relative;
  min-height: 108svh;
  overflow: hidden;
  color: #fff;
}

.branch-image {
  background-position: center;
}

.branch-jocheon .branch-image {
  background-image:
    linear-gradient(rgba(15, 23, 18, .08), rgba(15, 23, 18, .25)),
    url("./images/jocheon/03.webp");
}

.branch-sanbangsan .branch-image {
  background-image:
    linear-gradient(rgba(15, 23, 18, .06), rgba(15, 23, 18, .18)),
    url("./images/sanbangsan/13.webp");
}

.branch-panel {
  position: absolute;
  z-index: 2;
  left: 7vw;
  bottom: 7vh;
  width: min(590px, 88vw);
  padding: 48px;
  background: rgba(25, 33, 27, .88);
  backdrop-filter: blur(8px);
}

.branch-panel-light {
  color: var(--ink);
  background: rgba(241, 238, 231, .92);
}

.branch-number {
  margin: 0 0 48px;
  font-family: var(--serif);
  font-size: .75rem;
  letter-spacing: .2em;
}

.branch h2 {
  font-size: clamp(3rem, 5.6vw, 5.8rem);
}

.branch-panel > p:not(.branch-number) {
  max-width: 430px;
  margin: 26px 0 0;
}

.branch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.branch-tags li {
  padding: 7px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .73rem;
  opacity: .82;
}

.branch-actions {
  margin-top: 40px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: .9rem;
}

.interlude {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, .74fr);
  gap: 8vw;
  align-items: center;
}

.interlude-photo {
  height: 72vh;
  margin: 0;
}

.interlude-copy blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.interlude-copy > p:last-child {
  max-width: 370px;
  margin-top: 34px;
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 90px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-auto-rows: 34vw;
  gap: 2.6vw;
}

.gallery-item {
  margin: 0;
}

.gallery-item-large {
  grid-row: span 2;
}

.gallery-item figcaption {
  margin-top: 13px;
  font-family: var(--serif);
  font-size: .72rem;
  letter-spacing: .16em;
}

.closing-message {
  display: flex;
  min-height: 84vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--paper-deep);
}

.closing-inner {
  max-width: 1000px;
}

.closing-inner > p:last-child {
  max-width: 560px;
  margin: 36px auto 0;
}

.visit {
  color: #f3efe8;
  background: var(--ink);
}

.visit-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 100px;
}

.visit-head h2 {
  text-align: right;
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.visit-card {
  min-height: 560px;
  padding: 54px 5vw 52px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.visit-card + .visit-card {
  padding-left: 5vw;
  border-left: 1px solid rgba(255, 255, 255, .22);
}

.visit-no {
  margin: 0 0 35px;
  font-family: var(--serif);
  font-size: .8rem;
  letter-spacing: .2em;
}

.visit-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1;
}

.visit-en {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: .75rem;
  letter-spacing: .18em;
}

.visit-card dl {
  margin: 60px 0 45px;
}

.visit-card dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.visit-card dt {
  color: rgba(255, 255, 255, .55);
  font-size: .78rem;
}

.visit-card dd {
  margin: 0;
  font-size: .88rem;
}

.outline-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  font-size: .88rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 28px;
  padding: 65px 4vw 45px;
  background: #111712;
  color: rgba(255, 255, 255, .7);
  font-family: var(--serif);
  font-size: .72rem;
  letter-spacing: .12em;
}

.footer-brand {
  margin: 0 0 4px;
  color: #fff;
  font-family: var(--sans);
  font-size: .95rem;
  letter-spacing: -.03em;
}

.site-footer p {
  margin-top: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.copyright {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s ease, transform .85s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    height: 76px;
    padding: 0 22px;
  }

  .brand-en {
    display: none;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 60;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 34px;
    color: #f5f0e8;
    background: var(--ink);
    font-size: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-header.menu-open {
    color: #fff;
  }

  .hero-copy {
    left: 22px;
    right: 22px;
    bottom: 18vh;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 5.8rem);
    white-space: nowrap;
  }

  .scroll-cue {
    display: none;
  }

  .section-pad {
    padding: 100px 22px;
  }

  .story-index,
  .places-index {
    margin-bottom: 64px;
  }

  .story-grid,
  .brand-note,
  .interlude {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .story h2,
  .brand-note h2,
  .places-intro h2,
  .gallery h2,
  .closing-message h2,
  .visit h2 {
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

  .brand-note-copy h2 {
    max-width: 100%;
    font-size: clamp(2.6rem, 10vw, 4.4rem);
    line-height: 1.08;
  }

  .brand-letter-wrap {
    min-height: auto;
    padding: 12px;
  }

  .brand-letter {
    min-height: auto;
    padding: 38px 26px;
    font-size: clamp(1.75rem, 6.2vw, 2.1rem);
  }

  .places-intro {
    min-height: 66vh;
  }

  .places-copy > p:last-child {
    margin-left: 0;
  }

  .branch {
    min-height: 960px;
  }

  .branch-panel {
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
    padding: 34px 26px;
  }

  .branch h2 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .branch-number {
    margin-bottom: 34px;
  }

  .interlude-photo {
    height: 64vh;
  }

  .gallery-head,
  .visit-head {
    display: block;
  }

  .gallery-head h2,
  .visit-head h2 {
    margin-top: 35px;
    text-align: left;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 72vh;
    gap: 52px;
  }

  .gallery-item-large {
    grid-row: auto;
  }

  .visit-grid {
    grid-template-columns: 1fr;
  }

  .visit-card {
    min-height: 540px;
    padding: 50px 0;
  }

  .visit-card + .visit-card {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .22);
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .copyright {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .hero .eyebrow {
    font-size: .68rem;
    letter-spacing: .16em;
  }

  .hero-text {
    font-size: .9rem;
  }

  .branch {
    min-height: 860px;
  }

  .branch-panel > p:not(.branch-number) {
    font-size: .9rem;
  }

  .gallery-grid {
    grid-auto-rows: 58vh;
  }

  .brand-letter {
    padding: 30px 22px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* V13 STORY FLOW */
.breath { position: relative; min-height: 78svh; overflow: hidden; color: #fff; }
.breath-image { position: absolute; inset: -8%; background: linear-gradient(rgba(14,19,15,.06),rgba(14,19,15,.16)), url("./images/jocheon/08.webp") center/cover no-repeat; will-change: transform; }
.breath-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(9,15,11,.54),rgba(9,15,11,.08)); }
.breath-copy { position: absolute; z-index: 2; left: 8vw; top: 50%; transform: translateY(-50%); }
.section-number { margin: 0 0 36px; font-family: var(--serif); font-size: .76rem; letter-spacing: .2em; }
.breath h2 { margin: 0; font-family: var(--serif); font-size: clamp(4.8rem,10vw,10rem); font-weight: 400; line-height: .9; letter-spacing: -.05em; }
.breath-copy>p:last-child { margin: 38px 0 0; font-size: 1rem; line-height: 2; }
.brand-note { align-items: start; }
.brand-note-copy h2 { max-width: none; font-size: clamp(4.8rem,8vw,8.5rem); line-height: .95; }
.brand-letter-wrap { min-height: auto; padding: 22px; }
.brand-letter { min-height: 610px; display: flex; flex-direction: column; justify-content: center; }
.places-intro { min-height: 76vh; }
.places-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.6fr); gap: 10vw; align-items: start; }
.places-title h2 { margin: 0; font-family: var(--serif); font-size: clamp(4.8rem,8vw,8.5rem); font-weight: 400; line-height: .95; letter-spacing: -.05em; }
.places-copy { max-width: 480px; font-size: clamp(1.05rem,1.45vw,1.3rem); line-height: 2.1; }
.places-copy p { margin: 0 0 38px; }
.branch-lead { font-family: var(--serif); font-size: clamp(1.45rem,2vw,2rem); line-height: 1.35; }
.gallery-head { align-items: start; }
.gallery-intro { max-width: 420px; margin: 12px 0 0; font-size: 1rem; line-height: 2; }
.closing-message { min-height: 76vh; }
.closing-message h2 { font-size: clamp(5rem,10vw,10rem); }
.closing-inner>p:last-child { font-size: clamp(1.05rem,1.5vw,1.3rem); line-height: 2; }
.cafe-info { color: #f3efe8; background: var(--ink); }
.cafe-info-label { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.22); font-family: var(--serif); font-size: .78rem; letter-spacing: .17em; }
.cafe-info-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.cafe-card { min-height: 760px; padding: 68px 5vw 58px 0; display: flex; flex-direction: column; }
.cafe-card+.cafe-card { padding-left: 5vw; border-left: 1px solid rgba(255,255,255,.22); }
.cafe-card-no { margin: 0 0 34px; font-family: var(--serif); font-size: .76rem; letter-spacing: .2em; }
.cafe-card h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.8rem,4.7vw,5rem); font-weight: 400; line-height: 1.03; letter-spacing: -.045em; word-break: keep-all; }
.cafe-description { max-width: 560px; margin: 54px 0 52px; color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.95; }
.cafe-details { margin: 0 0 48px; font-style: normal; }
.cafe-details div { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.cafe-details span { color: rgba(255,255,255,.48); font-size: .78rem; font-weight: 300; }
.cafe-details strong { color: rgba(255,255,255,.88); font-size: .86rem; font-weight: 300; }
.cafe-links { margin-top: auto; border-top: 1px solid rgba(255,255,255,.22); }
.cafe-links a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: .86rem; }
@media (max-width: 900px) {
  .breath { min-height: 70svh; }
  .breath-copy { left: 22px; }
  .places-layout { grid-template-columns: 1fr; gap: 58px; }
  .brand-note-copy h2,.places-title h2 { font-size: clamp(4rem,18vw,6rem); }
  .gallery-intro { margin-top: 34px; }
  .cafe-info-grid { grid-template-columns: 1fr; }
  .cafe-card { min-height: auto; padding: 58px 0; }
  .cafe-card+.cafe-card { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .cafe-info-label { gap: 20px; font-size: .68rem; }
}
@media (max-width: 520px) {
  .breath h2 { font-size: 5rem; }
  .brand-letter { min-height: auto; }
  .cafe-card h2 { font-size: clamp(2.6rem,12vw,4rem); }
  .cafe-details div { grid-template-columns: 74px 1fr; }
}


/* V14 - 공간 섹션은 메시지만 */
.space-message {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.space-message-inner {
  max-width: 900px;
}

.space-message h2 {
  margin: 0 0 54px;
  font-family: var(--serif);
  font-size: clamp(4.8rem, 9vw, 9rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.05em;
}

.space-message p {
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 2.1;
}

@media (max-width: 900px) {
  .space-message {
    min-height: 62vh;
  }

  .space-message h2 {
    margin-bottom: 42px;
    font-size: clamp(4rem, 18vw, 6rem);
  }
}


/* =========================================
   V16 - IMAGE HEAD COPY ALIGNMENT
   모든 이미지형 헤드 문구를 좌측 상단 기준으로 통일
========================================= */

:root {
  --head-copy-left: 8vw;
  --head-copy-top: 18vh;
}

/* 메인 히어로 */
.hero-copy {
  left: var(--head-copy-left);
  right: auto;
  top: var(--head-copy-top);
  bottom: auto;
}

/* 숨 섹션 */
.breath-copy {
  left: var(--head-copy-left);
  right: auto;
  top: var(--head-copy-top);
  bottom: auto;
  transform: none;
}

/* 조천 · 산방산 이미지 섹션 */
.branch-panel {
  left: var(--head-copy-left);
  right: auto;
  top: var(--head-copy-top);
  bottom: auto;
}

/* 네 섹션의 시작선을 같은 위치로 맞춤 */
.hero-copy,
.breath-copy,
.branch-panel {
  margin: 0;
}

/* 모바일도 좌측 상단 기준 유지 */
@media (max-width: 900px) {
  :root {
    --head-copy-left: 22px;
    --head-copy-top: 112px;
  }

  .hero-copy {
    left: var(--head-copy-left);
    right: 22px;
    top: var(--head-copy-top);
    bottom: auto;
  }

  .breath-copy {
    left: var(--head-copy-left);
    right: 22px;
    top: var(--head-copy-top);
    bottom: auto;
    transform: none;
  }

  .branch-panel {
    left: var(--head-copy-left);
    right: 22px;
    top: var(--head-copy-top);
    bottom: auto;
    width: auto;
  }
}

@media (max-width: 520px) {
  :root {
    --head-copy-top: 96px;
  }
}


/* =========================================
   V17 - EXPLANATION COPY
   단어형 섹션에 필요한 설명만 보강
========================================= */

.head-lead {
  max-width: 520px;
  margin-top: 38px !important;
  font-size: clamp(.95rem, 1.25vw, 1.1rem) !important;
  line-height: 2 !important;
}

.space-message-inner {
  max-width: 920px;
}

.space-lead {
  margin-bottom: 34px !important;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem) !important;
}

.space-description {
  color: rgba(24, 32, 25, .68);
  font-size: clamp(.95rem, 1.25vw, 1.1rem) !important;
}

.gallery-intro {
  max-width: 460px;
}

.gallery-intro p {
  margin: 0 0 28px;
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  line-height: 2;
}

.gallery-intro p:last-child {
  margin-bottom: 0;
  color: rgba(24, 32, 25, .68);
}

.closing-inner > p:last-child {
  max-width: 520px;
  margin-top: 38px;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 2;
}

@media (max-width: 900px) {
  .head-lead {
    max-width: 420px;
  }

  .space-message-inner {
    max-width: 100%;
  }

  .gallery-intro {
    max-width: 100%;
  }
}


/* V18 - 조천점 상세 정보 */
.cafe-card {
  min-height: auto;
}

.cafe-details strong a {
  color: inherit;
  text-decoration: none;
}

.cafe-details strong a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* V19 - 산방산점 상세 정보 */
.cafe-card {
  min-height: auto;
}

.cafe-description,
.cafe-details strong {
  word-break: keep-all;
}


/* =========================================
   V21 - ACTUAL CAFE PHOTOS
========================================= */

.hero-media {
  background-image: url("./images/jocheon/06.webp");
  background-position: center 48%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 14, 9, .58) 0%, rgba(8, 14, 9, .20) 58%, rgba(8, 14, 9, .14) 100%),
    linear-gradient(180deg, rgba(6, 12, 8, .10), rgba(6, 12, 8, .26));
}

.breath-image {
  background:
    url("./images/jocheon/08.webp") center 46% / cover no-repeat;
}

.breath-shade {
  background:
    linear-gradient(90deg, rgba(9, 15, 11, .58) 0%, rgba(9, 15, 11, .16) 62%, rgba(9, 15, 11, .08) 100%);
}

.branch-jocheon .branch-image {
  background-image:
    linear-gradient(rgba(15, 23, 18, .05), rgba(15, 23, 18, .20)),
    url("./images/jocheon/03.webp");
  background-position: center 52%;
}

.branch-sanbangsan .branch-image {
  background-image:
    linear-gradient(rgba(15, 23, 18, .04), rgba(15, 23, 18, .14)),
    url("./images/sanbangsan/13.webp");
  background-position: center 48%;
}

.gallery-item img {
  transition: transform .8s ease;
}

.gallery-item:hover img {
  transform: scale(1.015);
}

@media (max-width: 900px) {
  .hero-media {
    background-position: 56% center;
  }

  .breath-image {
    background-position: center 50%;
  }

  .branch-jocheon .branch-image {
    background-position: 58% center;
  }

  .branch-sanbangsan .branch-image {
    background-position: 50% center;
  }
}


/* =========================================
   V23 - VISIBLE SCROLL MOTION
========================================= */

:root {
  --section-title-size: clamp(4.4rem, 7.3vw, 7.8rem);
  --section-title-line: .94;
  --motion-ease: cubic-bezier(.16, 1, .3, 1);
}

/* 제목 크기 통일 */
.story-title h2,
.breath-copy h2,
.brand-note-copy h2,
.space-message h2,
.branch-panel h2,
.gallery-head h2,
.closing-inner h2 {
  font-size: var(--section-title-size) !important;
  line-height: var(--section-title-line) !important;
  letter-spacing: -.05em !important;
}

/* 공간 섹션 좌측 정렬 */
.space-message {
  min-height: 72vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 132px;
  text-align: left;
}

.space-message-inner {
  width: 100%;
  max-width: 780px;
  margin: 0;
}

.space-message h2 {
  margin-bottom: 52px;
}

.space-message p {
  max-width: 580px;
}

/* 결, 다시 좌측 흐름 */
.gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .58fr);
  align-items: start;
}

.closing-message {
  min-height: 68vh;
  justify-content: flex-start;
  text-align: left;
}

.closing-inner {
  width: 100%;
  max-width: 760px;
  margin: 0;
}

.closing-inner > p:last-child {
  margin-left: 0;
  margin-right: 0;
}

/* 기존 reveal 충돌 해제 */
html.motion-ready .reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

/* 애니메이션 공통 */
html.motion-ready .motion-item {
  opacity: 0 !important;
  filter: blur(6px) !important;
  will-change: opacity, transform, filter, clip-path;
}

html.motion-ready .motion-item.in-view {
  opacity: 1 !important;
  filter: blur(0) !important;
}

/* 제목: 왼쪽에서 확실히 */
html.motion-ready .motion-title {
  transform: translate3d(-82px, 0, 0) !important;
  transition:
    opacity 1s var(--motion-ease),
    transform 1.15s var(--motion-ease),
    filter .9s var(--motion-ease) !important;
}

html.motion-ready .motion-title.in-view {
  transform: translate3d(0, 0, 0) !important;
}

/* 작은 라벨 */
html.motion-ready .motion-label {
  transform: translate3d(-38px, 0, 0) !important;
  transition:
    opacity .8s var(--motion-ease),
    transform .9s var(--motion-ease),
    filter .75s var(--motion-ease) !important;
}

html.motion-ready .motion-label.in-view {
  transform: translate3d(0, 0, 0) !important;
}

/* 설명: 아래에서 */
html.motion-ready .motion-copy {
  transform: translate3d(0, 42px, 0) !important;
  transition:
    opacity 1s var(--motion-ease) .16s,
    transform 1.1s var(--motion-ease) .16s,
    filter .9s var(--motion-ease) .16s !important;
}

html.motion-ready .motion-copy.in-view {
  transform: translate3d(0, 0, 0) !important;
}

/* 카드와 편지 */
html.motion-ready .motion-card {
  transform: translate3d(0, 58px, 0) scale(.955) !important;
  transition:
    opacity 1.05s var(--motion-ease),
    transform 1.2s var(--motion-ease),
    filter .95s var(--motion-ease) !important;
}

html.motion-ready .motion-card.in-view {
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* 사진: 마스크가 열리듯 */
html.motion-ready .motion-image {
  opacity: 1 !important;
  filter: none !important;
  transform: translate3d(0, 55px, 0) scale(1.06) !important;
  clip-path: inset(15% 0 0 0);
  transition:
    transform 1.35s var(--motion-ease),
    clip-path 1.25s var(--motion-ease) !important;
  overflow: hidden;
}

html.motion-ready .motion-image.in-view {
  transform: translate3d(0, 0, 0) scale(1) !important;
  clip-path: inset(0 0 0 0);
}

/* 갤러리 순차 */
html.motion-ready .gallery-item.motion-image:nth-child(2) {
  transition-delay: .12s !important;
}

html.motion-ready .gallery-item.motion-image:nth-child(3) {
  transition-delay: .24s !important;
}

/* 배경 이미지 섹션은 줌 아웃 */
.breath-image,
.branch-image {
  transform: scale(1.11);
  transition:
    transform 1.8s var(--motion-ease),
    opacity 1.2s ease;
}

.breath.section-active .breath-image,
.branch.section-active .branch-image {
  transform: scale(1.04);
  opacity: 1;
}

/* 히어로 진입 */
.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-text {
  opacity: 0;
  filter: blur(7px);
}

.hero-copy .eyebrow {
  transform: translate3d(-45px, 0, 0);
}

.hero-copy h1 {
  transform: translate3d(-95px, 0, 0);
}

.hero-copy .hero-text {
  transform: translate3d(0, 46px, 0);
}

body.page-ready .hero-copy .eyebrow,
body.page-ready .hero-copy h1,
body.page-ready .hero-copy .hero-text {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
  transition:
    opacity 1s var(--motion-ease),
    transform 1.2s var(--motion-ease),
    filter .9s var(--motion-ease);
}

body.page-ready .hero-copy h1 {
  transition-delay: .14s;
}

body.page-ready .hero-copy .hero-text {
  transition-delay: .32s;
}

/* 지점 태그 */
.branch-tags li {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .65s ease,
    transform .8s var(--motion-ease);
}

.branch-panel.panel-active .branch-tags li {
  opacity: 1;
  transform: translateY(0);
}

.branch-panel.panel-active .branch-tags li:nth-child(1) { transition-delay: .32s; }
.branch-panel.panel-active .branch-tags li:nth-child(2) { transition-delay: .42s; }
.branch-panel.panel-active .branch-tags li:nth-child(3) { transition-delay: .52s; }
.branch-panel.panel-active .branch-tags li:nth-child(4) { transition-delay: .62s; }

/* 링크 */
.text-link span,
.cafe-links a span {
  display: inline-block;
  transition: transform .3s var(--motion-ease);
}

.text-link:hover span,
.cafe-links a:hover span {
  transform: translate3d(5px, -5px, 0);
}

/* 스크롤 라인 */
.scroll-cue i {
  transform-origin: left center;
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% {
    transform: scaleX(.25);
    opacity: .4;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  :root {
    --section-title-size: clamp(3.8rem, 16vw, 5.8rem);
  }

  .space-message {
    min-height: 60vh;
    padding-top: 98px;
  }

  .gallery-head {
    grid-template-columns: 1fr;
  }

  .closing-message {
    min-height: 58vh;
  }

  html.motion-ready .motion-title {
    transform: translate3d(-52px, 0, 0) !important;
  }

  html.motion-ready .motion-copy {
    transform: translate3d(0, 30px, 0) !important;
  }
}


/* =========================================
   V24 - ENGLISH HERO TITLE
========================================= */

.hero-title {
  display: flex;
  align-items: baseline;
  gap: .19em;
  max-width: min(86vw, 1500px) !important;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5.4rem, 7.2vw, 8.7rem) !important;
  font-weight: 400;
  line-height: .88 !important;
  letter-spacing: -.055em !important;
  white-space: nowrap;
  text-wrap: nowrap;
}

.hero-title span {
  display: inline-block;
}

.hero-text {
  margin-top: 42px;
}

/* V23 히어로 모션에서 삭제된 eyebrow 대신 제목과 본문만 제어 */
.hero-copy .hero-title,
.hero-copy .hero-text {
  opacity: 0;
  filter: blur(7px);
}

.hero-copy .hero-title {
  transform: translate3d(-95px, 0, 0);
}

.hero-copy .hero-text {
  transform: translate3d(0, 46px, 0);
}

body.page-ready .hero-copy .hero-title,
body.page-ready .hero-copy .hero-text {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
  transition:
    opacity 1s var(--motion-ease),
    transform 1.2s var(--motion-ease),
    filter .9s var(--motion-ease);
}

body.page-ready .hero-copy .hero-text {
  transition-delay: .26s;
}

@media (max-width: 900px) {
  .hero-copy {
    top: 116px;
  }

  .hero-title {
    display: block;
    max-width: calc(100vw - 44px) !important;
    font-size: clamp(4.25rem, 17vw, 7rem) !important;
    line-height: .83 !important;
    white-space: normal;
    text-wrap: balance;
  }

  .hero-title span {
    display: block;
  }

  .hero-title span + span {
    margin-top: .08em;
  }

  .hero-text {
    max-width: 300px;
    margin-top: 34px;
    font-size: .92rem;
    line-height: 1.85;
  }
}

@media (max-width: 520px) {
  .hero-copy {
    top: 100px;
  }

  .hero-title {
    font-size: clamp(3.65rem, 18vw, 5.4rem) !important;
    line-height: .86 !important;
  }

  .hero-text {
    max-width: 270px;
    margin-top: 30px;
    font-size: .86rem;
  }
}


/* =========================================
   V25 - MOBILE FULLSCREEN MENU FIX
========================================= */

@media (max-width: 900px) {
  body.menu-open {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }

  .site-header {
    z-index: 1000;
    isolation: isolate;
  }

  .site-header .brand {
    position: relative;
    z-index: 1002;
    transition:
      opacity .25s ease,
      visibility .25s ease,
      transform .35s cubic-bezier(.16, 1, .3, 1);
  }

  .site-header.menu-open .brand {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-12px);
  }

  .menu-button {
    position: relative;
    z-index: 1003;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    color: inherit;
  }

  .menu-button span:not(.sr-only) {
    position: absolute;
    left: 10px;
    top: 50%;
    width: 24px;
    margin: 0;
    transform-origin: center;
  }

  .menu-button span:not(.sr-only):first-child {
    transform: translateY(-5px);
  }

  .menu-button span:not(.sr-only):nth-child(2) {
    transform: translateY(5px);
  }

  .menu-button[aria-expanded="true"] span:not(.sr-only):first-child {
    transform: translateY(0) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
    transform: translateY(0) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 1001;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding:
      max(118px, calc(env(safe-area-inset-top) + 92px))
      max(26px, env(safe-area-inset-right))
      max(40px, calc(env(safe-area-inset-bottom) + 24px))
      max(26px, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    color: #f5f0e8;
    background: #182019;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -18px, 0);
    transition:
      opacity .3s ease,
      visibility .3s ease,
      transform .45s cubic-bezier(.16, 1, .3, 1);
  }

  .site-nav::before {
    content: "THE TURTLE IS GONE";
    display: block;
    margin-bottom: 32px;
    color: rgba(245, 240, 232, .5);
    font-family: var(--serif);
    font-size: .7rem;
    letter-spacing: .2em;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(245, 240, 232, .16);
    font-size: clamp(2.15rem, 10vw, 3.4rem);
    line-height: 1;
    letter-spacing: -.025em;
    opacity: 0;
    transform: translateX(-24px);
    transition:
      opacity .42s ease,
      transform .55s cubic-bezier(.16, 1, .3, 1);
  }

  .site-nav.is-open a {
    opacity: 1;
    transform: translateX(0);
  }

  .site-nav.is-open a:nth-of-type(1) { transition-delay: .08s; }
  .site-nav.is-open a:nth-of-type(2) { transition-delay: .14s; }
  .site-nav.is-open a:nth-of-type(3) { transition-delay: .20s; }
  .site-nav.is-open a:nth-of-type(4) { transition-delay: .26s; }

  .site-header.menu-open,
  .site-header.menu-open.is-scrolled {
    height: 76px;
    color: #f5f0e8;
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
  }
}

@media (max-width: 900px) and (max-height: 620px) {
  .site-nav {
    padding-top: max(92px, calc(env(safe-area-inset-top) + 76px));
  }

  .site-nav::before {
    margin-bottom: 18px;
  }

  .site-nav a {
    min-height: 58px;
    font-size: clamp(1.85rem, 8vh, 2.65rem);
  }
}


/* =========================================
   V26 - G.M.A FOOTER MARK
========================================= */

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  padding-top: 28px;
  border-top: 1px solid rgba(245, 240, 232, .14);
}

.footer-bottom .copyright {
  margin: 0;
}

.gma-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: rgba(245, 240, 232, .52);
  font-family: var(--serif);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition:
    color .3s ease,
    transform .35s cubic-bezier(.16, 1, .3, 1);
}

.gma-mark strong {
  color: rgba(245, 240, 232, .9);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .16em;
}

.gma-mark:hover {
  color: rgba(245, 240, 232, .85);
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 24px;
  }

  .gma-mark {
    font-size: .62rem;
  }

  .gma-mark strong {
    font-size: .76rem;
  }
}


/* V27 - G.M.A standard footer signature */
.gma-mark {
  flex-wrap: wrap;
  row-gap: 4px;
}

.gma-values {
  color: rgba(245, 240, 232, .45);
  font-size: .62rem;
  letter-spacing: .1em;
}

@media (max-width: 700px) {
  .gma-mark {
    align-items: flex-start;
    line-height: 1.6;
  }

  .gma-values {
    width: 100%;
    font-size: .58rem;
  }
}
