:root {
  --char: #1b1a1d;
  --char-2: #26252a;
  --brass: #c9a15a;
  --brass-dark: #94713a;
  --glow: #ffd98a;
  --paper: #faf8f4;
  --linen: #f0ece4;
  --ink: #1b1a1d;
  --muted: #615d57;
  --line: #e0dacf;
  --white: #ffffff;
  --radius: 14px;
  --max: 1180px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 78px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; background: var(--linen); }
a { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h1 em { color: var(--glow); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: .9em; }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 33em; }

/* Announcement */
.announce { margin: 0; background: var(--brass); color: var(--char); text-align: center; font-weight: 600; font-size: .86rem; padding: 8px 16px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85em 1.6em;
  border-radius: 999px;
  background: var(--brass);
  color: var(--char);
  font: inherit; font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--brass);
  cursor: pointer;
  transition: background .15s, transform .15s, color .15s;
}
.btn:hover { background: var(--glow); border-color: var(--glow); transform: translateY(-1px); }
.btn:focus-visible, .filter:focus-visible, .add:focus-visible, .bag:focus-visible, .k-slider:focus-visible { outline: 3px solid var(--brass-dark); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--char); color: var(--paper); }
.header-inner { display: flex; align-items: center; height: 70px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { background: none; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; }
.wordmark { display: flex; flex-direction: column; font-family: var(--serif); font-size: 1.3rem; line-height: 1; }
.wordmark small { font-family: var(--sans); font-size: .62rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .94rem; color: rgba(250,248,244,.82); }
.nav a:hover { color: var(--glow); }
.bag { position: relative; display: grid; place-items: center; width: 44px; height: 44px; }
.bag svg { width: 25px; height: 25px; fill: none; stroke: var(--paper); stroke-width: 1.700; stroke-linejoin: round; stroke-linecap: round; }
.bag-count { position: absolute; top: 3px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--paper); color: var(--char); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.bag-count.has-items { background: var(--glow); }

/* Hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; padding: 64px 0; color: var(--white); overflow: hidden; background: var(--char); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--char); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,22,.86) 0%, rgba(20,19,22,.6) 48%, rgba(20,19,22,.15) 100%); }
.hero-inner { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--glow); }
.hero .lead { color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--linen); }
.section-dark { background: var(--char); color: var(--paper); }
.section-dark .eyebrow { color: var(--brass); }
.section-dark .lead { color: rgba(250,248,244,.78); }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.cat { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--white); }
.cat img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s; }
.cat:hover img { transform: scale(1.05); }
.cat::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(transparent, rgba(20,19,22,.85)); }
.cat-label { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; }
.cat-label strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.cat-label small { font-size: .9rem; opacity: .9; }
.more-cats { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.more-cats li { padding: .45em 1.1em; border: 1.500px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 600; font-size: .92rem; }

/* Shop */
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.shop-head h2 { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { font: inherit; font-weight: 600; font-size: .9rem; padding: .5em 1.1em; border-radius: 999px; background: var(--white); color: var(--ink); border: 1.500px solid var(--line); cursor: pointer; }
.filter:hover { border-color: var(--brass-dark); }
.filter.is-active { background: var(--char); border-color: var(--char); color: var(--glow); }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 34px; }
.product { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.product-art { position: relative; overflow: hidden; }
.product-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s; }
.product:hover .product-art img { transform: scale(1.04); }
.product-art img.top { object-position: 50% 0; }
.tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--white); color: #1d6b3a; font-size: .68rem; font-weight: 800; letter-spacing: .08em; padding: .3em .75em; border-radius: 999px; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-cat { margin: 0 0 .2em; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--brass-dark); }
.product-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-size: 1.5rem; }
.add { font: inherit; font-weight: 700; font-size: .84rem; padding: .5em 1em; border-radius: 999px; background: var(--char); color: var(--paper); border: 2px solid var(--char); cursor: pointer; transition: background .15s, color .15s; }
.add:hover { background: var(--brass); border-color: var(--brass); color: var(--char); }

