/* =====================================================================
   AVALEUR TILE — 1600×3200 porcelain slab collection
   One stylesheet for every page. Edit colours and spacing in :root.
   ===================================================================== */

:root {
  --plaster: #f3f2ee;      /* page background */
  --plaster-2: #e9e7e1;    /* secondary surfaces */
  --white: #ffffff;
  --basalt: #1b1a18;       /* deep surfaces: hero overlay, footer */
  --ink: #1f1e1b;          /* primary text */
  --ink-2: #4a4843;        /* body text */
  --ash: #8c877e;          /* secondary text */
  --line: #d9d5ce;
  --line-strong: #b9b4ab;
  --brass: #a8894f;        /* single accent: rules, active states */
  --brass-soft: #d9c79f;

  --font-sans: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-serif: "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --font-display: "Italiana", "Noto Serif KR", serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1480px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* the hidden attribute must win over display rules (face tabs, chips, buttons) */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.005em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.lightbox-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }

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

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type scale ---------- */
.t-display { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.18; }
.t-h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.16; letter-spacing: -0.02em; }
.t-h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.22; letter-spacing: -0.02em; }
.t-h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(21px, 2vw, 26px); line-height: 1.3; letter-spacing: -0.01em; }
.t-lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.8; color: var(--ink-2); }
.t-small { font-size: 13.5px; color: var(--ash); letter-spacing: 0.01em; }
.t-num { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.02em; line-height: 1; }
.wordmark { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.26em; line-height: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border: 1px solid var(--ink); color: var(--ink);
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #000; border-color: #000; }
.btn-light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light-solid { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light-solid:hover { background: var(--plaster); border-color: var(--plaster); color: var(--ink); }
.btn svg { width: 16px; height: 16px; }

.link-line { position: relative; display: inline-block; padding-bottom: 3px; font-weight: 500; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform .35s var(--ease); }
.link-line:hover::after { transform: scaleX(.4); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .35s; }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.site-header.on-dark { color: #fff; }
.site-header.is-solid { background: rgba(243,242,238,.92); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.is-solid::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: baseline; gap: 10px; }
.brand .wordmark { font-size: 23px; }
.brand .brand-tag { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.34em; opacity: .75; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a { font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.06em; }
.header-cta .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.site-header.on-dark:not(.is-solid) .header-cta .btn { border-color: rgba(255,255,255,.75); color: #fff; }
.site-header.on-dark:not(.is-solid) .header-cta .btn:hover { background: #fff; color: var(--ink); }

.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-btn span { position: relative; display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), background .3s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
body.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 40; background: var(--plaster); color: var(--ink); padding: calc(var(--header-h) + 24px) var(--gutter) 40px; display: none; flex-direction: column; gap: 8px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
body.menu-open .mobile-menu { display: flex; }
.mobile-menu > a { font-family: var(--font-serif); font-size: 30px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .mobile-contact { margin-top: auto; color: var(--ink-2); font-size: 15px; line-height: 1.9; }
.mobile-menu .mobile-contact strong { font-family: var(--font-display); font-size: 26px; letter-spacing: .06em; display: block; color: var(--ink); }
body.menu-open .site-header { background: var(--plaster); color: var(--ink); }

@media (max-width: 960px) {
  .nav, .header-phone { display: none; }
  .menu-btn { display: inline-flex; }
  .header-cta .btn { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; max-height: 1100px; background: var(--basalt); color: #fff; overflow: hidden; touch-action: pan-y; cursor: grab; }
.hero a, .hero button { cursor: pointer; }
.hero.is-dragging, .hero.is-dragging * { cursor: grabbing !important; -webkit-user-select: none; user-select: none; }
.hero.is-dragging .hero-slide img { animation-play-state: paused; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1); }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,10,.42) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0) 55%, rgba(10,10,10,.62) 100%),
    linear-gradient(90deg, rgba(10,10,10,.30) 0%, rgba(10,10,10,0) 55%);
}
.hero-content { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; padding-bottom: clamp(44px, 7vh, 96px); }
.hero-content .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.hero-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(38px, 6.2vw, 86px); line-height: 1.12; letter-spacing: -0.025em; }
.hero-kicker { font-family: var(--font-display); font-size: clamp(14px, 1.2vw, 17px); letter-spacing: .28em; opacity: .9; margin-bottom: 22px; }
.hero-text { margin-top: 24px; max-width: 46ch; font-size: clamp(15.5px, 1.25vw, 18px); line-height: 1.8; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-meta { text-align: right; min-width: 220px; }
.hero-meta .hero-count { font-family: var(--font-display); font-size: 20px; letter-spacing: .14em; opacity: .85; }
.hero-meta .hero-name { font-family: var(--font-serif); font-size: 22px; margin-top: 8px; line-height: 1.3; }
.hero-meta .hero-name a { border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.hero-meta .hero-where { font-size: 14px; opacity: .8; margin-top: 4px; }
.hero-nav { display: inline-flex; gap: 6px; margin-top: 16px; }
.hero-nav button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); display: inline-flex; align-items: center; justify-content: center; transition: background .25s, color .25s; }
.hero-nav button:hover { background: #fff; color: var(--ink); }
.hero-nav svg { width: 16px; height: 16px; }
.hero-progress { position: absolute; left: 0; bottom: 0; z-index: 4; height: 2px; width: 100%; background: rgba(255,255,255,.18); }
.hero-progress i { display: block; height: 100%; width: 0; background: #fff; }
.hero-progress.run i { animation: progress 7s linear forwards; }
@keyframes progress { from { width: 0; } to { width: 100%; } }

/* page-load sequence (the one orchestrated moment) */
.hero-kicker, .hero-title, .hero-text, .hero-actions, .hero-meta { opacity: 0; transform: translateY(18px); animation: rise 1.1s var(--ease) forwards; }
.hero-kicker { animation-delay: .5s; }
.hero-title { animation-delay: .65s; }
.hero-text { animation-delay: .85s; }
.hero-actions { animation-delay: 1.0s; }
.hero-meta { animation-delay: 1.2s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero { min-height: 560px; }
  .hero-kicker { letter-spacing: .18em; font-size: 12.5px; }
  .hero-content .container { grid-template-columns: 1fr; }
  .hero-meta { text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
  .hero-meta .hero-name { font-size: 18px; margin-top: 2px; }
  .hero-meta .hero-where { display: none; }
  .hero-nav { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-slide.is-active img { animation: none; }
  .hero-kicker, .hero-title, .hero-text, .hero-actions, .hero-meta { animation: none; opacity: 1; transform: none; }
  .hero-progress.run i { animation: none; width: 100%; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 9vw, 140px); }
.section-tight { padding-block: clamp(48px, 6vw, 88px); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 64px; align-items: end; margin-bottom: clamp(36px, 4vw, 64px); }
.section-head .t-lead { max-width: 52ch; }
.section-head .section-link { grid-column: 1 / -1; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* intro statement */
.intro { background: var(--white); border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 72px; align-items: start; }
.intro-statement { font-family: var(--font-serif); font-weight: 500; font-size: clamp(26px, 3.1vw, 44px); line-height: 1.32; letter-spacing: -0.02em; text-wrap: balance; }
.intro-copy p + p { margin-top: 16px; }
.intro-copy { padding-top: 10px; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }
/* PC: the statement gets the full width so it reads in the three phrase lines written into index.html
   (줄눈이 사라진 자리에 결만 남습니다. / 대형 슬랩 한 장이 벽과 바닥을 덮으면, / 공간은 … 보입니다.); the two paragraphs sit below it side by side */
@media (min-width: 1200px) {
  .intro .intro-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .intro .intro-statement { max-width: 23.5em; }
  .intro .intro-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 72px; padding-top: 0; }
  .intro .intro-copy p + p { margin-top: 0; }
}

/* specification band */
.spec-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--plaster); }
.spec-band .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spec-cell { padding: clamp(26px, 3vw, 44px) 0; border-left: 1px solid var(--line); padding-left: clamp(18px, 2.4vw, 36px); }
.spec-cell:first-child { border-left: 0; padding-left: 0; }
.spec-cell .t-num { font-size: clamp(34px, 3.6vw, 56px); color: var(--ink); }
.spec-cell .t-num small { font-size: .5em; letter-spacing: .08em; }
.spec-cell p { margin-top: 10px; font-size: 14.5px; color: var(--ash); }
@media (max-width: 760px) {
  .spec-band .container { grid-template-columns: 1fr 1fr; }
  .spec-cell:nth-child(3) { border-left: 0; padding-left: 0; }
  .spec-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- collection grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 34px; }
.filters button { padding: 8px 0; font-size: 15px; color: var(--ash); border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.filters button:hover { color: var(--ink); }
.filters button.is-active { color: var(--ink); border-color: var(--ink); }
.filters .count { margin-left: auto; color: var(--ash); font-size: 14px; align-self: center; }

.grid-slabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(18px, 2vw, 32px); }
@media (max-width: 1100px) { .grid-slabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid-slabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; } }

.slab-card { display: block; }
.slab-card.is-hidden { display: none; }
.slab-card .slab-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--plaster-2); border: 1px solid var(--line); }
.slab-card .slab-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slab-card .slab-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 35%, rgba(0,0,0,0) 70%, rgba(0,0,0,.06) 100%); }
.slab-card .slab-media .scene { opacity: 0; transition: opacity .6s var(--ease); }
.slab-card:hover .slab-media .scene, .slab-card:focus-visible .slab-media .scene { opacity: 1; }
.slab-card .slab-media .scene-label { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: 13px; letter-spacing: .02em; opacity: 0; transition: opacity .5s; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.slab-card:hover .scene-label { opacity: 1; }
.slab-card .slab-info { padding-top: 14px; display: grid; gap: 3px; }
.slab-card .slab-name { font-family: var(--font-serif); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.slab-card .slab-en { font-family: var(--font-display); font-size: 14px; letter-spacing: .14em; color: var(--ash); }
.slab-card .slab-sub { font-size: 13.5px; color: var(--ash); margin-top: 2px; }
.slab-card .slab-sub b { font-weight: 500; color: var(--ink-2); }
@media (max-width: 700px) { .slab-card .slab-name { font-size: 18px; } }

/* ---------- material / features ---------- */
.material { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.material-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px 80px; align-items: start; }
.material-figure { position: sticky; top: calc(var(--header-h) + 24px); }
.material-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.material-figure figcaption { margin-top: 12px; font-size: 13.5px; color: var(--ash); }
.feature-list { display: grid; gap: 0; }
.feature { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature svg { width: 40px; height: 40px; stroke: var(--ink); fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 500; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .material-grid { grid-template-columns: 1fr; } .material-figure { position: static; } }

/* ---------- spaces (gallery teaser) ---------- */
.spaces-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.space { position: relative; overflow: hidden; background: var(--plaster-2); }
.space img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.space:hover img { transform: scale(1.03); }
.space figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55)); font-size: 14px; }
.space figcaption b { display: block; font-family: var(--font-serif); font-size: 18px; font-weight: 500; }
.space.span-7 { grid-column: span 7; aspect-ratio: 7 / 4.6; }
.space.span-5 { grid-column: span 5; aspect-ratio: 5 / 4.6; }
.space.span-4 { grid-column: span 4; aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .space.span-7, .space.span-5, .space.span-4 { grid-column: span 12; aspect-ratio: 4 / 3; } }

