/* ==========================================================================
   쓸모상회 랜딩페이지
   콘셉트: 커피박 점토 위에 칠한 함양 — 짙은 커피박 판(clay) 위에 캐릭터 스티커,
   밝은 면은 지리산 안개빛(mist). 제목은 Bagel Fat One, 본문은 Pretendard.
   ========================================================================== */

/* ---------- 1. 디자인 토큰 ---------- */
:root {
  /* 색 */
  --clay: #2B1E17;        /* 커피박 점토 */
  --clay-2: #3A2A21;      /* 점토 위 패널 */
  --clay-deep: #1F1611;   /* 푸터 */
  --crumb: #5E5048;       /* 밝은 면 보조 글자 */
  --mist: #EDF0E2;        /* 지리산 안개 */
  --mist-2: #F5F7EF;      /* 안개 밝은 면 */
  --chalk: #FFFAF0;       /* 흰 마커 */
  --persimmon: #F08A3C;   /* 함양 곶감 */
  --persimmon-hi: #F7A260;
  --cobalt: #2F5BD0;      /* 까치호랑이 파랑 */
  --cobalt-hi: #A9C2FF;
  --azalea: #F4A7BB;      /* 철쭉 */
  --leaf: #8DBB55;        /* 상림 */
  --line: rgba(43, 30, 23, 0.16);

  /* 글꼴 */
  --font-display: "Bagel Fat One", "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;

  /* 글자 크기 (13 · 15 · 17 · 20 · 24 · 30–48 · 40–84) */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.375rem, 1.15rem + 0.9vw, 1.625rem);
  --fs-xl: clamp(1.875rem, 1.25rem + 2.5vw, 3rem);
  --fs-2xl: clamp(2.5rem, 1.2rem + 5.6vw, 5.25rem);

  /* 간격 */
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 132px);
  --radius-photo: 18px;
  --radius-panel: 26px;

  --focus: var(--cobalt);
}

/* ---------- 2. 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  background: var(--mist);
  color: var(--clay);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.75;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--chalk); color: var(--clay); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* 면 */
.clay {
  --focus: var(--cobalt-hi);
  background-color: var(--clay);
  background-image: url("../images/texture/coffee-grounds.webp");
  background-size: 360px 360px;
  color: var(--chalk);
}
.mist { background: var(--mist); }
.mist-2 { background: var(--mist-2); }
.section { padding-block: var(--section-y); }

/* 제목 */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.section-title { font-size: var(--fs-xl); margin-bottom: 0.7em; }
.display-sm { font-size: var(--fs-lg); line-height: 1.3; margin-bottom: 0.6em; }

.fineprint { font-size: var(--fs-sm); color: var(--crumb); margin-top: 1.6em; }
.clay .fineprint { color: rgba(255, 250, 240, 0.7); }

/* ---------- 3. 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.7em 1.5em;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700; line-height: 1.3;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-sm { min-height: 40px; padding: 0.35em 1.1em; font-size: var(--fs-sm); }
.btn-persimmon { background: var(--persimmon); color: var(--clay); }
.btn-persimmon:hover { background: var(--persimmon-hi); }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255, 250, 240, 0.1); }
.mist .btn-ghost:hover, .mist-2 .btn-ghost:hover { background: rgba(43, 30, 23, 0.06); }

/* ---------- 4. 머리글 ---------- */
.site-header {
  --focus: var(--cobalt-hi);
  position: sticky; top: 0; z-index: 50;
  background: rgba(43, 30, 23, 0.94);
  color: var(--chalk);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand-name { font-family: var(--font-display); font-size: 1.375rem; line-height: 1; letter-spacing: 0.01em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 22px; }
.site-nav ul a {
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none;
  text-underline-offset: 6px; text-decoration-thickness: 2px;
}
.site-nav ul a:hover { text-decoration-line: underline; text-decoration-color: var(--persimmon); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px;
  background: transparent; cursor: pointer; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 11px; width: 22px; height: 2.5px; border-radius: 2px; background: var(--chalk);
  content: ""; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { left: 0; top: -7px; }
.nav-toggle-bars::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 8px;
    padding: 8px var(--gutter) 24px;
    background: var(--clay); border-top: 1px solid rgba(255, 250, 240, 0.12);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 4px; font-size: var(--fs-base); border-bottom: 1px solid rgba(255, 250, 240, 0.1); }
  .site-nav .btn { margin-top: 12px; min-height: 52px; font-size: var(--fs-base); }
}

