:root {
  --ink: #151817;
  --ink-soft: #454b47;
  --hanji: #e6e2d4;
  --porcelain: #f8f6ee;
  --ash: #c9c7bb;
  --line: rgba(21, 24, 23, 0.17);
  --indigo: #123f5c;
  --deep-indigo: #061a27;
  --mineral: #7c8c82;
  --tea: #8a765d;
  --serif-display: "Noto Serif KR", "Nanum Myeongjo", "AppleMyungjo", "Times New Roman", serif;
  --latin-serif: Georgia, "Iowan Old Style", "Noto Serif KR", "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(21, 24, 23, 0.018) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)),
    var(--hanji);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.68;
}

.hero-copy,
.intro-text,
.philosophy-copy,
.meaning-list,
.craft-copy,
.collection-copy,
.collection-gallery figcaption,
.buyers-panel,
.footer-copy {
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}

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

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

a:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 5px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--porcelain);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 360ms ease, color 360ms ease, border-color 360ms ease,
    backdrop-filter 360ms ease, padding 360ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 26, 39, 0.42), transparent);
  opacity: 1;
  transition: opacity 360ms ease;
  pointer-events: none;
  z-index: -1;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(248, 246, 238, 0.82);
  border-bottom-color: rgba(21, 24, 23, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header.is-solid::before {
  opacity: 0;
}

.brand-mark {
  display: block;
  width: 42px;
}

.brand-mark img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 9px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin: -6px -8px -6px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 260ms ease, opacity 200ms ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--deep-indigo);
  isolation: isolate;
}

.hero picture {
  position: absolute;
  inset: 0;
}

.hero picture,
.hero img {
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  filter: saturate(0.86) contrast(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 26, 39, 0.66), rgba(6, 26, 39, 0.22) 46%, rgba(6, 26, 39, 0.02)),
    linear-gradient(0deg, rgba(6, 26, 39, 0.34), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(96px, 14vh, 150px) clamp(24px, 7vw, 112px);
  color: var(--porcelain);
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--indigo);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: clamp(30px, 4vw, 56px);
  color: rgba(248, 246, 238, 0.84);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif-display);
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-name {
  margin: 14px 0 26px;
  font-family: var(--latin-serif);
  font-size: clamp(15px, 2vw, 26px);
  letter-spacing: 0.22em;
}

.hero-copy {
  max-width: 920px;
  margin: clamp(54px, 9vh, 104px) auto 0;
  font-family: var(--serif-display);
  font-size: clamp(24px, 2.7vw, 40px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.hero-copy span {
  display: block;
}

.hero-copy-en {
  margin: 12px 0 0;
  font-family: var(--sans);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.section-pad {
  padding: clamp(82px, 12vw, 168px) clamp(24px, 7vw, 112px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.46fr) minmax(0, 1.54fr);
  gap: clamp(30px, 7vw, 108px);
}

.intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.46fr) minmax(0, 1.54fr);
  gap: clamp(30px, 7vw, 108px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.intro-brand {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 34px;
  padding-top: 4px;
}

.intro-brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: -14px;
  width: 5px;
  background: linear-gradient(180deg, var(--indigo), rgba(18, 63, 92, 0.05));
}

.intro-brand img {
  width: clamp(96px, 10vw, 128px);
  height: auto;
  opacity: 0.82;
  mix-blend-mode: multiply;
}

.intro-text {
  position: relative;
  padding-left: clamp(20px, 3vw, 48px);
}

.intro h2,
.philosophy-copy h2,
.section-heading h2,
.collection-copy h2,
.buyers-panel h2 {
  margin: 0 0 28px;
  font-family: var(--latin-serif);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.12;
}

.intro h2 {
  max-width: 980px;
  color: var(--deep-indigo);
  font-size: clamp(32px, 4.2vw, 62px);
}

.intro p,
.philosophy-lead,
.collection-copy p,
.buyers-panel p {
  margin: 0;
  max-width: 760px;
  color: #3f4642;
  font-family: var(--sans);
  font-size: clamp(16px, 1.38vw, 20px);
  line-height: 1.78;
}

.philosophy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.64fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: end;
  background: var(--porcelain);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.philosophy::before {
  content: "물:담";
  position: absolute;
  top: clamp(40px, 6vw, 82px);
  right: clamp(18px, 5vw, 76px);
  color: rgba(18, 63, 92, 0.045);
  font-family: var(--serif-display);
  font-size: clamp(110px, 18vw, 260px);
  line-height: 0.78;
  pointer-events: none;
}

.philosophy-copy {
  position: relative;
  z-index: 1;
  max-width: 920px;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}

.philosophy-copy .section-label {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.philosophy-copy h2 {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--deep-indigo);
  font-family: var(--serif-display);
  font-size: 60px;
  line-height: 1.2;
  text-wrap: balance;
}

.philosophy-copy h2 span {
  display: block;
}

.section-heading h2 span {
  display: block;
}

.philosophy-en {
  margin: 16px 0 0;
  color: var(--indigo);
  font-family: var(--latin-serif);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 20px);
  letter-spacing: 0.01em;
}

.philosophy-lead {
  max-width: 860px;
  margin-top: clamp(28px, 3vw, 40px);
  color: var(--deep-indigo);
  font-size: 17px;
  line-height: 1.85;
  text-wrap: balance;
}

.philosophy-lead-en {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--mineral);
  font-family: var(--sans);
  font-style: italic;
  font-size: 14px;
  line-height: 1.75;
}