/* gallery page masonry */
.masonry { columns: 2; column-gap: 24px; }
.masonry .space { break-inside: avoid; margin-bottom: 24px; display: block; }
.masonry .space img { aspect-ratio: auto; }
@media (max-width: 700px) { .masonry { columns: 1; } }

/* ---------- brand band + CTA ---------- */
.brand-band { background: var(--white); border-top: 1px solid var(--line); }
.brand-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; }
.brand-grid h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.28; letter-spacing: -0.02em; }
.brand-grid .t-lead p + p { margin-top: 14px; }
.brand-points { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.brand-points div { border-top: 1px solid var(--line); padding-top: 14px; }
.brand-points b { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 18px; margin-bottom: 6px; }
.brand-points p { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 860px) { .brand-grid { grid-template-columns: 1fr; } .brand-points { grid-template-columns: 1fr; gap: 14px; } }

.cta-band { background: var(--plaster-2); border-top: 1px solid var(--line); }
.cta-band .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.cta-band h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em; line-height: 1.25; }
.cta-band p { margin-top: 10px; color: var(--ink-2); max-width: 56ch; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .cta-phone { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); letter-spacing: .06em; line-height: 1; }
@media (max-width: 760px) { .cta-band .container { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--basalt); color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.8; }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr); gap: 32px 40px; padding: 64px 0 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top .wordmark { color: #fff; font-size: 26px; }
.footer-top .brand-tag { font-family: var(--font-display); letter-spacing: .34em; font-size: 14px; color: rgba(255,255,255,.7); margin-left: 10px; }
.footer-top p { margin-top: 14px; max-width: 40ch; color: rgba(255,255,255,.6); }
.footer-col b { display: block; color: #fff; font-weight: 500; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-col .big { font-family: var(--font-display); font-size: 26px; letter-spacing: .06em; color: #fff; line-height: 1.2; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px 0 36px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- page header (inner pages) ---------- */
.page-head { padding: calc(var(--header-h) + clamp(44px, 7vw, 96px)) 0 clamp(36px, 4vw, 56px); }
.page-head .crumbs { font-size: 13.5px; color: var(--ash); margin-bottom: 22px; display: flex; gap: 10px; }
.page-head .crumbs a:hover { color: var(--ink); }
.page-head .t-lead { margin-top: 18px; max-width: 60ch; }

/* ---------- product page ---------- */
.product-hero { position: relative; height: min(78vh, 860px); min-height: 480px; background: var(--basalt); color: #fff; overflow: hidden; }
.product-hero img { width: 100%; height: 100%; object-fit: cover; }
.product-hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.40), rgba(10,10,10,0) 35%, rgba(10,10,10,0) 55%, rgba(10,10,10,.62)); }
.product-hero .product-hero-text { position: absolute; left: 0; right: 0; bottom: clamp(32px, 6vh, 72px); text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.product-hero .crumbs { font-size: 13.5px; color: rgba(255,255,255,.75); display: flex; gap: 10px; margin-bottom: 16px; }
.product-hero h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(38px, 6vw, 84px); line-height: 1.1; letter-spacing: -0.025em; }
.product-hero .en { font-family: var(--font-display); font-size: clamp(16px, 1.6vw, 22px); letter-spacing: .22em; margin-top: 10px; opacity: .9; }
.product-hero .where { margin-top: 8px; font-size: 15px; opacity: .85; }