/* ---------- 5. 첫 화면 ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(44px, 7vw, 96px) clamp(120px, 14vw, 190px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: var(--fs-2xl); margin-bottom: 0.42em; }
.hero-lead { max-width: 30em; font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.25rem); color: rgba(255, 250, 240, 0.86); margin-bottom: 2em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.sticker-pile {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 1.6vw, 22px) clamp(6px, 1.2vw, 16px);
  align-items: center;
}
.sticker-pile li { transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px)); }
.sticker-pile li:nth-child(1) { --i: 0; --r: -6deg; --y: 10px; }
.sticker-pile li:nth-child(2) { --i: 1; --r: 5deg; --y: -12px; }
.sticker-pile li:nth-child(3) { --i: 2; --r: -3deg; --y: 14px; }
.sticker-pile li:nth-child(4) { --i: 3; --r: 4deg; --y: -4px; }
.sticker-pile li:nth-child(5) { --i: 4; --r: -5deg; --y: 12px; }
.sticker-pile li:nth-child(6) { --i: 5; --r: 7deg; --y: -8px; }
.sticker-pile img { width: 100%; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.42)); }

@media (prefers-reduced-motion: no-preference) {
  .sticker-pile li { animation: press 0.75s cubic-bezier(0.2, 0.9, 0.25, 1.15) both; animation-delay: calc(var(--i, 0) * 95ms + 120ms); }
  @keyframes press {
    0% { opacity: 0; transform: rotate(calc(var(--r, 0deg) * 2.2)) translateY(calc(var(--y, 0px) - 28px)) scale(1.16); }
    65% { opacity: 1; transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px)) scale(0.97); }
    100% { opacity: 1; transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px)) scale(1); }
  }
}

.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(56px, 8vw, 120px); }
.ridge-back { fill: #C9D3B4; opacity: 0.55; }
.ridge-front { fill: var(--mist); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .sticker-pile { max-width: 520px; }
}

/* ---------- 6. 이야기 ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.story-copy p { max-width: 34em; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); }
.story-copy h2 { font-size: var(--fs-xl); margin-bottom: 0.75em; }

.ledger { border-radius: var(--radius-panel); padding: clamp(24px, 3vw, 34px); box-shadow: 0 26px 50px -24px rgba(43, 30, 23, 0.55); }
.ledger-title { font-size: var(--fs-sm); font-weight: 600; color: rgba(255, 250, 240, 0.75); margin-bottom: 14px; }
.ledger-lines li {
  display: grid; grid-template-columns: 1.4em auto 1fr; align-items: baseline; column-gap: 12px;
  padding: 10px 0; border-bottom: 2px dashed rgba(255, 250, 240, 0.2);
}
.ledger-op { font-family: var(--font-display); font-size: 1.5rem; color: rgba(255, 250, 240, 0.6); }
.ledger-num { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1.1; white-space: nowrap; }
.ledger-num small { font-size: 0.45em; margin-left: 0.15em; }
.ledger-label { font-size: var(--fs-sm); color: rgba(255, 250, 240, 0.72); text-align: right; }
.ledger-total { border-bottom: 0 !important; }
.ledger-total .ledger-num { color: var(--persimmon); font-size: clamp(2.375rem, 1.7rem + 2vw, 3.25rem); }
.ledger-note { font-size: var(--fs-xs); line-height: 1.65; color: rgba(255, 250, 240, 0.66); margin: 14px 0 0; }

.gather-title { margin-top: 1.8em; margin-bottom: 0.55em; }
.gather { margin-top: clamp(56px, 7vw, 96px); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.values li { border-top: 2px solid var(--clay); padding-top: 22px; }
.value-icon { width: 48px; height: 48px; color: var(--clay); margin-bottom: 14px; }
.values h4 { font-size: var(--fs-md); margin-bottom: 6px; }
.values p { color: var(--crumb); margin: 0; }

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .ledger { max-width: 520px; }
  .values { grid-template-columns: 1fr; gap: 0; }
  .values li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding-block: 20px; }
  .values .value-icon { grid-row: span 2; margin: 2px 0 0; }
}

/* ---------- 7. 만드는 과정 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.step h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-md); margin: 18px 0 6px; }
.step p { color: var(--crumb); margin: 0; font-size: 1rem; }
.step-no {
  display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none;
  border-radius: 50%; background: var(--clay); color: var(--chalk);
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 400; line-height: 1;
}
.step-media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-photo); overflow: hidden; background: var(--clay); }
.step-media img { width: 100%; height: 100%; object-fit: cover; }
.step-media-clay {
  display: grid; place-items: center; padding: 10%;
  background-color: var(--clay); background-image: url("../images/texture/coffee-grounds.webp"); background-size: 360px;
}
.step-media-clay svg { width: 100%; height: 100%; }

@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* 확대 보기 링크 */
.zoom { display: block; position: relative; cursor: zoom-in; }
.zoom img { transition: transform 0.4s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .zoom:hover img { transform: scale(1.03); }
}

/* ---------- 8. 캐릭터 ---------- */
.section-head { max-width: 40em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .section-title { margin-bottom: 0.45em; }
.section-head p { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); margin: 0; }

