/* =========================================================
   JEWDE JEWELRY INCHEON — One Page
   White · Charcoal · Cool Silver
   ========================================================= */

:root {
  --ink: #1b1c1e;
  --ink-soft: #3d3f42;
  --body: #4c4f53;
  --muted: #8b9095;
  --line: #e4e6e8;
  --line-soft: #eef0f1;
  --bg: #ffffff;
  --bg-alt: #f7f8f9;
  --dark: #151719;
  --dark-2: #1d2023;
  --silver: #b8bdc2;

  --serif: "Noto Serif KR", "Apple SD Gothic Neo", serif;
  --display: "Cormorant Garamond", "Noto Serif KR", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

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

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

h1, h2, h3, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: #1b1c1e; color: #fff; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 1.5px solid var(--ink);
  outline-offset: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .94);
}

.header-inner {
  height: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}
.brand-mark {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: .34em;
  padding-left: .34em;
  color: var(--ink);
}
.brand-sub {
  font-size: 8px;
  letter-spacing: .26em;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}
.nav a {
  position: relative;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 450;
  letter-spacing: .02em;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color .25s;
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active:not(.nav-cta)::after { transform: scaleX(1); transform-origin: left; }

.nav .nav-cta {
  margin-left: 6px;
  padding: 10px 22px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 12.5px;
  letter-spacing: .05em;
  transition: background .3s, color .3s;
}
.nav .nav-cta:hover { background: var(--ink); color: #fff; }

/* 모바일 메뉴 전용 — 외부 채널 링크(공식 블로그·인스타그램). 데스크톱 상단 메뉴에는 노출하지 않습니다. */
.nav .nav-ext { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1px;
  background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 120px;
  overflow: hidden;
  background: #fff;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: var(--header-h) 0 0;
  pointer-events: none;
  color: #aeb4b9;
}
.hero-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(720px, 88vw);
  transform: translate(-50%, -47%);
  opacity: .5;
}
.hero-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(27,28,30,.045) 50%, transparent calc(50% + 1px)),
    radial-gradient(ellipse at 50% 42%, rgba(240,242,244,.85) 0%, rgba(255,255,255,0) 62%);
}
.hero-lines::before,
.hero-lines::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(27,28,30,.045);
}
.hero-lines::before { left: 18%; }
.hero-lines::after { right: 18%; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .42em;
  color: var(--muted);
  margin-bottom: clamp(30px, 5vh, 52px);
  padding-left: .42em;
}

.hero-title { display: flex; flex-direction: column; align-items: center; }

.hero-en {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.22;
  letter-spacing: .045em;
  color: var(--ink);
}
.hero-ko {
  margin-top: clamp(16px, 2.4vh, 26px);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(16px, 2vw, 21px);
  letter-spacing: .16em;
  color: var(--ink-soft);
}

.hero-rule {
  width: 44px;
  height: 1px;
  background: var(--silver);
  margin: clamp(26px, 4vh, 40px) auto;
}

.hero-sub {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(13.5px, 1.5vw, 16px);
  line-height: 2;
  letter-spacing: .01em;
  color: #5c6064;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(36px, 5.5vh, 54px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 172px;
  padding: 16px 30px;
  font-size: 13.5px;
  font-weight: 450;
  letter-spacing: .04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; border-color: #000; }
.btn-line { background: transparent; color: var(--ink); border-color: #cfd3d6; }
.btn-line:hover { border-color: var(--ink); }

.btn-arrow { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* =========================================================
   Section base
   ========================================================= */

.section {
  position: relative;
  scroll-margin-top: var(--header-h);
  padding: clamp(96px, 13vw, 168px) 0;
}

.section-head { margin-bottom: clamp(54px, 7vw, 88px); }

.section-no {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .34em;
  color: var(--muted);
  margin-bottom: 26px;
  padding-left: .34em;
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.9vw, 46px);
  line-height: 1.5;
  letter-spacing: .005em;
  color: var(--ink);
}

.section-desc {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--muted);
}

.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 2.35vw, 27px);
  line-height: 1.75;
  letter-spacing: .005em;
  color: var(--ink);
}
.lead em { font-style: normal; border-bottom: 1px solid var(--silver); padding-bottom: 1px; }

.lead--light { color: #f2f3f4; }

.text-link {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink);
  border-bottom: 1px solid #c9ced2;
  padding-bottom: 4px;
  transition: border-color .25s, color .25s;
}
.text-link:hover { border-color: var(--ink); }

.muted { color: var(--muted); }