.product-body { padding-block: clamp(56px, 7vw, 110px); }
.product-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 110px); align-items: start; }
.product-info { position: sticky; top: calc(var(--header-h) + 24px); }
.product-info .tagline { font-family: var(--font-serif); font-weight: 500; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.35; letter-spacing: -0.015em; }
.product-info .desc { margin-top: 18px; color: var(--ink-2); font-size: 16px; line-height: 1.85; }
.product-points { margin-top: 22px; display: grid; gap: 8px; }
.product-points li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-2); }
.product-points li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 1px; background: var(--brass); }
.spec-table { margin-top: 32px; border-top: 1px solid var(--ink); width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.spec-table th { width: 32%; font-weight: 500; color: var(--ash); padding-right: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { border: 1px solid var(--line-strong); padding: 5px 12px; font-size: 13.5px; color: var(--ink-2); }
.product-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }

.slab-viewer { display: grid; gap: 16px; }
.face-tabs { display: flex; flex-wrap: wrap; gap: 2px 18px; }          /* 8–10 face sets wrap onto a second row on phones */
.face-tabs button { font-size: 14.5px; color: var(--ash); padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.face-tabs button.is-active { color: var(--ink); border-color: var(--ink); }
.face-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.face-stage.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.face-frame { position: relative; display: block; background: var(--white); border: 1px solid var(--line); padding: 10px; }
.face-frame img { width: 100%; aspect-ratio: var(--far, 1 / 2); object-fit: cover; }
.face-frame .zoom-hint { position: absolute; right: 18px; bottom: 18px; background: rgba(27,26,24,.82); color: #fff; font-size: 12.5px; padding: 6px 10px; display: inline-flex; align-items: center; gap: 6px; }
.face-frame .zoom-hint svg { width: 14px; height: 14px; }
.face-frame .face-tag { position: absolute; left: 18px; top: 18px; background: rgba(255,255,255,.85); font-family: var(--font-display); letter-spacing: .14em; font-size: 13px; padding: 4px 8px; color: var(--ink); }
.viewer-caption { font-size: 13.5px; color: var(--ash); }

.detail-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.detail-row a { display: block; border: 1px solid var(--line); background: #fff; padding: 8px; }
.detail-row img { aspect-ratio: 1; object-fit: cover; }

.pattern-demo { border: 1px solid var(--line); background: #fff; padding: 10px; }
.pattern-demo .tiles { display: grid; gap: 3px; background: var(--plaster-2); }
.pattern-demo .tiles.cols-2 { grid-template-columns: 1fr 1fr; }
.pattern-demo .tiles.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.pattern-demo .tiles.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pattern-demo .tiles.cols-5 { grid-template-columns: repeat(5, 1fr); }
.pattern-demo .tiles.cols-6 { grid-template-columns: repeat(6, 1fr); }
.pattern-demo .tiles.cols-8 { grid-template-columns: repeat(8, 1fr); }
.series-badge.satin { background: rgba(168,137,79,.92); color: #fff; }
.series-badge.thin { background: rgba(255,255,255,.92); color: var(--ink); border: 1px solid var(--ink); }
.pattern-demo .tiles img { width: 100%; aspect-ratio: var(--far, 1 / 2); object-fit: cover; }
.pattern-demo .tiles .r180 img { transform: rotate(180deg); }
.pattern-demo .tiles.cols-2.landscape img { aspect-ratio: 2 / 1; object-fit: cover; }
.pattern-note { margin-top: 10px; font-size: 13.5px; color: var(--ash); }

.block-title { font-family: var(--font-serif); font-weight: 500; font-size: 20px; margin: 36px 0 14px; letter-spacing: -0.01em; }
.block-title:first-child { margin-top: 0; }

.product-nav { border-top: 1px solid var(--line); }
.product-nav .container { display: grid; grid-template-columns: 1fr 1fr; }
.product-nav a { display: flex; align-items: center; gap: 18px; padding: 28px 0; }
.product-nav a.next { justify-content: flex-end; text-align: right; border-left: 1px solid var(--line); }
.product-nav img { width: 64px; height: 96px; object-fit: cover; border: 1px solid var(--line); }
.product-nav small { display: block; font-size: 13px; color: var(--ash); }
.product-nav b { font-family: var(--font-serif); font-weight: 500; font-size: 20px; }

@media (max-width: 960px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-info { position: static; }
  .face-stage.three { gap: 8px; }
  .face-stage.three .face-frame { padding: 5px; }
  .face-stage.three .face-tag { left: 10px; top: 10px; font-size: 11px; padding: 2px 6px; }
  .face-stage.three .zoom-hint { display: none; }
}

/* related */
.related .grid-slabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .related .grid-slabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .related .grid-slabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 110px); align-items: start; }
.contact-info dl { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px 16px; margin: 0; border-top: 1px solid var(--ink); padding-top: 22px; }
.contact-info dt { color: var(--ash); font-size: 14.5px; }
.contact-info dd { margin: 0; font-size: 16px; }
.contact-info dd .big { font-family: var(--font-display); font-size: 34px; letter-spacing: .06em; line-height: 1.1; display: block; }
.contact-info .note { margin-top: 28px; color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.form { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 44px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; margin-bottom: 18px; }
.form-field label { font-size: 14px; color: var(--ink-2); }
.form-field label .req { color: var(--brass); margin-left: 3px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); background: #fff; font: inherit; font-size: 15.5px; color: var(--ink); border-radius: 0; }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--ink); }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 6px 0 22px; }
.form-consent input { margin-top: 5px; accent-color: var(--brass); width: 16px; height: 16px; }
.form-consent details { display: inline; }
.form-consent summary { display: inline; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.form-consent details p { margin-top: 8px; font-size: 13px; color: var(--ash); }
.form-status { margin-top: 16px; font-size: 15px; min-height: 1.6em; }
.form-status.ok { color: #2f6b3a; }
.form-status.err { color: #a13b2a; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12,12,11,.97); display: none; color: #fff; }
.lightbox.is-open { display: block; }
.lightbox .lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: auto; -webkit-overflow-scrolling: touch; }
.lightbox .lb-stage img { max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); object-fit: contain; transition: max-width .3s, max-height .3s; }
.lightbox.is-zoomed .lb-stage { display: block; }
.lightbox.is-zoomed .lb-stage img { max-width: none; max-height: none; width: auto; height: auto; margin: 0 auto; }
.lightbox .lb-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.6)); font-size: 14px; }
.lightbox .lb-caption b { font-family: var(--font-serif); font-weight: 500; font-size: 16px; margin-right: 8px; }
.lightbox .lb-caption a { color: var(--brass-soft); border-bottom: 1px solid rgba(217,199,159,.5); margin-left: 10px; }
.lightbox .lb-actions { display: flex; gap: 8px; }
.lightbox .lb-actions button, .lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.45); display: inline-flex; align-items: center; justify-content: center; background: rgba(0,0,0,.35); }
.lightbox .lb-actions button:hover, .lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: #fff; color: var(--ink); }
.lightbox svg { width: 18px; height: 18px; }
.lightbox .lb-close { position: absolute; top: 16px; right: var(--gutter); z-index: 2; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lightbox .lb-prev { left: var(--gutter); } .lightbox .lb-next { right: var(--gutter); }
.lightbox .lb-prev[hidden], .lightbox .lb-next[hidden] { display: none; }
.lightbox .lb-zoom[hidden] { display: none; }
@media (max-width: 700px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 70px; transform: none; } }

/* ---------- misc ---------- */
.hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.bg-white { background: var(--white); }
.notice { font-size: 13.5px; color: var(--ash); }

/* ---------- series ---------- */
.series-section { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.series-section + .material { border-top: 0; }   /* 메인: 규격과 시리즈 바로 아래 섹션과 선이 겹치지 않게 */
.series-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1100px) { .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.series-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); background: var(--plaster); }
.series-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--plaster-2); }
.series-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.series-card:hover .series-media img { transform: scale(1.03); }
.series-body { padding: 26px 28px 30px; }
.series-en { font-family: var(--font-display); font-size: 13px; letter-spacing: .3em; color: var(--ash); }
.series-body h3 { font-family: var(--font-serif); font-weight: 500; font-size: 26px; letter-spacing: -0.015em; margin: 8px 0 12px; }
.series-body p { color: var(--ink-2); font-size: 15px; }
.series-count { display: inline-block; margin-top: 18px; font-weight: 500; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
@media (max-width: 760px) { .series-grid { grid-template-columns: 1fr; } }

.series-badge { position: absolute; left: 12px; top: 12px; z-index: 1; font-size: 12px; letter-spacing: .06em; padding: 4px 9px; background: rgba(27,26,24,.82); color: #fff; }
.series-badge.matte { background: rgba(243,242,238,.92); color: var(--ink); border: 1px solid var(--line-strong); }
.series-badge.thick15 { background: var(--brass); color: #fff; }
.series-tabs { margin-bottom: 14px; }
.series-tabs button { font-family: var(--font-serif); font-size: 19px; color: var(--ash); padding: 6px 0 8px; }
.series-tabs button.is-active { color: var(--ink); border-color: var(--ink); }
.filters-empty { padding: 40px 0; color: var(--ash); text-align: center; }
.product-hero .hero-finish { display: inline-block; vertical-align: middle; font-family: var(--font-sans); font-size: clamp(13px, 1.1vw, 15px); letter-spacing: .08em; padding: 6px 12px; border: 1px solid rgba(255,255,255,.7); margin-left: 12px; transform: translateY(-.35em); }
.twin-note { margin-top: 20px; font-size: 14.5px; color: var(--ink-2); }
.face-stage.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.face-stage.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.face-stage.six { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.face-stage.eight { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.face-stage.eight .face-frame { padding: 4px; }
.face-stage.eight .zoom-hint { display: none; }
.face-stage.five .face-frame, .face-stage.six .face-frame { padding: 4px; }
.face-stage.five .zoom-hint, .face-stage.six .zoom-hint { display: none; }
@media (max-width: 960px) { .face-stage.five, .face-stage.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.face-stage.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .face-stage.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .face-stage.four .face-frame { padding: 5px; } }
@media (max-width: 960px) { .face-stage.two { gap: 8px; } .face-stage.two .face-frame { padding: 5px; } }

/* contact success */
.form-done { margin-top: 10px; padding: 24px; background: var(--plaster); border: 1px solid var(--line); }
.form-done b { font-family: var(--font-serif); font-weight: 500; font-size: 20px; display: block; margin-bottom: 8px; }
.form-done p { color: var(--ink-2); margin-bottom: 16px; }
.form.is-done > :not(.form-done) { display: none; }

/* ---------- image protection ---------- */
img { -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.slab-media, .space, .face-frame, .detail-row a, .pattern-demo, .material-figure, .series-media, .hero-slides, .product-hero, .sim-room, .lb-stage { -webkit-touch-callout: none; }
.slab-media img, .space img, .face-frame img, .detail-row img, .pattern-demo img, .material-figure img, .series-media img, .hero-slide img, .product-hero > img, .product-nav img { pointer-events: none; }

/* ---------- product: all photos ---------- */
.count-pill { display: inline-block; vertical-align: middle; font-family: var(--font-sans); font-size: 12.5px; letter-spacing: .02em; padding: 3px 9px; border: 1px solid var(--line-strong); color: var(--ink-2); margin-left: 8px; transform: translateY(-2px); }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.photo-grid a { position: relative; display: block; background: #fff; border: 1px solid var(--line); padding: 6px; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-grid span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ash); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }



/* ---------- nav dropdown ---------- */
.nav-drop { position: static; }   /* the menu is positioned against the header container so wide menus can span it */
.nav { align-self: stretch; }
.nav-drop { align-self: stretch; display: flex; align-items: center; }   /* full header height: the pointer moves from the link straight into the menu */
.nav-menu { position: absolute; left: -20px; top: 100%; display: none; z-index: 60; }
/* the group order is balanced at build time (build_site.py nav_sizes) so 4 columns come out even; if the screen is still
   shorter than the menu, the menu scrolls inside itself instead of running off the bottom of the window */
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: block; width: calc(100% + 40px); padding: 0 20px 28px;
  max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
.nav-menu .nav-cols { columns: 4 270px; column-gap: 8px; }
.nav-menu .nav-group { break-inside: avoid; margin-bottom: 6px; }
/* compact rows: 11+ sizes still fit under the header of a 1366×768 laptop (the menu scrolls inside itself on shorter windows) */
.nav-menu .nav-group { background: var(--white); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0,0,0,.08); padding: 9px 18px 8px; min-width: 280px; display: grid; gap: 1px; color: var(--ink); white-space: nowrap; }
.nav-menu .nav-ser small { color: var(--ash); margin-left: 6px; }
.nav-menu a { font-size: 14px; line-height: 1.5; padding: 3px 0; color: var(--ink-2); }   /* 10차: 15 slab sizes still fit a 1366×768 laptop */
.nav-menu a::after { display: none; }
.nav-menu .nav-size { font-family: var(--font-display); font-size: 18px; letter-spacing: .05em; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 5px; margin-bottom: 2px; }
.nav-menu .nav-size small { font-family: var(--font-sans); font-size: 12px; color: var(--ash); margin-left: 6px; letter-spacing: 0; }
.nav-menu a:hover { color: var(--brass); }
.nav-menu .nav-more { font-size: 13px; color: var(--ash); border-top: 1px dashed var(--line); margin-top: 3px; padding-top: 6px; }
/* mobile menu: 컬렉션 folds open into sizes, each size into its series */
.mm-acc { border-bottom: 1px solid var(--line); }
.mm-head, .mm-size-head { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; color: inherit; }
.mm-head { font-family: var(--font-serif); font-size: 30px; padding: 12px 0; }
.mm-head small, .mm-size-head small, .mobile-sub a small { font-family: var(--font-sans); font-size: 13px; color: var(--ash); letter-spacing: 0; }
.mm-head::after, .mm-size-head::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease); flex: 0 0 auto; margin-right: 6px; }
.mm-head[aria-expanded="true"]::after, .mm-size-head[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.mobile-sub { display: grid; gap: 2px; padding: 0 0 14px 2px; }
.mobile-sub[hidden], .mm-series[hidden] { display: none; }
.mobile-sub a { font-size: 16px; padding: 8px 0; color: var(--ink-2); }
.mobile-sub .mm-all { font-weight: 500; color: var(--ink); }
.mm-size-head { font-family: var(--font-display); font-size: 19px; letter-spacing: .04em; padding: 10px 0; border-top: 1px solid var(--line); }
.mm-series { display: grid; padding: 0 0 8px 14px; }
.mm-series a { font-size: 15.5px; padding: 7px 0; }
.mm-series a.dim { color: var(--ash); font-size: 14px; }
.footer-col a.dim { color: rgba(255,255,255,.5); font-size: 13px; }
.footer-col .dim { color: rgba(255,255,255,.5); }

/* ---------- sizes ---------- */
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-bottom: 28px; }
.size-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); background: var(--white); transition: border-color .25s; }
.size-card:hover { border-color: var(--ink); }
.size-figure { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; }
.size-figure i { display: block; width: calc(var(--w) / max(var(--w), var(--h)) * 72px); height: calc(var(--h) / max(var(--w), var(--h)) * 72px); border: 1.5px solid var(--ink); background: var(--plaster); }
.size-body { display: grid; gap: 3px; }
.size-body b { font-size: 26px; font-weight: 400; }
.size-body span { font-size: 13.5px; color: var(--ink-2); }
.size-body .dim { color: var(--ash); }
.series-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
/* home: one compact block per size, series as small tiles (stays short as sizes and series are added) */
.size-block { border-top: 1px solid var(--line); padding: 26px 0 10px; }
.size-block + .size-block { margin-top: 14px; }
.size-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.size-head .size-figure { width: 56px; height: 56px; flex: 0 0 56px; }
.size-head .size-figure i { width: calc(var(--w) / max(var(--w), var(--h)) * 46px); height: calc(var(--h) / max(var(--w), var(--h)) * 46px); }
/* 규격 상담 (sizes on request): an outline without proportions */
.size-figure.is-consult i { border-style: dashed; background: transparent; }
.size-title { display: inline-flex; align-items: baseline; gap: 6px; color: var(--ink); }
.size-title b { font-size: 30px; font-weight: 400; }
.size-title span { font-size: 13px; color: var(--ash); }
.size-head .meta { font-size: 13.5px; color: var(--ink-2); }
.size-head .link-line { margin-left: auto; font-size: 14px; }
.series-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
/* a size with many series shows the 8 biggest (4 on phones); the rest stay in the page and open with the button */
.size-block:not(.is-open) .series-tiles > :nth-child(n+9) { display: none; }
.tiles-more { display: none; margin-top: 14px; font-size: 14px; color: var(--ink); padding: 9px 16px; border: 1px solid var(--line); background: var(--white); align-items: center; gap: 8px; transition: border-color .25s; }
.tiles-more::after { content: ""; width: 7px; height: 7px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.tiles-more:hover { border-color: var(--ink); }
.size-block.more-d .tiles-more { display: inline-flex; }
.tiles-more .when-open, .size-block.is-open .tiles-more .when-closed { display: none; }
.size-block.is-open .tiles-more .when-open { display: inline; }
.size-block.is-open .tiles-more::after { transform: translateY(2px) rotate(-135deg); }
.series-tile { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: border-color .25s; }
.series-tile:hover { border-color: var(--ink); }
.series-tile img { width: 64px; height: 64px; object-fit: cover; display: block; }
.series-tile b { display: block; font-size: 15px; font-weight: 500; line-height: 1.3; }
.series-tile small { display: block; font-size: 12.5px; color: var(--ash); margin-top: 3px; line-height: 1.4; }
@media (max-width: 1100px) { .series-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .series-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .series-tile { grid-template-columns: 1fr; gap: 8px; padding: 8px; }
  .series-tile img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .size-head { gap: 10px 14px; } .size-head .meta { flex-basis: 100%; } .size-head .link-line { margin-left: 0; }
  .size-block:not(.is-open) .series-tiles > :nth-child(n+5) { display: none; }
  .size-block.more-m .tiles-more { display: flex; width: 100%; justify-content: center; }
}

/* ---------- filter bar ---------- */
.filter-bar { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 18px 0 14px; margin-bottom: 30px; }
.filter-search { position: relative; max-width: 520px; }
.filter-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ash); pointer-events: none; }
.filter-search input { width: 100%; min-height: 48px; padding: 10px 14px 10px 42px; border: 1px solid var(--line-strong); background: #fff; font: inherit; font-size: 15px; border-radius: 0; -webkit-appearance: none; }
.filter-search input:focus { outline: none; border-color: var(--ink); }
.filter-groups { display: grid; gap: 6px; margin-top: 14px; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.filter-label { font-size: 13px; color: var(--ash); width: 44px; flex: 0 0 44px; }
.filter-group button, .picker-chips button { font-size: 13.5px; padding: 6px 12px; border: 1px solid var(--line); color: var(--ink-2); background: #fff; transition: background .2s, color .2s, border-color .2s; }
.filter-group button:hover, .picker-chips button:hover { border-color: var(--ink); color: var(--ink); }
.filter-group button.is-active, .picker-chips button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-size { font-size: 11.5px; letter-spacing: .04em; color: var(--ash); padding: 0 2px 0 8px; white-space: nowrap; }
.chip-size:first-of-type { padding-left: 0; }
.filter-group .chip-size[hidden], .picker-chips .chip-size[hidden], .filter-group button[hidden], .picker-chips button[hidden], .chip-hint[hidden] { display: none; }
.nw { white-space: nowrap; }
.chip-hint { font-size: 13px; color: var(--ash); padding: 6px 2px; white-space: nowrap; }
.filter-status { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 14px; color: var(--ash); }
.filter-reset { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-size: 13.5px; }
.more-row { display: flex; justify-content: center; margin-top: 36px; }
.more-left { color: var(--ash); font-size: 13px; margin-left: 4px; }
.slab-sub.dim { color: var(--ash); }
.slab-card .slab-sub b { font-weight: 500; color: var(--ink); }
.gallery-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.gallery-jump a { font-size: 13.5px; padding: 6px 12px; border: 1px solid var(--line); color: var(--ink-2); background: #fff; }
.gallery-jump a small { color: var(--ash); margin-left: 4px; }
.gallery-jump.grouped { display: grid; gap: 10px; }
.jump-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.jump-size { font-family: var(--font-display); font-size: 15px; letter-spacing: .05em; color: var(--ink); min-width: 92px; }
@media (max-width: 700px) { .jump-size { flex-basis: 100%; } }
/* full design list (designs.html) */
.dl-series { padding: 22px 0 26px; border-top: 1px solid var(--line); }
.dl-series:first-of-type { border-top: 0; padding-top: 0; }
.dl-title { font-family: var(--font-serif); font-weight: 500; font-size: 19px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 14px; }
.dl-title a:hover { color: var(--brass); }
.dl-title small { font-family: var(--font-sans); font-size: 13px; color: var(--ash); font-weight: 400; }
.dl-list { list-style: none; margin: 0; padding: 0; columns: 4 220px; column-gap: 28px; }
.dl-list li { break-inside: avoid; padding: 5px 0; font-size: 14.5px; line-height: 1.45; display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; }
.dl-list a { color: var(--ink); }
.dl-list a:hover { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }
.dl-list span { font-size: 12px; color: var(--ash); letter-spacing: .02em; }
.product-hero.short { height: min(56vh, 620px); min-height: 380px; }
.product-hero .hero-finish { font-size: clamp(12px, 1vw, 14px); }
@media (max-width: 700px) { .filter-label { width: 100%; flex-basis: 100%; } .filter-groups { gap: 10px; } .filter-group .chip-size { flex-basis: 100%; padding-left: 0; margin-top: 2px; } .filter-group .chip-size[hidden] { display: none; } }

/* ---------- simulator page ---------- */
.sim-head { padding-bottom: 20px; }
.sim-page { padding-bottom: clamp(48px, 6vw, 88px); }
.sim-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr); gap: 32px; align-items: start; }
.sim-stage { position: sticky; top: calc(var(--header-h) + 16px); }
.sim-room { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0e0e0d; perspective: 900px; perspective-origin: 50% 34%; }
.sim-wall { position: absolute; left: 0; right: 0; top: 0; height: 56%; background-repeat: repeat; background-position: center bottom; }
.sim-wall::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.26), rgba(0,0,0,0) 38%, rgba(0,0,0,0) 80%, rgba(0,0,0,.12)); }
.sim-floor { position: absolute; left: -70%; right: -70%; top: 56%; height: 300%; transform-origin: 50% 0; transform: rotateX(66deg); background-repeat: repeat; background-position: center top; }
.sim-floor::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255,255,255,.26), rgba(255,255,255,0) 100%); }
.sim-floor::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.18) 30%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.85) 100%); }
.sim-baseboard { position: absolute; left: 0; right: 0; top: 56%; height: 5px; background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.2)); z-index: 2; }
.sim-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 30% at 50% 12%, rgba(255,255,255,.12), rgba(0,0,0,0) 100%); }
.sim-loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,.6); color: #fff; font-size: 13px; padding: 8px 14px; z-index: 3; }
.sim-stage-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.sim-toggle { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); margin-right: auto; }
.sim-toggle input { width: 17px; height: 17px; accent-color: var(--brass); }
.sim-mini { font-size: 13.5px; padding: 7px 12px; border: 1px solid var(--line-strong); color: var(--ink-2); background: #fff; }
.sim-mini:hover { border-color: var(--ink); color: var(--ink); }
.sim-side { display: grid; gap: 14px; }
.sim-slot { border: 1px solid var(--line); background: #fff; }
.sim-slot-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.sim-slot-label { font-family: var(--font-serif); font-weight: 500; font-size: 18px; }
.sim-pick-btn { min-height: 38px; padding: 0 16px; font-size: 14px; }
.sim-slot-body { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; }
.sim-slot-chip { width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--line); background: var(--plaster-2); }
.sim-slot-text { display: grid; gap: 2px; min-width: 0; }
.sim-slot-name { font-family: var(--font-serif); font-weight: 500; font-size: 18px; line-height: 1.3; }
.sim-slot-meta { font-size: 13px; color: var(--ash); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sim-inquiry { justify-content: center; }
.sim-note { font-size: 13px; color: var(--ash); line-height: 1.6; }
@media (max-width: 900px) {
  .sim-layout { grid-template-columns: 1fr; gap: 16px; }
  .sim-stage { position: sticky; top: var(--header-h); z-index: 5; background: var(--plaster); padding-bottom: 8px; }
  .sim-room { aspect-ratio: 4 / 3; max-height: 44vh; }
  .sim-stage-bar { gap: 6px 10px; }
  .sim-side { grid-template-columns: 1fr 1fr; }
  .sim-side .sim-inquiry, .sim-side .sim-note { grid-column: 1 / -1; }
  .sim-slot-body { grid-template-columns: 56px minmax(0, 1fr); padding: 12px; gap: 10px; }
  .sim-slot-chip { width: 56px; height: 56px; }
  .sim-slot-name { font-size: 16px; }
}
@media (max-width: 520px) { .sim-side { grid-template-columns: 1fr; } }

/* picker (modal on PC, bottom sheet on mobile) */
.picker { position: fixed; inset: 0; z-index: 95; background: rgba(12,12,11,.55); display: flex; align-items: center; justify-content: center; }
.picker[hidden] { display: none; }
.picker-sheet { width: min(960px, 100% - 32px); height: min(82vh, 820px); background: var(--plaster); display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.picker-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.picker-title { font-family: var(--font-serif); font-weight: 500; font-size: 20px; }
.picker-close { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.picker-close svg { width: 20px; height: 20px; }
.picker-tools { padding: 12px 20px; display: grid; gap: 8px; border-bottom: 1px solid var(--line); background: #fff; }
.picker-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.picker-grid { overflow: auto; padding: 16px 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; align-content: start; -webkit-overflow-scrolling: touch; }
.pk-item { display: grid; gap: 6px; text-align: left; }
.pk-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); background: var(--plaster-2); }
.pk-item.is-active img { outline: 2px solid var(--ink); outline-offset: 2px; }
.pk-item b { font-weight: 500; font-size: 13px; line-height: 1.3; }
.pk-item small { font-size: 11.5px; color: var(--ash); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picker-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 20px; border-top: 1px solid var(--line); background: #fff; font-size: 13.5px; color: var(--ash); }
.picker-foot .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
@media (max-width: 700px) {
  .picker { align-items: flex-end; }
  .picker-sheet { width: 100%; height: 88vh; }
  .picker-tools { padding: 10px 14px; }
  .picker-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .picker-chips button { flex: 0 0 auto; }
  .picker-grid { padding: 12px 14px; grid-template-columns: repeat(3, 1fr); }
}
body.picker-open { overflow: hidden; }

/* sim teaser on home */
.sim-teaser { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sim-teaser-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: center; }
.sim-teaser-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--plaster-2); }
.sim-teaser-media img:first-child { position: absolute; inset: 0 0 42% 0; width: 100%; height: 58%; object-fit: cover; }
.sim-teaser-media img:last-child { position: absolute; left: -30%; right: -30%; top: 58%; height: 120%; width: 160%; object-fit: cover; transform-origin: 50% 0; transform: rotateX(60deg); }
.sim-teaser-media { perspective: 700px; }
@media (max-width: 860px) { .sim-teaser-grid { grid-template-columns: 1fr; } }

/* lightbox count */
.lb-count { font-size: 13px; color: rgba(255,255,255,.7); align-self: center; margin-right: 6px; }

/* ---------- PC line breaks ----------
   build_site.py (linebreak.py) ends PC lines at phrase boundaries with <br class="lb-a"> (1200–1599 px) and
   <br class="lb-b"> (1600 px and wider). Phones and tablets keep natural wrapping. main.js adds .lb-ok once the web fonts
   are ready, and .lb-off on an element whose lines would still wrap (zoomed text, missing font) to fall back. */
br.lb-a, br.lb-b { display: none; }
@media (min-width: 1200px) and (max-width: 1599.98px) { .lb-ok br.lb-a { display: inline; } }
@media (min-width: 1600px) { .lb-ok br.lb-b { display: inline; } }
.lb-ok .lb-off br.lb-a, .lb-ok .lb-off br.lb-b { display: none; }
@media (min-width: 1200px) {
  main p, main li, main h1, main h2, main h3, main figcaption, .cta-band p, .site-footer p { text-wrap: pretty; }
}

/* ---------- 10차: porcelain tiles next to the slabs ---------- */
/* family headings (home size list, collection size cards) */
.fam-head { font-family: var(--font-serif); font-weight: 500; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.01em; color: var(--ink); margin: 8px 0 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fam-head small { font-family: var(--font-sans); font-size: 14px; color: var(--ash); letter-spacing: 0; }
.size-block + .fam-head, .size-grid + .fam-head { margin-top: 44px; }
.mm-fam { display: block; font-size: 13px; letter-spacing: .08em; color: var(--brass); padding: 14px 0 4px; }
.mm-fam small { color: var(--ash); margin-left: 4px; }
.footer-fam { display: inline-block; font-size: 12.5px; letter-spacing: .08em; color: var(--brass-soft); margin-top: 6px; }
/* tile faces: one square tile is shown at a comfortable size, wood planks as one narrow plank, 9–10 face sets five across */
/* a single tile: square ones at most 520px wide, oblong ones (600×1200 · 600×900) at most 720px tall */
.face-stage.one-tile { grid-template-columns: minmax(0, min(520px, calc(720px * var(--farn, 1)))); }
.face-stage.plank { grid-template-columns: 104px; justify-content: center; }
.face-stage.plank .zoom-hint { display: none; }
.face-stage.ten { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.face-stage.ten .face-frame { padding: 4px; }
.face-stage.ten .zoom-hint { display: none; }
.face-stage.ten .face-tag { left: 8px; top: 8px; font-size: 11px; padding: 2px 6px; }
@media (max-width: 700px) { .face-stage.ten { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.series-badge.rustic { background: rgba(243,242,238,.92); color: var(--ink); border: 1px solid var(--line-strong); }
/* breadcrumbs on phones: a long trail wraps between items, never inside one (1200×1200 / 소프트광 9mm / 생 로랑 화이트) */
.page-head .crumbs, .product-hero .crumbs { flex-wrap: wrap; row-gap: 4px; }
.page-head .crumbs > *, .product-hero .crumbs > * { white-space: nowrap; }
/* the 슬랩 · 타일 menu links land on their size cards below the fixed header */
.fam-head { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- 장식 · 욕실 (11차) ---------- */
.decor-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.decor-tabs a { border: 1px solid var(--line-strong); background: var(--white); padding: 7px 13px; font-size: 14px; color: var(--ink-2); transition: border-color .25s var(--ease), color .25s var(--ease); }
.decor-tabs a:hover { border-color: var(--ink); color: var(--ink); }
.decor-tabs a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.decor-tabs small { color: var(--ash); margin-left: 3px; }
.decor-tabs a[aria-current] small { color: rgba(255,255,255,.65); }
.decor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 1.8vw, 28px); }
@media (max-width: 1100px) { .decor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .decor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }
.decor-card { display: block; }
.decor-card .decor-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.decor-grid.tall .decor-card .decor-media { aspect-ratio: 3 / 4; }
.decor-card .decor-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.decor-card:hover .decor-media img { transform: scale(1.03); }
.decor-card .decor-info { padding-top: 13px; display: grid; gap: 3px; }
.decor-card .decor-name { font-family: var(--font-serif); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.decor-card .decor-en { font-family: var(--font-display); font-size: 13.5px; letter-spacing: .12em; color: var(--ash); }
.decor-card .decor-sub { font-size: 13.5px; color: var(--ash); margin-top: 2px; }
.decor-card .decor-sub b { font-weight: 500; color: var(--ink-2); }
@media (max-width: 700px) { .decor-card .decor-name { font-size: 17px; } .decor-card .decor-sub { font-size: 12.5px; } }
.decor-layout { margin: 0; }
.decor-layout a { display: block; background: var(--white); border: 1px solid var(--line); }
.decor-layout img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.decor-layout figcaption { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.decor-note { margin-top: 40px; color: var(--ash); font-size: 14.5px; }
.decor-head { padding-bottom: clamp(22px, 2.6vw, 36px); }
.decor-head .decor-en { margin-top: 12px; font-family: var(--font-display); font-size: 15px; letter-spacing: .16em; color: var(--ash); }
.decor-body { padding-top: clamp(8px, 1.4vw, 20px); }
.decor-body .product-info .desc { margin-top: 0; }
.decor-pieces-list span { display: block; }
.decor-viewer { min-width: 0; }
.decor-main { position: relative; display: block; background: var(--white); border: 1px solid var(--line); padding: clamp(8px, 1.2vw, 16px); }
.decor-main img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; }
.decor-main.photo { padding: 0; }
.decor-main .zoom-hint { position: absolute; right: 14px; bottom: 14px; background: rgba(27,26,24,.82); color: #fff; font-size: 12.5px; padding: 6px 10px; display: inline-flex; align-items: center; gap: 6px; }
.decor-main .zoom-hint svg { width: 14px; height: 14px; }
.decor-viewer .viewer-caption { margin-top: 10px; }
.decor-pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.decor-pieces a { display: block; background: var(--white); border: 1px solid var(--line); padding: 6px; }
.decor-pieces .pic { display: block; aspect-ratio: 4 / 3; }
.decor-pieces .pic img { width: 100%; height: 100%; object-fit: contain; }
.decor-pieces .cap { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ash); line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 700px) { .decor-pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.decor-nav img { width: 96px; height: 72px; background: var(--white); }
.decor-nav.tall img { width: 66px; height: 88px; }
/* 휴대폰: 가로 사진을 글 옆에 두면 글이 세 줄로 깨지므로 사진 위 · 글 아래로 */
@media (max-width: 600px) {
  .decor-nav a { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 14px 24px 0; }
  .decor-nav a.next { align-items: flex-end; justify-content: flex-start; padding: 22px 0 24px 14px; }
  .decor-nav a.next img { order: -1; }
  .decor-nav b { display: block; font-size: 17px; line-height: 1.4; margin-top: 2px; }
}
.decor-cat .series-media { background: var(--white); }
.nav-menu .decor-cols { columns: 3 270px; }
.decor-media, .decor-main, .decor-pieces, .decor-layout { -webkit-touch-callout: none; }
.decor-media img, .decor-main img, .decor-pieces img, .decor-layout img { pointer-events: none; }
.decor-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.decor-cats.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.decor-cats.n4 .series-body { padding: 22px 22px 26px; }
.decor-cats.n4 .series-body h3 { font-size: 23px; }
.decor-cats.n1 { grid-template-columns: minmax(0, 1fr); }
.decor-cats.n1 .decor-cat { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto; }
.decor-cats.n1 .series-media { aspect-ratio: 16 / 9; }
.decor-cats.n1 .series-body { align-self: center; padding: 32px clamp(28px, 3vw, 48px); }
@media (max-width: 1100px) { .decor-cats, .decor-cats.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .decor-cats.n1 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .decor-cats, .decor-cats.n4 { grid-template-columns: 1fr; } .decor-cats.n1 .decor-cat { grid-template-columns: 1fr; } .decor-cats.n1 .series-media { aspect-ratio: 16 / 10; } .decor-cats.n1 .series-body { padding: 26px 28px 30px; } }
/* 11차: 위 메뉴가 7개(장식 · 욕실 추가)라 1,200px 아래(작은 노트북 · 태블릿 가로)에서는 위쪽 전화번호를 숨겨 메뉴 글자가 줄바꿈되지 않게 한다
   (전화번호는 상담 띠 · 맨 아래 · 문의 페이지에 그대로) */
.nav > a, .nav-drop > a { white-space: nowrap; }
@media (max-width: 1199px) { .header-phone { display: none; } }
.decor-layout figcaption .uses { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 13.5px; }