.cast { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 5vw, 64px) clamp(16px, 3vw, 40px); }
.cast-item { text-align: center; }
.cast-item img {
  width: auto; height: clamp(150px, 19vw, 250px); max-width: 88%;
  object-fit: contain; margin: 0 auto 14px;
  filter: drop-shadow(0 10px 14px rgba(43, 30, 23, 0.22));
}
.cast-item:nth-child(odd) img { transform: rotate(-3deg); }
.cast-item:nth-child(even) img { transform: rotate(3deg); }
.cast-name { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.2; }
.cast-tag {
  display: inline-block; margin: 8px 0 10px; padding: 2px 14px;
  border: 2px solid var(--clay); border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 700;
}
.cast-item p:last-child { color: var(--crumb); max-width: 17em; margin: 0 auto; }

@media (max-width: 720px) {
  .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cast-name { font-size: 1.5rem; }
  .cast-item p:last-child { font-size: 0.9375rem; }
}

/* ---------- 9. 상품 ---------- */
.goods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px); }
.good-media { aspect-ratio: 1 / 1; border-radius: var(--radius-photo); overflow: hidden; background: var(--clay); }
.good-media img { width: 100%; height: 100%; object-fit: cover; }
.good h3 { font-size: var(--fs-lg); margin: 20px 0 2px; }
.good-kind { font-size: var(--fs-sm); font-weight: 600; color: var(--cobalt); margin-bottom: 10px; }
.good p:last-child { color: var(--crumb); margin: 0; }

/* 사진별 초점 위치 (정사각·세로로 자를 때 주인공이 보이도록) */
.pos-yahaeng { object-position: 50% 62%; }
.pos-butterfly { object-position: 50% 28%; }
.pos-booth { object-position: 40% 50%; }
.pos-extrude { object-position: 62% 50%; }

.kit {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px;
  margin-top: clamp(48px, 6vw, 72px); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-panel);
}
.kit-copy { max-width: 40em; }
.kit-copy p { color: rgba(255, 250, 240, 0.85); margin: 0; }
.kit .btn { flex: none; }

@media (max-width: 900px) {
  .goods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .goods .good:last-child { grid-column: 1 / -1; }
  .goods .good:last-child .good-media { aspect-ratio: 16 / 10; }
  .kit { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .goods { grid-template-columns: 1fr; }
  .goods .good:last-child .good-media { aspect-ratio: 1 / 1; }
}

/* ---------- 10. 체험교육 ---------- */
.class-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.class-lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); color: rgba(255, 250, 240, 0.88); max-width: 30em; }
.facts { margin: 28px 0 32px; }
.facts > div { display: grid; grid-template-columns: 4.5em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 250, 240, 0.16); }
.facts > div:last-child { border-bottom: 1px solid rgba(255, 250, 240, 0.16); }
.facts dt { font-weight: 700; color: var(--persimmon); }
.facts dd { color: rgba(255, 250, 240, 0.88); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 2px 12px; border: 1.5px solid rgba(255, 250, 240, 0.45); border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; }

.class-photo .zoom { border-radius: var(--radius-photo); overflow: hidden; }
.class-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.class-photo figcaption { margin-top: 10px; font-size: var(--fs-sm); color: rgba(255, 250, 240, 0.7); }

.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 2px dashed rgba(255, 250, 240, 0.25); }
.flow li { display: grid; gap: 4px; padding: 24px 20px 0 0; }
.flow-no {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px;
  border-radius: 50%; background: var(--persimmon); color: var(--clay);
  font-family: var(--font-display); font-size: 1.25rem; line-height: 1;
}
.flow strong { font-size: var(--fs-md); }
.flow span:last-child { font-size: var(--fs-sm); color: rgba(255, 250, 240, 0.75); }

@media (max-width: 900px) {
  .class-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
}
@media (max-width: 480px) {
  .flow { grid-template-columns: 1fr; }
  .flow li { grid-template-columns: 40px 1fr; column-gap: 14px; padding: 18px 0 0; }
  .flow-no { grid-row: span 2; margin: 0; }
}