.meaning-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 34px);
  max-width: 820px;
  margin: clamp(34px, 4.5vw, 56px) 0 0;
}

.meaning-list article {
  min-height: 126px;
  padding: 18px 22px 18px 0;
  border-top: 1px solid var(--line);
}

.meaning-list h3 {
  margin: 0 0 4px;
  color: var(--deep-indigo);
  font-family: var(--serif-display);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 400;
}

.meaning-list .meaning-en {
  margin: 0 0 10px;
  color: var(--mineral);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meaning-list p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
}

.philosophy-media {
  position: relative;
  z-index: 1;
  margin: 0;
  align-self: stretch;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(21, 24, 23, 0.16);
  background: var(--deep-indigo);
}

.philosophy-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.02);
}

.philosophy-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 26, 39, 0.08), rgba(6, 26, 39, 0.34)),
    linear-gradient(90deg, rgba(6, 26, 39, 0.2), transparent 54%);
  pointer-events: none;
}

.philosophy-media figcaption {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 18px;
  margin: 0;
  padding-top: 14px;
  color: var(--porcelain);
  border-top: 1px solid rgba(248, 246, 238, 0.42);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.craft {
  background:
    linear-gradient(90deg, rgba(248, 246, 238, 0.035) 1px, transparent 1px) 0 0 / 90px 90px,
    var(--deep-indigo);
  color: var(--porcelain);
}

.craft .section-label {
  color: #8fb1bd;
}

.craft .section-heading h2 {
  max-width: 980px;
}

.section-note {
  max-width: none;
  margin: -10px 0 0;
  color: rgba(248, 246, 238, 0.66);
  font-family: var(--sans);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
  white-space: nowrap;
}

.section-heading {
  margin-bottom: clamp(44px, 7vw, 92px);
}

.craft-panels {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(248, 246, 238, 0.2);
}

.craft-panels article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(48px, 0.12fr) minmax(140px, 230px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid rgba(248, 246, 238, 0.2);
}

.craft-panels img {
  width: 100%;
  aspect-ratio: 5 / 3.2;
  object-fit: cover;
  border: 1px solid rgba(248, 246, 238, 0.18);
  filter: saturate(0.76) contrast(1.04);
}

.craft-index {
  color: rgba(248, 246, 238, 0.42);
  font-family: var(--latin-serif);
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.craft-copy {
  max-width: 720px;
}

.craft-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #8fb1bd;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.craft-panels h3 {
  color: var(--porcelain);
  margin: 0 0 12px;
  font-family: var(--serif-display);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 400;
  line-height: 1.12;
}

.craft-panels p {
  margin: 0;
  color: rgba(248, 246, 238, 0.72);
  font-family: var(--sans);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.72;
}

.craft-panels article:nth-child(1) p:not(.craft-en) {
  max-width: none;
  white-space: nowrap;
}

.craft-panels article:nth-child(2) p {
  max-width: none;
}

.craft-panels article:nth-child(2) p span {
  display: block;
}

.craft-panels .craft-en {
  margin: 9px 0 0;
  max-width: 640px;
  color: rgba(248, 246, 238, 0.46);
  font-family: var(--sans);
  font-size: 13px;
  font-style: italic;
  line-height: 1.7;
  white-space: normal;
}

.collection {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1.5fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: start;
  background: #d9d9cb;
}

.collection-copy {
  position: relative;
  max-width: 520px;
  padding-top: 8px;
}

.collection-copy .section-label {
  margin-bottom: clamp(30px, 4vw, 42px);
}

.collection-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.78fr);
  grid-template-areas:
    "feature detail"
    "feature room";
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}