/* Color temperature guide */
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.k-label { display: block; margin-top: 1.6em; font-size: 1rem; color: rgba(250,248,244,.8); }
.k-label strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--white); margin: 0 6px 0 4px; }
.k-label span { color: var(--glow); font-weight: 600; }
.k-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; margin: 14px 0 8px; border-radius: 999px; background: linear-gradient(90deg, #ffb060, #ffc582 13%, #ffecd6 57%, #e2eeff); cursor: pointer; }
.k-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 4px solid var(--char); box-shadow: 0 0 0 2px var(--white), 0 4px 10px rgba(0,0,0,.4); }
.k-slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 4px solid var(--char); box-shadow: 0 0 0 2px var(--white); }
.k-scale { position: relative; height: 1.2em; font-size: .78rem; color: rgba(250,248,244,.55); }
.k-scale span { position: absolute; transform: translateX(-50%); }
.k-scale span:nth-child(1) { left: 0; transform: none; }
.k-scale span:nth-child(2) { left: 13%; }
.k-scale span:nth-child(3) { left: 56.500%; }
.k-scale span:nth-child(4) { right: 0; transform: none; }
.k-tip { margin: 18px 0 0; padding: 14px 18px; background: var(--char-2); border-left: 3px solid var(--brass); border-radius: 0 10px 10px 0; color: rgba(250,248,244,.9); }

.room { --light: 255, 176, 96; position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #2b2a30; border: 1px solid rgba(255,255,255,.08); }
.room .cord { position: absolute; left: 50%; top: 0; width: 3px; height: 20%; background: #0f0f11; transform: translateX(-50%); }
.room .shade { position: absolute; left: 50%; top: 18%; width: 24%; height: 12%; background: var(--brass); border-radius: 100px 100px 6px 6px; transform: translateX(-50%); z-index: 2; }
.room .glow { position: absolute; left: 50%; top: 26%; width: 130%; height: 110%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 0%, rgba(var(--light), .95) 0%, rgba(var(--light), .45) 28%, rgba(var(--light), .12) 55%, transparent 72%); transition: background .2s; }
.room .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: rgba(var(--light), .22); border-top: 1px solid rgba(255,255,255,.08); transition: background .2s; }
.room .sofa { position: absolute; left: 22%; right: 22%; bottom: 12%; height: 22%; background: #55525c; border-radius: 16px 16px 8px 8px; z-index: 1; box-shadow: inset 0 14px 0 rgba(var(--light), .3); transition: box-shadow .2s; }
.room .sofa i { position: absolute; bottom: 30%; width: 44%; height: 46%; background: #6a6672; border-radius: 10px; }
.room .sofa i:first-child { left: 5%; }
.room .sofa i:last-child { right: 5%; }

/* Consult */
.consult { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.consult .lead { margin-bottom: 1.6em; }
.consult-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.consult-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.consult-list strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
.consult-list div span { color: var(--muted); }
.num { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--char); color: var(--glow); font-family: var(--serif); font-size: 1.1rem; }

/* Perks */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.perk { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); padding: 24px 22px; border-top: 3px solid var(--brass); }
.perk strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
.perk span { color: var(--muted); font-size: .95rem; }

/* Contact */
.contact { text-align: center; }
.contact .lead { margin: 0 auto 1.5em; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }

/* Footer */
.site-footer { background: var(--char); color: rgba(250,248,244,.72); font-size: .9rem; }
.footer-inner { display: flex; align-items: flex-start; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.footer-inner img { flex: none; background: none; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; }
.footer-inner p { margin: 0 0 .4em; }
.legal { font-size: .8rem; color: rgba(250,248,244,.45); margin: 0; }

/* Responsive */
@media (max-width: 1020px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .guide, .consult { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 64px 0; }
  .nav { display: none; }
  .bag { margin-left: auto; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 0; padding: 56px 0; }
  .hero::after { background: rgba(20,19,22,.68); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 12px 12px 14px; }
  .price { font-size: 1.25rem; }
  .add { font-size: .78rem; padding: .45em .8em; }
  .cats { gap: 12px; }
  .cat-label strong { font-size: 1.15rem; }
  .cat-label small { display: none; }
  .perks { grid-template-columns: 1fr; }
  .wordmark { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