/* ---------- 11. 현장 기록 ---------- */
.log { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.log .zoom { border-radius: var(--radius-photo); overflow: hidden; }
.log img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.log figcaption { margin-top: 10px; font-size: var(--fs-sm); color: var(--crumb); }
@media (max-width: 760px) {
  .log { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .log li { scroll-snap-align: start; }
}

/* ---------- 12. 만드는 사람들 ---------- */
.team-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.team-copy p:not(.fineprint) { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
.roles > div { border-top: 2px solid var(--clay); padding: 16px 0 22px; }
.roles dt { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1.3; margin-bottom: 4px; }
.roles dd { color: var(--crumb); }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .roles { grid-template-columns: 1fr; } }

/* ---------- 13. 문의 ---------- */
.vision {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.625rem, 1.1rem + 2.2vw, 2.75rem); line-height: 1.35;
  padding-bottom: clamp(40px, 6vw, 72px); margin-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 2px dashed rgba(255, 250, 240, 0.25);
}
.vision p { margin: 0; text-wrap: balance; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-copy p { color: rgba(255, 250, 240, 0.88); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); }
.direct { margin-top: 28px; }
.direct > div { display: grid; grid-template-columns: 4em 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 250, 240, 0.16); }
.direct > div:last-child { border-bottom: 1px solid rgba(255, 250, 240, 0.16); }
.direct dt { color: rgba(255, 250, 240, 0.65); font-size: var(--fs-sm); padding-top: 2px; }
.direct dd { font-weight: 700; font-size: var(--fs-md); }
.direct a { text-decoration-color: var(--persimmon); text-underline-offset: 5px; text-decoration-thickness: 2px; }

.inquiry { background: var(--clay-2); border-radius: var(--radius-panel); padding: clamp(22px, 3.5vw, 36px); box-shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.6); }
.types { border: 0; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.types legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.types label { position: relative; }
.types input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.types span {
  display: inline-block; padding: 7px 14px; border: 1.5px solid rgba(255, 250, 240, 0.4); border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.types input:checked + span { background: var(--persimmon); border-color: var(--persimmon); color: var(--clay); }
.types input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: var(--fs-sm); margin-bottom: 6px; }
.optional { font-weight: 500; color: rgba(255, 250, 240, 0.6); margin-left: 4px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 2px solid transparent; border-radius: 12px;
  background: var(--chalk); color: var(--clay); font-size: 1rem; line-height: 1.5;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder, .field textarea::placeholder { color: #9A8B80; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--persimmon); }
.field [aria-invalid="true"] { border-color: var(--azalea); }

.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.form-help { font-size: var(--fs-xs); color: rgba(255, 250, 240, 0.65); margin: 14px 0 0; }
.form-status:not(:empty) { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: var(--fs-sm); line-height: 1.6; }
.form-status[data-kind="ok"] { background: rgba(141, 187, 85, 0.18); }
.form-status[data-kind="error"] { background: rgba(244, 167, 187, 0.2); }
.linkish { background: none; border: 0; padding: 0; color: var(--chalk); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- 14. 바닥글 ---------- */
.site-footer { background: var(--clay-deep); color: rgba(255, 250, 240, 0.75); padding: 48px 0 56px; font-size: var(--fs-sm); }
.footer-inner { display: grid; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--chalk); }
.footer-brand strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.footer-about { margin: 0; }
.footer-info { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.footer-info > div { display: flex; gap: 8px; }
.footer-info dt { color: rgba(255, 250, 240, 0.5); }
.footer-info a { text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }
.footer-copy { margin: 10px 0 0; color: rgba(255, 250, 240, 0.5); }
.footer-credit { margin: -8px 0 0; color: rgba(255, 250, 240, 0.5); font-size: 0.8125rem; }
.footer-credit a { color: rgba(255, 250, 240, 0.75); text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }

/* ---------- 15. 모바일 빠른 연락 ---------- */
.quickbar { display: none; }
@media (max-width: 760px) {
  .site-footer { padding-bottom: 120px; }
  .quickbar {
    --focus: var(--cobalt-hi);
    position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--clay); color: var(--chalk); border-radius: 20px; overflow: hidden;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
    transform: translateY(160%); transition: transform 0.25s ease;
  }
  .quickbar.is-visible { transform: none; }
  .quickbar a {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0 9px;
    font-size: var(--fs-xs); font-weight: 700; text-decoration: none;
  }
  .quickbar a + a { border-left: 1px solid rgba(255, 250, 240, 0.14); }
  .quickbar a:last-child { background: var(--persimmon); color: var(--clay); }
  .quickbar svg { width: 22px; height: 22px; }
}

/* ---------- 16. 사진 크게 보기 ---------- */
.lightbox {
  --focus: var(--cobalt-hi);
  width: min(1100px, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: 20px;
  background: var(--clay); color: var(--chalk); overflow: hidden;
}
.lightbox::backdrop { background: rgba(20, 14, 10, 0.82); }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px 12px 20px; }
.lightbox-caption { margin: 0; font-size: var(--fs-sm); font-weight: 600; }
.lightbox-close {
  flex: none; min-height: 40px; padding: 0 16px; border: 1.5px solid rgba(255, 250, 240, 0.5); border-radius: 999px;
  background: transparent; font-weight: 700; cursor: pointer;
}
.lightbox img { width: 100%; max-height: calc(94vh - 70px); object-fit: contain; background: #140E0A; }

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