/* =========================================================
   01 About
   ========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.about-lead p + p {
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--body);
  max-width: 44ch;
}
.about-lead .lead { margin-bottom: 30px; }

.about-heritage {
  font-family: var(--serif);
  font-size: clamp(16px, 1.75vw, 19px) !important;
  line-height: 1.85 !important;
  letter-spacing: .005em;
  color: var(--ink) !important;
  border-left: 1px solid var(--silver);
  padding-left: 20px;
  max-width: 40ch !important;
}

.about-figure {
  margin: 0 0 clamp(34px, 4vw, 48px);
}
.about-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 52% 50%;
  background: #eceef0;
}
.about-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--muted);
}
.about-figure figcaption span {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .26em;
  color: #6c7378;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.facts li {
  padding: 26px 18px 0 0;
  border-right: 1px solid var(--line);
}
.facts li:last-child { border-right: 0; padding-right: 0; }
.facts li + li { padding-left: 18px; }

.fact-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: .01em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ink);
}
.fact-num sup {
  font-family: var(--sans);
  font-size: .4em;
  font-weight: 400;
  letter-spacing: .02em;
  vertical-align: super;
  margin-left: 3px;
  color: var(--muted);
}
.fact-label {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}

/* =========================================================
   02 Atelier
   ========================================================= */

.atelier {
  background: var(--dark);
  color: #b9bdc1;
  overflow: hidden;
}
.atelier-bg {
  position: absolute;
  inset: 0;
  color: #fff;
  pointer-events: none;
}
.atelier-bg svg { width: 100%; height: 100%; }

.atelier .section-head { position: relative; }
.atelier .section-no { color: #7d8388; }
.atelier .section-title { color: #f4f5f6; }

.atelier-figure {
  position: relative;
  margin: 0 0 clamp(40px, 5vw, 64px);
}
.atelier-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 42%;
  background: #26292c;
}
.atelier-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: .02em;
  color: #8b9095;
}
.atelier-figure figcaption span {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .26em;
  color: #c3c7ca;
}

.atelier-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
}

.atelier-copy .lead { margin-bottom: 30px; }
.atelier-copy p:not(.lead) {
  font-size: 14.5px;
  line-height: 2;
  color: #a9aeb2;
  max-width: 46ch;
}
.atelier-copy p + p { margin-top: 22px; }

.craft-list { border-top: 1px solid rgba(255,255,255,.13); }
.craft-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.craft-no {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .12em;
  color: #6f757a;
  padding-top: 3px;
}
.craft-list h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .02em;
  color: #eceded;
  margin-bottom: 6px;
}
.craft-list p { font-size: 13px; line-height: 1.8; color: #92979b; }

.atelier-note {
  position: relative;
  margin-top: clamp(52px, 7vw, 80px);
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.13);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(15px, 1.8vw, 19px);
  letter-spacing: .04em;
  color: #cfd3d6;
}
.atelier-note span { color: #fff; border-bottom: 1px solid #6f757a; }

/* =========================================================
   03 Promise
   ========================================================= */

.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.promise-card {
  position: relative;
  padding: clamp(34px, 4.2vw, 52px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background .4s var(--ease);
}
.promise-card:hover { background: #fbfbfc; }

.promise-no {
  position: absolute;
  top: clamp(30px, 3.8vw, 44px);
  right: clamp(30px, 3.8vw, 44px);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .2em;
  color: #b0b5b9;
}

.promise-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 30px;
  color: #2f3235;
}
.promise-icon svg { width: 100%; height: 100%; }

.promise-card h3 {
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .01em;
  color: var(--ink);
  margin-bottom: 14px;
}
.promise-card p {
  font-size: 14px;
  line-height: 1.9;
  color: #6c7074;
  max-width: 42ch;
}

/* =========================================================
   04 Channel
   ========================================================= */

.channel { background: var(--bg-alt); }

.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #dcdfe2;
  border-left: 1px solid #dcdfe2;
}
.channel-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: clamp(26px, 3.4vw, 40px);
  text-align: left;
  background: #fff;
  border: 0;
  border-right: 1px solid #dcdfe2;
  border-bottom: 1px solid #dcdfe2;
  font-family: inherit;
  cursor: pointer;
  transition: background .35s var(--ease);
}
.channel-card:hover { background: #fcfcfd; }
.channel-card--wide { grid-column: span 2; }

.channel-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: var(--ink-soft);
}
.channel-icon svg { width: 100%; height: 100%; }

.channel-body { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.channel-label {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink);
}
.channel-desc { font-size: 12.5px; color: var(--muted); }