.collection-gallery figure {
  position: relative;
  margin: 0;
}

.collection-image {
  position: relative;
  overflow: hidden;
  background: var(--deep-indigo);
  isolation: isolate;
}

.collection-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(6, 26, 39, 0.16));
  opacity: 0;
  pointer-events: none;
  transition: opacity 820ms ease;
}

.gallery-feature {
  grid-area: feature;
}

.gallery-detail {
  grid-area: detail;
}

.gallery-room {
  grid-area: room;
  align-self: end;
}

.collection-gallery img {
  width: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transform: scale(1.01);
  transition:
    filter 820ms ease,
    transform 920ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.gallery-feature img {
  aspect-ratio: 4 / 5.4;
  object-position: center center;
}

.gallery-detail img,
.gallery-room img {
  aspect-ratio: 4 / 3.05;
}

.gallery-detail img {
  object-position: center 68%;
}

.collection-gallery figcaption {
  max-width: 360px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  opacity: 0.86;
  transform: translateY(0);
  transition:
    color 520ms ease,
    opacity 520ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.collection-gallery figcaption span {
  display: block;
  margin-bottom: 3px;
  color: var(--deep-indigo);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.collection-gallery figure:hover .collection-image::after {
  opacity: 1;
}

.collection-gallery figure:hover img {
  filter: saturate(1) contrast(1.03);
}

.gallery-feature:hover img {
  transform: scale(1.055) translate3d(0, -1.8%, 0);
}

.gallery-detail:hover img,
.gallery-room:hover img {
  transform: scale(1.04) translate3d(0, -1%, 0);
}

.collection-gallery figure:hover figcaption {
  color: var(--ink);
  opacity: 1;
  transform: translateY(-4px);
}

.expand-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: clamp(62px, 9vw, 118px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  clear: both;
}

.expand-gallery figure {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(21, 24, 23, 0.16);
  background: var(--deep-indigo);
}

.expand-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expand-gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 9px;
  color: var(--porcelain);
  background: rgba(6, 26, 39, 0.62);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Muldam dye-in 스크롤 진입 모션 (PC·모바일 동일) ──
   카드가 화면에 들어오면 이미지가 천에 염색이 스미듯 드러남:
   opacity 0→1, blur 8px→0, saturate 70%→100%, scale 1.018→1, 카드별 120ms 간격.
   .has-js 가 있을 때만 숨김 → 스크립트 미실행 시 이미지는 그대로 보임 */
.has-js [data-dye-gallery] .dye-card img {
  opacity: 0;
  filter: blur(8px) saturate(70%);
  transform: scale(1.018);
  transition:
    opacity 1400ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1400ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  /* opacity·filter 만 카드별 stagger, transform(=hover 확대)은 지연 없이 즉시 */
  transition-delay: var(--dye-delay, 0ms), var(--dye-delay, 0ms), 0ms;
  will-change: opacity, filter, transform;
}
.has-js [data-dye-gallery] .dye-card.is-visible img {
  opacity: 1;
  filter: blur(0) saturate(100%);
  transform: scale(1);
}
.has-js [data-dye-gallery] .dye-card figcaption {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--dye-delay, 0ms) + 520ms);
}
.has-js [data-dye-gallery] .dye-card.is-visible figcaption {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .has-js [data-dye-gallery] .dye-card img,
  .has-js [data-dye-gallery] .dye-card figcaption {
    transition-duration: 1ms;
    transition-delay: 0ms;
  }
}

/* 마우스 오버 시 레이아웃은 그대로, 사진만 확대 (카드의 overflow:hidden 이 잘라냄).
   포인터가 있는 기기에서만 적용 — 터치 기기에선 적용되지 않음 */
@media (hover: hover) {
  .has-js .expand-gallery .dye-card.is-visible:hover img {
    transform: scale(1.07);
  }
}

.buyers {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--porcelain);
  background: var(--deep-indigo);
}

.buyers > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.01);
}

.buyers::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 39, 0.68), rgba(6, 26, 39, 0.18) 72%),
    linear-gradient(0deg, rgba(6, 26, 39, 0.44), transparent 48%);
}