.channel-arrow {
  color: #a9aeb2;
  font-size: 15px;
  transition: transform .35s var(--ease), color .35s;
}
.channel-card:hover .channel-arrow { transform: translateX(4px); color: var(--ink); }

.channel-direct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #dcdfe2;
  font-size: 13.5px;
  color: var(--body);
}
.channel-direct a { color: var(--ink); border-bottom: 1px solid #c9ced2; }
.channel-direct a:hover { border-color: var(--ink); }

/* =========================================================
   05 FAQ
   ========================================================= */

.faq-list { border-top: 1px solid var(--ink); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px 26px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-q {
  font-family: var(--serif);
  font-size: clamp(14.5px, 1.6vw, 17px);
  font-weight: 400;
  letter-spacing: .005em;
  color: var(--ink);
  transition: color .25s;
}
.faq-item summary:hover .faq-q { color: #000; }

.faq-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--ink-soft);
  transition: transform .35s var(--ease), opacity .3s;
}
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: rotate(0deg); opacity: 0; }

.faq-a {
  padding: 0 0 30px;
  max-width: 76ch;
}
.faq-a p {
  font-size: 14.5px;
  line-height: 1.95;
  color: #5d6165;
}
.faq-a a { color: var(--ink); border-bottom: 1px solid #c9ced2; }

/* =========================================================
   06 Visit
   ========================================================= */

.visit { background: var(--bg-alt); }

.visit-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: stretch;
}

.visit-map {
  position: relative;
  background: #fff;
  border: 1px solid #dcdfe2;
  overflow: hidden;
  min-height: 420px;
}
.visit-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(27, 28, 30, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 3px 14px rgba(27, 28, 30, .22);
}
.map-pin i {
  position: relative;
  width: 16px;
  height: 16px;
  background: var(--ink);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(27, 28, 30, .35);
}

.map-label {
  position: absolute;
  right: calc(50% + 42px);
  top: calc(50% - 72px);
  text-align: right;
  background: #fff;
  border: 1px solid var(--ink);
  padding: 8px 12px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--ink);
  white-space: nowrap;
}
.map-label span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: .02em;
}
.map-credit {
  position: absolute;
  right: 5px;
  bottom: 3px;
  font-size: 8px;
  letter-spacing: .01em;
  color: #7c8286;
  background: rgba(255, 255, 255, .72);
  padding: 1px 4px;
}

.visit-info {
  display: flex;
  flex-direction: column;
  padding: clamp(4px, 1vw, 10px) 0;
}
.visit-block h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.visit-block p {
  font-size: 14px;
  line-height: 1.9;
  color: #5d6165;
  margin-bottom: 18px;
}

.visit-table {
  margin-top: 30px;
  border-top: 1px solid #dcdfe2;
}
.visit-table > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid #dcdfe2;
}
.visit-table dt {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
  padding-top: 2px;
}
.visit-table dd {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.visit-table a { border-bottom: 1px solid #ccd0d4; }

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.visit-actions .btn { min-width: 150px; padding: 14px 24px; font-size: 13px; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--dark);
  color: #969b9f;
  padding: clamp(60px, 8vw, 92px) 0 34px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px clamp(40px, 6vw, 100px);
}
.footer-logo {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: .3em;
  color: #fff;
  line-height: 1;
}
.footer-slogan {
  margin-top: 16px;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: .06em;
  color: #b9bdc1;
}
.footer-since {
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: .3em;
  color: #6f757a;
}

.footer-info { font-size: 12.5px; line-height: 2; color: #8d9296; }
.footer-store {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .04em;
  color: #e6e8e9;
  margin-bottom: 8px;
}
.footer-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.footer-links a { color: #b9bdc1; border-bottom: 1px solid #3c4044; }
.footer-links a:hover { color: #fff; border-color: #fff; }
.footer-links span { color: #4a4e52; }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: 26px;
  border-top: 1px solid #2b2e31;
  font-size: 10.5px;
  letter-spacing: .06em;
  color: #6f757a;
}
.to-top { font-size: 9.5px; letter-spacing: .26em; color: #a9aeb2; }
.to-top:hover { color: #fff; }

/* =========================================================
   Mobile bar
   ========================================================= */

.mobile-bar { display: none; }

/* =========================================================
   Modal
   ========================================================= */

.modal {
  width: min(480px, calc(100vw - 40px));
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--body);
}
.modal::backdrop {
  background: rgba(15, 17, 19, .55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.modal-inner {
  position: relative;
  background: #fff;
  padding: clamp(40px, 6vw, 56px) clamp(28px, 5vw, 46px) clamp(32px, 5vw, 42px);
  text-align: center;
}
.modal[open] .modal-inner { animation: modalIn .4s var(--ease); }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 12px;
  background: none;
  border: 0;
  color: var(--ink-soft);
  cursor: pointer;
}
.modal-close svg { width: 100%; height: 100%; }

.modal-eyebrow {
  font-size: 9px;
  letter-spacing: .34em;
  color: var(--muted);
  margin-bottom: 20px;
  padding-left: .34em;
}
.modal-title {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 25px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
}
.modal-desc {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #6c7074;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 30px;
}
.modal-actions .btn { width: 100%; padding: 15px 20px; font-size: 13px; }
.modal-place { margin-top: 22px; font-size: 12px; }

/* =========================================================
   Reveal animation
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav a { font-size: 12.5px; }
  .about-grid { gap: 48px; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .menu-toggle { display: block; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    height: calc(100svh - var(--header-h));
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 28px var(--gutter) 40px;
    background: #ffffff;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 300;
    letter-spacing: .02em;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a::after { display: none; }
  .nav .nav-cta {
    margin: 24px 0 0;
    padding: 16px;
    text-align: center;
    font-family: var(--sans);
    font-size: 14px;
    border-bottom: 0;
    background: var(--ink);
    color: #fff;
  }
  .nav .nav-ext {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 450;
    letter-spacing: .02em;
    color: var(--ink-soft);
  }
  .nav .nav-ext .nav-ext-arrow {
    font-size: 12px;
    color: var(--muted);
    transition: transform .3s var(--ease), color .25s;
  }
  .nav .nav-ext:hover,
  .nav .nav-ext:active { color: var(--ink); }
  .nav .nav-ext:hover .nav-ext-arrow,
  .nav .nav-ext:active .nav-ext-arrow { color: var(--ink); transform: translate(2px, -2px); }

  /* 짧은 화면(아이폰 SE·소형 안드로이드)에서 메뉴 9개가 한 화면에 들어가도록 간격만 살짝 조입니다. */
  @media (max-height: 740px) {
    .nav { padding-top: 18px; padding-bottom: 22px; }
    .nav a { padding: 13px 0; font-size: 17px; }
    .nav .nav-ext { padding: 11px 0; }
    .nav .nav-cta { margin-top: 16px; padding: 14px; }
  }

  .about-grid { grid-template-columns: 1fr; gap: 54px; }
  .about-figure { margin-bottom: 40px; }

  .atelier-grid { grid-template-columns: 1fr; gap: 52px; }
  .promise-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-map { order: 2; }
  .visit-info { order: 1; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { margin-top: 20px; }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    padding: 16px 8px;
    text-align: center;
    font-size: 13.5px;
    letter-spacing: .03em;
    color: var(--ink);
  }
  .mobile-bar a:first-child {
    background: var(--ink);
    color: #fff;
  }
  .mobile-bar a + a { border-left: 1px solid var(--line); }

  body { padding-bottom: 54px; }
  .site-footer { padding-bottom: 74px; }
}

@media (max-width: 600px) {
  .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 96px; }
  .hero-rings { width: 112vw; opacity: .38; }
  .hero-lines::before { left: 8%; }
  .hero-lines::after { right: 8%; }
  .hero-en { font-size: clamp(34px, 10vw, 44px); letter-spacing: .02em; line-height: 1.25; }
  .hero-ko { font-size: 14px; letter-spacing: .12em; }
  .hero-sub { font-size: 12.5px; }
  .hero-actions .btn { flex: 1 1 140px; min-width: 0; padding: 15px 20px; font-size: 13px; }

  .section { padding: 82px 0; }
  .section-head { margin-bottom: 42px; }
  .facts { grid-template-columns: 1fr; }
  .facts li { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .facts li + li { padding-left: 0; }
  .facts li:last-child { border-bottom: 0; }
  .fact-num { font-size: 30px; }
  .fact-label br { display: none; }

  .promise-card { padding: 30px 24px; }
  .promise-no { top: 28px; right: 24px; }
  .promise-icon { margin-bottom: 22px; }

  .channel-grid { grid-template-columns: 1fr; }
  .channel-card--wide { grid-column: span 1; }
  .channel-card { padding: 22px 20px; gap: 16px; }

  .visit-table > div { grid-template-columns: 78px 1fr; gap: 12px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .modal-actions .btn { min-width: 0; }
}

@media (max-width: 600px) {
  .visit-map { min-height: 0; }
  .visit-map img { aspect-ratio: 4 / 4.4; }
  .map-label { left: 50%; right: auto; top: calc(50% + 36px); transform: translateX(-50%); text-align: center; }
}