.buyers-panel {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin: 0 0 clamp(38px, 7vw, 96px) clamp(24px, 7vw, 112px);
  padding: clamp(30px, 4vw, 48px);
  border-left: 6px solid rgba(143, 177, 189, 0.82);
  background: rgba(6, 26, 39, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.buyers-panel .section-label {
  margin-bottom: clamp(30px, 4vw, 42px);
  color: #8fb1bd;
}

.buyers-panel p {
  color: rgba(248, 246, 238, 0.82);
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  margin: 30px 0 0;
  color: rgba(248, 246, 238, 0.84);
  font-family: var(--sans);
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.contact-list span {
  grid-column: 1 / -1;
}

.contact-list b {
  display: block;
  margin-bottom: -1px;
  color: rgba(248, 246, 238, 0.56);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-list a {
  width: fit-content;
}

.contact-ig .ig-handle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-ig svg {
  opacity: 0.7;
  transition: opacity 200ms ease;
}

.contact-ig:hover svg,
.contact-ig:focus-visible svg {
  opacity: 1;
}

.buyer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.buyer-tags span {
  border: 1px solid rgba(248, 246, 238, 0.42);
  padding: 9px 13px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 42px clamp(24px, 7vw, 112px);
  background: var(--ink);
  color: var(--porcelain);
  font-family: var(--sans);
  font-size: 13px;
}

.footer-mark {
  width: 76px;
}

.footer-mark img {
  width: 100%;
  height: auto;
  filter: brightness(1.08) saturate(0.82);
}

.footer-copy p {
  margin: 0;
}

.footer-copy p + p {
  color: rgba(248, 246, 238, 0.62);
}

.footer-contact {
  display: grid;
  gap: 3px;
  justify-items: end;
}

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

  .collection-gallery img,
  .expand-gallery img,
  .collection-gallery figure:hover img,
  .expand-gallery figure:hover img,
  .expand-gallery figure:focus-within img,
  .collection-gallery figure:hover figcaption,
  .expand-gallery figure:hover figcaption,
  .expand-gallery figure:focus-within figcaption {
    transform: none !important;
  }
}

@media (max-width: 1120px) and (min-width: 861px) {
  .philosophy-copy h2 {
    font-size: 50px;
  }

  .philosophy-lead {
    font-size: 18px;
  }
}

@media (max-width: 860px) {
  .site-header {
    top: 0;
    left: 0;
    right: 0;
    min-height: 58px;
    padding: 10px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6px clamp(18px, 6vw, 28px) 16px;
    background: rgba(248, 246, 238, 0.97);
    border-bottom: 1px solid rgba(21, 24, 23, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    font-size: 13px;
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 240ms ease, transform 240ms ease, visibility 240ms;
  }

  .site-nav a {
    padding: 14px 2px;
    border-bottom: 1px solid rgba(21, 24, 23, 0.08);
  }

  .site-nav a::after {
    display: none;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header.nav-open {
    color: var(--ink);
    background: rgba(248, 246, 238, 0.97);
    border-bottom-color: transparent;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .site-header.nav-open::before {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(6, 26, 39, 0.52) 0%,
        rgba(6, 26, 39, 0.32) 30%,
        rgba(6, 26, 39, 0.5) 62%,
        rgba(6, 26, 39, 0.84) 100%
      );
  }

  .section-pad {
    padding: clamp(58px, 14vw, 92px) clamp(22px, 6vw, 34px);
  }

  .hero-content {
    padding: 96px 24px 80px;
  }

  .hero-copy {
    margin-top: clamp(34px, 6vh, 52px);
  }

  .intro,
  .philosophy,
  .section-heading,
  .collection {
    grid-template-columns: 1fr;
  }

  .intro-brand {
    justify-content: flex-start;
    padding-left: 0;
    padding-top: 0;
  }

  .intro-brand::before {
    display: none;
  }

  .intro-brand img {
    width: 84px;
  }

  .intro-text {
    padding-left: 0;
    padding-top: 22px;
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .meaning-list,
  .collection-gallery {
    grid-template-columns: 1fr;
  }

  .philosophy::before {
    top: 96px;
    right: 12px;
    font-size: 116px;
  }

  .philosophy-copy .section-label {
    margin-bottom: 20px;
  }

  .philosophy-copy h2 {
    max-width: none;
    font-size: 34px;
    line-height: 1.28;
  }

  .philosophy-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .philosophy-media video {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .philosophy-media figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding-top: 10px;
    font-size: 10px;
  }

  .philosophy-lead {
    max-width: none;
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.78;
  }

  .meaning-list {
    gap: 22px;
    margin-top: 30px;
  }

  .meaning-list article {
    min-height: auto;
    padding: 16px 0 0;
  }

  .section-note {
    margin-top: -12px;
    white-space: normal;
  }

  .craft-panels {
    grid-template-columns: 1fr;
  }

  .craft-panels article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px 18px;
    align-items: start;
    min-height: auto;
    padding: 26px 0;
  }

  .craft-panels img {
    grid-column: 2;
    width: min(180px, 64%);
    aspect-ratio: 5 / 3.2;
  }

  .craft-index {
    grid-row: 1 / span 2;
    font-size: 30px;
  }

  .craft-copy {
    grid-column: 2;
  }

  .craft-panels article:nth-child(1) p:not(.craft-en) {
    white-space: normal;
  }

  .craft-panels article:nth-child(2) p {
    max-width: none;
  }

  .craft-panels h3 {
    margin-top: 0;
  }

  .collection-copy {
    position: static;
    max-width: none;
    padding-top: 0;
  }

  .collection-gallery {
    grid-template-areas:
      "feature"
      "detail"
      "room";
  }

  .gallery-feature img {
    aspect-ratio: 4 / 5;
    object-position: center top;
  }

  /* 모바일: 세로 적층 대신 가로 슬라이드(스와이프 캐러셀) */
  .expand-gallery {
    grid-column: auto;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .expand-gallery .dye-card {
    scroll-snap-align: start;
  }

  .buyers {
    min-height: 0;
    padding-top: 200px;
  }

  .buyers-panel {
    width: calc(100% - 32px);
    margin: 0 16px 28px;
    padding: 26px 20px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

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

  .footer-contact {
    justify-items: start;
  }
}

@media (max-width: 520px) {
  .expand-gallery {
    grid-auto-columns: 84%;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 23px;
  }

  .intro h2 {
    font-size: 26px;
  }

  .intro p {
    font-size: 15px;
  }

  .philosophy-copy h2 {
    font-size: 29px;
  }

  .section-heading h2,
  .collection-copy h2,
  .buyers-panel h2 {
    font-size: 28px;
  }

  .craft-panels h3 {
    font-size: 23px;
  }

  .craft-panels article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px 14px;
  }

  .craft-index {
    font-size: 24px;
  }
}

/* ── 구매·견적 문의 (CTA 버튼 + 모달) ── */
.inquiry-cta {
  display: inline-block;
  margin-top: 34px;
  padding: 14px 26px;
  border: 1px solid rgba(248, 246, 238, 0.66);
  background: transparent;
  color: var(--porcelain);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
}
.inquiry-cta:hover,
.inquiry-cta:focus-visible {
  background: var(--porcelain);
  color: var(--deep-indigo);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 26, 39, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.open {
  display: flex;
}
.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow: auto;
  padding: clamp(28px, 4vw, 44px);
  background: var(--porcelain);
  color: var(--ink);
  border-top: 4px solid var(--indigo);
  box-shadow: 0 30px 80px rgba(6, 26, 39, 0.4);
}
.modal .section-label {
  color: var(--tea);
  margin-bottom: 10px;
}
.modal h3 {
  margin: 0 0 8px;
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 30px);
  color: var(--deep-indigo);
}
.modal .modal-sub {
  margin: 0 0 24px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.modal label {
  display: block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.modal .en {
  margin-left: 5px;
  font-family: var(--latin-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tea);
}
.modal input,
.modal textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}
.modal input:focus,
.modal textarea:focus {
  outline: none;
  border-color: var(--indigo);
}
.modal textarea {
  resize: vertical;
  line-height: 1.6;
}
.modal-submit {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  border: 0;
  cursor: pointer;
  background: var(--indigo);
  color: var(--porcelain);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 220ms ease;
}
.modal-submit:hover {
  background: var(--deep-indigo);
}
.modal-submit:disabled {
  opacity: 0.6;
  cursor: default;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}
.modal-close:hover {
  color: var(--deep-indigo);
}
.form-msg {
  margin-top: 14px;
  min-height: 20px;
  font-size: 13.5px;
  line-height: 1.6;
}
.form-msg.ok {
  color: #1f6b3a;
}
.form-msg.no {
  color: #9b2c2c;
}
